:root{
  --navy:#0f2140;
  --gold:#c6a04a;
  --text:#1d2430;
  --muted:#657287;
  --bg:#ffffff;
  --card:#ffffff;
  --border:#e2e6ef;
  --shadow: 0 10px 30px rgba(15, 33, 64, 0.08);
  --radius: 18px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.container{
  width:min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* ================= HEADER + NAV (FINAL) ================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(15, 33, 64, 0.06);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 16px;
}

.logo-img-link{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img{
  height: 220px;
  width: auto;
  display: block;
}

.header-right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}

.header-note{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
  max-width: 360px;
  opacity: 0.85;
  margin: 0;
}

.site-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nav-link{
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.98rem;
  line-height: 1;
  color: var(--navy);
  border: 1px solid rgba(11,31,58,0.25);
  background: rgba(255,255,255,0.80);
  opacity: 0.95;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;
}

.nav-link:hover{
  opacity: 1;
  border-color: rgba(11,31,58,0.40);
  background: rgba(11,31,58,0.04);
  transform: translateY(-1px);
}

.nav-link.is-active{
  opacity: 1;
  font-weight: 700;
  border-color: rgba(11,31,58,0.55);
  background: rgba(11,31,58,0.08);
  box-shadow: 0 6px 16px rgba(11,31,58,0.12);
}

.nav-link:focus-visible{
  outline: 3px solid rgba(11,31,58,0.25);
  outline-offset: 2px;
}

@media (max-width: 720px){
  .header-inner{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 10px 0 12px;
  }

  .header-right{
    align-items: center;
    text-align: center;
  }

  .site-nav{
    justify-content: center;
  }

  .logo-img{
    height: 92px;
  }

  .header-note{
    max-width: none;
    width: 100%;
    font-size: 12px;
    line-height: 1.3;
  }
}

/* ================= HERO ================= */

.hero-title{
  margin:0;
  font-size: 18px;
  color: var(--navy);
  font-weight: 700;
}

.hero-sub{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.card{
  margin: 0 0 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 6px 18px rgba(15, 33, 64, 0.06);
  cursor: zoom-in;
  transition: 140ms ease;
}

.card:hover{ transform: translateY(-2px); }

.thumb{
  width: 100%;
  display:block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #dde3ef;
}

.meta{ padding: 10px 12px 12px; }

.cap{
  margin:0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

.tag{
  display:inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--navy);
  background: rgba(198,160,74,0.18);
  border: 1px solid rgba(198,160,74,0.35);
  padding: 5px 10px;
  border-radius: 999px;
}

/* ================= FEATURED GRID ================= */
.featured{ padding: 22px 0 36px; }
.featured-head{ margin-bottom: 14px; }

.featured-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.card--featured .thumb{
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 680px){
  .featured-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ================= FOOTER ================= */
footer{
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  padding: 18px 0 30px;
  color: var(--muted);
  font-size: 13px;
}
.footer-inner{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-line{
  font-weight: 600;
  color: var(--muted);
}

.last-updated{
  margin: 0;              /* <-- key change */
  font-size: 12px;
  color: var(--muted);
  opacity: 0.75;
}

/* ================= LIGHTBOX ================= */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.86);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 999;
}
.lightbox.open{ display:flex; }

.lb-inner{
  width: min(1050px, 100%);
  max-height: 92vh;
  position: relative;
}

.lb-img{
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 16px;
  display:block;
  background: #111;
}

.lb-close, .lb-prev, .lb-next{
  position:absolute;
  top: 12px;
  border: 0;
  background: rgba(255,255,255,0.14);
  color: white;
  padding: 10px 12px;
  border-radius: 999px;
  cursor:pointer;
  font-size: 14px;
}

.lb-close{ right: 12px; }
.lb-prev{ left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next{ right: 12px; top: 50%; transform: translateY(-50%); }

.lb-caption{
  margin-top: 10px;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  text-align:center;
}
