/*
Theme Name: Markkei Blog
Theme URI: https://markkei.com.br
Author: Markkei
Description: Blog oficial da Markkei — gestão de tempo para negócios de serviço
Version: 2.0
*/

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

:root {
  --primary: #6C1F82;
  --primary-dark: #4A1158;
  --primary-mid: #7D2692;
  --primary-light: #F0E6F5;
  --primary-xlight: #FAF5FC;
  --bg: #FAFAFA;
  --bg-secondary: #F4F4F5;
  --border: #E8E0ED;
  --border-light: #F0EBF4;
  --text: #1A1A1A;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --white: #fff;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(108,31,130,0.1);
  --shadow-lg: 0 8px 40px rgba(108,31,130,0.15);
  --max-width: 1200px;
  --content-width: 760px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  font-weight: 900;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.header-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.header-nav a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.header-nav a.active {
  color: var(--primary);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-outline {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, background 0.15s;
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.btn-primary {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: var(--white);
}

/* ── HOMEPAGE HERO ── */
.home-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-mid) 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.home-hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.home-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.home-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── FEATURED POST ── */
.featured-section {
  max-width: var(--max-width);
  margin: -2rem auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.featured-post {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.featured-post-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--border) 100%);
}

.featured-post-img-placeholder {
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-post-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  width: fit-content;
}

.featured-post-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

.featured-post-title a { color: inherit; }
.featured-post-title a:hover { color: var(--primary); }

.featured-post-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.featured-post-meta .dot { opacity: 0.4; }

.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  width: fit-content;
  transition: opacity 0.15s, transform 0.15s;
}

.btn-read::after { content: '→'; }
.btn-read:hover { opacity: 0.9; transform: translateY(-1px); color: var(--white); }

/* ── MAIN LAYOUT ── */
.site-main {
  max-width: var(--max-width);
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

/* ── SECTION TITLE ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}

.section-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

/* ── POSTS GRID ── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border);
}

.post-card-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.post-card-thumb-placeholder {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--primary-xlight) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card-thumb-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.25;
}

.post-card-body { padding: 1.25rem; }

.post-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.5rem;
}

.post-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--primary); }

.post-card-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-card-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-card-read {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.post-card-read::after { content: '→'; }

/* ── SIDEBAR ── */
.sidebar { position: sticky; top: 88px; }

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.sidebar-widget-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-widget-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.sidebar-widget-body { padding: 1rem 1.25rem; }

.sidebar-post {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post:first-child { padding-top: 0; }

.sidebar-post-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.sidebar-post-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-post-title a { color: inherit; }
.sidebar-post-title a:hover { color: var(--primary); }

.sidebar-post-date {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* CTA Widget */
.cta-widget {
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
  border: none;
}

.cta-widget .sidebar-widget-header {
  border-bottom-color: rgba(255,255,255,0.15);
}

.cta-widget .sidebar-widget-title {
  color: rgba(255,255,255,0.6);
}

.cta-widget-body {
  padding: 1.25rem;
}

.cta-widget-headline {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.cta-widget-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.cta-widget-features {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cta-widget-feature {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-widget-feature::before {
  content: '✓';
  width: 16px;
  height: 16px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.cta-widget-btn {
  display: block;
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: opacity 0.15s;
}

.cta-widget-btn:hover { opacity: 0.92; color: var(--primary-dark); }

.cta-widget-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin-top: 0.6rem;
}

/* ── PAGINAÇÃO ── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin: 2.5rem 0 1rem;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  transition: all 0.15s;
}

.pagination a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-xlight); }
.pagination .current { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ── SINGLE POST ── */
.single-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.single-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 2rem 2.5rem;
}

.single-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.single-breadcrumb a { color: var(--text-muted); }
.single-breadcrumb a:hover { color: var(--primary); }
.single-breadcrumb .sep { opacity: 0.4; }

.single-category-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.single-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.75px;
  margin-bottom: 1.25rem;
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.single-meta-dot { opacity: 0.4; }

.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ── SINGLE LAYOUT ── */
.single-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.single-featured-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
}

/* ── ARTICLE CONTENT ── */
.post-content { max-width: 100%; }

.post-content h2,
.post-content h3,
.post-content h4 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.3px;
}

.post-content h2 { font-size: 1.6rem; }
.post-content h3 { font-size: 1.3rem; }
.post-content h4 { font-size: 1.1rem; }

.post-content p { margin-bottom: 1.35rem; color: var(--text); line-height: 1.8; }

.post-content ul, .post-content ol {
  margin: 0 0 1.35rem 1.5rem;
}

.post-content li { margin-bottom: 0.5rem; line-height: 1.7; }

.post-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--primary-xlight);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.post-content img {
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}

.post-content a { color: var(--primary); font-weight: 500; text-decoration: underline; text-decoration-color: var(--primary-light); }

.post-content strong { font-weight: 700; color: var(--text); }

/* ── CTA MEIO DO POST ── */
.cta-mid {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.cta-mid-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.cta-mid-content { flex: 1; min-width: 200px; }

.cta-mid-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.cta-mid-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cta-mid-btn {
  flex-shrink: 0;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all 0.15s;
}

.cta-mid-btn:hover { opacity: 0.9; transform: translateY(-1px); color: var(--white); }

/* ── CTA FINAL ── */
.cta-final {
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin: 3rem 0 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.cta-final-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.3px;
}

.cta-final-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.cta-final-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.cta-final-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-final-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}

.cta-final-feature-icon {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.cta-final-feature strong {
  color: var(--white);
  display: block;
  font-size: 0.875rem;
}

.cta-final-feature span {
  font-size: 0.78rem;
  opacity: 0.75;
}

.cta-final-btn {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem 2.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  transition: all 0.15s;
}

.cta-final-btn:hover { opacity: 0.92; transform: translateY(-2px); color: var(--primary-dark); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

.cta-final-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ── RELATED POSTS ── */
.related-posts {
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.related-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.related-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }

.related-card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.related-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-title a { color: inherit; }
.related-card-title a:hover { color: var(--primary); }

.related-card-date { font-size: 0.75rem; color: var(--text-light); margin-top: 0.5rem; }

/* ── POST NAV ── */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.post-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--primary-dark);
  margin-top: 4rem;
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-logo .logo-mark {
  background: rgba(255,255,255,0.15);
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.footer-cta-btn {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s;
}

.footer-cta-btn:hover { opacity: 0.9; color: var(--primary-dark); }

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 2rem;
}

.footer-bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-copy a { color: rgba(255,255,255,0.5); }
.footer-copy a:hover { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-inner { padding: 0 1rem; }
  .btn-outline { display: none; }

  .home-hero { padding: 3rem 1rem 3rem; }
  .home-hero h1 { font-size: 1.8rem; }

  .featured-section { padding: 0 1rem; margin-top: -1.5rem; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-img, .featured-post-img-placeholder { height: 200px; }
  .featured-post-body { padding: 1.5rem; }
  .featured-post-title { font-size: 1.2rem; }

  .site-main { grid-template-columns: 1fr; padding: 1.5rem 1rem; gap: 2rem; }
  .posts-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }

  .single-hero-inner { padding: 2rem 1rem 1.5rem; }
  .single-title { font-size: 1.5rem; }
  .single-layout { grid-template-columns: 1fr; padding: 1.5rem 1rem; gap: 2rem; }

  .cta-mid { flex-direction: column; align-items: flex-start; }
  .cta-final { padding: 2rem 1.25rem; }
  .cta-final-title { font-size: 1.4rem; }
  .cta-final-features { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  .related-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
