/* KMA Education Board — public site styles. Blue/orange theme, responsive. */
:root {
  --blue-900: #16295e;
  --blue-800: #1e3a8a;
  --blue-700: #2743a3;
  --blue-100: #e3e9fb;
  --orange: #e8632a;
  --orange-dark: #c94f1e;
  --ink: #1f2430;
  --muted: #5b6272;
  --bg: #f4f6fb;
  --card: #ffffff;
  --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* ---------- header ---------- */
.topbar { background: var(--blue-900); color: #cdd6f4; font-size: 0.82rem; }
.topbar .wrap { display: flex; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
.site-header {
  background: linear-gradient(120deg, var(--blue-900), var(--blue-700));
  color: #fff;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 16px; }
.logo-mark {
  width: 64px; height: 64px; border-radius: 50%; flex: 0 0 64px;
  background: radial-gradient(circle at 35% 30%, #ffd9a8, var(--orange) 55%, #8a3a12);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.5rem; color: #fff;
  border: 3px solid rgba(255,255,255,.85);
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.brand h1 { font-size: 1.7rem; letter-spacing: .5px; }
/* site settings: uploaded logo, header search, social buttons */
.logo-img { height: 64px; width: auto; max-width: 220px; flex: 0 0 auto; object-fit: contain; }
.brand-text { flex: 1; min-width: 0; }
.hdr-search { display: flex; align-items: center; background: rgba(255,255,255,.95); border-radius: 999px;
  overflow: hidden; flex: 0 0 260px; }
.hdr-search input { border: 0; outline: 0; padding: 9px 14px; font-size: .85rem; width: 100%; background: transparent; }
.hdr-search button { border: 0; background: var(--orange); color: #fff; padding: 9px 14px; cursor: pointer; font-size: .95rem; }
.social-btns { display: inline-flex; gap: 6px; }
.social-btns a { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: .8rem; text-decoration: none; }
.social-btns a:hover { background: var(--orange); }
/* search results page */
.page-search { display: flex; gap: 10px; max-width: 560px; margin: 6px 0 4px; }
.page-search input { flex: 1; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: .95rem; }
.search-results { display: grid; gap: 10px; margin-top: 8px; }
.search-hit { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 10px;
  padding: 12px 16px; text-decoration: none; box-shadow: 0 2px 8px rgba(20,35,90,.06); }
.search-hit:hover { text-decoration: none; box-shadow: 0 4px 14px rgba(20,35,90,.12); }
.search-type { flex: 0 0 auto; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  background: var(--blue-100); color: var(--blue-900); border-radius: 999px; padding: 4px 10px; }
.search-title { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) {
  .hdr-search { display: none; }
}
.brand .sub { font-size: .85rem; opacity: .92; }
.brand .tag { font-size: .78rem; opacity: .75; font-style: italic; }

/* ---------- nav ---------- */
.mainnav { background: #fff; box-shadow: 0 2px 8px rgba(20,35,90,.12); position: sticky; top: 0; z-index: 50; }
.mainnav .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav-links { list-style: none; display: flex; flex-wrap: wrap; }
.nav-links a {
  display: block; padding: 14px 16px; font-size: .85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .4px; color: var(--blue-900);
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); text-decoration: none; }
.nav-links a.active { box-shadow: inset 0 -3px 0 var(--orange); }
/* dropdown menus (managed from Admin -> Menu) */
.nav-links li { position: relative; }
.nav-links .caret { font-size: .7rem; }
.nav-links .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 210px;
  background: #fff; border-radius: 0 0 10px 10px; box-shadow: 0 10px 24px rgba(20,35,90,.16);
  list-style: none; padding: 6px; z-index: 60; }
.nav-links li:hover > .sub-menu, .nav-links li:focus-within > .sub-menu { display: block; }
.nav-links .sub-menu a { padding: 10px 14px; font-size: .82rem; text-transform: none; letter-spacing: 0;
  white-space: nowrap; border-radius: 6px; }
.nav-links .sub-menu a:hover { background: var(--blue-100); }
.nav-links .sub-menu a.active { box-shadow: none; background: var(--blue-100); }
/* adsense slots */
.adsense-slot { text-align: center; margin: 10px auto; max-width: 100%; overflow: hidden; }
.adsense-slot:empty { display: none; }
.hamburger { display: none; background: none; border: 0; font-size: 1.6rem; padding: 10px; cursor: pointer; color: var(--blue-900); }

/* ---------- ticker ---------- */
.ticker-bar { background: var(--orange); color: #fff; overflow: hidden; }
.ticker-bar .wrap { display: flex; align-items: stretch; padding: 0 16px; }
.ticker-label { background: var(--orange-dark); font-weight: 700; font-size: .8rem; text-transform: uppercase;
  padding: 10px 14px; white-space: nowrap; display: flex; align-items: center; }
.ticker-view { overflow: hidden; flex: 1; position: relative; }
.ticker-track { display: inline-flex; gap: 48px; white-space: nowrap; padding: 10px 0 10px 24px;
  animation: tick 28s linear infinite; font-size: .9rem; }
.ticker-view:hover .ticker-track { animation-play-state: paused; }
.ticker-track a { color: #fff; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- hero ---------- */
.hero { padding: 28px 0 8px; }
.hero-card {
  border-radius: var(--radius); overflow: hidden; color: #fff;
  background: linear-gradient(115deg, var(--blue-800) 20%, #3b5bd6 60%, var(--orange) 130%);
  padding: 44px 36px; position: relative;
  box-shadow: 0 10px 30px rgba(30,58,138,.25);
}
.hero-card::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 45%); pointer-events: none; }
.hero-card h2 { font-size: 2rem; margin-bottom: 8px; }
.hero-card p { opacity: .92; max-width: 640px; }
.hero-cta { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: .9rem; border: 0; cursor: pointer; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); text-decoration: none; }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.28); text-decoration: none; }
.btn-outline { display: inline-block; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .85rem;
  background: #fff; color: var(--blue-900); border: 2px solid var(--blue-800); cursor: pointer; }
.btn-outline:hover { background: var(--blue-100); }

/* ---------- layout ---------- */
.content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; padding: 28px 0; }
.section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.section-title h2 { font-size: 1.35rem; color: var(--blue-900); }
.section-title .bar { flex: 1; height: 3px; background: linear-gradient(90deg, var(--orange), transparent); border-radius: 2px; }

/* events grid */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.event-card { background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 14px rgba(20,35,90,.08); transition: transform .18s ease; }
.event-card:hover { transform: translateY(-4px); }
.event-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--blue-100); position: relative; }
.event-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* video gallery: play button overlay */
.v-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(232,99,42,.92); color: #fff; font-size: 1.3rem; display: flex; align-items: center;
  justify-content: center; pointer-events: none; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.event-card:hover .v-play { background: var(--orange-dark, #c94f1e); transform: scale(1.06); }
.event-body { padding: 12px 14px 16px; }
.event-body h3 { font-size: 1rem; color: var(--blue-900); margin-bottom: 4px; }
.event-body p { font-size: .85rem; color: var(--muted); }
.event-date { font-size: .75rem; color: var(--orange); font-weight: 700; text-transform: uppercase; }

/* sidebar */
.sidebar .card { background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 14px rgba(20,35,90,.08); margin-bottom: 20px; }
.sidebar .card h3 { background: var(--blue-800); color: #fff; padding: 12px 16px; font-size: .95rem; }
.quick-links { list-style: none; }
.quick-links a { display: block; padding: 11px 16px; border-bottom: 1px solid #eef1f7; color: var(--ink); font-size: .9rem; }
.quick-links a:hover { background: var(--blue-100); color: var(--blue-900); text-decoration: none; }
.quick-links a::before { content: "▸ "; color: var(--orange); font-weight: 700; }
.sidebar .card .pad { padding: 14px 16px; font-size: .9rem; color: var(--muted); }

/* news list */
.news-item { background: var(--card); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(20,35,90,.08); }
.news-item h3 { color: var(--blue-900); margin-bottom: 4px; }
.news-item time { font-size: .78rem; color: var(--orange); font-weight: 700; }
.news-item p { color: var(--muted); font-size: .93rem; margin-top: 6px; }
.news-photo { margin: -18px -20px 14px; max-height: 380px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.news-photo img { width: 100%; max-height: 380px; object-fit: contain; display: block; background: var(--blue-100); }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.g-item { border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--card);
  box-shadow: 0 4px 14px rgba(20,35,90,.08); }
.g-item .g-thumb { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; text-align: center; padding: 10px; font-size: .95rem; }
.g-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.g-item figcaption { padding: 10px 12px; font-size: .85rem; color: var(--muted); }
.lightbox { position: fixed; inset: 0; background: rgba(10,16,35,.85); display: none;
  align-items: center; justify-content: center; z-index: 200; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox figure { max-width: 860px; width: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; }
.lightbox .lb-media { min-height: 240px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; font-weight: 800; padding: 40px; text-align: center; }
.lightbox img { width: 100%; max-height: 70vh; object-fit: contain; background: #0b1230; }
.lightbox figcaption { padding: 14px 18px; }
.lightbox .close { position: absolute; top: 18px; right: 24px; font-size: 2rem; color: #fff; background: none; border: 0; cursor: pointer; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 2rem; line-height: 1;
  cursor: pointer; z-index: 2; transition: background .2s; }
.lightbox .lb-nav:hover { background: rgba(232,99,42,.9); }
.lightbox .lb-prev { left: 16px; }
.lightbox .lb-next { right: 16px; }
.lightbox .lb-count { padding: 0 18px 12px; font-size: .8rem; color: var(--muted); }

/* page article */
.article { background: var(--card); border-radius: var(--radius); padding: 28px 30px;
  box-shadow: 0 4px 14px rgba(20,35,90,.08); }

/* optional per-page side navigation */
.page-layout { display: grid; grid-template-columns: 1fr 270px; gap: 24px; align-items: start; }
.page-side { background: var(--card); border-radius: var(--radius); padding: 20px;
  box-shadow: 0 4px 14px rgba(20,35,90,.08); position: sticky; top: 16px; }
.page-side h3 { color: var(--blue-900); font-size: 1rem; margin-bottom: 12px;
  padding-bottom: 10px; border-bottom: 2px solid var(--orange); }
.page-side ul { list-style: none; margin: 0; padding: 0; }
.page-side li { margin-bottom: 2px; }
.page-side li a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--blue-900);
  font-size: .9rem; font-weight: 600; text-decoration: none; }
.page-side li a:hover { background: var(--blue-100); }
.page-side li.current a { background: var(--blue-800); color: #fff; }
@media (max-width: 860px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-side { position: static; }
}
.article h2 { color: var(--blue-900); margin-bottom: 12px; }
.article p { margin-bottom: 12px; color: #37404f; }
.article .meta { font-size: .8rem; color: var(--muted); margin-bottom: 16px; }

/* footer */
footer { background: var(--blue-900); color: #cdd6f4; margin-top: 24px; }
footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding: 32px 16px; }
footer h4 { color: #fff; margin-bottom: 10px; font-size: 1rem; }
footer p, footer li { font-size: .87rem; }
footer ul { list-style: none; }
footer a { color: #cdd6f4; }
.copyright { background: #101d45; text-align: center; padding: 12px; font-size: .8rem; color: #9aa6d4; }

/* empty / error states */
.empty { padding: 28px; text-align: center; color: var(--muted); background: var(--card); border-radius: var(--radius); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .content-grid { grid-template-columns: 1fr; }
  .hamburger { display: block; }
  .nav-links { display: none; flex-direction: column; width: 100%; }
  .mainnav .wrap { flex-wrap: wrap; }
  .mainnav.open .nav-links { display: flex; }
  .nav-links a { border-top: 1px solid #eef1f7; }
  /* mobile dropdowns: static + tap to expand */
  .nav-links .sub-menu { position: static; box-shadow: none; border-radius: 0; padding: 0 0 0 14px; }
  .nav-links li.sub-open > .sub-menu { display: block; }
  .brand h1 { font-size: 1.3rem; }
  .hero-card { padding: 32px 22px; }
  .hero-card h2 { font-size: 1.5rem; }
}

/* ---- Visual builder blocks (public rendering) ---- */
.blk { margin: 18px 0; }
.blk h2, .blk h3, .blk h4 { margin: 0 0 8px; color: var(--blue-900); }
.blk p { margin: 0 0 10px; line-height: 1.7; color: var(--ink); }
.article .blk:first-child { margin-top: 0; }

.blk-hero { border-radius: 14px; padding: 46px 30px; color: #fff; text-align: center; }
.blk-hero.g-blue   { background: linear-gradient(135deg, #1e3a8a, #3b5bd6); }
.blk-hero.g-orange { background: linear-gradient(135deg, #e8632a, #f5a623); }
.blk-hero.g-teal   { background: linear-gradient(135deg, #0e7c5b, #2fbf8f); }
.blk-hero h2 { color: #fff; margin: 0 0 10px; font-size: 2rem; }
.blk-hero p { color: #fff; opacity: .93; margin: 0 0 20px; }
.blk-hero .blk-btn.primary { background: #fff; color: var(--blue-800); }

.blk-btn { display: inline-block; padding: 12px 30px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.blk-btn.primary { background: var(--orange); color: #fff; }
.blk-btn.primary:hover { background: var(--orange-dark); color: #fff; }
.blk-btn.outline { border: 2px solid var(--blue-800); color: var(--blue-800); background: #fff; }
.blk-btn.outline:hover { background: var(--blue-100); }

.blk-image figure { margin: 0; }
.blk-image img { max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 4px 18px rgba(20,35,90,.12); }
.blk-image figcaption { color: var(--muted); font-size: .85rem; margin-top: 8px; }

.blk-divider { border: 0; margin: 28px 0; }
.blk-divider.line { border-top: 2px solid #e3e7f2; }
.blk-divider.dots { text-align: center; color: #b9c2d8; font-size: 1.3rem; letter-spacing: 14px; }
.blk-divider.dots::after { content: "\2022  \2022  \2022"; }

.blk-gallery h3 { margin-bottom: 12px; }
.blk-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.blk-gallery-grid .gph { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: #eef1f7; }
.blk-gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blk-gallery-grid .gph > div { width: 100%; height: 100%; }
/* lightbox-enabled items inside page-builder galleries */
.blk-gallery-grid .g-item { margin: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: #eef1f7; cursor: pointer; }
.blk-gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blk-gallery-grid .g-item > div { width: 100%; height: 100%; }

@media (max-width: 640px) {
  .blk-hero { padding: 34px 20px; }
  .blk-hero h2 { font-size: 1.5rem; }
}

/* ---------- hero gallery slider (fixed size — never grows, photos never stretched) ---------- */
.hero-slider { position: relative; height: 400px; border-radius: var(--radius); overflow: hidden;
  margin: 28px 0 8px; background: var(--blue-900); box-shadow: 0 10px 30px rgba(30,58,138,.25); }
.hs-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.hs-slide.active { opacity: 1; z-index: 1; }
.hs-slide img.bg { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; }
.hs-slide .bg.ph { position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; }
.hs-slide .bg.ph span { color: #fff; font-size: 4rem; font-weight: 800; opacity: .92; }
.hs-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 64px 28px 24px; background: linear-gradient(transparent, rgba(10,16,35,.88));
  color: #fff; }
.hs-overlay h3 { color: #fff; font-size: 1.6rem; margin: 0 0 4px; }
.hs-overlay .meta { font-size: .85rem; opacity: .88; margin-bottom: 12px; }
.hs-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.16); color: #fff; font-size: 1.3rem; line-height: 1;
  transition: background .2s; }
.hs-arrow:hover { background: rgba(232,99,42,.9); }
.hs-arrow.prev { left: 14px; }
.hs-arrow.next { right: 14px; }
.hs-dots { position: absolute; bottom: 16px; left: 0; right: 0; z-index: 3;
  display: flex; gap: 8px; justify-content: center; }
.hs-dots .dot { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,.5); cursor: pointer; }
.hs-dots .dot.active { background: var(--orange); }

/* ---------- home blogs/messages (right after the banner) ---------- */
.home-blogs { margin: 26px 0 6px; }
.blogs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.blog-card { background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 14px rgba(20,35,90,.08); display: flex; flex-direction: column; }
.blog-photo { aspect-ratio: 16/9; overflow: hidden; background: var(--blue-100); }
.blog-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.blog-body { padding: 18px 20px 22px; }
.blog-body h3 { color: var(--blue-900); font-size: 1.15rem; margin-bottom: 4px; }
.blog-who { font-size: .82rem; color: var(--orange); font-weight: 700; margin-bottom: 10px; }
.blog-body p { font-size: .92rem; color: #37404f; line-height: 1.6; margin: 0; }
/* single message: expanded, photo left + text right */
.blog-card.blog-single { flex-direction: row; align-items: stretch; }
.blog-card.blog-single .blog-photo { flex: 0 0 320px; aspect-ratio: auto; min-height: 230px; }
.blog-card.blog-single .blog-photo img { height: 100%; }
.blog-card.blog-single .blog-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 640px) {
  .blog-card.blog-single { flex-direction: column; }
  .blog-card.blog-single .blog-photo { flex: none; aspect-ratio: 16/9; min-height: 0; }
}
.read-more { display: inline-block; margin-top: 10px; font-size: .88rem; font-weight: 700; color: var(--orange); text-decoration: none; }
.read-more:hover { text-decoration: underline; }

/* page builder: columns + new blocks */
.blk-columns { display: grid; gap: 22px; margin: 12px 0; }
.blk-columns.cols-2 { grid-template-columns: repeat(2, 1fr); }
.blk-columns.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) {
  .blk-columns.cols-2, .blk-columns.cols-3 { grid-template-columns: 1fr; }
}
.blk-quote { border-left: 4px solid var(--orange); background: #fff8f0; padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 12px 0; }
.blk-quote blockquote { margin: 0 0 8px; font-size: 1.05rem; font-style: italic; color: var(--blue-900); }
.blk-quote cite { font-size: .85rem; color: var(--muted); font-style: normal; }
.blk-notice { padding: 14px 18px; border-radius: 10px; margin: 12px 0; line-height: 1.6; }
.blk-notice.notice-info { background: #eef4ff; border: 1px solid #c9d8f8; color: #1e3a8a; }
.blk-notice.notice-success { background: #e6f7ee; border: 1px solid #bfe8d2; color: #157347; }
.blk-notice.notice-warning { background: #fff3e6; border: 1px solid #f3d9b8; color: #8a4b12; }
.blk-accordion details { border: 1px solid var(--border); border-radius: 10px; margin: 12px 0; overflow: hidden; }
.blk-accordion summary { padding: 14px 18px; font-weight: 700; cursor: pointer; background: #f6f8fc; color: var(--blue-900); list-style: none; }
.blk-accordion summary::-webkit-details-marker { display: none; }
.blk-accordion summary::before { content: "+ "; color: var(--orange); }
.blk-accordion details[open] summary::before { content: "− "; }
.blk-accordion details > div { padding: 14px 18px; line-height: 1.7; }

/* uniform thumbnails are defined with .event-thumb above */
.event-link { text-decoration: none; color: inherit; display: block; }
.event-link .event-card { cursor: pointer; transition: transform .2s, box-shadow .2s; }
.event-link:hover .event-card { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20,35,90,.16); }

@media (max-width: 640px) {
  .hero-slider { height: 280px; margin-top: 16px; }
  .hs-overlay { padding: 48px 18px 18px; }
  .hs-overlay h3 { font-size: 1.2rem; }
  .hs-arrow { width: 36px; height: 36px; font-size: 1.1rem; }
}
