/*
Theme Name: elzario-web-core
Author: elzario-webmaster
Version: 2.4.7
Description: elzario
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --c-bg: #f5f0e8;
  --c-bg-alt: #eee7da;
  --c-surface: #fff;
  --c-dark: #1a1a2e;
  --c-text: #2c2c3a;
  --c-text-muted: #6b6b7b;
  --c-accent: #c9463d;
  --c-gold: #c4a265;
  --c-gold-light: #e8d5b7;
  --c-divider: #d4cbbe;
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Lora', Georgia, serif;
  --max-w: 780px;
  --max-w-wide: 1140px;
  --gap: 2rem;
}

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
a { display: inline-block; text-align: center; }

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

body {
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
.site-header {
  background: var(--c-dark);
  color: var(--c-gold-light);
  padding: 1.2rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--c-accent);
}
.site-header-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-logo {
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-gold-light);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}
.site-logo:hover { color: #fff; }
.site-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--c-gold-light);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--f-body);
  transition: color 0.3s;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: width 0.3s;
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { width: 100%; }

/* ── BREADCRUMBS ── */
.breadcrumbs {
  max-width: var(--max-w);
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
  font-size: 0.85rem;
  color: var(--c-text-muted);
}
.breadcrumbs a {
  color: var(--c-accent);
  text-decoration: none;
  text-align: left;
}
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 0.4rem; }

/* ── ARTICLE ── */
.article-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 1.5rem 0 1rem;
  font-size: 0.85rem;
  color: var(--c-text-muted);
  font-family: var(--f-body);
  flex-wrap: wrap;
}
.article-meta .category {
  background: var(--c-accent);
  color: #fff;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 2px;
}
.article-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.article-lead {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--c-text-muted);
  border-left: 4px solid var(--c-accent);
  padding-left: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.article-body h2 {
  font-family: var(--f-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--c-dark);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-divider);
}
.article-body h3 {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--c-dark);
  margin: 2rem 0 0.8rem;
}
.article-body p { margin-bottom: 1.3rem; }
.article-body img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.article-divider {
  border: none;
  border-top: 1px solid var(--c-divider);
  margin: 2.5rem 0;
}

/* ── PULL QUOTE ── */
.pull-quote {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--c-accent);
  text-align: center;
  padding: 2rem 1.5rem;
  margin: 2.5rem -1rem;
  position: relative;
  line-height: 1.4;
}
.pull-quote::before, .pull-quote::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--c-gold);
  margin: 0 auto;
}
.pull-quote::before { margin-bottom: 1.5rem; }
.pull-quote::after { margin-top: 1.5rem; }

/* ── SIDEBAR-LIKE TIP BOX ── */
.tip-box {
  background: var(--c-dark);
  color: var(--c-gold-light);
  padding: 1.8rem;
  border-radius: 4px;
  margin: 2rem 0;
  border-left: 5px solid var(--c-accent);
}
.tip-box h4 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  color: #fff;
}
.tip-box p { margin-bottom: 0.5rem; font-size: 0.95rem; }

/* ── PREV / NEXT NAV ── */
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 3rem 0 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--c-divider);
  flex-wrap: wrap;
}
.article-nav a {
  text-decoration: none;
  color: var(--c-dark);
  font-family: var(--f-display);
  font-size: 1.1rem;
  transition: color 0.3s;
  text-align: left;
  flex: 1;
  min-width: 180px;
}
.article-nav a:last-child { text-align: right; }
.article-nav a:hover { color: var(--c-accent); }
.article-nav .nav-label {
  display: block;
  font-family: var(--f-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-muted);
  margin-bottom: 0.3rem;
}

/* ── READ ALSO ── */
.read-also {
  background: var(--c-bg-alt);
  padding: 2rem;
  border-radius: 6px;
  margin: 2rem 0;
}
.read-also h3 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--c-dark);
}
.read-also-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.read-also-card {
  background: var(--c-surface);
  padding: 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  color: var(--c-text);
  border: 1px solid var(--c-divider);
  transition: transform 0.3s, box-shadow 0.3s;
}
.read-also-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.read-also-card h4 {
  font-family: var(--f-display);
  font-size: 1.05rem;
  color: var(--c-dark);
  margin-bottom: 0.5rem;
  text-align: left;
}
.read-also-card p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  text-align: left;
}

/* ── SUBSCRIBE ── */
.subscribe-section {
  background: var(--c-dark);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 6px;
  margin: 2.5rem 0;
}
.subscribe-section h3 {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.subscribe-section p {
  color: var(--c-gold-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.subscribe-form {
  display: flex;
  gap: 0.8rem;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.subscribe-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--c-gold);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.95rem;
  border-radius: 3px;
  outline: none;
  transition: border-color 0.3s;
}
.subscribe-form input[type="email"]::placeholder { color: var(--c-gold-light); opacity: 0.6; }
.subscribe-form input[type="email"]:focus { border-color: var(--c-accent); }
.subscribe-form button {
  padding: 0.8rem 1.8rem;
  background: var(--c-accent);
  color: #fff;
  border: none;
  font-family: var(--f-body);
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.3s, transform 0.2s;
  letter-spacing: 0.03em;
}
.subscribe-form button:hover { background: #a83830; transform: translateY(-1px); }

/* ── FOOTER ── */
.site-footer {
  background: var(--c-dark);
  color: var(--c-gold-light);
  padding: 3rem 2rem 2rem;
  margin-top: 3rem;
}
.footer-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}
.footer-logo {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.footer-links a {
  color: var(--c-gold-light);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: #fff; }
.footer-disclaimer {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-top: 0.5rem;
}

/* ── COOKIE MODAL ── */
.cookie-modal {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-divider);
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 360px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  z-index: 999;
  animation: slideUp 0.5s ease;
  font-size: 0.9rem;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal h4 {
  font-family: var(--f-display);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--c-dark);
}
.cookie-modal p { color: var(--c-text-muted); margin-bottom: 1rem; line-height: 1.5; }
.cookie-modal-btns { display: flex; gap: 0.6rem; }
.cookie-modal-btns button {
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 0.85rem;
  transition: background 0.3s;
}
.cookie-btn-accept { background: var(--c-accent); color: #fff; }
.cookie-btn-accept:hover { background: #a83830; }
.cookie-btn-decline { background: var(--c-bg-alt); color: var(--c-text); }
.cookie-btn-decline:hover { background: var(--c-divider); }
.cookie-modal.hidden { display: none; }

/* ── POLICY / LEGAL PAGES ── */
.legal-page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.legal-page h1 {
  font-family: var(--f-display);
  font-size: 2.2rem;
  color: var(--c-dark);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--c-accent);
  padding-bottom: 0.8rem;
}
.legal-page h2 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--c-dark);
  margin: 2rem 0 0.8rem;
}
.legal-page p { margin-bottom: 1rem; }
.legal-page a { color: var(--c-accent); text-align: left; }

/* ── SUCCESS PAGE ── */
.success-page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem 1.5rem;
  text-align: center;
}
.success-page h1 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--c-dark);
  margin-bottom: 1rem;
}
.success-page p {
  font-size: 1.15rem;
  color: var(--c-text-muted);
  margin-bottom: 2.5rem;
}
.btn-home {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--c-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-family: var(--f-body);
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
}
.btn-home:hover { background: #a83830; transform: translateY(-2px); }

/* ── 404 ── */
.page-404 {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem 1.5rem;
  text-align: center;
}
.page-404 .big-404 {
  font-family: var(--f-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.2;
}
.page-404 h1 {
  font-family: var(--f-display);
  font-size: 2rem;
  color: var(--c-dark);
  margin-bottom: 0.8rem;
}
.page-404 p { color: var(--c-text-muted); margin-bottom: 2rem; }

/* ── HERO SECTION (home) ── */
.hero-banner {
  background: var(--c-dark);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-accent), var(--c-gold));
}
.hero-banner h2 {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.02em;
  max-width: 700px;
  margin: 0 auto;
}
.hero-banner p {
  color: var(--c-gold-light);
  margin-top: 0.8rem;
  font-size: 0.95rem;
  font-style: italic;
}

/* ── NUMBERED LIST BOX ── */
.steps-box {
  background: var(--c-surface);
  border: 1px solid var(--c-divider);
  border-radius: 6px;
  padding: 2rem;
  margin: 2rem 0;
  counter-reset: steps;
}
.steps-box h4 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--c-dark);
}
.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  counter-increment: steps;
}
.step-item::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.step-item p { margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .site-header { padding: 1rem; }
  .site-logo { font-size: 1.4rem; }
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: 0.78rem; }
  .article-container { padding: 0 1rem 2rem; }
  .pull-quote { font-size: 1.25rem; margin: 2rem 0; }
  .cookie-modal { right: 0.8rem; bottom: 0.8rem; max-width: calc(100vw - 1.6rem); }
  .subscribe-section { padding: 2rem 1.2rem; }
  .article-nav { flex-direction: column; }
  .article-nav a:last-child { text-align: left; }
}
