/* ==========================================================================
   احمد مرادی — Design System v3 (WordPress)
   ========================================================================== */

:root {
  --color-primary: #141e30;
  --color-primary-light: #243B55;
  --color-accent: #8B6914;
  --color-accent-hover: #A67C3D;
  --color-teal: #3d5a73;
  --color-danger: #c0392b;
  --color-bg: #f5f7fa;
  --color-surface: #ffffff;
  --color-text: #16202e;
  --color-text-muted: #5c6b7c;
  --color-border: #e6ebf1;

  --gradient-primary: linear-gradient(135deg, #141e30 0%, #243B55 60%, #3d5a73 100%);
  --gradient-gold: linear-gradient(135deg, #A67C3D 0%, #8B6914 100%);
  --gradient-surface: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

  --shadow-sm: 0 1px 3px rgba(20, 30, 48, 0.06);
  --shadow: 0 4px 20px rgba(20, 30, 48, 0.08);
  --shadow-lg: 0 12px 40px rgba(20, 30, 48, 0.14);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --container: 1240px;
  --header-h: 132px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 140px; }

body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.85;
  font-size: 15px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
section { padding: 3.5rem 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.5rem; border-radius: 50px; font-family: inherit;
  font-size: 0.92rem; font-weight: 700; cursor: pointer; border: 2px solid transparent;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--gradient-gold); color: #fff; box-shadow: 0 6px 18px rgba(139, 105, 20, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(139, 105, 20, 0.42); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-outline { background: transparent; border-color: var(--color-border); color: var(--color-primary); }

/* ===== Ticker ===== */
.ticker-bar { background: var(--color-danger); color: #fff; display: flex; align-items: stretch; overflow: hidden; height: 40px; }
.ticker-label { background: rgba(0,0,0,0.22); display: flex; align-items: center; padding: 0 1.1rem; font-weight: 800; font-size: 0.82rem; white-space: nowrap; }
.ticker-track { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker-content { display: flex; gap: 3rem; white-space: nowrap; animation: ticker 40s linear infinite; padding-right: 2rem; }
.ticker-content span { font-size: 0.86rem; position: relative; }
.ticker-content span::before { content: '•'; margin-left: 3rem; opacity: 0.6; }
.ticker-bar:hover .ticker-content { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(100%); } }

/* ===== Header ===== */
.site-header { background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 900; box-shadow: var(--shadow-sm); transition: var(--transition); }
.site-header.scrolled { box-shadow: var(--shadow); }
.header-top { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; gap: 0.75rem; }
.logo { display: flex; align-items: center; gap: 0.75rem; min-width: 0; flex: 1; }
.logo-mark { flex-shrink: 0; color: inherit; }
.logo-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--gradient-primary); color: #fff; display: grid; place-items: center; font-size: 1.7rem; font-weight: 900; box-shadow: var(--shadow); flex-shrink: 0; }
.logo .custom-logo-link { display: flex; align-items: center; flex-shrink: 0; line-height: 0; }
.logo img, .logo .custom-logo { max-height: 52px; width: auto; max-width: 52px; }
.logo-text { display: flex; flex-direction: column; min-width: 0; color: inherit; }
.logo-text .site-name { font-size: 1.25rem; color: var(--color-primary); font-weight: 800; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-text .site-tagline { font-size: 0.74rem; color: var(--color-text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.header-actions { display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0; }
.social-header { display: flex; gap: 0.4rem; }
.social-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 0.95rem; transition: var(--transition); }
.social-btn:hover { transform: translateY(-3px); }
.social-btn.whatsapp { background: #25D366; }
.social-btn.bale { background: #1f9fd6; }
.social-btn.rubika { background: #b52c8a; }
.social-btn.twitter { background: #14171a; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.mobile-menu-btn { display: none; background: var(--color-primary); color: #fff; border: none; width: 42px; height: 42px; border-radius: 10px; font-size: 1.1rem; cursor: pointer; }

.main-nav { border-top: 1px solid var(--color-border); }
.nav-list { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.nav-list li a, .nav-list li > a { display: flex; align-items: center; gap: 0.4rem; padding: 0.85rem 1rem; font-size: 0.9rem; font-weight: 600; color: var(--color-text); border-bottom: 3px solid transparent; transition: var(--transition); }
.nav-list li a:hover, .nav-list li.current-menu-item a { color: var(--color-accent); border-bottom-color: var(--color-accent); }

/* ===== Mobile nav ===== */
.mobile-nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; }
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav-panel { position: fixed; top: 0; right: -320px; width: 300px; height: 100%; background: #fff; z-index: 1000; padding: 4rem 1.25rem 2rem; transition: right var(--transition); overflow-y: auto; box-shadow: -10px 0 40px rgba(0,0,0,0.15); }
.mobile-nav-panel.active { right: 0; }
.mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.mobile-nav-list li { margin: 0; padding: 0; }
.mobile-nav-panel a,
.mobile-nav-list a { display: block; padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--color-border); font-weight: 600; font-size: 0.95rem; }
.mobile-nav-panel .close-btn { position: absolute; top: 1rem; left: 1rem; background: var(--color-bg); border: none; width: 40px; height: 40px; border-radius: 10px; font-size: 1.1rem; cursor: pointer; }

/* ===== Floating social ===== */
.floating-social { position: fixed; bottom: 90px; left: 18px; display: flex; flex-direction: column; gap: 0.55rem; z-index: 500; }
.floating-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); transition: var(--transition); }
.floating-social a:hover { transform: scale(1.12); }
.floating-social .whatsapp { background: #25D366; }
.floating-social .bale { background: #1f9fd6; }
.floating-social .rubika { background: #b52c8a; }
.floating-social .twitter { background: #14171a; }
.floating-social .instagram { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }

/* ===== Hero ===== */
.hero { position: relative; color: #fff; padding: 4rem 0 4.5rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: var(--gradient-primary); z-index: -2; }
.hero-pattern { position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: radial-gradient(circle at 20% 30%, rgba(139,105,20,0.25) 0, transparent 40%), radial-gradient(circle at 85% 70%, rgba(61,90,115,0.4) 0, transparent 45%);
}
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.hero-content h2 { font-size: 2.7rem; font-weight: 900; line-height: 1.35; margin-bottom: 1.2rem; }
.hero-content h2 span { color: var(--color-accent-hover); position: relative; }
.hero-content > p { font-size: 1.05rem; color: rgba(255,255,255,0.85); margin-bottom: 1.8rem; max-width: 90%; }
.hero-stats { display: flex; gap: 2.4rem; margin-bottom: 2rem; }
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-size: 2rem; font-weight: 900; color: var(--color-accent-hover); }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.75); }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-portrait { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.portrait-frame { width: 300px; height: 300px; border-radius: 30px; background: rgba(255,255,255,0.08); border: 3px solid rgba(255,255,255,0.2); display: grid; place-items: center; overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2; }
.portrait-frame.has-image .portrait-placeholder { display: none; }
.portrait-placeholder { font-size: 6rem; color: rgba(255,255,255,0.35); }
.portrait-badge { background: var(--gradient-gold); color: #fff; padding: 0.5rem 1.4rem; border-radius: 50px; font-size: 0.85rem; font-weight: 700; box-shadow: var(--shadow); }

/* ===== Section header ===== */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.section-title { display: flex; align-items: center; gap: 0.8rem; }
.title-bar { width: 5px; height: 34px; border-radius: 4px; background: var(--gradient-gold); }
.section-title h3 { font-size: 1.7rem; font-weight: 800; color: var(--color-primary); }
.view-all { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--color-accent); font-weight: 700; font-size: 0.9rem; }
.view-all:hover { gap: 0.7rem; }

/* ===== News tags ===== */
.news-tag { display: inline-block; background: var(--gradient-gold); color: #fff; padding: 0.25rem 0.85rem; border-radius: 50px; font-size: 0.72rem; font-weight: 700; }
.news-tag.urgent { background: var(--color-danger); }

/* ===== Featured ===== */
.featured-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; }
.featured-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); background: var(--color-primary); }
.featured-main .news-image { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,0.25); font-size: 5rem; }
.featured-main .news-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.7rem; padding: 2rem; background: linear-gradient(0deg, rgba(9,15,26,0.92) 0%, rgba(9,15,26,0.2) 60%, transparent 100%); color: #fff; }
.featured-main .news-overlay h4 { font-size: 1.5rem; font-weight: 800; line-height: 1.5; }
.featured-main:hover .news-image { transform: scale(1.05); transition: var(--transition); }
.news-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--color-text-muted); align-items: center; }
.featured-main .news-meta { color: rgba(255,255,255,0.8); }

.featured-side { display: flex; flex-direction: column; gap: 1.2rem; }
.news-card { display: flex; gap: 1rem; background: var(--color-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: var(--transition); }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card .thumb { width: 120px; min-height: 100px; flex-shrink: 0; background: var(--color-bg); display: grid; place-items: center; color: var(--color-accent); font-size: 1.8rem; }
.news-card .content { padding: 0.9rem 0.9rem 0.9rem 0; display: flex; flex-direction: column; gap: 0.4rem; }
.news-card .content h4 { font-size: 0.98rem; font-weight: 700; line-height: 1.6; }

/* ===== News grid ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card-vertical { background: var(--color-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: var(--transition); display: flex; flex-direction: column; }
.news-card-vertical:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-image { height: 190px; background: var(--gradient-primary); display: grid; place-items: center; color: rgba(255,255,255,0.35); font-size: 3rem; position: relative; overflow: hidden; }
.card-image .news-tag { position: absolute; top: 0.9rem; right: 0.9rem; }
.card-content { padding: 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card-content h4 { font-size: 1.05rem; font-weight: 700; line-height: 1.6; }
.card-content p { font-size: 0.86rem; color: var(--color-text-muted); flex: 1; }
.read-more { color: var(--color-accent); font-weight: 700; margin-right: auto; }

/* ===== Parliament ===== */
.parliament-section { background: var(--color-surface); }
.activity-tabs { display: flex; gap: 0.6rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.tab-btn { padding: 0.55rem 1.3rem; border-radius: 50px; border: 2px solid var(--color-border); background: transparent; font-family: inherit; font-weight: 700; font-size: 0.85rem; cursor: pointer; transition: var(--transition); color: var(--color-text-muted); }
.tab-btn.active, .tab-btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.activity-list { display: flex; flex-direction: column; gap: 1rem; }
.activity-item { display: grid; grid-template-columns: auto 1fr auto; gap: 1.3rem; align-items: center; background: var(--color-bg); border-radius: var(--radius); padding: 1.2rem 1.4rem; border-right: 4px solid var(--color-accent); transition: var(--transition); }
.activity-item:hover { transform: translateX(-4px); box-shadow: var(--shadow); }
.activity-date { text-align: center; background: var(--gradient-primary); color: #fff; border-radius: 12px; padding: 0.7rem 1rem; min-width: 66px; }
.activity-date .day { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.activity-date .month { font-size: 0.75rem; opacity: 0.85; }
.activity-item h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.2rem; }
.activity-item p { font-size: 0.85rem; color: var(--color-text-muted); }
.activity-type { padding: 0.3rem 0.9rem; border-radius: 50px; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.activity-type.law { background: #e8f0fe; color: #1a56db; }
.activity-type.question { background: #fef3e8; color: #c2760a; }
.activity-type.visit { background: #e8f8f0; color: #12805c; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: center; }
.about-content h3 { font-size: 1.9rem; font-weight: 800; color: var(--color-primary); margin-bottom: 1.2rem; }
.about-content p { color: var(--color-text-muted); margin-bottom: 1rem; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.highlight-box { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.1rem 1.3rem; border-right: 4px solid var(--color-accent); }
.highlight-box strong { display: block; font-size: 1.1rem; color: var(--color-primary); }
.highlight-box span { font-size: 0.82rem; color: var(--color-text-muted); }
.about-visual { background: var(--gradient-primary); border-radius: var(--radius-lg); padding: 2.5rem; color: #fff; position: relative; box-shadow: var(--shadow-lg); }
.about-visual blockquote { font-size: 1.35rem; font-weight: 700; line-height: 1.9; position: relative; }
.about-visual blockquote::before { content: '"'; font-size: 4rem; color: var(--color-accent-hover); position: absolute; top: -2rem; right: -0.5rem; opacity: 0.6; }
.about-visual cite { display: block; margin-top: 1.2rem; font-style: normal; color: var(--color-accent-hover); font-weight: 700; }

/* ===== Fan club ===== */
.fanclub-section { background: var(--gradient-primary); color: #fff; }
.fanclub-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.fanclub-info h3 { font-size: 2rem; font-weight: 900; margin-bottom: 1rem; }
.fanclub-info h3 span { color: var(--color-accent-hover); }
.fanclub-info > p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.benefits-list { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.8rem; }
.benefits-list li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.95rem; }
.benefits-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; width: 26px; height: 26px; border-radius: 50%; background: var(--gradient-gold); color: #fff; display: grid; place-items: center; font-size: 0.7rem; flex-shrink: 0; }

.fanclub-form-card { background: var(--color-surface); border-radius: var(--radius-lg); padding: 2rem; color: var(--color-text); box-shadow: var(--shadow-lg); }
.fanclub-form-card h4 { font-size: 1.4rem; font-weight: 800; color: var(--color-primary); }
.fanclub-form-card .subtitle { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--color-text); }
.form-group input, .form-group select, .form-group textarea { padding: 0.7rem 0.9rem; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-family: inherit; font-size: 0.9rem; transition: var(--transition); background: #fbfcfe; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--color-accent); background: #fff; box-shadow: 0 0 0 3px rgba(139,105,20,0.1); }
.form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; padding: 0.85rem; }
.form-error { background: #fdecea; color: var(--color-danger); padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-size: 0.85rem; margin-bottom: 1rem; border: 1px solid #f5c6cb; }
.form-success { display: none; text-align: center; padding: 1.5rem; }
.form-success.show { display: block; }
.form-success .icon { font-size: 3rem; }
.form-success h4 { color: #12805c; margin: 0.5rem 0; }
.form-success p { color: var(--color-text-muted); font-size: 0.9rem; }

/* ===== Social ===== */
.social-section { background: var(--color-surface); }
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.5rem; }
.social-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center; transition: var(--transition); display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.social-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.social-card .icon-wrap { width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; color: #fff; font-size: 1.8rem; margin-bottom: 0.4rem; }
.icon-wrap.whatsapp { background: #25D366; }
.icon-wrap.bale { background: #1f9fd6; }
.icon-wrap.rubika { background: #b52c8a; }
.icon-wrap.twitter { background: #14171a; }
.icon-wrap.instagram { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.social-card h5 { font-size: 1.1rem; font-weight: 800; color: var(--color-primary); }
.social-card p { font-size: 0.83rem; color: var(--color-text-muted); }
.social-card .btn { margin-top: 0.6rem; }

/* ===== Footer ===== */
.site-footer { background: #0b1220; color: rgba(255,255,255,0.7); padding-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 2rem; padding-bottom: 2rem; }
.footer-brand p { font-size: 0.88rem; margin: 1rem 0; line-height: 1.9; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-col h5 { color: #fff; font-size: 1rem; margin-bottom: 1rem; font-weight: 700; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.87rem; transition: var(--transition); display: inline-flex; gap: 0.5rem; align-items: center; }
.footer-col ul li a:hover { color: var(--color-accent-hover); padding-right: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.3rem 0; text-align: center; font-size: 0.82rem; }

/* ===== Back to top ===== */
.back-to-top { position: fixed; bottom: 24px; left: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--gradient-gold); color: #fff; border: none; cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 500; box-shadow: var(--shadow); font-size: 1rem; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }

/* ===== Page hero (archives etc.) ===== */
.page-hero { background: var(--gradient-primary); color: #fff; padding: 3rem 0; text-align: center; }
.page-hero h1 { font-size: 2rem; font-weight: 800; }
.page-hero h1 span { color: var(--color-accent-hover); }
.page-hero p { color: rgba(255,255,255,0.8); margin-top: 0.5rem; }

/* ===== Category filter ===== */
.category-filter { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2rem; justify-content: center; }
.filter-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1.2rem; border-radius: 50px; border: 2px solid var(--color-border); background: #fff; font-weight: 700; font-size: 0.84rem; color: var(--color-text-muted); transition: var(--transition); }
.filter-chip.active, .filter-chip:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ===== Media section ===== */
.media-section { background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%); }
.section-lead { max-width: 720px; color: var(--color-text-muted); margin: -1rem 0 1.75rem; font-size: 0.95rem; }
.media-subhead { display: flex; align-items: center; gap: 0.6rem; color: var(--color-primary); font-weight: 800; margin: 1.25rem 0 1rem; }
.media-subhead i { color: var(--color-accent); }
.media-photo-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.media-video-grid { margin-bottom: 1.75rem; }

/* ===== Pagination ===== */
.pagination { margin-top: 2.5rem; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 0.6rem; border-radius: 10px; background: #fff; border: 1px solid var(--color-border); font-weight: 700; color: var(--color-text); transition: var(--transition); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ===== Photo / video grids ===== */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.photo-card { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); aspect-ratio: 1; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.photo-card:hover img { transform: scale(1.07); }
.photo-placeholder { width: 100%; height: 100%; background: var(--gradient-primary); display: grid; place-items: center; color: rgba(255,255,255,0.4); font-size: 2.5rem; }
.photo-caption { position: absolute; inset-inline: 0; bottom: 0; background: linear-gradient(0deg, rgba(0,0,0,0.8), transparent); color: #fff; padding: 1.4rem 0.9rem 0.7rem; font-size: 0.85rem; font-weight: 600; }
.video-card { background: var(--color-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.video-thumb { aspect-ratio: 16/9; background: var(--gradient-primary); display: grid; place-items: center; position: relative; }
.video-play { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.9); color: var(--color-primary); border: none; font-size: 1.3rem; cursor: pointer; transition: var(--transition); }
.video-play:hover { transform: scale(1.1); background: #fff; }
.video-info { padding: 1rem; }
.video-info h4 { font-size: 1rem; font-weight: 700; }
.video-info p { font-size: 0.83rem; color: var(--color-text-muted); margin-top: 0.3rem; }

/* video modal */
.video-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 1100; display: none; place-items: center; padding: 1rem; }
.video-modal.active { display: grid; }
.video-modal .modal-inner { width: min(900px, 100%); aspect-ratio: 16/9; position: relative; }
.video-modal iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.video-modal .close { position: absolute; top: -44px; left: 0; background: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  html { scroll-padding-top: 100px; }
  section { padding: 2.75rem 0; }
  .hero-grid, .about-grid, .fanclub-grid, .featured-grid { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-visual { order: -1; }
  .featured-main { min-height: 320px; }
}
@media (max-width: 768px) {
  html { scroll-padding-top: 80px; }
  .container { padding: 0 1rem; }
  section { padding: 2.25rem 0; }

  /* Header */
  .main-nav { display: none; }
  .mobile-menu-btn { display: grid; place-items: center; }
  .social-header { display: none; }
  .header-actions .btn { display: none; }
  .header-top { padding: 0.65rem 0; }
  .logo-icon, .logo img, .logo .custom-logo { max-height: 44px; max-width: 44px; width: 44px; height: 44px; }
  .logo-icon { font-size: 1.4rem; border-radius: 12px; }
  .logo-text .site-name { font-size: 1rem; max-width: 52vw; }
  .logo-text .site-tagline { font-size: 0.68rem; -webkit-line-clamp: 1; }

  /* Ticker */
  .ticker-label { padding: 0 0.7rem; font-size: 0.75rem; }
  .ticker-content span { font-size: 0.8rem; }

  /* Hero */
  .hero { padding: 2rem 0 2.5rem; }
  .hero-content h2 { font-size: 1.65rem; line-height: 1.45; }
  .hero-content > p { font-size: 0.92rem; max-width: 100%; margin-bottom: 1.25rem; }
  .hero-stats { gap: 1rem 1.5rem; margin-bottom: 1.25rem; }
  .stat-number { font-size: 1.5rem; }
  .stat-label { font-size: 0.75rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .portrait-frame { width: min(260px, 100%); height: auto; aspect-ratio: 1; border-radius: 22px; }
  .portrait-badge { font-size: 0.78rem; padding: 0.45rem 1rem; text-align: center; max-width: 100%; }

  /* News */
  .featured-main { min-height: 260px; }
  .featured-main .news-overlay { padding: 1.2rem; }
  .featured-main .news-overlay h4 { font-size: 1.15rem; }
  .news-card { flex-direction: column; }
  .news-card .thumb { width: 100%; min-height: 140px; }
  .news-card .content { padding: 1rem; }
  .news-grid, .social-grid { grid-template-columns: 1fr; gap: 1rem; }
  .card-image { height: 170px; }
  .section-header { margin-bottom: 1.25rem; }
  .section-title h3 { font-size: 1.35rem; }

  /* About & fanclub */
  .about-content h3 { font-size: 1.5rem; }
  .about-highlights { grid-template-columns: 1fr; }
  .about-visual { padding: 1.5rem; }
  .about-visual blockquote { font-size: 1.1rem; }
  .fanclub-info h3 { font-size: 1.55rem; }
  .fanclub-form-card { padding: 1.25rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Parliament */
  .activity-tabs { gap: 0.45rem; }
  .tab-btn { padding: 0.45rem 0.95rem; font-size: 0.8rem; }
  .activity-item { grid-template-columns: auto 1fr; gap: 0.85rem; padding: 1rem; }
  .activity-item:hover { transform: none; }
  .activity-type { grid-column: 2; justify-self: start; margin-top: 0.25rem; }
  .activity-item h4 { font-size: 0.95rem; }

  /* Footer & floating */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .floating-social { display: none; }
  .back-to-top { bottom: 16px; left: 16px; width: 42px; height: 42px; }

  /* Misc */
  .page-hero { padding: 2rem 0; }
  .page-hero h1 { font-size: 1.55rem; }
  .category-filter { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.25rem; -webkit-overflow-scrolling: touch; }
  .filter-chip { flex-shrink: 0; }
  .news-card-vertical:hover, .social-card:hover { transform: none; }
}
@media (max-width: 380px) {
  .logo-text .site-name { font-size: 0.92rem; max-width: 46vw; }
  .hero-content h2 { font-size: 1.45rem; }
  .hero-stats { flex-direction: column; gap: 0.75rem; }
}
