/* LF Paladino Blog — Shared Styles (Paladino navy + gold, layout Creditec) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:            #07104d;
  --primary-2:          #0a155e;
  --accent:             #c9a24b;
  --accent-2:           #e0b94f;
  --bg:                 #f5f7fb;
  --card:               #ffffff;
  --fg:                 #11182f;
  --secondary:          #4b5670;
  --muted:              #94a3b8;
  --border:             #e2e7f1;
  --radius:             1rem;
  --font-head:          'Playfair Display', Georgia, serif;
  --font-body:          'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── HEADER ─────────────────────────────── */
.site-header {
  background: var(--primary);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(7,16,77,.3);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.site-logo img { height: 38px; width: auto; border-radius: 4px; }
.site-nav { display: flex; gap: 1.5rem; align-items: center; }
.site-nav a {
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  opacity: .85;
  transition: opacity .2s;
}
.site-nav a:hover, .site-nav a.active { opacity: 1; text-decoration: underline; }
.nav-cta {
  background: var(--accent);
  color: var(--accent-fg) !important;
  padding: .55rem 1.1rem;
  border-radius: 9999px;
  font-weight: 700;
}
.nav-cta:hover { opacity: .9; text-decoration: none !important; }

/* ── MAIN CONTENT ────────────────────────── */
.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* ── BLOG HERO ───────────────────────────── */
.blog-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  text-align: center;
  padding: 4.5rem 1.5rem 3.5rem;
  margin: 0 -1.5rem 3rem;
  border-bottom: 4px solid var(--accent);
}
.blog-badge {
  display: inline-block;
  background: rgba(201,162,75,.2);
  color: var(--accent-2);
  border: 1px solid var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}
.blog-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.blog-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

/* ── POST CARDS ──────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.post-card:hover { box-shadow: 0 10px 32px rgba(7,16,77,.14); transform: translateY(-4px); }
.post-card-thumb {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-body { padding: 1.5rem 1.5rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.post-category {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: .5rem;
}
.post-card h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .6rem;
  color: var(--primary);
}
.post-card p { color: var(--secondary); font-size: .92rem; margin-bottom: 1.1rem; flex: 1; }
.post-meta {
  display: flex;
  gap: 1rem;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 1rem;
  align-items: center;
}
.post-meta svg { width: 14px; height: 14px; stroke: var(--muted); margin-right: .3rem; vertical-align: -2px; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--accent);
  transition: gap .2s;
}
.read-more:hover { gap: .6rem; }
.read-more::after { content: "→"; }

/* ── ARTICLE ─────────────────────────────── */
.article-hero {
  height: 340px;
  overflow: hidden;
  margin: 0 -1.5rem 2rem;
  position: relative;
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-header { padding: 0 0 1.5rem; }
.article-header .category {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: .5rem;
}
.article-header h1 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
}
.article-meta { font-size: .85rem; color: var(--secondary); margin-bottom: 1.5rem; }
.article-intro {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--secondary);
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  margin-bottom: 2rem;
}
.article-body h2 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 2rem 0 .75rem;
  color: var(--primary);
}
.article-body h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.5rem 0 .5rem;
  color: var(--primary);
}
.article-body p { margin-bottom: 1.1rem; }
.article-body ul, .article-body ol { margin: .5rem 0 1.1rem 1.5rem; }
.article-body li { margin-bottom: .4rem; }
.article-body strong { font-weight: 700; }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  background: #fff;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--secondary);
  font-style: italic;
}
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: .6rem .8rem; text-align: left; }
.article-body th { background: var(--primary); color: #fff; font-weight: 600; }
.article-body details { border: 1px solid var(--border); border-radius: var(--radius); padding: .25rem 1rem; margin: 1.25rem 0; background: #fff; }
.article-body summary { font-weight: 700; cursor: pointer; padding: .6rem 0; color: var(--primary); }
.article-body code { background: #eef1f8; padding: .15rem .4rem; border-radius: 4px; font-family: ui-monospace, monospace; font-size: .9em; }

.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
  border: 1px solid var(--accent);
}
.cta-box h3 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; }
.cta-box p { opacity: .9; margin-bottom: 1.25rem; }
.btn-wpp {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  padding: .85rem 1.75rem;
  border-radius: 9999px;
  font-size: 1rem;
  transition: opacity .2s;
}
.btn-wpp:hover { opacity: .85; }

.breadcrumb { font-size: .8rem; color: var(--secondary); margin: 1.5rem 0; }
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 .4rem; }

/* ── FOOTER ──────────────────────────────── */
footer {
  background: var(--primary);
  color: #fff;
  padding: 3.5rem 1.5rem 1.5rem;
  border-top: 4px solid var(--accent);
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
footer h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; color: var(--accent-2); }
footer ul { list-style: none; }
footer li { margin-bottom: .45rem; font-size: .9rem; opacity: .9; }
footer a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.25rem; text-align: center; }
.footer-bottom p { font-size: .8rem; opacity: .7; margin-bottom: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; font-size: .8rem; opacity: .7; }
.footer-links a:hover { opacity: 1; }
.footer-credit { font-size: .75rem; opacity: .5; margin-top: .75rem; }
.footer-credit a:hover { opacity: .8; }

.ig-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  transition: background .2s;
}
.ig-icon:hover { background: rgba(255,255,255,.1); }

/* ── FLOATING BUTTONS ────────────────────── */
.fab-wpp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  z-index: 200;
  transition: transform .2s;
}
.fab-wpp:hover { transform: scale(1.08); }
.fab-ig {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  z-index: 200;
  transition: transform .2s;
}
.fab-ig:hover { transform: scale(1.08); }

@media (max-width: 768px) {
  .site-header { padding: .75rem 1rem; }
  .header-inner { gap: .5rem; }
  .site-logo span { display: none; }
  .site-logo img { height: 32px; }
  .site-nav { gap: .6rem; }
  .site-nav a { font-size: .8rem; white-space: nowrap; }
  .nav-cta { padding: .4rem .75rem; font-size: .75rem; }
  .blog-hero { padding: 3rem 1rem 2.5rem; }
  .article-hero { height: 220px; }
}

@media (max-width: 480px) {
  .site-nav a:not(.nav-cta):not(.active) { display: none; }
}
