/* CSS de referência, limitado ao componente. Revalidar no ambiente WordPress. */
.efs-editorial {
    --efs-ink: #102540;
    --efs-muted: #425a74;
    --efs-line: #cbdde7;
    --efs-tint: #e0f6fb;
    --efs-accent: #075a76;
    color: var(--efs-ink);
    font-family: system-ui, sans-serif;
}
.efs-editorial .hero {
    display: grid;
    grid-template-columns: 1.13fr .87fr;
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
    padding: 36px 0;
}
.efs-editorial h1, .efs-editorial h2 {
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.08;
}
.efs-editorial h1 { font-size: clamp(36px, 5vw, 70px); }
.efs-editorial h2 { font-size: clamp(28px, 3.6vw, 44px); }
.efs-editorial h3 { font-size: clamp(21px, 2.25vw, 29px); line-height: 1.15; }
.efs-editorial p, .efs-editorial figcaption { color: var(--efs-muted); }
.efs-editorial .eyebrow, .efs-editorial .meta, .efs-editorial .book-info small {
    color: var(--efs-accent);
    font-size: .79rem;
    font-weight: 750;
}
.efs-editorial .button {
    display: inline-block;
    padding: .65em 1em;
    border-radius: 5px;
    background: var(--efs-accent);
    color: #fff;
}
.efs-editorial .hero-media { margin: 0; border: 1px solid var(--efs-line); border-top: 4px solid #32d2ea; border-radius: 14px; overflow: hidden; }
.efs-editorial .hero-media img { display: block; width: 100%; aspect-ratio: 1.22; object-fit: cover; }
.efs-editorial figcaption { padding: .6em 1em; }
.efs-editorial .langs, .efs-editorial .grid, .efs-editorial .books { display: grid; gap: 14px; }
.efs-editorial .langs, .efs-editorial .books { grid-template-columns: repeat(2, minmax(0,1fr)); }
.efs-editorial .langs { padding: 16px; border-radius: 10px; background: var(--efs-tint); }
.efs-editorial .langs h2 { grid-column: 1 / -1; margin: 0; font-size: 1rem; }
.efs-editorial .langs a { display: grid; gap: 3px; font-size: 1.1rem; font-weight: 700; }
.efs-editorial .langs a span { font-size: .9rem; font-weight: 400; }
.efs-editorial .band { padding: 32px 0; border-bottom: 1px solid var(--efs-line); }
.efs-editorial .grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.efs-editorial .section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.efs-editorial .topic, .efs-editorial .story, .efs-editorial .book, .efs-editorial .langs a {
    padding: 14px;
    background: #fff;
    border: 1px solid var(--efs-line);
    border-radius: 8px;
}
.efs-editorial .story-photo { display: block; width: 100%; height: 124px; object-fit: cover; margin: 0 0 12px; border-radius: 5px; }
.efs-editorial .book, .efs-editorial .book-info { display: grid; gap: 8px; color: var(--efs-ink); }
.efs-editorial .book-cover { width: 100%; height: 174px; object-fit: contain; background: #eef6fa; }
.efs-editorial .book-cta { color: var(--efs-accent); font-weight: 700; }
.efs-editorial a:focus-visible { outline: 3px solid #067794; outline-offset: 3px; }
@media (max-width: 800px) {
    .efs-editorial .hero, .efs-editorial .langs, .efs-editorial .grid, .efs-editorial .books { grid-template-columns: minmax(0,1fr); }
    .efs-editorial .hero-media img { aspect-ratio: 1.64; }
    .efs-editorial .book { grid-template-columns: 96px minmax(0,1fr); align-items: center; }
    .efs-editorial .book-cover { height: 105px; }
}


.efs-editorial {
    box-sizing: border-box;
    max-width: 1200px;
    width: 100%;
    margin-inline: auto;
    padding-inline: clamp(14px, 3vw, 36px);
}
.efs-editorial *, .efs-editorial *::before, .efs-editorial *::after { box-sizing: inherit; }
.efs-editorial .hero > * { min-width: 0; }
.efs-editorial .hero h1 { max-width: 14ch; margin-block: .15em .35em; }
.efs-editorial .story a, .efs-editorial .book-info { overflow-wrap: anywhere; }
