/* =============================================================
   RAMPART — Editorial Portal Theme
   Inspired by Constra's visual DNA
   Colors: Navy #001659 | Orange #FF5E15 | Light #F2F3F5 | Dark #001248
   Typography: Georgia serif headings + system sans body
   ============================================================= */

:root {
  --navy:      #001659;
  --navy-dark: #001248;
  --orange:    #FF5E15;
  --orange-dk: #d94c0e;
  --light:     #F2F3F5;
  --white:     #ffffff;
  --body-txt:  #5a5a5a;
  --muted:     #7d7d7d;
  --border:    #dde0e6;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body-txt);
  background: var(--white);
}

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

a { color: var(--navy); text-decoration: none; transition: color .25s; }
a:hover { color: var(--orange); }

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy-dark);
  line-height: 1.2;
  margin-top: 0;
}

p { margin-top: 0; margin-bottom: 1rem; }

/* ── Skip Link ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--orange);
  color: #fff;
  padding: .4rem .9rem;
  font-size: .875rem;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: .5rem; }

/* ── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ── Eyebrow label (orange uppercase — Constra DNA) ──────── */
.eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .5rem;
}

/* ── Section headings ─────────────────────────────────────── */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 1rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .65rem 1.75rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
  line-height: 1.4;
  border-radius: 0; /* Sharp corners — Constra DNA */
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.btn-secondary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-secondary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ── HEADER / NAV ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,18,72,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-shrink: 0;
}
.site-logo img {
  height: 36px;
  width: auto;
}
.site-logo .brand-name {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  white-space: nowrap;
}
.site-logo .brand-name span {
  color: var(--orange);
}
.site-logo:hover .brand-name { color: var(--navy); }

/* Nav */
.main-nav { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }

.main-nav li { position: relative; }

/* Corner bracket hover — Constra DNA */
.main-nav li::before,
.main-nav li::after {
  content: "";
  position: absolute;
  width: 0; height: 0;
  border: 2px solid var(--orange);
  opacity: 0;
  transition: width .3s, height .3s, opacity .3s;
}
.main-nav li::before { top: 0; left: 0; border-bottom: 0; border-right: 0; }
.main-nav li::after  { bottom: 0; right: 0; border-top: 0; border-left: 0; }
.main-nav li:hover::before,
.main-nav li:hover::after { width: 50%; height: 50%; opacity: 1; }

.main-nav a {
  display: block;
  padding: .5rem .85rem;
  font-size: .9rem;
  font-family: Georgia, serif;
  color: var(--navy-dark);
  transition: color .2s;
}
.main-nav a:hover { color: var(--orange); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  min-width: 44px; min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy-dark);
  transition: transform .25s, opacity .25s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-wrapper { display: flex; align-items: center; }

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .nav-wrapper {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--orange);
    padding: 1rem 1.25rem;
  }
  .nav-wrapper.is-open { display: block; }
  .main-nav { flex-direction: column; align-items: flex-start; gap: 0; }
  .main-nav li::before, .main-nav li::after { display: none; }
  .main-nav a { padding: .65rem 0; font-size: 1rem; width: 100%; border-bottom: 1px solid var(--border); }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background-color: var(--navy-dark);
  background-image:
    linear-gradient(to right, rgba(0,18,72,.96) 50%, rgba(0,18,72,.7));
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}

/* Decorative orange bar — Constra DNA accent */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: var(--orange);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1.6fr 1fr; align-items: center; }
}

.hero-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  border-left: 3px solid var(--orange);
  padding-left: .6rem;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.7;
}
.hero-subtitle p { color: inherit; margin-bottom: .5rem; }

.hero-cta-bar { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero sidebar panel — Constra split-screen DNA */
.hero-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-left: 3px solid var(--orange);
  padding: 2rem 1.5rem;
}

.hero-panel-label {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}

.hero-panel-stat {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero-panel-stat:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.hero-panel-icon {
  width: 36px; height: 36px;
  background: var(--orange);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-panel-icon svg { width: 16px; height: 16px; fill: #fff; }

.hero-panel-text strong {
  display: block;
  font-family: Georgia, serif;
  font-size: .95rem;
  color: var(--white);
  margin-bottom: .2rem;
}
.hero-panel-text span { font-size: .8125rem; color: rgba(255,255,255,.6); }

/* ── TOPICS ────────────────────────────────────────────────── */
.section-topics { padding: 5rem 0; background: var(--white); }

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }

/* Topics grid — Constra feature-item DNA with bordered cards */
.topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) { .topics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .topics-grid { grid-template-columns: repeat(3, 1fr); } }

.topic-card {
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  transition: box-shadow .3s, border-color .3s;
  position: relative;
}

/* Constra corner-bracket feature: orange accent on hover */
.topic-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--orange);
  transition: width .3s ease;
}

.topic-card:hover::before { width: 100%; }
.topic-card:hover {
  box-shadow: 0 8px 30px rgba(0,18,72,.1);
  border-color: var(--border);
}

.topic-icon {
  width: 52px; height: 52px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.topic-icon svg { width: 22px; height: 22px; fill: var(--orange); }
.topic-icon .icon-num {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
}

.topic-name {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: .6rem;
}

.topic-desc { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.topic-desc p { margin-bottom: 0; color: inherit; }

/* ── LATEST POSTS ─────────────────────────────────────────── */
.section-posts { padding: 5rem 0; background: var(--light); }

/* Featured + grid layout — inspired by Constra's asymmetric about section */
.posts-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .posts-layout { grid-template-columns: 1.5fr 1fr; align-items: start; }
}

/* Featured post — large card */
.post-featured {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s;
}
.post-featured:hover { box-shadow: 0 10px 40px rgba(0,18,72,.1); }

.post-featured-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--navy-dark);
}

.post-featured-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.post-featured:hover .post-featured-img img { transform: scale(1.06); }

/* Constra service-item style: title bar at bottom */
.post-featured-tag {
  position: absolute;
  top: 1rem; left: 0;
  background: var(--orange);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .75rem;
}

.post-featured-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-date {
  font-size: .8rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.post-featured-title {
  font-family: Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: .875rem;
  line-height: 1.25;
}
.post-featured-title a { color: inherit; }
.post-featured-title a:hover { color: var(--orange); }

.post-excerpt { font-size: .9375rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.25rem; flex: 1; }
.post-excerpt p { color: inherit; margin-bottom: 0; }

.post-read-link {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 1px;
  transition: color .2s;
}
.post-read-link:hover { color: var(--orange); }
.post-read-link::after { content: "→"; }

/* Side list of posts */
.posts-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.post-mini {
  background: var(--white);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0;
  overflow: hidden;
  transition: box-shadow .3s;
}
.post-mini:hover { box-shadow: 0 4px 20px rgba(0,18,72,.1); }

.post-mini-img {
  overflow: hidden;
  background: var(--navy-dark);
  aspect-ratio: 1;
}
.post-mini-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-mini:hover .post-mini-img img { transform: scale(1.08); }

/* Placeholder for posts without cover */
.post-mini-img-placeholder {
  width: 100%; height: 100%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.post-mini-img-placeholder span {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  color: var(--orange);
  font-weight: 700;
}

.post-mini-body { padding: .875rem 1rem; display: flex; flex-direction: column; justify-content: center; }

.post-mini-date {
  font-size: .75rem;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .3rem;
}

.post-mini-title {
  font-family: Georgia, serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.3;
}
.post-mini-title a { color: inherit; }
.post-mini-title a:hover { color: var(--orange); }

/* "Więcej artykułów" CTA */
.posts-cta { margin-top: 2.5rem; text-align: center; }

/* ── FAQ ──────────────────────────────────────────────────── */
.section-faq { padding: 5rem 0; background: var(--white); }

.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) {
  .faq-layout { grid-template-columns: 2fr 1fr; align-items: start; }
}

.faq-list { display: flex; flex-direction: column; gap: 0; }

/* Constra-DNA: bordered accordion, sharp corners, orange accent */
.faq-item {
  border: 1px solid var(--border);
  border-top: none;
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  background: var(--white);
  transition: background .2s;
  gap: 1rem;
  list-style: none;
  min-height: 44px;
}
.faq-question:hover { background: var(--light); }
.faq-item.is-open .faq-question { background: var(--navy); }

.faq-question-text {
  font-family: Georgia, serif;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--navy-dark);
  line-height: 1.4;
}
.faq-item.is-open .faq-question-text { color: var(--white); }

.faq-icon {
  width: 28px; height: 28px;
  background: var(--orange);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  color: #fff;
  font-weight: 300;
  transition: transform .25s, background .25s;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--white); color: var(--orange); }

.faq-answer {
  display: none;
  padding: 1.1rem 1.25rem 1.25rem;
  background: var(--light);
  font-size: .9rem;
  line-height: 1.7;
  color: var(--body-txt);
  border-left: 3px solid var(--orange);
}
.faq-answer p { margin-bottom: .5rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-item.is-open .faq-answer { display: block; }

/* FAQ sidebar — Constra feature box DNA */
.faq-sidebar {
  background: var(--navy-dark);
  padding: 2.25rem 1.75rem;
  border-left: 4px solid var(--orange);
}
.faq-sidebar-label {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.faq-sidebar-heading {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: .875rem;
  line-height: 1.35;
}
.faq-sidebar p {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

/* ── PAGE TEMPLATE ───────────────────────────────────────── */
.page-hero {
  background: linear-gradient(rgba(0,18,72,.88), rgba(0,18,72,.88)),
              center/cover no-repeat;
  background-color: var(--navy-dark);
  padding: 3.5rem 0;
  border-left: 6px solid var(--orange);
}

.page-hero-eyebrow { color: var(--orange); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin-bottom: .5rem; }

.page-hero-title {
  font-family: Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.page-content-area {
  padding: 4rem 0;
}

.page-content-inner {
  max-width: 760px;
}

.page-content-inner h2 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: .75rem; }
.page-content-inner h3 { font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: .625rem; }
.page-content-inner ul, .page-content-inner ol { padding-left: 1.5rem; }
.page-content-inner li { margin-bottom: .4rem; }
.page-content-inner blockquote {
  border-left: 4px solid var(--orange);
  margin: 1.5rem 0;
  padding: .875rem 1.25rem;
  background: var(--light);
  font-style: italic;
}

/* ── BLOG INDEX ──────────────────────────────────────────── */
.blog-hero {
  background: var(--navy-dark);
  border-left: 6px solid var(--orange);
  padding: 3rem 0;
}
.blog-hero-title {
  font-family: Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  margin: 0 0 .25rem;
}
.blog-hero-sub { font-size: .9rem; color: rgba(255,255,255,.6); margin: 0; }

.blog-main { padding: 4rem 0; background: var(--light); }

/* Blog posts grid — 1 col → 2-3 col */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow .3s;
}
.blog-card:hover { box-shadow: 0 8px 30px rgba(0,18,72,.1); }

.blog-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--navy-dark);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.07); }

/* Constra service-title slide bar DNA — adapted */
.blog-card-bar {
  background: var(--light);
  border-top: 2px solid var(--orange);
  padding: .75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: var(--muted);
}
.blog-card-bar .date { color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

.blog-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-title {
  font-family: Georgia, serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: .75rem;
  line-height: 1.35;
  flex: 1;
}
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--orange); }

.blog-card-excerpt { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.1rem; }
.blog-card-excerpt p { color: inherit; margin-bottom: 0; }

/* ── PAGINATION ──────────────────────────────────────────── */
.pagination-area { margin-top: 3rem; display: flex; justify-content: center; }

.pagination {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0; padding: 0;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 .5rem;
  border: 1px solid var(--border);
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  transition: background .2s, color .2s, border-color .2s;
}

.pagination a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.pagination .active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .prev-next { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding: 0 .875rem; }

/* ── POST TEMPLATE ───────────────────────────────────────── */
.post-hero {
  background: var(--navy-dark);
  border-left: 6px solid var(--orange);
  padding: 3.5rem 0 2.5rem;
}

.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.post-hero-date {
  font-size: .8rem;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.post-hero-title {
  font-family: Georgia, serif;
  font-size: clamp(1.65rem, 4.5vw, 3rem);
  color: var(--white);
  margin-bottom: .875rem;
  line-height: 1.2;
}

.post-hero-excerpt {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.75);
  max-width: 660px;
  line-height: 1.65;
}
.post-hero-excerpt p { color: inherit; margin-bottom: 0; }

.post-cover-area {
  padding: 2.5rem 0 0;
  background: var(--light);
}
.post-cover-img {
  max-height: 480px;
  width: 100%;
  object-fit: cover;
}

.post-body-area { padding: 3.5rem 0 4rem; }

.post-body-inner { max-width: 720px; }

.post-body-inner h2 { font-size: 1.5rem; margin-top: 2.25rem; margin-bottom: .75rem; border-left: 3px solid var(--orange); padding-left: .75rem; }
.post-body-inner h3 { font-size: 1.2rem; margin-top: 1.75rem; margin-bottom: .625rem; }
.post-body-inner ul, .post-body-inner ol { padding-left: 1.5rem; }
.post-body-inner li { margin-bottom: .4rem; }
.post-body-inner blockquote {
  border-left: 4px solid var(--orange);
  margin: 1.75rem 0;
  padding: 1rem 1.5rem;
  background: var(--light);
  font-style: italic;
  font-family: Georgia, serif;
  font-size: 1.0625rem;
  color: var(--navy-dark);
}

/* ── FOOTER ──────────────────────────────────────────────── */
/* Constra DNA: dark navy with texture feel, multi-column */
.site-footer {
  background: linear-gradient(rgba(0,18,72,.94), rgba(0,18,72,.98));
  background-color: var(--navy-dark);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 2rem;
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-about .footer-brand {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: .875rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer-brand-accent { color: var(--orange); }
.footer-about p { font-size: .875rem; line-height: 1.7; max-width: 340px; }
.footer-about .footer-email {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .75rem;
  font-size: .875rem;
  color: var(--orange);
  transition: color .2s;
}
.footer-email:hover { color: var(--white); }

.footer-col-heading {
  font-family: Georgia, serif;
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

/* Constra DNA: nav links with angle arrows */
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: .35rem; }
.footer-nav a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color .2s, letter-spacing .2s;
}
.footer-nav a::before { content: "›"; color: var(--orange); font-size: 1rem; line-height: 1; }
.footer-nav a:hover { color: var(--orange); letter-spacing: .02em; }

/* Copyright */
.footer-copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer-copyright a { color: rgba(255,255,255,.6); }
.footer-copyright a:hover { color: var(--orange); }

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
}
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .current { color: var(--orange); }

/* ── Back to top ─────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 44px; height: 44px;
  background: var(--orange);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, background .2s;
  z-index: 900;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--navy); }

/* ── Focus styles ─────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* ── Utility ─────────────────────────────────────────────── */
.text-orange { color: var(--orange); }
.mt-auto { margin-top: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── Responsive adjustments ──────────────────────────────── */
@media (max-width: 599px) {
  .hero { padding: 4rem 0 3.5rem; }
  .section-topics, .section-posts, .section-faq, .blog-main { padding: 3.5rem 0; }
  .post-mini { grid-template-columns: 80px 1fr; }
  .faq-sidebar { margin-top: 0; }
}

@media (max-width: 899px) {
  .faq-layout { grid-template-columns: 1fr; }
}
