
:root {
  --green-950: #062e26;
  --green-900: #083b31;
  --green-800: #0d4b3d;
  --green-700: #13614d;
  --gold: #c5a15a;
  --gold-light: #e0c98f;
  --cream: #f6f1e6;
  --paper: #fbfaf6;
  --ink: #16241f;
  --muted: #68756f;
  --line: #dfe3dc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Times New Roman', 'SimSun', serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.site-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.utility-bar { background: var(--green-950); color: #dce9e3; font-size: 12px; letter-spacing: .03em; }
.utility-inner { display: flex; align-items: center; min-height: 32px; gap: 12px; }
.utility-en { color: #9fb4ab; font-size: 10px; letter-spacing: .12em; }
.utility-contact { margin-left: auto; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251,250,246,.96);
  border-bottom: 1px solid rgba(13,75,61,.13);
  backdrop-filter: blur(12px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; min-width: max-content; }
.brand img, .footer-brand img { width: 48px; height: 48px; object-fit: contain; mix-blend-mode: multiply; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { color: var(--green-900); font-size: 18px; letter-spacing: .08em; }
.brand small { margin-top: 6px; color: #687a72; font-size: 8px; letter-spacing: .08em; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px,1.8vw,26px); font-size: 14px; }
.desktop-nav a { position: relative; padding: 29px 0 27px; white-space: nowrap; }
.desktop-nav a::after {
  content: ''; position: absolute; left: 50%; bottom: 19px; width: 0; height: 2px;
  background: var(--gold); transform: translateX(-50%); transition: width 180ms ease;
}
.desktop-nav a:hover::after, .desktop-nav a:first-child::after { width: 18px; }
.nav-actions { display: flex; align-items: center; gap: 13px; min-width: max-content; }
.text-login { color: var(--green-800); font-size: 14px; }
.language-switch {
  min-width: 0; min-height: 40px; margin: 0; display: inline-flex; align-items: center; gap: 3px; padding: 3px;
  border: 1px solid rgba(13,75,61,.24); border-radius: 8px; background: #f1f3ee; color: #68756f;
  font-size: 12px; line-height: 1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}
.language-switch button {
  min-height: 32px; padding: 0 11px; border: 0; border-radius: 5px; background: transparent;
  color: inherit; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}
.language-switch button:hover:not(.active) { color: var(--green-900); background: rgba(255,255,255,.76); }
.language-switch button:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }
.language-switch button.active {
  background: var(--gold); color: var(--green-950); font-weight: 700;
  box-shadow: 0 2px 8px rgba(6,46,38,.14);
}
.language-switch .language-divider { color: #aab3ae; font-size: 11px; user-select: none; }
.access-button { border-radius: 999px; white-space: nowrap; }
.solid-button, .outline-button, .gold-button {
  min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; border: 1px solid transparent; transition: transform 160ms ease, background 160ms ease;
}
.solid-button { background: var(--gold); color: #13241e; font-weight: 700; }
.solid-button:hover, .gold-button:hover { transform: translateY(-2px); background: #d1b16c; }
.small-button { min-height: 40px; padding: 0 16px; font-size: 13px; }
.menu-button { display: none; border: 0; background: transparent; color: var(--green-900); }
.mobile-menu-wrap { position: relative; }
.mobile-nav {
  position: absolute; top: 45px; right: 0; width: 210px; display: grid; padding: 10px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 20px 45px rgba(6,46,38,.16);
}
.mobile-nav a { padding: 11px 13px; color: var(--green-900); font-size: 14px; }
.mobile-nav a:hover { background: var(--cream); }

.hero { position: relative; min-height: 650px; overflow: hidden; background: var(--green-950); color: white; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media { background: url('/association/hero.jpeg') center 46% / cover no-repeat; filter: saturate(.94) contrast(1.03) brightness(1.07); }
.hero-shade {
  background: linear-gradient(90deg,rgba(4,39,31,.84) 0%,rgba(4,39,31,.72) 43%,rgba(4,39,31,.3) 72%,rgba(4,39,31,.08) 100%),
    linear-gradient(0deg,rgba(4,39,31,.18),transparent 42%);
}
.hero-content { position: relative; z-index: 2; padding: 102px 0 84px; }
.eyebrow { margin: 0 0 20px; color: var(--gold-light); font-size: 12px; font-weight: 700; letter-spacing: .19em; }
.eyebrow.dark { color: #9b7a3e; }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(43px,5.2vw,72px); font-weight: 400; line-height: 1.2; letter-spacing: .015em; }
.hero h1.hero-title-en { max-width: 900px; font-size: clamp(40px,4.4vw,64px); line-height: 1.12; }
.hero h1 span { color: var(--gold-light); }
.hero-copy { max-width: 680px; margin: 27px 0 0; color: #d9e4de; font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; gap: 13px; margin-top: 37px; }
.outline-button { border-color: rgba(255,255,255,.46); color: white; }
.outline-button:hover { background: rgba(255,255,255,.1); }
.hero-trust { display: flex; gap: 27px; margin-top: 54px; color: #c7d8d0; font-size: 13px; }
.hero-trust div { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--gold-light); }
.hero-note {
  position: absolute; z-index: 3; right: max(32px,calc((100vw - 1180px)/2)); bottom: 0;
  width: 370px; padding: 26px 31px 29px; background: rgba(6,46,38,.94); border-top: 2px solid var(--gold);
}
.hero-note span { color: var(--gold-light); font-size: 10px; letter-spacing: .18em; }
.hero-note strong { display: block; margin-top: 8px; font-size: 18px; letter-spacing: .02em; }
.hero-note p { margin: 9px 0 0; color: #bfd0c8; font-size: 13px; line-height: 1.65; }

.quick-strip { background: var(--green-900); color: white; }
.quick-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.quick-grid > a {
  min-height: 114px; display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 17px; padding: 24px 29px; border-left: 1px solid rgba(255,255,255,.12);
}
.quick-grid > a:last-child { border-right: 1px solid rgba(255,255,255,.12); }
.quick-grid > a > svg:first-child { color: var(--gold-light); }
.quick-grid > a > svg:last-child { width: 17px; opacity: .55; transition: transform 160ms ease; }
.quick-grid > a:hover > svg:last-child { transform: translateX(4px); }
.quick-grid span { display: grid; }
.quick-grid strong { font-size: 16px; }
.quick-grid small { margin-top: 5px; color: #9db7ac; font-size: 9px; letter-spacing: .13em; }

.section-pad { padding: 108px 0; }
.section-heading h2, .channel-copy h2, .cta-inner h2 {
  margin: 0; color: var(--green-950); font-size: clamp(34px,3.6vw,50px); font-weight: 400; line-height: 1.28;
}
.two-column-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 70px; }
.two-column-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 53px; }
.service-card {
  min-height: 340px; padding: 32px; background: white; border: 1px solid var(--line); border-top: 3px solid transparent;
  transition: transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease;
}
.service-card:hover { transform: translateY(-5px); border-top-color: var(--gold); box-shadow: 0 20px 55px rgba(6,46,38,.08); }
.service-topline { display: flex; align-items: center; justify-content: space-between; color: var(--green-800); }
.service-topline span { color: #aeb8b3; font-size: 12px; }
.service-card h3 { margin: 54px 0 7px; color: var(--green-950); font-size: 24px; font-weight: 400; }
.service-en { color: #a07f40 !important; font-size: 11px !important; letter-spacing: .11em; text-transform: uppercase; }
.service-card > p:last-child { margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.9; }

.mission-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-top: 53px; }
.mission-card {
  min-height: 330px; padding: 29px 27px; background: white; border: 1px solid var(--line); border-top: 3px solid transparent;
  transition: transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease;
}
.mission-card:hover { transform: translateY(-5px); border-top-color: var(--gold); box-shadow: 0 20px 55px rgba(6,46,38,.08); }
.mission-card h3 { margin: 52px 0 18px; color: var(--green-950); font-size: 21px; font-weight: 400; line-height: 1.35; }
.mission-card > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }

.bridge-section { padding: 105px 0 115px; background: var(--green-950); color: white; }
.bridge-heading { max-width: 820px; margin: 0 auto 52px; text-align: center; }
.bridge-heading h2 { margin: 0; color: white; font-size: clamp(34px,3.7vw,52px); font-weight: 400; line-height: 1.25; }
.bridge-heading > p:last-child { max-width: 670px; margin: 20px auto 0; color: #b9cec4; font-size: 16px; line-height: 1.8; }
.bridge-grid { display: grid; grid-template-columns: minmax(0,1fr) 205px minmax(0,1fr); align-items: stretch; }
.bridge-panel { min-height: 405px; padding: 38px; background: #f7f2e8; color: var(--ink); border-top: 3px solid var(--gold); }
.bridge-direction { color: #927039; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.bridge-panel h3 { margin: 22px 0 15px; color: var(--green-950); font-size: 27px; font-weight: 400; line-height: 1.35; }
.bridge-panel > p { min-height: 78px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.resource-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 27px; }
.resource-chips span { padding: 8px 11px; background: white; border: 1px solid #d9ddd5; color: var(--green-800); font-size: 12px; }
.bridge-core {
  position: relative; z-index: 2; align-self: center; min-height: 255px; margin: 0 -1px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 25px 18px; background: var(--green-800); border: 1px solid rgba(224,201,143,.4);
  box-shadow: 0 18px 48px rgba(0,0,0,.25); text-align: center;
}
.bridge-core svg { color: var(--gold-light); }
.bridge-core span { margin-top: 18px; color: #c5d8cf; font-size: 10px; letter-spacing: .1em; }
.bridge-core strong { margin-top: 8px; color: white; font-size: 19px; font-weight: 400; }
.bridge-core small { margin-top: 17px; color: var(--gold-light); font-size: 8px; line-height: 1.6; letter-spacing: .08em; }

.channel-section { padding: 110px 0; background: var(--cream); }
.channel-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 85px; }
.channel-image { position: relative; min-height: 570px; }
.channel-image > img { width: calc(100% - 45px); height: 570px; object-fit: cover; }
.image-badge {
  position: absolute; right: 0; bottom: 37px; width: 260px; display: flex; align-items: center; gap: 16px;
  padding: 24px; background: var(--green-900); color: white; box-shadow: 0 18px 45px rgba(6,46,38,.22);
}
.image-badge svg { color: var(--gold-light); }
.image-badge span { display: grid; }
.image-badge small { margin-top: 5px; color: #b7cac1; font-size: 11px; }
.channel-copy > p:not(.eyebrow) { margin: 23px 0 30px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.channel-copy ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid #d4d8ce; }
.channel-copy li { display: grid; grid-template-columns: 47px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid #d4d8ce; }
.channel-copy li > span { color: #a07f40; font-size: 12px; }
.channel-copy li strong { color: var(--green-950); font-size: 16px; }
.channel-copy li p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 27px; color: var(--green-800); font-weight: 700; font-size: 14px; }

.news-section { background: white; }
.inline-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.inline-heading .text-link { margin-bottom: 7px; }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 54px; }
.news-card { min-height: 315px; padding: 30px; border: 1px solid var(--line); }
.news-icon { width: 45px; height: 45px; display: grid; place-items: center; background: var(--cream); color: var(--green-800); }
.news-meta { display: flex; justify-content: space-between; margin-top: 31px; color: #96763b; font-size: 11px; }
.news-meta time { color: #89948f; }
.news-card h3 { margin: 18px 0 12px; color: var(--green-950); font-size: 21px; font-weight: 400; }
.news-card p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.news-card > a { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; color: var(--green-800); font-size: 13px; font-weight: 700; }

.cta-section { padding: 74px 0; background: var(--green-900); color: white; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-inner h2 { color: white; }
.cta-inner > div > p:last-child { margin: 14px 0 0; color: #bcd0c6; }
.gold-button { min-width: 160px; background: var(--gold); color: var(--green-950); font-weight: 700; }

footer { padding: 65px 0 28px; background: #05271f; color: #a9beb5; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr .8fr; gap: 75px; }
.footer-grid > div:not(.footer-brand) strong { color: white; font-size: 13px; }
.footer-grid p { margin: 11px 0 0; font-size: 12px; line-height: 1.75; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { mix-blend-mode: screen; }
.footer-brand strong { color: white; font-size: 19px; }
.footer-brand p { margin-top: 5px; font-size: 10px; letter-spacing: .08em; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #758f84; font-size: 10px; }

.page-hero { padding: 84px 0 79px; background: var(--green-900); color: white; border-bottom: 3px solid var(--gold); }
.page-hero h1 { margin: 0; font-size: clamp(38px,4.6vw,62px); font-weight: 400; }
.page-hero > div > p:last-child { max-width: 720px; margin: 22px 0 0; color: #c3d4cc; font-size: 16px; line-height: 1.85; }

.portal-section { padding: 86px 0 110px; }
.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.portal-card { min-height: 390px; padding: 40px; background: white; border: 1px solid var(--line); }
.portal-card.featured { border-top: 4px solid var(--gold); }
.portal-card > svg { color: var(--green-700); }
.portal-card .eyebrow { margin-top: 45px; margin-bottom: 10px; }
.portal-card h2 { margin: 0; color: var(--green-950); font-size: 31px; font-weight: 400; }
.portal-card > p:not(.eyebrow) { min-height: 74px; margin: 17px 0 27px; color: var(--muted); line-height: 1.8; }
.stacked-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-login-form { display: grid; gap: 15px; margin-top: 4px; }
.admin-login-form .form-field { gap: 7px; }
.admin-login-form .form-field input { min-height: 43px; }
.admin-login-button { width: max-content; min-height: 44px; margin-top: 3px; border-radius: 999px; cursor: pointer; }
.admin-login-button:disabled { opacity: .55; cursor: wait; }
.secondary-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid var(--green-800); background: transparent; color: var(--green-800); font-weight: 700; cursor: pointer; }
.secondary-button:hover { background: #edf3f0; }
.login-note { grid-column: 1 / -1; display: flex; gap: 17px; padding: 24px 28px; background: var(--cream); border-left: 3px solid var(--gold); }
.login-note svg { flex: 0 0 auto; color: var(--green-700); }
.login-note strong { color: var(--green-950); }
.login-note p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.form-section { padding: 90px 0 110px; background: var(--paper); }
.form-layout { display: grid; grid-template-columns: 280px 1fr; align-items: start; gap: 75px; }
.form-intro { position: sticky; top: 130px; }
.form-intro > span { color: var(--gold); font-size: 13px; }
.form-intro h2 { margin: 18px 0 14px; color: var(--green-950); font-size: 31px; font-weight: 400; }
.form-intro p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.editor-form { padding: 34px; background: white; border: 1px solid var(--line); }
.form-grid { display: grid; gap: 22px; }
.form-grid.two-col { grid-template-columns: repeat(2,minmax(0,1fr)); }
.form-field { display: grid; gap: 9px; }
.form-field > span { color: var(--green-950); font-size: 13px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 46px; border: 1px solid #cfd8d3; border-radius: 0; background: #fff; color: var(--ink); padding: 11px 13px; outline: none;
}
.form-field textarea { resize: vertical; line-height: 1.7; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(19,97,77,.08); }
.form-field small { color: #849089; font-size: 11px; }
.span-two { grid-column: 1 / -1; }
.publication-kind-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.publication-kind-picker legend { margin-bottom: 11px; color: var(--green-950); font-size: 13px; font-weight: 700; }
.publication-kind-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.publication-kind-option { position: relative; min-width: 0; cursor: pointer; }
.publication-kind-option input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.publication-kind-card { min-height: 112px; display: grid; grid-template-columns: auto auto 1fr; grid-template-rows: auto 1fr; align-items: center; gap: 8px 10px; padding: 16px; border: 1px solid #cfd8d3; border-radius: 14px; background: #fbfcfa; color: var(--green-800); transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.publication-kind-number { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.publication-kind-card strong { color: var(--green-950); font-size: 15px; }
.publication-kind-card small { grid-column: 1 / -1; color: var(--muted); font-size: 11px; line-height: 1.55; }
.publication-kind-option:hover .publication-kind-card { border-color: var(--gold); }
.publication-kind-option input:checked + .publication-kind-card { border-color: var(--gold); background: #fbf5e7; box-shadow: 0 0 0 2px rgba(201,158,76,.18); }
.publication-kind-option input:focus-visible + .publication-kind-card { outline: 3px solid rgba(19,97,77,.2); outline-offset: 2px; }
.media-control { display: grid; grid-template-columns: 1fr auto; }
.media-control button { display: inline-flex; align-items: center; gap: 7px; padding: 0 15px; border: 1px solid var(--green-800); border-left: 0; background: var(--green-800); color: white; cursor: pointer; }
.media-field .upload-success { color: #1f6a3e; font-weight: 700; }
.form-submit-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; padding-top: 25px; border-top: 1px solid var(--line); }
.form-submit-row button { cursor: pointer; }
.form-submit-row button:disabled { opacity: .55; cursor: wait; }
.form-message { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: var(--green-700); font-size: 13px; }
.form-message.error { color: #98473e; }
.membership-submit { border-radius: 999px; }
.membership-note { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--gold); background: var(--cream); color: var(--muted); font-size: 12px; line-height: 1.75; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.dashboard-hero { padding: 61px 0; background: var(--green-900); color: white; border-bottom: 3px solid var(--gold); }
.dashboard-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; }
.dashboard-hero h1 { margin: 0; font-size: 48px; font-weight: 400; }
.dashboard-hero-inner > div > p:last-child { margin: 9px 0 0; color: #bbcec5; }
.dashboard-links { display: flex; gap: 10px; }
.dashboard-links a, .dashboard-links button { min-height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 15px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: inherit; font-size: 13px; cursor: pointer; }
.dashboard-links a:hover, .dashboard-links button:hover { background: rgba(255,255,255,.08); }
.dashboard-section { padding: 58px 0 100px; }
.status-panel { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); background: white; border: 1px solid var(--line); }
.status-panel > div { min-height: 98px; display: grid; align-content: center; gap: 8px; padding: 21px 25px; border-right: 1px solid var(--line); }
.status-panel > div:last-child { border-right: 0; }
.status-panel span { color: var(--muted); font-size: 11px; }
.status-panel strong { color: var(--green-950); font-size: 20px; font-weight: 400; }
.status { display: inline-flex; width: max-content; padding: 4px 8px; font-size: 11px !important; }
.status-published, .status-approved { background: #e5f3ea; color: #1f6a3e !important; }
.status-pending, .status-draft { background: #f7ecd5; color: #8a6523 !important; }
.status-rejected { background: #f7e2df; color: #98382d !important; }
.dashboard-columns { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 24px; margin-top: 28px; }
.dashboard-columns > section, .admin-columns > section, .admin-side-panel { padding: 29px; background: white; border: 1px solid var(--line); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 28px; }
.panel-heading .eyebrow { margin-bottom: 8px; }
.panel-heading h2 { margin: 0; color: var(--green-950); font-size: 27px; font-weight: 400; }
.panel-heading > svg { color: var(--green-700); }
.panel-heading.compact { margin-bottom: 19px; }
.panel-heading.compact h2 { font-size: 22px; }
.data-list { display: grid; gap: 13px; }
.data-list article { display: grid; grid-template-columns: 82px 1fr auto; align-items: center; gap: 16px; padding: 13px; border: 1px solid var(--line); }
.data-list img, .image-placeholder { width: 82px; height: 72px; object-fit: cover; background: var(--cream); }
.data-list article span { color: #98763a; font-size: 10px; }
.data-list article h3 { margin: 5px 0; color: var(--green-950); font-size: 17px; font-weight: 400; }
.data-list article p { margin: 0; max-width: 370px; color: var(--muted); font-size: 11px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.muted-copy { color: var(--muted); }
.empty-panel { padding: 75px 35px; text-align: center; background: white; border: 1px solid var(--line); }
.empty-panel > svg { color: var(--gold); }
.empty-panel h2 { margin: 18px 0 10px; color: var(--green-950); font-size: 28px; font-weight: 400; }
.empty-panel p { margin: 0 0 24px; color: var(--muted); }

.catalog-section { padding: 58px 0 105px; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 38px; }
.filter-tabs a { padding: 10px 17px; border: 1px solid #cfd8d3; color: #5e6d66; font-size: 13px; }
.filter-tabs a.active, .filter-tabs a:hover { background: var(--green-900); border-color: var(--green-900); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; }
.product-card { overflow: hidden; background: white; border: 1px solid var(--line); }
.product-image { position: relative; height: 250px; overflow: hidden; background: var(--cream); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-image > span { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; padding: 7px 9px; background: rgba(6,46,38,.88); color: white; font-size: 10px; }
.product-copy { padding: 25px; }
.card-kicker { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #98763a; font-size: 10px; }
.card-kicker > span { display: inline-flex; align-items: center; gap: 6px; }
.card-kicker > span:last-child, .card-kicker time { color: #849089; text-align: right; }
.product-copy h2 { margin: 16px 0 6px; color: var(--green-950); font-size: 22px; font-weight: 400; }
.product-en { margin: 0 !important; color: #9b7a3e !important; font-size: 11px !important; letter-spacing: .04em; }
.product-copy > p:not(.product-en) { min-height: 68px; margin: 17px 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.product-copy details { padding-top: 15px; border-top: 1px solid var(--line); }
.product-copy summary { display: flex; align-items: center; justify-content: space-between; color: var(--green-800); font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
.product-copy pre { margin: 15px 0 0; white-space: pre-wrap; color: var(--muted); font: 12px/1.8 'Times New Roman','SimSun',serif; }

.publication-list { display: grid; gap: 24px; }
.publication-list article { min-height: 255px; display: grid; grid-template-columns: 360px 1fr; background: white; border: 1px solid var(--line); }
.publication-image { display: block; min-height: 255px; overflow: hidden; }
.publication-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.publication-list article:hover img { transform: scale(1.03); }
.publication-copy { padding: 30px 34px; }
.publication-copy h2 { margin: 19px 0 7px; color: var(--green-950); font-size: 25px; font-weight: 400; }
.publication-copy > p:not(.product-en) { margin: 18px 0 0; color: var(--muted); line-height: 1.75; }

.article-header { padding: 75px 0 52px; background: var(--cream); border-bottom: 1px solid var(--line); }
.narrow { max-width: 850px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 42px; color: var(--green-700); font-size: 13px; }
.article-header h1 { margin: 0; color: var(--green-950); font-size: clamp(35px,4.7vw,58px); font-weight: 400; line-height: 1.28; }
.article-en { color: #8d7444; font-size: 16px; }
.article-meta { display: flex; gap: 22px; margin-top: 27px; color: var(--muted); font-size: 12px; }
.article-cover { margin-top: 48px; max-width: 1020px; height: 520px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding-top: 51px; padding-bottom: 100px; }
.article-body > p { color: #3b4a44; font-size: 16px; line-height: 2; }
.article-summary { margin-bottom: 32px !important; padding: 22px 25px; background: var(--cream); border-left: 3px solid var(--gold); color: var(--green-950) !important; font-size: 18px !important; }
.article-body video { width: 100%; margin: 30px 0; background: #000; }
.source-link { display: inline-flex; align-items: center; gap: 8px; margin: 25px 20px 0 0; color: var(--green-700); font-weight: 700; }
.legal-note { margin-top: 48px; padding: 20px; background: #f4f4ef; color: var(--muted); font-size: 12px; line-height: 1.7; }

.admin-columns { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(330px,.65fr); align-items: start; gap: 24px; margin-top: 28px; }
.admin-columns > aside { display: grid; gap: 24px; }
.review-list, .compact-list { display: grid; gap: 10px; }
.review-list article, .compact-list article { padding: 15px; border: 1px solid var(--line); }
.review-list article > span, .compact-list article > span { color: #98763a; font-size: 10px; }
.review-list h3 { margin: 7px 0; color: var(--green-950); font-size: 16px; font-weight: 400; }
.review-list p { margin: 0 0 12px; color: var(--muted); font-size: 11px; }
.review-actions { display: flex; gap: 7px; }
.review-actions button { padding: 7px 10px; border: 1px solid var(--green-700); background: transparent; color: var(--green-700); font-size: 11px; cursor: pointer; }
.review-actions button:last-child { border-color: #a8655e; color: #98473e; }
.review-result { color: var(--green-700); font-size: 12px; }
.compact-list article { display: grid; grid-template-columns: 1fr auto; gap: 7px; }
.compact-list article > span { grid-column: 1 / -1; }
.compact-list strong { color: var(--green-950); font-size: 13px; font-weight: 400; }
.access-denied { min-height: 540px; display: grid; place-content: center; justify-items: center; padding: 50px; text-align: center; }
.access-denied svg { color: var(--gold); }
.access-denied h1 { margin: 20px 0 8px; color: var(--green-950); font-size: 38px; font-weight: 400; }
.access-denied p { margin: 0 0 23px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .menu-button { display: grid; place-items: center; }
  .mission-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 800px) {
  .site-shell { width: min(100% - 30px,1180px); }
  .utility-contact, .utility-en, .text-login { display: none; }
  .nav-wrap { min-height: 68px; }
  .brand img { width: 41px; height: 41px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 7px; }
  .small-button { display: none; }
  .hero { min-height: 700px; }
  .hero-content { padding: 76px 0 190px; }
  .hero h1 { font-size: 41px; }
  .hero-copy { font-size: 16px; }
  .hero-actions, .hero-trust { flex-wrap: wrap; }
  .hero-note { left: 15px; right: 15px; width: auto; }
  .quick-grid, .service-grid, .news-grid, .channel-grid, .two-column-heading, .footer-grid, .mission-grid, .bridge-grid { grid-template-columns: 1fr; }
  .quick-grid > a { min-height: 92px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
  .section-pad, .channel-section { padding: 78px 0; }
  .two-column-heading, .channel-grid { gap: 35px; }
  .service-grid, .news-grid { margin-top: 36px; }
  .service-card { min-height: 285px; }
  .mission-card { min-height: 270px; }
  .bridge-section { padding: 78px 0; }
  .bridge-heading { margin-bottom: 36px; }
  .bridge-panel { min-height: 0; }
  .bridge-panel > p { min-height: 0; }
  .bridge-core { min-height: 220px; margin: 0; }
  .channel-image, .channel-image > img { min-height: 410px; height: 410px; }
  .channel-image > img { width: calc(100% - 18px); }
  .image-badge { bottom: 22px; width: 235px; }
  .inline-heading, .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .inline-heading, .cta-inner { display: flex; }
  .footer-grid { gap: 34px; }
  .footer-bottom { display: flex; gap: 9px; }
  .portal-grid, .form-layout, .dashboard-columns, .admin-columns, .product-grid { grid-template-columns: 1fr; }
  .publication-kind-options { grid-template-columns: 1fr; }
  .portal-card { min-height: 0; }
  .form-layout { gap: 28px; }
  .form-intro { position: static; }
  .dashboard-hero-inner { align-items: flex-start; flex-direction: column; }
  .status-panel { grid-template-columns: repeat(2,1fr); }
  .status-panel > div:nth-child(2) { border-right: 0; }
  .status-panel > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .publication-list article { grid-template-columns: 1fr; }
  .publication-image { min-height: 260px; }
  .article-cover { height: 330px; }
}

@media (max-width: 480px) {
  .language-switch { min-height: 36px; gap: 2px; padding: 2px; font-size: 11px; }
  .language-switch button { min-height: 30px; padding: 0 8px; }
  .brand { min-width: 0; }
  .brand span { min-width: 0; }
  .brand strong { max-width: 125px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .brand small { display: none; }
  .hero h1 { font-size: 35px; }
  .hero h1.hero-title-en { font-size: 34px; }
  .hero-actions > a { width: 100%; }
  .hero-note { padding: 22px; }
  .section-heading h2, .channel-copy h2, .cta-inner h2 { font-size: 31px; }
  .form-grid.two-col { grid-template-columns: 1fr; }
  .span-two { grid-column: auto; }
  .editor-form { padding: 22px; }
  .status-panel { grid-template-columns: 1fr; }
  .status-panel > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .data-list article { grid-template-columns: 68px 1fr; }
  .data-list img, .image-placeholder { width: 68px; height: 66px; }
  .data-list article > strong { grid-column: 2; }
  .dashboard-links { flex-wrap: wrap; }
}


/* Hostinger PHP edition adjustments */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.mobile-nav[hidden] { display: none !important; }
.flash { margin-top: 22px; padding: 14px 18px; border-left: 4px solid var(--green-700); background: #edf6f1; color: var(--green-900); }
.flash-error { border-color: #a54438; background: #fff0ed; color: #7b3028; }
.hero-shade { background: linear-gradient(90deg,rgba(4,39,31,.66) 0%,rgba(4,39,31,.50) 43%,rgba(4,39,31,.18) 72%,rgba(4,39,31,.02) 100%),linear-gradient(0deg,rgba(4,39,31,.10),transparent 42%); }
.hero-note { background: rgba(6,46,38,.78); backdrop-filter: blur(3px); }
.gold-button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.empty-state { padding: 55px; background: white; border: 1px solid var(--line); color: var(--muted); text-align: center; }
.article-rich p { white-space: pre-wrap; }
.article-video { width: 100%; max-height: 620px; margin-top: 30px; background: #000; }
.admin-login-form input { width: 100%; }
.dashboard-links form { display: inline; }
.dashboard-links button { border: 0; background: transparent; color: inherit; cursor: pointer; }
.compact-list article { display: grid; gap: 5px; }
.compact-list article small { color: var(--muted); }
.publication-kind-card b { color: var(--gold); font-size: 12px; }
.form-field input[type="file"] { min-height: 50px; padding: 10px; background: #f7f8f5; }
.membership-note { margin: 24px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
html[data-language="en"] .hero h1 { max-width: 900px; font-size: clamp(38px,4.2vw,60px); line-height: 1.15; }
.utility-contact { display: flex; align-items: center; gap: 18px; }
.whatsapp-link, .footer-whatsapp { display: inline-flex; align-items: center; gap: 7px; transition: color 180ms ease, opacity 180ms ease; }
.whatsapp-link { color: #dffbea; font-weight: 700; }
.whatsapp-link:hover, .footer-whatsapp:hover { color: #25d366; }
.utility-email { color: #c1d2ca; }
.utility-email:hover { color: #fff; }
.whatsapp-float {
  position: fixed; z-index: 70; right: 24px; bottom: 24px; min-height: 52px;
  display: inline-flex; align-items: center; gap: 10px; padding: 0 18px;
  border-radius: 999px; background: #1fae55; color: #fff; font-weight: 700;
  box-shadow: 0 14px 34px rgba(5,39,31,.25); transition: transform 180ms ease, background 180ms ease;
}
.whatsapp-float:hover { transform: translateY(-2px); background: #168a43; }
.footer-whatsapp { color: #dffbea; }
.account-menu { position: relative; }
.account-button {
  min-height: 48px; display: inline-flex; align-items: center; gap: 8px; padding: 0 17px;
  border: 1px solid rgba(8,62,50,.2); border-radius: 999px; background: #eef5f1;
  color: var(--green-900); font-weight: 700; cursor: pointer;
}
.account-button:hover { border-color: var(--gold); background: #f8f4e9; }
.account-chevron { margin-left: 2px; color: #90733f; }
.account-dropdown {
  position: absolute; z-index: 90; top: calc(100% + 12px); right: 0; width: 235px;
  padding: 18px; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 18px 45px rgba(5,39,31,.18);
}
.account-dropdown[hidden] { display: none; }
.account-dropdown strong, .account-dropdown small { display: block; overflow-wrap: anywhere; }
.account-dropdown strong { color: var(--green-950); font-size: 15px; }
.account-dropdown small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.account-dropdown form { margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.account-dropdown button { width: 100%; min-height: 42px; border: 0; border-radius: 999px; background: var(--gold); color: var(--green-950); font-weight: 700; cursor: pointer; }
.compact-dashboard { padding-top: 34px; }
.compact-dashboard .status-panel { grid-template-columns: repeat(3,1fr); }

@media (max-width: 1400px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-grid; place-items: center; font-size: 25px; cursor: pointer; }
  .site-header { position: relative; }
  .mobile-nav { position: absolute; z-index: 60; top: 100%; right: 24px; width: min(310px,calc(100vw - 48px)); display: grid; padding: 12px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 20px 45px rgba(6,46,38,.16); }
  .mobile-nav a { padding: 12px 14px; color: var(--green-900); }
}

@media (max-width: 660px) {
  .utility-en, .utility-contact { display: none; }
  .nav-wrap { min-height: 70px; gap: 9px; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: 15px; }
  .access-button { display: none; }
  .account-button { width: 46px; min-height: 46px; padding: 0; justify-content: center; }
  .account-button > span:not(.account-chevron) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .account-chevron { display: none; }
  .hero { min-height: 720px; }
  .hero-content { padding-top: 75px; }
  .hero-note { width: calc(100% - 48px); right: 24px; }
  .hero-trust { display: grid; grid-template-columns: 1fr 1fr; }
  .whatsapp-float { right: 15px; bottom: 15px; width: 52px; padding: 0; justify-content: center; }
  .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
}

