/*
Theme Name: Blotz
Theme URI: https://example.com/blotz
Author: Blotz
Author URI: https://fzi.com.br
Description: Tema WordPress rápido, editorial e preparado para SEO e embeds por URL.
Version: 2.0.45
Requires at least: 6.9
Requires PHP: 8.3
Text Domain: tema-leve
*/
:root {
  --ink: #202124;
  --muted: #687078;
  --red: #94711e;
  --red-dark: #725613;
  --line: #e4e4e4;
  --page: #fff;
  --soft: #f7f7f7;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
/* Anúncios dinâmicos não devem virar a âncora de rolagem do navegador. */
:where(.pub, .ai-viewports) {
  overflow-anchor: none;
}
/* O AdSense sinaliza quando uma unidade terminou sem anúncio. Só então
   recolhemos a unidade; anúncios pendentes ou preenchidos seguem visíveis. */
ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}
.blotz-ad-slot {
  width: 100%;
  max-width: 100%;
  margin: 24px auto;
  text-align: center;
  clear: both;
}
.blotz-ad-slot[data-blotz-lazy-ad] {
  min-height: 1px;
  margin-top: 0;
  margin-bottom: 0;
}
.blotz-ad-slot[data-blotz-ad-state="empty"],
.blotz-ad-slot[data-blotz-ad-state="error"] {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
}
/* Recolhe também o wrapper simples usado pelo Ad Inserter, só após no-fill. */
.pub:has(> ins.adsbygoogle[data-ad-status="unfilled"]):not(:has(ins.adsbygoogle:not([data-ad-status="unfilled"]))):not(:has(> :is(div, iframe, img, video, a))) {
  display: none !important;
}
.blotz-ad-slot > :not(script) {
  margin-inline: auto;
}
.blotz-ad-slot img,
.blotz-ad-slot video,
.blotz-ad-slot iframe {
  max-width: 100%;
}
.blotz-ad-slot img,
.blotz-ad-slot video {
  height: auto;
}
.blotz-ad-slot--top {
  margin: 0 auto 24px;
}
.blotz-ad-slot--before_related + .blotz-related-posts {
  margin-top: 24px;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  min-width: 0;
}
.site-header {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.header-row {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.header-row .brand { min-width: 0; }
.primary-menu ul { flex-wrap: wrap; }
.brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.site-title {
  color: var(--red);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-decoration: none;
}
.site-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.primary-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.primary-menu a {
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}
.primary-menu a:hover {
  color: var(--red);
}
.topline {
  height: 5px;
  background: var(--red);
}
.front-main {
  padding-top: 30px;
}
.home-label {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  font-weight: 800;
  text-transform: uppercase;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 18px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.hero-lead {
  min-height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background: #252525;
}
.hero-lead > a:first-child,
.hero-side-image {
  display: block;
  height: 100%;
}
.hero-lead img,
.hero-side img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.hero-lead:after,
.hero-side:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.82),
    rgba(0, 0, 0, 0.05) 70%
  );
}
.hero-copy {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  padding: 34px;
}
.post-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-copy .post-kicker,
.hero-side .post-kicker {
  color: #fff;
}
.hero-copy h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.hero-copy h1 a,
.hero-side h2 a {
  text-decoration: none;
}
.hero-copy p {
  max-width: 670px;
  margin: 14px 0 0;
  color: #f4f4f4;
  font-size: 1rem;
}
.hero-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.hero-side article {
  position: relative;
  overflow: hidden;
  min-height: 241px;
  border-radius: var(--radius);
  background: #333;
  color: #fff;
}
.hero-side-copy {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  padding: 22px;
}
.hero-side h2 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.latest {
  padding: 34px 0 74px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.section-heading h2 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}
.all-link {
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.news-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 36px;
}
.feed {
  border-top: 1px solid var(--line);
}
.news-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.news-row-image {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16/10;
  background: #ddd;
}
.news-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-row h3 {
  margin: 0;
  color: var(--red);
  font-size: 1.42rem;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.news-row h3 a {
  text-decoration: none;
}
.news-row p {
  margin: 9px 0 0;
  color: #535960;
  font-size: 0.92rem;
}
.news-row time {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}
.sidebar {
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sidebar h2 {
  margin: 0 0 15px;
  font-size: 1.05rem;
}
.sidebar-item {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.sidebar-item:first-of-type {
  border-top: 0;
}
.sidebar-item span {
  color: var(--red);
  font-weight: 700;
  font-size: 0.93rem;
  line-height: 1.15;
}
.sidebar-item img {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 7px;
  object-fit: cover;
}
.entry {
  width: min(760px, 100%);
  padding: 64px 0;
}
.entry-title {
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.entry-meta {
  color: var(--muted);
}
.entry-content > * {
  margin-block: 1.4em;
}
.embed-link-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.embed-link-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--red);
}
.site-footer {
  padding: 32px 0;
  border-top: 4px solid var(--red);
  color: var(--muted);
  font-size: 0.85rem;
}
@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-lead {
    min-height: 420px;
  }
  .hero-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .hero-side article {
    min-height: 230px;
  }
  .news-list {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
}
@media (max-width: 600px) {
  .site-shell {
    width: min(100% - 28px, 1180px);
  }
  .header-row {
    min-height: 72px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }
  .primary-menu ul {
    gap: 14px;
  }
  .primary-menu a {
    font-size: 0.82rem;
  }
  .front-main {
    padding-top: 20px;
  }
  .hero-lead {
    min-height: 380px;
  }
  .hero-copy {
    padding: 22px;
  }
  .hero-copy p {
    display: none;
  }
  .hero-side {
    grid-template-columns: 1fr;
  }
  .hero-side article {
    min-height: 210px;
  }
  .news-row {
    grid-template-columns: 128px 1fr;
    gap: 14px;
  }
  .news-row h3 {
    font-size: 1.05rem;
  }
  .news-row p {
    display: none;
  }
  .news-row-image {
    align-self: start;
  }
  .latest {
    padding-bottom: 42px;
  }
}

/* A sobreposição deve cobrir apenas cada card lateral, nunca a página inteira. */
.hero-side:after {
  content: none;
}
.hero-side article:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.78),
    rgba(0, 0, 0, 0.04) 70%
  );
}

/* As camadas dos cards não bloqueiam a interação com a página. */
.hero-lead:after,
.hero-side:after,
.hero-side article:after {
  pointer-events: none;
}

/* Busca, categorias, tags e outros arquivos: cards em 3 / 2 / 1 colunas. */
.listing-page {
  padding: 58px 0 76px;
}
.listing-header {
  max-width: 770px;
  margin-bottom: 30px;
}
.listing-label {
  margin: 0 0 7px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.listing-header h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 1.04;
}
.listing-description {
  margin-top: 12px;
  color: var(--muted);
}
.listing-search {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}
.listing-search input {
  min-width: 0;
  flex: 1;
  max-width: 430px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
}
.listing-search button {
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  font-weight: 750;
}
.article-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
}
@media (min-width: 901px) {
  .front-main .latest .article-card-grid {
    grid-template-columns: repeat(var(--blotz-home-columns, 3), minmax(0, 1fr));
  }
}
.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.article-card-image {
  display: block;
  aspect-ratio: 16/10;
  background: #e6e4df;
}
.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card-body {
  padding: 17px;
}
.article-card h2 {
  margin: 6px 0 9px;
  color: var(--ink);
  font-size: 1.25rem;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.article-card h2 a {
  text-decoration: none;
}
.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.89rem;
}
.article-card time {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.78rem;
}
.load-more {
  margin-top: 38px;
  text-align: center;
}
.load-more .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.load-more a,
.load-more .current {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.load-more .current {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
@media (max-width: 900px) {
  .article-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .listing-page {
    padding: 38px 0 48px;
  }
  .article-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .article-card {
    display: grid;
    grid-template-columns: 130px 1fr;
  }
  .article-card-image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 126px;
  }
  .article-card-body {
    padding: 14px;
  }
  .article-card h2 {
    font-size: 1.07rem;
  }
  .article-card p {
    display: none;
  }
  .listing-search {
    flex-wrap: wrap;
  }
  .listing-search input {
    flex-basis: 100%;
  }
  .listing-search button {
    height: 42px;
  }
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-menu a {
  color: var(--muted);
  text-decoration: none;
}
.footer-menu a:hover {
  color: var(--red);
}
.footer-copy {
  margin-left: auto;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.blotz-load-more {
  padding: 12px 24px;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  cursor: pointer;
  font-weight: 800;
}
.blotz-load-more:hover {
  background: var(--red);
  color: #fff;
}
.blotz-load-more:disabled {
  opacity: 0.65;
  cursor: wait;
}
@media (max-width: 600px) {
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-menu ul {
    justify-content: flex-start;
    gap: 12px 16px;
  }
  .footer-copy {
    margin-left: 0;
  }
  .desktop-search {
    display: none;
  }
}

/* A descrição segue disponível para mecanismos de busca, mas não ocupa o cabeçalho. */
.site-description {
  display: none;
}
.custom-brand .custom-logo-link {
  display: block;
}
.custom-brand .custom-logo {
  width: auto;
  max-width: 230px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}
.mobile-logo.custom-brand .custom-logo {
  max-width: 150px;
  height: 32px;
  object-position: center;
}


/* Cards com leitura uniforme, sem alturas irregulares. */
.article-card {
  display: flex;
  flex-direction: column;
}
.article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.article-card h2 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 4.12em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.article-card p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.9em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.article-card time {
  min-height: 1.15em;
  margin-top: auto;
}
@media (max-width: 600px) {
  .article-card {
    display: grid;
  }
  .article-card h2 {
    min-height: 0;
    -webkit-line-clamp: 3;
  }
  .article-card p {
    min-height: 0;
  }
  .article-card time {
    min-height: 0;
  }
}

.social-embed {
  width: 100%;
  max-width: 540px;
  min-width: 0;
  margin-inline: auto;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
}
.social-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}
.social-embed-instagram {
  aspect-ratio: 540/720;
}
.social-embed-instagram iframe {
  height: 100%;
  min-height: 0;
}
.social-embed-facebook {
  aspect-ratio: 500/560;
}
.social-embed-facebook iframe {
  height: 100%;
  min-height: 0;
}
.twitter-tweet {
  width: 100% !important;
  max-width: 540px !important;
  margin-inline: auto !important;
}
@media (max-width: 600px) {
  .article-content .social-embed {
    max-width: 100%;
    border-radius: 0;
  }
  .social-embed-instagram {
    aspect-ratio: 1/1.32;
  }
  .social-embed-facebook {
    aspect-ratio: 1/1.18;
  }
}

/* Matéria individual */
.article {
  width: min(790px, 100%);
  margin: 0 auto;
  padding: 74px 0 24px;
}
.article-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
}
.article-category {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}
.article h1 {
  margin: 12px 0 18px;
  color: var(--ink);
  font-size: clamp(2.45rem, 5.6vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}
.article-deck {
  margin: 0;
  max-width: 740px;
  color: #555d65;
  font-size: 1.22rem;
  line-height: 1.4;
}
.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}
.article-byline strong {
  color: var(--ink);
}
.article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.article-share a,
.article-share button {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font:
    700 0.82rem/1 Arial,
    Helvetica,
    sans-serif;
  text-decoration: none;
}
.article-share .share-whatsapp {
  color: #087a3d;
}
.article-share .share-facebook {
  color: #1769c2;
}
.article-share button:hover,
.article-share a:hover {
  border-color: #bbb;
  background: var(--soft);
}
.article-cover {
  margin: 30px 0;
}
.article-cover img {
  width: 100%;
  border-radius: var(--radius);
}
.article-cover figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}
.article-content {
  /* Mantém filhos posicionados e flutuantes dentro do fluxo do artigo. */
  position: relative;
  display: flow-root;
  max-width: 690px;
  color: #272b2f;
  font-size: 1.16rem;
  line-height: 1.68;
  overflow-wrap: anywhere;
}
.entry-content { overflow-wrap: anywhere; }
.article-content video, .entry-content video { display: block; max-width: 100%; height: auto; }
.article-content pre, .entry-content pre, .wp-block-table { max-width: 100%; overflow-x: auto; }
.article-content > * {
  margin: 1.5em 0;
}
.article-content h2 {
  margin-top: 2em;
  color: var(--ink);
  font-size: 1.75rem;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.article-content h3 {
  font-size: 1.35rem;
}
.article-content a {
  color: var(--red);
  font-weight: 700;
}
.article-content blockquote {
  margin-inline: 0;
  padding: 8px 0 8px 22px;
  border-left: 4px solid var(--red);
  color: #41474d;
  font-size: 1.28rem;
  font-weight: 600;
}
.article-content img {
  border-radius: 8px;
}
.article-content iframe {
  max-width: 100%;
}
.blotz-related-posts {
  width: min(1040px, 100%);
  display: flow-root;
  clear: both;
  margin: 44px auto 56px;
}
.blotz-related-posts h2 {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
  font-size: 1.2rem;
  line-height: 1.3;
  text-transform: uppercase;
}
.blotz-related-posts h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--red);
}
.blotz-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.blotz-related-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
  border-radius: 8px;
  background: #ddd;
}
.blotz-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blotz-related-card h3 {
  margin: 10px 0 0;
  color: var(--red);
  font-size: 1.08rem;
  line-height: 1.14;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.blotz-related-card h3 a {
  text-decoration: none;
}
@media (max-width: 600px) {
  .article {
    padding-top: 40px;
  }
  .article h1 {
    font-size: 2.4rem;
  }
  .article-deck {
    font-size: 1.05rem;
  }
  .article-content {
    font-size: 1.06rem;
  }
  .blotz-related-grid {
    grid-template-columns: 1fr;
  }
  .blotz-related-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 13px;
    align-items: start;
  }
  .blotz-related-card h3 {
    margin: 0;
  }
  .blotz-related-image {
    grid-row: span 1;
  }
}

/* Imagens horizontais nas listagens mobile, sem esticar a foto pela altura do texto. */
@media (max-width: 600px) {
  .article-card {
    display: block;
  }
  .article-card-image {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16/9;
  }
  .article-card-image img {
    height: 100%;
    object-fit: cover;
  }
  .article-card p { display: -webkit-box; }
  .blotz-related-card {
    display: block;
  }
  .blotz-related-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
  }
  .blotz-related-card h3 {
    margin: 12px 0 0;
  }
}
@media (max-width: 767px) {
  .blotz-related-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .blotz-related-posts {
    margin: 24px auto 40px;
  }
  .blotz-related-card {
    display: block;
  }
  .blotz-related-image {
    width: 100%;
    aspect-ratio: 16/9;
  }
  .blotz-related-card h3 {
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.35;
  }
}

/* Barra de navegação mobile: compacta e independente do menu desktop. */
.mobile-masthead {
  display: none;
}

.header-actions { display: flex; align-items: center; gap: 20px; min-width: 0; }
.desktop-search { position: relative; width: 44px; height: 44px; flex: 0 0 44px; z-index: 40; }
.desktop-search-toggle, .mobile-search summary {
  position: relative; display: block; width: 44px; height: 44px;
  padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer;
}
.desktop-search-toggle::before, .mobile-search summary::before {
  position: absolute; top: 11px; left: 10px; width: 16px; height: 16px;
  border: 2px solid currentColor; border-radius: 50%; content: "";
}
.desktop-search-toggle::after, .mobile-search summary::after {
  position: absolute; top: 28px; left: 25px; width: 9px; height: 2px;
  background: currentColor; transform: rotate(45deg); content: "";
}
.desktop-search input, .desktop-search-submit { display: none; }
.desktop-search.is-open input {
  position: absolute; top: 52px; right: 0; display: block;
  width: min(340px, calc(100vw - 40px)); height: 48px;
  padding: 10px 92px 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink); font: inherit;
  box-shadow: 0 8px 24px rgb(0 0 0 / .14);
}
.desktop-search.is-open .desktop-search-submit {
  position: absolute; top: 57px; right: 5px; display: block;
  height: 38px; padding: 0 12px; border: 0; border-radius: 5px;
  background: var(--red); color: #fff; font-weight: 700; cursor: pointer;
}
.desktop-search input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.mobile-search { display: none; }
@media (max-width: 600px) {
  .mobile-masthead {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    min-height: 62px;
    padding: 0 14px;
    background: var(--red);
    color: #fff;
  }
  .mobile-logo {
    justify-self: center;
    color: #fff;
    font-size: 1.28rem;
    font-weight: 850;
    letter-spacing: -0.055em;
    text-decoration: none;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .mobile-space {
    justify-self: end;
    width: 44px;
  }
  .mobile-menu {
    position: relative;
  }
  .mobile-menu summary {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    list-style: none;
    color: #fff;
    cursor: pointer;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .hamburger,
  .hamburger:before,
  .hamburger:after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    content: "";
  }
  .hamburger {
    position: relative;
  }
  .hamburger:before {
    position: absolute;
    top: -7px;
  }
  .hamburger:after {
    position: absolute;
    top: 7px;
  }
  .mobile-menu nav {
    position: absolute;
    z-index: 30;
    top: 53px;
    left: -14px;
    width: min(300px, calc(100vw - 28px));
    padding: 16px 18px;
    border: 1px solid var(--red);
    border-radius: 0 0 10px 10px;
    background: #fffdf7;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
  }
  .mobile-menu nav ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .mobile-menu nav a {
    color: var(--ink);
    font-weight: 750;
    text-decoration: none;
  }
  .header-actions {
    display: none;
  }
  .mobile-search {
    display: block;
    position: relative;
    justify-self: end;
  }
  .mobile-search summary {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    list-style: none;
    color: #fff;
  }
  .mobile-search summary::-webkit-details-marker {
    display: none;
  }
  .mobile-search summary:before {
    position: absolute;
    top: 12px;
    left: 11px;
  }
  .mobile-search summary:after {
    position: absolute;
    top: 27px;
    left: 24px;
  }
  .mobile-search form {
    position: absolute;
    z-index: 30;
    top: 53px;
    right: -14px;
    display: flex;
    width: min(310px, calc(100vw - 28px));
    padding: 11px;
    border: 1px solid var(--red);
    border-radius: 0 0 10px 10px;
    background: #fffdf7;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
  }
  .mobile-search input {
    min-width: 0;
    flex: 1;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font: inherit;
  }
  .mobile-search button {
    margin-left: 7px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    background: var(--red);
    color: #fff;
    font-weight: 700;
  }
  .site-header {
    display: none;
  }
  .topline {
    display: none;
  }
  body {
    border-top: 0;
  }
  .article {
    padding-top: 38px;
  }
}
