/*
Theme Name: Edilson Editorial
Theme URI: https://blog.edilsonmorais.com.br
Description: Child theme editorial premium para o blog Edilson Morais, inspirado em princípios visuais de revistas digitais de alto contraste.
Author: Edilson Morais
Author URI: https://edilsonmorais.com.br
Template: blocksy
Version: 1.0.0
Text Domain: edilson-editorial
*/

:root {
  --ee-black: #050505;
  --ee-white: #ffffff;
  --ee-paper: #f4f1ea;
  --ee-line: #d8d8d8;
  --ee-text: #333333;
  --ee-muted: #767676;
  --ee-red: #e10600;
  --ee-yellow: #ffd400;
  --ee-headline: Inter, Arial, Helvetica, sans-serif;
  --ee-body: Georgia, "Times New Roman", serif;
}

body {
  background: var(--ee-white);
  color: var(--ee-text);
  font-family: var(--ee-body);
  text-rendering: optimizeLegibility;
}

a {
  color: var(--ee-black);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--ee-red);
}

.site-title,
.entry-title,
h1,
h2,
h3,
h4,
h5,
h6,
.ct-header-text,
.ct-menu-link {
  color: var(--ee-black);
  font-family: var(--ee-headline);
  letter-spacing: 0;
}

.site-title {
  font-weight: 900;
  text-transform: uppercase;
}

.ct-header [data-row] {
  border-bottom: 1px solid var(--ee-black);
}

.ct-menu-link {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-section[data-type="type-1"] {
  border-bottom: 1px solid var(--ee-line);
  margin-bottom: clamp(24px, 4vw, 56px);
}

.entry-header .page-title,
.entry-header .entry-title,
.single-post .entry-title {
  max-width: 980px;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
}

.entry-meta,
.entry-meta a,
.ct-dynamic-data,
.ct-breadcrumbs {
  color: var(--ee-muted);
  font-family: var(--ee-headline);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.entry-content {
  font-size: clamp(1.06rem, 1.2vw, 1.2rem);
  line-height: 1.72;
}

.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote {
  max-width: 740px;
}

.entry-content h2 {
  border-top: 3px solid var(--ee-black);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.04;
  margin-top: clamp(42px, 6vw, 76px);
  padding-top: 18px;
}

.entry-content h3 {
  font-size: clamp(1.24rem, 2vw, 1.7rem);
  font-weight: 850;
  margin-top: 34px;
}

.entry-content p:first-of-type {
  font-size: clamp(1.18rem, 1.8vw, 1.42rem);
  line-height: 1.58;
}

.entry-content blockquote {
  border-left: 6px solid var(--ee-red);
  color: var(--ee-black);
  font-family: var(--ee-headline);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 42px 0;
  padding: 8px 0 8px 24px;
}

.entry-content table {
  border-collapse: collapse;
  font-family: var(--ee-headline);
  font-size: 0.95rem;
  margin: 34px 0;
  width: 100%;
}

.entry-content th {
  background: var(--ee-black);
  color: var(--ee-white);
  text-align: left;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--ee-line);
  padding: 12px 14px;
}

.entry-content .key-takeaways,
.entry-content .takeaways,
.entry-content .summary-box {
  background: var(--ee-paper);
  border-top: 4px solid var(--ee-black);
  margin: 34px 0;
  max-width: 880px;
  padding: clamp(20px, 3vw, 34px);
}

.entry-content .key-takeaways h2,
.entry-content .takeaways h2,
.entry-content .summary-box h2 {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.entry-content .cta-inline {
  background: var(--ee-black);
  color: var(--ee-white);
  margin: 44px 0;
  max-width: 880px;
  padding: clamp(22px, 4vw, 42px);
}

.entry-content .cta-inline h3,
.entry-content .cta-inline p {
  color: var(--ee-white);
}

.entry-content .cta-inline a {
  background: var(--ee-red);
  color: var(--ee-white);
  display: inline-block;
  font-family: var(--ee-headline);
  font-weight: 900;
  margin-top: 8px;
  padding: 10px 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.entry-content .stat-callout {
  background: var(--ee-yellow);
  box-decoration-break: clone;
  color: var(--ee-black);
  font-family: var(--ee-headline);
  font-weight: 900;
  padding: 0.04em 0.18em;
}

.entry-content .urgency-note {
  border-left: 6px solid var(--ee-red);
  font-family: var(--ee-headline);
  font-weight: 800;
  padding-left: 18px;
}

.entries {
  gap: clamp(22px, 3vw, 44px);
}

.entry-card {
  border-top: 2px solid var(--ee-black);
  padding-top: 16px;
}

.entry-card .entry-title {
  font-family: var(--ee-headline);
  font-weight: 900;
  line-height: 1;
}

.entry-card .entry-excerpt {
  font-family: var(--ee-body);
}

.ct-sidebar {
  border-left: 1px solid var(--ee-line);
}

.ct-footer {
  background: var(--ee-black);
  color: var(--ee-white);
  margin-top: 80px;
}

.ct-footer a,
.ct-footer h1,
.ct-footer h2,
.ct-footer h3,
.ct-footer h4,
.ct-footer p {
  color: var(--ee-white);
}

@media (max-width: 768px) {
  .single-post .entry-title {
    font-size: clamp(2.35rem, 14vw, 4.1rem);
  }

  .entry-content {
    font-size: 1.04rem;
  }
}
