/* =================================================================
   chat gpt5 — custom child theme stylesheet
   Design system: Tech Clean Azur (id: tech-clean-azure-10)
   Palette pulled from competitor aimagazine.com (coral editorial)
   Fonts: Inter (headings + body) — per DB design pick
   Layout: sticky-minimal header / featured-article hero / sandwich
   ================================================================= */

/* ---------- 0. Design tokens ---------- */
:root {
  --bc3-primary:   #de6652;
  --bc3-primary-dark: #c4533f;
  --bc3-accent:    #ff6f00;
  --bc3-text:      #0f0f0f;
  --bc3-text-soft: #646464;
  --bc3-bg:        #ffffff;
  --bc3-surface:   #f8f8f6;
  --bc3-line:      #d1d1d1;
  --bc3-line-soft: #ececec;
  --bc3-shadow-sm: 0 1px 2px rgba(15,15,15,0.04);
  --bc3-shadow-md: 0 4px 18px rgba(15,15,15,0.06);
  --bc3-shadow-lg: 0 14px 40px rgba(15,15,15,0.10);
  --bc3-radius:    14px;
  --bc3-radius-sm: 8px;
  --bc3-radius-pill: 999px;
  --bc3-container: 1240px;
  --bc3-font-h: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bc3-font-b: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bc3-header-h: 72px;
  --bc3-transition: 0.25s cubic-bezier(.2,.7,.2,1);
}

/* ---------- 1. Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--bc3-font-b);
  color: var(--bc3-text);
  background: var(--bc3-bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--bc3-primary); text-decoration: none; transition: color var(--bc3-transition); }
a:hover, a:focus-visible { color: var(--bc3-primary-dark); }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--bc3-font-h);
  font-weight: 800;
  line-height: 1.2;
  color: var(--bc3-text);
  margin: 0 0 .6em;
  letter-spacing: -0.012em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; }
hr { border: 0; border-top: 1px solid var(--bc3-line-soft); margin: 2.4rem 0; }
.bc3-container { width: 100%; max-width: var(--bc3-container); margin: 0 auto; padding: 0 1.4rem; }
main.bc3-main, .bc3-main { padding-top: 0 !important; margin-top: 0 !important; min-height: 60vh; }

/* ---------- 2. Buttons ---------- */
.bc3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: var(--bc3-radius-pill);
  font-family: var(--bc3-font-h); font-weight: 700; font-size: .96rem;
  letter-spacing: .01em; line-height: 1; cursor: pointer;
  border: 1px solid transparent; background: var(--bc3-primary); color: #fff;
  transition: background var(--bc3-transition), transform var(--bc3-transition), color var(--bc3-transition);
  text-decoration: none;
}
.bc3-btn:hover, .bc3-btn:focus-visible { background: var(--bc3-primary-dark); color: #fff; transform: translateY(-1px); }
.bc3-btn--ghost { background: transparent; color: var(--bc3-text); border-color: var(--bc3-line); }
.bc3-btn--ghost:hover { background: var(--bc3-text); color: #fff; border-color: var(--bc3-text); }
.bc3-btn--dark { background: var(--bc3-text); color: #fff; }
.bc3-btn--dark:hover { background: #1d1d1d; color: #fff; }

/* CTA: border_draw_button animation */
.bc3-btn--cta { position: relative; isolation: isolate; overflow: hidden; }
.bc3-btn--cta::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 2px; background: linear-gradient(120deg, transparent 0%, transparent 35%, currentColor 50%, transparent 65%, transparent 100%);
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.bc3-btn--cta:hover::before { opacity: 1; animation: bc3-cta-border-draw 1.4s linear infinite; }
@keyframes bc3-cta-border-draw { 0% { background-position: 100% 0; } 100% { background-position: -150% 0; } }

/* CTR: animated_arrow_down */
.bc3-arrow-down { display: inline-block; width: 28px; height: 28px; position: relative; vertical-align: middle; color: inherit; }
.bc3-arrow-down::before, .bc3-arrow-down::after {
  content: ""; position: absolute; left: 50%; top: 6px;
  width: 12px; height: 12px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translate(-50%, 0) rotate(45deg);
  animation: bc3-arrow-bounce 1.6s ease-in-out infinite;
}
.bc3-arrow-down::after { top: 14px; opacity: .5; animation-delay: .25s; }
@keyframes bc3-arrow-bounce {
  0%, 100% { transform: translate(-50%, 0) rotate(45deg); opacity: .9; }
  50% { transform: translate(-50%, 6px) rotate(45deg); opacity: .35; }
}

/* CTO: secure_payment_badge */
.bc3-secure-badge { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--bc3-text); }
.bc3-secure-badge .bc3-badge-dot {
  display: inline-block; width: 12px; height: 12px; border-radius: 50%;
  background: #16a34a; position: relative;
  animation: bc3-badge-pulse 2.2s ease-in-out infinite;
}
.bc3-secure-badge .bc3-badge-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #16a34a; opacity: .6;
  animation: bc3-badge-ring 2.2s ease-out infinite;
}
@keyframes bc3-badge-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes bc3-badge-ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.4); opacity: 0; } }

/* ---------- 3. Header (sticky-minimal) ---------- */
.bc3-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--bc3-line-soft);
  transition: background var(--bc3-transition), box-shadow var(--bc3-transition);
}
.bc3-header.is-scrolled { background: rgba(255, 255, 255, 0.96); box-shadow: var(--bc3-shadow-sm); }
.bc3-header-inner {
  display: flex; align-items: center; gap: 1.6rem;
  height: var(--bc3-header-h);
  width: 100%; max-width: var(--bc3-container);
  margin: 0 auto; padding: 0 1.4rem;
  justify-content: flex-start;
}
.bc3-brand-link {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--bc3-text);
  font-family: var(--bc3-font-h); font-weight: 800; font-size: 1.18rem;
  letter-spacing: 0; flex-shrink: 0;
}
.bc3-brand-logo { width: 38px; height: 38px; object-fit: contain; }
.bc3-brand-name {
  /* Casing variant C — lowercase (MD5 seed) */
  text-transform: lowercase;
  letter-spacing: 0;
  color: var(--bc3-text);
}

/* Desktop nav — visible only ≥1024px */
.bc3-nav-desktop { display: none; }
.bc3-nav-desktop-list {
  display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; align-items: center;
}
.bc3-nav-desktop-list a {
  color: var(--bc3-text); text-decoration: none;
  font-family: var(--bc3-font-h); font-weight: 500; font-size: .96rem;
  padding: .4rem .2rem; position: relative;
  transition: color .25s ease;
}
.bc3-nav-desktop-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--bc3-accent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s; opacity: 0;
}
.bc3-nav-desktop-list a:hover, .bc3-nav-desktop-list a:focus-visible { color: var(--bc3-primary); }
.bc3-nav-desktop-list a:hover::after, .bc3-nav-desktop-list a:focus-visible::after { transform: scaleX(1); opacity: 1; }

/* Burger button (mobile only) */
.bc3-burger {
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: auto;
  background: transparent; border: 0; padding: .55rem;
  cursor: pointer; color: var(--bc3-text);
  border-radius: 8px; transition: background .2s;
}
.bc3-burger:hover { background: var(--bc3-surface); }
.bc3-burger svg { width: 26px; height: 26px; }

/* Mobile drawer (.bc3-nav) — hidden by default */
.bc3-nav { display: none; }
.bc3-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9998;
}
.bc3-nav-overlay.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 1023.98px) {
  .bc3-nav.is-open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 86%; max-width: 380px;
    background: #ffffff;
    padding: 4.8rem 1.6rem 2rem;
    z-index: 9999;
    box-shadow: -10px 0 30px rgba(0,0,0,0.25);
    overflow-y: auto;
    animation: bc3-drawer-slide-in .35s cubic-bezier(.2,.7,.2,1);
  }
  .bc3-nav.is-open ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
  .bc3-nav.is-open ul li { border-bottom: 1px solid var(--bc3-line-soft); }
  .bc3-nav.is-open ul li a {
    display: block; padding: 1rem .2rem;
    color: #0a0a0a; font-family: var(--bc3-font-h); font-weight: 600; font-size: 1.05rem;
    text-decoration: none;
  }
  .bc3-nav.is-open ul li a:hover, .bc3-nav.is-open ul li a:focus-visible { color: var(--bc3-primary); }
  .bc3-nav-close {
    position: absolute; top: 1.1rem; right: 1.1rem;
    background: transparent; border: 0; padding: .55rem;
    cursor: pointer; color: var(--bc3-text);
    border-radius: 8px;
  }
  .bc3-nav-close:hover { background: var(--bc3-surface); }
  .bc3-nav-close svg { width: 24px; height: 24px; }
}
@keyframes bc3-drawer-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }

@media (min-width: 1024px) {
  .bc3-nav-desktop { display: flex; flex: 1; justify-content: center; margin: 0 1.5rem; }
  .bc3-burger { display: none !important; }
  .bc3-nav { display: none !important; }
  .bc3-nav-overlay { display: none !important; }
}

/* ---------- 4. Hero (featured-article) ---------- */
.bc3-hero {
  position: relative; overflow: hidden;
  background: var(--bc3-bg);
  padding: 4rem 0 4.5rem;
  border-bottom: 1px solid var(--bc3-line-soft);
}
.bc3-hero-inner {
  display: grid; gap: 2.4rem;
  width: 100%; max-width: var(--bc3-container);
  margin: 0 auto; padding: 0 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .bc3-hero-inner { grid-template-columns: 1.05fr 1fr; align-items: center; }
}
.bc3-hero-content { display: flex; flex-direction: column; gap: 1.2rem; }
.bc3-hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--bc3-font-h); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--bc3-primary);
}
.bc3-hero-eyebrow .bc3-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--bc3-primary);
  animation: bc3-eyebrow-pulse 2.4s ease-in-out infinite;
}
@keyframes bc3-eyebrow-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.85); } }
.bc3-hero-title {
  font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 900;
  line-height: 1.05; letter-spacing: -0.02em; margin: 0;
}
.bc3-hero-title em { font-style: normal; color: var(--bc3-primary); }
.bc3-hero-sub {
  font-size: 1.12rem; color: var(--bc3-text-soft); margin: 0;
  max-width: 540px; line-height: 1.6;
}
.bc3-hero-meta { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; font-size: .92rem; color: var(--bc3-text-soft); }
.bc3-hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; margin-top: .6rem; }
.bc3-hero-media {
  position: relative;
  border-radius: var(--bc3-radius);
  overflow: hidden;
  box-shadow: var(--bc3-shadow-lg);
  aspect-ratio: 16 / 11;
  background: var(--bc3-surface);
}
.bc3-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.bc3-hero-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(15,15,15,0.85); color: #fff;
  padding: .35rem .8rem; border-radius: var(--bc3-radius-pill);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

/* ---------- 5. Editorial intro block (SEO 400-700 words) ---------- */
.bc3-editorial {
  padding: 4rem 0 3.5rem;
  background: var(--bc3-surface);
  border-bottom: 1px solid var(--bc3-line-soft);
}
.bc3-editorial-inner { max-width: 980px; margin: 0 auto; padding: 0 1.4rem; }
.bc3-editorial-kicker {
  display: inline-block; font-family: var(--bc3-font-h); font-weight: 700;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--bc3-primary); margin-bottom: 1rem;
}
.bc3-editorial h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.bc3-editorial h3 { font-size: 1.25rem; margin: 1.8rem 0 .5rem; }
.bc3-editorial p { font-size: 1.06rem; line-height: 1.75; color: var(--bc3-text); margin: 0 0 1.1em; }
.bc3-editorial-grid {
  display: grid; gap: 1.4rem;
  margin-top: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .bc3-editorial-grid { grid-template-columns: 1fr 1fr; } }
.bc3-editorial-card {
  background: #fff; border-radius: var(--bc3-radius);
  border: 1px solid var(--bc3-line-soft);
  padding: 1.4rem 1.4rem 1.3rem;
}
.bc3-editorial-card h4 {
  font-size: 1rem; margin: 0 0 .5rem;
  display: flex; align-items: center; gap: .5rem;
}
.bc3-editorial-card h4 a { color: var(--bc3-text); }
.bc3-editorial-card h4 a:hover { color: var(--bc3-primary); }
.bc3-editorial-card p { font-size: .96rem; line-height: 1.6; color: var(--bc3-text-soft); margin: 0; }
.bc3-editorial-pull {
  margin: 2.4rem 0 1.4rem;
  border-left: 4px solid var(--bc3-primary);
  padding: 1rem 0 1rem 1.4rem;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--bc3-text);
  background: #fff;
  border-radius: 0 8px 8px 0;
}

/* ---------- 6. Categories grid (home) ---------- */
.bc3-categories { padding: 4rem 0; }
.bc3-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.bc3-section-head h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.bc3-section-head p { margin: 0; color: var(--bc3-text-soft); }
.bc3-section-link {
  font-family: var(--bc3-font-h); font-weight: 600; font-size: .92rem;
  display: inline-flex; align-items: center; gap: .35rem; color: var(--bc3-primary);
}
.bc3-section-link:hover { color: var(--bc3-primary-dark); }

.bc3-cat-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .bc3-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .bc3-cat-grid { grid-template-columns: repeat(4, 1fr); } }

.bc3-cat-card {
  display: block; position: relative; overflow: hidden;
  border-radius: var(--bc3-radius);
  background: var(--bc3-surface);
  text-decoration: none; color: inherit;
  aspect-ratio: 4 / 5;
  transition: transform var(--bc3-transition), box-shadow var(--bc3-transition);
  isolation: isolate;
}
.bc3-cat-card:hover { transform: translateY(-4px); box-shadow: var(--bc3-shadow-md); }
.bc3-cat-card img {
  display: block;
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.bc3-cat-card:hover img { transform: scale(1.06); }
.bc3-cat-card-fallback {
  display: block; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bc3-primary) 0%, #c4533f 100%);
  z-index: 0;
}
.bc3-cat-card-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(15,15,15,0.85) 100%);
}
.bc3-cat-card-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.3rem 1.3rem 1.2rem;
  z-index: 2;
}
.bc3-cat-card-name {
  display: block; font-family: var(--bc3-font-h); font-weight: 800;
  font-size: 1.45rem; color: #fff; margin-bottom: .25rem; letter-spacing: -0.01em;
}
.bc3-cat-card-meta {
  display: block; font-size: .85rem; color: rgba(255,255,255,0.78); font-weight: 500;
}

/* ---------- 7. Article cards (latest posts) ---------- */
.bc3-latest { padding: 4rem 0; background: var(--bc3-surface); border-top: 1px solid var(--bc3-line-soft); }
.bc3-post-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .bc3-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .bc3-post-grid { grid-template-columns: repeat(3, 1fr); } }

.bc3-post-card {
  background: #fff; border-radius: var(--bc3-radius);
  overflow: hidden;
  border: 1px solid var(--bc3-line-soft);
  transition: transform var(--bc3-transition), box-shadow var(--bc3-transition);
  display: flex; flex-direction: column;
}
.bc3-post-card:hover { transform: translateY(-3px); box-shadow: var(--bc3-shadow-md); }
.bc3-post-thumb {
  display: block; aspect-ratio: 16 / 10; background: var(--bc3-surface);
  overflow: hidden;
}
.bc3-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bc3-post-card:hover .bc3-post-thumb img { transform: scale(1.04); }
.bc3-post-body { padding: 1.2rem 1.3rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.bc3-post-cat {
  display: inline-block; font-family: var(--bc3-font-h);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--bc3-primary); margin-bottom: .55rem;
}
.bc3-post-title { font-size: 1.18rem; font-weight: 800; line-height: 1.35; margin: 0 0 .6rem; }
.bc3-post-title a { color: var(--bc3-text); }
.bc3-post-title a:hover { color: var(--bc3-primary); }
.bc3-post-excerpt { font-size: .94rem; color: var(--bc3-text-soft); line-height: 1.6; margin: 0 0 .8rem; flex: 1; }
.bc3-post-meta { display: flex; align-items: center; gap: .55rem; font-size: .82rem; color: var(--bc3-text-soft); }
.bc3-post-meta .bc3-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .4; }
.bc3-post-empty {
  background: #fff; padding: 2.5rem 1.5rem; border-radius: var(--bc3-radius);
  border: 1px dashed var(--bc3-line); text-align: center; color: var(--bc3-text-soft); grid-column: 1 / -1;
}
.bc3-post-empty a { font-weight: 700; }

/* ---------- 8. Category page (sandwich) ---------- */
.bc3-cat-hero {
  position: relative;
  height: 320px; max-height: 350px;
  overflow: hidden;
}
.bc3-cat-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 1;
}
.bc3-cat-hero-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bc3-primary) 0%, #c4533f 100%);
  z-index: 1;
}
.bc3-cat-hero .bc3-container {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 1.8rem;
  background: linear-gradient(180deg, transparent 30%, rgba(15,15,15,0.78) 100%);
}
.bc3-cat-hero h1 {
  color: #fff; margin: 0; font-size: clamp(2rem, 4vw, 2.8rem);
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
}
.bc3-cat-hero-eyebrow {
  display: inline-block; font-family: var(--bc3-font-h);
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: #fff; opacity: .8; margin-bottom: .35rem;
}
.bc3-cat-intro {
  padding: 3rem 0 2.5rem; background: #fff;
}
.bc3-cat-intro-inner { max-width: 820px; margin: 0 auto; padding: 0 1.4rem; }
.bc3-cat-intro p { font-size: 1.08rem; line-height: 1.78; color: var(--bc3-text); }
.bc3-cat-articles { padding: 1rem 0 4rem; background: var(--bc3-surface); }
.bc3-cat-outro {
  padding: 3.5rem 0; background: #fff;
  border-top: 1px solid var(--bc3-line-soft);
}
.bc3-cat-outro-inner { max-width: 820px; margin: 0 auto; padding: 0 1.4rem; }
.bc3-cat-outro h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.bc3-cat-outro p { color: var(--bc3-text-soft); font-size: 1.02rem; line-height: 1.7; }
.bc3-pagination {
  margin: 2.5rem auto 0; display: flex; justify-content: center; gap: .5rem;
  flex-wrap: wrap;
}
.bc3-pagination a, .bc3-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 .85rem;
  border-radius: 10px; border: 1px solid var(--bc3-line); background: #fff;
  font-weight: 600; color: var(--bc3-text); text-decoration: none;
}
.bc3-pagination a:hover { background: var(--bc3-primary); color: #fff; border-color: var(--bc3-primary); }
.bc3-pagination .current { background: var(--bc3-text); color: #fff; border-color: var(--bc3-text); }

/* ---------- 9. Persona photo (about page) ---------- */
.bc3-persona-photo {
  display: block;
  width: 100%; max-width: 320px;
  height: auto;
  border-radius: var(--bc3-radius);
  margin: 2rem auto;
  box-shadow: var(--bc3-shadow-md);
  object-fit: cover; aspect-ratio: 2 / 3;
}

/* ---------- 10. Page content (about, contact, tools, single) ---------- */
.bc3-page {
  max-width: 820px; margin: 0 auto;
  padding: 3rem 1.4rem 4rem;
}
.bc3-page h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 1.4rem; }
.bc3-page h2 { font-size: 1.5rem; margin: 2rem 0 .8rem; }
.bc3-page h3 { font-size: 1.18rem; margin: 1.6rem 0 .5rem; }
.bc3-page p { font-size: 1.06rem; line-height: 1.78; color: var(--bc3-text); }
.bc3-page a { color: var(--bc3-primary); border-bottom: 1px solid currentColor; }
.bc3-page a:hover { color: var(--bc3-primary-dark); }
.bc3-page ul, .bc3-page ol { padding-left: 1.2rem; }
.bc3-page li { margin-bottom: .4rem; line-height: 1.7; }
.bc3-contact-form { margin: 2.4rem 0; }
.bc3-contact-form iframe { display: block; width: 100%; min-height: 1100px; border: 0; }

/* ---------- 11. Single article ---------- */
.bc3-single {
  background: #fff; padding: 3rem 0 4rem;
}
.bc3-single-header { max-width: 760px; margin: 0 auto; padding: 0 1.4rem 1.8rem; }
.bc3-single-cat {
  display: inline-block; font-family: var(--bc3-font-h);
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bc3-primary); margin-bottom: .8rem;
}
.bc3-single-title { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; margin: 0 0 .8rem; }
.bc3-single-lede { font-size: 1.18rem; color: var(--bc3-text-soft); line-height: 1.6; margin: 0 0 1.2rem; }
.bc3-single-meta { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; font-size: .9rem; color: var(--bc3-text-soft); }
.bc3-single-thumb { max-width: 1180px; margin: 0 auto 2.4rem; padding: 0 1.4rem; }
.bc3-single-thumb img { border-radius: var(--bc3-radius); }
.bc3-single-content { max-width: 760px; margin: 0 auto; padding: 0 1.4rem; }
.bc3-single-content p { font-size: 1.07rem; line-height: 1.78; }
.bc3-single-content h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.bc3-single-content h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.bc3-single-content img { border-radius: 12px; margin: 1.6rem 0; }
.bc3-single-content blockquote {
  border-left: 4px solid var(--bc3-primary);
  padding: .4rem 1.2rem; margin: 1.6rem 0;
  background: var(--bc3-surface); border-radius: 0 10px 10px 0;
  font-style: italic;
}

/* ---------- 12. Footer ---------- */
.bc3-footer {
  background: #0f0f0f; color: #e6e6e6;
  padding: 4rem 0 2rem; margin-top: 4rem;
}
.bc3-footer-inner {
  width: 100%; max-width: var(--bc3-container);
  margin: 0 auto; padding: 0 1.4rem;
}
.bc3-footer-cols {
  display: grid; gap: 2.4rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.6rem;
}
@media (min-width: 720px) { .bc3-footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.bc3-footer-col-brand .bc3-footer-logo {
  display: block; width: 64px; height: 64px;
  margin-bottom: 1rem; filter: drop-shadow(0 2px 6px rgba(255,255,255,0.05));
  background: #fff; border-radius: 14px; padding: 6px;
}
.bc3-footer-brand-pitch {
  font-size: .96rem; line-height: 1.65; color: #d1d1d1; margin: 0 0 1.1rem;
}
.bc3-footer-brand-cta {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--bc3-accent); font-weight: 700; text-decoration: none;
  font-size: .94rem;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .25s;
}
.bc3-footer-brand-cta:hover { border-bottom-color: var(--bc3-accent); color: var(--bc3-accent); }
.bc3-footer-title {
  font-family: var(--bc3-font-h); font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: #fff; margin: 0 0 1rem;
}
.bc3-footer-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .55rem;
}
.bc3-footer-links a {
  color: #d1d1d1; text-decoration: none; font-size: .94rem;
  transition: color .2s;
}
.bc3-footer-links a:hover, .bc3-footer-links a:focus-visible { color: #fff; }

.bc3-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem; color: #989898;
}
.bc3-footer-bottom .bc3-footer-meta { display: flex; align-items: center; gap: .8rem; }
.bc3-footer-bottom .bc3-footer-meta a { color: #d1d1d1; text-decoration: none; }
.bc3-footer-bottom .bc3-footer-meta a:hover { color: #fff; }
.bc3-social {
  display: flex; gap: .6rem;
  list-style: none; padding: 0; margin: 0;
}
.bc3-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); color: #d1d1d1;
  transition: background .2s, color .2s;
}
.bc3-social a:hover { background: var(--bc3-primary); color: #fff; }
.bc3-social svg { width: 16px; height: 16px; }

/* Metrics links module (footer pre-section) */
.bc3-metrics-links {
  padding: 3rem 0; background: var(--bc3-surface); border-top: 1px solid var(--bc3-line-soft);
  border-bottom: 1px solid var(--bc3-line-soft);
}
.bc3-metrics-links-inner { max-width: var(--bc3-container); margin: 0 auto; padding: 0 1.4rem; }
.bc3-metrics-links h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.bc3-metrics-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bc3-metrics-links ul { grid-template-columns: repeat(3, 1fr); } }
.bc3-metrics-links li a {
  display: block; padding: .9rem 1rem;
  background: #fff; border: 1px solid var(--bc3-line-soft);
  border-radius: 10px; color: var(--bc3-text); font-weight: 500;
  text-decoration: none; transition: border-color .2s, color .2s;
}
.bc3-metrics-links li a:hover { border-color: var(--bc3-primary); color: var(--bc3-primary); }

/* ---------- 13. Tool pages ---------- */
.bc3-tool-page { background: #fff; padding: 3rem 0 4rem; }
.bc3-tool-header { max-width: 820px; margin: 0 auto; padding: 0 1.4rem; text-align: center; }
.bc3-tool-header h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: .8rem; }
.bc3-tool-intro { max-width: 820px; margin: 1.5rem auto 2rem; padding: 0 1.4rem; }
.bc3-tool-intro p { font-size: 1.06rem; line-height: 1.78; color: var(--bc3-text); }
.bc3-tool-wrap {
  max-width: 980px; margin: 0 auto 3rem; padding: 0 1.4rem;
}
.bc3-tool-shell {
  background: var(--bc3-surface);
  border-radius: var(--bc3-radius);
  padding: 2rem 1.6rem;
}
.bc3-tool-faq { max-width: 820px; margin: 0 auto; padding: 0 1.4rem; }
.bc3-tool-faq h2 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.bc3-tool-faq details {
  background: #fff; border: 1px solid var(--bc3-line-soft);
  border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: .6rem;
}
.bc3-tool-faq details summary {
  cursor: pointer; font-weight: 700; font-family: var(--bc3-font-h);
  list-style: none; outline: none;
}
.bc3-tool-faq details summary::-webkit-details-marker { display: none; }
.bc3-tool-faq details summary::after {
  content: "+"; float: right; color: var(--bc3-primary); font-weight: 800;
}
.bc3-tool-faq details[open] summary::after { content: "−"; }
.bc3-tool-faq details[open] { box-shadow: var(--bc3-shadow-sm); }
.bc3-tool-faq details p { margin: .8rem 0 0; color: var(--bc3-text-soft); line-height: 1.7; }

/* ---------- 14. Persona inline on about ---------- */
.bc3-about-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 720px) { .bc3-about-grid { grid-template-columns: 300px 1fr; } }

/* ---------- 15. Search field (header skeleton) ---------- */
.bc3-search-mobile { padding: 1.5rem 0 .5rem; }
.bc3-search-mobile input {
  width: 100%; padding: .7rem 1rem; border: 1px solid var(--bc3-line);
  border-radius: 10px; font-family: var(--bc3-font-b); font-size: .96rem;
}

/* ---------- 16. Body class adjustments ---------- */
body.bc3-body { background: var(--bc3-bg); color: var(--bc3-text); }
.screen-reader-text {
  position: absolute; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px;
  overflow: hidden; word-wrap: normal;
}
.bc3-skip-link {
  position: absolute; top: -40px; left: 1rem;
  background: var(--bc3-primary); color: #fff; padding: .5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700; z-index: 100000; text-decoration: none;
}
.bc3-skip-link:focus { top: 0; }

/* ---------- 17. Print niceties ---------- */
@media print {
  .bc3-header, .bc3-footer, .bc3-burger, .bc3-nav, .bc3-nav-overlay { display: none !important; }
  body { font-size: 12pt; }
  .bc3-page, .bc3-single-content { max-width: 100%; }
}

/* ---------- 18. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 19. Tablet adjustments ---------- */
@media (max-width: 760px) {
  .bc3-hero { padding: 2.5rem 0 3rem; }
  .bc3-editorial { padding: 3rem 0; }
  .bc3-categories, .bc3-latest { padding: 3rem 0; }
  .bc3-footer-bottom { flex-direction: column; align-items: flex-start; }
}


/* Mouse effect : nav_hover_dropdown_fade */
/* nav_hover_dropdown_fade — fade-in underline + soft drop shadow on nav link hover */
.bc3-nav-desktop-list a, .bc3-footer-links a { position: relative; transition: color .25s ease; }
.bc3-nav-desktop-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--bc3-accent, #ff6f00);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s;
  opacity: 0;
}
.bc3-nav-desktop-list a:hover, .bc3-nav-desktop-list a:focus-visible { color: var(--bc3-primary, #de6652); }
.bc3-nav-desktop-list a:hover::after, .bc3-nav-desktop-list a:focus-visible::after { transform: scaleX(1); opacity: 1; }
@media (hover: none) { .bc3-nav-desktop-list a::after { display: none; } }
