.writer-card{display:flex;flex-direction:column;gap:14px;min-width:0;height:100%;padding:22px;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 8px 24px rgba(6,39,67,.04)}
.writer-card[hidden]{display:none!important}
.writer-identity{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center;gap:16px;min-width:0}
.writer-identity>div{min-width:0}
.writer-photo{position:relative;display:grid;place-items:center;width:80px;height:80px;min-width:80px;min-height:80px;border-radius:50%;overflow:hidden;background:var(--blue-soft);color:var(--navy);aspect-ratio:1}
.writer-photo img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;border-radius:50%;aspect-ratio:1;z-index:1}
.writer-photo img[hidden]{display:none!important}
.writer-initials{font:800 23px/1 var(--font-ui)}
.writer-card h2{font:800 20px/1.2 var(--font-ui);letter-spacing:-.02em;margin:0;overflow-wrap:anywhere;color:var(--ink)}
.writer-count{font:700 12px/1.4 var(--font-ui);color:var(--blue-2);margin:7px 0 0}
.writer-bio{margin:0;color:var(--muted);font-size:14px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.writer-latest{margin:auto 0 0;padding-top:2px;font:500 11px/1.5 var(--font-ui);color:var(--muted)}
.writer-actions{display:flex;align-items:center;gap:8px;padding-top:14px;border-top:1px solid var(--line)}
.writer-actions :is(a,button){font:700 12px/1.2 var(--font-ui);min-height:44px;display:inline-flex;justify-content:center;align-items:center;gap:6px;border-radius:999px;margin:0;white-space:nowrap}
.writer-read{flex:1;padding:10px 12px;background:#0f6f9d;color:#fff}
.writer-actions .author-follow{border:1px solid var(--line);background:transparent;color:var(--ink);padding:10px 12px;min-width:0}
.writer-actions .author-follow.is-following{background:var(--blue-soft);border-color:var(--blue);color:var(--blue-2)}
.writer-actions .writer-share{flex:0 0 44px;width:44px;padding:0;border:1px solid var(--line);background:transparent;color:var(--ink);cursor:pointer}
.writer-actions .material-symbols-rounded{font-size:18px}
.writer-card :is(a,button):focus-visible,.writer-tools :is(input,select,button):focus-visible{outline:3px solid var(--blue);outline-offset:3px}

/* Shared editorial components; each masthead keeps its edition colors. */
@media (max-width:760px) {
  html body header.global-header[data-site-header] .masthead-row {
    display:grid!important; grid-template-columns:minmax(0,1fr) 44px!important;
    align-items:center!important; gap:16px!important; box-sizing:border-box;
    width:100%!important; max-width:none!important; min-height:76px!important;
    height:auto!important; padding:10px clamp(14px,5vw,22px)!important; margin:0!important;
  }
  html body header.global-header[data-site-header] .network-bar,
  html body header.global-header[data-site-header] .primary-nav,
  html body header.global-header[data-site-header] #siteAccessibilityButton {display:none!important}
  html body header.global-header[data-site-header] .site-logo {
    grid-area:1/1!important; justify-self:start!important; position:relative!important;
    inset:auto!important; transform:none!important; translate:none!important; rotate:none!important;
    display:inline-flex!important; align-items:center; width:fit-content!important;
    min-width:0!important; max-width:100%!important; height:auto!important;
    padding:0!important; margin:0!important; background:none!important; border:0!important;
    border-radius:0!important; box-shadow:none!important;
  }
  html body header.global-header[data-site-header] .site-logo::before,
  html body header.global-header[data-site-header] .site-logo::after {content:none!important}
  html body header.global-header[data-site-header] .site-logo :is(picture,img) {
    display:block!important; max-width:100%!important; background:none!important;
    border:0!important; border-radius:0!important; padding:0!important; margin:0!important;
    box-shadow:none!important; transform:none!important; translate:none!important;
  }
  html body header.global-header[data-site-header] .site-logo img {
    width:auto!important; height:auto!important; max-width:min(215px,100%)!important;
    max-height:52px!important; object-fit:contain!important; object-position:left center!important;
  }
  html body header.global-header[data-site-header] .site-logo img[src*="estado-do-rio"] {max-height:56px!important}
  html body header.global-header[data-site-header] .gazeta-header-actions {grid-area:1/2}
  html body header.global-header[data-site-header] #siteSearchButton {
    grid-area:1/2!important; justify-self:end!important; position:relative!important; inset:auto!important;
    display:grid!important; place-items:center; width:44px!important; height:44px!important;
    min-width:44px!important; min-height:44px!important; margin:0!important; padding:0!important;
    transform:none!important; translate:none!important; border:0!important; border-radius:50%!important;
    background:color-mix(in srgb,currentColor 10%,transparent)!important; box-shadow:none!important;
  }
  html body header.global-header[data-site-header] #siteSearchButton .material-symbols-rounded {font-size:24px!important; line-height:1}
  html body header.global-header[data-site-header] #siteSearchButton > span:not(.material-symbols-rounded) {display:none!important}
  body.writer-profile-body :is(header.global-header[data-site-header],.gazeta-header-shell) {display:none!important}
  body.writer-profile-body .writer-profile-page {margin-top:0!important}
}
header.global-header .site-logo img[src*="ribeirao-transparente"] {max-height:54px; width:auto}
html.a11y-dark header.global-header .site-logo img[src*="ribeirao-transparente"] {filter:brightness(0) invert(1)!important}
.reader-writers .writer-card {margin:0}
.reader-writers .writer-actions {margin-top:auto}
.reader-writers .writer-read {color:#fff}
.reader-writers .writer-card h2 a {color:inherit}
.reader-writers .writer-photo img {height:100%!important; width:100%!important; max-height:none!important}
@media (max-width:760px) {
  .reader-writers .columnists-grid {
    display:grid!important; grid-template-columns:none!important; grid-auto-flow:column!important;
    grid-auto-columns:min(85%, 350px)!important; align-items:stretch; justify-content:start;
    gap:12px!important; overflow-x:auto; overflow-y:hidden; min-width:0; padding:4px 2px 12px!important;
    scroll-snap-type:x mandatory; overscroll-behavior-inline:contain; scrollbar-width:thin;
  }
  .reader-writers .columnists-grid > .writer-card {height:auto!important; width:auto!important; min-width:0!important; scroll-snap-align:start; transform:none!important}
  .reader-writers .writer-card {padding:16px; gap:12px}
  .reader-writers .writer-identity {grid-template-columns:58px minmax(0,1fr); gap:12px}
  .reader-writers .writer-photo {width:58px;height:58px;min-width:58px;min-height:58px}
  .reader-writers .writer-latest,.reader-writers .author-follow {display:none!important}
}
.editorial-index .editorial-index-hero {
  min-height:0; text-align:center; align-items:center; justify-content:center;
  border-radius:clamp(18px,2vw,26px); margin-inline:auto; padding-inline:clamp(16px,4vw,48px);
}
.editorial-index .editorial-index-hero > div {margin-inline:auto; min-width:0}
.editorial-index .editorial-index-hero :is(h1,p) {margin-inline:auto}
@media (max-width:760px) {
  .editorial-index .editorial-index-hero {padding-block:24px;gap:12px}
  .editorial-index .editorial-index-hero h1 {font-size:clamp(27px,8vw,36px);line-height:1.1}
  .editorial-index .editorial-index-hero p {font-size:14px;line-height:1.5}
  .editorial-writers .columnist-directory {grid-template-columns:minmax(0,1fr)!important}
}
.editorial-index :is(.page-header.editorial-index-hero) {display:flex; flex-direction:column; gap:8px}
.editorial-index .page-header.editorial-index-hero :is(.page-title,.page-intro) {margin:0}
.editorial-index .page-header.editorial-index-hero .eyebrow {display:none}
.editorial-topics .directory-card {min-width:0;border-radius:20px;align-items:start}
@media (max-width:760px) {
  .editorial-topics .editoria-grid {grid-template-columns:minmax(0,1fr)!important;gap:12px}
  .editorial-topics .directory-card {padding:16px}
}
@media (max-width:760px) {
  html body header.global-header[data-site-header] .sport-header-mainbar {
    display:grid!important; grid-template-columns:minmax(0,1fr) 44px!important; align-items:center!important;
    gap:16px!important; width:100%!important; max-width:none!important; min-height:74px!important;
    margin:0!important; padding:10px 16px!important; box-sizing:border-box; transform:none!important;
  }
  html body header.global-header[data-site-header] .sport-header-mainbar .sport-nav-cluster {display:none!important}
  html body header.global-header[data-site-header] .sport-header-mainbar .masthead-row {
    grid-area:1/2!important; display:block!important; width:44px!important; min-height:0!important;
    padding:0!important; transform:none!important; justify-self:end!important;
  }
  html body header.global-header[data-site-header] .sport-header-mainbar .site-logo {max-width:none!important;width:48px!important}
  html body header.global-header[data-site-header] .sport-header-mainbar .site-logo img {width:45px!important;height:auto!important;max-width:none!important}
  html body header.global-header[data-site-header] .site-logo img[src*="ribeirao-transparente"] {
    width:141px!important; height:52px!important; max-width:none!important;
  }
  html.a11y-dark body header.global-header[data-site-header] #siteSearchButton {color:#edf6ff!important}
  html.a11y-dark body header.global-header[data-site-header] .site-logo img[src*="folha-fluminense-logo"] {filter:brightness(1.6)!important}
}
