/* Bulgarian Cultural Institute London — content only; active WordPress theme owns the header. */
.bci-site {
  --bci-bg: #fbfcff;
  --bci-surface: #ffffff;
  --bci-ink: #141d5a;
  --bci-copy: #303957;
  --bci-muted: #66708b;
  --bci-accent: #8a6bc0;
  --bci-accent-text: #6d489d;
  --bci-soft: #eef2fc;
  --bci-border: #dce2f0;
  --bci-header-bg: rgba(255, 255, 255, .97);
  --bci-newsletter-bg: #141d5a;
  --bci-newsletter-ink: #ffffff;
  --bci-footer-bg: #f4f6fb;
  --bci-shadow: 0 18px 48px rgba(20, 29, 90, .11);
  min-height: 100vh;
  color: var(--bci-copy);
  background: var(--bci-bg);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}
html[data-bci-theme="dark"] .bci-site {
  --bci-bg: #10162f;
  --bci-surface: #19213e;
  --bci-ink: #f1f4ff;
  --bci-copy: #e2e9f8;
  --bci-muted: #afbdd8;
  --bci-accent: #a99be0;
  --bci-accent-text: #c4b8f4;
  --bci-soft: #252e4c;
  --bci-border: #35405c;
  --bci-header-bg: rgba(16, 22, 47, .97);
  --bci-newsletter-bg: #eef2fc;
  --bci-newsletter-ink: #141d5a;
  --bci-footer-bg: #161d36;
  --bci-shadow: 0 18px 50px rgba(0, 0, 0, .34);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  html:not([data-bci-theme]) .bci-site {
    --bci-bg: #10162f;
    --bci-surface: #19213e;
    --bci-ink: #f1f4ff;
    --bci-copy: #e2e9f8;
    --bci-muted: #afbdd8;
    --bci-accent: #a99be0;
    --bci-accent-text: #c4b8f4;
    --bci-soft: #252e4c;
    --bci-border: #35405c;
    --bci-header-bg: rgba(16, 22, 47, .97);
    --bci-newsletter-bg: #eef2fc;
    --bci-newsletter-ink: #141d5a;
    --bci-footer-bg: #161d36;
    --bci-shadow: 0 18px 50px rgba(0, 0, 0, .34);
    color-scheme: dark;
  }
}
.bci-site *, .bci-site *::before, .bci-site *::after { box-sizing: border-box; }
.bci-site * { min-width: 0; }
.bci-site a { color: inherit; text-decoration: none; }
.bci-site button, .bci-site input, .bci-site select { font: inherit; }
.bci-site button { cursor: pointer; }
.bci-site a:hover { text-decoration: none; }
.bci-site :is(a, button, input, summary, select, textarea):focus-visible {
  outline: 3px solid var(--bci-accent);
  outline-offset: 4px;
}
.bci-site [hidden] { display: none !important; }
.bci-site h1, .bci-site h2, .bci-site h3, .bci-site p,
.bci-site figure, .bci-site blockquote { margin: 0; }
.bci-site h1, .bci-site h2, .bci-site h3 { font-weight: 600; }
.bci-site .bci-sr-only {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important; border: 0 !important;
}
.bci-container { width: min(100% - 72px, 1232px); margin-inline: auto; }
.bci-skip-link { position: fixed; z-index: 9999; top: -100px; left: 15px; padding: 12px 19px; background: #fff; color: #141d5a !important; }
.bci-skip-link:focus { top: 12px; }

/* Header and accessible click/keyboard-controlled menus */
.bci-header { position: sticky; top: 0; z-index: 500; background: var(--bci-header-bg); box-shadow: 0 1px 0 var(--bci-border); backdrop-filter: blur(14px); }
body.admin-bar .bci-header { top: 32px; }
.bci-topbar { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 40px; transition: min-height .25s ease; }
.bci-header.is-scrolled .bci-topbar { min-height: 77px; }
.bci-brand { display: inline-flex; flex: 0 1 320px; align-items: center; max-width: 390px; color: var(--bci-ink) !important; }
.bci-brand .bci-logo { display: block; height: 62px; width: auto; max-width: 340px; object-fit: contain; object-position: left center; transition: height .25s ease; }
.bci-header.is-scrolled .bci-logo { height: 50px; }
.bci-brand .bci-logo-dark { display: none; }
html[data-bci-theme="dark"] .bci-site .bci-logo-light { display: none; }
html[data-bci-theme="dark"] .bci-site .bci-logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  html:not([data-bci-theme]) .bci-site .bci-logo-light { display: none; }
  html:not([data-bci-theme]) .bci-site .bci-logo-dark { display: block; }
}
.bci-wordmark { display: flex; align-items: center; gap: 14px; color: var(--bci-ink); }
.bci-wordmark strong { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 54px; line-height: 1; font-weight: 700; letter-spacing: -.06em; }
.bci-wordmark > span { font-size: 10px; line-height: 1.65; letter-spacing: .18em; font-weight: 700; }
.bci-search-desktop { width: 304px; flex: 0 0 304px; }
.bci-search-form { display: flex; align-items: center; width: 100%; height: 46px; border: 1px solid var(--bci-border); border-radius: 30px; background: var(--bci-surface); }
.bci-search-form:focus-within { border-color: var(--bci-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--bci-accent) 25%, transparent); }
.bci-search-form input[type=search] { appearance: none; border: 0 !important; border-radius: 30px; background: transparent !important; color: var(--bci-ink) !important; padding: 11px 0 11px 17px !important; margin: 0 !important; font-size: 12px; width: 100%; box-shadow: none !important; outline: none; }
.bci-search-form input::placeholder { color: var(--bci-muted); opacity: 1; }
.bci-search-form button { flex: 0 0 48px; height: 44px; padding: 8px !important; border: 0 !important; border-radius: 30px; background: transparent !important; color: var(--bci-ink) !important; display: grid; place-items: center; }
.bci-desktop-menu-wrap { border-top: 1px solid var(--bci-border); }
.bci-desktop-menu { min-height: 61px; position: relative; display: flex; align-items: center; justify-content: center; }
.bci-nav-items { display: flex; align-items: stretch; gap: 52px; justify-content: center; }
.bci-nav-items > :is(a, details) { position: relative; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.bci-nav-items > .bci-nav-link { display: flex; align-items: center; min-height: 61px; }
.bci-nav-items > :is(a, details) { color: var(--bci-ink); }
.bci-nav-items > a:hover, .bci-nav-items summary:hover, .bci-nav-items > a[aria-current="page"] { color: var(--bci-accent-text); }
.bci-nav-dropdown summary { min-height: 61px; display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.bci-nav-dropdown summary::-webkit-details-marker { display: none; }
.bci-nav-dropdown[open] .bci-chevron { transform: rotate(180deg); }
.bci-dropdown-content { position: absolute; top: 100%; left: -20px; width: 214px; z-index: 800; padding: 10px; border: 1px solid var(--bci-border); border-radius: 4px; background: var(--bci-surface); box-shadow: var(--bci-shadow); display: flex; flex-direction: column; gap: 2px; }
.bci-dropdown-content a { display: block; padding: 10px 13px; border-radius: 3px; color: var(--bci-copy) !important; font-size: 12px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.bci-dropdown-content a:hover, .bci-dropdown-content a:focus-visible { background: var(--bci-soft); color: var(--bci-ink) !important; }
.bci-theme-toggle { display: flex; align-items: center; gap: 8px; background: none !important; border: none !important; padding: 10px 0 !important; color: var(--bci-ink) !important; font-size: 11px; letter-spacing: .02em; white-space: nowrap; }
.bci-desktop-menu > .bci-theme-toggle { position: absolute; right: 0; }
.bci-hamburger, .bci-mobile-search-trigger, .bci-mobile-menu, .bci-mobile-search { display: none; }
.bci-icon-button { border: 0 !important; padding: 8px !important; background: transparent !important; color: var(--bci-ink) !important; height: 44px; width: 44px; align-items: center; justify-content: center; }

/* Hero */
.bci-hero { position: relative; isolation: isolate; min-height: clamp(430px, 42vw, 628px); display: flex; align-items: flex-end; overflow: hidden; background: radial-gradient(ellipse at 75% 35%, #61589b 0%, #30275e 40%, #141d5a 100%); color: #fff; }
.bci-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bci-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 18, 52, .77) 0%, rgba(16, 19, 58, .39) 65%, rgba(17, 22, 66, .15) 100%), linear-gradient(0deg, rgba(11, 17, 49, .73), transparent 65%); }
.bci-hero-inner { padding-block: 84px 76px; }
.bci-hero-copy { max-width: 780px; }
.bci-overline { color: var(--bci-accent-text); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.bci-hero-overline { color: #e1dcff; margin-bottom: 33px !important; }
.bci-event-tag { display: inline-block; border: 1px solid rgba(255,255,255,.74); border-radius: 2px; padding: 5px 12px; font-size: 10px; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; }
.bci-hero h1 { margin-top: 18px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(58px, 6.5vw, 100px); line-height: .99; font-weight: 500; letter-spacing: -.025em; color: white; text-wrap: balance; }
.bci-hero-date { margin-top: 23px !important; font-size: 13px; font-weight: 500; letter-spacing: .03em; color: #f1f2ff; }
.bci-hero-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; margin-top: 30px; min-height: 48px; padding: 12px 21px; background: #f4f3ff; border: 1px solid #f4f3ff; border-radius: 2px; color: #141d5a !important; font-size: 12px; font-weight: 700; letter-spacing: .04em; transition: background .2s ease, transform .2s ease; }
.bci-hero-button:hover { background: #e7e4fa; transform: translateY(-1px); }
.bci-hero-button span { font-size: 18px; font-weight: 400; }

/* News feed */
.bci-news-section { padding-block: 98px 95px; }
.bci-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 40px; }
.bci-section-heading h2, .bci-newsletter-heading h2, .bci-listing-intro h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; color: var(--bci-ink); letter-spacing: -.035em; }
.bci-section-heading h2 { margin-top: 7px; font-size: clamp(46px, 5vw, 72px); line-height: 1; }
.bci-section-number { margin-bottom: 8px; font-size: 10px; font-weight: 700; letter-spacing: .13em; color: var(--bci-muted); }
.bci-news-list { border-top: 1px solid var(--bci-border); }
.bci-news-item { display: flex; gap: 28px; justify-content: space-between; align-items: center; min-height: 168px; padding: 24px 0; border-bottom: 1px solid var(--bci-border); }
.bci-news-content { flex: 1; }
.bci-news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--bci-accent-text); }
.bci-news-meta time { font-weight: 500; color: var(--bci-muted); }
.bci-news-content h3, .bci-news-content h2 { font-family: 'Cormorant Garamond', Georgia, serif; color: var(--bci-ink); font-size: clamp(26px, 2.7vw, 36px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin-top: 13px; }
.bci-news-content h3 a:hover, .bci-news-content h2 a:hover { color: var(--bci-accent-text); text-decoration: underline; text-underline-offset: 5px; }
.bci-news-content > p { margin-top: 8px; font-size: 12px; color: var(--bci-muted); line-height: 1.75; max-width: 780px; }
.bci-news-thumb { width: 176px; height: 112px; display: block; flex: 0 0 176px; overflow: hidden; border-radius: 2px; background: var(--bci-soft); }
.bci-news-thumb img, .bci-thumb-placeholder { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.bci-news-item:hover .bci-news-thumb img { transform: scale(1.035); }
.bci-thumb-placeholder { background: linear-gradient(135deg, var(--bci-soft), var(--bci-border)); }
.bci-news-bottom { display: flex; justify-content: center; padding-top: 40px; }
.bci-outline-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 47px; padding: 10px 20px; color: var(--bci-ink) !important; border: 1px solid var(--bci-ink); border-radius: 2px; background: transparent; font-size: 11px; font-weight: 700; letter-spacing: .03em; transition: background .2s ease, color .2s ease; }
.bci-outline-button:hover { color: var(--bci-bg) !important; background: var(--bci-ink); }
.bci-outline-button span { font-size: 17px; font-weight: 400; }
.bci-empty { padding: 44px 0; color: var(--bci-muted); }

/* Newsletter: brand colours intentionally invert for dark theme */
.bci-newsletter-band { background: var(--bci-newsletter-bg); color: var(--bci-newsletter-ink); }
.bci-newsletter-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 80px; align-items: center; min-height: 320px; padding-block: 65px; }
.bci-newsletter-heading .bci-overline { color: var(--bci-newsletter-ink); opacity: .75; }
.bci-newsletter-heading h2 { margin-top: 14px; font-size: clamp(42px, 4.5vw, 66px); line-height: 1.03; color: var(--bci-newsletter-ink); }
.bci-newsletter-heading > p:last-child { margin-top: 14px; font-size: 12px; opacity: .88; }
.bci-newsletter-form { align-self: center; }
.bci-newsletter-input-group { display: flex; width: 100%; min-height: 54px; background: #fff; border-radius: 2px; }
.bci-newsletter-input-group input { flex: 1; width: 100%; min-height: 54px; border: 1px solid #fff !important; border-radius: 2px 0 0 2px; color: #141d5a !important; background: #fff !important; font-size: 12px; padding: 15px 18px !important; outline-offset: -3px; }
.bci-newsletter-input-group input::placeholder { color: #606985; }
.bci-newsletter-input-group button { flex-shrink: 0; border: 1px solid #9b80cc !important; border-radius: 0 2px 2px 0; background: #9b80cc !important; color: #141d5a !important; font-size: 12px; font-weight: 700; padding: 12px 18px !important; }
.bci-newsletter-input-group button:hover:not(:disabled) { background: #b6a3dc !important; }
.bci-newsletter-input-group button:disabled { cursor: not-allowed; opacity: .65; }
.bci-newsletter-input-group input:disabled { background: #e3e7f1 !important; cursor: not-allowed; }
.bci-newsletter-input-group button span { font-size: 17px; padding-left: 7px; }
.bci-consent { display: flex; align-items: flex-start; gap: 10px; padding-top: 15px; font-size: 10px; line-height: 1.7; color: var(--bci-newsletter-ink); }
.bci-consent input { width: 16px; height: 16px; flex: 0 0 16px; margin: 2px 0 0 !important; accent-color: #8a6bc0; }
.bci-consent a { color: inherit !important; text-decoration: underline; text-underline-offset: 3px; }
.bci-newsletter-feedback { min-height: 18px; margin-top: 9px !important; font-size: 11px; color: var(--bci-newsletter-ink); }
.bci-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Quote slides */
.bci-quotes-section { padding-block: 100px 110px; }
.bci-quotes-title-row { margin-bottom: 26px; }
.bci-quote-carousel { text-align: center; }
.bci-quote-slides { min-height: 260px; }
.bci-quote-slide { padding: 2px 24px 0; }
.bci-quote-mark { height: 58px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 100px; color: var(--bci-accent); line-height: 1; }
.bci-quote-slide blockquote { margin: 20px auto 0; max-width: 930px; font-family: 'Cormorant Garamond', Georgia, serif; color: var(--bci-ink); font-size: clamp(29px, 3.5vw, 45px); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.bci-quote-slide figcaption { margin-top: 26px; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--bci-muted); text-transform: uppercase; }
.bci-quote-event { display: inline-block; margin-top: 13px; font-size: 12px; color: var(--bci-accent-text) !important; text-decoration: underline !important; }
.bci-quote-controls { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 30px; }
.bci-quote-dots { display: flex; align-items: center; gap: 6px; }
.bci-quote-dot { display: grid; place-items: center; width: 27px; height: 28px; padding: 0 !important; border: 0 !important; background: transparent !important; }
.bci-quote-dot span { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--bci-muted); }
.bci-quote-dot[aria-current="true"] span { width: 11px; height: 11px; background: var(--bci-accent); }
.bci-carousel-pause { border: 0 !important; background: transparent !important; color: var(--bci-ink) !important; font-size: 11px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 7px !important; }

/* Footer */
.bci-footer { background: var(--bci-footer-bg); border-top: 1px solid var(--bci-border); }
.bci-footer-main { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: center; gap: 32px; padding-block: 53px; }
.bci-footer-contact { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-style: normal; font-size: 12px; line-height: 1.75; color: var(--bci-copy); }
.bci-footer-contact a:hover { color: var(--bci-accent-text); text-decoration: underline; }
.bci-footer-social { display: flex; flex-wrap: wrap; gap: 11px; justify-content: flex-end; }
.bci-footer-social a { display: inline-grid; place-items: center; height: 37px; width: 37px; border: 1px solid var(--bci-border); border-radius: 50%; color: var(--bci-ink) !important; }
.bci-footer-social a:hover { background: var(--bci-soft); border-color: var(--bci-accent); }
.bci-footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-block: 20px 28px; border-top: 1px solid var(--bci-border); font-size: 10px; letter-spacing: .04em; color: var(--bci-muted); }

/* Built-in News, Events, Archive and Search routes */
.bci-listing { padding-block: 75px 105px; min-height: 55vh; }
.bci-listing-intro { margin-bottom: 38px; }
.bci-listing-intro h1 { font-size: clamp(50px, 7vw, 84px); line-height: 1.05; margin-top: 7px; }
.bci-listing-intro > p:not(.bci-overline) { margin-top: 10px; color: var(--bci-muted); font-size: 13px; }
.bci-filter-subtitle { font-size: .65em; color: var(--bci-muted); }
.bci-category-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 29px; }
.bci-category-filters a { border: 1px solid var(--bci-border); border-radius: 20px; padding: 7px 15px; color: var(--bci-copy) !important; font-size: 11px; }
.bci-category-filters a:hover, .bci-category-filters a[aria-current="page"] { background: var(--bci-soft); border-color: var(--bci-accent); color: var(--bci-ink) !important; }
.bci-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 36px; font-size: 12px; color: var(--bci-muted); }

@media (max-width: 1100px) and (min-width: 801px) {
  .bci-nav-items { gap: 30px; }
  .bci-desktop-menu > .bci-theme-toggle { right: 0; }
  .bci-desktop-menu { justify-content: flex-start; }
  .bci-search-desktop { flex-basis: 260px; width: 260px; }
  .bci-newsletter-layout { gap: 38px; }
}
@media (max-width: 800px) {
  body.admin-bar .bci-header { top: 46px; }
  .bci-container { width: min(100% - 34px, 690px); }
  .bci-topbar { min-height: 73px; display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; align-items: center; gap: 6px; }
  .bci-header.is-scrolled .bci-topbar { min-height: 64px; }
  .bci-hamburger, .bci-mobile-search-trigger { display: flex; }
  .bci-desktop-menu-wrap, .bci-search-desktop { display: none; }
  .bci-brand { justify-content: center; max-width: 100%; width: 100%; overflow: hidden; }
  .bci-brand .bci-logo { height: 44px; max-width: min(100%, 260px); object-position: center; }
  .bci-header.is-scrolled .bci-logo { height: 40px; }
  .bci-wordmark { gap: 8px; }
  .bci-wordmark strong { font-size: 43px; }
  .bci-wordmark > span { font-size: 8px; letter-spacing: .08em; }
  .bci-mobile-search { display: block; padding: 9px 17px 15px; border-top: 1px solid var(--bci-border); }
  .bci-mobile-menu { display: block; max-height: calc(100svh - 74px); overflow-y: auto; padding: 9px 17px 25px; border-top: 1px solid var(--bci-border); background: var(--bci-header-bg); }
  .bci-mobile-links { display: flex; flex-direction: column; }
  .bci-mobile-links > :is(a, details) { border-bottom: 1px solid var(--bci-border); color: var(--bci-ink); }
  .bci-mobile-links .bci-nav-link, .bci-mobile-links summary { display: flex; align-items: center; justify-content: space-between; min-height: 51px; padding: 11px 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .bci-mobile-links summary { cursor: pointer; list-style: none; }
  .bci-mobile-links summary::-webkit-details-marker { display: none; }
  .bci-mobile-links .bci-dropdown-content { display: flex; flex-direction: column; position: static; width: 100%; padding: 0 0 8px 18px; box-shadow: none; background: transparent; border: 0; }
  .bci-mobile-links .bci-dropdown-content a { font-size: 13px; padding: 11px 8px; }
  .bci-theme-toggle-mobile { margin: 18px 8px 0; font-size: 12px; }
  .bci-hero { min-height: 475px; }
  .bci-hero-inner { padding-block: 75px 57px; }
  .bci-hero h1 { font-size: clamp(49px, 9.3vw, 74px); }
  .bci-hero-overline { margin-bottom: 25px !important; }
  .bci-news-section, .bci-quotes-section { padding-block: 70px 75px; }
  .bci-section-heading h2 { font-size: 56px; }
  .bci-news-item { gap: 15px; min-height: 143px; padding: 21px 0; }
  .bci-news-thumb { flex-basis: 112px; width: 112px; height: 94px; }
  .bci-news-content h3, .bci-news-content h2 { font-size: 27px; }
  .bci-news-content > p { font-size: 11px; line-height: 1.55; }
  .bci-news-meta { gap: 6px 14px; font-size: 9px; }
  .bci-newsletter-layout { display: block; min-height: initial; padding-block: 58px; }
  .bci-newsletter-heading h2 { font-size: 56px; }
  .bci-newsletter-form { margin-top: 29px; }
  .bci-footer-main { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .bci-footer-social { justify-self: center; justify-content: center; }
  .bci-footer-bottom { text-align: center; justify-content: center; }
  .bci-footer-bottom span:last-child { display: none; }
  .bci-listing { padding-block: 56px 80px; }
}
@media (max-width: 480px) {
  .bci-hero { min-height: 430px; }
  .bci-hero h1 { font-size: clamp(46px, 12vw, 61px); }
  .bci-section-number { display: none; }
  .bci-section-heading h2 { font-size: 48px; }
  .bci-news-item { align-items: flex-start; }
  .bci-news-thumb { flex-basis: 96px; width: 96px; height: 91px; margin-top: 13px; }
  .bci-news-content h3, .bci-news-content h2 { font-size: 24px; margin-top: 10px; }
  .bci-news-content > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .bci-news-meta { display: block; }
  .bci-news-meta time { display: block; margin-top: 4px; }
  .bci-newsletter-heading h2 { font-size: 47px; }
  .bci-newsletter-input-group button { padding-inline: 10px !important; }
  .bci-quote-slide { padding-inline: 0; }
  .bci-quote-slide blockquote { font-size: 30px; }
  .bci-quote-controls { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .bci-site *, .bci-site *::before, .bci-site *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* v0.2.1: original active-theme header stays untouched.
   The BCI page uses the theme header and its own BCI footer.
   Classic-theme footer.php must run to close structural wrappers and print scripts,
   but its visual footer is suppressed to avoid two footers. */
body.bci-front-template footer:not(.bci-footer),
body.bci-front-template #colophon:not(.bci-footer),
body.bci-front-template .site-footer:not(.bci-footer),
body.bci-front-template .site-footer-wrap { display: none !important; }

/* Break out of a classic theme's constrained page-content width without changing
   the native site masthead or responsive navigation. */
body.bci-front-template { overflow-x: clip; }
body.bci-front-template .bci-site.bci-native-theme-content {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    margin: 0;
    transform: translateX(-50%);
    clear: both;
}

/* v0.3.0 — Shared BCI footer on standard WordPress theme pages.
   The same footer template is rendered for Blogsy and for the plugin's front page. */
.bci-site.bci-shared-footer {
  min-height: 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: none;
  margin: 0;
  padding: 0;
  clear: both;
  background: var(--bci-footer-bg);
  overflow: visible;
}
.bci-site.bci-shared-footer > .bci-footer {
  width: 100%;
  margin: 0;
}
body.bci-sitewide-footer-active {
  overflow-x: clip;
}
/* Only the native theme footer, never post card elements or the BCI footer. */
body.bci-sitewide-footer-active #colophon:not(.bci-footer),
body.bci-sitewide-footer-active footer.site-footer:not(.bci-footer),
body.bci-sitewide-footer-active footer[role="contentinfo"]:not(.bci-footer),
body.bci-sitewide-footer-active #page > footer:not(.bci-footer),
body.bci-sitewide-footer-active .site > footer:not(.bci-footer),
body.bci-sitewide-footer-active .site-footer-wrap,
body.bci-sitewide-footer-active #blogsy-footer,
body.bci-sitewide-footer-active footer.blogsy-footer:not(.bci-footer),
body.bci-sitewide-footer-active .blogsy-footer-wrap,
body.bci-sitewide-footer-active .footer-widgets-wrapper,
body.bci-sitewide-footer-active .footer-copyright-wrapper {
  display: none !important;
}
