/* __WHITEPAGE_V5__ site=steinbachonline.gr.com generated=2026-06-03 palette=sage-navy-wheat */
/* V5 — Magazine Columns: Libre Franklin + Merriweather, container queries, @graph schema */

@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700&family=Merriweather:wght@700&display=swap');

:root {
  --sage: #4A7C59;
  --sage-dark: #3A6347;
  --sage-light: #6B9E7A;
  --navy: #1B2A4A;
  --navy-light: #2D3F63;
  --wheat: #F5DEB3;
  --wheat-light: #FBF3E0;
  --charcoal: #2D2D2D;
  --gray: #6B7280;
  --gray-light: #F3F4F6;
  --white: #FFFFFF;
  --max-width: 1200px;
  --font-body: 'Libre Franklin', system-ui, -apple-system, sans-serif;
  --font-display: 'Merriweather', Georgia, serif;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--wheat-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

/* ===== Utility classes ===== */
.col { display: flex; flex-direction: column; }
.row { display: flex; flex-direction: row; align-items: center; }
.pad { padding: 1.5rem; }
.pad-lg { padding: clamp(2rem, 5vw, 4rem); }
.stack > * + * { margin-top: 1.5rem; }
.cluster { display: flex; flex-wrap: wrap; gap: 1rem; }
.wrap { max-width: var(--max-width); margin-inline: auto; padding-inline: 1.5rem; }

/* ===== Typography ===== */
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; }
h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 700; margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--navy); }
.serif { font-family: var(--font-display); }

/* ===== Magazine Top ===== */
.magazine-top {
  background: var(--white);
  border-bottom: 3px solid var(--sage);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.magazine-top .row {
  justify-content: space-between;
  align-items: center;
}
.magazine-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.magazine-logo span { color: var(--sage); }
.scroll-nav {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0;
}
.scroll-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.scroll-nav a:hover, .scroll-nav a:focus { color: var(--sage-dark); border-bottom-color: var(--sage); }

/* ===== Article Hero ===== */
.article-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: clamp(3rem, 8vw, 5rem) 0;
}
.article-hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.lead-column { color: var(--white); }
.lead-column h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.dropcap::first-letter {
  float: left;
  font-size: 4.5em;
  line-height: 0.7;
  padding-right: 0.12em;
  color: var(--wheat);
  font-family: var(--font-display);
}
.lead-column .lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  max-width: 500px;
}
.hero-bullets { list-style: none; display: grid; gap: 0.6rem; margin-bottom: 1.5rem; }
.hero-bullets li { position: relative; padding-left: 1.5rem; color: rgba(255,255,255,0.9); }
.hero-bullets li::before { content: '◆'; position: absolute; left: 0; color: var(--wheat); font-size: 0.7rem; top: 0.2rem; }
.byline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
}
.side-column { display: flex; align-items: center; justify-content: center; }
.side-column img { border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0,0,0,0.25); max-height: 380px; object-fit: cover; }

/* ===== Inline Credentials ===== */
.inline-credentials {
  background: var(--white);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.9rem;
  color: var(--gray);
  text-align: center;
}
.inline-credentials strong { color: var(--navy); }

/* ===== Tile Masonry ===== */
.tile-masonry {
  padding: clamp(2rem, 5vw, 4rem) 0;
  background: var(--white);
}
.tile-masonry h2 { text-align: center; margin-bottom: 2rem; }
.magazine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tile-masonry__item {
  background: var(--wheat-light);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.tile-masonry__item:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
.tile-masonry__item.tall { grid-row: span 2; }
.tile-masonry__item.wide { grid-column: span 2; }
.tile-masonry__item svg { width: 40px; height: 40px; margin-bottom: 1rem; color: var(--sage); }
.tile-masonry__item h3 { margin-bottom: 0.5rem; }
.tile-masonry__item p { font-size: 0.95rem; color: var(--gray); flex: 1; }
.tile-masonry__item a { font-weight: 600; margin-top: 0.5rem; }

/* ===== Pullquote Stack ===== */
.pullquote-stack {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.pullquote-stack h2 { color: var(--white); margin-bottom: 2.5rem; }
.pullquote {
  max-width: 700px;
  margin-inline: auto;
  padding: 2rem;
  border-left: 4px solid var(--wheat);
  border-right: 4px solid var(--wheat);
  margin-bottom: 2rem;
}
.pullquote blockquote {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  font-style: italic;
  quotes: none;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.95);
}
.pullquote cite {
  font-size: 0.9rem;
  color: var(--wheat);
  font-style: normal;
  font-weight: 600;
}

/* ===== Definition FAQ ===== */
.definition-faq {
  padding: clamp(2rem, 5vw, 4rem) 0;
  background: var(--white);
}
.definition-faq h2 { text-align: center; margin-bottom: 2rem; }
.definition-faq dl { max-width: 800px; margin-inline: auto; }
.definition-faq dt {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  padding: 1rem 0 0.25rem;
  border-top: 1px solid var(--gray-light);
  cursor: default;
}
.definition-faq dd {
  margin-left: 0;
  padding: 0.25rem 0 1rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== Sidebar Popular ===== */
.sidebar-popular {
  padding: clamp(2rem, 5vw, 4rem) 0;
  background: var(--wheat-light);
}
.sidebar-popular .wrap { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: start; }
.sidebar-popular .col { position: sticky; top: 100px; }
.sidebar-popular h3 { font-family: var(--font-display); color: var(--navy); margin-bottom: 1rem; font-size: 1.2rem; }
.sidebar-popular__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.sidebar-popular__links a {
  display: block;
  padding: 0.6rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--charcoal);
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
  border-left: 3px solid transparent;
}
.sidebar-popular__links a:hover {
  background: var(--sage);
  color: var(--white);
  border-left-color: var(--navy);
  padding-left: 1.3rem;
}

/* ===== Magazine Footer ===== */
.magazine-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: clamp(2rem, 5vw, 4rem) 0 1.5rem;
}
.magazine-footer .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer-col h4 {
  font-family: var(--font-display);
  color: var(--wheat);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.magazine-footer .copyright {
  grid-column: 1 / -1;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  padding: 1rem 0 0.5rem;
  color: var(--gray);
}
.breadcrumbs a { color: var(--sage-dark); text-decoration: none; }
.breadcrumbs span { color: var(--gray); }

/* ===== Sub-page: smaller hero ===== */
.article-hero--sub {
  padding: clamp(1.5rem, 4vw, 3rem) 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}
.article-hero--sub .lead-column h1 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.article-hero--sub .lead-column .lead { max-width: 100%; }

/* ===== Content prose ===== */
.content {
  padding: clamp(1.5rem, 4vw, 3rem) 0;
  background: var(--white);
}
.content p { max-width: 70ch; }

/* ===== Container Queries ===== */
@container (min-width: 600px) {
  .tile-masonry__item { container-type: inline-size; }
}

/* ===== Data Table ===== */
.data-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.data-table th { background: var(--navy); color: var(--white); padding: 0.75rem 1rem; text-align: left; font-weight: 600; }
.data-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--gray-light); }
.data-table tr:nth-child(even) { background: var(--wheat-light); }

/* ===== Related Services ===== */
.related-services { padding: 1.5rem 0; background: var(--white); border-top: 1px solid var(--gray-light); }
.related-services h3 { margin-bottom: 1rem; }
.related-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.related-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--wheat-light);
  border-radius: var(--radius);
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--navy);
  transition: background 0.2s;
}
.related-links a:hover { background: var(--sage); color: var(--white); }

/* ===== CTA ===== */
.cta-card { background: var(--sage); color: var(--white); text-align: center; padding: 2.5rem 1.5rem; border-radius: var(--radius); }
.cta-card h3 { color: var(--white); }
.cta-card a { color: var(--wheat); font-weight: 700; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .article-hero .wrap, .magazine-grid { grid-template-columns: 1fr; }
  .sidebar-popular .wrap { grid-template-columns: 1fr; }
  .magazine-footer .wrap { grid-template-columns: 1fr 1fr; }
  .scroll-nav { gap: 1rem; font-size: 0.8rem; }
  .tile-masonry__item.wide { grid-column: span 1; }
  .tile-masonry__item.tall { grid-row: span 1; }
}
@media (max-width: 480px) {
  .magazine-footer .wrap { grid-template-columns: 1fr; }
  .side-column { display: none; }
}

/* ===== Print ===== */
@media print {
  .magazine-top, .magazine-footer, .scroll-nav, .sidebar-popular { display: none; }
  body { font-size: 12pt; background: white; color: black; }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }

/* ===== Content visibility for scrolling perf ===== */
.tile-masonry, .pullquote-stack, .definition-faq, .sidebar-popular { content-visibility: auto; contain-intrinsic-size: 500px; }
