
:root {
  --ink: #0f172a;
  --ink-2: #13253b;
  --ink-3: #1f334d;
  --white: #ffffff;
  --slate: #64748b;
  --line: rgba(15, 23, 42, 0.08);
  --soft: #f5f7fb;
  --card: #ffffff;
  --jade: #58c9bb;
  --jade-deep: #136b64;
  --accent: #d93025;
  --shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --max: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans TC", "Inter", system-ui, sans-serif;
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
  color: var(--ink);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.topbar {
  background: linear-gradient(90deg, #12253d 0%, #193c50 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 14px; min-width: 0; }
.topbar-label {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  background: rgba(255,255,255,.14);
  letter-spacing: .04em;
}
.ticker-wrap { overflow: hidden; min-width: 0; }
.ticker {
  display: inline-flex; align-items: center; gap: 38px; white-space: nowrap;
  font-size: 15px; font-weight: 800; animation: ticker 28s linear infinite;
}
.ticker span::after { content: "•"; margin-left: 38px; opacity: .45; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.topbar-right a { color: rgba(255,255,255,.86); font-size: 15px; font-weight: 800; }
.topbar-right a:hover { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.header-main {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0 16px;
}
.brand { display: flex; align-items: center; min-width: 0; }
.brand-logo-image {
  width: clamp(240px, 26vw, 420px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(15, 35, 65, 0.08));
}
.brand-mark {
  width: 58px; height: 58px; border-radius: 16px; color: #fff; font-size: 34px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #0c2945 0%, #1b5964 100%);
  box-shadow: 0 10px 26px rgba(19, 37, 59, 0.18);
}
.brand-name { display:block; font-size: 58px; line-height: 1; font-weight: 900; letter-spacing: .02em; }
.brand-tagline { display:block; font-size: 20px; color: #516171; font-weight: 800; margin-top: 6px; }
.footer-logo-image {
  width: 118px;
  min-width: 118px;
  height: auto;
  display: block;
  object-fit: contain;
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.search-box {
  width: 360px; max-width: 40vw; position: relative; display: flex; align-items: center;
  background: #f8fafc; border: 1px solid rgba(15,23,42,.08); border-radius: 999px; padding: 8px 8px 8px 16px;
}
.search-box input { flex: 1; border: 0; background: transparent; outline: none; font-size: 18px; font-weight: 700; color: var(--ink); }
.search-box button {
  width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  background: linear-gradient(135deg, #0f2341 0%, #163e52 100%); color: #fff; font-size: 18px;
}
.action-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 900; font-size: 16px;
}
.action-btn.ghost { background: #fff; color: var(--ink); border: 1px solid rgba(15,23,42,.12); }
.action-btn.solid { color: #fff; background: linear-gradient(90deg, #0f2341 0%, #164a55 100%); box-shadow: 0 12px 28px rgba(15,35,65,.18); }

.main-nav { border-top: 1px solid rgba(15,23,42,.05); border-bottom: 1px solid rgba(15,23,42,.05); background: #fff; }
.nav-inner { display: flex; align-items: center; gap: 28px; overflow: visible; white-space: nowrap; padding: 16px 0; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-inner a { position: relative; font-size: 22px; font-weight: 900; color: #15283d; padding-bottom: 10px; }
.nav-inner a.active, .nav-inner a:hover { color: #d93025; }
.nav-inner a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--jade-deep), var(--jade));
}

.breaking-bar { background: #fff; border-bottom: 1px solid rgba(15,23,42,.06); }
.breaking-inner { display: flex; align-items: center; gap: 16px; min-height: 54px; }
.breaking-label { background: #d93025; color: #fff; padding: 7px 12px; border-radius: 8px; font-weight: 900; font-size: 16px; }
.breaking-content { display: flex; align-items: center; gap: 12px; min-width: 0; white-space: nowrap; overflow: hidden; }
.breaking-content strong { font-size: 17px; color: #d93025; }
.breaking-content span { font-size: 16px; color: #7d8794; font-weight: 800; }
.breaking-content a { font-size: 19px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }

.hero-section { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(320px, .92fr); gap: 26px; padding: 28px 0 24px; }
.story-card, .membership-band, .empty-state, .admin-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden;
}
.hero-main { box-shadow: var(--shadow); }
.hero-image-wrap { position: relative; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; }
.hero-image-wrap::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,18,34,.06) 0%, rgba(10,18,34,.18) 50%, rgba(10,18,34,.56) 100%);
  z-index: 1;
}
.hero-image-wrap img, .image-cover { width: 100%; height: 100%; object-fit: cover; }
.hero-category {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  min-width: 76px; padding: 8px 14px; border-radius: 10px; background: rgba(18,55,83,.84); color: #fff; font-size: 16px; font-weight: 900;
}
.hero-main-body { padding: 22px 24px 26px; }
.hero-main h1 { margin: 0 0 12px; font-size: clamp(40px, 3vw, 62px); line-height: 1.22; font-weight: 900; letter-spacing: -.02em; }
.hero-main p { margin: 0; font-size: 22px; color: #46566a; }
.meta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; color: #718096; font-size: 15px; font-weight: 800; }
.meta-row.small { font-size: 13px; margin-top: 12px; }

.hero-side { display: grid; gap: 22px; }
.side-story img { aspect-ratio: 16 / 10; object-fit: cover; }
.side-story-body { padding: 18px 18px 20px; }
.mini-tag, .latest-tag, .news-tag, .section-kicker, .admin-pill {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 900;
}
.mini-tag { background: #eef5fa; color: #15314a; font-size: 13px; padding: 6px 12px; }
.side-story h3 { margin: 12px 0 10px; font-size: 30px; line-height: 1.32; font-weight: 900; }
.side-story p { margin: 0; color: #718096; font-size: 14px; font-weight: 700; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 18px 0 16px; }
.section-head h2 { margin: 0; font-size: 40px; line-height: 1.2; font-weight: 900; }
.section-head p { margin: 0; color: #617180; font-size: 16px; font-weight: 700; }
.latest-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) 340px; gap: 24px; }
.latest-list { display: grid; gap: 18px; }
.latest-item {
  display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; padding: 14px;
}
.latest-item img { height: 100%; min-height: 190px; object-fit: cover; border-radius: 16px; }
.latest-tag { background: #eef8f6; color: var(--jade-deep); font-size: 13px; padding: 6px 12px; }
.latest-item h3 { margin: 12px 0 10px; font-size: 30px; line-height: 1.28; font-weight: 900; }
.latest-item p { margin: 0; font-size: 19px; color: #4b5a6d; }
.hot-panel { padding: 18px 20px; }
.hot-panel-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 10px; }
.hot-panel h3 { margin: 0; font-size: 30px; font-weight: 900; }
.hot-panel ol { margin: 0; padding-left: 24px; display: grid; gap: 16px; }
.hot-panel li { font-size: 20px; font-weight: 800; line-height: 1.45; }
.hot-panel li::marker { color: var(--jade-deep); font-weight: 900; }

.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 26px 0 8px; }
.news-card img { aspect-ratio: 16 / 10; object-fit: cover; }
.news-card-body { padding: 18px 18px 20px; }
.news-tag {
  background: linear-gradient(90deg, rgba(88,201,187,.18), rgba(191,238,228,.45));
  color: #10534b; font-size: 13px; padding: 6px 12px;
}
.news-card h3 { margin: 12px 0 10px; font-size: 30px; line-height: 1.3; font-weight: 900; }
.news-card p { margin: 0; font-size: 18px; color: #4b5a6d; }

.membership-band {
  position: relative; margin: 34px auto 54px; padding: 28px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(135deg, #11263f 0%, #14384a 55%, #19655d 100%);
  color: #fff; overflow: hidden;
}
.membership-band::before {
  content: ""; position: absolute; inset: auto -12% -18% 38%; height: 220px;
  background: radial-gradient(circle, rgba(191,238,228,.25) 0%, rgba(191,238,228,0) 62%);
}
.membership-band::after {
  content: ""; position: absolute; left: -8%; right: -8%; top: 18%; height: 160px;
  background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(191,238,228,.28), rgba(255,255,255,.03));
  border-radius: 50%; transform: rotate(6deg);
}
.membership-copy, .membership-actions { position: relative; z-index: 1; }
.section-kicker { background: rgba(255,255,255,.14); color: #fff; font-size: 13px; padding: 6px 12px; }
.membership-copy h2 { margin: 12px 0 10px; font-size: 34px; line-height: 1.25; font-weight: 900; }
.membership-copy p { margin: 0; font-size: 17px; color: rgba(255,255,255,.82); max-width: 820px; }
.membership-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.site-footer {
  position: relative; margin-top: 40px;
  background: linear-gradient(180deg, #0f172a 0%, #13243a 100%); color: #fff; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; left: -10%; right: -10%; top: 10%; height: 180px;
  background: linear-gradient(90deg, rgba(191,238,228,.02), rgba(191,238,228,.18), rgba(217,231,239,.04));
  border-radius: 50%; transform: rotate(-7deg);
}
.footer-top {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .9fr .95fr; gap: 32px; padding: 44px 0 28px;
}
.footer-logo { display: flex; gap: 14px; align-items: center; }
.footer-logo .brand-mark { width: 54px; height: 54px; font-size: 28px; }
.footer-brand h3 { margin: 0 0 6px; font-size: 34px; font-weight: 900; }
.footer-brand p { margin: 0; color: rgba(255,255,255,.76); line-height: 1.8; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.footer-links a { color: rgba(255,255,255,.84); font-size: 15px; font-weight: 700; }
.footer-links a:hover { color: #fff; }
.footer-social { display:flex; flex-wrap:wrap; gap: 12px; align-content:start; }
.footer-social a {
  width: 46px; height: 46px; border-radius: 999px; display: inline-flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.08); font-size: 18px;
}
.footer-bottom {
  position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.09); padding: 16px 0 26px;
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.footer-bottom p { margin: 0; color: rgba(255,255,255,.58); font-size: 14px; }

.page-head {
  padding: 28px 0 8px;
}
.page-head h1 { margin: 0 0 8px; font-size: 48px; font-weight: 900; }
.page-head p { margin: 0; color: #5c6d7e; font-size: 17px; font-weight: 700; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; padding: 18px 0 32px; }
.list-stack { display:grid; gap:18px; }
.story-row { display:grid; grid-template-columns: 280px minmax(0,1fr); gap:16px; padding:14px; }
.story-row img { width:100%; height:100%; min-height:190px; object-fit:cover; border-radius: 16px; }
.story-row h3 { margin: 10px 0 10px; font-size: 30px; line-height: 1.3; font-weight: 900; }
.story-row p { margin:0; color:#516171; font-size: 16px; }
.sidebar-block { padding: 20px; }
.sidebar-block h3 { margin: 0 0 14px; font-size: 24px; font-weight: 900; }
.sidebar-block ul { list-style: none; padding:0; margin:0; display:grid; gap:12px; }
.sidebar-block li a { color:#203247; font-weight:800; line-height:1.45; }

.article-shell { padding: 28px 0 40px; }
.article-wrap { display:grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
.article-main { background:#fff; border:1px solid var(--line); border-radius: var(--radius-xl); overflow:hidden; }
.article-main img.hero { aspect-ratio: 16 / 9; width:100%; object-fit:cover; }
.article-body { padding: 28px 30px 34px; }
.article-body h1 { margin: 0 0 12px; font-size: clamp(36px, 3vw, 52px); line-height:1.22; font-weight:900; }
.article-standfirst { font-size:20px; color:#4c5c6d; margin: 0 0 16px; }
.article-content { font-size: 21px; line-height: 2; color:#1f2d3d; }
.article-content p { margin: 0 0 22px; }

.breadcrumbs { display:flex; flex-wrap:wrap; gap:10px; margin-bottom: 14px; color:#758394; font-size:14px; font-weight:700; }
.breadcrumbs a { color:#415467; }

.empty-state { padding: 34px; text-align:center; color:#5b6c7e; }
.empty-state h3 { margin:0 0 8px; font-size: 24px; }

.admin-shell { padding: 28px 0 40px; }
.admin-hero {
  display:flex; justify-content:space-between; gap:20px; align-items:flex-start; margin-bottom: 24px;
}
.admin-hero h1 { margin:0 0 8px; font-size: 46px; font-weight:900; }
.admin-hero p { margin:0; color:#58697b; font-size:17px; }
.admin-actions { display:flex; gap:12px; flex-wrap:wrap; }
.admin-layout { display:grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.admin-card { padding: 22px; }
.admin-card h2 { margin:0 0 16px; font-size: 24px; font-weight:900; }
.form-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; }
.form-grid .full { grid-column: 1 / -1; }
label { display:grid; gap:7px; color:#223246; font-weight:800; font-size: 14px; }
input[type="text"], input[type="date"], input[type="url"], textarea, select {
  width:100%; border:1px solid rgba(15,23,42,.12); border-radius: 14px; padding: 12px 14px; background:#fff; color:var(--ink);
}
textarea { min-height: 150px; resize: vertical; }
.helper { margin: 8px 0 0; color:#738294; font-size: 13px; line-height:1.7; }
.preview-box { border:1px dashed rgba(15,23,42,.14); border-radius: 18px; padding: 14px; background:#f8fbff; }
.preview-box img { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius: 14px; background:#dbe4ee; }
.admin-toolbar { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom: 16px; }
.admin-pill { background:#eaf8f5; color:#115e56; font-size:12px; padding: 5px 10px; }
.article-table { display:grid; gap: 12px; }
.admin-item {
  display:grid; grid-template-columns: 108px minmax(0,1fr) auto; gap:14px; align-items:center;
  padding: 12px; border:1px solid rgba(15,23,42,.08); border-radius: 16px; background:#fff;
}
.admin-item img { width:108px; height:72px; object-fit:cover; border-radius: 12px; }
.admin-item h3 { margin:0 0 6px; font-size: 17px; line-height:1.4; }
.admin-item p { margin:0; color:#64748b; font-size:13px; }
.admin-btns { display:flex; gap:8px; flex-wrap:wrap; }
.btn {
  border: 0; cursor:pointer; display:inline-flex; align-items:center; justify-content:center;
  min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight:900;
}
.btn.primary { color:#fff; background: linear-gradient(90deg,#0f2341 0%, #164a55 100%); }
.btn.secondary { color:#16324b; background:#edf3f8; border:1px solid rgba(15,23,42,.08); }
.btn.danger { color:#fff; background:#d93025; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.hidden { display:none !important; }

@media (max-width: 1100px) {
  .header-main { flex-direction: column; align-items: stretch; }
  .header-actions { width: 100%; }
  .search-box { flex: 1; max-width: none; width: auto; }
  .hero-section, .latest-layout, .featured-grid, .page-grid, .article-wrap, .admin-layout, .footer-top {
    grid-template-columns: 1fr;
  }
  .featured-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .topbar-right { display:none; }
  .brand-name { font-size: 34px; }
  .brand-tagline { font-size: 15px; }
  .brand-mark { width:50px; height:50px; font-size:26px; }
  .header-actions { flex-wrap:wrap; }
  .action-btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
  .nav-inner a { font-size: 19px; }
  .hero-main h1, .page-head h1, .article-body h1 { font-size: 36px; }
  .section-head h2, .hot-panel h3, .membership-copy h2 { font-size: 32px; }
  .latest-item, .story-row, .admin-item { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .article-body, .hero-main-body, .admin-card { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* v4 additions */
.topbar-right{flex-wrap:nowrap;justify-content:flex-end}
.topbar-right a{display:inline-block;white-space:nowrap}
.public-only{display:inline-flex}
.admin-only{display:none!important}
.site-header .header-actions .action-btn[data-role="admin"]{display:none!important}
.main-nav{position:relative;z-index:50}
.nav-item{position:relative;display:inline-flex;align-items:center}
.nav-item>a{display:inline-block}
.nav-item .dropdown{
  position:absolute;top:calc(100% + 8px);left:0;min-width:220px;background:#fff;border:1px solid rgba(15,23,42,.08);
  border-radius:18px;box-shadow:0 22px 40px rgba(15,23,42,.12);padding:10px;display:none;z-index:80
}
.nav-item .dropdown a{display:block;padding:12px 14px;border-radius:12px;font-size:17px;font-weight:800;white-space:nowrap}
.nav-item .dropdown a:hover{background:#f4f8fb;color:#d93025}
.nav-item:hover .dropdown{display:block}
.footer-top{align-items:start}
.footer-column h4{margin:0 0 14px;font-size:20px;font-weight:900}
.footer-mission-logo{display:flex;gap:16px;align-items:center;margin-bottom:16px}
.footer-explore-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.footer-chip{display:inline-flex;align-items:center;justify-content:center;padding:10px 12px;border-radius:8px;background:rgba(255,255,255,.08);font-size:15px;font-weight:700}
.footer-contact p{margin:0 0 12px;color:rgba(255,255,255,.82);font-size:16px;line-height:1.8}
.footer-contact a{color:#cfeeff}
.footer-bottom-links{display:flex;gap:18px;flex-wrap:wrap}
.footer-bottom-links a{color:rgba(255,255,255,.82);font-size:15px;font-weight:700}
.about-shell{padding:30px 0 46px}
.about-grid{display:grid;grid-template-columns:1.15fr .9fr .9fr;gap:42px}
.about-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:24px;padding:28px}
.about-card h2{margin:0 0 18px;font-size:34px;font-weight:900}
.about-card p{margin:0 0 14px;font-size:18px;line-height:1.95;color:#334155}
.about-staff{display:grid;gap:16px}
.staff-item{padding:16px 18px;background:#f7fafc;border-radius:16px;border:1px solid rgba(15,23,42,.08)}
.staff-item strong{display:block;font-size:18px;margin-bottom:6px}
.footer-preview{margin-top:24px}
.mobile-nav-toggle{display:none}
@media (max-width: 900px){
  .topbar-right{display:none}
  .about-grid{grid-template-columns:1fr}
  .footer-explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .mobile-nav-toggle{display:inline-flex;width:46px;height:46px;border-radius:999px;border:1px solid rgba(15,23,42,.12);align-items:center;justify-content:center;background:#fff}
  .header-actions .action-btn.public-only{display:none}
  .main-nav .nav-inner{gap:14px}
  .nav-item .dropdown{position:static;display:none;box-shadow:none;border:0;background:#fff;padding:8px 0 0}
  .nav-item.open .dropdown{display:block}
  .nav-item{display:block;width:100%}
  .nav-item>a{display:flex;justify-content:space-between;align-items:center;width:100%}
  .main-nav.mobile-open .nav-inner{display:grid;white-space:normal}
  .main-nav:not(.mobile-open) .nav-inner{overflow:auto}
}


/* v5 refinements */
.topbar-right{display:none !important;}
.topbar-left{flex:1; min-width:0;}
.ticker-wrap{width:100%;}
.ticker{width:max-content; max-width:none;}
.site-header{overflow:visible;}
.main-nav{position:relative; z-index:120; overflow:visible;}
.nav-inner{position:relative; overflow:visible;}
.nav-item{position:relative;}
.nav-item > a{display:inline-flex; align-items:center; gap:8px;}
.nav-item > a .caret{font-size:12px; opacity:.45; transition:transform .2s ease;}
.nav-item:hover > a .caret,
.nav-item.open > a .caret{transform:rotate(180deg);}
.nav-item .dropdown{
  display:none;
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:240px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  box-shadow:0 18px 36px rgba(15,23,42,.12);
  padding:10px;
}
.nav-item:hover .dropdown,
.nav-item.open .dropdown{display:block;}
.dropdown-title{
  display:block;
  padding:8px 12px 10px;
  font-size:13px;
  font-weight:900;
  color:#64748b;
  letter-spacing:.04em;
}
.topbar-right:empty{display:none !important;}

.about-hero{
  background:linear-gradient(135deg,#0f2341 0%,#184052 100%);
  color:#fff;
  border-radius:32px;
  padding:36px 40px;
  box-shadow:0 20px 40px rgba(15,35,65,.15);
  margin-bottom:28px;
}
.about-hero h1{margin:0 0 12px; font-size:52px; line-height:1.12; font-weight:900;}
.about-hero p{margin:0; font-size:20px; line-height:1.9; color:rgba(255,255,255,.84); max-width:980px;}
.about-grid{grid-template-columns:1.15fr .95fr;}
.about-card.alt{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}
.about-card h3{margin:0 0 12px; font-size:24px; font-weight:900;}
.staff-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.staff-item{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  padding:18px 18px 16px;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}
.staff-item strong{
  display:block;
  font-size:18px;
  margin-bottom:8px;
  color:#0f2341;
}
.staff-item span{
  display:block;
  font-size:18px;
  font-weight:700;
  color:#334155;
}
.about-list{
  margin:0;
  padding-left:20px;
  color:#334155;
}
.about-list li{
  margin:0 0 10px;
  line-height:1.9;
  font-size:17px;
}
.about-contact{
  display:grid;
  gap:14px;
}
.about-contact .line{
  padding:14px 16px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid rgba(15,23,42,.08);
  font-size:17px;
  line-height:1.8;
}
.about-mini-note{
  margin-top:14px;
  padding:14px 16px;
  border-radius:16px;
  background:#fff7ed;
  border:1px solid rgba(251,146,60,.18);
  color:#9a3412;
  font-size:15px;
  line-height:1.8;
}
.footer-top{grid-template-columns:1.1fr .95fr 1fr;}
.footer-mission-logo .brand-mark{flex:0 0 auto;}
.footer-column{min-width:0;}
@media (max-width: 1100px){
  .about-grid{grid-template-columns:1fr;}
}
@media (max-width: 760px){
  .nav-inner{
    overflow:auto;
    display:block;
    white-space:normal;
  }
  .nav-item{display:block; width:100%;}
  .nav-item .dropdown{
    position:static;
    min-width:0;
    margin-top:8px;
    box-shadow:none;
    border:0;
    border-top:1px solid rgba(15,23,42,.06);
    border-radius:0;
    padding:8px 0 0;
  }
  .staff-grid{grid-template-columns:1fr;}
  .about-hero{
    padding:24px 20px;
    border-radius:24px;
  }
  .about-hero h1{font-size:36px;}
  .about-hero p{font-size:17px;}
}

/* ===== v6 refinements ===== */
.topbar-right{
  display:flex !important;
  flex:0 0 auto;
  margin-left:24px;
}
.topbar-right a{
  color:#fff;
  font-size:15px;
  font-weight:900;
  white-space:nowrap;
}
.topbar-inner{gap:18px;}
.topbar-left{min-width:0; flex:1;}
.ticker-wrap{min-width:0; overflow:hidden; width:100%;}
.ticker{
  display:flex;
  align-items:center;
  white-space:nowrap;
}
.ticker a{
  color:#fff;
  font-size:14px;
  font-weight:800;
}
.header-actions{gap:14px;}
.header-actions .action-btn{min-width:150px}
.header-actions .action-btn.ghost{
  background:#fff;
  border:1px solid rgba(15,23,42,.12);
}

.latest-item.story-card,
.news-card.story-card,
.side-story.story-card{
  background:transparent;
  border:0;
  box-shadow:none;
  border-radius:0;
}
.latest-item,
.news-card,
.side-story{
  padding:0;
}
.latest-item img,
.news-card img,
.side-story img{
  border-radius:0;
}
.latest-list{
  gap:26px;
}
.latest-item{
  border-bottom:1px solid rgba(15,23,42,.08);
  padding-bottom:22px;
}
.latest-item:last-child{
  border-bottom:0;
}
.news-card{
  padding-bottom:12px;
}
.news-card-body{
  padding:12px 0 0;
}
.news-card h3{
  font-size:21px;
  line-height:1.45;
  font-weight:900;
  margin:10px 0 6px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.news-card p{
  display:none;
}
.news-card img{
  aspect-ratio: 4 / 3;
}
.featured-grid{
  gap:34px 28px;
}
.news-tag{
  background:none;
  padding:0;
  color:#d93025;
  font-size:14px;
}
.story-card.hero-main,
.hot-panel.story-card{
  box-shadow:0 18px 36px rgba(15,23,42,.06);
}
.hot-panel{
  border-radius:18px;
}
.hero-main{
  border-radius:28px;
}
.hero-main-body h1{
  margin-bottom:12px;
}
.hero-main-body p{
  font-size:18px;
  line-height:1.9;
}
.meta-row.small{font-size:14px}
.membership-band{
  margin-top:10px;
}
.site-footer{
  margin-top:56px;
}
.footer-top{
  gap:42px;
}

/* admin visual map */
.admin-layout{
  grid-template-columns: 1.15fr .85fr;
}
.admin-frontmap{
  position:sticky;
  top:92px;
  display:grid;
  gap:18px;
}
.admin-map-card{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid rgba(15,23,42,.08);
  border-radius:22px;
  padding:18px;
  box-shadow:0 14px 28px rgba(15,23,42,.05);
}
.admin-map-card h3{
  margin:0 0 10px;
  font-size:20px;
  font-weight:900;
}
.admin-map-help{
  margin:0 0 14px;
  color:#64748b;
  font-size:14px;
  line-height:1.8;
}
.admin-hotspots{
  display:grid;
  gap:10px;
}
.hotspot-btn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  border-radius:14px;
  padding:12px 14px;
  cursor:pointer;
  font-weight:800;
  color:#0f2341;
}
.hotspot-btn small{
  color:#64748b;
  font-weight:700;
}
.setting-block{
  border:1px solid rgba(15,23,42,.08);
  border-radius:20px;
  padding:20px;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.setting-block + .setting-block{
  margin-top:18px;
}
.setting-block h3{
  margin:0 0 14px;
  font-size:22px;
  font-weight:900;
}
.field-note{
  margin:-2px 0 12px;
  color:#64748b;
  font-size:13px;
  line-height:1.8;
}
.admin-inline-links{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.front-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:72px;
  padding:6px 10px;
  border-radius:999px;
  background:#eef6ff;
  color:#0f2341;
  font-size:12px;
  font-weight:900;
  margin-bottom:10px;
}
@media (max-width: 1100px){
  .admin-layout{
    grid-template-columns:1fr;
  }
  .admin-frontmap{
    position:static;
  }
}
@media (max-width: 760px){
  .topbar-right{display:none !important;}
  .header-actions{
    width:100%;
    flex-wrap:wrap;
  }
  .header-actions .action-btn,
  .search-box{
    width:100%;
    max-width:none;
  }
  .featured-grid{
    gap:24px;
  }
  .news-card h3{
    font-size:19px;
  }
}

/* ==== v7 membership and headline refinements ==== */
.topbar{background:linear-gradient(90deg,#10253d 0%, #173f53 100%);} 
.topbar-inner{min-height:52px;gap:20px;}
.topbar-left{display:flex;align-items:center;min-width:0;flex:1;overflow:hidden;}
.topbar-promo{color:#fff;font-size:16px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.topbar-right{display:flex !important;align-items:center;gap:12px;flex:0 0 auto;margin-left:12px;}
.topbar-right a{font-size:14px;font-weight:900;color:#fff;white-space:nowrap;}
.member-badge{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 16px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);}
.member-badge.signed{background:#fff;color:#0f2341;}
.search-box{max-width:420px;}
.breaking-bar{background:#fff;border-bottom:1px solid rgba(15,23,42,.06);} 
.breaking-inner{display:flex;align-items:center;gap:14px;min-height:54px;overflow:hidden;}
.breaking-label{background:#ef3d2f;color:#fff;border-radius:10px;padding:8px 12px;font-size:15px;font-weight:900;flex:0 0 auto;}
.breaking-marquee{min-width:0;overflow:hidden;flex:1;}
.breaking-track{display:inline-flex;align-items:center;white-space:nowrap;animation:breaking-scroll 38s linear infinite;}
.breaking-track:hover{animation-play-state:paused;}
.breaking-track a{display:inline-flex;align-items:center;color:#13253b;font-size:17px;font-weight:800;margin-right:28px;}
.breaking-track .cat{color:#ef3d2f;font-weight:900;margin-right:10px;}
.breaking-track .date{color:#7a8796;font-size:15px;font-weight:800;margin-right:10px;}
.breaking-track .sep{margin-right:28px;color:rgba(15,23,42,.22);}
@keyframes breaking-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.header-actions{gap:12px;}
.header-actions .action-btn{min-width:138px;}
.news-card img{aspect-ratio: 4 / 3;}
.news-card h3{margin:8px 0 4px;font-size:19px;line-height:1.5;font-weight:900;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.news-card-body{padding:10px 0 0;}
.news-card{padding-bottom:2px;}
.news-tag{font-size:13px;}
.footer-social a{transition:transform .2s ease, background .2s ease;}
.footer-social a:hover{transform:translateY(-2px);background:rgba(255,255,255,.16);}
.join-shell{padding:34px 0 50px;}
.join-wrap{max-width:980px;margin:0 auto;display:grid;grid-template-columns:1.05fr .95fr;gap:24px;}
.join-card,.member-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:24px;padding:26px;box-shadow:0 18px 36px rgba(15,23,42,.05);}
.join-card h1{margin:0 0 10px;font-size:42px;line-height:1.2;font-weight:900;}
.join-card p{margin:0 0 18px;color:#556577;font-size:17px;line-height:1.85;}
.check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;}
.check-chip{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid rgba(15,23,42,.08);border-radius:14px;background:#f8fafc;font-size:15px;font-weight:700;}
.check-chip input{accent-color:#0f2341;}
.member-summary{display:grid;gap:14px;}
.member-summary .row{padding:14px 16px;border-radius:16px;background:#f8fafc;border:1px solid rgba(15,23,42,.08);font-size:15px;line-height:1.8;}
.modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.45);display:none;align-items:center;justify-content:center;z-index:200;}
.modal-backdrop.show{display:flex;}
.modal-card{width:min(92vw,420px);background:#fff;border-radius:24px;padding:28px;text-align:center;box-shadow:0 24px 48px rgba(15,23,42,.22);}
.modal-card h3{margin:0 0 10px;font-size:28px;font-weight:900;}
.modal-card p{margin:0 0 18px;color:#58697b;font-size:16px;line-height:1.8;}
.members-table{display:grid;gap:12px;}
.member-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start;padding:14px 16px;border:1px solid rgba(15,23,42,.08);border-radius:16px;background:#fff;}
.member-item h4{margin:0 0 6px;font-size:18px;font-weight:900;}
.member-item p{margin:0;color:#5a6a7b;font-size:14px;line-height:1.8;}
.pref-chips{display:flex;flex-wrap:wrap;gap:8px;}
.pref-chips span{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:#eef5fb;color:#17324b;font-size:12px;font-weight:900;}
@media (max-width:760px){
  .topbar-promo{font-size:14px;}
  .topbar-right a{font-size:13px;}
  .join-wrap{grid-template-columns:1fr;}
  .check-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}


/* v8 refinements */
.topbar{min-height:52px;}
.topbar-inner{min-height:52px;}
.topbar-left{display:flex;align-items:center;justify-content:center;}
.topbar-promo{display:inline-block;color:#fff;font-size:17px;font-weight:900;letter-spacing:.01em;}
.topbar-promo:hover{opacity:.92;}
.member-badge{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.12);color:#fff;font-size:16px;font-weight:900;letter-spacing:.02em;}
.member-badge.signed{background:rgba(255,255,255,.18);}
.header-actions .action-btn{min-height:48px;padding:0 24px;font-size:18px;font-weight:900;white-space:nowrap;}
.header-actions .action-btn.solid{min-width:170px;}
.header-actions .action-btn.ghost{min-width:150px;}
.breaking-bar{background:#fff;border-top:1px solid rgba(15,23,42,.05);}
.breaking-inner{align-items:center;}
.breaking-label{min-width:52px;}
.breaking-marquee{position:relative;height:44px;overflow:hidden;flex:1;}
.breaking-track{display:block;will-change:transform;}
.breaking-item{height:44px;display:flex;align-items:center;gap:14px;white-space:nowrap;color:#102235;font-weight:800;transform:translateY(0);}
.breaking-item .cat{color:#e23a2e;font-weight:900;}
.breaking-item .date{color:#7a8795;font-size:14px;font-weight:800;}
.breaking-item a{overflow:hidden;text-overflow:ellipsis;}
.breaking-item.fade-up{animation:breakingFlip .45s ease;}
@keyframes breakingFlip{from{transform:translateY(18px);opacity:.1;}to{transform:translateY(0);opacity:1;}}
.focus-card{display:grid;gap:10px;}
.focus-card .news-tag{display:inline-block;color:#e23a2e;font-size:14px;font-weight:900;}
.focus-card h3{margin:8px 0 6px;font-size:21px;line-height:1.45;font-weight:900;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.focus-card p{margin:0;color:#425368;font-size:15px;line-height:1.8;}
.focus-card img{width:100%;aspect-ratio:4/3;object-fit:cover;}
.featured-grid .focus-card,.featured-grid .news-card{border:0;box-shadow:none;background:transparent;}
.featured-grid .focus-card img,.featured-grid .news-card img{border-radius:0;}
.membership-copy h2 a{color:#fff;}
@media (max-width:760px){
  .topbar-promo{font-size:14px;text-align:center;}
  .member-badge{min-height:38px;padding:0 14px;font-size:14px;}
  .header-actions .action-btn{font-size:16px;min-height:44px;}
  .breaking-marquee{height:40px;}
  .breaking-item{height:40px;gap:10px;font-size:14px;}
}

/* v9 fixes */
.ticker-wrap{overflow:visible !important;}
.ticker{animation:none !important;transform:none !important;width:auto !important;display:flex !important;justify-content:center;}
.ticker a{white-space:nowrap;}
.topbar-inner{justify-content:space-between;}
.topbar-left{justify-content:flex-start;}
.topbar-right{display:flex !important;align-items:center;gap:12px;}
.topbar-right a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.12);color:#fff;font-size:15px;font-weight:900;text-decoration:none;}
.topbar-right a:hover{background:rgba(255,255,255,.18);}
@media (max-width:760px){
  .topbar-inner{justify-content:center;}
  .topbar-right{display:none !important;}
  .topbar-left{justify-content:center;}
}


/* v10 breaking/news fixes */
.breaking-inner{min-height:56px;display:flex;align-items:center;gap:14px;}
.breaking-marquee{flex:1 1 auto;min-width:0;height:48px !important;overflow:hidden !important;position:relative;}
.breaking-track{position:relative;width:100%;height:48px;overflow:hidden;transform:none !important;animation:none !important;}
.breaking-item{width:100%;height:48px !important;white-space:nowrap;overflow:hidden;}
.breaking-item a{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;}
.breaking-content,.breaking-content *{animation:none !important;transform:none !important;}
#focus-news .featured-grid{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px;}
@media (max-width:1100px){#focus-news .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:760px){.breaking-marquee{height:42px !important;}.breaking-track{height:42px;}.breaking-item{height:42px !important;font-size:14px;}#focus-news .featured-grid{grid-template-columns:1fr;gap:22px;}}


/* v12 carousel + hot news */
.home-top-block{
  padding-top: 18px;
  padding-bottom: 8px;
}
.home-top-grid{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) 320px;
  gap:28px;
  align-items:start;
}
.home-carousel-wrap{
  min-width:0;
}
.home-carousel{
  position:relative;
  overflow:hidden;
  border-radius:0;
  background:#0f172a;
}
.home-carousel .carousel-slide{
  position:relative;
  display:block;
}
.home-carousel img{
  width:100%;
  aspect-ratio: 16 / 9;
  object-fit:cover;
  display:block;
}
.carousel-overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding:24px 26px 22px;
  background:linear-gradient(180deg, rgba(10,18,34,0) 0%, rgba(10,18,34,.55) 42%, rgba(10,18,34,.85) 100%);
  color:#fff;
}
.carousel-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:64px;
  padding:6px 12px;
  border-radius:0;
  background:#0f5f7a;
  font-size:14px;
  font-weight:900;
  margin-bottom:10px;
}
.carousel-overlay h3{
  margin:0 0 8px;
  font-size:clamp(28px,2.2vw,42px);
  line-height:1.25;
  font-weight:900;
}
.carousel-overlay p{
  margin:0;
  font-size:18px;
  line-height:1.8;
  color:rgba(255,255,255,.88);
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.carousel-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:4;
  width:54px;
  height:54px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.15);
  color:#fff;
  font-size:20px;
  cursor:pointer;
  backdrop-filter:blur(8px);
}
.carousel-arrow.prev{left:18px;}
.carousel-arrow.next{right:18px;}
.carousel-dots{
  position:absolute;
  left:0;
  right:0;
  bottom:14px;
  display:flex;
  justify-content:center;
  gap:10px;
  z-index:4;
}
.carousel-dots button{
  width:10px;
  height:10px;
  border-radius:999px;
  border:0;
  background:rgba(255,255,255,.45);
  cursor:pointer;
}
.carousel-dots button.active{
  background:#fff;
}
.home-hot-panel{
  border-left:1px solid rgba(15,23,42,.08);
  padding-left:22px;
}
.hot-side-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.hot-side-head h3{
  margin:0;
  font-size:24px;
  line-height:1.2;
  font-weight:900;
}
.hot-side-head span{
  color:#e23a2e;
  font-size:14px;
  font-weight:900;
}
.hot-side-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:0;
}
.hot-side-list li{
  border-top:1px solid rgba(15,23,42,.08);
}
.hot-side-list li:first-child{
  border-top:0;
}
.hot-side-list a{
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  gap:14px;
  padding:14px 0;
  color:#102235;
}
.hot-side-list time{
  color:#6b7280;
  font-size:14px;
  font-weight:800;
}
.hot-side-list strong{
  display:block;
  font-size:18px;
  line-height:1.6;
  font-weight:800;
}
.hot-side-list .hot-meta{
  color:#e23a2e;
  font-size:13px;
  font-weight:900;
  margin-bottom:4px;
}

@media (max-width: 1100px){
  .home-top-grid{
    grid-template-columns:1fr;
  }
  .home-hot-panel{
    border-left:0;
    padding-left:0;
    border-top:1px solid rgba(15,23,42,.08);
    padding-top:18px;
  }
}
@media (max-width: 760px){
  .carousel-overlay{
    padding:18px 18px 16px;
  }
  .carousel-overlay h3{
    font-size:24px;
  }
  .carousel-overlay p{
    font-size:15px;
  }
  .carousel-arrow{
    width:42px;
    height:42px;
    font-size:16px;
  }
  .hot-side-list a{
    grid-template-columns:46px minmax(0,1fr);
    gap:10px;
  }
  .hot-side-list strong{
    font-size:16px;
  }
}


/* v13 single rotating feature */
.single-feature-rotator{background:transparent;}
.single-feature-link{display:block !important;}
.single-feature-media{position:relative;min-width:0;overflow:hidden;}
.single-feature-media img{width:100%;height:100%;min-height:540px;object-fit:cover;display:block;}
.single-feature-tag{
  position:absolute;top:18px;left:18px;display:inline-flex;align-items:center;justify-content:center;
  min-width:84px;padding:10px 14px;background:#1c4f78;color:#fff;font-size:18px;font-weight:900;
}
.single-feature-content{display:flex;flex-direction:column;justify-content:flex-end;min-width:0;}
.single-feature-content h3{margin:0 0 18px;font-size:clamp(42px,4vw,72px);line-height:1.14;font-weight:900;color:#0f172a;}
.single-feature-content p{margin:0 0 20px;font-size:22px;line-height:1.9;color:#46566a;}
.single-feature-controls{display:flex;align-items:center;justify-content:center;gap:18px;padding-top:24px;}
.single-feature-arrow{width:48px;height:48px;border:0;border-radius:999px;background:#0f2341;color:#fff;font-size:18px;cursor:pointer;}
.single-feature-dots{display:flex;gap:10px;align-items:center;}
.single-feature-dots button{width:12px;height:12px;border-radius:999px;border:0;background:rgba(15,23,42,.18);cursor:pointer;}
.single-feature-dots button.active{background:#0f2341;}
@media (max-width:1100px){
  .single-feature-link{display:block !important;}
  .single-feature-media img{min-height:420px;}
}
@media (max-width:760px){
  .single-feature-media img{min-height:260px;}
  .single-feature-tag{min-width:66px;padding:8px 12px;font-size:15px;top:12px;left:12px;}
  .single-feature-content h3{font-size:34px;}
  .single-feature-content p{font-size:17px;}
}


/* v14 carousel refinements */
.single-feature-link{
  display:block !important;
  position:relative;
}
.single-feature-media{
  position:relative;
  overflow:hidden;
  background:#0f172a;
}
.single-feature-media img{
  width:100%;
  min-height:520px;
  max-height:520px;
  object-fit:cover;
}
.single-feature-content{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:26px 28px 30px;
  background:linear-gradient(180deg, rgba(10,18,34,0) 0%, rgba(10,18,34,.58) 42%, rgba(10,18,34,.9) 100%);
  color:#fff;
}
.single-feature-content h3{
  color:#fff;
  font-size:clamp(34px,3vw,56px);
  line-height:1.22;
  margin:0 0 12px;
}
.single-feature-content p{
  color:rgba(255,255,255,.88);
  font-size:18px;
  line-height:1.8;
  margin:0 0 14px;
}
.single-feature-content .meta-row{
  color:rgba(255,255,255,.82);
}
.single-feature-tag{
  top:0;
  left:0;
  min-width:88px;
  padding:12px 16px;
  background:#1477a4;
}
.single-feature-controls{
  position:absolute;
  inset:0;
  pointer-events:none;
  padding-top:0;
}
.single-feature-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  pointer-events:auto;
  width:56px;
  height:56px;
  background:rgba(255,255,255,.14);
  backdrop-filter:blur(8px);
}
.single-feature-arrow:hover{
  background:rgba(255,255,255,.22);
}
#singleFeaturePrev{left:18px;}
#singleFeatureNext{right:18px;}
.single-feature-dots{
  position:absolute;
  left:0;
  right:0;
  bottom:18px;
  justify-content:center;
  pointer-events:auto;
}
.single-feature-dots button{
  width:12px;
  height:12px;
  background:rgba(255,255,255,.45);
}
.single-feature-dots button.active{
  background:#fff;
}
@media (max-width:1100px){
  .single-feature-media img{
    min-height:440px;
    max-height:440px;
  }
}
@media (max-width:760px){
  .single-feature-media img{
    min-height:280px;
    max-height:280px;
  }
  .single-feature-content{
    padding:18px 18px 20px;
  }
  .single-feature-content h3{
    font-size:28px;
  }
  .single-feature-content p{
    font-size:15px;
  }
  .single-feature-arrow{
    width:44px;
    height:44px;
  }
  #singleFeaturePrev{left:10px;}
  #singleFeatureNext{right:10px;}
  .single-feature-dots{
    bottom:10px;
  }
}


/* v15 single-column rotator fix */
.single-feature-link{
  display:block !important;
}
.single-feature-media{
  display:block !important;
}
.single-feature-media > img{
  width:100% !important;
  max-width:100% !important;
}
.single-feature-content{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
}
.single-feature-rotator{
  position:relative;
}


/* v25 safe homepage override */
.hero-section{
  grid-template-columns: 1fr !important;
}
.hero-side{
  display: none !important;
}
#focus-news,
.home-top-block{
  display: none !important;
}
.hero-main{
  position: relative;
}
.hero-main .hero-switch{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.hero-main .hero-switch:hover{
  background: rgba(255,255,255,.24);
}
.hero-main .hero-switch.prev{
  left: 18px;
}
.hero-main .hero-switch.next{
  right: 18px;
}
.hero-main .hero-dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-main .hero-dots button{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}
.hero-main .hero-dots button.active{
  background: #fff;
}

/* ensure dropdown can actually overflow if user hovers categories */
.main-nav,
.nav-inner,
.nav-item{
  overflow: visible !important;
}
.nav-item{
  position: relative;
}
.nav-item .dropdown{
  z-index: 120;
}

@media (max-width: 760px){
  .hero-main .hero-switch{
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  .hero-main .hero-switch.prev{
    left: 10px;
  }
  .hero-main .hero-switch.next{
    right: 10px;
  }
}


/* v26 homepage adjustments */
.hero-section{
  grid-template-columns:minmax(0,1.55fr) 320px !important;
  gap:26px !important;
  align-items:start;
}
.hero-side{
  display:block !important;
}
.hero-main .hero-image-wrap{
  aspect-ratio:16 / 8.7;
  max-height:380px;
}
.hero-main .hero-image-wrap img{
  max-height:380px;
  object-fit:cover;
}
.hero-main h1{
  font-size:clamp(30px,2.2vw,42px) !important;
  line-height:1.18 !important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.hero-main p{
  font-size:18px !important;
  line-height:1.75 !important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.hero-side .hot-panel{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:22px;
  padding:18px 18px 14px;
  box-shadow:0 12px 26px rgba(15,23,42,.06);
}
.hero-side .hot-panel-head{
  border-bottom:0;
  padding-bottom:8px;
  margin-bottom:6px;
}
.hero-side .hot-panel h3{
  font-size:28px;
  margin:0;
}
.hero-side .hot-panel ol{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}
.hero-side .hot-panel li{
  font-size:16px;
  line-height:1.65;
  font-weight:800;
}
.hero-side .hot-panel li::marker{
  content:none;
}
.hero-side .hot-panel a{
  display:block;
  padding:10px 12px;
  background:#f8fafc;
  border:1px solid rgba(15,23,42,.06);
  border-radius:16px;
}
.hero-side .hot-stamp{
  color:#e23a2e;
  font-size:14px;
  font-weight:900;
  margin-right:8px;
  white-space:nowrap;
}
.hero-side .hot-line{
  font-size:16px;
  line-height:1.6;
  color:#12253d;
}
.latest-layout{
  grid-template-columns:1fr !important;
}
.latest-layout .hot-panel{
  display:none !important;
}

/* dropdown hover bridge + remove category title text */
.site-header,
.header-main,
.main-nav,
.nav-inner,
.nav-item{
  overflow:visible !important;
}
.nav-item{
  position:relative;
  padding-bottom:12px;
  margin-bottom:-12px;
}
.nav-item .dropdown{
  top:calc(100% - 2px) !important;
  z-index:240 !important;
}
.dropdown-title{
  display:none !important;
}

@media (max-width:1100px){
  .hero-section{
    grid-template-columns:1fr !important;
  }
  .hero-main .hero-image-wrap,
  .hero-main .hero-image-wrap img{
    max-height:340px;
  }
}
@media (max-width:760px){
  .hero-main .hero-image-wrap,
  .hero-main .hero-image-wrap img{
    max-height:260px;
  }
  .hero-side{
    display:block !important;
  }
}


/* v27 arrow + dropdown reliability */
.hero-main > a{
  position:relative;
  z-index:1;
  display:block;
}
.hero-main .hero-switch{
  z-index:30 !important;
  background:rgba(15,23,42,.42) !important;
  box-shadow:0 10px 24px rgba(15,23,42,.18);
  pointer-events:auto !important;
}
.hero-main .hero-switch:hover{
  background:rgba(15,23,42,.6) !important;
}
.hero-main .hero-switch.next{
  right:24px !important;
}
.hero-main .hero-switch.prev{
  left:24px !important;
}
.hero-main .hero-dots{
  z-index:30 !important;
}
.hero-main .hero-dots button{
  pointer-events:auto !important;
}

/* stronger dropdown hover/open behavior */
.nav-item{
  position:relative;
}
.nav-item:hover > .dropdown,
.nav-item.open > .dropdown{
  display:block !important;
}
.nav-item > .dropdown{
  top:100% !important;
  margin-top:0 !important;
  pointer-events:auto !important;
}
.nav-item > a{
  position:relative;
  z-index:241;
}


/* v28 tighten hero image fit */
.hero-main .hero-image-wrap{
  width:100% !important;
  max-height:460px !important;
  overflow:hidden !important;
  border-top-left-radius:inherit;
  border-top-right-radius:inherit;
}
.hero-main .hero-image-wrap img{
  width:100% !important;
  height:460px !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block;
}
.hero-main.story-card{
  overflow:hidden;
}
@media (max-width:1100px){
  .hero-main .hero-image-wrap img{
    height:400px !important;
  }
}
@media (max-width:760px){
  .hero-main .hero-image-wrap{
    max-height:300px !important;
  }
  .hero-main .hero-image-wrap img{
    height:300px !important;
  }
}


/* v29 mobile footer optimization */
@media (max-width: 760px){
  .site-footer{
    margin-top: 42px;
  }

  .footer-top{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .footer-column,
  .footer-column *{
    min-width: 0;
  }

  .footer-mission-logo{
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
  }

  .footer-mission-logo .brand-mark{
    width: 72px !important;
    height: 72px !important;
    flex: 0 0 72px !important;
    font-size: 34px !important;
  }

  .footer-mission-logo h2,
  .footer-column h2{
    font-size: 24px !important;
    line-height: 1.25 !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    margin: 0 !important;
  }

  .footer-column p,
  .footer-column li,
  .footer-column a,
  .footer-column div{
    font-size: 16px !important;
    line-height: 1.8 !important;
    word-break: break-word !important;
  }

  .footer-links-grid{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .footer-links-grid a{
    text-align: center !important;
    padding: 12px 10px !important;
  }

  .footer-socials{
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  .footer-socials a{
    width: 52px !important;
    height: 52px !important;
    font-size: 22px !important;
  }

  .footer-contact{
    display: grid !important;
    gap: 8px !important;
  }

  .footer-bottom{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    text-align: left !important;
  }

  .footer-bottom-links{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px 18px !important;
    justify-content: flex-start !important;
  }

  .footer-bottom-links a{
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
}


/* v31 legal pages */
.legal-hero{margin-bottom:22px;}
.legal-wrap{padding-bottom:24px;}
.standalone-legal-card{margin-bottom:36px;}
.standalone-legal-card h3{margin-top:28px;}

/* v31 mobile horizontal category nav */
@media (max-width:760px){
  .main-nav{overflow:visible !important;}
  .main-nav .nav-inner{display:flex !important;flex-wrap:nowrap !important;align-items:center;gap:0 !important;overflow-x:auto !important;overflow-y:visible !important;white-space:nowrap !important;padding:0 0 8px !important;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
  .main-nav .nav-inner::-webkit-scrollbar{display:none;}
  .main-nav .nav-inner > a,.main-nav .nav-item > a{display:inline-flex !important;align-items:center;justify-content:center;width:auto !important;min-width:max-content;flex:0 0 auto;padding:14px 16px 12px !important;font-size:17px !important;}
  .main-nav .nav-item{display:flex !important;width:auto !important;flex:0 0 auto;}
  .main-nav .nav-item > .dropdown{position:absolute !important;left:0 !important;right:0 !important;top:calc(100% + 1px) !important;display:none !important;min-width:0 !important;margin-top:0 !important;padding:10px 12px !important;border-top:1px solid rgba(15,23,42,.06) !important;border-radius:0 0 16px 16px !important;box-shadow:0 16px 30px rgba(15,23,42,.12) !important;overflow-x:auto !important;overflow-y:hidden !important;white-space:nowrap !important;background:#fff !important;}
  .main-nav .nav-item.open > .dropdown{display:flex !important;gap:10px;align-items:center;}
  .main-nav .nav-item .dropdown .dropdown-title{display:none !important;}
  .main-nav .nav-item .dropdown a{display:inline-flex !important;align-items:center;padding:10px 14px !important;border-radius:999px !important;background:#f4f8fb;font-size:15px !important;font-weight:900;flex:0 0 auto;}
}


/* feedback page */
.feedback-shell{padding:42px 0 72px;}
.feedback-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:28px;align-items:stretch;margin-bottom:28px;}
.feedback-hero h1{font-size:clamp(38px,5vw,64px);line-height:1.05;margin:8px 0 16px;font-weight:900;color:#10233d;}
.feedback-hero p{font-size:18px;line-height:1.9;color:#475569;margin:0 0 18px;}
.feedback-points{display:flex;flex-wrap:wrap;gap:12px;padding:0;margin:0;list-style:none;}
.feedback-points li{padding:10px 14px;border-radius:999px;background:#eef4fb;color:#12304c;font-weight:800;font-size:14px;}
.feedback-sidecard{padding:28px;display:flex;flex-direction:column;justify-content:space-between;}
.feedback-sidecard h2{margin:0 0 12px;font-size:28px;color:#10233d;}
.feedback-sidecard p{margin:0 0 16px;color:#516274;line-height:1.8;}
.feedback-side-meta{display:grid;gap:14px;}
.feedback-side-meta div{padding:14px 16px;border-radius:18px;background:#f8fafc;border:1px solid #e2e8f0;}
.feedback-side-meta strong{display:block;margin-bottom:4px;color:#0f172a;}
.feedback-side-meta span,.feedback-side-meta a{color:#516274;font-weight:700;text-decoration:none;}
.feedback-card{padding:34px;}
.feedback-form .form-grid{gap:18px;}
.feedback-form textarea{min-height:190px;resize:vertical;}
.feedback-check{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.7;color:#475569;}
.feedback-check input{margin-top:4px;}
.feedback-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px;align-items:center;}
.feedback-note{margin:18px 0 0;color:#64748b;font-size:14px;line-height:1.8;}
.feedback-success{margin-top:24px;padding:18px 20px;border-radius:22px;background:#ecfdf5;border:1px solid #bbf7d0;display:flex;gap:14px;align-items:flex-start;}
.feedback-success i{font-size:24px;color:#15803d;padding-top:2px;}
.feedback-success h3{margin:0 0 6px;color:#14532d;}
.feedback-success p{margin:0;color:#166534;line-height:1.8;}
.hp-field{position:absolute;left:-9999px;opacity:0;pointer-events:none;}
@media (max-width:760px){
  .feedback-shell{padding:24px 0 56px;}
  .feedback-hero{grid-template-columns:1fr;gap:18px;}
  .feedback-hero p{font-size:16px;}
  .feedback-card,.feedback-sidecard{padding:22px;}
  .feedback-actions{flex-direction:column;align-items:stretch;}
  .feedback-actions .action-btn{justify-content:center;}
}


@media (max-width: 900px) {
  .brand-logo-image { width: clamp(200px, 48vw, 320px); }
}
@media (max-width: 640px) {
  .brand-logo-image { width: min(72vw, 260px); }
  .footer-logo-image { width: 92px; min-width: 92px; }
}


/* footer logo contrast enhancement */
.footer-logo-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(246,250,255,.88) 100%);
  box-shadow:0 18px 40px rgba(4,12,28,.22), 0 0 0 1px rgba(255,255,255,.18) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.footer-logo-badge::after{
  content:'';
  position:absolute;
}
.footer-logo-image{
  display:block;
  width:128px;
  min-width:128px;
  height:auto;
}
@media (max-width:760px){
  .footer-logo-badge{padding:8px 10px; border-radius:16px;}
  .footer-logo-image{width:110px; min-width:110px;}
}

/* about page logo enhancement */
.about-logo-badge{display:inline-flex;align-items:center;justify-content:center;padding:10px 12px;border-radius:22px;background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.96) 0%,rgba(255,255,255,.9) 58%,rgba(255,255,255,.72) 100%);box-shadow:0 18px 40px rgba(15,23,42,.12),0 2px 10px rgba(255,255,255,.55) inset;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.about-logo-image{display:block;width:112px;height:auto}
@media (max-width: 640px){.about-logo-image{width:92px}.about-logo-badge{padding:8px 10px;border-radius:18px}}


.home-loading-lock body{visibility:hidden;}


/* v68 hero switch refinement */
.hero-main{
  position: relative;
}
.hero-main .hero-switch{
  top: 32%;
  width: 64px;
  height: 64px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
}
.hero-main .hero-switch.prev{
  left: 20px;
}
.hero-main .hero-switch.next{
  right: 20px;
}
.hero-main .hero-image-wrap{
  position: relative;
}
@media (max-width: 760px){
  .hero-main .hero-switch{
    top: 36%;
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
  .hero-main .hero-switch.prev{
    left: 10px;
  }
  .hero-main .hero-switch.next{
    right: 10px;
  }
}



/* v70 article AI badge on article pages only */
.article-hero-wrap{
  position:relative;
}
.article-hero-wrap > img.hero{
  display:block;
}
.article-ai-badge{
  position:absolute;
  right:18px;
  bottom:18px;
  z-index:4;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:88px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(15,23,42,.72);
  color:#fff;
  font-size:13px;
  font-weight:900;
  letter-spacing:.03em;
  box-shadow:0 8px 20px rgba(15,23,42,.18);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}

/* v70 hero switch align to image middle, larger and consistent */
.hero-main{
  position:relative;
}
.hero-main .hero-switch{
  top:clamp(136px, 18vw, 230px) !important;
  transform:translateY(-50%) !important;
  width:68px !important;
  height:68px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:30px !important;
  line-height:1 !important;
  z-index:30 !important;
}
.hero-main .hero-switch.prev{
  left:22px !important;
}
.hero-main .hero-switch.next{
  right:22px !important;
}
@media (max-width: 1100px){
  .hero-main .hero-switch{
    top:clamp(120px, 24vw, 210px) !important;
    width:58px !important;
    height:58px !important;
    font-size:24px !important;
  }
}
@media (max-width: 760px){
  .article-ai-badge{
    right:12px;
    bottom:12px;
    min-width:76px;
    padding:7px 10px;
    font-size:12px;
  }
  .hero-main .hero-switch{
    top:clamp(106px, 30vw, 158px) !important;
    width:48px !important;
    height:48px !important;
    font-size:22px !important;
  }
  .hero-main .hero-switch.prev{
    left:10px !important;
  }
  .hero-main .hero-switch.next{
    right:10px !important;
  }
}
