:root {
    --bg: #f7f9ff;
    --surface: #ffffff;
    --surface-alt: #eef5ff;
    --text: #1e2431;
    --muted: #58627a;
    --line: #d8e1f0;
    --primary: #2c72ff;
    --primary-dark: #1546b8;
    --secondary: #ff8b38;
    --mint: #27c39f;
    --violet: #7968ff;
    --shadow: 0 20px 50px rgba(23, 41, 82, 0.08);
    --radius: 22px;
    --radius-sm: 14px;
    --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: linear-gradient(180deg, #fbfcff 0%, #f4f8ff 40%, #eef4ff 100%);
    color: var(--text);
    font-family: Inter, sans-serif;
    line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover, a:focus { color: var(--primary); }
.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    clip: auto;
    z-index: 9999;
    background: #fff;
    padding: .75rem 1rem;
    border-radius: 10px;
}
.top-bar {
    background: linear-gradient(90deg, var(--primary-dark), var(--violet));
    color: #fff;
    font-size: .9rem;
}
.top-bar-inner { padding: .65rem 0; }
.top-note { margin: 0; opacity: .95; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(255,255,255,.88);
    border-bottom: 1px solid rgba(216,225,240,.8);
}
.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1rem 0;
}
.site-branding { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.custom-logo { max-height: 70px; width: auto; }
.site-title {
    font-family: Fraunces, serif;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.1;
    color: var(--text);
    font-weight: 700;
}
.site-description { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }
.menu-toggle {
    display: none;
    border: 0;
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: 14px;
    padding: .8rem;
    cursor: pointer;
}
.menu-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 4px 0;
    border-radius: 999px;
}
.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}
.main-navigation a {
    display: inline-block;
    padding: .7rem 1rem;
    border-radius: 999px;
    color: var(--text);
    font-weight: 600;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    background: var(--surface-alt);
    color: var(--primary-dark);
}
.hero-shell {
    position: relative;
    overflow: clip;
    padding: 2rem 0 1rem;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 2rem;
    align-items: center;
    min-height: 560px;
}
.badge, .eyebrow, .mini-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
    background: rgba(44,114,255,.12);
    color: var(--primary-dark);
}
.hero-copy h1,
.section-heading h2,
.narrative-card h2,
.entry-title,
.archive-header h1 {
    font-family: Fraunces, serif;
    line-height: 1.1;
    letter-spacing: -.02em;
}
.hero-copy h1 { font-size: clamp(2.4rem, 5vw, 4.7rem); margin: 1rem 0; }
.hero-text { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.5rem 0 1.75rem; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    background: linear-gradient(135deg, var(--primary), var(--violet));
    color: #fff;
    border: 0;
    padding: .95rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 16px 30px rgba(44,114,255,.24);
    cursor: pointer;
}
.button:hover, .button:focus { color: #fff; transform: translateY(-1px); }
.button-secondary {
    background: #fff;
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.hero-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.stat-pill {
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(216,225,240,.9);
    border-radius: 20px;
    padding: .9rem 1rem;
    min-width: 145px;
    box-shadow: var(--shadow);
}
.stat-pill strong { display: block; font-size: 1.4rem; color: var(--primary-dark); }
.stat-pill span { display: block; font-size: .88rem; color: var(--muted); }
.hero-art {
    position: relative;
    min-height: 460px;
    display: grid;
    place-items: center;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(6px);
    opacity: .85;
}
.orb-one { width: 260px; height: 260px; background: radial-gradient(circle at 30% 30%, #9ed0ff, #3d84ff); top: 25px; left: 20px; }
.orb-two { width: 220px; height: 220px; background: radial-gradient(circle at 35% 35%, #ffd08d, #ff7f32); bottom: 35px; left: 70px; }
.orb-three { width: 290px; height: 290px; background: radial-gradient(circle at 35% 35%, #bcf7e8, #30c8a2); right: 0; bottom: 20px; }
.hero-card {
    position: relative;
    z-index: 3;
    width: min(100%, 420px);
    padding: 2rem;
    border-radius: 32px;
    color: #fff;
    background:
      linear-gradient(180deg, rgba(10, 23, 62, .15), rgba(10, 23, 62, .75)),
      linear-gradient(135deg, rgba(44,114,255,.85), rgba(39,195,159,.85), rgba(255,139,56,.88));
    box-shadow: 0 26px 60px rgba(21,70,184,.28);
}
.hero-card h2 { font-family: Fraunces, serif; font-size: 2rem; margin: .75rem 0; }
.hero-card p { margin: 0; opacity: .95; }
.standard-top { padding-top: 2rem; }
.section-heading { margin-bottom: 1.25rem; }
.section-heading h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); margin: .8rem 0 0; }
.card {
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(216,225,240,.86);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.highlights-section, .articles-section, .dual-section, .content-area { padding-bottom: 2rem; }
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
.feature-card { padding: 1.4rem; }
.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--surface-alt);
    font-size: 1.45rem;
}
.feature-card h3 { margin: 1rem 0 .5rem; font-size: 1.2rem; }
.feature-card p { margin: 0; color: var(--muted); }
.dual-section {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 1.2rem;
}
.narrative-card, .quick-links-card, .page-intro, .single-card, .comments-area, .post-navigation { padding: 1.5rem; }
.quick-links-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; }
.quick-links-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .95rem 1rem;
    background: var(--surface-alt);
    border-radius: 16px;
    font-weight: 600;
}
.layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.5rem;
}
.no-sidebar .layout-grid, .no-sidebar.layout-grid { grid-template-columns: 1fr; }
.sidebar-column { display: grid; gap: 1rem; align-content: start; }
.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}
.post-card { overflow: hidden; }
.post-thumbnail img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card-content { padding: 1.2rem; }
.entry-meta {
    color: var(--muted);
    font-size: .88rem;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    align-items: center;
}
.entry-title { margin: .75rem 0; font-size: clamp(1.4rem, 2.5vw, 2.2rem); }
.post-card .entry-title { font-size: 1.35rem; margin-bottom: .7rem; }
.entry-title a { color: var(--text); }
.entry-summary, .archive-description, .widget p, .footer-brand p { color: var(--muted); }
.text-link { font-weight: 700; }
.entry-featured-image img { width: 100%; border-radius: 18px; margin-bottom: 1.25rem; }
.entry-content > * + * { margin-top: 1rem; }
.entry-content h2, .entry-content h3, .entry-content h4 {
    font-family: Fraunces, serif;
    line-height: 1.2;
    margin-top: 1.6rem;
}
.entry-content ul, .entry-content ol { padding-left: 1.2rem; }
.widget { padding: 1.3rem; }
.widget-title, .footer-title { margin-top: 0; font-size: 1.1rem; }
.search-form { display: flex; gap: .75rem; flex-wrap: wrap; }
.search-field {
    flex: 1 1 220px;
    min-width: 0;
    padding: .9rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
}
.site-footer {
    padding: 2rem 0 1.5rem;
    background: linear-gradient(180deg, rgba(16,34,77,.98), rgba(15,25,54,1));
    color: rgba(255,255,255,.92);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 1rem;
}
.site-footer .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; }
.site-footer a, .site-footer h2, .site-footer h3 { color: #fff; }
.site-footer p, .site-footer li { color: rgba(255,255,255,.8); }
.footer-bottom {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.14);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-navigation ul { display: flex; gap: 1rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.comment-list { padding-left: 1.2rem; }
.post-navigation { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.wp-block-image img, .entry-content img { border-radius: 18px; }
.wp-caption, .gallery-caption { color: var(--muted); font-size: .92rem; }
.sticky { outline: 2px solid rgba(255,139,56,.4); }
.bypostauthor { border-left: 3px solid var(--primary); padding-left: 1rem; }

@media (max-width: 1100px) {
    .hero-grid,
    .layout-grid,
    .dual-section,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-art { min-height: 330px; }
    .footer-grid { gap: .85rem; }
}

@media (max-width: 860px) {
    .menu-toggle { display: inline-block; }
    .main-navigation {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + .5rem);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .25s ease;
    }
    .main-navigation.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .main-navigation ul {
        display: grid;
        gap: .3rem;
        background: #fff;
        padding: .75rem;
        border-radius: 22px;
        box-shadow: var(--shadow);
        border: 1px solid var(--line);
    }
    .highlights-grid,
    .post-grid {
        grid-template-columns: 1fr;
    }
    .hero-copy h1 { font-size: clamp(2.15rem, 8vw, 3.3rem); }
}

@media (max-width: 560px) {
    .container { width: min(var(--max), calc(100% - 1rem)); }
    .nav-shell { padding: .8rem 0; }
    .hero-shell { padding-top: 1rem; }
    .hero-card,
    .feature-card,
    .page-intro,
    .narrative-card,
    .quick-links-card,
    .single-card,
    .comments-area,
    .post-navigation,
    .widget { padding: 1rem; }
    .hero-stats { display: grid; grid-template-columns: 1fr; }
    .button, .search-submit { width: 100%; }
}

/* Ballarat Horizon 1.1 — accessible single-line desktop navigation and heritage-modern footer. */
:root {
  --bh-ink:#192e40;
  --bh-cream:#f7f3ec;
  --bh-brick:#bd5b39;
  --bh-sea:#157c85;
  --bh-navy:#173b50;
}
:focus-visible { outline:3px solid #126cb7; outline-offset:3px; }
.site-header {
  background:#fff;
  backdrop-filter:none;
  border-bottom:1px solid #e4e4e1;
  box-shadow:0 5px 24px rgba(27,48,66,.045);
}
.top-bar { background:#153d56; color:#fff; }
.top-bar-inner { display:flex;justify-content:space-between;gap:18px;align-items:center;padding:.36rem 0; }
.top-note { font-size:.78rem; letter-spacing:.035em; color:#ebf6f6; }
.top-note span {color:#ffd18e;margin-right:.22rem}
.top-contact {color:#fff; white-space:nowrap; font-size:.8rem; font-weight:700;}
.top-contact:hover, .top-contact:focus {color:#ffdaaf}
.header-main {min-height:98px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 0;}
.site-branding {gap:13px; min-width:0;}
.brand-symbol {display:inline-grid;place-items:center;position:relative;flex:none;width:56px;height:56px;border-radius:17px;background:#173b50;color:#fff;font-family:Fraunces,Georgia,serif;font-weight:700;font-size:34px;letter-spacing:-.08em;box-shadow:inset -8px -10px 0 #1c7c82;}
.brand-symbol span {position:absolute;color:#ffb369;font-family:Arial,sans-serif;font-size:20px;bottom:3px;right:9px;}
.site-title {display:block;color:var(--bh-ink);font-size:clamp(1.4rem,2.15vw,2rem);}
.site-description {font-size:.78rem;line-height:1.3;max-width:60ch;margin-top:.25rem;}
.header-actions {display:flex;align-items:center;gap:12px;}
.header-search .search-form {display:flex;flex-wrap:nowrap;gap:0;align-items:stretch;overflow:hidden;border:1px solid #d4dfe0;background:#f8faf9;border-radius:15px;}
.header-search .search-form label {display:block;}
.header-search .search-field {font-size:.93rem;border:0;background:transparent;min-width:0;width:210px;padding:.76rem 1rem;outline-offset:-3px;flex:none;}
.header-search .search-submit {width:auto;box-shadow:none;background:#f6a93c;color:#183b4f;border-radius:0;padding:.65rem 1rem;transform:none;}
.header-search .search-submit:hover {background:#ffd084;color:#142c42;}
.header-navigation-row {border-top:1px solid #f0efe9;background:#fff;}
.nav-container {position:relative;}
.header-navigation-row .main-navigation {display:block;opacity:1;visibility:visible;position:static;transform:none;}
.header-navigation-row .main-navigation > ul,
.header-navigation-row .main-navigation > .menu > ul {
  display:flex;flex-flow:row nowrap;align-items:stretch;justify-content:center;
  gap:clamp(3px,1vw,16px);margin:0;padding:0;list-style:none;
  white-space:nowrap;min-width:max-content;background:transparent;border:0;box-shadow:none;border-radius:0;
}
.header-navigation-row .main-navigation > ul > li,
.header-navigation-row .main-navigation > .menu > ul > li {position:relative;flex:0 0 auto;}
.header-navigation-row .main-navigation > ul > li > a,
.header-navigation-row .main-navigation > .menu > ul > li > a {
  display:block;border-radius:0;padding:.75rem clamp(8px,1vw,18px);border-bottom:3px solid transparent;
  color:#263946;font-size:clamp(.9rem,1.1vw,1rem);font-weight:750;letter-spacing:-.014em;
}
.header-navigation-row .main-navigation > ul > li > a:hover,
.header-navigation-row .main-navigation > ul > li.current-menu-item > a,
.header-navigation-row .main-navigation > ul > li.current-menu-ancestor > a,
.header-navigation-row .main-navigation > .menu > ul > li > a:hover {
  background:#f6f9f8;color:#0b676f;border-bottom-color:#e9a343;
}
/* Additional items remain on one horizontal line rather than wrapping. */
@media (min-width:1025px) {
  .nav-container {overflow-x:auto;overflow-y:visible;scrollbar-width:thin;}
}
.header-navigation-row .main-navigation .sub-menu {position:absolute;top:100%;left:0;display:none;min-width:220px;z-index:50;padding:10px;background:#fff;border:1px solid #e6e7e4;border-radius:12px;box-shadow:0 15px 35px rgba(19,40,59,.13);list-style:none;white-space:normal;}
.header-navigation-row .main-navigation li:hover > .sub-menu,
.header-navigation-row .main-navigation li:focus-within > .sub-menu {display:block;}
.header-navigation-row .main-navigation .sub-menu a {display:block;padding:.55rem .75rem;border-radius:8px;}
.header-navigation-row .main-navigation .sub-menu a:hover {background:#f4f6f6;}
.menu-toggle {display:none;position:relative;z-index:5;padding:.8rem;border:1px solid #d5e0e2;border-radius:12px;box-shadow:none;background:#fff;cursor:pointer;}
.menu-toggle-bar {width:23px;height:2px;margin:5px 0;background:#1b4053;}

.site-footer {position:relative;overflow:hidden;background:var(--bh-cream);color:var(--bh-ink);padding:0;}
.footer-accent {height:8px;background:linear-gradient(90deg,#e5ab50 0 24%,#c96144 24% 46%,#0d747a 46% 73%,#1d425d 73%);}
.site-footer::before {content:"";position:absolute;top:8px;left:0;width:100%;height:15px;background:linear-gradient(135deg,#fff 25%,transparent 25%) -8px 0/32px 32px,linear-gradient(225deg,#fff 25%,transparent 25%) -8px 0/32px 32px;opacity:.85;pointer-events:none;}
.footer-heading {padding:56px 0 30px;border-bottom:1px solid #ddd7cc;}
.footer-kicker {display:block;color:#9a5236;font-size:.75rem;letter-spacing:.17em;font-weight:800;}
.footer-heading h2 {font-family:Fraunces,Georgia,serif;max-width:790px;margin:11px 0 0;font-size:clamp(1.65rem,3vw,2.55rem);line-height:1.22;color:#20394a;letter-spacing:-.02em;}
.site-footer .footer-grid {display:grid;grid-template-columns:minmax(250px,1.4fr) repeat(3,minmax(155px,1fr));gap:clamp(18px,3vw,44px);padding:42px 0 46px;}
.footer-grid > :not(:first-child) {border-left:1px solid #ddd5c8;padding-left:clamp(16px,2.4vw,35px);}
.footer-grid a {color:#2b4152;}
.footer-grid a:hover,.footer-grid a:focus {color:#a34626;text-decoration:underline;text-underline-offset:4px;}
.footer-brand {max-width:330px;}
.footer-wordmark {display:inline-block;font-family:Fraunces,Georgia,serif;font-size:clamp(1.55rem,2.3vw,2.1rem);font-weight:750;line-height:1.1;letter-spacing:-.03em;}
.footer-wordmark span {color:#c56b41;}
.footer-brand p {font-size:.93rem;line-height:1.78;color:#4f6069;margin:17px 0;}
.footer-email {font-weight:750;overflow-wrap:anywhere;font-size:.88rem;}
.site-footer .footer-column h3 {font-size:.98rem;letter-spacing:.02em;text-transform:none;font-weight:800;margin:5px 0 16px;color:#173b50;}
.footer-link-list,.footer-link-list ul {margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;}
.footer-link-list li {margin:0;padding:0;line-height:1.5;font-size:.91rem;}
.footer-link-list a {color:#344b56;text-decoration:none;}
.footer-trust-note {display:flex;align-items:flex-start;gap:15px;background:#ece7db;border:1px solid #e2dbcc;border-radius:16px;padding:15px 20px;margin-bottom:30px;}
.footer-trust-note .trust-symbol {flex:none;font-size:1.25rem;color:#ad5c39;}
.footer-trust-note p {margin:0;color:#475660;font-size:.86rem;line-height:1.7;}
.footer-bottom-line {border-top:1px solid #ded7c9;background:#f1ede5;}
.footer-bottom {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;flex-wrap:wrap;}
.footer-bottom p {font-size:.78rem;color:#445967;margin:0;}
.back-to-top {display:inline-flex;align-items:center;gap:6px;font-size:.85rem;font-weight:750;color:#153d56!important;white-space:nowrap;}
.back-to-top span {display:inline-grid;place-items:center;background:#153d56;border-radius:9px;color:#fff;width:28px;height:28px;}

@media (max-width:1024px) {
  .header-main {min-height:82px;}
  .menu-toggle {display:block;}
  .header-navigation-row {border-top:0;}
  .nav-container {width:100%;}
  .header-navigation-row .main-navigation {
    display:none;position:static;opacity:1;visibility:visible;transform:none;border-top:1px solid #e9eee9;
    background:#fff;max-height:70vh;overflow-y:auto;
  }
  .header-navigation-row .main-navigation.is-open {display:block;}
  .header-navigation-row .main-navigation > ul,
  .header-navigation-row .main-navigation > .menu > ul {
    display:flex;flex-direction:column;align-items:stretch;white-space:normal;min-width:0;gap:0;
    margin:0;padding:10px 16px 18px;box-shadow:none;border:0;border-radius:0;
  }
  .header-navigation-row .main-navigation > ul > li > a,
  .header-navigation-row .main-navigation > .menu > ul > li > a {font-size:1rem;padding:13px 14px;border-bottom:1px solid #eef0ec;}
  .header-navigation-row .main-navigation .sub-menu {display:block;position:static;box-shadow:none;border:0;padding:0 0 0 20px;min-width:0;}
  .site-footer .footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));row-gap:32px;}
  .footer-grid > :not(:first-child){border-left:0;padding-left:0;}
  .footer-grid > :nth-child(even){border-left:1px solid #ddd5c8;padding-left:24px;}
}
@media (max-width:680px) {
  .top-bar-inner {justify-content:center;}
  .top-contact {display:none;}
  .site-description {font-size:.72rem;max-width:220px;}
  .brand-symbol {height:45px;width:45px;font-size:29px;border-radius:12px;}
  .header-main {flex-wrap:wrap;gap:12px;padding:12px 0;}
  .header-search {display:none;}
  .footer-heading {padding:40px 0 25px;}
  .site-footer .footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 14px;padding:28px 0;}
  .footer-grid > :nth-child(even){padding-left:14px;}
  .footer-brand {grid-column:1 / -1;max-width:none;padding-bottom:20px;border-bottom:1px solid #ddd5c8;}
  .footer-grid > :nth-child(2) {border:0;padding-left:0;}
  .footer-grid > :nth-child(3) {border-left:1px solid #ddd5c8;padding-left:14px;}
  .footer-grid > :nth-child(4) {grid-column:1 / -1;border-left:0;padding-left:0;padding-top:16px;border-top:1px solid #ddd5c8;}
  .footer-grid > :nth-child(4) .footer-link-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px;}
  .footer-bottom {align-items:flex-start;}
  .footer-bottom p:nth-child(2) {display:none;}
}
@media (prefers-reduced-motion:reduce) { html {scroll-behavior:auto} .button:hover{transform:none} }

/* Backwards-compatible user-defined footer widget areas (hidden when empty). */
.footer-widget-extras {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;border-top:1px solid #ddd5c8;padding:24px 0 30px;}
.footer-widget-column .footer-widget {margin-bottom:15px;}
.footer-widget-column h3 {font-size:.98rem;color:#173b50;}
.footer-widget-column a {color:#2b4152;}
@media(max-width:680px){.footer-widget-extras{grid-template-columns:1fr}}


/* Version 1.2: compact, proportional featured art beside the article heading. */
.bh-single-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
    margin: 0 0 1.8rem;
}
.bh-single-hero--image {
    grid-template-columns: minmax(185px, 275px) minmax(0, 1fr);
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}
.bh-single-feature { margin: 0; min-width: 0; }
.bh-feature-zoom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    background: #fff;
    border: 1px solid #e0e7ee;
    border-radius: 22px;
    box-shadow: 0 12px 36px rgba(16, 37, 77, .05);
    padding: 14px;
    text-decoration: none;
    overflow: hidden;
}
.bh-feature-zoom:hover, .bh-feature-zoom:focus-visible {
    outline: 3px solid rgba(44,114,255,.28);
    outline-offset: 2px;
}
.bh-feature-zoom img,
.bh-single-feature .bh-feature-image {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 305px;
    margin: 0 !important;
    border-radius: 8px !important;
    object-fit: contain;
}
.bh-zoom-hint {
    position: absolute;
    right: 9px;
    bottom: 9px;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .74rem;
    line-height: 1.5;
    color: #1f3554;
    background: rgba(245,250,255,.96);
    border: 1px solid #dbe6f4;
    pointer-events: none;
}
.bh-single-hero .entry-title { font-size: clamp(1.8rem, 3.2vw, 3rem); }
.bh-single-summary { color: var(--muted); font-size: 1.07rem; line-height: 1.7; margin: .65rem 0 0; }
.bh-image-lightbox {
    border: 0;
    border-radius: 20px;
    padding: 18px;
    max-width: min(94vw, 1120px);
    max-height: 94vh;
    background: #fff;
    box-shadow: 0 30px 100px rgba(0,0,0,.25);
    overflow: auto;
}
.bh-image-lightbox::backdrop { background: rgba(7,18,38,.83); }
.bh-lightbox-image { display: block; width: auto; height: auto; max-width: min(88vw, 1040px); max-height: 78vh; object-fit: contain; margin: 0 auto; }
.bh-lightbox-close {
    display: block;
    margin: 0 0 8px auto;
    background: #f0f5ff;
    color: #1e2431;
    border: 1px solid #d8e1f0;
    border-radius: 999px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}
.bh-lightbox-close:focus-visible { outline: 3px solid #2c72ff; outline-offset: 2px; }
@media (max-width: 690px) {
    .bh-single-hero--image { grid-template-columns: minmax(0, 1fr); }
    .bh-single-feature { max-width: 290px; margin: 0 auto; width: 100%; }
    .bh-feature-zoom { min-height: 0; }
    .bh-feature-zoom img { max-height: 250px; }
    .bh-single-hero .entry-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
}
@media (prefers-reduced-motion: reduce) {
    .bh-feature-zoom, .bh-lightbox-close { transition: none; }
}


/* ================================================================
   Ballarat Horizon 1.3 — product-only square images, dark footer,
   and the compact menu-only header. No footer markup/layout changes.
   ================================================================ */

/* Product guide cards only: a 1:1 white frame, no product image crop.
   All other article thumbnails retain their existing 16:10 treatment. */
.post-card.bh-product-card .post-thumbnail {
    display: grid;
    place-items: center;
    width: min(100%, 440px);
    aspect-ratio: 1 / 1;
    margin: 16px auto 0;
    background: #ffffff;
    overflow: hidden;
}
.post-card.bh-product-card .post-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
}

/* Product-guide featured image stays modest and square beside its heading;
   the original full-resolution image still opens in the lightbox. */
.bh-product-article .bh-single-feature .bh-feature-zoom {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: clamp(10px, 2vw, 18px);
}
.bh-product-article .bh-single-feature .bh-feature-image,
.bh-product-article .bh-single-feature .bh-feature-zoom img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
}

/* Imported Edisons product photos, not AI illustrations or normal images.
   A manual product image can also opt in using class bh-product-image. */
.bh-product-article .entry-content figure.wp-block-image:has(> img.bh-product-inline-image),
.entry-content figure.wp-block-image:has(> img.bh-product-image) {
    width: min(100%, 390px);
    margin: 1.8rem auto;
    padding: 14px;
    border: 1px solid #e0e7ee;
    border-radius: 20px;
    background: #ffffff;
    text-align: center;
}
.bh-product-article .entry-content img.bh-product-inline-image,
.entry-content img.bh-product-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    border-radius: 10px;
}

/* The compact desktop header displays only the navigation row.
   At tablet/phone sizes, retain the accessible menu button. */
.site-header.bh-header-compact .top-bar { display: none; }
@media (min-width: 1025px) {
    .site-header.bh-header-compact .header-main { display: none; }
    .site-header.bh-header-compact .header-navigation-row {
        border-top: 0;
        box-shadow: 0 9px 22px rgba(12, 25, 45, .09);
    }
}
@media (max-width: 1024px) {
    .site-header.bh-header-compact .header-main {
        min-height: 0;
        padding: 7px 0;
        justify-content: flex-end;
    }
    .site-header.bh-header-compact .site-branding,
    .site-header.bh-header-compact .header-search { display: none; }
    .site-header.bh-header-compact .menu-toggle { display: block; }
}
/* Respect the WordPress admin bar while testing as a logged-in editor. */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .site-header { top: 0; } }

/* Original four-column footer layout is preserved verbatim.
   This skin is based on the deep navy/warm-red mood in the reference. */
.site-footer {
    color: #eef3f8;
    background:
        radial-gradient(ellipse 72% 120% at -8% -10%, rgba(137, 32, 37, .52) 0%, rgba(84, 23, 34, .18) 46%, transparent 73%),
        linear-gradient(112deg, #10111d 0%, #071420 52%, #0b1c29 100%);
}
.site-footer::before { display: none; }
.site-footer .footer-heading { border-bottom-color: rgba(230, 238, 246, .16); }
.site-footer .footer-kicker { color: #ffcb85; }
.site-footer .footer-heading h2 { color: #f9fbff; }
.site-footer .footer-grid > :not(:first-child) { border-left-color: rgba(230,238,246,.18); }
.site-footer .footer-wordmark,
.site-footer .footer-grid a,
.site-footer .footer-link-list a,
.site-footer .footer-widget-column a,
.site-footer .footer-column h3,
.site-footer .footer-widget-column h3 { color: #f2f6fc; }
.site-footer .footer-wordmark span { color: #ff994a; }
.site-footer .footer-brand p,
.site-footer .footer-grid p,
.site-footer .footer-widget-column p,
.site-footer .footer-bottom p { color: #c4d0dc; }
.site-footer .footer-grid a:hover,
.site-footer .footer-grid a:focus-visible,
.site-footer .footer-link-list a:hover,
.site-footer .footer-link-list a:focus-visible,
.site-footer .footer-widget-column a:hover,
.site-footer .footer-widget-column a:focus-visible {
    color: #ffdbab;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.site-footer .footer-trust-note {
    background: rgba(255,255,255,.065);
    border-color: rgba(230,238,246,.16);
}
.site-footer .footer-trust-note .trust-symbol { color: #ffbe77; }
.site-footer .footer-trust-note p { color: #d4dce7; }
.site-footer .footer-bottom-line {
    background: rgba(4,11,23,.32);
    border-top-color: rgba(230,238,246,.17);
}
.site-footer .back-to-top { color: #f0f5fa !important; }
.site-footer .back-to-top span { background: #db7a42; color: #081422; }
.site-footer .footer-widget-extras { border-top-color: rgba(230,238,246,.18); }
@media (max-width: 1024px) {
    .site-footer .footer-grid > :nth-child(even) { border-left-color: rgba(230,238,246,.18); }
}
@media (max-width: 680px) {
    .site-footer .footer-brand { border-bottom-color: rgba(230,238,246,.18); }
    .site-footer .footer-grid > :nth-child(3) { border-left-color: rgba(230,238,246,.18); }
    .site-footer .footer-grid > :nth-child(4) { border-top-color: rgba(230,238,246,.18); }
}


/* ================================================================
   Ballarat Horizon v1.4 — site-wide minimalist, accessible lightbox.
   Existing thumbnail dimensions and footer/header layouts unchanged.
   ================================================================ */
.site-main a[data-bh-lightbox] {
    position: relative;
    cursor: zoom-in;
}
.site-main a[data-bh-lightbox]::after {
    content: '';
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    display: block;
    width: 49px;
    height: 49px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.84);
    box-shadow: 0 6px 26px rgba(12,25,48,.24);
    background: rgba(11, 27, 47, .80) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H3v5M16 21h5v-5M3 3l7 7M21 21l-7-7'/%3E%3C/svg%3E") center / 26px 26px no-repeat;
    pointer-events: none;
    opacity: .85;
    transition: opacity 150ms ease, transform 150ms ease;
}
@media (hover:hover) and (pointer:fine) {
    .site-main a[data-bh-lightbox]::after { opacity: 0; transform: translateY(3px); }
    .site-main a[data-bh-lightbox]:hover::after,
    .site-main a[data-bh-lightbox]:focus-visible::after { opacity: 1; transform: none; }
}
.site-main a[data-bh-lightbox]:focus-visible {
    outline: 3px solid #2c72ff;
    outline-offset: 4px;
}
/* Preserve block widths, WP figure captions and product square-image styling. */
.entry-content .bh-lightbox-auto,
.entry-content a[data-bh-lightbox] {
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
    line-height: 0;
    border-radius: 12px;
}
.entry-content .bh-lightbox-auto img { max-width: 100%; }
.entry-content figure.wp-block-image > a.bh-lightbox-auto,
.entry-content figure.wp-block-image > a[data-bh-lightbox] { line-height: 0; }
.entry-content figure.wp-block-image > a + figcaption { line-height: 1.5; }
.bh-product-article .entry-content figure.wp-block-image:has(.bh-product-inline-image),
.entry-content figure.wp-block-image:has(.bh-product-image) {
    width: min(100%, 390px);
}
.bh-product-article .entry-content figure.wp-block-image .bh-lightbox-auto:has(img.bh-product-inline-image),
.entry-content figure.wp-block-image .bh-lightbox-auto:has(img.bh-product-image) { display: block; width: 100%; }
/* Single hero image retains its compact dimensions and is not enlarged by the icon. */
.bh-single-feature .bh-feature-zoom::after { top: 10px; right: 10px; }

/* Modal remains minimal — only prominent controls, no decorative clutter. */
.bh-image-lightbox {
    width: min(98vw, 1200px);
    max-width: min(98vw, 1200px);
    max-height: 95dvh;
    padding: clamp(10px, 2vw, 20px);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    color: #eef5ff;
    background: #0b1525;
    overflow: auto;
    box-shadow: 0 25px 75px rgba(0,0,0,.45);
}
.bh-image-lightbox::backdrop { background: rgba(5,12,22,.89); backdrop-filter: blur(4px); }
.bh-lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.bh-lightbox-counter { font: 600 .88rem/1.4 Inter, sans-serif; color: #d6e5f6; min-height: 1em; }
.bh-lightbox-close, .bh-lightbox-prev, .bh-lightbox-next {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(218,231,246,.28);
    background: rgba(255,255,255,.12);
    color: #fff;
    cursor: pointer;
    padding: 0;
    box-shadow: none;
    transition: background 150ms ease;
}
.bh-lightbox-close:hover, .bh-lightbox-prev:hover, .bh-lightbox-next:hover { background: rgba(255,255,255,.24); }
.bh-lightbox-close:focus-visible, .bh-lightbox-prev:focus-visible, .bh-lightbox-next:focus-visible {
    outline: 3px solid #a8cdff;
    outline-offset: 3px;
}
.bh-lightbox-stage { display: grid; grid-template-columns: 54px minmax(0,1fr) 54px; gap: 10px; align-items: center; justify-items: center; }
.bh-lightbox-image { max-width: 100%; max-height: min(75dvh, 1000px); width: auto; height: auto; margin: 0 auto; object-fit: contain; border-radius: 8px; }
.bh-lightbox-caption { margin: 10px auto 0; max-width: 70ch; min-height: 1.4em; text-align: center; color: #e0e8f2; line-height: 1.5; font-size: .95rem; }
.bh-lightbox-caption:empty { display: none; }
.bh-lightbox-prev[hidden], .bh-lightbox-next[hidden] { visibility: hidden; }
@media(max-width: 620px) {
    .bh-image-lightbox { padding: 10px; }
    .bh-lightbox-stage { grid-template-columns: 42px minmax(0,1fr) 42px; gap: 4px; }
    .bh-lightbox-close, .bh-lightbox-prev, .bh-lightbox-next { width: 42px; height: 42px; }
    .bh-lightbox-image { max-height: 73dvh; }
    .site-main a[data-bh-lightbox]::after { width: 43px; height: 43px; background-size: 24px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .site-main a[data-bh-lightbox]::after,
    .bh-lightbox-close, .bh-lightbox-prev, .bh-lightbox-next { transition: none; }
}

/* ================================================================
   Ballarat Horizon v1.5 — article-first affiliate buying guide blog.
   Four columns on wide desktop home, three columns on category pages.
   The header, footer and site-wide lightbox remain unchanged.
   ================================================================ */
.bh-shop-intro {
    border-bottom: 1px solid #e6ebef;
    background: linear-gradient(105deg, #fffdfa 0%, #fff 50%, #eff8f7 100%);
}
.bh-shop-intro-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
    min-height: 296px;
    gap: clamp(22px, 4vw, 58px);
    align-items: center;
    padding: clamp(28px, 3.4vw, 46px) 0;
}
.bh-shop-intro-copy { max-width: 810px; }
.bh-shop-kicker,
.bh-shop-overline {
    display: block;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.55;
    color: #a04434;
}
.bh-shop-intro h1 {
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    line-height: 1.13;
    letter-spacing: -.035em;
    color: #173649;
    margin: 10px 0 12px;
    max-width: 18ch;
}
.bh-shop-intro p {
    max-width: 58ch;
    font-size: clamp(.98rem, 1.25vw, 1.08rem);
    color: #526677;
    margin: 0 0 15px;
    line-height: 1.7;
}
.bh-shop-intro-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0b6977;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}
.bh-shop-intro-link:hover { color: #aa4c27; }
.bh-shop-intro-art {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    height: 220px;
    border-radius: 22px;
    background: linear-gradient(145deg, #b2d9e0 0%, #cdebe6 55%, #f5d8b1 100%);
    border: 1px solid rgba(23,72,76,.15);
}
.bh-shop-art-sun {
    position: absolute;
    width: 100px;
    height: 100px;
    right: 50px;
    top: 23px;
    border-radius: 50%;
    background: #fce5a1;
    box-shadow: 0 0 0 17px rgba(255,255,255,.20);
}
.bh-shop-art-hill {
    position: absolute;
    z-index: 2;
    width: 145%;
    height: 190px;
    background: #4d9694;
    border-radius: 50% 50% 0 0;
    transform: rotate(-6deg);
    bottom: -125px;
    left: -16%;
}
.bh-shop-art-hill--front {
    background: #205d70;
    z-index: 3;
    transform: rotate(8deg);
    bottom: -146px;
    left: 13%;
}
.bh-shop-art-stroke {
    position: absolute;
    z-index: 4;
    width: 72px;
    height: 80px;
    left: 17%;
    bottom: 45px;
    border-left: 7px solid #315f66;
    border-top: 7px solid #315f66;
    border-right: 7px solid #315f66;
    border-radius: 38px 38px 3px 3px;
    opacity: .75;
}
.bh-shop-art-caption {
    position: absolute;
    z-index: 5;
    left: 18px;
    bottom: 13px;
    color: #fff;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .11em;
}
.bh-shop-categories { padding-top: 30px; padding-bottom: 26px; }
.bh-shop-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}
.bh-shop-section-heading--compact { margin-bottom: 15px; }
.bh-shop-section-heading h2 {
    margin: 3px 0 0;
    font-size: clamp(1.45rem, 2.15vw, 2.0rem);
    font-family: Fraunces, Georgia, serif;
    line-height: 1.2;
    letter-spacing: -.025em;
    color: #18394d;
}
.bh-shop-section-heading p { margin: 9px 0 0; color: #526677; font-size: .97rem; }
.bh-shop-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bh-shop-category-tile {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.4vw, 16px);
    padding: clamp(16px, 2vw, 22px);
    background: #fff;
    border: 1px solid #dee7eb;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(22,46,61,.045);
    color: #203746;
    transition: border-color .2s ease, transform .2s ease;
}
a.bh-shop-category-tile:hover, a.bh-shop-category-tile:focus-visible {
    color: #0c5967;
    border-color: #74b8bb;
    transform: translateY(-2px);
}
.bh-category-glyph {
    display: grid;
    place-items: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 15px;
    color: #136979;
    background: #e6f5f3;
}
.bh-shop-category-tile--garden .bh-category-glyph { background: #ecf4e4; color: #497642; }
.bh-shop-category-tile--tools .bh-category-glyph { background: #fdf0e6; color: #b05b35; }
.bh-shop-category-words { display: block; min-width: 0; }
.bh-shop-category-words strong { display: block; font-size: 1rem; line-height: 1.35; color: #203746; }
.bh-shop-category-words small { display: block; font-size: .8rem; line-height: 1.5; color: #627382; margin-top: 3px; }
.bh-category-arrow { margin-left: auto; align-self: flex-start; font-size: 1.3rem; color: #617583; }
.bh-shop-guide-section { padding-top: 22px; padding-bottom: 48px; }
.bh-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    white-space: nowrap;
    padding: .7rem .95rem;
    border-radius: 999px;
    color: #0c6371;
    border: 1px solid #a3ced0;
    background: #f8ffff;
    font-weight: 800;
    font-size: .85rem;
}
.bh-view-all:hover { color: #fff; background: #0c6371; }
/* Explicit grids outrank the pre-existing two-column .post-grid. */
.bh-shop-grid {
    display: grid;
    gap: clamp(12px, 1.5vw, 20px);
    align-items: stretch;
}
.bh-shop-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bh-shop-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bh-shop-grid .post-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border-color: #e0e8ee;
    box-shadow: 0 8px 28px rgba(21,43,66,.065);
    transition: box-shadow .2s ease, transform .2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .bh-shop-grid .post-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 38px rgba(21,43,66,.12);
    }
}
.bh-shop-grid .post-card .post-thumbnail {
    display: grid;
    place-items: center;
    width: calc(100% - 24px);
    height: auto;
    margin: 12px auto 0;
    aspect-ratio: 16 / 10;
    border-radius: 13px;
    overflow: hidden;
    background: #f8fafb;
}
/* Only identified product photos use contain rather than crop. */
.bh-shop-grid .post-card.bh-product-card .post-thumbnail { background: #fff; aspect-ratio: 1 / 1; }
.bh-shop-grid .post-card .post-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 10;
    border-radius: 0;
}
.bh-shop-grid .post-card.bh-product-card .post-thumbnail img { aspect-ratio: 1 / 1; object-fit: contain; }
.bh-card-image-placeholder {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    width: calc(100% - 24px);
    margin: 12px auto 0;
    border-radius: 13px;
    background: radial-gradient(circle at 78% 24%, #e9dcb7, transparent 32%), linear-gradient(130deg, #e9f5f3, #f8f1e7);
}
.bh-product-card .bh-card-image-placeholder { aspect-ratio: 1 / 1; }
.bh-placeholder-mark {
    position: relative;
    display: inline-grid;
    place-items: center;
    height: 68px;
    width: 68px;
    border-radius: 20px;
    background: #215e73;
    color: #fff;
    font: 700 45px/1 Georgia, serif;
}
.bh-placeholder-mark span { position: absolute; right: 12px; bottom: 8px; color: #ffb770; font: 700 26px/1 Georgia, serif; }
.bh-shop-grid .post-card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: clamp(12px, 1.5vw, 19px);
}
.bh-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; }
.bh-card-date { font-size: .71rem; color: #687986; white-space: nowrap; }
.bh-card-label {
    display: inline-block;
    align-self: flex-start;
    background: #e9f6f3;
    color: #0c5d67;
    border-radius: 7px;
    padding: 3px 9px;
    font-size: .69rem;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: .045em;
    font-weight: 850;
}
.post-card:not(.bh-product-card) .bh-card-label { background: #f1edf9; color: #62438e; }
.bh-shop-grid .post-card .entry-title {
    margin: 10px 0 8px;
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(1.02rem, 1.2vw, 1.16rem);
    line-height: 1.38;
    letter-spacing: -.025em;
    font-weight: 780;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bh-shop-grid .post-card .entry-title a { color: #172e3f; }
.bh-shop-grid .post-card .entry-title a:hover { color: #0d7681; }
.bh-shop-grid .post-card .entry-summary { margin: 0 0 14px; font-size: .86rem; line-height: 1.58; color: #596c7b; }
.bh-shop-grid .post-card .entry-summary p { margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.bh-shop-grid .post-card .text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 8px;
    color: #096578;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.4;
}
.bh-shop-grid .post-card .text-link:hover { color: #ad502f; }
.bh-shop-bottom-link { display: flex; justify-content: center; margin-top: 26px; }
.bh-shop-empty { padding: 25px; }
.bh-shop-empty h3 { margin: 0 0 7px; font-family: Fraunces, Georgia, serif; }
.bh-shop-empty p { margin: 0; }
.bh-shop-editorial-note { padding-bottom: 46px; }
.bh-editorial-note-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(16px, 4vw, 40px);
    padding: clamp(20px, 3vw, 30px);
    border-radius: 21px;
    border: 1px solid #e2e9e7;
    background: linear-gradient(95deg, #eef8f6, #fbf8f0);
}
.bh-editorial-note-inner h2 { font: 700 clamp(1.4rem, 2.2vw, 1.85rem)/1.22 Fraunces, Georgia, serif; color: #17394b; margin: 5px 0 0; }
.bh-editorial-note-inner p { max-width: 68ch; font-size: .92rem; line-height: 1.75; color: #455d6e; margin: 0; }
.bh-category-archive { padding-bottom: 60px; }
.bh-category-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin: 0 0 24px;
    padding: 20px 0 20px;
    border-bottom: 1px solid #dfe8ed;
}
.bh-category-heading h1 { font: 700 clamp(2.1rem, 4vw, 3.2rem)/1.18 Fraunces, Georgia, serif; color: #163749; letter-spacing: -.035em; margin: 6px 0 8px; }
.bh-category-heading p, .bh-category-description p { max-width: 72ch; color: #61707e; margin: 0; line-height: 1.65; }
.bh-category-archive .navigation.pagination { margin-top: 30px; }
.bh-category-archive .page-numbers { padding: .55rem .85rem; border: 1px solid #d6e3e7; background: #fff; border-radius: 9px; margin-right: 5px; }
.bh-category-archive .page-numbers.current { color: #fff; background: #135e71; border-color: #135e71; }

@media (max-width: 1024px) {
    .bh-shop-intro-inner { grid-template-columns: minmax(0, 1fr) minmax(220px, .52fr); }
    .bh-shop-grid--four { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .bh-shop-grid--three { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .bh-shop-category-tile { padding: 14px; }
    .bh-category-glyph { width: 48px; height: 48px; flex-basis: 48px; }
}
@media (max-width: 860px) {
    .bh-shop-intro-inner { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .bh-shop-intro h1 { max-width: 23ch; }
    .bh-shop-intro-art { max-height: 125px; }
    .bh-shop-art-stroke { bottom: 7px; }
    .bh-shop-grid--four, .bh-shop-grid--three { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .bh-shop-category-grid { grid-template-columns: 1fr; gap: 9px; }
    .bh-shop-category-tile { padding: 12px 15px; }
    .bh-editorial-note-inner { display: block; }
    .bh-editorial-note-inner p { margin-top: 12px; }
}
@media (max-width: 610px) {
    .bh-shop-intro-inner { padding: 22px 0; }
    .bh-shop-intro h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
    .bh-shop-guide-section { padding-top: 10px; }
    .bh-shop-section-heading { display: block; }
    .bh-shop-section-heading .bh-view-all { margin-top: 15px; }
    .bh-category-heading { display: block; }
    .bh-category-heading .bh-view-all { margin-top: 16px; }
    .bh-shop-grid--four, .bh-shop-grid--three { grid-template-columns: 1fr; }
    .bh-shop-grid .post-card .entry-title { font-size: 1.15rem; }
    .bh-shop-grid .post-card .entry-summary { font-size: .94rem; }
    .bh-shop-intro-art { height: 110px; }
}
@media (prefers-reduced-motion: reduce) {
    .bh-shop-category-tile, .bh-shop-grid .post-card { transition: none; }
}

#latest-guides { scroll-margin-top: 90px; }


/* ===========================================================
   Ballarat Horizon 1.6 — Australia CTA & full-width guide layout
   =========================================================== */
/* Use the sidebar only on specifically opted-in WordPress Pages. */
.bh-full-content { display: block; }
.bh-full-content > .main-column { width: 100%; min-width: 0; }
.bh-page-with-sidebar { display: grid; grid-template-columns: minmax(0,1fr) 320px; }

/* Illustrated Australian buying guides call-to-action above the footer. */
.bh-australia-cta {
    padding: 0 0 clamp(34px,5vw,68px);
}
.bh-australia-cta-inner {
    display: grid;
    grid-template-columns: minmax(0,.91fr) minmax(0,1.09fr);
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    background: #f4f9f4;
    border: 1px solid #dce9dc;
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(25,51,48,.08);
}
.bh-australia-cta-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(24px,4.2vw,56px);
    min-width: 0;
}
.bh-australia-cta-kicker {
    display: block;
    color: #136c65;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .12em;
    margin-bottom: 14px;
}
.bh-australia-cta-copy h2 {
    max-width: 15ch;
    margin: 0 0 15px;
    color: #173547;
    font: 700 clamp(1.8rem,3vw,2.85rem)/1.15 Fraunces,Georgia,serif;
    letter-spacing: -.025em;
}
.bh-australia-cta-copy p {
    max-width: 52ch;
    margin: 0 0 25px;
    color: #415b62;
    line-height: 1.7;
}
.bh-australia-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 21px;
    border-radius: 12px;
    background: #155e69;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}
.bh-australia-cta-button:hover,
.bh-australia-cta-button:focus-visible { background: #0d4758; color: #fff; transform: translateY(-1px); }
.bh-australia-cta-figure { margin: 0; min-width: 0; overflow: hidden; }
.bh-australia-cta-figure img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    object-position: 56% 50%;
    border: 0;
    border-radius: 0;
}

/* /buying-guides/ is 80% of the viewport and has exactly six cards per row
   at proper desktop sizes. Shrink the column count before cards get illegible. */
.bh-buying-guides-page {
    width: 80%;
    max-width: 1650px;
    margin-inline: auto;
    padding-bottom: 68px;
}
.bh-buying-guides-heading { margin: 0 0 28px; border-bottom: 1px solid #d9e6e4; padding: 4px 0 24px; }
.bh-buying-guides-heading h1 { margin: 7px 0 11px; font: 700 clamp(2rem,3.7vw,3.3rem)/1.2 Fraunces,Georgia,serif; color:#153749; }
.bh-buying-guides-heading p { max-width: 70ch; margin:0; color:#566e78; line-height:1.7; }
.bh-buying-guides-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: clamp(9px,1vw,17px); }
.bh-buying-guides-grid .post-card { min-width: 0; }
.bh-buying-guides-grid .post-card .post-thumbnail,
.bh-buying-guides-grid .post-card .bh-card-image-placeholder { width: calc(100% - 14px); margin-top: 7px; }
.bh-buying-guides-grid .post-card .post-card-content { padding: 11px; }
.bh-buying-guides-grid .post-card .entry-title { font-size: clamp(.85rem, .93vw, 1.04rem); line-height: 1.35; }
.bh-buying-guides-grid .post-card .entry-summary { font-size: .79rem; }
.bh-buying-guides-grid .post-card .text-link { font-size: .79rem; }
.bh-buying-guides-grid .bh-card-date { font-size: .66rem; }
.bh-buying-guides-pages { margin: 32px auto 0; text-align: center; }
.bh-buying-guides-pages .page-numbers { display:flex; flex-wrap:wrap; justify-content:center; list-style:none; margin:0; padding:0; gap:8px; }
.bh-buying-guides-pages .page-numbers a,
.bh-buying-guides-pages .page-numbers span { display:inline-block; padding: .5rem .85rem; border-radius:9px; border:1px solid #d9e6e4; background:#fff; color:#174f5b; font-weight:700; }
.bh-buying-guides-pages .page-numbers .current { color:#fff; background:#155e69; border-color:#155e69; }

@media (max-width: 1239px) {
    .bh-buying-guides-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
    .bh-page-with-sidebar { grid-template-columns: minmax(0, 1fr); }
    .bh-buying-guides-page { width: 92%; }
    .bh-australia-cta-inner { grid-template-columns: minmax(0,1fr); }
    .bh-australia-cta-figure img { min-height: 0; max-height: 390px; aspect-ratio: 16/8; }
}
@media (max-width: 820px) {
    .bh-buying-guides-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 600px) {
    .bh-buying-guides-page { width: 96%; }
    .bh-buying-guides-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .bh-australia-cta-copy { padding: 24px; }
    .bh-australia-cta-figure img { aspect-ratio: 16/10; }
}
@media (max-width: 420px) {
    .bh-buying-guides-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce) {
    .bh-australia-cta-button { transition:none; }
}

/* Ballarat Horizon 1.6.1: Australian illustrated invitation is now the homepage hero.
   Maintain its original look, with comfortable spacing below the navigation. */
.bh-australia-cta--hero {
    padding: clamp(18px, 2.8vw, 38px) 0 clamp(12px, 2vw, 25px);
    background: linear-gradient(105deg, #f9fcf9 0%, #ffffff 58%, #f0f8f6 100%);
}
.bh-australia-cta--hero .bh-australia-cta-copy h1 {
    max-width: 16ch;
    margin: 0 0 15px;
    color: #173547;
    font: 700 clamp(2rem,3.35vw,3.1rem)/1.15 Fraunces,Georgia,serif;
    letter-spacing: -.025em;
}
.bh-australia-cta--hero + .bh-shop-categories { padding-top: clamp(24px, 3vw, 38px); }


/* ============================================================
   Ballarat Horizon 1.7.1 — slightly shallower Australian homepage hero
   Only affects the homepage hero; all other layout sections stay as is.
   ============================================================ */
.bh-australia-cta--hero {
    padding-top: clamp(12px, 2vw, 24px);
    padding-bottom: clamp(10px, 1.5vw, 18px);
}
.bh-australia-cta--hero .bh-australia-cta-copy {
    padding: clamp(22px, 2.6vw, 34px);
}
.bh-australia-cta--hero .bh-australia-cta-kicker { margin-bottom: 9px; }
.bh-australia-cta--hero .bh-australia-cta-copy h1 { margin-bottom: 10px; line-height: 1.12; }
.bh-australia-cta--hero .bh-australia-cta-copy p { margin-bottom: 17px; line-height: 1.55; }
.bh-australia-cta--hero .bh-australia-cta-button { padding: 11px 19px; }
.bh-australia-cta--hero .bh-australia-cta-figure img { min-height: 295px; }
@media (max-width: 1024px) {
    .bh-australia-cta--hero .bh-australia-cta-figure img {
        min-height: 0;
        aspect-ratio: 16 / 7;
    }
}
@media (max-width: 600px) {
    .bh-australia-cta--hero .bh-australia-cta-copy { padding: 20px; }
    .bh-australia-cta--hero .bh-australia-cta-figure img { aspect-ratio: 16 / 9; }
}

/* ==========================================================
   Ballarat Horizon 1.7 — polished optional page side menu
   Existing article, category, guide and footer layouts unchanged.
   ========================================================== */
.bh-page-with-sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 310px);
    align-items: start;
    gap: clamp(20px, 2.2vw, 32px);
}
.bh-page-with-sidebar > .main-column { min-width: 0; }
.bh-modern-sidebar {
    display: block;
    min-width: 0;
    align-self: start;
    position: sticky;
    top: 112px;
}
.bh-sidebar-shell { display: grid; gap: 15px; }
.bh-modern-sidebar .card {
    border: 1px solid #dce8e9;
    border-radius: 20px;
    box-shadow: 0 9px 28px rgba(19, 55, 70, .055);
    overflow: hidden;
    background: #fff;
}
.bh-modern-sidebar .bh-sidebar-search {
    padding: 23px 21px 22px;
    color: #173b48;
    background: linear-gradient(146deg, #eaf6f2 0%, #f8fbf9 62%, #fffaf0 100%);
    border-color: #d1e4df;
}
.bh-sidebar-eyebrow {
    display: inline-block;
    color: #176a69;
    font: 800 11px/1.35 Inter, system-ui, sans-serif;
    letter-spacing: .13em;
    margin-bottom: 9px;
}
.bh-modern-sidebar h2,
.bh-modern-sidebar .widget-title {
    font-family: Inter, system-ui, sans-serif;
    letter-spacing: -.025em;
    line-height: 1.3;
}
.bh-sidebar-search h2 {
    font-size: 1.33rem;
    font-weight: 800;
    margin: 0 0 5px;
    color: #173a47;
}
.bh-sidebar-search p {
    color: #526c74;
    font-size: .88rem;
    margin: 0 0 15px;
    line-height: 1.6;
}
.bh-sidebar-search .search-form { display: grid; grid-template-columns: minmax(0,1fr); gap: 9px; }
.bh-sidebar-search .search-form label { min-width: 0; }
.bh-sidebar-search .search-field {
    width: 100%;
    min-width: 0;
    border: 1px solid #c8dbd7;
    background: #fff;
    border-radius: 10px;
    padding: 11px 12px;
    font-size: .94rem;
    min-height: 46px;
    box-shadow: none;
}
.bh-sidebar-search .search-submit {
    display: block;
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 750;
    font-size: .91rem;
    box-shadow: none;
    color: #fff;
    background: #14626b;
}
.bh-sidebar-search .search-submit:hover { background: #104d56; }
.bh-modern-sidebar .bh-sidebar-menu,
.bh-modern-sidebar .bh-sidebar-info { padding: 18px 15px 14px; }
.bh-sidebar-title-row { display: flex; align-items: center; gap: 11px; padding: 0 8px 12px; }
.bh-sidebar-title-icon {
    width: 36px;
    height: 36px;
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    background: #eaf5f2;
    color: #176a69;
    border-radius: 11px;
}
.bh-sidebar-title-icon svg { display: block; width: 19px; height: 19px; }
.bh-sidebar-menu h2,
.bh-sidebar-info h2 { font-size: 1.02rem; color: #1c3542; font-weight: 800; margin: 0; }
.bh-sidebar-info h2 { padding: 2px 8px 13px; }
.bh-modern-sidebar .bh-sidebar-links { list-style: none; margin: 0; padding: 0; }
.bh-sidebar-links li { margin: 0; padding: 0; border-top: 1px solid #edf1f1; }
.bh-sidebar-links a {
    color: #304959;
    border-radius: 10px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 650;
    line-height: 1.45;
    transition: background .16s ease, color .16s ease;
}
.bh-sidebar-links a:hover,
.bh-sidebar-links a:focus-visible {
    background: #eff8f5;
    color: #125e66;
}
.bh-sidebar-chevron {
    color: #438381;
    font-size: 1.17rem;
    line-height: 1;
    flex-shrink: 0;
    transition: transform .16s ease;
}
.bh-sidebar-links a:hover .bh-sidebar-chevron,
.bh-sidebar-links a:focus-visible .bh-sidebar-chevron { transform: translateX(3px); }
.bh-sidebar-links--quiet a { font-weight: 550; }
.bh-sidebar-empty { margin: 6px 9px; font-size: .9rem; color: #536776; }
.bh-sidebar-custom-widgets { display: grid; gap: 15px; }
.bh-sidebar-custom-widgets .widget { margin: 0; padding: 19px 18px; }
.bh-sidebar-custom-widgets .widget-title { color: #213c48; font-size: 1.03rem; font-weight: 800; margin-bottom: 13px; }
.bh-sidebar-custom-widgets ul { list-style: none; margin: 0; padding: 0; }
.bh-sidebar-custom-widgets li { border-bottom: 1px solid #eef1f3; padding: 9px 0; }
.bh-sidebar-custom-widgets li:last-child { border: 0; }
.bh-sidebar-custom-widgets a { color: #225e68; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bh-sidebar-custom-widgets a:hover { color: #143e48; }
.bh-modern-sidebar :is(a, button, input):focus-visible {
    outline: 3px solid #c36b20;
    outline-offset: 3px;
}
@media (max-width: 1024px) {
    .bh-page-with-sidebar { grid-template-columns: minmax(0,1fr); }
    .bh-modern-sidebar { position: static; top: auto; }
    .bh-sidebar-shell { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
    .bh-sidebar-custom-widgets { grid-column: 1/-1; }
}
@media (max-width: 650px) {
    .bh-sidebar-shell { grid-template-columns: minmax(0,1fr); }
    .bh-sidebar-custom-widgets { grid-column: auto; }
    .bh-modern-sidebar .bh-sidebar-search { padding: 20px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .bh-sidebar-links a, .bh-sidebar-chevron { transition: none; }
}
@media (max-height: 760px) and (min-width: 1025px) {
    /* A tall sidebar should not hide its final links on short desktop screens. */
    .bh-modern-sidebar { position: static; }
}
