/* =====================================================
   Tampete Homes — Editorial blog article styles
   Imported alongside css/style.css on /blog/*.html pages
   Created 2026-04-14 — ported from SultanBrain/website editorial design
   Palette harmonized with the canonical style.css (orange #ED5829)
   ===================================================== */

:root {
  --art-navy: #0B1D3A;
  --art-navy-2: #142a4f;
  --art-navy-ink: #081530;
  --art-gold: #D4A843;
  --art-paper: #FFFFFF;
  --art-line: #E6E7EB;
  --art-muted: #6C6F7A;
  --art-muted-light: #B4B7C0;
  --art-text: #1F2227;
  --art-text-soft: #3A3E46;
  --art-bg-alt: #F7F5EF;
  --art-serif: "Source Serif Pro", "Source Serif 4", Georgia, "Times New Roman", serif;
}

/* --- article hero (navy banner at top of each post) --- */
.article-hero {
  background: linear-gradient(135deg, var(--art-navy) 0%, var(--art-navy-2) 100%);
  color: #fff;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}
.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 15% 20%, rgba(212,168,67,.10), transparent 55%);
  pointer-events: none;
}
.article-hero > .container {
  position: relative;
  z-index: 1;
  max-width: 860px;
}
.article-hero .breadcrumb {
  font-size: .82rem;
  color: #b8c1d0;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.article-hero .breadcrumb a { color: #d4dae6; }
.article-hero .breadcrumb a:hover { color: var(--art-gold); }
.article-hero .category {
  display: inline-block;
  background: rgba(212,168,67,.18);
  color: var(--art-gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  border: 1px solid rgba(212,168,67,.35);
}
.article-hero h1 {
  font-family: var(--art-serif);
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: 18px;
  color: #fff;
  max-width: 820px;
}
.article-hero .dek {
  font-family: var(--art-serif);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.5;
  color: #dce2ee;
  max-width: 720px;
  margin-bottom: 24px;
}
.article-hero .byline {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  font-size: .92rem;
  color: #c8d0de;
}
.article-hero .byline .sep { opacity: .5; }
.article-hero .byline strong { color: #fff; font-weight: 600; }

/* --- article body (long-form editorial reading) --- */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 20px 40px;
}
.article-body p {
  font-family: var(--art-serif);
  font-size: 1.18rem;
  line-height: 1.75;
  color: #222;
  margin-bottom: 22px;
}
.article-body p.lede {
  font-size: 1.32rem;
  line-height: 1.6;
  color: #111;
  font-weight: 400;
}
.article-body p.lede::first-letter {
  font-family: var(--art-serif);
  font-weight: 700;
  float: left;
  font-size: 3.6rem;
  line-height: .9;
  padding: 6px 10px 0 0;
  color: var(--art-navy);
}
.article-body h2 {
  font-family: var(--art-serif);
  font-size: 1.7rem;
  line-height: 1.25;
  color: var(--art-navy);
  font-weight: 700;
  margin: 40px 0 14px;
  letter-spacing: -.01em;
}
.article-body h3 {
  font-family: var(--font-heading, "Montserrat", sans-serif);
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--art-navy);
  font-weight: 700;
  margin: 30px 0 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.article-body ul,
.article-body ol {
  margin: 10px 0 24px 26px;
  font-family: var(--art-serif);
  font-size: 1.14rem;
  line-height: 1.7;
  color: #222;
}
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--art-navy-ink); font-weight: 700; }
.article-body em { font-style: italic; }
.article-body a {
  color: #ED5829;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}
.article-body a:hover { color: #C4441E; }
/* Fix: in-article CTA buttons inherited .article-body a styles, which made
   orange-on-orange (.btn-primary) text invisible. Restore button styling. */
.article-body a.btn,
.article-body a.cta-btn {
  text-decoration: none;
}
.article-body a.btn-primary,
.article-body a.btn-primary:hover,
.article-body a.btn-blue,
.article-body a.btn-blue:hover {
  color: #fff;
}
.article-body a.btn-outline {
  color: #fff;
}
.article-body a.btn-outline:hover {
  color: #ED5829;
}
.article-body a.cta-btn {
  display: inline-block;
  background: #ED5829;
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  font-family: var(--font-heading, "Montserrat", sans-serif);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.article-body a.cta-btn:hover {
  background: #C4441E;
  color: #fff;
}
.article-body hr {
  border: none;
  height: 1px;
  background: var(--art-line);
  margin: 36px auto;
  max-width: 120px;
}

/* --- magazine embellishments --- */
.pullquote {
  border-left: 4px solid var(--art-gold);
  padding: 6px 0 6px 24px;
  margin: 32px 0;
  font-family: var(--art-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--art-navy);
  font-weight: 400;
}
.pullquote cite {
  display: block;
  font-family: var(--font-heading, "Montserrat", sans-serif);
  font-style: normal;
  font-size: .8rem;
  font-weight: 600;
  color: var(--art-muted);
  letter-spacing: .08em;
  margin-top: 8px;
  text-transform: uppercase;
}
.callout {
  background: #fff8ea;
  border: 1px solid #f2e2ba;
  border-left: 4px solid var(--art-gold);
  padding: 22px 26px;
  border-radius: 8px;
  margin: 28px 0;
}
.callout h4 {
  font-family: var(--font-heading, "Montserrat", sans-serif);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #ED5829;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.callout p {
  font-family: var(--art-serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--art-text);
  margin: 0;
}
.end-cap {
  text-align: center;
  color: var(--art-gold);
  font-size: 1.4rem;
  letter-spacing: .6em;
  margin: 40px 0 20px;
  font-weight: 700;
}

/* --- in-article CTA (keeps the FormSubmit funnel alive) --- */
.article-cta {
  background: var(--art-bg-alt);
  border: 1px solid var(--art-line);
  border-radius: 12px;
  padding: 32px 34px;
  margin: 40px 0 10px;
  text-align: center;
}
.article-cta h3 {
  font-family: var(--font-heading, "Montserrat", sans-serif);
  font-size: 1.2rem;
  color: var(--art-navy);
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.article-cta p {
  font-family: var(--art-serif);
  font-size: 1.05rem;
  color: var(--art-text-soft);
  margin-bottom: 20px;
  line-height: 1.55;
}

/* --- related-articles band at bottom of each post --- */
.related-band {
  background: var(--art-paper);
  border-top: 1px solid var(--art-line);
  padding: 56px 0;
}
.related-band .eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: #ED5829;
  text-transform: uppercase;
  margin-bottom: 6px;
  text-align: center;
}
.related-band h2 {
  text-align: center;
  font-size: 1.7rem;
  color: var(--art-navy);
  margin-bottom: 32px;
  font-family: var(--art-serif);
  font-weight: 700;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.related-grid .related-card {
  background: #fff;
  border: 1px solid var(--art-line);
  border-radius: 10px;
  padding: 22px 22px 24px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.related-grid .related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}
.related-grid .related-card .tag {
  display: inline-block;
  background: rgba(212,168,67,.15);
  color: #8a6e22;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.related-grid .related-card h3 {
  font-family: var(--art-serif);
  font-size: 1.1rem;
  color: var(--art-navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.related-grid .related-card p {
  font-size: .92rem;
  color: var(--art-muted);
  line-height: 1.45;
  margin-bottom: 0;
}
.related-grid a { color: inherit; }

/* --- featured card on /blog.html --- */
.blog-featured {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  border: 1px solid var(--art-line);
  margin: 24px 0 40px;
}
.blog-featured .art-visual {
  min-height: 260px;
  background: linear-gradient(135deg, rgba(11,29,58,.72), rgba(11,29,58,.35)),
              linear-gradient(135deg, #0B1D3A 0%, #2a4877 60%, #ED5829 100%);
  display: flex;
  align-items: flex-end;
  padding: 26px;
  color: #fff;
}
.blog-featured .art-visual .badge {
  background: var(--art-gold);
  color: var(--art-navy);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.blog-featured .art-body {
  padding: 34px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured h2 {
  font-family: var(--art-serif);
  font-size: 1.7rem;
  line-height: 1.2;
  color: var(--art-navy);
  margin-bottom: 10px;
}
.blog-featured p {
  color: var(--art-text-soft);
  font-size: 1rem;
  margin-bottom: 14px;
}
.blog-featured .meta {
  color: var(--art-muted);
  font-size: .88rem;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.blog-featured .meta .dot {
  width: 3px;
  height: 3px;
  background: var(--art-muted-light);
  border-radius: 50%;
  display: inline-block;
}
.blog-featured .read-link {
  color: #ED5829;
  font-weight: 600;
  font-size: .95rem;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured .art-visual { min-height: 180px; }
  .blog-featured .art-body { padding: 24px 22px; }
  .article-hero { padding: 44px 0 50px; }
  .article-body p { font-size: 1.08rem; }
  .article-body p.lede { font-size: 1.18rem; }
  .article-body h2 { font-size: 1.38rem; }
}
