/*
Theme Name: Palco Digital Artigos
Theme URI: https://palcodigital.com.br/artigos
Author: Palco Digital
Description: Tema editorial estilo revista digital (fundo claro, tipografia bold, tags de categoria coloridas) para o blog de marketing musical do Palco Digital.
Version: 3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: palco-artigos
*/

:root {
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;

  --bg: #ffffff;
  --bg-soft: #f7f5f9;
  --border: #ececec;

  --purple: #9333ea;
  --purple-deep: #6b21a8;
  --purple-light: #b565f5;
  --magenta: #d946ef;
  --emerald: #0f9d6e;

  --text: #0a0a0a;
  --text-dim: #6b6b6b;
  --text-faint: #a3a3a3;
  --text-on-dark: #ffffff;
  --text-dim-on-dark: #a3a3a3;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--purple); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--magenta); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Side stripe (brand device) ---------- */
.side-stripe {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 64px;
  z-index: 40;
  pointer-events: none;
  background: linear-gradient(160deg, var(--purple) 0%, var(--purple-deep) 55%, var(--ink) 100%);
  clip-path: polygon(0 0, 100% 0, 40% 100%, 0% 100%);
}
@media (max-width: 900px) { .side-stripe { display: none; } }
body { padding-left: 0; }
@media (min-width: 901px) {
  .container { padding-left: 96px; }
  .site-header .container { padding-left: 96px; }
}

/* ---------- Header ---------- */
.site-header {
  background: var(--ink);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--purple);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: nowrap; }
@media (max-width: 780px) { .site-header .container { flex-wrap: wrap; } }
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding img { height: 36px; width: auto; }

.main-nav { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; flex-wrap: nowrap; }
.main-nav li { flex: 0 0 auto; }
.main-nav a {
  display: inline-block;
  white-space: nowrap;
  color: #d4d4d4;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.main-nav a:hover { color: #fff; }
@media (max-width: 1100px) {
  .site-header .container { flex-wrap: nowrap; }
  .main-nav ul { gap: 16px; }
}

/* ---------- Hero (top story, 2-column, light) ---------- */
.featured-section { padding: 44px 0 0; background: var(--bg); }
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) { .featured-grid { grid-template-columns: 1fr; gap: 24px; } }

.featured-main { display: flex; flex-direction: column; gap: 16px; }
.featured-main .cat {
  display: inline-flex;
  align-self: flex-start;
  color: var(--purple);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 0;
  border-bottom: 2px solid var(--purple);
}
.featured-main h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}
.featured-main h2 a { color: var(--ink); }
.featured-main h2 a:hover { color: var(--purple); }
.featured-main h2 em, .featured-main h2 i { font-style: italic; color: var(--purple); font-weight: 800; }
.featured-main p { color: var(--text-dim); font-size: 16px; margin: 0; max-width: 46ch; }
.featured-main .meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  font-size: 13px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.featured-main .meta .avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--emerald));
  flex-shrink: 0;
}
.featured-main .meta strong { color: var(--text); font-weight: 700; }

.featured-visual { border-radius: 4px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-soft); }
.featured-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- "Outros destaques" row ---------- */
.section-heading { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; padding-top: 40px; }
.section-heading .tag-dot {
  width: 9px; height: 9px; border-radius: 2px; background: var(--purple);
  display: inline-block;
}
.section-heading h2 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 0;
  font-weight: 800;
}

.featured-side {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 50px;
}
@media (max-width: 980px) { .featured-side { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .featured-side { grid-template-columns: 1fr; } }

.featured-side-item { display: flex; flex-direction: column; gap: 0; }
.featured-side-item .thumb {
  aspect-ratio: 4/3;
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-soft);
  margin-bottom: 16px;
}
.featured-side-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.featured-side-item:hover .thumb img { transform: scale(1.05); }
.featured-side-item .cat {
  color: var(--purple);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}
.featured-side-item h3 { font-size: 19px; font-weight: 800; line-height: 1.28; margin: 0; letter-spacing: -0.015em; }
.featured-side-item h3 a { color: var(--ink); }
.featured-side-item h3 a:hover { color: var(--purple); }

/* ---------- Page hero (archive/search/404) ---------- */
.page-hero { padding: 46px 0 8px; background: var(--bg); }
.page-hero .eyebrow {
  display: inline-flex;
  color: var(--purple);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 0;
  border-bottom: 2px solid var(--purple);
  margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--ink);
}
.page-hero p.lead { color: var(--text-dim); font-size: 15.5px; max-width: 620px; }

/* ---------- Content layout ---------- */
.content-wrap { padding: 34px 0 90px; background: var(--bg); display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
@media (max-width: 900px) { .content-wrap { grid-template-columns: 1fr; } }

/* ---------- Post grid (archive/category/search) ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 34px 28px; }
.post-card { display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 4/3; border-radius: 3px; overflow: hidden; background: var(--bg-soft); margin-bottom: 14px; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { display: flex; flex-direction: column; gap: 6px; }
.post-card .cat { color: var(--purple); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.post-card h2, .post-card h3 { font-size: 19px; font-weight: 900; line-height: 1.24; margin: 0; letter-spacing: -0.02em; }
.post-card h2 a, .post-card h3 a { color: var(--ink); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--purple); }
.post-card .excerpt { color: var(--text-dim); font-size: 14px; margin: 2px 0 0; }
.post-card .meta { color: var(--text-faint); font-size: 12px; margin-top: 8px; }

/* ---------- Single post ---------- */
.single-post .post-header { margin-bottom: 26px; }
.single-post .post-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  color: var(--text-faint); font-size: 13px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border);
}
.single-post .post-meta a { color: var(--purple); font-weight: 700; }
.single-post .post-meta .sep { opacity: .5; }
.single-post h1.entry-title {
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0;
}
.single-post h1.entry-title em, .single-post h1.entry-title i { font-style: italic; color: var(--purple); }
.single-post .featured-image { border-radius: 4px; overflow: hidden; margin: 30px 0 34px; }
.entry-content { font-size: 18px; color: #1c1c1c; }
.entry-content p { margin: 0 0 24px; }
.entry-content h2 { font-size: 27px; font-weight: 800; margin: 44px 0 16px; letter-spacing: -0.01em; }
.entry-content h3 { font-size: 21px; font-weight: 700; margin: 34px 0 14px; }
.entry-content a { color: var(--purple); text-decoration: underline; text-decoration-color: var(--purple-light); text-underline-offset: 3px; }
.entry-content blockquote {
  margin: 30px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--purple);
  color: var(--text-dim); font-size: 1.15em; font-weight: 600; font-style: italic;
}
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content img { border-radius: 4px; margin: 8px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 26px 0; }
.entry-content table th, .entry-content table td { border: 1px solid var(--border); padding: 11px 14px; text-align: left; }
.entry-content table th { background: var(--bg-soft); }
.entry-content code { background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.entry-content pre { background: var(--ink); color: #f5f5f5; padding: 18px; border-radius: 6px; overflow-x: auto; }

.tags-line { margin-top: 38px; display: flex; gap: 8px; flex-wrap: wrap; }
.tags-line a { border: 1px solid var(--border); border-radius: 999px; padding: 6px 13px; font-size: 12px; color: var(--text-dim); }
.tags-line a:hover { border-color: var(--purple); color: var(--purple); }

/* ---------- Sidebar ---------- */
.widget-area .widget { border-top: 3px solid var(--ink); padding: 20px 0; margin-bottom: 30px; }
.widget-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); margin: 0 0 16px; font-weight: 800; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { margin-bottom: 10px; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.widget li:last-child { border-bottom: none; }
.widget a { color: var(--text-dim); font-weight: 600; }
.widget a:hover { color: var(--purple); }

.cta-box { background: var(--ink); border-radius: 4px; padding: 26px; color: #fff; margin-bottom: 30px; }
.cta-box h3 { margin: 0 0 10px; font-size: 18px; color: #fff; font-weight: 800; }
.cta-box p { font-size: 13px; opacity: 0.75; margin: 0 0 18px; }
.cta-box .btn { display: inline-block; background: var(--purple); color: #fff; font-weight: 800; font-size: 13px; padding: 11px 20px; border-radius: 3px; transition: background .2s; }
.cta-box .btn:hover { background: var(--magenta); color: #fff; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 6px; margin-top: 52px; flex-wrap: wrap; }
.pagination a, .pagination span { border: 1px solid var(--border); border-radius: 3px; padding: 9px 15px; font-size: 13px; color: var(--text-dim); font-weight: 700; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a:hover { border-color: var(--purple); color: var(--purple); }

/* ---------- Footer ---------- */
.site-footer { border-top: 3px solid var(--purple); padding: 40px 0; background: var(--ink); }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer .footer-brand { display: flex; align-items: center; gap: 11px; }
.site-footer .footer-brand img { height: 22px; opacity: 0.9; }
.site-footer p { color: var(--text-dim-on-dark); font-size: 13px; margin: 0; }
.footer-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #d4d4d4; font-size: 13px; font-weight: 600; }
.footer-links a:hover { color: #fff; }

/* ---------- Search ---------- */
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 3px; padding: 10px 13px; color: var(--text); font-size: 14px; font-family: var(--sans); }
.search-form input[type="search"]:focus { outline: none; border-color: var(--purple); }
.search-form button { background: var(--ink); color: #fff; border: none; border-radius: 3px; padding: 10px 17px; font-weight: 800; cursor: pointer; font-family: var(--sans); }
.search-form button:hover { background: var(--purple); }

/* ---------- Mobile menu ---------- */
.menu-toggle { display: none; background: transparent; border: 1px solid #333; color: #fff; border-radius: 4px; padding: 8px 13px; font-size: 12px; cursor: pointer; }
@media (max-width: 780px) {
  .menu-toggle { display: inline-block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 14px; padding: 16px 0; }
}

.wp-caption, .wp-block-image { max-width: 100%; }
::selection { background: var(--purple); color: #fff; }

/* =========================================================
   PREMIUM POLISH — camada adicional, 25/08/2026
   Bloco aditivo e reversível: remover esta seção inteira
   restaura o visual anterior sem afetar nada acima.
   ========================================================= */

:root {
  --shadow-sm: 0 1px 3px rgba(10,10,10,.06), 0 1px 2px rgba(10,10,10,.04);
  --shadow-md: 0 8px 24px rgba(10,10,10,.08), 0 2px 6px rgba(10,10,10,.05);
  --shadow-lg: 0 20px 48px rgba(10,10,10,.12), 0 6px 16px rgba(10,10,10,.06);
  --shadow-purple: 0 12px 28px rgba(147,51,234,.18);
  --radius: 14px;
  --radius-sm: 10px;
}

/* Cantos e profundidade nas imagens */
.featured-visual { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.featured-side-item .thumb,
.post-card .thumb { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease); }
.single-post .featured-image { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.entry-content img { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }

/* Elevação sutil nos cards ao passar o mouse */
.featured-side-item, .post-card { transition: transform .32s var(--ease); }
.featured-side-item:hover, .post-card:hover { transform: translateY(-4px); }
.featured-side-item:hover .thumb, .post-card:hover .thumb { box-shadow: var(--shadow-md); }

/* CTA box com gradiente e profundidade em vez de cor chapada */
.cta-box {
  background: linear-gradient(155deg, var(--ink) 0%, #1d1030 65%, var(--purple-deep) 130%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-purple);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% -10%, rgba(217,70,239,.25), transparent 55%);
  pointer-events: none;
}
.cta-box .btn { border-radius: 999px; box-shadow: 0 6px 16px rgba(147,51,234,.35); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.cta-box .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(217,70,239,.4); }

/* Sidebar com respiro e leve elevação nos widgets */
.widget-area .widget { border-top: none; border-radius: var(--radius-sm); background: var(--bg-soft); padding: 22px 22px; box-shadow: var(--shadow-sm); }
.widget-title { position: relative; padding-bottom: 10px; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background: var(--purple); border-radius: 2px; }

/* Blockquote com leve destaque de fundo */
.entry-content blockquote {
  background: linear-gradient(90deg, rgba(147,51,234,.06), transparent 70%);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 24px;
}

/* Avatar do autor com anel sutil */
.featured-main .meta .avatar, .single-post .post-meta .avatar {
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--border);
}

/* Botões e tags com transição mais suave */
.tags-line a { transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.tags-line a:hover { transform: translateY(-1px); }

/* Search input com foco mais elegante */
.search-form input[type="search"] { border-radius: var(--radius-sm); }
.search-form input[type="search"]:focus { box-shadow: 0 0 0 3px rgba(147,51,234,.15); }
.search-form button { border-radius: var(--radius-sm); }

/* Botão de paginação com leve arredondamento premium */
.pagination a, .pagination span { border-radius: var(--radius-sm); }

@media (max-width: 900px) {
  .featured-visual, .single-post .featured-image { border-radius: var(--radius-sm); }
}

/* =========================================================
   LAYOUT ESTILO diymusician.cdbaby.com — estrutura aplicada,
   cores da marca Palco Digital (roxo/lilás/magenta)
   25/08/2026 — bloco aditivo, 100% CSS, sem tocar em template PHP.
   Remover esta seção inteira reverte pro layout anterior.
   ========================================================= */

/* ---- Header em duas camadas ---- */
.site-header { padding: 0; border-bottom: none; background: var(--purple); }
.site-header .container {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding-left: 0 !important;
}
@media (min-width: 901px) { .site-header .container { padding-left: 96px !important; } }
.site-branding { padding: 18px 28px; }
@media (min-width: 901px) { .site-branding { padding: 18px 0; } }

.main-nav {
  background: var(--ink);
  width: 100%;
  padding: 0 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 901px) { .main-nav { padding: 0; } }
.main-nav ul { padding: 15px 0; gap: 26px; }
.main-nav a { color: rgba(255,255,255,.82); font-size: 12.5px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.main-nav a:hover { color: #fff; }

/* ---- Categoria em lilás sobre fundo suave, estilo pill ---- */
.featured-main .cat, .post-card .cat, .featured-side-item .cat {
  color: var(--purple-deep);
  background: rgba(147,51,234,.09);
  border-bottom: none;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---- Hero: título grande, preto, bold — estilo editorial ---- */
.featured-main h2 { font-size: clamp(34px, 5vw, 54px); color: #111; }
.featured-main h2 a { color: #111; }
.featured-main h2 a:hover { color: var(--purple); }

/* ---- "Últimos artigos": lista horizontal, imagem grande a esquerda ---- */
.post-grid { display: flex; flex-direction: column; gap: 0; }
.post-card {
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.post-card:first-child { padding-top: 0; }
.post-card .thumb {
  flex: 0 0 300px;
  width: 300px;
  aspect-ratio: 16/10;
  margin-bottom: 0;
  border-radius: var(--radius-sm, 10px);
}
.post-card .body { flex: 1; min-width: 0; gap: 8px; padding-top: 2px; }
.post-card h2 { font-size: clamp(20px, 2.4vw, 25px); line-height: 1.22; font-weight: 800; color: #111; }
.post-card h2 a { color: #111; }
.post-card h2 a:hover { color: var(--purple); }
.post-card .excerpt { font-size: 15px; line-height: 1.55; max-width: 62ch; color: #555; }

@media (max-width: 700px) {
  .post-card { flex-direction: column; gap: 14px; }
  .post-card .thumb { width: 100%; flex-basis: auto; }
}

/* ---- Título do post individual: preto, bold, estilo editorial ---- */
.single-post h1.entry-title { font-size: clamp(30px, 4.4vw, 46px); color: #111; font-weight: 800; }
.single-post .post-meta { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }

/* ---- Rodape combinando com o header ---- */
.site-footer { background: var(--ink); border-top: 3px solid var(--purple); }

/* ---- Correção: header com profundidade real (gradiente + glow), não roxo chapado ---- */
.site-header {
  background: linear-gradient(115deg, var(--ink) 0%, #1d1030 45%, var(--purple-deep) 100%);
  position: relative;
  overflow: hidden;
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 0%, rgba(217,70,239,.22), transparent 55%);
  pointer-events: none;
}
.site-branding { position: relative; z-index: 1; }
.main-nav { background: rgba(0,0,0,.35); backdrop-filter: blur(2px); border-top: 1px solid rgba(255,255,255,.06); }

/* ---- Correção 2: header FLAT, fiel ao estilo diymusician.cdbaby.com
   (cores solidas, sem gradiente/glow/sombra — so trocando teal/navy por roxo/preto) ---- */
.site-header {
  background: var(--purple) !important;
  position: static;
  overflow: visible;
}
.site-header::before { display: none !important; content: none !important; }
.main-nav {
  background: var(--ink) !important;
  backdrop-filter: none !important;
  border-top: none !important;
}

/* ---- Hero real, estilo diymusician.cdbaby.com: foto de fundo cheia,
   overlay escuro, texto branco sobreposto (topo=categoria, titulo, subtopo=resumo) ---- */
.featured-grid {
  display: block;
  position: relative;
  min-height: 460px;
  border-radius: 0;
  overflow: hidden;
  border-bottom: none;
  padding-bottom: 0;
}
.featured-visual {
  position: absolute;
  inset: 0;
  border-radius: 0;
  aspect-ratio: auto;
  z-index: 0;
}
.featured-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.featured-grid::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5,5,10,.92) 0%, rgba(5,5,10,.55) 45%, rgba(5,5,10,.15) 75%, transparent 100%);
  z-index: 1;
}
.featured-main {
  position: relative;
  z-index: 2;
  padding: 48px 48px 40px;
  justify-content: flex-end;
  min-height: 460px;
}
.featured-main .cat { color: #fff; border-bottom-color: #fff; }
.featured-main h2, .featured-main h2 a { color: #fff; }
.featured-main h2 a:hover { color: var(--purple-light); }
.featured-main p { color: rgba(255,255,255,.82); max-width: 56ch; }
.featured-main .meta { color: rgba(255,255,255,.7); border-top-color: rgba(255,255,255,.2); }
.featured-main .meta strong { color: #fff; }

@media (max-width: 900px) {
  .featured-grid { min-height: 380px; }
  .featured-main { min-height: 380px; padding: 30px 24px 28px; }
}

/* ---- Correção: barra preta do menu esticando 100% da tela,
   com o conteudo (links) centralizado por dentro — nao mais uma
   ilha de 1180px flutuando no meio de tela larga ---- */
.main-nav {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  max-width: none !important;
  padding: 0 !important;
}
.main-nav ul {
  max-width: 1180px;
  margin: 0 auto;
  padding: 15px 28px;
}
@media (min-width: 901px) { .main-nav ul { padding-left: 124px; } }

/* ---- Primeiros 4 posts em grade 2x2 (imagem em cima, estilo card),
   os demais em lista horizontal — igual ao padrao real do CD Baby ---- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 28px; }
.post-card:nth-child(-n+4) {
  flex-direction: column;
  border-bottom: none;
  padding: 0;
}
.post-card:nth-child(-n+4) .thumb {
  width: 100%;
  flex-basis: auto;
  aspect-ratio: 16/10;
  margin-bottom: 14px;
}
.post-card:nth-child(-n+4) .body { padding-top: 0; }
.post-card:nth-child(n+5) {
  grid-column: 1 / -1;
  flex-direction: row;
}
@media (max-width: 700px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-card:nth-child(-n+4) { flex-direction: column; }
}

/* ---- Remove a faixa diagonal lateral — nao existe no layout de referencia
   e destoa do estilo flat/editorial aplicado agora ---- */
.side-stripe { display: none !important; }
body { padding-left: 0 !important; }
.container, .site-header .container, .main-nav ul { padding-left: 28px !important; }
@media (min-width: 901px) {
  .container { padding-left: 28px !important; }
  .site-header .container { padding-left: 28px !important; }
  .main-nav ul { padding-left: 28px !important; }
}

/* ---- Estiliza o formulario padrao de comentario do WordPress,
   que estava sem nenhum CSS (cru, desalinhado) ---- */
.comment-respond {
  background: var(--bg-soft);
  border-radius: var(--radius, 14px);
  padding: 32px 30px;
  margin-top: 40px;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(10,10,10,.06));
}
.comment-reply-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}
.comment-notes, .comment-form-cookies-consent label {
  color: var(--text-dim);
  font-size: 13.5px;
}
.comment-form p { margin: 0 0 18px; }
.comment-form label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
  color: var(--ink);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 10px);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  background: #fff;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s;
}
.comment-form input:focus, .comment-form textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(147,51,234,.15);
}
.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 8px;
}
.comment-form-cookies-consent input { width: auto; margin: 0; }
.comment-form-cookies-consent label { margin: 0; font-weight: 500; text-transform: none; letter-spacing: 0; }
#submit {
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 28px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
#submit:hover { background: var(--magenta); transform: translateY(-2px); }
