/* MortgageCalcUK shared article styles */
:root {
  --ink: #0f1923; --ink2: #2c3e50; --muted: #6b7a8d; --pale: #f4f1eb; --cream: #faf8f4;
  --gold: #b8963e; --gold-light: #d4af6a; --gold-pale: #f9f3e8; --border: #e2ddd4;
  --white: #ffffff; --green: #2d7a4f; --green-pale: #edf7f2; --red: #c0392b;
  --shadow: 0 2px 20px rgba(15,25,35,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--ink); line-height: 1.6; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.ad-zone { width: 100%; background: #f0ede6; border: 1px dashed #c9c2b4; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #9e9588; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.ad-top { height: 90px; border-radius: 0; border-left: none; border-right: none; }
.ad-mid { height: 280px; margin: 2.5rem 0; }
.ad-bot { height: 250px; margin: 2rem 0 0; }
.ad-side { height: 600px; width: 160px; flex-shrink: 0; }

nav { background: var(--ink); padding: 0 2rem; height: 64px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 200; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--white); text-decoration: none; cursor: pointer; }
.nav-logo span { color: var(--gold-light); }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); text-decoration: none; }
.nav-cta { background: var(--gold) !important; color: var(--white) !important; padding: 8px 16px !important; border-radius: 6px !important; }

.article-header { background: var(--ink); color: var(--white); padding: 3rem 1.5rem 2rem; }
.article-header-inner { max-width: 760px; margin: 0 auto; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.6); background: none; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; margin-bottom: 1.5rem; padding: 0; text-decoration: none; }
.back-btn:hover { color: var(--white); text-decoration: none; }
.article-cat-badge { display: inline-block; background: var(--gold); color: var(--white); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 14px; border-radius: 20px; margin-bottom: 1rem; font-weight: 500; }
.article-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem,4vw,2.5rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
.article-byline { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; color: var(--white); font-size: 1rem; flex-shrink: 0; }
.author-info { font-size: 13px; color: rgba(255,255,255,0.7); }
.author-info strong { color: var(--white); display: block; }

.article-body { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.article-body h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 600; color: var(--ink); margin: 2rem 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--gold-pale); }
.article-body h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--ink); margin: 1.5rem 0 0.5rem; }
.article-body p { font-size: 16px; color: var(--ink2); margin-bottom: 1.25rem; line-height: 1.8; }
.article-body ul, .article-body ol { margin: 0 0 1.25rem 1.5rem; }
.article-body li { font-size: 15px; color: var(--ink2); margin-bottom: 0.5rem; line-height: 1.7; }
.article-body strong { color: var(--ink); font-weight: 500; }
.article-body a { color: var(--gold); }

.highlight-box { background: var(--gold-pale); border: 1px solid #e8d58a; border-radius: 10px; padding: 1.25rem; margin: 1.5rem 0; }
.highlight-box p { margin: 0; font-size: 15px; color: var(--ink2); }
.disclaimer { background: var(--pale); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; margin-top: 2rem; font-size: 13px; color: var(--muted); line-height: 1.6; }
.calc-inline-cta { background: var(--ink); color: var(--white); border-radius: 12px; padding: 1.5rem; text-align: center; margin: 2rem 0; }
.calc-inline-cta h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--gold-light); margin-bottom: 0.5rem; }
.calc-inline-cta p { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 1rem; }
.calc-inline-cta a, .calc-inline-cta button { display: inline-block; background: var(--gold); color: var(--white); padding: 12px 24px; border-radius: 8px; border: none; font-size: 14px; font-weight: 500; cursor: pointer; font-family: 'DM Sans', sans-serif; text-decoration: none; }
.calc-inline-cta a:hover { text-decoration: none; opacity: 0.95; }

.related-articles { max-width: 760px; margin: 2.5rem auto 0; padding: 0 1.5rem; }
.related-articles h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--ink); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--gold-pale); }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.related-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; text-decoration: none; transition: transform 0.2s; display: block; }
.related-card:hover { transform: translateY(-2px); text-decoration: none; }
.related-card .cat { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 500; }
.related-card h4 { font-family: 'Playfair Display', serif; font-size: 0.95rem; color: var(--ink); margin: 4px 0 0; line-height: 1.3; }

footer { background: var(--ink); color: rgba(255,255,255,0.4); text-align: center; padding: 2rem 1.25rem; font-size: 12px; margin-top: 3rem; line-height: 1.8; }
footer strong { color: rgba(255,255,255,0.7); }
footer a { color: rgba(255,255,255,0.6); }

@media (max-width:580px) { 
  nav { padding: 0 1rem; } 
  .nav-links a:not(.nav-cta) { display: none; }
  .related-grid { grid-template-columns: 1fr; }
}
