/*
Theme Name: Astra
Theme URI: https://wpastra.com/
Author: Brainstorm Force
Description: Astra-based private draft theme for Betta Fish Guide.
Version: 4.14.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra
*/

/* Betta Fish Guide — refreshed editorial design */
:root {
  --bfg-navy: #153047;
  --bfg-blue: #247BA0;
  --bfg-teal: #38A3A5;
  --bfg-light: #F4F8FB;
  --bfg-white: #FFFFFF;
  --bfg-text: #263746;
  --bfg-muted: #536777;
  --bfg-border: #DCE6ED;
  --bfg-shadow: 0 16px 42px rgba(21,48,71,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; color: var(--bfg-text); background: var(--bfg-white); font-size: 17px; line-height: 1.72; }
a { color: #17678B; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--bfg-navy); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--bfg-teal); outline-offset: 4px; }
h1,h2,h3,h4,h5,h6 { color: var(--bfg-navy); letter-spacing: -.035em; line-height: 1.16; }
h1 { font-size: clamp(2.45rem, 5.2vw, 4.55rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.8rem); }
h3 { font-size: clamp(1.22rem, 2vw, 1.55rem); }
p { margin-top: 0; }
.ast-container, .ast-container-fluid { max-width: 1240px; }

/* Header */
.bfg-header { position: relative; z-index: 5; background: #fff; border-bottom: 1px solid var(--bfg-border); }
.bfg-header-inner { width: min(1180px, calc(100% - 48px)); min-height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.bfg-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--bfg-navy); font-size: 1.15rem; font-weight: 850; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.bfg-brand:hover { color: var(--bfg-blue); }
.bfg-brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 13px 13px 13px 4px; color: #fff; background: var(--bfg-navy); font-size: 1.08rem; font-weight: 850; }
.bfg-nav { display: flex; align-items: center; gap: 8px; }
.bfg-nav-list, .bfg-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; }
.bfg-nav-list .menu-item { list-style: none; margin: 0; padding: 0; }
.bfg-nav a { padding: 10px 13px; border-radius: 8px; color: var(--bfg-navy); font-size: .94rem; font-weight: 700; text-decoration: none; }
.bfg-nav-list .menu-link { display: inline-flex; align-items: center; }
.bfg-nav a:hover, .bfg-nav a:focus-visible { background: var(--bfg-light); color: var(--bfg-blue); }
/* Keep draft-preview navigation visible even when inherited theme styles conflict. */
.bfg-header .bfg-nav { display: flex !important; visibility: visible !important; opacity: 1 !important; position: relative; z-index: 10; }
.bfg-header .bfg-nav a { display: inline-flex; align-items: center; flex: 0 0 auto; }

/* Homepage hero */
.bfg-home { overflow: hidden; }
.bfg-hero { position: relative; width: min(1240px, calc(100% - 48px)); min-height: 435px; margin: 34px auto 0; padding: clamp(30px, 5.6vw, 74px); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); align-items: center; gap: clamp(26px, 4vw, 58px); overflow: hidden; border-radius: 28px; background: radial-gradient(circle at 90% 8%, rgba(56,163,165,.14), transparent 34%), linear-gradient(120deg, #F4F8FB 0%, #EFF7F8 100%); }
.bfg-hero-copy { position: relative; z-index: 2; max-width: 660px; }
.bfg-eyebrow { margin: 0 0 14px; color: #17678B; font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .15em; }
.bfg-hero h1 { max-width: 680px; margin: 0 0 22px; }
.bfg-hero-intro { max-width: 620px; color: #405767; font-size: clamp(1.06rem, 1.65vw, 1.2rem); line-height: 1.75; }
.bfg-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; margin-top: 10px; padding: 13px 19px; border: 1px solid var(--bfg-navy); border-radius: 9px; background: var(--bfg-navy); color: white !important; font-weight: 750; text-decoration: none; box-shadow: 0 7px 18px rgba(21,48,71,.12); transition: background .18s ease, transform .18s ease; }
.bfg-button:hover { background: var(--bfg-blue); border-color: var(--bfg-blue); transform: translateY(-1px); }
.bfg-hero-note { max-width: 530px; margin: 19px 0 0; color: var(--bfg-muted); font-size: .84rem; line-height: 1.55; }
.bfg-hero-art { position: relative; min-height: 290px; display: grid; place-items: center; overflow: hidden; isolation: isolate; border-radius: 24px; background: linear-gradient(145deg, #153047 0%, #1B5974 62%, #247BA0 100%); box-shadow: 0 24px 48px rgba(21,48,71,.17); }
.bfg-hero-art:before, .bfg-hero-art:after { content: ""; position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.bfg-hero-art:before { width: 280px; height: 280px; transform: translate(-24px, 7px); }
.bfg-hero-art:after { width: 210px; height: 210px; transform: translate(45px, -18px); }
.bfg-water-ring { position: absolute; width: 340px; height: 340px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.bfg-water-ring-one { transform: translate(4px, 12px); }
.bfg-water-ring-two { transform: translate(-50px, -20px) scale(.7); }
.bfg-fish-shape { position: relative; width: 154px; height: 72px; border-radius: 58% 43% 44% 58%; transform: rotate(-8deg); background: linear-gradient(110deg, #38A3A5, #83D8D0 55%, #F1B7A2); box-shadow: 0 16px 38px rgba(0,0,0,.2); }
.bfg-fish-shape:before { content: ""; position: absolute; left: -56px; top: -22px; width: 74px; height: 112px; border-radius: 85% 15% 80% 20%; transform: rotate(-25deg); background: linear-gradient(160deg, #38A3A5, #247BA0 80%); }
.bfg-fish-shape:after { content: ""; position: absolute; right: -29px; top: -12px; width: 52px; height: 48px; border-radius: 0 90% 0 90%; transform: rotate(20deg); background: #F1B7A2; }
.bfg-fish-eye { position: absolute; z-index: 2; top: 20px; left: 22px; width: 7px; height: 7px; border-radius: 50%; background: var(--bfg-navy); box-shadow: inset 2px 1px 0 white; }
.bfg-art-label { position: absolute; bottom: 22px; color: rgba(255,255,255,.82); font-size: .66rem; letter-spacing: .2em; font-weight: 850; }

/* Homepage content */
.section-shell { width: min(1120px, calc(100% - 48px)); margin: 86px auto; }
.bfg-section-heading { max-width: 720px; margin-bottom: 28px; }
.bfg-section-heading h2 { margin: 0 0 13px; }
.bfg-section-heading > p:last-child { color: var(--bfg-muted); }
.bfg-feature-card { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 27px; padding: clamp(25px, 4vw, 46px); border: 1px solid var(--bfg-border); border-radius: 20px; background: white; box-shadow: var(--bfg-shadow); }
.bfg-feature-number { color: #80C8C9; font-size: 3.1rem; font-weight: 850; line-height: 1; }
.bfg-card-kicker { margin: 0 0 10px; color: #17678B; text-transform: uppercase; letter-spacing: .12em; font-size: .73rem; font-weight: 850; }
.bfg-feature-copy h3 { margin: 0 0 12px; font-size: clamp(1.4rem, 2.5vw, 2rem); }
.bfg-feature-copy h3 a { color: var(--bfg-navy); text-decoration: none; }
.bfg-feature-copy h3 a:hover { color: var(--bfg-blue); text-decoration: underline; }
.bfg-feature-copy > p:not(.bfg-card-kicker) { max-width: 790px; color: var(--bfg-muted); }
.bfg-text-link { display: inline-flex; gap: 9px; align-items: center; color: #17678B; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(23,103,139,.35); text-underline-offset: 4px; }
.bfg-text-link:hover { color: var(--bfg-navy); text-decoration-color: currentColor; }
.bfg-topics { margin-top: 96px; margin-bottom: 96px; }
.bfg-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bfg-topic-card { position: relative; min-height: 218px; padding: 29px; border: 1px solid var(--bfg-border); border-radius: 17px; background: white; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.bfg-topic-card:hover { border-color: #B5D8E1; box-shadow: 0 12px 30px rgba(21,48,71,.055); transform: translateY(-2px); }
.bfg-topic-index { display: inline-block; margin-bottom: 16px; color: #17678B; font-size: .73rem; font-weight: 850; letter-spacing: .14em; }
.bfg-topic-card h3 { margin: 0 0 10px; }
.bfg-topic-card p { max-width: 490px; color: var(--bfg-muted); margin-bottom: 15px; }
.bfg-topic-status { display: inline-block; color: #536777; font-size: .86rem; font-weight: 700; }
.bfg-principles { position: relative; overflow: hidden; background: var(--bfg-navy); color: white; padding: clamp(50px, 7vw, 86px) 24px; }
.bfg-principles:after { content: ""; position: absolute; width: 330px; height: 330px; right: -100px; top: -145px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 36px rgba(255,255,255,.025), 0 0 0 72px rgba(255,255,255,.02); pointer-events: none; }
.bfg-principles-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.bfg-principles h2 { color: white; max-width: 680px; margin-bottom: 20px; }
.bfg-principles .bfg-eyebrow { color: #8ED5D2; }
.bfg-principles p:last-child { max-width: 760px; margin-bottom: 0; color: #E3EDF3; }

/* Compact footer: avoids repeating a large brand block */
.bfg-footer { background: #F4F8FB; border-top: 1px solid var(--bfg-border); }
.bfg-footer-inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 25px 0 22px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 26px; }
.bfg-footer-brand { grid-column: 1; color: var(--bfg-navy); font-size: .96rem; font-weight: 850; text-decoration: none; }
.bfg-footer p { grid-column: 1; margin: 0; color: var(--bfg-muted); font-size: .86rem; }
.bfg-footer-links { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; }
.bfg-footer-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; }
.bfg-footer-menu .menu-item { list-style: none; margin: 0; padding: 0; }
.bfg-footer-menu .menu-link { font-size: .88rem; font-weight: 700; }
.bfg-footer-links a { font-size: .88rem; font-weight: 700; }
.bfg-footer small { grid-column: 1 / -1; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--bfg-border); color: var(--bfg-muted); font-size: .78rem; }

/* Editorial article and page layouts */
.bfg-editorial-shell { width: min(820px, calc(100% - 40px)); margin: 38px auto 82px; }
.bfg-article { background: white; }
.bfg-breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; color: var(--bfg-muted); font-size: .85rem; }
.bfg-breadcrumbs a { font-weight: 750; }
.bfg-article-header { padding: clamp(27px, 5vw, 54px); background: linear-gradient(125deg, #F4F8FB, #EDF6F7); border: 1px solid #E8F0F3; border-radius: 22px; margin-bottom: 38px; }
.bfg-article-kicker { color: #17678B; font-size: .73rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 14px; }
.bfg-article-title { font-size: clamp(2.2rem, 5vw, 3.65rem); margin: 0 0 18px; }
.bfg-article-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--bfg-muted); font-size: .87rem; }
.bfg-article-deck { font-size: 1.13rem; line-height: 1.7; color: #405767; margin: 22px 0 0; }
.bfg-article-content { max-width: 760px; margin: 0 auto; overflow-wrap: anywhere; }
.bfg-article-content p { margin-block: 0 1.35em; }
.bfg-article-content ul, .bfg-article-content ol { padding-left: 1.5em; margin-bottom: 1.5em; }
.bfg-article-content li { padding-left: .2em; margin-bottom: .45em; }
.bfg-article-content blockquote { border-left: 4px solid var(--bfg-teal); margin: 1.8em 0; padding: 12px 20px; background: var(--bfg-light); color: #405767; }
.bfg-article-content img { height: auto; max-width: 100%; border-radius: 12px; }
.bfg-article-content a { text-decoration: underline; text-underline-offset: 3px; }
.bfg-article-content a:hover { text-decoration-thickness: 2px; }
.bfg-article-content table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.bfg-article-content th, .bfg-article-content td { padding: 12px 14px; border: 1px solid var(--bfg-border); vertical-align: top; }
.bfg-article-content th { background: var(--bfg-light); color: var(--bfg-navy); text-align: left; }
.bfg-article-end { margin-top: 52px; padding: 25px; border: 1px solid var(--bfg-border); border-radius: 16px; background: var(--bfg-light); }
.bfg-article-end p { margin-top: 0; color: #405767; }
.bfg-page-shell { margin-top: 48px; }
.bfg-listing-shell { max-width: 1120px; width: calc(100% - 48px); margin: 56px auto 84px; }
.bfg-listing-header { margin-bottom: 30px; }
.bfg-listing-header h1 { margin-bottom: 12px; }
.bfg-listing-description { color: var(--bfg-muted); }
.bfg-listing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bfg-listing-card { padding: 28px; border: 1px solid var(--bfg-border); border-radius: 17px; background: #fff; }
.bfg-listing-card h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.bfg-listing-card h2 a { color: var(--bfg-navy); text-decoration: none; }
.bfg-listing-card h2 a:hover { color: var(--bfg-blue); text-decoration: underline; }
.bfg-listing-card p:not(.bfg-card-kicker) { color: var(--bfg-muted); }
.bfg-pagination { margin-top: 35px; }
.bfg-404 { max-width: 760px; width: calc(100% - 40px); min-height: 48vh; margin: 60px auto; padding: clamp(30px, 6vw, 70px); background: var(--bfg-light); border: 1px solid var(--bfg-border); border-radius: 22px; }
.bfg-404 h1 { max-width: 650px; }
.bfg-404 p:not(.bfg-eyebrow) { max-width: 580px; color: var(--bfg-muted); }

/* Responsive refinements */
@media (max-width: 800px) {
  body { font-size: 16px; }
  .bfg-header-inner { width: calc(100% - 32px); min-height: 72px; gap: 12px; flex-wrap: wrap; padding: 12px 0; }
  .bfg-brand { font-size: 1.04rem; }
  .bfg-brand-mark { width: 35px; height: 35px; }
  .bfg-nav { gap: 3px; }
  .bfg-nav a { padding: 8px 9px; font-size: .88rem; }
  .bfg-hero { width: calc(100% - 28px); margin-top: 16px; grid-template-columns: 1fr; gap: 26px; padding: 28px 22px; border-radius: 19px; }
  .bfg-hero-art { min-height: 225px; }
  .bfg-fish-shape { transform: scale(.84) rotate(-8deg); }
  .section-shell { width: calc(100% - 32px); margin: 58px auto; }
  .bfg-feature-card { grid-template-columns: 1fr; gap: 10px; padding: 24px; }
  .bfg-feature-number { font-size: 2.1rem; }
  .bfg-topic-grid { grid-template-columns: 1fr; }
  .bfg-topic-card { min-height: auto; padding: 23px; }
  .bfg-principles { padding: 48px 24px; }
  .bfg-footer-inner { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 10px; }
  .bfg-footer-brand, .bfg-footer p, .bfg-footer-links, .bfg-footer small { grid-column: 1; grid-row: auto; }
  .bfg-footer-links { justify-content: flex-start; margin: 5px 0; }
  .bfg-editorial-shell { width: calc(100% - 28px); margin: 22px auto 58px; }
  .bfg-article-header { padding: 25px 22px; border-radius: 16px; margin-bottom: 28px; }
  .bfg-article-title { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .bfg-article-content table { display: block; max-width: 100%; overflow-x: auto; }
  .bfg-listing-shell { width: calc(100% - 32px); margin: 38px auto 60px; }
  .bfg-listing-grid { grid-template-columns: 1fr; }
  .bfg-article-end { padding: 22px; }
  .bfg-404 { width: calc(100% - 28px); margin: 30px auto; padding: 28px 22px; }
}
/* UI polish v1.1 — top navigation, clearer hierarchy, redesigned footer */
.bfg-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #DCE6ED;
  box-shadow: 0 5px 20px rgba(21,48,71,.055);
  backdrop-filter: blur(14px);
}
.admin-bar .bfg-header { top: 32px; }
.bfg-header-inner {
  width: min(1220px, calc(100% - 48px));
  min-height: 88px;
  gap: 28px;
}
.bfg-brand { gap: 13px; }
.bfg-brand-mark {
  position: relative;
  width: 43px; height: 43px;
  border-radius: 14px 14px 14px 5px;
  background: linear-gradient(145deg, #153047, #247BA0);
  box-shadow: 0 6px 15px rgba(21,48,71,.18);
}
.bfg-brand-mark span { position: absolute; left: 10px; top: 14px; width: 19px; height: 12px; border-radius: 65% 40% 55% 45%; background: #8ED5D2; transform: rotate(-8deg); }
.bfg-brand-mark i { position: absolute; left: 5px; top: 12px; width: 10px; height: 16px; border-radius: 90% 10% 80% 20%; background: #38A3A5; transform: rotate(-24deg); }
.bfg-brand-copy { display: flex; flex-direction: column; line-height: 1.15; gap: 4px; }
.bfg-brand-copy strong { color: #153047; font-size: 1.1rem; font-weight: 850; }
.bfg-brand-copy small { color: #536777; font-size: .72rem; font-weight: 650; letter-spacing: .06em; }
.bfg-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 5px; }
.bfg-nav a { padding: 11px 14px; border-radius: 9px; color: #263746; font-size: .92rem; font-weight: 750; white-space: nowrap; }
.bfg-nav a:hover, .bfg-nav a:focus-visible { background: #EAF4F7; color: #153047; }
.bfg-nav a:last-child { background: #153047; color: #fff; }
.bfg-nav a:last-child:hover { background: #247BA0; }
.bfg-hero { margin-top: 28px; }
.bfg-home { background: linear-gradient(180deg, #fff 0%, #fff 65%, #F7FAFC 100%); }
.bfg-topic-card { box-shadow: 0 5px 18px rgba(21,48,71,.025); }
.bfg-topic-card h3 { letter-spacing: -.025em; }
.bfg-article-content { font-size: 1.04rem; line-height: 1.82; }
.bfg-article-content h2 { margin-top: 1.8em; margin-bottom: .65em; }
.bfg-article-content h3 { margin-top: 1.5em; margin-bottom: .55em; }
.bfg-article-content :focus-visible { outline: 3px solid #38A3A5; outline-offset: 3px; }

/* Rich footer with clear navigation and a quiet legal line */
.bfg-footer {
  margin-top: 76px;
  color: #EAF2F7;
  background: linear-gradient(135deg, #10283B 0%, #153047 60%, #1C4B62 100%);
  border-top: 4px solid #38A3A5;
}
.bfg-footer-main {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(150px, .65fr) minmax(240px, 1fr);
  gap: clamp(25px, 4vw, 58px);
}
.bfg-footer-about { max-width: 360px; }
.bfg-footer-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.bfg-footer-brand:hover { color: #8ED5D2; }
.bfg-footer-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px 13px 13px 4px; background: #38A3A5; color: #10283B; font-weight: 900; font-size: 1.1rem; }
.bfg-footer-brand > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.bfg-footer-brand strong { font-size: 1.08rem; line-height: 1.2; }
.bfg-footer-brand small { color: #A9C4D2; font-size: .77rem; letter-spacing: .08em; }
.bfg-footer-about > p { margin: 19px 0 0; max-width: 330px; color: #C4D5DF; font-size: .93rem; line-height: 1.75; }
.bfg-footer-nav-wrap h2, .bfg-footer-note h2 { color: #fff; font-size: .95rem; letter-spacing: 0; margin: 3px 0 17px; }
.bfg-footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.bfg-footer-links a { color: #D9E7EE; font-size: .9rem; font-weight: 650; text-decoration: none; }
.bfg-footer-links a:hover { color: #8ED5D2; text-decoration: underline; text-underline-offset: 4px; }
.bfg-footer-note { align-self: start; padding: 22px; border: 1px solid rgba(220,238,246,.18); border-radius: 15px; background: rgba(255,255,255,.055); }
.bfg-footer-note-icon { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 15px; border-radius: 50%; background: #8ED5D2; color: #153047; font-weight: 900; }
.bfg-footer-note h2 { margin-bottom: 9px; }
.bfg-footer-note p { margin: 0; color: #C4D5DF; font-size: .86rem; line-height: 1.7; }
.bfg-footer-bottom { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 18px 0 21px; border-top: 1px solid rgba(220,238,246,.16); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; color: #B4C9D5; font-size: .78rem; }

/* Prevent anchor targets hiding behind the sticky menu */
#topics-heading, #our-approach { scroll-margin-top: 115px; }

@media (max-width: 900px) {
  .bfg-header-inner { width: calc(100% - 32px); min-height: auto; padding: 13px 0; gap: 12px; flex-wrap: wrap; }
  .bfg-nav { width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 2px 0 4px; }
  .bfg-nav a { padding: 9px 12px; font-size: .86rem; }
  .bfg-footer-main { grid-template-columns: 1fr 1fr; gap: 30px; padding: 40px 0 32px; }
  .bfg-footer-about { grid-column: 1 / -1; max-width: 540px; }
  .bfg-footer-note { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .admin-bar .bfg-header { top: 0; }
  .bfg-header-inner { width: calc(100% - 28px); }
  .bfg-brand-mark { width: 38px; height: 38px; }
  .bfg-brand-copy strong { font-size: 1rem; }
  .bfg-nav { gap: 3px; }
  .bfg-nav a { padding: 8px 10px; font-size: .82rem; }
  .bfg-hero { margin-top: 12px; }
  .bfg-footer { margin-top: 52px; }
  .bfg-footer-main, .bfg-footer-bottom { width: calc(100% - 32px); }
  .bfg-footer-main { grid-template-columns: 1fr; gap: 27px; padding: 34px 0 27px; }
  .bfg-footer-about, .bfg-footer-note { grid-column: 1; }
  .bfg-footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* BFG redesign v2 — distinct homepage layout for private preview */
.bfg-hero-refresh {
  width: min(1240px, calc(100% - 48px));
  min-height: 500px;
  margin-top: 24px;
  padding: clamp(28px, 5vw, 68px);
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, .8fr);
  gap: clamp(30px, 5vw, 76px);
  border: 1px solid #E4ECEB;
  border-radius: 10px 34px 10px 34px;
  background: linear-gradient(125deg, #F7FAF7 0%, #EDF6F3 56%, #E5F0ED 100%);
}
.bfg-hero-refresh .bfg-eyebrow { display: flex; align-items: center; gap: 9px; color: #176D67; }
.bfg-eyebrow-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #D88964; box-shadow: 0 0 0 5px rgba(216,137,100,.13); }
.bfg-hero-refresh h1 { max-width: 660px; margin: 0 0 20px; font-size: clamp(2.65rem, 5.4vw, 4.8rem); letter-spacing: -.055em; }
.bfg-hero-refresh h1 em { color: #207A72; font-family: Georgia, serif; font-weight: 500; }
.bfg-hero-refresh .bfg-hero-intro { max-width: 580px; color: #425B59; }
.bfg-hero-refresh .bfg-button { border-color: #174A4A; border-radius: 5px 14px 5px 14px; background: #174A4A; box-shadow: 0 10px 22px rgba(23,74,74,.15); }
.bfg-hero-refresh .bfg-button:hover { background: #207A72; border-color: #207A72; }
.bfg-hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 25px; color: #4C6562; font-size: .8rem; font-weight: 750; }
.bfg-hero-trust > span:first-child, .bfg-hero-trust > span:nth-of-type(2) { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #D9EAE4; color: #176D67; }
.bfg-trust-divider { width: 1px; height: 17px; margin: 0 5px; background: #C5D8D1; }
.bfg-hero-aside { overflow: hidden; border: 1px solid rgba(23,74,74,.12); border-radius: 22px 6px 22px 6px; background: #174A4A; box-shadow: 0 22px 48px rgba(23,74,74,.16); }
.bfg-water-art { position: relative; min-height: 300px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 50% 45%, #2B8077 0%, #1D625F 42%, #174A4A 78%); }
.bfg-water-orbit { position: absolute; border: 1px solid rgba(235,248,239,.22); border-radius: 50%; }
.orbit-a { width: 250px; height: 250px; transform: rotate(-25deg) scaleX(1.18); }
.orbit-b { width: 330px; height: 330px; transform: rotate(28deg) scaleX(.75); }
.bfg-water-art .bfg-fish-shape { transform: rotate(-9deg) scale(1.15); background: linear-gradient(115deg, #D88964 0%, #F0C5A4 42%, #F4E7C8 100%); }
.bfg-water-art .bfg-fish-shape:before { background: linear-gradient(160deg, #D88964, #A95F57 85%); }
.bfg-water-art .bfg-fish-shape:after { background: #D88964; }
.bfg-water-art .bfg-fish-eye { background: #173E3E; }
.bfg-water-bubble { position: absolute; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; }
.bubble-a { width: 13px; height: 13px; top: 52px; right: 70px; }
.bubble-b { width: 7px; height: 7px; top: 83px; right: 51px; }
.bfg-aside-caption { display: flex; align-items: center; gap: 15px; padding: 20px 23px 22px; color: #F6F5EB; }
.bfg-aside-number { color: #E7B99B; font-size: 1.8rem; font-weight: 800; letter-spacing: -.06em; }
.bfg-aside-caption strong, .bfg-aside-caption small { display: block; }
.bfg-aside-caption strong { font-size: .95rem; }
.bfg-aside-caption small { margin-top: 3px; color: #C2D9D0; font-size: .78rem; }
.bfg-featured-refresh { margin-top: 78px; }
.bfg-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.bfg-heading-row h2 { margin-bottom: 0; }
.bfg-heading-note { padding-bottom: 5px; color: #647A75; font-size: .83rem; }
.bfg-feature-card-refresh { grid-template-columns: 92px minmax(0,1fr) 90px; align-items: center; border-radius: 7px 22px 7px 22px; border-color: #DCE8E2; box-shadow: 0 14px 40px rgba(23,74,74,.06); }
.bfg-feature-card-refresh .bfg-feature-number { color: #207A72; font-size: 3.4rem; letter-spacing: -.08em; }
.bfg-feature-card-refresh .bfg-feature-number span { color: #D88964; }
.bfg-feature-card-refresh .bfg-card-kicker { color: #207A72; }
.bfg-feature-card-refresh .bfg-feature-copy h3 a { text-decoration: underline; text-decoration-color: #B9D7CE; text-underline-offset: 5px; }
.bfg-feature-side { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #54716A; font-size: .62rem; font-weight: 850; line-height: 1.4; letter-spacing: .1em; text-align: center; }
.bfg-feature-side-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #E4F0EA; color: #176D67; font-size: 1.35rem; }
.bfg-topics-refresh { margin-top: 96px; margin-bottom: 96px; }
.bfg-topics-refresh .bfg-section-heading { max-width: 760px; margin-bottom: 35px; }
.bfg-topics-refresh .bfg-topic-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bfg-topics-refresh .bfg-topic-card { min-height: 286px; padding: 25px 22px; border-radius: 6px 18px 6px 18px; border-color: #E0E9E4; box-shadow: none; }
.bfg-topics-refresh .bfg-topic-card:hover { border-color: #A9CEC2; background: #FBFDFB; box-shadow: 0 12px 28px rgba(23,74,74,.06); }
.bfg-topics-refresh .bfg-topic-index { color: #207A72; font-size: .68rem; letter-spacing: .1em; }
.bfg-topics-refresh .bfg-topic-card h3 { font-size: 1.25rem; letter-spacing: -.04em; }
.bfg-topics-refresh .bfg-topic-card p { font-size: .92rem; line-height: 1.65; }
.bfg-topics-refresh .bfg-topic-status { padding-top: 2px; color: #647A75; font-size: .78rem; font-weight: 750; }
.bfg-principles-refresh { background: #173E3E; border-radius: 0 36px 0 36px; }
.bfg-principles-refresh:after { border-color: rgba(234,244,234,.14); box-shadow: 0 0 0 36px rgba(234,244,234,.025), 0 0 0 72px rgba(234,244,234,.02); }
.bfg-principles-refresh .bfg-principles-inner { max-width: 1120px; }
.bfg-principles-refresh h2 { max-width: 760px; font-size: clamp(2rem, 4vw, 3.2rem); }
.bfg-principles-refresh .bfg-eyebrow { color: #E7B99B; }
.bfg-principle-points { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; margin-top: 38px; }
.bfg-principle-points > div { padding-top: 18px; border-top: 1px solid rgba(234,244,234,.22); }
.bfg-principle-points > div > span { color: #E7B99B; font-size: .76rem; font-weight: 850; letter-spacing: .12em; }
.bfg-principle-points p { margin: 11px 0 0; color: #D6E7DF; font-size: .94rem; line-height: 1.7; }
.bfg-principle-points strong { color: #fff; }
@media (max-width: 1000px) {
  .bfg-hero-refresh { grid-template-columns: minmax(0,1fr) minmax(260px,.75fr); gap: 26px; }
  .bfg-topics-refresh .bfg-topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bfg-topics-refresh .bfg-topic-card { min-height: 230px; }
}
@media (max-width: 760px) {
  .bfg-hero-refresh { width: calc(100% - 28px); grid-template-columns: 1fr; padding: 28px 22px; border-radius: 8px 24px 8px 24px; }
  .bfg-hero-refresh h1 { font-size: clamp(2.45rem, 10vw, 3.7rem); }
  .bfg-water-art { min-height: 240px; }
  .bfg-heading-row { display: block; }
  .bfg-heading-note { display: inline-block; margin-top: 14px; }
  .bfg-feature-card-refresh { grid-template-columns: 1fr; gap: 12px; }
  .bfg-feature-side { display: none; }
  .bfg-topics-refresh .bfg-topic-grid { grid-template-columns: 1fr; }
  .bfg-topics-refresh .bfg-topic-card { min-height: auto; padding: 24px; }
  .bfg-principles-refresh { border-radius: 0 24px 0 24px; }
  .bfg-principle-points { grid-template-columns: 1fr; gap: 17px; margin-top: 28px; }
  .bfg-principle-points > div { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 8px; }
  .bfg-principle-points p { margin-top: 0; }
}

/* Force WordPress-generated menu lists to display horizontally in the custom header/footer. */
.bfg-header .bfg-nav { display: flex !important; flex-direction: row !important; align-items: center !important; }
.bfg-header .bfg-nav > div { width: auto !important; }
.bfg-header .bfg-nav ul.bfg-nav-list { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: flex-end !important; gap: 5px !important; width: auto !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.bfg-header .bfg-nav ul.bfg-nav-list > li { display: flex !important; flex: 0 0 auto !important; width: auto !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.bfg-header .bfg-nav ul.bfg-nav-list > li > a { display: inline-flex !important; white-space: nowrap !important; }
.bfg-footer .bfg-footer-links ul.bfg-footer-menu { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.bfg-footer .bfg-footer-links ul.bfg-footer-menu > li { display: block !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
@media (max-width: 900px) {
  .bfg-header .bfg-nav ul.bfg-nav-list { justify-content: flex-start !important; overflow-x: auto !important; }
}
