/* Autoblog — fixed blue gradient template */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #0f2d4a;
  --primary-light: #1a6098;
  --gold: #60cdff;
  --gold-light: #a8e0ff;
  --gold-dark: #0b5394;
  --cream: #f0f6fc;
  --white: #ffffff;
  --text-dark: #0d1f2d;
  --text-mid: #2d5070;
  --text-light: #5a7a94;
  --border: #c2d8ee;
  --shadow-sm: rgba(15, 45, 74, 0.08);
  --shadow: rgba(15, 45, 74, 0.14);
  --shadow-lg: rgba(15, 45, 74, 0.28);
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-nav: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --nav-height: 80px;
  --container-max: 1180px;
  --container-pad: clamp(20px, 5vw, 80px);
  --radius: 8px;
  --radius-lg: 16px;
  --ease: 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-dark); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }

.site-nav { background: var(--primary); height: var(--nav-height); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px var(--shadow); }
.site-nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--white); letter-spacing: 0.5px; }
.nav-brand em { color: var(--gold); font-style: normal; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 28px; }
.nav-links a { font-family: var(--font-nav); font-weight: 500; font-size: 0.95rem; color: var(--white); letter-spacing: 0.4px; text-transform: uppercase; }
.nav-links a:hover { color: var(--gold); }
.nav-phone { background: var(--gold); color: var(--primary) !important; padding: 10px 18px; border-radius: var(--radius); font-weight: 600 !important; }
.nav-phone:hover { background: var(--gold-light); color: var(--primary) !important; }

.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: var(--white); padding: 100px 0 80px; text-align: center; }
.hero h1 { font-family: var(--font-heading); font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 700; line-height: 1.15; margin-bottom: 18px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p { max-width: 720px; margin: 0 auto; font-size: 1.1rem; color: rgba(255,255,255,0.85); }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; padding: 70px 0; }
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 20px var(--shadow-sm); transition: transform var(--ease), box-shadow var(--ease); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px var(--shadow); }
.blog-card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { font-family: var(--font-nav); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gold-dark); margin-bottom: 10px; }
.blog-card-title { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; line-height: 1.3; margin-bottom: 12px; color: var(--primary); }
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--gold-dark); }
.blog-card-excerpt { color: var(--text-mid); font-size: 0.95rem; flex: 1; }
.blog-card-link { margin-top: 18px; font-family: var(--font-nav); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--gold-dark); }
.blog-card-link:after { content: " →"; }

.article { background: var(--white); padding: 60px 0 90px; }
.article-header { max-width: 800px; margin: 0 auto 40px; text-align: center; }
.article-meta { font-family: var(--font-nav); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gold-dark); margin-bottom: 14px; }
.article-title { font-family: var(--font-heading); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; line-height: 1.2; color: var(--primary); margin-bottom: 16px; }
.article-subtitle { font-size: 1.1rem; color: var(--text-mid); font-style: italic; }
.article-hero { max-width: 1080px; margin: 0 auto 50px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 8px 30px var(--shadow); aspect-ratio: 16/9; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 760px; margin: 0 auto; font-size: 1.075rem; line-height: 1.8; }
.article-body h2 { font-family: var(--font-heading); font-size: 1.85rem; font-weight: 600; color: var(--primary); margin: 44px 0 16px; line-height: 1.25; }
.article-body h3 { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 600; color: var(--primary-light); margin: 30px 0 12px; }
.article-body p { margin-bottom: 18px; color: var(--text-dark); }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--primary); }
.article-body blockquote { border-left: 4px solid var(--gold); background: var(--cream); padding: 18px 24px; margin: 24px 0; font-style: italic; color: var(--text-mid); }

.cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: var(--white); padding: 70px 0; text-align: center; margin-top: 60px; border-radius: var(--radius-lg); }
.cta h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 14px; }
.cta h2 em { color: var(--gold); font-style: italic; }
.cta p { font-size: 1.05rem; color: rgba(255,255,255,0.85); max-width: 620px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 28px; border-radius: var(--radius); font-family: var(--font-nav); font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.6px; transition: all var(--ease); border: 2px solid transparent; }
.btn-primary { background: var(--gold); color: var(--primary); }
.btn-primary:hover { background: var(--gold-light); color: var(--primary); transform: translateY(-2px); }
.btn-outline { border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--primary); }

.attribution { max-width: 760px; margin: 30px auto 0; font-size: 0.8rem; color: var(--text-light); text-align: center; font-style: italic; }
.attribution a { color: var(--text-mid); text-decoration: underline; }

.footer { background: var(--primary); color: rgba(255,255,255,0.75); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h5 { font-family: var(--font-heading); color: var(--gold); font-size: 1.1rem; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; font-size: 0.95rem; }
.footer a { color: rgba(255,255,255,0.75); }
.footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.55); }

@media (max-width: 760px) {
  .nav-links { gap: 14px; font-size: 0.85rem; }
  .nav-links a:not(.nav-phone) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-body { font-size: 1rem; }
}
