/* ============================================
   Kabar Muhammadiyah - Main Stylesheet
   Design: Clean, Professional, Islamic News Portal
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --navy: #0A2463;
  --navy-dark: #061640;
  --blue: #0057A8;
  --blue-light: #1a7fd4;
  --gold: #C8960C;
  --gold-light: #F0B429;
  --green: #1B7A3E;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --gray-100: #F0F2F5;
  --gray-200: #E4E7EC;
  --gray-400: #9CA3AF;
  --gray-600: #6B7280;
  --gray-800: #1F2937;
  --text: #1a2332;
  --text-light: #4B5563;

  --font-serif: 'Lora', 'Georgia', serif;
  --font-sans: 'Source Sans 3', 'Segoe UI', sans-serif;

  --radius: 6px;
  --shadow: 0 2px 12px rgba(10,36,99,0.08);
  --shadow-md: 0 4px 24px rgba(10,36,99,0.12);
  --transition: 0.25s ease;

  --max-width: 1200px;
  --content-width: 860px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.badge {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
}
.badge-gold { background: var(--gold); }
.badge-green { background: var(--green); }

/* ===== HEADER & NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 8px rgba(10,36,99,0.06);
}

.header-top {
  background: var(--navy-dark);
  padding: 6px 0;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-top p, .header-top a {
  color: rgba(255,255,255,0.75);
  font-size: 12px;
}
.header-top a:hover { color: var(--gold-light); }
.header-top .social-links { display: flex; gap: 12px; }

.header-main {
  padding: 14px 0;
}
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.site-logo img { width: 52px; height: 52px; object-fit: contain; }
.logo-text { line-height: 1.2; }
.logo-text .name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  display: block;
}
.logo-text .tagline {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--blue);
  background: var(--gray-100);
}
.main-nav a.active { color: var(--navy); }

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
}
.nav-cta:hover { background: var(--blue) !important; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); margin: 5px 0; transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--blue) 100%);
  opacity: 0.92;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(200,150,12,0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(0,87,168,0.3) 0%, transparent 50%);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}
.hero-content .container { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 28px; height: 2px; background: var(--gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-title span { color: var(--gold-light); }

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 700;
  padding: 12px 24px; border-radius: var(--radius); cursor: pointer;
  border: 2px solid transparent; transition: all var(--transition); text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-blue:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.hero-stats {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(8px);
}
.hero-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 32px; font-weight: 700;
  color: var(--gold-light); line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.7); }
.stat-divider {
  border: none; border-top: 1px solid rgba(255,255,255,0.1);
  grid-column: 1/-1; margin: 4px 0;
}

/* ===== SECTION HEADINGS ===== */
.section-heading { margin-bottom: 48px; }
.section-heading .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue);
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.section-heading .eyebrow::after {
  content: ''; flex: 0 0 32px; height: 2px; background: var(--gold);
}
.section-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700; color: var(--navy);
  line-height: 1.25; margin-bottom: 12px;
}
.section-heading p {
  font-size: 16px; color: var(--text-light);
  max-width: 620px; line-height: 1.75;
}
.section-heading.center { text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading.center p { margin: 0 auto; }

/* ===== NEWS CARDS ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  border: 1px solid var(--gray-200);
  border-radius: 8px; overflow: hidden;
  transition: all var(--transition); background: var(--white);
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.news-card-img {
  aspect-ratio: 16/9; overflow: hidden;
  background: var(--gray-100);
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-card-img img { transform: scale(1.04); }

.news-card-body { padding: 20px; }
.news-card-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px; font-size: 12px; color: var(--gray-600);
}
.news-card-meta time { display: flex; align-items: center; gap: 4px; }

.news-card h3 {
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 700;
  line-height: 1.4; margin-bottom: 10px; color: var(--text);
}
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--blue); }

.news-card p { font-size: 14px; color: var(--text-light); line-height: 1.65; }

.news-card-featured {
  grid-column: span 2;
  display: grid; grid-template-columns: 1fr 1fr;
}
.news-card-featured .news-card-img { aspect-ratio: auto; min-height: 260px; }
.news-card-featured h3 { font-size: 22px; }

/* ===== LATEST NEWS LIST ===== */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-list-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--gray-200);
}
.news-list-item:last-child { border-bottom: none; }
.news-list-num {
  flex: 0 0 36px; height: 36px; display: flex;
  align-items: center; justify-content: center;
  background: var(--navy); color: var(--white);
  font-size: 13px; font-weight: 700; border-radius: 4px;
  font-family: var(--font-serif);
}
.news-list-body h4 {
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 700; color: var(--text);
  margin-bottom: 4px; line-height: 1.4;
}
.news-list-body h4 a { color: inherit; }
.news-list-body h4 a:hover { color: var(--blue); }
.news-list-body time { font-size: 12px; color: var(--gray-600); }

/* ===== CATEGORIES ===== */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card {
  padding: 24px 20px; border-radius: 8px; text-align: center;
  transition: all var(--transition); cursor: pointer; text-decoration: none;
  border: 1px solid var(--gray-200);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.category-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.category-card p { font-size: 13px; color: var(--text-light); }
.cat-blue { background: #EEF4FB; border-color: #BFDBF7; }
.cat-green { background: #ECFAF2; border-color: #BBF0D3; }
.cat-gold { background: #FFF8E6; border-color: #FDDFA1; }
.cat-red { background: #FEF2F2; border-color: #FECACA; }

/* ===== INFO BANNER ===== */
.info-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white); padding: 56px 0;
}
.info-banner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.info-banner h2 {
  font-family: var(--font-serif);
  font-size: 32px; font-weight: 700; line-height: 1.3; margin-bottom: 16px;
}
.info-banner h2 span { color: var(--gold-light); }
.info-banner p { font-size: 16px; opacity: 0.85; line-height: 1.75; margin-bottom: 24px; }
.info-points { display: flex; flex-direction: column; gap: 12px; }
.info-point {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255,255,255,0.08); padding: 14px 16px; border-radius: 8px;
  border-left: 3px solid var(--gold);
}
.info-point-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.info-point-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.info-point-text p { font-size: 13px; opacity: 0.8; margin: 0; }

/* ===== QUICK LINKS ===== */
.quick-links { background: var(--off-white); }
.quick-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick-link-card {
  background: var(--white); border-radius: 8px; padding: 24px 20px;
  text-align: center; border: 1px solid var(--gray-200);
  transition: all var(--transition); text-decoration: none; display: block;
}
.quick-link-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.quick-link-icon { font-size: 32px; margin-bottom: 10px; display: block; }
.quick-link-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.quick-link-card p { font-size: 12px; color: var(--text-light); }

/* ===== ARTICLE / CONTENT PAGE ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--blue) 100%);
  padding: 60px 0 48px;
}
.page-hero-inner { max-width: 800px; }
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 16px;
}
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.82); line-height: 1.75; max-width: 680px; }

.breadcrumb {
  padding: 12px 0; background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb ol {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray-600);
}
.breadcrumb a { color: var(--blue); }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 8px; }

.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding: 48px 0; }
.content-main {}
.content-sidebar {}

.article-content { max-width: 720px; }
.article-content h2 {
  font-family: var(--font-serif); font-size: 26px; font-weight: 700;
  color: var(--navy); margin: 36px 0 16px; line-height: 1.3;
}
.article-content h3 {
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  color: var(--navy); margin: 28px 0 12px;
}
.article-content p { font-size: 16px; line-height: 1.85; margin-bottom: 20px; color: var(--text); }
.article-content ul, .article-content ol {
  margin: 0 0 20px 24px; line-height: 1.8;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 6px; font-size: 16px; }
.article-content blockquote {
  border-left: 4px solid var(--gold); padding: 16px 24px;
  background: var(--off-white); margin: 24px 0; border-radius: 0 6px 6px 0;
  font-family: var(--font-serif); font-style: italic; font-size: 17px; color: var(--navy);
}
.article-content strong { font-weight: 700; color: var(--navy); }
.article-content .highlight {
  background: #FFF8E6; border-left: 4px solid var(--gold);
  padding: 16px 20px; border-radius: 0 6px 6px 0; margin: 24px 0;
}

/* ===== SIDEBAR ===== */
.sidebar-widget {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 8px; overflow: hidden; margin-bottom: 24px;
}
.sidebar-widget-header {
  background: var(--navy); color: var(--white);
  padding: 14px 20px; display: flex; align-items: center; gap: 10px;
}
.sidebar-widget-header h3 { font-family: var(--font-serif); font-size: 15px; font-weight: 700; }
.sidebar-widget-body { padding: 20px; }

.sidebar-news-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--gray-200);
}
.sidebar-news-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-news-img {
  flex: 0 0 64px; height: 64px; border-radius: 4px;
  overflow: hidden; background: var(--gray-100);
}
.sidebar-news-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-news-body h4 { font-size: 13px; font-weight: 700; line-height: 1.4; margin-bottom: 4px; }
.sidebar-news-body h4 a { color: var(--text); }
.sidebar-news-body h4 a:hover { color: var(--blue); }
.sidebar-news-body time { font-size: 11px; color: var(--gray-600); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block; padding: 5px 12px;
  background: var(--gray-100); color: var(--text-light);
  border-radius: 20px; font-size: 12px; font-weight: 600;
  transition: all var(--transition); cursor: pointer;
}
.tag:hover { background: var(--navy); color: var(--white); }

/* ===== ABOUT SECTION ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-main { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); }
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold); border-radius: 8px; padding: 16px 20px;
  text-align: center; box-shadow: var(--shadow);
}
.about-img-badge .big { font-size: 36px; font-weight: 900; color: var(--navy); line-height: 1; font-family: var(--font-serif); }
.about-img-badge .small { font-size: 11px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; }

.about-text h2 { font-family: var(--font-serif); font-size: 34px; font-weight: 700; color: var(--navy); margin-bottom: 16px; line-height: 1.25; }
.about-text .lead { font-size: 17px; font-weight: 600; color: var(--blue); margin-bottom: 20px; font-family: var(--font-serif); font-style: italic; }
.about-text p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.value-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.value-item { display: flex; align-items: flex-start; gap: 12px; }
.value-icon { color: var(--gold); font-size: 18px; flex-shrink: 0; margin-top: 3px; }
.value-text h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.value-text p { font-size: 13px; color: var(--text-light); margin: 0; }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  overflow: hidden; margin: 0 auto 14px;
  border: 3px solid var(--gold); background: var(--gray-100);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-family: var(--font-serif); font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.team-card p { font-size: 13px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== PROGRAM CARDS ===== */
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card {
  border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden;
  transition: all var(--transition);
}
.program-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.program-card-img { aspect-ratio: 3/2; overflow: hidden; background: var(--gray-100); }
.program-card-img img { width: 100%; height: 100%; object-fit: cover; }
.program-card-body { padding: 24px; }
.program-card h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.program-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.program-meta { display: flex; gap: 12px; font-size: 12px; color: var(--gray-600); }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--navy-dark); padding: 40px 0; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-box { text-align: center; }
.stat-box .num {
  font-family: var(--font-serif); font-size: 42px; font-weight: 700;
  color: var(--gold-light); display: block; line-height: 1;
}
.stat-box .label { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.contact-info p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 24px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-item-icon {
  flex: 0 0 40px; height: 40px; background: var(--navy);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--white);
}
.contact-item-body h4 { font-size: 13px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.contact-item-body p, .contact-item-body a { font-size: 15px; color: var(--text-light); }

.contact-form {}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--gray-200); border-radius: 6px;
  font-family: var(--font-sans); font-size: 15px; color: var(--text);
  background: var(--white); transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,87,168,0.1); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-dark); color: rgba(255,255,255,0.8); padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }

.footer-brand {}
.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand .logo-text .name { color: var(--white); font-size: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.65); margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 6px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8); font-size: 16px; text-decoration: none;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--gold); color: var(--navy); }

.footer-col h4 {
  font-family: var(--font-serif); font-size: 16px; font-weight: 700;
  color: var(--white); margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.65); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-links { display: flex; gap: 20px; }

/* ===== TICKER ===== */
.news-ticker {
  background: var(--gold); padding: 8px 0; overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; gap: 0; }
.ticker-label {
  flex-shrink: 0; background: var(--navy); color: var(--white);
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 14px; border-radius: 2px; margin-right: 20px;
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-text {
  display: flex; gap: 48px; white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-size: 13px; font-weight: 600; color: var(--navy);
}
.ticker-text a { color: var(--navy); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--gray-200);
  border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--text);
  transition: all var(--transition);
}
.pagination a:hover, .pagination a.active {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}

/* ===== MOBILE MENU ===== */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-200);
    flex-direction: column; padding: 16px; gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .header-main .container { flex-wrap: wrap; }

  .hero-content .container { grid-template-columns: 1fr; }
  .hero-stats { display: none; }

  .news-grid { grid-template-columns: 1fr; }
  .news-card-featured { grid-column: span 1; grid-template-columns: 1fr; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-badge { right: 0; bottom: -10px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .program-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-banner-grid { grid-template-columns: 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .quick-links-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-top .social-links { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
