/*
Theme Name: Business Forts Astra
Theme URI: https://businessforts.com/
Description: Editorial Astra child theme for Business Forts.
Author: Business Forts
Template: astra
Version: 1.0.0
Text Domain: businessforts-astra
*/

:root {
  --ink: #143331;
  --ink-deep: #092624;
  --forest: #0f5d56;
  --forest-soft: #dce8df;
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --sun: #f2c14f;
  --coral: #cf7564;
  --line: rgba(20, 51, 49, 0.16);
  --muted: #65716d;
  --shadow: 0 24px 70px rgba(9, 38, 36, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: white;
  background: var(--ink-deep);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.top-note {
  color: white;
  background: var(--ink-deep);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.top-note .shell {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.language-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.language-links a {
  padding: 3px 8px;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.language-links a[aria-current="page"],
.language-links a:hover {
  color: var(--ink-deep);
  background: var(--sun);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(247, 242, 232, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-row {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  font-size: 1.12rem;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink-deep);
  background: var(--sun);
  border: 2px solid var(--ink-deep);
  border-radius: 50% 50% 12px 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 700;
}

.header-search {
  display: flex;
  align-items: center;
  width: 182px;
  min-height: 42px;
  padding: 4px 5px 4px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.header-search input {
  min-width: 0;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 0.82rem;
}

.header-search button {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 0;
  color: white;
  background: var(--forest);
  border: 0;
  border-radius: 50%;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a:not(.header-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  color: white;
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover,
.button:hover {
  background: var(--ink-deep);
  box-shadow: 0 10px 24px rgba(9, 38, 36, 0.17);
  transform: translateY(-2px);
}

.button--light {
  color: var(--ink-deep);
  background: var(--sun);
  border-color: var(--sun);
}

.button--light:hover {
  color: white;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink-deep);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--coral);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.1rem, 7vw, 6.6rem);
}

h2 {
  font-size: clamp(2.15rem, 4.2vw, 4rem);
}

h3 {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 92px;
}

.home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -180px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  background: var(--forest-soft);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 24px;
}

.hero-copy h1 em {
  position: relative;
  color: var(--forest);
  font-style: italic;
}

.hero-copy h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -4px;
  bottom: 0.05em;
  left: -4px;
  height: 0.24em;
  background: var(--sun);
}

.hero-lede {
  max-width: 620px;
  margin: 0 0 32px;
  color: #445652;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  padding: 18px 18px 50px 50px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 32px;
  left: 32px;
  background: var(--sun);
  border-radius: 180px 180px 28px 28px;
  transform: rotate(3deg);
}

.hero-visual img {
  position: relative;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 67% center;
  border: 2px solid var(--ink-deep);
  border-radius: 180px 180px 26px 26px;
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 0;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  padding: 22px;
  color: white;
  background: var(--coral);
  border: 2px solid var(--ink-deep);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.15;
  text-align: center;
  transform: rotate(-7deg);
}

.proof-strip {
  border-block: 1px solid var(--line);
}

.proof-grid {
  min-height: 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.proof-item {
  padding: 18px 34px;
  text-align: center;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--line);
}

.proof-item strong {
  display: block;
  color: var(--ink-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 104px 0;
}

.section--paper {
  background: var(--paper);
}

.section--forest {
  color: white;
  background: var(--ink-deep);
}

.section--forest h2,
.section--forest h3 {
  color: white;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-heading p {
  max-width: 400px;
  margin: 0 0 8px;
  color: var(--muted);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.topic-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, background 180ms ease;
}

.topic-card:hover {
  color: white;
  background: var(--forest);
}

.topic-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  opacity: 0.65;
}

.topic-card h3 {
  margin-bottom: 14px;
  font-size: 1.55rem;
  transition: color 180ms ease;
}

.topic-card:hover h3 {
  color: white;
}

.topic-card p {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.78;
}

.topic-arrow {
  align-self: flex-end;
  font-size: 1.5rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 26px;
}

.guide-card {
  grid-column: span 4;
}

.guide-card:first-child {
  grid-column: span 8;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  background: var(--forest-soft);
  border-radius: var(--radius-lg);
}

.guide-image {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
}

.guide-card:first-child .guide-image {
  height: 100%;
  min-height: 430px;
  margin-bottom: 0;
  border-radius: 0;
}

.guide-image img {
  aspect-ratio: 3 / 2;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.guide-card:hover .guide-image img {
  transform: scale(1.025);
}

.guide-body {
  padding: 2px 2px 18px;
}

.guide-card:first-child .guide-body {
  align-self: center;
  padding: 42px;
}

.card-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}

.guide-card:first-child h3 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.guide-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.card-meta span + span::before {
  content: "·";
  margin-right: 10px;
  color: var(--coral);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.25fr;
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
}

.author-photo {
  position: relative;
}

.author-photo::before {
  content: "";
  position: absolute;
  inset: -20px 30px 24px -20px;
  background: var(--sun);
  border-radius: 50% 50% 20% 50%;
}

.author-photo img {
  position: relative;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid var(--ink-deep);
  border-radius: 50% 50% 20% 50%;
}

.about-copy .eyebrow {
  color: var(--sun);
}

.about-copy h2 {
  margin-bottom: 26px;
}

.about-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.about-quote {
  margin: 32px 0;
  padding-left: 22px;
  border-left: 3px solid var(--coral);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-style: italic;
}

.newsletter {
  margin-top: 72px;
  padding: clamp(34px, 6vw, 72px);
  color: var(--ink-deep);
  background: var(--sun);
  border-radius: var(--radius-lg);
}

.newsletter-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 44px;
}

.newsletter h2 {
  margin-bottom: 12px;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.newsletter p {
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  padding: 7px;
  background: var(--paper);
  border: 1px solid var(--ink-deep);
  border-radius: 999px;
}

.newsletter-form input {
  min-width: 0;
  flex: 1;
  padding: 0 16px;
  color: var(--ink-deep);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
}

.newsletter-form button {
  min-height: 46px;
  padding: 0 18px;
  color: white;
  background: var(--ink-deep);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  padding: 74px 0 30px;
  color: rgba(255, 255, 255, 0.78);
  background: #061d1b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr 0.8fr;
  gap: 52px;
  padding-bottom: 56px;
}

.footer-brand .brand {
  color: white;
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
}

.footer-column strong {
  display: block;
  margin-bottom: 16px;
  color: white;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin: 8px 0;
}

.footer-column a:hover {
  color: var(--sun);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

/* Article template */
.article-hero {
  padding: 70px 0 56px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.breadcrumbs span:not(:last-child)::after,
.breadcrumbs a::after {
  content: "/";
  margin-left: 8px;
  color: var(--coral);
}

.article-heading {
  max-width: 980px;
}

.article-heading h1 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 6.4vw, 6.1rem);
}

.article-deck {
  max-width: 830px;
  margin: 0 0 30px;
  color: #445652;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2.2vw, 1.68rem);
  line-height: 1.45;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.byline-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-deep);
}

.byline-author img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--ink-deep);
  border-radius: 50%;
}

.article-cover {
  width: var(--container);
  margin: 0 auto 66px;
}

.article-cover img {
  max-height: 670px;
  object-fit: cover;
  border: 2px solid var(--ink-deep);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.article-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 760px);
  justify-content: center;
  gap: 74px;
  padding-bottom: 110px;
}

.toc {
  position: sticky;
  top: 126px;
  align-self: start;
  padding: 24px 0;
  border-block: 1px solid var(--line);
}

.toc strong {
  display: block;
  margin-bottom: 18px;
  color: var(--ink-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.toc ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.toc a:hover {
  color: var(--coral);
}

.article-content {
  color: #263d3a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.5vw, 1.19rem);
  line-height: 1.78;
}

.article-content > p:first-child::first-letter {
  float: left;
  margin: 0.13em 0.12em 0 0;
  color: var(--forest);
  font-size: 4.3em;
  line-height: 0.75;
}

.article-content h2 {
  scroll-margin-top: 130px;
  margin: 2.1em 0 0.7em;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
}

.article-content h3 {
  margin: 1.8em 0 0.6em;
}

.article-content ul {
  margin: 1.4em 0;
  padding-left: 1.4em;
}

.article-content li {
  margin: 0.62em 0;
  padding-left: 0.3em;
}

.article-content li::marker {
  color: var(--coral);
}

.takeaway {
  margin: 2.4em 0;
  padding: 28px 30px;
  background: var(--forest-soft);
  border-left: 5px solid var(--forest);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: Inter, ui-sans-serif, sans-serif;
}

.takeaway strong {
  display: block;
  margin-bottom: 8px;
  color: var(--forest);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.takeaway p {
  margin: 0;
}

.article-author {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  margin-top: 62px;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: Inter, ui-sans-serif, sans-serif;
}

.article-author img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.article-author h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.article-author p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.bf-comments {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  font-family: Inter, ui-sans-serif, sans-serif;
}

.bf-comments .comments-title,
.bf-comments .comment-reply-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.bf-comments textarea,
.bf-comments input[type="text"],
.bf-comments input[type="email"],
.bf-comments input[type="url"] {
  width: 100%;
  padding: 13px 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

.bf-comments input[type="submit"] {
  padding: 13px 20px;
  color: white;
  background: var(--forest);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.related-section {
  padding: 96px 0;
  background: var(--paper);
}

.related-section h2 {
  margin-bottom: 38px;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .newsletter-row {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    width: min(620px, 90%);
    margin-inline: auto;
  }

  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-card,
  .guide-card:first-child {
    grid-column: span 6;
    display: block;
  }

  .guide-card:first-child .guide-image {
    min-height: 0;
    aspect-ratio: 3 / 2;
    border-radius: var(--radius-md);
  }

  .guide-card:first-child .guide-body {
    padding: 20px 2px 18px;
  }

  .about-grid {
    grid-template-columns: 280px 1fr;
    gap: 50px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .toc {
    position: static;
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .top-note .shell {
    min-height: 44px;
  }

  .top-note-message {
    display: none;
  }

  .header-row {
    min-height: 74px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: 118px 0 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 30px 24px;
    background: var(--cream);
    border-top: 1px solid var(--line);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
  }

  .menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 13px 0;
  }

  .header-search {
    width: 100%;
    margin: 8px 0;
    font-family: Inter, ui-sans-serif, sans-serif;
  }

  .header-cta {
    margin-top: 12px;
    font-family: Inter, ui-sans-serif, sans-serif;
    font-size: 1rem;
  }

  .home-hero,
  .article-hero {
    padding: 52px 0 66px;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero-visual {
    width: 100%;
    padding: 12px 10px 38px 34px;
  }

  .hero-visual::before {
    left: 20px;
  }

  .hero-badge {
    width: 104px;
    height: 104px;
    padding: 14px;
    font-size: 0.95rem;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    padding: 18px 0;
  }

  .proof-item {
    padding: 14px;
  }

  .proof-item + .proof-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .topic-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topic-card {
    min-height: 210px;
  }

  .guide-grid {
    display: block;
  }

  .guide-card,
  .guide-card:first-child {
    margin-bottom: 42px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .author-photo {
    width: min(320px, 90%);
    margin-inline: auto;
  }

  .newsletter-form {
    align-items: stretch;
    flex-direction: column;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .newsletter-form input {
    min-height: 52px;
    background: var(--paper);
    border: 1px solid var(--ink-deep);
    border-radius: 999px;
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .article-cover {
    width: 100%;
    margin-bottom: 44px;
  }

  .article-cover img {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .article-layout {
    padding-bottom: 78px;
  }

  .article-author {
    grid-template-columns: 64px 1fr;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* WordPress and Astra integration */
.site-content,
.ast-separate-container,
.ast-separate-container #primary,
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
  margin: 0;
  padding: 0;
  background: transparent;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  color: white;
  background: var(--ink-deep);
  clip: auto !important;
  clip-path: none;
}

.bf-language-switcher .trp-language-switcher {
  width: auto;
  height: auto;
}

.bf-language-switcher .trp-language-switcher > div,
.bf-language-switcher .trp-language-switcher:hover > div {
  width: auto !important;
  min-height: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.bf-language-switcher .trp-language-switcher > div > a,
.bf-language-switcher .trp-language-switcher > div > a:hover {
  min-height: 0;
  padding: 3px 8px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border-radius: 999px;
}

.bf-language-switcher .trp-language-switcher > div > a:hover {
  color: var(--ink-deep);
  background: var(--sun);
}

.bf-language-switcher .trp-language-switcher > div > a:not(.trp-ls-shortcode-disabled-language) {
  display: none;
  position: absolute;
  top: 30px;
  right: 0;
  padding: 7px 10px;
  color: white;
  background: var(--ink-deep);
}

.bf-language-switcher .trp-language-switcher:hover > div > a {
  display: block;
}

.bf-language-switcher .trp-language-switcher:hover > div > a:nth-child(3) {
  top: 62px;
}

.bf-language-switcher {
  position: relative;
  min-width: 72px;
}

.bf-pagination {
  margin-top: 54px;
}

.bf-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bf-pagination .page-numbers {
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.bf-pagination .page-numbers.current,
.bf-pagination .page-numbers:hover {
  color: white;
  background: var(--forest);
  border-color: var(--forest);
}

.bf-page {
  padding: 78px 0 110px;
}

.bf-page-header {
  max-width: 850px;
  margin-bottom: 48px;
}

.bf-page-header h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.bf-page-content {
  max-width: 780px;
  color: #263d3a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.78;
}

.bf-page-content h2,
.bf-page-content h3 {
  margin-top: 1.9em;
}

.bf-page-content a,
.article-content a {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-underline-offset: 3px;
}

.archive-hero {
  padding: 78px 0 26px;
}

.archive-hero h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.archive-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.1rem;
}

.empty-state {
  padding: 58px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.bf-search-form {
  display: flex;
  max-width: 620px;
  gap: 10px;
  margin-top: 28px;
}

.bf-search-form input {
  min-width: 0;
  min-height: 52px;
  flex: 1;
  padding: 0 18px;
  background: var(--paper);
  border: 1px solid var(--ink-deep);
  border-radius: 999px;
  font: inherit;
}

.bf-search-form button {
  min-height: 52px;
  padding: 0 22px;
  color: white;
  background: var(--forest);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
}

.article-content .toc,
.article-content .table-of-contents,
.article-content .contents {
  display: none;
}
