/*=================================================================
  REDESIGN — SMP Ibnu Sina Sangatta Utara
  Elegant · Modern · Clean
  Override layer on top of main.css + Bootstrap
=================================================================*/

/* ── Google Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
  /* Brand palette — deep navy + warm gold */
  --is-navy:       #1a2744;
  --is-navy-mid:   #243460;
  --is-navy-light: #2e4080;
  --is-gold:       #c9a84c;
  --is-gold-light: #e2c070;
  --is-cream:      #faf8f4;
  --is-white:      #ffffff;
  --is-text:       #3a3a3a;
  --is-muted:      #6b7280;
  --is-border:     #e5e7eb;

  /* Arsha override */
  --background-color: #ffffff;
  --default-color:    #3a3a3a;
  --heading-color:    #1a2744;
  --accent-color:     #c9a84c;
  --surface-color:    #ffffff;
  --contrast-color:   #ffffff;
  --nav-color:        #ffffff;
  --nav-hover-color:  #c9a84c;
  --nav-dropdown-color:       #1a2744;
  --nav-dropdown-hover-color: #c9a84c;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', 'Segoe UI', sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26,39,68,.06);
  --shadow-md: 0 8px 30px rgba(26,39,68,.10);
  --shadow-lg: 0 20px 60px rgba(26,39,68,.15);
}

/* ── Base ─────────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  color: var(--is-text);
  background: var(--is-white);
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  color: var(--is-navy);
  line-height: 1.25;
}

a { transition: color .2s, opacity .2s; }

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--is-cream); }
::-webkit-scrollbar-thumb { background: var(--is-gold); border-radius: 3px; }

/* ─────────────────────────────────────────────────────────────── */
/*  NAVBAR                                                          */
/* ─────────────────────────────────────────────────────────────── */
#header {
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  padding: 1.1rem 0;
  transition: background .35s, box-shadow .35s, padding .35s;
}
#header.scrolled,
#header.sticky-header {
  background: rgba(26,39,68,.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0,0,0,.25);
  padding: .7rem 0;
}

/* Logo refinement */
#header .logo img { height: 56px; width: auto; }

/* Nav links */
.navmenu ul { gap: 0; }
.navmenu a,
.navmenu a:focus {
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  padding: .5rem 1rem;
  position: relative;
}
.navmenu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--is-gold);
  transition: left .25s, right .25s;
}
.navmenu a:hover::after,
.navmenu .active::after { left: 1rem; right: 1rem; }
.navmenu a:hover,
.navmenu .active { color: var(--is-gold); }

/* Dropdown */
.navmenu .dropdown ul {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--is-border);
  overflow: hidden;
  padding: .5rem 0;
  min-width: 200px;
}
.navmenu .dropdown ul li a {
  font-size: .82rem;
  padding: .6rem 1.25rem;
  color: var(--is-navy);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
}
.navmenu .dropdown ul li a:hover { color: var(--is-gold); background: var(--is-cream); }
.navmenu .dropdown ul li a::after { display: none; }

/* Mobile toggle */
.mobile-nav-toggle { color: #fff; }

/* ─────────────────────────────────────────────────────────────── */
/*  HERO SECTION                                                    */
/* ─────────────────────────────────────────────────────────────── */
#hero {
  background: linear-gradient(135deg, var(--is-navy) 0%, var(--is-navy-mid) 60%, #1a3a6e 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(201,168,76,.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255,255,255,.04) 0%, transparent 60%);
}
/* Geometric pattern overlay */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,.02) 60px, rgba(255,255,255,.02) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,.02) 60px, rgba(255,255,255,.02) 61px);
}

#hero .container { position: relative; z-index: 2; }

#hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.01em;
}
#hero h1 span { color: var(--is-gold); }
#hero p {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: .75rem;
}

/* Hero buttons */
.btn-get-started {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--is-gold);
  color: var(--is-navy) !important;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .875rem 2rem;
  border-radius: var(--radius-sm);
  border: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(201,168,76,.4);
}
.btn-get-started:hover {
  background: var(--is-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,.5);
}

.btn-watch-video {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: rgba(255,255,255,.9) !important;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-left: 1.25rem;
  transition: color .2s;
}
.btn-watch-video i {
  font-size: 1.6rem;
  color: var(--is-gold);
  transition: transform .3s;
}
.btn-watch-video:hover { color: #fff !important; }
.btn-watch-video:hover i { transform: scale(1.15); }

/* Hero image */
.hero-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08);
  max-height: 480px;
  object-fit: cover;
  width: 100%;
}

/* Gold accent bar */
.hero-accent-bar {
  display: block;
  width: 60px; height: 4px;
  background: var(--is-gold);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ─────────────────────────────────────────────────────────────── */
/*  SECTION TITLES                                                  */
/* ─────────────────────────────────────────────────────────────── */
.section-title {
  text-align: center;
  padding-bottom: 3rem;
}
.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--is-navy);
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 50px; height: 3px;
  background: var(--is-gold);
  border-radius: 2px;
}
.section-title p {
  color: var(--is-muted);
  font-size: .95rem;
  max-width: 600px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────── */
/*  ABOUT SECTION                                                   */
/* ─────────────────────────────────────────────────────────────── */
.about.section {
  padding: var(--space-xl) 0;
  background: var(--is-cream);
  position: relative;
}
.about.section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--is-gold), transparent);
}
.about .content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--is-text);
}
.about .content p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3em;
  line-height: .8;
  float: left;
  margin-right: .15em;
  color: var(--is-gold);
  font-weight: 700;
}

/* Stats strip */
.about-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.about-stat {
  text-align: center;
  padding: 1.25rem 1.5rem;
  background: var(--is-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--is-gold);
  min-width: 120px;
  flex: 1;
}
.about-stat .number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--is-navy);
  line-height: 1;
}
.about-stat .label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--is-muted);
  margin-top: .35rem;
}

/* ─────────────────────────────────────────────────────────────── */
/*  PAGE HEADER (inner pages)                                       */
/* ─────────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--is-navy) 0%, var(--is-navy-mid) 100%);
  padding: 7rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(201,168,76,.1), transparent);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--is-gold) 50%, transparent);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  margin: 0;
}
.page-hero p {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  margin-top: .5rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Breadcrumbs */
.breadcrumbs { margin-bottom: 1rem; }
.breadcrumbs ol {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.breadcrumbs ol li { font-size: .8rem; color: rgba(255,255,255,.55); font-weight: 500; letter-spacing: .04em; }
.breadcrumbs ol li a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; }
.breadcrumbs ol li a:hover { color: var(--is-gold); }
.breadcrumbs ol li.current { color: var(--is-gold); }
.breadcrumbs ol li + li::before { content: '/'; margin-right: .5rem; color: rgba(255,255,255,.3); }

/* ─────────────────────────────────────────────────────────────── */
/*  CARDS (universal)                                               */
/* ─────────────────────────────────────────────────────────────── */
.is-card {
  background: var(--is-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--is-border);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.is-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.is-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.is-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.is-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--is-navy);
  margin-bottom: .5rem;
  line-height: 1.35;
}
.is-card-meta {
  font-size: .78rem;
  color: var(--is-gold);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.is-card-text { font-size: .9rem; color: var(--is-muted); line-height: 1.65; }
.is-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--is-navy);
  margin-top: 1rem;
  transition: color .2s, gap .2s;
}
.is-card-link:hover { color: var(--is-gold); gap: .7rem; }

/* Category badge */
.is-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 50px;
  background: var(--is-navy);
  color: #fff;
}
.is-badge-gold { background: var(--is-gold); color: var(--is-navy); }

/* ─────────────────────────────────────────────────────────────── */
/*  ANNOUNCEMENT (Pengunguman)                                      */
/* ─────────────────────────────────────────────────────────────── */
.announcement-card {
  background: var(--is-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--is-border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.announcement-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.announcement-card .ann-img {
  width: 100%; height: 210px;
  object-fit: cover; display: block;
}
.announcement-card .ann-body { padding: 1.25rem 1.5rem 1.5rem; }
.announcement-card .ann-title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  color: var(--is-navy); margin-bottom: .5rem;
}
.announcement-card .ann-text { font-size: .88rem; color: var(--is-muted); line-height: 1.6; }

/* ─────────────────────────────────────────────────────────────── */
/*  EMPLOYEE / TEAM CARDS                                           */
/* ─────────────────────────────────────────────────────────────── */
.staff-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--is-white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--is-border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.staff-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.staff-card .staff-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--is-gold);
  flex-shrink: 0;
}
.staff-card .staff-name {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  color: var(--is-navy); margin-bottom: .25rem;
}
.staff-card .staff-role {
  font-size: .8rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--is-gold);
}

/* ─────────────────────────────────────────────────────────────── */
/*  AGENDA / FACILITY CARDS                                         */
/* ─────────────────────────────────────────────────────────────── */
.event-card {
  background: var(--is-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--is-border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.event-card .ev-img { width: 100%; height: 210px; object-fit: cover; display: block; }
.event-card .ev-body { padding: 1.25rem 1.5rem 1.5rem; }
.event-card .ev-date {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--is-gold); margin-bottom: .5rem;
  display: flex; align-items: center; gap: .35rem;
}
.event-card .ev-title {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  color: var(--is-navy); margin-bottom: .6rem; line-height: 1.3;
}
.event-card .ev-text { font-size: .88rem; color: var(--is-muted); line-height: 1.65; }

/* ─────────────────────────────────────────────────────────────── */
/*  PHOTO GALLERY                                                   */
/* ─────────────────────────────────────────────────────────────── */
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gallery-item img {
  width: 100%; height: 230px;
  object-fit: cover; display: block;
  transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,39,68,.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 1.25rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item .gallery-title {
  font-family: var(--font-display);
  color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: .25rem;
}
.gallery-item .gallery-date {
  font-size: .75rem; color: var(--is-gold);
  font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────────── */
/*  VIDEO GALLERY                                                   */
/* ─────────────────────────────────────────────────────────────── */
.video-card {
  background: var(--is-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--is-border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-card .vid-frame { border-radius: 0; }
.video-card .vid-body { padding: 1rem 1.25rem 1.25rem; }
.video-card .vid-title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--is-navy); margin-bottom: .25rem;
}
.video-card .vid-date { font-size: .78rem; color: var(--is-gold); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* ─────────────────────────────────────────────────────────────── */
/*  FAQ SECTION                                                     */
/* ─────────────────────────────────────────────────────────────── */
.faq-2.section { background: var(--is-cream); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--is-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--is-border);
  margin-bottom: 1rem;
  padding: 1.25rem 1.5rem;
  position: relative;
  transition: box-shadow .3s;
}
.faq-item:hover, .faq-item.faq-active { box-shadow: var(--shadow-md); border-color: var(--is-gold); }
.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--is-navy); margin: 0;
  padding-right: 2rem;
  line-height: 1.4;
}
.faq-item .faq-content { margin-top: .75rem; }
.faq-item .faq-content p { font-size: .9rem; color: var(--is-muted); line-height: 1.7; margin: 0; }
.faq-icon { color: var(--is-gold); font-size: 1.1rem; margin-right: .75rem; }
.faq-toggle { color: var(--is-navy); }

/* ─────────────────────────────────────────────────────────────── */
/*  BLOG / NEWS SECTION                                             */
/* ─────────────────────────────────────────────────────────────── */
.news-section { background: var(--is-white); }
.post-item.is-news-card {
  background: var(--is-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--is-border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  height: 100%;
  display: flex; flex-direction: column;
}
.post-item.is-news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-img-wrap { position: relative; overflow: hidden; }
.post-img-wrap img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .5s; }
.post-item.is-news-card:hover .post-img-wrap img { transform: scale(1.05); }
.post-date-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--is-gold);
  color: var(--is-navy);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 50px;
}
.news-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.news-title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  color: var(--is-navy);
  margin-bottom: auto;
  line-height: 1.4;
}
.news-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--is-navy); margin-top: 1rem;
  transition: color .2s, gap .2s;
}
.news-link:hover { color: var(--is-gold); gap: .7rem; }

/* ─────────────────────────────────────────────────────────────── */
/*  CONTACT PAGE                                                    */
/* ─────────────────────────────────────────────────────────────── */
.contact-info-card {
  background: var(--is-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--is-border);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}
.contact-info-item {
  display: flex; gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--is-border);
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-icon {
  width: 48px; height: 48px;
  background: var(--is-navy);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--is-gold); font-size: 1.2rem; flex-shrink: 0;
}
.contact-info-label {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--is-gold); margin-bottom: .25rem;
}
.contact-info-value { font-size: .95rem; color: var(--is-text); line-height: 1.5; }

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--is-border);
  box-shadow: var(--shadow-sm);
  margin-top: 1.25rem;
}
.map-wrap iframe { display: block; width: 100%; height: 280px; border: none; }

/* ─────────────────────────────────────────────────────────────── */
/*  BLOG DETAIL PAGE                                                */
/* ─────────────────────────────────────────────────────────────── */
.blog-detail-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  box-shadow: var(--shadow-md);
}
.article-meta {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--is-border);
  border-bottom: 1px solid var(--is-border);
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.article-meta .author-wrap {
  display: flex; align-items: center; gap: .75rem;
}
.article-meta .author-img {
  width: 42px; height: 42px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--is-gold);
}
.article-meta .author-name { font-size: .9rem; font-weight: 600; color: var(--is-navy); }
.article-meta .article-date { font-size: .82rem; color: var(--is-muted); display: flex; align-items: center; gap: .4rem; }

.article-body h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--is-navy);
  line-height: 1.25; margin-bottom: 1.5rem;
}
.article-body p { font-size: .97rem; line-height: 1.85; color: var(--is-text); margin-bottom: 1.25rem; }
.article-body .content-img {
  border-radius: var(--radius-md); margin: 2rem 0;
  box-shadow: var(--shadow-sm); width: 100%;
}
.article-body figcaption { font-size: .8rem; color: var(--is-muted); text-align: center; margin-top: .5rem; font-style: italic; }

/* Share buttons */
.share-wrap { background: var(--is-cream); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin-top: 2rem; }
.share-wrap h5 { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--is-navy); margin-bottom: .75rem; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--is-navy);
  color: #fff; font-size: 1.1rem;
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.share-btn:hover { background: var(--is-gold); color: var(--is-navy); transform: translateY(-2px); }

/* Sidebar */
.sidebar-widget {
  background: var(--is-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--is-border);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h4 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--is-navy);
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--is-gold);
  margin-bottom: 1.25rem;
}
.recent-post-item {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .75rem 0;
  border-bottom: 1px solid var(--is-border);
}
.recent-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.recent-post-item img {
  width: 64px; height: 64px;
  object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0;
}
.recent-post-item h5 { font-size: .85rem; font-weight: 600; color: var(--is-navy); margin-bottom: .25rem; line-height: 1.3; }
.recent-post-item h5 a { color: inherit; text-decoration: none; transition: color .2s; }
.recent-post-item h5 a:hover { color: var(--is-gold); }
.recent-post-item time { font-size: .75rem; color: var(--is-muted); }

/* ─────────────────────────────────────────────────────────────── */
/*  FOOTER                                                          */
/* ─────────────────────────────────────────────────────────────── */
#footer.footer {
  background: var(--is-navy);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer-top { padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
#footer h4 {
  font-family: var(--font-display);
  color: #fff; font-size: 1.1rem; font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--is-gold);
  display: inline-block;
}
#footer .footer-about img { height: 60px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
#footer .footer-contact p { font-size: .88rem; line-height: 1.8; margin-bottom: .25rem; }
#footer .footer-contact strong { color: var(--is-gold); }
#footer .footer-links ul { list-style: none; padding: 0; margin: 0; }
#footer .footer-links ul li { margin-bottom: .6rem; display: flex; align-items: flex-start; gap: .5rem; }
#footer .footer-links ul li a {
  font-size: .85rem; color: rgba(255,255,255,.65);
  text-decoration: none; transition: color .2s; line-height: 1.5;
}
#footer .footer-links ul li a:hover { color: var(--is-gold); }
#footer .footer-links ul li i { color: var(--is-gold); margin-top: 3px; font-size: .75rem; flex-shrink: 0; }

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom strong { color: var(--is-gold); font-weight: 600; }
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: var(--is-gold); }
.copyright { border-top: none; margin-top: 0; }

/* ─────────────────────────────────────────────────────────────── */
/*  SCROLL TOP                                                      */
/* ─────────────────────────────────────────────────────────────── */
.scroll-top {
  background: var(--is-gold) !important;
  color: var(--is-navy) !important;
  border-radius: var(--radius-sm);
  width: 44px; height: 44px;
  box-shadow: var(--shadow-md);
  transition: transform .2s, background .2s;
}
.scroll-top:hover { transform: translateY(-3px); background: var(--is-gold-light) !important; }

/* ─────────────────────────────────────────────────────────────── */
/*  EMPTY STATE                                                     */
/* ─────────────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius-md);
  border: 2px dashed var(--is-border);
  background: var(--is-cream);
}
.empty-state i { font-size: 2.5rem; color: var(--is-border); display: block; margin-bottom: 1rem; }
.empty-state h5 { font-family: var(--font-display); color: var(--is-muted); font-size: 1.1rem; font-weight: 600; }

/* ─────────────────────────────────────────────────────────────── */
/*  PAGINATION                                                      */
/* ─────────────────────────────────────────────────────────────── */
.pagination .page-link {
  color: var(--is-navy);
  border-color: var(--is-border);
  font-size: .85rem; font-weight: 600;
  padding: .5rem .85rem;
  border-radius: var(--radius-sm) !important;
}
.pagination .page-link:hover { background: var(--is-gold); border-color: var(--is-gold); color: var(--is-navy); }
.pagination .page-item.active .page-link { background: var(--is-navy); border-color: var(--is-navy); color: #fff; }

/* ─────────────────────────────────────────────────────────────── */
/*  SECTION SPACING                                                 */
/* ─────────────────────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.light-background { background: var(--is-cream) !important; }

/* ─────────────────────────────────────────────────────────────── */
/*  PRELOADER                                                       */
/* ─────────────────────────────────────────────────────────────── */
#preloader {
  background: var(--is-navy);
  display: flex; align-items: center; justify-content: center;
}
#preloader::before {
  width: 40px; height: 40px;
  border: 4px solid rgba(255,255,255,.2);
  border-top-color: var(--is-gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─────────────────────────────────────────────────────────────── */
/*  UTILITIES                                                       */
/* ─────────────────────────────────────────────────────────────── */
.divider-gold {
  width: 50px; height: 3px;
  background: var(--is-gold); border-radius: 2px; margin: 0 auto 2rem;
}
.text-gold { color: var(--is-gold) !important; }
.bg-navy { background: var(--is-navy) !important; }
.rounded-is { border-radius: var(--radius-md) !important; }

/* ─────────────────────────────────────────────────────────────── */
/*  RESPONSIVE                                                      */
/* ─────────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  #header.mobile-nav-active { background: var(--is-navy); }
  .navmenu a, .navmenu a:focus { color: var(--is-navy); }
  .mobile-nav-toggle { color: var(--is-navy); }
  #header.mobile-nav-active .mobile-nav-toggle { color: #fff; }
  #header.mobile-nav-active .navmenu a { color: #fff; }
}
@media (max-width: 767px) {
  .page-hero { padding: 6rem 0 2.5rem; }
  .blog-detail-img { height: 250px; }
  .staff-card { flex-direction: column; text-align: center; }
}
