/* =========================================================================
   Component & page styles
   ========================================================================= */

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,249,244,.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13,51,64,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 13px; cursor: pointer; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--sea-900); letter-spacing: .01em; }
.brand-sub { font-size: 11px; color: var(--ink-faint); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 9px 16px; font-size: 15px; font-weight: 600; color: var(--ink-soft);
  border-radius: var(--r-pill); cursor: pointer; transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--sea-900); background: var(--sand-100); }
.nav-link.active { color: var(--sea-900); }
.nav-link.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: flex; background: var(--sand-150); border-radius: var(--r-pill); padding: 3px; }
.lang-btn { border: none; background: transparent; font-weight: 700; font-size: 12.5px; color: var(--ink-faint); padding: 6px 12px; border-radius: var(--r-pill); transition: all .2s; letter-spacing: .03em; }
.lang-btn.on { background: #fff; color: var(--sea-800); box-shadow: var(--shadow-xs); }
.login-btn { }
.menu-btn { display: none; background: none; border: none; font-size: 26px; color: var(--sea-900); padding: 4px; }
.mobile-nav { display: none; flex-direction: column; padding: 10px 28px 22px; gap: 2px; background: var(--sand-50); border-bottom: 1px solid var(--line); }
.m-link { padding: 13px 8px; font-weight: 600; color: var(--ink-soft); border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.m-link.active { color: var(--sea-800); }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 96px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 85% -10%, var(--sea-100) 0%, transparent 55%),
    radial-gradient(90% 70% at -5% 110%, var(--gold-100) 0%, transparent 50%),
    var(--sand-50);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sea-700); margin-bottom: 22px; }
.kick-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px var(--gold-100); }
.hero-title { font-size: clamp(2.7rem, 5.2vw, 4.3rem); font-weight: 500; max-width: 14ch; }
.hero-lede { margin: 26px 0 34px; max-width: 46ch; }
.hero-cta { margin-bottom: 38px; }
.hero-trust { display: flex; align-items: center; gap: 12px; color: var(--ink-faint); font-size: 14px; font-weight: 600; letter-spacing: .02em; }

.hero-visual { position: relative; }
.hero-arch {
  position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 440px; margin-left: auto;
  border-radius: 220px 220px 26px 26px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.6);
}
.hero-arch image-slot { border-radius: inherit; }
.hero-arch .hero-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-sun { position: absolute; top: -26px; right: 38px; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--gold-300), var(--gold-500)); opacity: .55; filter: blur(2px); z-index: -1; }
.hero-float {
  position: absolute; bottom: 26px; left: -34px; display: flex; align-items: center; gap: 14px;
  padding: 14px 18px 14px 14px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-md);
  max-width: 290px;
}
.float-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--sea-800); color: #fff; border-radius: var(--r-sm); flex-shrink: 0; }
.fd-day { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1; }
.fd-mon { font-size: 10px; font-weight: 700; letter-spacing: .1em; opacity: .85; }
.float-label { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }
.float-title { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--sea-900); line-height: 1.2; margin: 2px 0; }
.float-where { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-faint); }
.float-where svg { font-size: 14px; }

/* ---------------- Quick nav ---------------- */
.quick-section { margin-top: -38px; position: relative; z-index: 5; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quick-card { display: flex; align-items: flex-start; gap: 16px; padding: 24px; cursor: pointer; position: relative; }
.quick-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--sea-100); color: var(--sea-700); font-size: 24px; flex-shrink: 0; transition: background .3s, color .3s; }
.quick-card:hover .quick-icon { background: var(--sea-800); color: #fff; }
.quick-body { display: flex; flex-direction: column; gap: 4px; }
.quick-title { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--sea-900); }
.quick-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
.quick-arrow { position: absolute; top: 22px; right: 22px; color: var(--sand-400); font-size: 18px; transition: color .3s, transform .3s; }
.quick-card:hover .quick-arrow { color: var(--gold-600); transform: translate(2px, -2px); }

/* ---------------- Stats band ---------------- */
.stats-band { background: linear-gradient(160deg, var(--sea-900), var(--sea-950)); color: #fff; padding: 72px 0; margin-top: 30px; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 50% -20%, rgba(46,139,161,.3), transparent 60%); }
.stats-band .eyebrow { margin-bottom: 38px; position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.stat { text-align: center; }
.stat-n { display: block; font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 600; color: #fff; line-height: 1; }
.stat-l { display: block; margin-top: 12px; font-size: 14px; color: var(--sea-300); letter-spacing: .03em; font-weight: 600; }
.stat:nth-child(2) .stat-n, .stat:nth-child(4) .stat-n { color: var(--gold-300); }

/* ---------------- Section heads ---------------- */
.section-head { margin-bottom: 38px; align-items: flex-end; }
.section-title { font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 600; margin-top: 6px; }
.sub-h2 { font-size: 1.7rem; font-weight: 600; margin-bottom: 22px; }

/* ---------------- News cards ---------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { padding: 26px; display: flex; flex-direction: column; cursor: pointer; }
.news-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.news-date { font-size: 13px; color: var(--ink-faint); font-weight: 600; }
.news-title { font-size: 22px; font-weight: 600; line-height: 1.18; margin-bottom: 12px; }
.news-excerpt { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; flex: 1; margin-bottom: 20px; }
.news-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.read-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--sea-700); }
.read-link svg { transition: transform .25s var(--ease); }
.news-card:hover .read-link svg, .nl-feature:hover .read-link svg { transform: translateX(4px); }
.min-read { font-size: 13px; }

/* ---------------- Events preview ---------------- */
.events-preview { background: linear-gradient(180deg, var(--sand-100), var(--sand-50)); }
.ev-list { display: flex; flex-direction: column; gap: 14px; }
.ev-row { display: flex; align-items: center; gap: 24px; padding: 20px 26px; cursor: pointer; }
.ev-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; flex-shrink: 0; }
.ev-day { font-size: 32px; font-weight: 600; color: var(--sea-800); line-height: 1; }
.ev-mon { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--gold-600); margin-top: 3px; }
.ev-main { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.ev-title { font-size: 21px; font-weight: 600; }
.ev-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.ev-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ev-meta svg { font-size: 15px; color: var(--sea-500); }
.ev-go { color: var(--sand-400); font-size: 20px; transition: transform .25s, color .25s; }
.ev-row:hover .ev-go { color: var(--gold-600); transform: translateX(4px); }

/* ---------------- Notice band ---------------- */
.notice-section { padding-bottom: 96px; }
.notice-card {
  display: flex; align-items: center; gap: 26px; padding: 34px 40px;
  background: linear-gradient(120deg, var(--gold-100), var(--sand-100));
  border: 1px solid var(--gold-300); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.notice-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--gold-500); color: #fff; font-size: 28px; flex-shrink: 0; }
.notice-text { flex: 1; }
.notice-title { font-size: 22px; font-weight: 600; margin-bottom: 5px; }
.notice-body { font-size: 15px; color: var(--ink-soft); max-width: 60ch; }

/* ---------------- Footer ---------------- */
.site-footer { margin-top: auto; }
.site-footer .wave { margin-bottom: -1px; }
.footer-body { background: var(--sea-950); color: #fff; padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-tag { color: var(--sea-300); font-size: 14.5px; line-height: 1.6; max-width: 38ch; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); font-weight: 700; margin-bottom: 5px; }
.footer-col a { color: rgba(255,255,255,.82); font-size: 14.5px; cursor: pointer; transition: color .2s; width: fit-content; }
.footer-col a:hover { color: #fff; }
.footer-muted { color: var(--sea-300); font-size: 13.5px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; gap: 16px; flex-wrap: wrap; }
.footer-bottom span { color: var(--sea-300); font-size: 13px; }
.footer-note-sm { font-style: italic; }

/* ---------------- Page head ---------------- */
.page-head { position: relative; padding: 64px 0 40px; overflow: hidden; }
.page-head-bg { position: absolute; inset: 0; background: radial-gradient(90% 130% at 90% -30%, var(--sea-100), transparent 55%), var(--sand-50); }
.page-head .wrap { position: relative; }
.page-title { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 500; margin: 12px 0 18px; }
.page-lede { max-width: 56ch; }

/* ---------------- Toolbar / search / chips ---------------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.search-box { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--sand-300); border-radius: var(--r-pill); padding: 11px 20px; min-width: 280px; flex: 1; max-width: 380px; color: var(--ink-faint); transition: border-color .2s, box-shadow .2s; }
.search-box:focus-within { border-color: var(--sea-500); box-shadow: 0 0 0 4px var(--sea-100); }
.search-box svg { font-size: 18px; }
.search-input { border: none; outline: none; background: none; font-family: var(--sans); font-size: 15px; color: var(--ink); width: 100%; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--sand-300); background: #fff; color: var(--ink-soft); font-weight: 600; font-size: 13.5px; padding: 9px 16px; border-radius: var(--r-pill); transition: all .2s; }
.chip:hover { border-color: var(--sea-400); color: var(--sea-800); }
.chip.on { background: var(--sea-800); color: #fff; border-color: var(--sea-800); }

/* ---------------- Newsletter feature ---------------- */
.nl-feature { display: grid; grid-template-columns: 200px 1fr; gap: 30px; padding: 36px 40px; cursor: pointer; align-items: center; }
.nl-feat-side { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.nl-feat-side .faint { font-size: 14px; font-weight: 600; }
.nl-feat-title { font-size: 30px; font-weight: 600; line-height: 1.12; margin-bottom: 14px; }
.nl-feat-excerpt { font-size: 16px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 18px; max-width: 60ch; }

/* ---------------- Reader modal ---------------- */
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(10,39,49,.5); backdrop-filter: blur(6px); display: flex; align-items: flex-start; justify-content: center; padding: 5vh 20px; overflow-y: auto; animation: fade .25s ease; }
.reader { position: relative; background: #fff; border-radius: var(--r-lg); max-width: 660px; width: 100%; padding: 48px 52px; box-shadow: var(--shadow-lg); animation: rise .4s var(--ease); }
.reader-close { position: absolute; top: 20px; right: 22px; background: var(--sand-100); border: none; width: 38px; height: 38px; border-radius: 50%; font-size: 16px; color: var(--ink-soft); transition: background .2s; }
.reader-close:hover { background: var(--sand-200); }
.reader-title { font-size: 34px; font-weight: 600; line-height: 1.1; margin: 16px 0 8px; }
.reader-meta { color: var(--ink-faint); font-size: 14px; font-weight: 600; margin-bottom: 24px; }
.reader-body { border-top: 1px solid var(--line); padding-top: 24px; }
.reader-lede { font-size: 18px; color: var(--sea-900); font-weight: 500; line-height: 1.55; margin-bottom: 18px; font-family: var(--serif); }
.reader-body p { font-size: 16px; color: var(--ink-soft); line-height: 1.7; margin: 0 0 16px; }
.reader-foot { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 13px; font-weight: 600; }

/* ---------------- Events page ---------------- */
.tabs { display: inline-flex; background: var(--sand-150); padding: 4px; border-radius: var(--r-pill); margin-bottom: 32px; }
.tab { border: none; background: transparent; font-weight: 700; font-size: 14.5px; color: var(--ink-soft); padding: 10px 26px; border-radius: var(--r-pill); transition: all .2s; }
.tab.on { background: #fff; color: var(--sea-800); box-shadow: var(--shadow-xs); }
.ev-timeline { display: flex; flex-direction: column; gap: 18px; }
.ev-card { display: flex; gap: 28px; padding: 26px 30px; align-items: center; }
.ev-card.past { opacity: .82; }
.ev-card-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 76px; flex-shrink: 0; padding-right: 24px; border-right: 1px solid var(--line); }
.ev-card-date .ev-day { font-size: 38px; }
.ev-year { font-size: 12px; font-weight: 600; margin-top: 2px; }
.ev-card-main { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.ev-card-title { font-size: 24px; font-weight: 600; }
.ev-card-desc { font-size: 15px; color: var(--ink-soft); line-height: 1.55; max-width: 62ch; }
.ev-card-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.ev-card-actions .btn { justify-content: center; }

/* ---------------- Documents ---------------- */
.doc-list { display: flex; flex-direction: column; gap: 12px; }
.doc-row { display: flex; align-items: center; gap: 22px; padding: 18px 24px; }
.doc-type { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 58px; height: 58px; border-radius: 14px; flex-shrink: 0; font-size: 22px; }
.doc-type span { font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.doc-type.t-sea { background: var(--sea-100); color: var(--sea-700); }
.doc-type.t-sand { background: var(--sand-150); color: var(--ink-soft); }
.doc-type.t-gold { background: var(--gold-100); color: var(--gold-700); }
.doc-type.t-terra { background: #F7E7DE; color: var(--terra-500); }
.doc-info { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.doc-name { font-size: 18.5px; font-weight: 600; line-height: 1.2; }
.doc-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.doc-dl { flex-shrink: 0; }

/* ---------------- Board ---------------- */
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; }
.board-card { overflow: hidden; }
.board-photo { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, var(--sea-100), var(--sand-150)); }
.board-photo image-slot { position: absolute; inset: 0; }
.board-photo .board-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.board-initials { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 32px; font-weight: 600; box-shadow: var(--shadow-md); pointer-events: none; border: 3px solid rgba(255,255,255,.6); }
.board-body { padding: 22px 24px 26px; }
.board-role { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }
.board-name { font-size: 23px; font-weight: 600; margin: 6px 0 14px; }
.board-mail { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--sea-700); }
.board-mail svg { font-size: 16px; }
.board-mail:hover { color: var(--sea-900); }

.board-lower { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.committee-list { display: flex; flex-direction: column; }
.committee-row { display: flex; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.committee-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-500); flex-shrink: 0; }
.committee-name { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--sea-900); flex: 1; }
.committee-lead { font-size: 14px; font-weight: 600; }
.admin-card { padding: 32px; background: linear-gradient(165deg, #fff, var(--sand-50)); }
.admin-name { font-size: 24px; font-weight: 600; margin: 8px 0 2px; }
.admin-role { font-size: 14px; margin-bottom: 22px; }
.admin-rows { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.admin-line { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-soft); font-weight: 600; }
.admin-line svg { font-size: 18px; color: var(--sea-600); flex-shrink: 0; }
a.admin-line:hover { color: var(--sea-800); }

/* ---------------- Login ---------------- */
.login-page { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 78px); }
.login-visual { position: relative; background: linear-gradient(155deg, var(--sea-800), var(--sea-950)); display: grid; place-items: center; overflow: hidden; }
.login-sun { position: absolute; top: 12%; left: 50%; transform: translateX(-50%); width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, var(--gold-400), transparent 68%); opacity: .35; }
.login-visual-inner { position: relative; text-align: center; color: #fff; padding: 40px; }
.login-quote { font-size: 38px; color: #fff; margin: 24px 0 8px; font-weight: 500; }
.login-quote-sub { color: var(--sea-300); font-size: 15px; letter-spacing: .04em; }
.login-form-wrap { display: grid; place-items: center; padding: 40px; background: var(--sand-50); }
.login-card { width: 100%; max-width: 400px; position: relative; }
.login-back { background: none; border: none; color: var(--ink-faint); font-weight: 600; font-size: 14px; margin-bottom: 28px; padding: 0; transition: color .2s; }
.login-back:hover { color: var(--sea-700); }
.login-lock { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--sea-100); color: var(--sea-700); font-size: 26px; margin-bottom: 20px; }
.login-title { font-size: 32px; font-weight: 600; }
.login-lede { margin: 8px 0 30px; font-size: 15px; }
.login-forgot { font-size: 13.5px; font-weight: 600; color: var(--sea-600); cursor: pointer; }
.login-forgot:hover { color: var(--sea-800); }
.login-msg { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 12px 16px; background: var(--sea-100); color: var(--sea-800); border-radius: var(--r-sm); font-size: 14px; font-weight: 600; }
.login-note { margin-top: 26px; font-size: 12.5px; color: var(--ink-faint); font-style: italic; text-align: center; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .main-nav, .login-btn { display: none; }
  .menu-btn { display: block; }
  .site-header.open .mobile-nav, .mobile-nav { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 440px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .board-lower { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .login-page { grid-template-columns: 1fr; }
  .login-visual { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .quick-grid, .news-grid, .board-grid { grid-template-columns: 1fr; }
  .nl-feature { grid-template-columns: 1fr; gap: 18px; padding: 28px; }
  .ev-card { flex-direction: column; align-items: flex-start; gap: 18px; }
  .ev-card-date { flex-direction: row; gap: 10px; width: auto; border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 14px; align-items: baseline; }
  .ev-card-actions { flex-direction: row; width: 100%; }
  .ev-row { flex-wrap: wrap; }
  .doc-row { flex-wrap: wrap; }
  .notice-card { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .reader { padding: 36px 26px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }
}
