/* Edificio CanRullan · Article shared stylesheet · navy+gold editorial premium */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0B1F3A;
  --navy-2: #1A3258;
  --navy-deep: #050D1C;
  --gold: #C8A968;
  --gold-soft: #E5D4A8;
  --gold-deep: #9B7E3C;
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-soft: #2B2B2B;
  --muted: #6B7280;
  --line: #D1D5DB;
  --line-soft: #E5E7EB;
  --accent-bg: #F2EEE3;
}
html, body { background: var(--paper); color: var(--text); scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; letter-spacing: -0.003em; }

/* TOPBAR */
.topbar { background: var(--navy-deep); color: var(--white); padding: 10px 0; border-bottom: 2px solid var(--gold); position: sticky; top: 0; z-index: 50; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar .brand { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--gold); letter-spacing: -0.01em; text-decoration: none; }
.topbar nav { display: flex; gap: 20px; align-items: center; font-size: 13px; }
.topbar nav a { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500; transition: color 0.15s; }
.topbar nav a:hover { color: var(--gold); }

.container { max-width: 760px; margin: 0 auto; padding: 0 32px; }

/* HERO */
.hero-img { width: 100%; height: 420px; object-fit: cover; display: block; }
.hero-img-wrap { position: relative; background: var(--navy-deep); }
.hero-img-wrap .caption { position: absolute; bottom: 12px; right: 16px; font-size: 11px; color: rgba(255,255,255,0.75); background: rgba(0,0,0,0.35); padding: 4px 10px; border-radius: 2px; letter-spacing: 0.02em; }
@media(max-width:640px){ .hero-img { height: 260px; } }

/* HEADER block */
.article-head { padding: 48px 0 28px; }
.article-head .eyebrow { font-size: 11px; letter-spacing: 0.26em; color: var(--gold-deep); text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.article-head h1 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; color: var(--navy); font-size: 42px; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 18px; }
.article-head h1 em { font-style: italic; font-weight: 600; color: var(--navy-2); }
.article-head .lede { font-family: 'Playfair Display', serif; font-style: italic; font-size: 21px; line-height: 1.5; color: var(--navy-2); margin-bottom: 24px; }
.article-head .byline { font-size: 12.5px; letter-spacing: 0.06em; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line-soft); display: flex; gap: 16px; flex-wrap: wrap; }
.article-head .byline span { font-weight: 500; }
.article-head .byline .tag { color: var(--gold-deep); background: var(--gold-soft); padding: 2px 10px; border-radius: 3px; font-size: 10.5px; letter-spacing: 0.15em; font-weight: 700; text-transform: uppercase; }

/* BODY */
article.body { padding: 8px 0 56px; }
article.body h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; font-weight: 700; color: var(--navy); margin: 44px 0 14px; line-height: 1.25; letter-spacing: -0.012em; }
article.body h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 700; font-style: italic; color: var(--navy-2); margin: 30px 0 10px; line-height: 1.3; }
article.body p { margin-bottom: 18px; color: var(--text-soft); font-size: 17px; line-height: 1.72; }
article.body p strong { color: var(--navy); font-weight: 700; }
article.body p em { color: var(--text); }
article.body ul, article.body ol { margin: 0 0 22px 22px; }
article.body li { margin-bottom: 8px; color: var(--text-soft); }
article.body blockquote { border-left: 3px solid var(--gold); padding: 6px 22px; margin: 28px 0; font-family: 'Playfair Display', serif; font-style: italic; font-size: 20px; color: var(--navy); background: var(--accent-bg); }
article.body sup.cite { font-size: 11px; color: var(--gold-deep); font-weight: 700; vertical-align: super; line-height: 0; margin-left: 1px; }
article.body figure { margin: 32px 0; }
article.body figure img { width: 100%; display: block; border: 1px solid var(--line-soft); }
article.body figure figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; font-style: italic; line-height: 1.5; }

/* Inline pullquote (smaller, no quotemark) */
.pull { border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); padding: 20px 0; margin: 32px 0; font-family: 'Playfair Display', serif; font-size: 22px; font-style: italic; color: var(--navy); text-align: center; line-height: 1.4; }

/* CTA inline */
.cta-block { background: var(--navy); color: var(--white); padding: 32px 32px; margin: 48px 0 24px; border-top: 3px solid var(--gold); }
.cta-block h3 { font-family: 'Playfair Display', serif; color: var(--white); font-size: 22px; margin-bottom: 10px; font-style: normal; font-weight: 700; }
.cta-block p { color: rgba(255,255,255,0.82); font-size: 15px; margin-bottom: 18px; }
.cta-block a { display: inline-block; padding: 12px 28px; background: var(--gold); color: var(--navy-deep); text-decoration: none; font-weight: 700; letter-spacing: 0.06em; font-size: 13px; text-transform: uppercase; transition: background 0.2s; }
.cta-block a:hover { background: var(--gold-soft); }

/* REFERENCES */
.references { margin-top: 48px; padding-top: 28px; border-top: 2px solid var(--navy); }
.references h2 { font-family: 'Inter', sans-serif; font-size: 12.5px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; color: var(--navy); margin: 0 0 22px; }
.references ol { list-style: none; padding-left: 0; counter-reset: ref; }
.references li { position: relative; padding-left: 32px; margin-bottom: 14px; font-size: 13px; line-height: 1.55; color: var(--text-soft); text-align: left; }
.references li::before { counter-increment: ref; content: counter(ref) "."; position: absolute; left: 0; color: var(--gold-deep); font-weight: 700; width: 24px; text-align: right; padding-right: 8px; }
.references li em { font-style: italic; color: var(--navy); }
.references a { color: var(--navy-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.references a:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* RELATED / back to blog */
.back-to-blog { padding: 28px 0; text-align: center; font-size: 13px; }
.back-to-blog a { color: var(--navy-2); text-decoration: none; border-bottom: 1px solid var(--gold); letter-spacing: 0.04em; font-weight: 600; }
.back-to-blog a:hover { color: var(--navy); }

/* STICKY CTA (mobile-friendly floating) */
.sticky-cta { position: fixed; bottom: 22px; right: 22px; background: var(--gold); color: var(--navy-deep); padding: 14px 22px; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 6px 20px rgba(0,0,0,0.22); z-index: 40; border: 2px solid var(--gold-deep); transition: transform 0.2s; }
.sticky-cta:hover { transform: translateY(-2px); background: var(--gold-soft); }
@media(max-width:520px){ .sticky-cta { right: 12px; bottom: 12px; padding: 11px 16px; font-size: 11.5px; } }

/* FOOTER */
footer.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.65); padding: 32px 0; font-size: 12px; border-top: 2px solid var(--gold); margin-top: 32px; }
footer.site-footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; max-width: 1180px; }
footer.site-footer .brand { color: var(--gold); font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; }
footer.site-footer a { color: var(--gold-soft); text-decoration: none; }
footer.site-footer a:hover { color: var(--gold); }

@media(max-width:640px) {
  .article-head { padding: 32px 0 20px; }
  .article-head h1 { font-size: 30px; }
  .article-head .lede { font-size: 18px; }
  article.body h2 { font-size: 22px; margin-top: 32px; }
  article.body p, article.body li { font-size: 16.5px; }
  .cta-block { padding: 24px 22px; }
  .pull { font-size: 18px; }
}
