
:root{
  --psr-black:#0D0802;
  --psr-brown:#1A1107;
  --psr-gold:#ED9E1D;
  --psr-cyan:#01A9F0;
  --psr-lightblue:#C9DEF3;
  --psr-white:#FFFFFF;
  --psr-gray:#655150;
  --psr-live:#FC0404;
  --psr-text:#1A1107;
  --psr-muted-text:#655150;
  --psr-heading:#0D0802;
  --psr-link:#01A9F0;
  --psr-link-hover:#ED9E1D;
  --psr-menu-text:#FFFFFF;
  --psr-menu-hover:#ED9E1D;
  --psr-card-text:#1A1107;
  --psr-card-heading:#0D0802;
  --psr-footer-link:#FFFFFF;
  --psr-footer-link-hover:#ED9E1D;
  --psr-content-width:1180px;
  --psr-content-narrow-width:860px;
  --psr-radius:18px;
  --psr-space:24px;
  --psr-font-body:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --psr-font-heading:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

body.psr-layout-global{
  background:var(--psr-page-bg);
  color:var(--psr-text);
  font-family:var(--psr-font-body);
}

body.psr-layout-global h1,
body.psr-layout-global h2,
body.psr-layout-global h3,
body.psr-layout-global h4,
body.psr-layout-global h5,
body.psr-layout-global h6{
  color:var(--psr-heading);
  font-family:var(--psr-font-heading);
  line-height:1.18;
}

body.psr-layout-global a{
  color:var(--psr-link);
  transition:color .18s ease, background-color .18s ease, border-color .18s ease;
}

body.psr-layout-global a:hover,
body.psr-layout-global a:focus{
  color:var(--psr-link-hover);
}

body.psr-layout-global :is(.has-text-color,.wp-block-post-excerpt__excerpt,.entry-summary,.description,.psr-muted){
  color:var(--psr-muted-text);
}

body.psr-layout-global .site,
body.psr-layout-global .site-content,
body.psr-layout-global main,
body.psr-layout-global .content-area{
  max-width:none;
}

body.psr-layout-global .psr-layout-content{
  width:min(100% - 32px,var(--psr-content-width));
  margin-inline:auto;
}

body.psr-layout-global.single-post .psr-layout-content{
  max-width:var(--psr-content-narrow-width);
}

body.psr-layout-global :is(
  button,
  input[type="submit"],
  input[type="button"],
  .button,
  .wp-element-button,
  .wp-block-button__link,
  .elementor-button,
  .psr-button
){
  background:var(--psr-button-bg);
  color:var(--psr-button-text);
  border:0;
  border-radius:calc(var(--psr-radius) * .6);
  padding:.85em 1.25em;
  font-weight:700;
  text-decoration:none;
  transition:.18s ease;
}

body.psr-layout-global :is(
  button,
  input[type="submit"],
  input[type="button"],
  .button,
  .wp-element-button,
  .wp-block-button__link,
  .elementor-button,
  .psr-button
):hover{
  background:var(--psr-button-hover-bg);
  color:var(--psr-button-hover-text);
}

body.psr-layout-global :is(
  .psr-card,
  article.post,
  article.page,
  .wp-block-group.is-style-card,
  .elementor-widget-container .psr-card
){
  border-radius:var(--psr-radius);
}

body.psr-layout-global .psr-card{
  background:var(--psr-card-bg);
  border:1px solid var(--psr-card-border);
  padding:var(--psr-space);
  color:var(--psr-card-text);
  box-shadow:0 8px 28px rgba(13,8,2,.06);
}

body.psr-layout-global .psr-card :is(h1,h2,h3,h4,h5,h6){
  color:var(--psr-card-heading);
}

body.psr-layout-global :is(input[type="text"],input[type="email"],input[type="url"],input[type="tel"],input[type="search"],input[type="number"],textarea,select){
  width:100%;
  max-width:100%;
  border:1px solid var(--psr-card-border);
  border-radius:calc(var(--psr-radius) * .55);
  padding:.8em .95em;
  background:#fff;
  color:var(--psr-text);
}

body.psr-layout-global :is(input,textarea,select):focus{
  outline:2px solid color-mix(in srgb,var(--psr-cyan) 35%,transparent);
  border-color:var(--psr-cyan);
}

body.psr-layout-global .site-header,
body.psr-layout-global header.site-header,
body.psr-layout-global .wp-site-blocks > header{
  background:var(--psr-header-bg);
  color:var(--psr-header-text);
}

body.psr-layout-global .site-header a,
body.psr-layout-global header.site-header a,
body.psr-layout-global .wp-site-blocks > header a,
body.psr-layout-global .site-header .menu a,
body.psr-layout-global .site-header nav a,
body.psr-layout-global .wp-block-navigation a{
  color:var(--psr-menu-text);
}

body.psr-layout-global .site-header a:hover,
body.psr-layout-global .site-header a:focus,
body.psr-layout-global header.site-header a:hover,
body.psr-layout-global header.site-header a:focus,
body.psr-layout-global .wp-site-blocks > header a:hover,
body.psr-layout-global .wp-site-blocks > header a:focus,
body.psr-layout-global .site-header .menu a:hover,
body.psr-layout-global .site-header nav a:hover,
body.psr-layout-global .wp-block-navigation a:hover{
  color:var(--psr-menu-hover);
}

body.psr-layout-global .site-footer,
body.psr-layout-global footer.site-footer,
body.psr-layout-global .wp-site-blocks > footer{
  background:var(--psr-footer-bg);
  color:var(--psr-footer-text);
}

body.psr-layout-global .site-footer a,
body.psr-layout-global footer.site-footer a,
body.psr-layout-global .wp-site-blocks > footer a{
  color:var(--psr-footer-link);
}

body.psr-layout-global .site-footer a:hover,
body.psr-layout-global .site-footer a:focus,
body.psr-layout-global footer.site-footer a:hover,
body.psr-layout-global footer.site-footer a:focus,
body.psr-layout-global .wp-site-blocks > footer a:hover,
body.psr-layout-global .wp-site-blocks > footer a:focus{
  color:var(--psr-footer-link-hover);
}

.psr-layout-global-note{
  background:var(--psr-footer-bg);
  color:var(--psr-footer-text);
  text-align:center;
  padding:18px 24px;
  font-size:.92rem;
}

@media (max-width:782px){
  body.psr-layout-global .psr-layout-content{
    width:min(100% - 24px,var(--psr-content-width));
  }
}


/* v1.2 — controles manuais */
body.psr-layout-global{
  font-size:var(--psr-body-font-size);
  line-height:var(--psr-body-line-height);
}
body.psr-layout-global h1{font-size:var(--psr-h1-size);font-weight:var(--psr-heading-weight);}
body.psr-layout-global h2{font-size:var(--psr-h2-size);font-weight:var(--psr-heading-weight);}
body.psr-layout-global h3{font-size:var(--psr-h3-size);font-weight:var(--psr-heading-weight);}
body.psr-layout-global h4{font-size:var(--psr-h4-size);font-weight:var(--psr-heading-weight);}
body.psr-layout-global h5{font-size:var(--psr-h5-size);font-weight:var(--psr-heading-weight);}
body.psr-layout-global h6{font-size:var(--psr-h6-size);font-weight:var(--psr-heading-weight);}
body.psr-layout-global a{font-weight:var(--psr-link-weight);}

body.psr-layout-global :is(
  .site-header .menu a,
  .site-header nav a,
  .wp-block-navigation a
){
  font-size:var(--psr-menu-font-size);
  font-weight:var(--psr-menu-font-weight);
}

body.psr-layout-global :is(
  button,
  input[type="submit"],
  input[type="button"],
  .button,
  .wp-element-button,
  .wp-block-button__link,
  .elementor-button,
  .psr-button
){
  font-size:var(--psr-button-font-size);
  font-weight:var(--psr-button-font-weight);
  border-radius:var(--psr-button-radius);
  padding:var(--psr-button-padding-y) var(--psr-button-padding-x);
}

body.psr-layout-global .psr-card{
  border-radius:var(--psr-card-radius);
  padding:var(--psr-card-padding);
}

body.psr-layout-global .site-header,
body.psr-layout-global header.site-header,
body.psr-layout-global .wp-site-blocks > header{
  padding-top:var(--psr-header-padding-y);
  padding-bottom:var(--psr-header-padding-y);
}

body.psr-layout-global .site-footer,
body.psr-layout-global footer.site-footer,
body.psr-layout-global .wp-site-blocks > footer{
  padding-top:var(--psr-footer-padding-y);
  padding-bottom:var(--psr-footer-padding-y);
}

body.psr-layout-global .psr-layout-content > * + *{
  margin-top:var(--psr-section-gap);
}


/* v1.3 — padrão oficial para áreas escuras */
body.psr-layout-global.psr-layout-dark-content{
  --psr-current-content-bg: var(--psr-dark-bg);
}

/* Conteúdo principal em fundo escuro */
body.psr-layout-global.psr-layout-dark-content :is(
  .psr-layout-content,
  main .entry-content,
  main .page-content,
  main .site-main,
  .psr-dark-section,
  .psr-hero-dark,
  .podsupremo-dark,
  .podsupremo-hero
){
  color:var(--psr-dark-text);
}

body.psr-layout-global.psr-layout-dark-content :is(
  .psr-layout-content,
  main .entry-content,
  main .page-content,
  .psr-dark-section,
  .psr-hero-dark,
  .podsupremo-dark,
  .podsupremo-hero
) :is(h1,h2,h3,h4,h5,h6),
body.psr-layout-global.psr-layout-dark-content :is(
  .entry-title,
  .page-title,
  .wp-block-post-title
){
  color:var(--psr-dark-heading);
}

body.psr-layout-global.psr-layout-dark-content :is(
  .psr-layout-content,
  main .entry-content,
  main .page-content,
  .psr-dark-section,
  .psr-hero-dark,
  .podsupremo-dark,
  .podsupremo-hero
) :is(p,li,dd,figcaption,.description,.entry-summary,.wp-block-post-excerpt__excerpt){
  color:var(--psr-dark-text);
}

body.psr-layout-global.psr-layout-dark-content :is(
  .psr-muted,
  .text-muted,
  .muted,
  .subtitle,
  .subtitulo,
  .description-secondary
){
  color:var(--psr-dark-muted);
}

/* Sobretítulos / eyebrow / kicker */
body.psr-layout-global :is(
  .psr-eyebrow,
  .eyebrow,
  .overline,
  .kicker,
  .section-label,
  .psr-overline,
  .psr-section-label
){
  color:var(--psr-eyebrow);
}

/* Links em áreas escuras */
body.psr-layout-global.psr-layout-dark-content :is(
  .psr-layout-content,
  main .entry-content,
  main .page-content,
  .psr-dark-section,
  .psr-hero-dark,
  .podsupremo-dark,
  .podsupremo-hero
) a{
  color:var(--psr-dark-link);
}

body.psr-layout-global.psr-layout-dark-content :is(
  .psr-layout-content,
  main .entry-content,
  main .page-content,
  .psr-dark-section,
  .psr-hero-dark,
  .podsupremo-dark,
  .podsupremo-hero
) a:hover,
body.psr-layout-global.psr-layout-dark-content :is(
  .psr-layout-content,
  main .entry-content,
  main .page-content,
  .psr-dark-section,
  .psr-hero-dark,
  .podsupremo-dark,
  .podsupremo-hero
) a:focus{
  color:var(--psr-dark-link-hover);
}

/* Rodapé oficial */
body.psr-layout-global :is(
  .site-footer,
  footer.site-footer,
  .wp-site-blocks > footer,
  footer
){
  background:var(--psr-footer-bg);
  color:var(--psr-footer-text);
}

body.psr-layout-global :is(
  .site-footer,
  footer.site-footer,
  .wp-site-blocks > footer,
  footer
) :is(h1,h2,h3,h4,h5,h6,.footer-title,.widget-title){
  color:var(--psr-footer-title);
}

body.psr-layout-global :is(
  .site-footer,
  footer.site-footer,
  .wp-site-blocks > footer,
  footer
) :is(p,span,li){
  color:var(--psr-footer-text);
}

body.psr-layout-global :is(
  .site-footer,
  footer.site-footer,
  .wp-site-blocks > footer,
  footer
) a{
  color:var(--psr-footer-link);
}

body.psr-layout-global :is(
  .site-footer,
  footer.site-footer,
  .wp-site-blocks > footer,
  footer
) a:hover,
body.psr-layout-global :is(
  .site-footer,
  footer.site-footer,
  .wp-site-blocks > footer,
  footer
) a:focus{
  color:var(--psr-footer-link-hover);
}

/* Botões sociais do rodapé */
body.psr-layout-global :is(
  .site-footer,
  footer.site-footer,
  .wp-site-blocks > footer,
  footer
) :is(
  .social-links a,
  .social-link,
  .psr-social-link,
  .wp-block-social-link a
){
  color:var(--psr-social-text);
  border-color:var(--psr-social-border);
}

body.psr-layout-global :is(
  .site-footer,
  footer.site-footer,
  .wp-site-blocks > footer,
  footer
) :is(
  .social-links a,
  .social-link,
  .psr-social-link,
  .wp-block-social-link a
):hover{
  color:var(--psr-social-hover-text);
}

/* Classes utilitárias para outros plugins do ecossistema */
.psr-bg-dark{background:var(--psr-dark-bg)!important;}
.psr-text-on-dark{color:var(--psr-dark-text)!important;}
.psr-heading-on-dark{color:var(--psr-dark-heading)!important;}
.psr-muted-on-dark{color:var(--psr-dark-muted)!important;}
.psr-eyebrow{color:var(--psr-eyebrow)!important;}
.psr-link-on-dark{color:var(--psr-dark-link)!important;}
.psr-link-on-dark:hover{color:var(--psr-dark-link-hover)!important;}


/* v1.3.1 — reforço de contraste para vencer estilos do tema */
body.psr-layout-global.psr-layout-dark-content .psr-layout-content,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .entry-content,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .page-content,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .archive-description,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .taxonomy-description{
  color:var(--psr-dark-text) !important;
}

body.psr-layout-global.psr-layout-dark-content .psr-layout-content h1,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content h2,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content h3,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content h4,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content h5,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content h6,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .entry-title,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .page-title,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .wp-block-post-title{
  color:var(--psr-dark-heading) !important;
}

body.psr-layout-global.psr-layout-dark-content .psr-layout-content p,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content li,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content dd,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content figcaption,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .description,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .entry-summary,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .wp-block-post-excerpt__excerpt,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .archive-description,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .taxonomy-description,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .term-description{
  color:var(--psr-dark-text) !important;
}

body.psr-layout-global.psr-layout-dark-content .psr-layout-content .psr-muted,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .text-muted,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .muted,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .subtitle,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .subtitulo,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content .description-secondary{
  color:var(--psr-dark-muted) !important;
}

body.psr-layout-global .psr-eyebrow,
body.psr-layout-global .eyebrow,
body.psr-layout-global .overline,
body.psr-layout-global .kicker,
body.psr-layout-global .section-label,
body.psr-layout-global .psr-overline,
body.psr-layout-global .psr-section-label{
  color:var(--psr-eyebrow) !important;
}

body.psr-layout-global.psr-layout-dark-content .psr-layout-content a{
  color:var(--psr-dark-link) !important;
}
body.psr-layout-global.psr-layout-dark-content .psr-layout-content a:hover,
body.psr-layout-global.psr-layout-dark-content .psr-layout-content a:focus{
  color:var(--psr-dark-link-hover) !important;
}

/* Rodapé: forçar contraste */
body.psr-layout-global .site-footer,
body.psr-layout-global footer.site-footer,
body.psr-layout-global .wp-site-blocks > footer,
body.psr-layout-global footer{
  background:var(--psr-footer-bg) !important;
  color:var(--psr-footer-text) !important;
}

body.psr-layout-global .site-footer h1,
body.psr-layout-global .site-footer h2,
body.psr-layout-global .site-footer h3,
body.psr-layout-global .site-footer h4,
body.psr-layout-global .site-footer h5,
body.psr-layout-global .site-footer h6,
body.psr-layout-global .site-footer .footer-title,
body.psr-layout-global .site-footer .widget-title,
body.psr-layout-global footer h1,
body.psr-layout-global footer h2,
body.psr-layout-global footer h3,
body.psr-layout-global footer h4,
body.psr-layout-global footer h5,
body.psr-layout-global footer h6,
body.psr-layout-global footer .footer-title,
body.psr-layout-global footer .widget-title{
  color:var(--psr-footer-title) !important;
}

body.psr-layout-global .site-footer p,
body.psr-layout-global .site-footer span,
body.psr-layout-global .site-footer li,
body.psr-layout-global footer p,
body.psr-layout-global footer span,
body.psr-layout-global footer li{
  color:var(--psr-footer-text) !important;
}

body.psr-layout-global .site-footer a,
body.psr-layout-global footer a{
  color:var(--psr-footer-link) !important;
}
body.psr-layout-global .site-footer a:hover,
body.psr-layout-global .site-footer a:focus,
body.psr-layout-global footer a:hover,
body.psr-layout-global footer a:focus{
  color:var(--psr-footer-link-hover) !important;
}

body.psr-layout-global .site-footer .social-links a,
body.psr-layout-global .site-footer .social-link,
body.psr-layout-global .site-footer .psr-social-link,
body.psr-layout-global .site-footer .wp-block-social-link a,
body.psr-layout-global footer .social-links a,
body.psr-layout-global footer .social-link,
body.psr-layout-global footer .psr-social-link,
body.psr-layout-global footer .wp-block-social-link a{
  color:var(--psr-social-text) !important;
  border-color:var(--psr-social-border) !important;
}

body.psr-layout-global .site-footer .social-links a:hover,
body.psr-layout-global .site-footer .social-link:hover,
body.psr-layout-global .site-footer .psr-social-link:hover,
body.psr-layout-global .site-footer .wp-block-social-link a:hover,
body.psr-layout-global footer .social-links a:hover,
body.psr-layout-global footer .social-link:hover,
body.psr-layout-global footer .psr-social-link:hover,
body.psr-layout-global footer .wp-block-social-link a:hover{
  color:var(--psr-social-hover-text) !important;
}


/* v1.3.2 — compatibilidade ampliada com templates/temas */
body.psr-layout-global.psr-layout-force-dark-contrast :is(
  main,
  #main,
  #primary,
  #content,
  .site-main,
  .site-content,
  .content-area,
  .entry-content,
  .page-content,
  .archive-content,
  .archive-description
){
  color:var(--psr-dark-text) !important;
}

body.psr-layout-global.psr-layout-force-dark-contrast :is(
  main,
  #main,
  #primary,
  #content,
  .site-main,
  .site-content,
  .content-area,
  .entry-content,
  .page-content,
  .archive-content
) :is(h1,h2,h3,h4,h5,h6,.entry-title,.page-title,.archive-title,.wp-block-post-title){
  color:var(--psr-dark-heading) !important;
}

body.psr-layout-global.psr-layout-force-dark-contrast :is(
  main,
  #main,
  #primary,
  #content,
  .site-main,
  .site-content,
  .content-area,
  .entry-content,
  .page-content,
  .archive-content
) :is(
  p,
  li,
  dd,
  figcaption,
  .description,
  .archive-description,
  .taxonomy-description,
  .term-description,
  .entry-summary,
  .wp-block-post-excerpt__excerpt,
  .subtitle,
  .subtitulo
){
  color:var(--psr-dark-text) !important;
}

body.psr-layout-global.psr-layout-force-dark-contrast :is(
  main,
  #main,
  #primary,
  #content,
  .site-main,
  .site-content,
  .content-area,
  .entry-content,
  .page-content,
  .archive-content
) :is(.muted,.text-muted,.psr-muted,.description-secondary,.secondary-text){
  color:var(--psr-dark-muted) !important;
}

body.psr-layout-global.psr-layout-force-dark-contrast :is(
  main,
  #main,
  #primary,
  #content,
  .site-main,
  .site-content,
  .content-area,
  .entry-content,
  .page-content,
  .archive-content
) :is(.eyebrow,.overline,.kicker,.section-label,.psr-eyebrow,.psr-overline,.psr-section-label){
  color:var(--psr-eyebrow) !important;
}

body.psr-layout-global.psr-layout-force-dark-contrast :is(
  main,
  #main,
  #primary,
  #content,
  .site-main,
  .site-content,
  .content-area,
  .entry-content,
  .page-content,
  .archive-content
) a:not(.button):not(.wp-element-button):not(.wp-block-button__link){
  color:var(--psr-dark-link) !important;
}

body.psr-layout-global.psr-layout-force-dark-contrast :is(
  main,
  #main,
  #primary,
  #content,
  .site-main,
  .site-content,
  .content-area,
  .entry-content,
  .page-content,
  .archive-content
) a:not(.button):not(.wp-element-button):not(.wp-block-button__link):hover{
  color:var(--psr-dark-link-hover) !important;
}

/* Rodapé — cobre rodapés sem tag <footer> e construtores visuais */
body.psr-layout-global.psr-layout-force-footer-contrast :is(
  footer,
  #colophon,
  .site-footer,
  .footer,
  .footer-area,
  .footer-widgets,
  .footer-widget-area,
  .site-info,
  .psr-footer,
  .podsupremo-footer,
  .wp-site-blocks > footer
){
  background-color:var(--psr-footer-bg) !important;
  color:var(--psr-footer-text) !important;
}

body.psr-layout-global.psr-layout-force-footer-contrast :is(
  footer,
  #colophon,
  .site-footer,
  .footer,
  .footer-area,
  .footer-widgets,
  .footer-widget-area,
  .site-info,
  .psr-footer,
  .podsupremo-footer,
  .wp-site-blocks > footer
) :is(h1,h2,h3,h4,h5,h6,.widget-title,.footer-title){
  color:var(--psr-footer-title) !important;
}

body.psr-layout-global.psr-layout-force-footer-contrast :is(
  footer,
  #colophon,
  .site-footer,
  .footer,
  .footer-area,
  .footer-widgets,
  .footer-widget-area,
  .site-info,
  .psr-footer,
  .podsupremo-footer,
  .wp-site-blocks > footer
) :is(p,span,li,small){
  color:var(--psr-footer-text) !important;
}

body.psr-layout-global.psr-layout-force-footer-contrast :is(
  footer,
  #colophon,
  .site-footer,
  .footer,
  .footer-area,
  .footer-widgets,
  .footer-widget-area,
  .site-info,
  .psr-footer,
  .podsupremo-footer,
  .wp-site-blocks > footer
) a{
  color:var(--psr-footer-link) !important;
}

body.psr-layout-global.psr-layout-force-footer-contrast :is(
  footer,
  #colophon,
  .site-footer,
  .footer,
  .footer-area,
  .footer-widgets,
  .footer-widget-area,
  .site-info,
  .psr-footer,
  .podsupremo-footer,
  .wp-site-blocks > footer
) a:hover,
body.psr-layout-global.psr-layout-force-footer-contrast :is(
  footer,
  #colophon,
  .site-footer,
  .footer,
  .footer-area,
  .footer-widgets,
  .footer-widget-area,
  .site-info,
  .psr-footer,
  .podsupremo-footer,
  .wp-site-blocks > footer
) a:focus{
  color:var(--psr-footer-link-hover) !important;
}

/* Exceções deliberadas: áreas claras podem usar esta classe. */
body.psr-layout-global.psr-layout-force-dark-contrast .psr-light-section,
body.psr-layout-global.psr-layout-force-dark-contrast .psr-light-section p,
body.psr-layout-global.psr-layout-force-dark-contrast .psr-light-section li{
  color:var(--psr-text) !important;
}
body.psr-layout-global.psr-layout-force-dark-contrast .psr-light-section :is(h1,h2,h3,h4,h5,h6){
  color:var(--psr-heading) !important;
}


/* v1.5 — controles específicos para arquivos e categorias */
body.psr-layout-global.psr-layout-archive.psr-layout-archive-custom{
  background-color:var(--psr-archive-bg) !important;
}

/* Área de abertura do arquivo/categoria */
body.psr-layout-global.psr-layout-archive.psr-layout-archive-custom :is(
  main,
  #main,
  #primary,
  #content,
  .site-main,
  .content-area,
  .site-content
) :is(
  .page-header,
  .archive-header,
  .taxonomy-header,
  .term-header,
  .archive-hero,
  .hero,
  .psr-archive-hero,
  .podsupremo-archive-hero
){
  color:var(--psr-archive-description) !important;
}

/* Título principal de arquivos/categorias */
body.psr-layout-global.psr-layout-archive.psr-layout-archive-custom :is(
  .page-title,
  .archive-title,
  .taxonomy-title,
  .term-title,
  .wp-block-query-title,
  .archive-header h1,
  .page-header h1,
  .archive-hero h1,
  .psr-archive-hero h1,
  .podsupremo-archive-hero h1,
  main > section:first-of-type h1,
  .site-main > section:first-of-type h1,
  .content-area > section:first-of-type h1
){
  color:var(--psr-archive-heading) !important;
  font-size:var(--psr-archive-heading-size) !important;
}

/* Descrição da abertura — inclui templates próprios sem classes semânticas */
body.psr-layout-global.psr-layout-archive.psr-layout-archive-custom :is(
  .archive-description,
  .taxonomy-description,
  .term-description,
  .page-description,
  .archive-header p,
  .page-header p,
  .taxonomy-header p,
  .term-header p,
  .archive-hero p,
  .psr-archive-hero p,
  .podsupremo-archive-hero p,
  main > section:first-of-type p,
  .site-main > section:first-of-type p,
  .content-area > section:first-of-type p,
  main > div:first-child p,
  .site-main > div:first-child p
){
  color:var(--psr-archive-description) !important;
  font-size:var(--psr-archive-description-size) !important;
  line-height:var(--psr-archive-description-line-height) !important;
}

/* Eyebrow / sobretítulo da abertura */
body.psr-layout-global.psr-layout-archive.psr-layout-archive-custom :is(
  .eyebrow,
  .overline,
  .kicker,
  .section-label,
  .psr-eyebrow,
  .psr-overline,
  .psr-section-label,
  .archive-eyebrow,
  .archive-kicker,
  main > section:first-of-type > :first-child:not(h1):not(p),
  .site-main > section:first-of-type > :first-child:not(h1):not(p)
){
  color:var(--psr-archive-eyebrow) !important;
}

/* Links do conteúdo do arquivo/categoria */
body.psr-layout-global.psr-layout-archive.psr-layout-archive-custom :is(
  main,
  #main,
  #primary,
  #content,
  .site-main,
  .content-area
) a:not(.button):not(.wp-element-button):not(.wp-block-button__link){
  color:var(--psr-archive-link);
}

body.psr-layout-global.psr-layout-archive.psr-layout-archive-custom :is(
  main,
  #main,
  #primary,
  #content,
  .site-main,
  .content-area
) a:not(.button):not(.wp-element-button):not(.wp-block-button__link):hover{
  color:var(--psr-archive-link-hover);
}

/* Menu principal — amplia compatibilidade com temas clássicos e blocos */
body.psr-layout-global :is(
  header,
  .site-header,
  #masthead,
  .main-navigation,
  .primary-navigation,
  .nav-primary,
  .wp-block-navigation
) :is(a,.menu-item > a){
  color:var(--psr-menu-text) !important;
}

body.psr-layout-global :is(
  header,
  .site-header,
  #masthead,
  .main-navigation,
  .primary-navigation,
  .nav-primary,
  .wp-block-navigation
) :is(a,.menu-item > a):hover,
body.psr-layout-global :is(
  header,
  .site-header,
  #masthead,
  .main-navigation,
  .primary-navigation,
  .nav-primary,
  .wp-block-navigation
) :is(a,.menu-item > a):focus{
  color:var(--psr-menu-hover) !important;
}

/* Rodapé — amplia compatibilidade sem tocar em páginas JSON/Elementor */
body.psr-layout-global :is(
  footer,
  #colophon,
  .site-footer,
  .footer,
  .footer-area,
  .footer-widgets,
  .footer-widget-area,
  .site-info,
  .psr-footer,
  .podsupremo-footer,
  [class*="footer"],
  [id*="footer"]
) h1,
body.psr-layout-global :is(
  footer,
  #colophon,
  .site-footer,
  .footer,
  .footer-area,
  .footer-widgets,
  .footer-widget-area,
  .site-info,
  .psr-footer,
  .podsupremo-footer,
  [class*="footer"],
  [id*="footer"]
) h2,
body.psr-layout-global :is(
  footer,
  #colophon,
  .site-footer,
  .footer,
  .footer-area,
  .footer-widgets,
  .footer-widget-area,
  .site-info,
  .psr-footer,
  .podsupremo-footer,
  [class*="footer"],
  [id*="footer"]
) h3{
  color:var(--psr-footer-title) !important;
}

body.psr-layout-global :is(
  footer,
  #colophon,
  .site-footer,
  .footer,
  .footer-area,
  .footer-widgets,
  .footer-widget-area,
  .site-info,
  .psr-footer,
  .podsupremo-footer,
  [class*="footer"],
  [id*="footer"]
) a{
  color:var(--psr-footer-link) !important;
}

body.psr-layout-global :is(
  footer,
  #colophon,
  .site-footer,
  .footer,
  .footer-area,
  .footer-widgets,
  .footer-widget-area,
  .site-info,
  .psr-footer,
  .podsupremo-footer,
  [class*="footer"],
  [id*="footer"]
) a:hover{
  color:var(--psr-footer-link-hover) !important;
}


/* v1.6 — posts individuais de episódios */
body.psr-layout-global.psr-layout-episode-single{
  background-color:var(--psr-episode-bg);
}

body.psr-layout-global.psr-layout-episode-single :is(
  main,
  #main,
  #primary,
  #content,
  .site-main,
  .content-area,
  .site-content,
  article,
  .entry-content,
  .post-content,
  .single-content
){
  color:var(--psr-episode-text);
}

body.psr-layout-global.psr-layout-episode-single :is(
  main,
  #main,
  #primary,
  #content,
  .site-main,
  .content-area,
  article,
  .entry-content,
  .post-content,
  .single-content
) :is(h1,h2,h3,h4,h5,h6,.entry-title,.post-title){
  color:var(--psr-episode-heading) !important;
}

body.psr-layout-global.psr-layout-episode-single :is(
  article,
  .entry-content,
  .post-content,
  .single-content
) :is(p,li,dd,figcaption,blockquote){
  color:var(--psr-episode-text) !important;
  font-size:var(--psr-episode-text-size);
  line-height:var(--psr-episode-line-height);
}

body.psr-layout-global.psr-layout-episode-single :is(
  article,
  .entry-content,
  .post-content,
  .single-content
) a:not(.button):not(.wp-element-button):not(.wp-block-button__link){
  color:var(--psr-episode-link) !important;
}

body.psr-layout-global.psr-layout-episode-single :is(
  article,
  .entry-content,
  .post-content,
  .single-content
) a:not(.button):not(.wp-element-button):not(.wp-block-button__link):hover{
  color:var(--psr-episode-link-hover) !important;
}


/* v1.6.1 — área de curtidas nos posts de episódios */
body.psr-layout-global.psr-layout-episode-single :is(
  .sd-like .sd-title,
  .jetpack-likes-widget-wrapper .sd-title,
  .sharedaddy.sd-like .sd-title,
  .likes-widget-placeholder + .sd-title
){
  color:var(--psr-like-title) !important;
}

body.psr-layout-global.psr-layout-episode-single :is(
  .sd-like .sd-text-color,
  .jetpack-likes-widget-wrapper .sd-text-color,
  .likes-widget-placeholder .loading,
  .post-likes-widget-placeholder .loading,
  .likes-widget-placeholder .like-count,
  .post-likes-widget-placeholder .like-count,
  .likes-widget-placeholder .status,
  .post-likes-widget-placeholder .status
){
  color:var(--psr-like-status) !important;
}

body.psr-layout-global.psr-layout-episode-single :is(
  .sd-like .wpl-button a,
  .jetpack-likes-widget-wrapper .wpl-button a,
  .likes-widget-placeholder .button,
  .post-likes-widget-placeholder .button,
  .likes-widget-placeholder button,
  .post-likes-widget-placeholder button
){
  background:var(--psr-like-button-bg) !important;
  color:var(--psr-like-button-text) !important;
  border-color:var(--psr-like-button-border) !important;
}

body.psr-layout-global.psr-layout-episode-single :is(
  .sd-like .wpl-button a,
  .jetpack-likes-widget-wrapper .wpl-button a,
  .likes-widget-placeholder .button,
  .post-likes-widget-placeholder .button,
  .likes-widget-placeholder button,
  .post-likes-widget-placeholder button
):hover{
  background:var(--psr-like-button-hover-bg) !important;
  color:var(--psr-like-button-hover-text) !important;
}

/* Caso o status do Jetpack esteja no DOM principal. */
body.psr-layout-global.psr-layout-episode-single :is(
  .jetpack-likes-widget-wrapper,
  .likes-widget-placeholder,
  .post-likes-widget-placeholder
){
  color:var(--psr-like-status);
}
