/* AfterM — expressive bento editorial skin */
:root {
  --kc-navy: #191327;
  --kc-navy-2: #0e0b18;
  --kc-coral: #8b5cf6;
  --kc-coral-dark: #7143d9;
  --kc-teal: #c7f36b;
  --kc-ink: #f7f4ff;
  --kc-muted: #aaa3b8;
  --kc-line: #3a334c;
  --kc-surface: #191327;
  --kc-warm: #100d1b;
  --kc-radius-sm: 16px;
  --kc-radius: 22px;
  --kc-radius-lg: 28px;
  --kc-shadow: 0 22px 60px rgba(2, 0, 9, .28);
}

body { color: var(--kc-ink); background: #100d1b; }
h1, h2, h3, h4 { color: #fff; font-weight: 780; letter-spacing: -.045em; }
a:hover { color: var(--kc-teal); }
.site-header { top: 12px; margin-bottom: 12px; background: transparent; border: 0; backdrop-filter: none; }
.admin-bar .site-header { top: 44px; }
.header-inner { min-height: 70px; padding: 0 18px 0 24px; background: rgba(25, 19, 39, .94); border: 1px solid #453a5b; border-radius: 999px; box-shadow: 0 15px 45px rgba(0,0,0,.24); backdrop-filter: blur(18px); }
.site-branding img, .custom-logo { max-width: 225px; max-height: 52px; }
.primary-nav a, .icon-button, .menu-toggle { color: #f5f0ff; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--kc-teal); }
.primary-nav .sub-menu, .search-panel { background: #20182f; border-color: var(--kc-line); }
.icon-button:hover, .menu-toggle:hover { background: #332747; }
.header-cta { min-height: 40px; padding-inline: 18px; color: #181126; background: var(--kc-teal); border-color: var(--kc-teal); border-radius: 999px; }
.header-cta:hover { color: #181126; background: #dcff94; border-color: #dcff94; }
.search-panel { width: min(calc(100% - 40px), 1120px); margin: 10px auto 0; border: 1px solid var(--kc-line); border-radius: 18px; }
.search-field { color: #fff; background: #181322; border-color: #4a405b; }
.search-submit { color: #171020; background: var(--kc-teal); border-color: var(--kc-teal); }

.am-home { padding-top: 30px; }
.am-bento { display: grid; grid-template-columns: 1.05fr 1.25fr .92fr; grid-template-rows: repeat(2, minmax(250px, auto)); gap: 18px; }
.am-intro, .am-story, .am-live, .am-topic, .am-promo { min-width: 0; overflow: hidden; border: 1px solid var(--kc-line); border-radius: 24px; }
.am-intro { grid-row: 1 / 3; display: flex; padding: clamp(28px, 4vw, 54px); flex-direction: column; justify-content: space-between; background: var(--kc-coral); }
.am-intro > span { font-size: .72rem; font-weight: 850; letter-spacing: .16em; }
.am-intro h1 { margin: auto 0 20px; font-size: clamp(3rem, 5.5vw, 5.4rem); line-height: .88; overflow-wrap: anywhere; }
.am-intro p { max-width: 34ch; color: #e8ddff; }
.am-intro .read-more { width: fit-content; padding: 0; color: #fff; border: 0; }

.am-story { position: relative; min-height: 300px; background: #20182f; }
.am-story-media { position: absolute; inset: 0; }
.am-story-media img, .am-story-media .placeholder-image { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.am-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(10,7,17,.92)); pointer-events: none; }
.am-story:hover img { transform: scale(1.035); }
.am-story > div { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 24px; }
.am-story h2 { margin: 4px 0 8px; font-size: clamp(1.5rem, 2.4vw, 2.25rem); }
.am-story > div > span { color: #cbc4d5; font-size: .78rem; }
.am-story .category-pill { color: #181126; background: var(--kc-teal); border-radius: 999px; }
.am-story-1 { grid-column: 2; grid-row: 1; }
.am-story-2 { grid-column: 2; grid-row: 2; }

.am-live { grid-column: 3; padding: 25px; background: #191327; }
.am-live h2 { display: flex; gap: 9px; align-items: center; font-size: 1.25rem; }
.am-live h2 span { color: #ff6d77; font-size: .7rem; }
.am-live ol { padding: 0; margin: 0; list-style: none; }
.am-live li { display: grid; grid-template-columns: 28px 1fr 16px; gap: 8px; padding: 13px 0; align-items: start; border-top: 1px solid var(--kc-line); font-size: .88rem; line-height: 1.25; }
.am-live li > span:first-child { color: var(--kc-teal); font-weight: 800; }
.am-live li > span:last-child { color: var(--kc-coral); }

.am-topic, .am-promo { display: flex; padding: 25px; flex-direction: column; justify-content: space-between; }
.am-topic { color: #181126; background: var(--kc-teal); }
.am-topic:hover { color: #181126; transform: translateY(-2px); }
.am-topic > span { font-size: 1.5rem; }
.am-topic strong { display: block; margin-top: 25px; font-size: 1.45rem; line-height: 1.05; }
.am-topic small { margin-top: 10px; opacity: .74; }
.am-topic b { margin-top: 18px; font-size: .78rem; }
.am-promo { background: #ffa68f; color: #21121c; }
.am-promo > span { font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.am-promo strong { margin-block: auto; font-size: 1.45rem; line-height: 1.05; }
.am-promo a { font-weight: 900; }
.am-promo a:hover { color: #5a193c; }

.am-hours { padding-block: 86px; }
.am-hours-head { display: flex; margin-bottom: 28px; align-items: end; justify-content: space-between; gap: 20px; }
.am-hours-head h2 { margin: 0; font-size: clamp(2.5rem, 6vw, 5.6rem); }
.am-hours-head > a { color: var(--kc-teal); font-weight: 800; }
.am-hours-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.am-hours-grid .post-card { background: #191327; border-color: var(--kc-line); border-radius: 18px; }
.am-hours-grid .post-card:nth-child(2n) { transform: translateY(22px); }
.am-hours-grid .card-body { padding: 17px; }
.am-hours-grid .card-title { color: #fff; font-size: 1.02rem; }
.am-hours-grid .card-excerpt { display: none; }
.am-topic-ribbon { display: flex; margin-top: 62px; padding-top: 24px; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--kc-line); }
.am-topic-ribbon a { padding: 9px 16px; color: #e8e2f0; border: 1px solid #554768; border-radius: 999px; font-size: .82rem; }
.am-topic-ribbon a:hover { color: #181126; background: var(--kc-teal); border-color: var(--kc-teal); }

.post-card, .compact-card, .focus-story-inner, .no-results, .page-numbers, .content-area, .sidebar .widget, .comments-area { color: var(--kc-ink); background: #191327; border-color: var(--kc-line); }
.card-title, .focus-story-copy h3, .focus-story-inner .section-heading h2 { color: #fff; }
.page-header, .single-hero { background: #171121; border-color: var(--kc-line); }
.single-content-wrap { color: #ded8e7; }
.single-featured { border-radius: 22px; }
.category-pill, .eyebrow { color: #181126; background: var(--kc-teal); border-radius: 999px; }
.read-more { color: var(--kc-teal); border-color: var(--kc-coral); border-radius: 999px; }
.site-footer { color: #aaa3b8; background: #0b0812; border-top: 1px solid var(--kc-line); }
.footer-title, .footer-menu a { color: #fff; }

@media (max-width: 1080px) {
  .am-bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .am-intro { grid-column: 1; grid-row: 1 / 3; }
  .am-story-1, .am-story-2, .am-live, .am-topic, .am-promo { grid-column: auto; grid-row: auto; }
  .am-hours-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 782px) {
  .site-header { top: 6px; }
  .admin-bar .site-header { top: 52px; }
  .header-inner { min-height: 64px; padding-inline: 14px; }
  .am-home { padding-top: 16px; }
  .am-bento { grid-template-columns: 1fr; }
  .am-intro, .am-story-1, .am-story-2 { grid-column: 1; grid-row: auto; }
  .am-intro { min-height: 480px; }
  .am-hours-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .am-hours-grid .post-card:nth-child(2n) { transform: none; }
}
@media (max-width: 520px) {
  .kc-container { width: min(calc(100% - 24px), var(--kc-container)); }
  .site-branding img, .custom-logo { max-width: 132px; }
  .header-cta { min-height: 38px; padding-inline: 10px; font-size: .64rem; }
  .search-toggle { display: none; }
  .am-intro { padding: 28px; }
  .am-intro h1 { font-size: 3.4rem; }
  .am-hours-grid { grid-template-columns: 1fr; }
}
