﻿/*
Theme Name: Tudo sobre X
Theme URI: https://tudosobreox.online/
Author: Jaqueline Leal
Author URI: https://tudosobreox.online/
Description: Tema editorial minimalista para blog sobre a plataforma X, preparado para AdSense e GEO.
Version: 1.4.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tudo-sobre-x
Tags: blog, custom-menu, featured-images, one-column, translation-ready
*/
:root{
  --bg:#f4f5f9;
  --surface:#eceef5;
  --text:#111318;
  --muted:#5b6472;
  --line:#dde2ec;
  --accent:#5b35d5;
  --accent-dark:#4325aa;
  --accent-soft:rgba(91,53,213,.09);
  --max:1120px;
  --reading:720px;
  --font:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --radius:18px;
  color-scheme:light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(900px 380px at 12% -10%,rgba(91,53,213,.11),transparent 55%),
    radial-gradient(700px 320px at 88% 8%,rgba(67,37,170,.07),transparent 50%),
    linear-gradient(180deg,#fafbff 0%,var(--bg) 32%,#f3f4f8 100%);
  color:var(--text);
  font-family:var(--font);
  font-size:17.5px;
  line-height:1.7;
  font-weight:500;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
body.nav-open{overflow:hidden}
a{color:var(--accent);text-underline-offset:.18em}
a:hover{color:var(--accent-dark)}
img{display:block;max-width:100%;height:auto}
.skip-link{
  position:absolute;left:-9999px;top:auto;
  width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{
  left:1rem;top:1rem;width:auto;height:auto;padding:.65rem .9rem;
  background:var(--text);color:#fff;z-index:1000;border-radius:.35rem;
}
.site-header{
  border-bottom:1px solid rgba(226,230,238,.9);
  background:rgba(255,255,255,.82);
  backdrop-filter:saturate(1.35) blur(14px);
  -webkit-backdrop-filter:saturate(1.35) blur(14px);
  position:sticky;
  top:0;
  z-index:100;
}
.header-inner{
  width:min(100% - 2rem,var(--max));
  margin-inline:auto;
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  position:relative;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:.65rem;
  font-size:1.12rem;
  font-weight:800;
  color:var(--text);
  text-decoration:none;
  letter-spacing:-.03em;
  position:relative;
  z-index:2;
}
.brand-logo{
  width:2rem;
  height:2rem;
  border-radius:.5rem;
  flex-shrink:0;
  box-shadow:0 8px 18px rgba(91,53,213,.28);
}
.brand-text{
  line-height:1.1;
}
.menu-toggle{
  display:none;
  align-items:center;
  gap:.55rem;
  min-height:44px;
  padding:.45rem .7rem;
  border:1px solid var(--line);
  border-radius:.55rem;
  background:#fff;
  color:var(--text);
  font:inherit;
  font-size:.9rem;
  font-weight:700;
  cursor:pointer;
  z-index:2;
}
.menu-toggle:hover{border-color:#c7c0ec}
.menu-toggle-bars{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  width:18px;
}
.menu-toggle-bars span{
  display:block;
  height:2px;
  width:100%;
  background:var(--text);
  border-radius:2px;
  transition:transform .2s ease, opacity .2s ease;
}
.site-header.is-nav-open .menu-toggle-bars span:nth-child(1){
  transform:translateY(6px) rotate(45deg);
}
.site-header.is-nav-open .menu-toggle-bars span:nth-child(2){
  opacity:0;
}
.site-header.is-nav-open .menu-toggle-bars span:nth-child(3){
  transform:translateY(-6px) rotate(-45deg);
}
.site-nav ul,
.site-nav .primary-menu{
  display:flex;
  gap:1.15rem;
  list-style:none;
  padding:0;
  margin:0;
}
.site-nav a{
  color:var(--muted);
  text-decoration:none;
  font-size:.9rem;
  font-weight:650;
  padding:.35rem .15rem;
  transition:color .18s ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav .current-menu-item > a{
  color:var(--accent);
}
main{width:min(100% - 2rem,var(--max));margin-inline:auto}
.hero{
  padding:3.25rem 0 2.75rem;
  max-width:920px;
  margin-inline:auto;
}
.hero-panel{
  text-align:center;
  padding:clamp(2.2rem,4.5vw,3.4rem) clamp(1.2rem,3vw,2.5rem);
  border:1px solid rgba(226,230,238,.95);
  border-radius:calc(var(--radius) + 6px);
  background:
    linear-gradient(165deg,rgba(255,255,255,.96) 0%,rgba(247,245,255,.92) 100%);
  box-shadow:0 24px 60px rgba(22,24,28,.05);
}
.hero h1{
  animation:tsx-rise .55s ease both;
}
.hero .lead{
  animation:tsx-rise .55s ease .08s both;
}
@keyframes tsx-rise{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:none}
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  margin:0 0 .85rem;
  padding:.35rem .7rem;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
h1,h2,h3{line-height:1.18;letter-spacing:-.035em;font-weight:800}
h1{font-size:clamp(2.1rem,5.4vw,3.55rem);margin:.15rem 0 1rem}
h2{font-size:clamp(1.4rem,2.8vw,1.9rem);margin:2.5rem 0 .8rem}
h3{font-size:1.18rem;margin:1.8rem 0 .5rem}
.lead{font-size:clamp(1.05rem,1.8vw,1.2rem);color:var(--muted);max-width:640px;margin-inline:auto;line-height:1.6;font-weight:500}
.section-heading{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:1rem;
  margin:0 0 1.5rem;
  padding-bottom:.9rem;
  border-bottom:1px solid var(--line);
}
.section-heading h2{
  margin:0;
  font-size:clamp(1.3rem,2.4vw,1.55rem);
}
.posts-section{padding-bottom:.5rem}
.posts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem;padding-bottom:3.5rem}
.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1.25rem;
  background:#fff;
  display:flex;
  flex-direction:column;
  min-height:100%;
  overflow:hidden;
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover{
  border-color:#d2c8f4;
  box-shadow:0 18px 40px rgba(22,24,28,.08);
  transform:translateY(-3px);
}
.card-media{
  display:grid;
  place-items:center;
  margin:-1.25rem -1.25rem 1.1rem;
  overflow:hidden;
  border-radius:calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  background:var(--surface);
  aspect-ratio:16/9;
}
.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.card:hover .card-media img{transform:scale(1.04)}
.card-media--empty{
  background:
    radial-gradient(circle at 30% 25%,rgba(255,255,255,.55),transparent 45%),
    linear-gradient(145deg,#6d45e8 0%,var(--accent) 48%,#2f1a7a 100%);
}
.card-media-mark{
  font-size:2.6rem;
  font-weight:800;
  color:rgba(255,255,255,.92);
  letter-spacing:-.04em;
  text-shadow:0 10px 24px rgba(22,24,28,.25);
}
.card-meta,.post-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.45rem .65rem;
  font-size:.8rem;
  color:var(--muted);
  letter-spacing:.01em;
  font-weight:600;
}
.card-cat{
  display:inline-flex;
  padding:.2rem .55rem;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:.72rem;
  font-weight:750;
}
.card h2{font-size:1.18rem;margin:.55rem 0;line-height:1.32}
.card h2 a{color:var(--text);text-decoration:none}
.card h2 a:hover{color:var(--accent)}
.card p{color:var(--muted);margin:.2rem 0 1rem;font-size:.95rem}
.card-link{
  margin-top:auto;
  font-weight:750;
  font-size:.92rem;
  text-decoration:none;
  color:var(--accent);
}
.card-link:hover{color:var(--accent-dark)}
.reading-layout{max-width:none;margin:0;padding:0}
.post-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  gap:2.75rem;
  align-items:start;
  padding:3.25rem 0 4rem;
}
.post-shell .reading-layout{min-width:0}
.post-shell .article-header{max-width:var(--reading);margin-inline:auto}
.post-shell .featured-image,
.post-shell .article-body{
  max-width:var(--reading);
  margin-inline:auto;
}
.post-sidebar{
  position:sticky;
  top:6rem;
  display:grid;
  gap:1rem;
}
.sidebar-block{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  padding:1.1rem 1.15rem 1.15rem;
  box-shadow:0 10px 28px rgba(22,24,28,.04);
}
.sidebar-title{
  margin:0 0 .85rem;
  font-size:.92rem;
  letter-spacing:-.02em;
}
.sidebar-list,
.sidebar-posts{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:.35rem;
}
.sidebar-list a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  min-height:40px;
  padding:.45rem .55rem;
  border-radius:.55rem;
  color:var(--text);
  text-decoration:none;
  font-size:.9rem;
  font-weight:650;
}
.sidebar-list a:hover{
  background:var(--accent-soft);
  color:var(--accent);
}
.sidebar-count{
  color:var(--muted);
  font-size:.78rem;
  font-weight:700;
}
.sidebar-posts{gap:.55rem}
.sidebar-posts a{
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  gap:.7rem;
  align-items:center;
  text-decoration:none;
  color:var(--text);
  padding:.25rem;
  border-radius:.65rem;
}
.sidebar-posts a:hover{background:var(--accent-soft)}
.sidebar-thumb{
  display:block;
  width:52px;
  height:52px;
  border-radius:.55rem;
  overflow:hidden;
  background:var(--surface);
}
.sidebar-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.sidebar-thumb--empty{
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#6d45e8 0%,var(--accent) 48%,#2f1a7a 100%);
  color:#fff;
  font-size:.95rem;
  font-weight:800;
}
.sidebar-post-copy{
  display:grid;
  gap:.2rem;
  min-width:0;
}
.sidebar-post-title{
  font-size:.88rem;
  font-weight:720;
  line-height:1.35;
}
.sidebar-posts time{
  font-size:.74rem;
  color:var(--muted);
  font-weight:600;
}
@media (max-width:960px){
  .post-shell{
    grid-template-columns:1fr;
    gap:1.75rem;
    padding-top:2.5rem;
  }
  .post-sidebar{position:static}
}
.article-header{margin-bottom:2rem;text-align:center}
.article-header .eyebrow{margin-bottom:1rem}
.article-header h1{font-size:clamp(2rem,5.2vw,3.2rem);margin-bottom:.9rem}
.article-header .post-meta{
  justify-content:center;
  margin-inline:auto;
  color:var(--muted);
}
.zero-paragraph{
  margin:0 0 1.5rem;
  padding:1.15rem 1.25rem;
  background:var(--accent-soft);
  font-size:1.08rem;
  font-weight:650;
  line-height:1.55;
  border-radius:14px;
  max-width:68ch;
}
.zero-paragraph strong{
  color:var(--accent);
  font-weight:800;
}
.featured-image{margin:0 0 2.2rem}
.featured-image img{
  width:100%;
  border-radius:var(--radius);
  aspect-ratio:16/9;
  object-fit:cover;
  box-shadow:0 18px 40px rgba(22,24,28,.08);
}
.article-body{font-size:1.06rem}
.article-body > *:first-child{margin-top:0}
.article-body p,.article-body li{max-width:68ch}
.article-body p{margin:0 0 1.2rem}
.article-body h2{
  margin-top:2.4rem;
  padding-top:0;
}
.article-body ul,
.article-body ol{
  padding-left:1.15rem;
  margin:0 0 1.35rem;
}
.article-body li{margin:.4rem 0}
.article-body li::marker{color:var(--accent)}
.article-body blockquote{
  margin:2rem 0;
  padding:1rem 1.15rem;
  border:0;
  border-radius:14px;
  background:var(--surface);
  color:var(--muted);
  font-size:1.06rem;
}
.ad-slot{
  min-height:120px;margin:2rem 0;padding:1rem;
  border:1px dashed #b8bec7;background:#fafbfc;color:var(--muted);
  display:grid;place-items:center;text-align:center;font-size:.82rem;
}
.ebook-banner{
  margin:2.4rem 0;padding:1.5rem;border-radius:14px;
  background:var(--text);color:#fff;
}
.ebook-banner h2{margin-top:0;color:#fff}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.35rem;
  min-height:44px;
  padding:.75rem 1.15rem;
  border:0;
  border-radius:.55rem;
  background:var(--accent);
  color:#fff;
  text-decoration:none;
  font:inherit;
  font-size:1rem;
  font-weight:750;
  line-height:1.2;
  letter-spacing:0;
  vertical-align:middle;
  cursor:pointer;
  box-sizing:border-box;
}
.button:hover{background:var(--accent-dark);color:#fff}
a.button,
a.button:visited{color:#fff;text-decoration:none}
button.button,
[data-open-privacy-settings].button{
  appearance:none;
  -webkit-appearance:none;
  width:auto;
  max-width:100%;
  height:auto;
}
.page-content{max-width:900px;margin:0 auto;padding:3rem 0 4rem}
.page-content>header{text-align:center;margin-bottom:2rem}
.page-content>header h1{margin-bottom:.75rem}
.page-content .lead{margin-inline:auto}
.page-content .privacy-actions{margin:1.25rem 0 0;text-align:left}
.page-content .privacy-actions .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  line-height:1.2;
  padding:.75rem 1.15rem;
}
.notice{
  background:var(--surface);border:1px solid var(--line);
  border-radius:12px;padding:1rem 1.1rem;
}
form{display:grid;gap:1rem;margin-top:1.5rem}
label{font-weight:700}
input,textarea{
  width:100%;font:inherit;padding:.75rem .85rem;border:1px solid #b9c0c8;
  border-radius:.5rem;background:#fff;color:var(--text);
}
textarea{min-height:170px;resize:vertical}
input:focus,textarea:focus{outline:3px solid rgba(91,53,213,.18);border-color:var(--accent)}
button{
  width:max-content;border:0;border-radius:.55rem;padding:.78rem 1rem;
  background:var(--accent);color:#fff;font:inherit;font-weight:750;cursor:pointer;
}
button:hover{background:var(--accent-dark)}
.site-footer{
  border-top:1px solid var(--line);
  margin-top:3.5rem;
  background:linear-gradient(180deg,rgba(255,255,255,.35),rgba(255,255,255,.75));
}
.footer-inner{
  width:min(100% - 2rem,var(--max));margin-inline:auto;padding:2.25rem 0;
  display:flex;justify-content:space-between;align-items:center;gap:1rem;
  color:var(--muted);font-size:.88rem;
}
.footer-nav{display:flex;gap:1rem;flex-wrap:wrap;align-items:center}
.footer-nav a{color:var(--muted)}
.footer-nav .footer-menu{display:flex;gap:1rem;flex-wrap:wrap;list-style:none;padding:0;margin:0}
.footer-nav .footer-menu a{color:var(--muted);text-decoration:none}
.footer-nav .footer-menu a:hover{color:var(--accent)}
.comment-respond{margin-top:2rem}
.comment-list .comment{border:1px solid var(--line);border-radius:12px;padding:1rem 1.1rem;background:#fff}
.comment-meta{font-size:.86rem;color:var(--muted)}
.bypostauthor > .comment-body{border-left:3px solid var(--accent)}
@media (max-width:820px){
  .posts-grid{grid-template-columns:1fr 1fr}
  .menu-toggle{display:inline-flex}
  .site-nav{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:100%;
    background:rgba(255,255,255,.98);
    border-bottom:1px solid var(--line);
    box-shadow:0 16px 32px rgba(22,24,28,.08);
    padding:.75rem 0 1rem;
  }
  .site-header.is-nav-open .site-nav{display:block}
  .site-nav ul,
  .site-nav .primary-menu{
    flex-direction:column;
    gap:0;
    width:min(100% - 2rem,var(--max));
    margin-inline:auto;
  }
  .site-nav li{border-top:1px solid var(--line)}
  .site-nav li:first-child{border-top:0}
  .site-nav a{
    display:flex;
    align-items:center;
    min-height:48px;
    padding:.85rem 0;
    font-size:1.05rem;
  }
}
@media (max-width:620px){
  body{font-size:17px}
  .header-inner{
    min-height:64px;
    padding:.65rem 0;
    align-items:center;
    flex-direction:row;
  }
  .brand{text-align:left;font-size:1.05rem}
  .menu-toggle-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .hero{padding-top:3rem}
  .posts-grid{grid-template-columns:1fr}
  .footer-inner{align-items:flex-start;flex-direction:column}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hero h1,
  .hero .lead{animation:none}
  .card,
  .card-media img,
  .site-nav a{transition:none}
  .card:hover{transform:none}
}

.archive-header{
  max-width:850px;
  margin-inline:auto;
  padding:4rem 0 2.5rem;
  text-align:center;
}
.archive-header h1{margin-bottom:.8rem}
.results-count{color:var(--muted);margin:0}
.search-box{
  max-width:680px;
  margin:0 auto 3rem;
}
.search-form{
  display:flex;
  gap:.65rem;
  margin:0;
}
.search-form label{
  flex:1;
  font-weight:400;
}
.search-form input{
  height:52px;
}
.search-form button{
  min-height:52px;
  white-space:nowrap;
}
.pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:.45rem;
  padding:0 0 4rem;
}
.pagination a,.pagination span{
  display:grid;
  place-items:center;
  min-width:42px;
  min-height:42px;
  padding:.35rem .7rem;
  border:1px solid var(--line);
  border-radius:.45rem;
  text-decoration:none;
  color:var(--text);
}
.pagination .current{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}
.no-results{
  max-width:720px;
  margin:0 auto 4rem;
  padding:2rem;
  text-align:center;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface);
}
@media(max-width:620px){
  .search-form{flex-direction:column}
  .search-form button{width:100%}
}

/* Revisao mobile */
html,body{max-width:100%;overflow-x:hidden}
a,p,h1,h2,h3,li,label{overflow-wrap:anywhere}
input,textarea,button{max-width:100%}

@media (max-width:620px){
  main,
  .header-inner,
  .footer-inner{
    width:min(100% - 1.25rem,var(--max));
  }

  body{
    font-size:16px;
    line-height:1.65;
  }

  .header-inner{
    min-height:64px;
    align-items:center;
    padding:.65rem 0;
    gap:.65rem;
  }

  .brand{
    display:inline-flex;
    text-align:left;
    font-size:1.02rem;
  }

  .brand-logo{
    width:1.7rem;
    height:1.7rem;
  }

  .hero{
    padding:2rem 0 1.75rem;
  }

  .hero-panel{
    padding:1.75rem 1.1rem;
    border-radius:16px;
  }

  .article-header .post-meta{
    border-radius:14px;
    max-width:100%;
  }

  .site-nav ul,
  .site-nav .primary-menu{
    width:min(100% - 1.25rem,var(--max));
  }

  h1{
    font-size:clamp(2rem,10vw,2.65rem);
    line-height:1.1;
  }

  h2{
    font-size:1.45rem;
  }

  h3{
    font-size:1.15rem;
  }

  .hero{
    padding:2.5rem 0 2rem;
  }

  .hero .lead,
  .archive-header .lead{
    font-size:1.05rem;
  }

  .eyebrow{
    font-size:.72rem;
    line-height:1.45;
  }

  .posts-grid{
    gap:1rem;
    padding-bottom:2.5rem;
  }

  .card{
    padding:1rem;
    border-radius:14px;
  }

  .card-media{
    margin:-1rem -1rem .9rem;
    border-radius:13px 13px 0 0;
  }

  .card-media-mark{
    font-size:2.1rem;
  }

  .card h2{
    font-size:1.22rem;
  }

  .reading-layout,
  .page-content{
    padding:0;
  }

  .post-shell{
    padding:2rem 0 2.5rem;
  }

  .article-header{
    margin-bottom:1.4rem;
  }

  .article-header h1{
    font-size:clamp(2rem,10vw,2.65rem);
  }

  .post-meta,
  .card-meta{
    font-size:.79rem;
  }

  .featured-image{
    margin:0 0 1.6rem;
  }

  .featured-image img{
    border-radius:10px;
  }

  .zero-paragraph{
    padding:1rem;
    font-size:1.02rem;
  }

  .article-body ul,
  .article-body ol{
    padding-left:1.2rem;
  }

  .article-body blockquote{
    margin:1.5rem 0;
    padding-left:1rem;
  }

  .ad-slot{
    min-height:100px;
    margin:1.5rem 0;
    padding:.85rem;
  }

  .ebook-banner{
    margin:1.8rem 0;
    padding:1.15rem;
    border-radius:12px;
  }

  .ebook-banner .button{
    display:block;
    width:100%;
    text-align:center;
  }

  .notice{
    padding:.9rem;
  }

  form{
    gap:.85rem;
  }

  input,
  textarea{
    font-size:16px;
  }

  form > button,
  .search-form button{
    width:100%;
  }

  .footer-inner{
    padding:1.5rem 0;
    text-align:center;
    align-items:center;
  }

  .footer-inner p{
    margin:0;
  }

  .footer-nav{
    justify-content:center;
  }

  .archive-header{
    padding:2.5rem 0 1.8rem;
  }

  .search-box{
    margin-bottom:2rem;
  }

  .search-form{
    flex-direction:column;
    gap:.65rem;
  }

  .search-form label{
    width:100%;
  }

  .pagination{
    flex-wrap:wrap;
    padding-bottom:2.5rem;
  }

  .pagination a,
  .pagination span{
    min-width:44px;
    min-height:44px;
  }

  .no-results{
    margin-bottom:2.5rem;
    padding:1.25rem;
  }
}

@media (max-width:380px){
  main,
  .header-inner,
  .footer-inner{
    width:min(100% - 1rem,var(--max));
  }

  h1,
  .article-header h1{
    font-size:1.9rem;
  }

  .site-nav a{
    padding:.5rem;
    font-size:.84rem;
  }

  .hero,
  .archive-header{
    padding-top:2rem;
  }

  .card h2{
    font-size:1.16rem;
  }

  .footer-nav{
    flex-direction:column;
    gap:.45rem;
  }
}


.related-posts{
  margin-top:3rem;
  padding-top:2rem;
  border-top:1px solid var(--line);
}
.related-posts > h2{
  text-align:center;
  margin-top:0;
}
.related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}
.related-card{
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}
.related-card a{
  color:var(--text);
  text-decoration:none;
}
.related-card img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.related-card-content{
  padding:1rem;
}
.related-card h3{
  margin:.25rem 0 .45rem;
  font-size:1.05rem;
}
.related-card p{
  margin:0;
  color:var(--muted);
  font-size:.86rem;
}
.cookie-table{
  width:100%;
  border-collapse:collapse;
  margin:1.5rem 0;
  font-size:.92rem;
}
.cookie-table th,
.cookie-table td{
  padding:.75rem;
  border:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}
.cookie-table th{
  background:var(--surface);
}
.privacy-link-button{
  border:0;
  background:none;
  color:var(--muted);
  padding:0;
  min-height:auto;
  font:inherit;
  text-decoration:underline;
  text-underline-offset:.18em;
  cursor:pointer;
}
.privacy-link-button:hover{
  background:none;
  color:var(--accent);
}
@media(max-width:720px){
  .related-grid{grid-template-columns:1fr}
  .related-card{
    display:grid;
    grid-template-columns:120px 1fr;
  }
  .related-card img{
    height:100%;
    min-height:120px;
  }
}
@media(max-width:420px){
  .related-card{
    grid-template-columns:100px 1fr;
  }
  .cookie-table,
  .cookie-table tbody,
  .cookie-table tr,
  .cookie-table td{
    display:block;
    width:100%;
  }
  .cookie-table thead{display:none}
  .cookie-table tr{
    margin-bottom:1rem;
    border:1px solid var(--line);
  }
  .cookie-table td{
    border:0;
    border-bottom:1px solid var(--line);
  }
  .cookie-table td:last-child{border-bottom:0}
  .cookie-table td::before{
    content:attr(data-label);
    display:block;
    font-weight:750;
    margin-bottom:.2rem;
  }
}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}
.screen-reader-text:focus{background:var(--text);clip:auto;clip-path:none;color:#fff;display:block;font-size:.875rem;height:auto;left:1rem;line-height:normal;padding:.65rem .9rem;position:absolute;top:1rem;width:auto;z-index:100000;border-radius:.35rem}
.nav-links{display:flex;justify-content:center;align-items:center;gap:.45rem;padding:0 0 4rem;flex-wrap:wrap}
.nav-links a,.nav-links span,.page-numbers{display:grid;place-items:center;min-width:42px;min-height:42px;padding:.35rem .7rem;border:1px solid var(--line);border-radius:.45rem;text-decoration:none;color:var(--text)}
.nav-links .current,.page-numbers.current{background:var(--accent);border-color:var(--accent);color:#fff}
.alignleft{float:left;margin:0 1.25rem 1rem 0}
.alignright{float:right;margin:0 0 1rem 1.25rem}
.aligncenter{display:block;margin-inline:auto}
.wp-caption{max-width:100%}
.wp-caption-text{font-size:.86rem;color:var(--muted);margin-top:.4rem}
.gallery{display:grid;gap:1rem}
