/* =========================================
   Design Tokens — Papo Whovian
   Extraídos do Figma: SIte Extraído
   ========================================= */
:root {
  /* Colors */
  --color-dark: #39394e;
  /* Bright Gray  — header/footer bg */
  --color-dark-2: #434458;
  /* Gun Powder   — social icon bg */
  --color-border: #9595aa;
  /* Santas Gray  — footer border-top */
  --color-separator: #4b4c4d;
  /* Abbey        — footer bottom border */
  --color-muted: #999999;
  /* muted text */
  --color-white: #ffffff;
  --color-bg: #f0f0ed;
  /* page background */
  --color-link: #a0522d;
  /* links no conteúdo */

  /* Typography */
  --font-main: 'Open Sans', sans-serif;
  --size-nav: 14px;
  --size-footer-nav: 15px;
  --size-copyright: 12px;
  --tracking-nav: 2px;

  /* Layout */
  --content-max: 1200px;
  --side-pad: 40px;
}

/* =========================================
   Reset / Base
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: #333;
  line-height: 1.6;
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* =========================================
   Header
   ========================================= */
.site-header {
  width: 100%;
}

.site-header.is-home {
  background: url('../images/sky-828648_1920.jpg') center / cover no-repeat;
  background-attachment: fixed;
}

.site-header.not-home {
  background: var(--color-blue);
}

.header-inner {
  display: flex;
  align-items: center;
  /* items-center do Figma */
  padding: 0 40px 26px;
  /* px-40px pb-26px do Figma */
}

/* Logo */
.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  width: 229px;
  /* w-229px do Figma */
  height: 96px;
  /* h-96px do Figma */
}

/* Nav desktop — space-between replica o gap de 802px do Figma de forma responsiva */
.header-inner {
  justify-content: space-between;
}

.main-nav {
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: flex-start;
  /* items-start do Figma */
  gap: 25px;
  /* gap-25px do Figma */
}

/* Cada item: flex-col, h-106px, pt-3px — exatamente como no Figma */
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 106px;
  padding-top: 3px;
  border-top: 3px solid transparent;
  transition: border-color 0.2s;
}

.nav-item.is-active,
.nav-item:hover {
  border-top-color: var(--color-white);
}

/* leading-[103px] do Figma: line-height = 106px - 3px padding = 103px (centraliza verticalmente) */
.nav-link {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 2px;
  line-height: 103px;
  white-space: nowrap;
}

/* Mobile toggle (hamburger) */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 0;
  margin-left: auto;
  margin-top: 20px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--color-dark);
  border-top: 1px solid var(--color-separator);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-menu {
  padding: 10px var(--side-pad) 20px;
  display: flex;
  flex-direction: column;
}

.mobile-menu li a {
  display: block;
  color: var(--color-white);
  font-size: 15px;
  letter-spacing: 1px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-separator);
}

.mobile-menu li:last-child a {
  border-bottom: none;
}

/* =========================================
   Site banner — node 1:33 (home) / 1:331 (páginas internas)
   ========================================= */
.site-banner {
  background: transparent;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px var(--side-pad);
  text-align: center;
}

/* Home hero */
.hero-title {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 400;
  line-height: 72px;
  color: var(--color-white);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 31px;
  color: var(--color-white);
  margin-top: 14px;
  max-width: 1170px;
}

/* Páginas internas */
.page-banner-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 40px;
  color: var(--color-white);
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 28px;
  color: #eaeaea;
}

.breadcrumb-link {
  color: #eaeaea;
  text-decoration: none;
}

.breadcrumb-link:hover {
  text-decoration: underline;
}

.breadcrumb-sep,
.breadcrumb-current {
  color: #eaeaea;
}

/* =========================================
   Pre-footer (Image+Background — node 1:228)
   Overlay #6666a4 + imagem em parallax (233.67% h, top -66.84%)
   ========================================= */


.pre-footer-image {
  background-image: url('../images/pre-footer-bg.jpg');
  background-size: cover;
  background-position: center 33%;
  width: 100%;
  height: 450px;
  background-attachment: fixed;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background: var(--color-dark);
}

/* -- Faixa superior -- */
.footer-top {
  border-top: 12px solid var(--color-border);
  padding: 75px 0 99px;
}

.footer-top-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  display: flex;
  align-items: flex-start;
  gap: 70px;
  /* 299px inicio do nav - 229px logo = ~70px */
}

.footer-logo {
  flex-shrink: 0;
}

.footer-logo img {
  width: 229px;
  height: 96px;
}

/* footer-nav: parágrafo inline, font 15px, line-height 30px (Figma) */
.footer-nav {
  padding-top: 37px;
  /* pt-37px do Figma */
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 400;
  line-height: 30px;
  white-space: nowrap;
}

.footer-nav a {
  color: var(--color-white);
  text-decoration: none;
}

.footer-nav a:hover {
  opacity: 0.75;
}

/* Separador | em #999 (inline no texto, como no Figma) */
.footer-sep {
  color: var(--color-muted);
}

/* -- Faixa inferior -- */
.footer-bottom {
  border-top: 1px solid var(--color-separator);
  padding: 39px 0 36px;
}

.footer-bottom-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-copyright {
  font-family: var(--font-main);
  font-size: var(--size-copyright);
  font-weight: 400;
  color: var(--color-muted);
  line-height: 24px;
}

.footer-copyright a {
  color: var(--color-white);
  text-decoration: none;
}

.footer-copyright a:hover {
  text-decoration: underline;
}

/* Ícones sociais */
.social-icons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-dark-2);
  border: 1px solid var(--color-dark-2);
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
}

.social-btn:hover {
  background: var(--color-border);
  border-color: var(--color-border);
  text-decoration: none;
}

.social-btn img {
  width: 18px;
  height: 18px;
}

/* =========================================
   Tokens adicionais
   ========================================= */
:root {
  --font-display: 'Nixie One', cursive;
  --color-text: #333333;
  --color-text-muted: #747474;
  --color-border-soft: #e0dede;
  --color-blue: #6666a4;
  --color-blue-shadow: #525287;
  --color-blue-light: #c5c5d7;
  --color-input-border: #d2d2d2;
  --color-input-ph: #aaa9a9;
}

/* =========================================
   Layout — main / section.page
   ========================================= */
main#main {
  background: var(--color-bg);
}

section.page {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px var(--side-pad);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

/* Article full (sem sidebar) */
.content-full {
  width: 100%;
  min-width: 0;
}

/* Article + sidebar */
.content-article {
  flex: 1 1 0;
  min-width: 0;
}

.sidebar {
  width: 300px;
  flex-shrink: 0;
}

/* ── Sidebar widgets ── */
.sidebar-widget {
  margin-bottom: 32px;
}

.sidebar-widget:last-child {
  margin-bottom: 0;
}

.widget-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-dark);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.sidebar-widget ul li {
  border-bottom: 1px solid #e5e5e5;
  padding: 8px 0;
  font-size: 14px;
}

.sidebar-widget ul li a {
  color: #555;
}

.sidebar-widget ul li a:hover {
  color: var(--color-link);
  text-decoration: none;
}

.widget-count {
  color: var(--color-muted);
  font-size: 12px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-cloud .tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 12px;
  border-radius: 2px;
  letter-spacing: 1px;
}

.tag-cloud .tag:hover {
  background: var(--color-link);
  text-decoration: none;
}

/* ── Entry (post/page content) ── */
.entry-header {
  margin-bottom: 24px;
}

.entry-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

.entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.entry-content p {
  margin-bottom: 16px;
}

.entry-content h2,
.entry-content h3 {
  margin: 24px 0 12px;
  color: var(--color-dark);
}

.entry-content img {
  margin: 16px 0;
  border-radius: 2px;
}

/* =========================================
   Card Post (feed — node 1:60)
   ========================================= */
.card-post {
  padding: 0 15px 71px;
}

.card-post-img {
  display: block;
  width: 100%;
  aspect-ratio: 764 / 481;
  overflow: hidden;
}

.card-post-img img,
.card-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-post-body,
.card-blog-body {
  display: flex;
  flex-direction: column;
  gap: 2.5px;
  margin-top: 15px;
}

.card-post-title,
.card-blog-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 19.98px;
  color: var(--color-text);
}

.card-post-title a,
.card-blog-title a {
  color: inherit;
  text-decoration: none;
}

.card-post-title a:hover,
.card-blog-title a:hover {
  text-decoration: underline;
}

.card-post-meta,
.card-blog-meta {
  display: flex;
  gap: 5px;
  font-family: var(--font-main);
  font-size: 12px;
  line-height: 18px;
  overflow: hidden;
  white-space: nowrap;
}

.meta-date,
.meta-sep {
  color: var(--color-text-muted);
}

.meta-comments {
  color: var(--color-text);
}

.meta-author,
.meta-cat {
  color: var(--color-text);
  text-decoration: none;
}

.meta-author:hover,
.meta-cat:hover {
  text-decoration: underline;
}

.card-post-excerpt,
.card-blog-excerpt {
  margin-top: 10.5px;
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 30px;
  color: var(--color-text-muted);
}

/* ── Post border divider (node 1:87) ── */
.post-border {
  width: 100%;
  border: none;
  border-top: 1px solid var(--color-white);
  border-bottom: 1px solid var(--color-white);
  margin: 0;
  height: 8px;
}

/* =========================================
   Card Blog (sidebar compact — node 1:204 / 1:179)
   ========================================= */
.card-blog {
  padding: 0 15px 20px;
}

.post-border+.card-blog {
  padding-top: 15px;
}

.card-blog-img {
  display: block;
  width: 100%;
  aspect-ratio: 358 / 226;
  overflow: hidden;
}

/* =========================================
   Carousel (node 1:88) + Slide item (node 1:113)
   ========================================= */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-slide {
  display: none;
}

.carousel-slide.is-active {
  display: block;
}

/* slide item */
.slide-item {
  position: relative;
  overflow: hidden;
}

.slide-item-link {
  display: block;
}

.slide-item-link img {
  width: 100%;
  aspect-ratio: 764 / 429;
  object-fit: cover;
  display: block;
}

.slide-item-img-placeholder {
  width: 100%;
  aspect-ratio: 764 / 429;
  background: #222;
}

.slide-item-overlay {
  position: absolute;
  top: 0;
  right: 60%;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
  overflow: hidden;
}

.slide-item-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-white);
  padding: 10px 15px;
}

.slide-item-excerpt {
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 30px;
  color: var(--color-white);
  padding: 0 15px;
}

/* dots */
.carousel-dots {
  position: absolute;
  bottom: 19px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  pointer-events: none;
}

.carousel-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  padding: 0;
  pointer-events: all;
  transition: background 0.2s;
}

.carousel-dot.is-active {
  background: rgba(0, 0, 0, 0.9);
}

/* arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.carousel:hover .carousel-arrow {
  opacity: 1;
}

.carousel-arrow--prev {
  left: 10px;
}

.carousel-arrow--next {
  right: 10px;
}

/* =========================================
   Contact form (node 1:1630)
   ========================================= */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 764px;
}

.contact-label {
  display: block;
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 30px;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.contact-input {
  display: block;
  width: 100%;
  height: 55px;
  background: var(--color-white);
  border: 1px solid var(--color-input-border);
  padding: 0 14px;
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}

.contact-input:focus { border-color: var(--color-blue); }

.contact-textarea {
  height: 150px;
  padding: 12px 14px;
  resize: vertical;
}

.contact-submit {
  align-self: flex-start;
  background: var(--color-blue);
  color: var(--color-white);
  border: none;
  border-radius: 2px;
  padding: 17px 40px;
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0px 5px 0px 0px var(--color-blue-shadow), 1px 7px 7px 3px rgba(0,0,0,0.3), inset 0px 1px 0px 0px white;
  transition: background 0.2s;
}

.contact-submit:hover { background: var(--color-blue-shadow); }

/* =========================================
   Author card (node 1:1226)
   ========================================= */
.author-card { margin-bottom: 40px; }

.author-card-top {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 6px;
}

.author-avatar {
  width: 82px;
  height: 82px;
  object-fit: cover;
  flex-shrink: 0;
}

.author-avatar--empty {
  background: #ddd;
}

.author-heading {
  font-family: var(--font-display);
  font-size: 17.6px;
  font-weight: 400;
  line-height: 35.1px;
  color: var(--color-text);
}

.author-bio {
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 30px;
  color: var(--color-text-muted);
}

.author-social-bar {
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
  padding: 6px 0;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
}

.author-social-links { display: flex; gap: 10px; }

.author-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #b7b7c3;
  border: 1px solid #b7b7c3;
  border-radius: 2px;
  padding: 9px;
  transition: background 0.2s;
}

.author-social-btn:hover { background: var(--color-dark); border-color: var(--color-dark); }

.author-social-btn svg { width: 16px; height: 16px; fill: var(--color-white); }

/* =========================================
   Category grid
   ========================================= */
.cat-grid-heading {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 30px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cat-grid .card-blog {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 900px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Single Post (node 1:742)
   ========================================= */
.post-nav-bar {
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 15px;
  margin-bottom: 60px;
}

.post-nav-link {
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 34px;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-nav-link:hover {
  text-decoration: underline;
}

.post-nav-arrow {
  color: var(--color-text-muted);
}

.post-thumbnail {
  width: 100%;
  aspect-ratio: 797 / 448;
  overflow: hidden;
  margin-bottom: 60px;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-content {
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 30px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content em,
.post-content i {
  font-style: italic;
}

.post-content strong {
  font-weight: 700;
  color: var(--color-text);
}

.post-content h2,
.post-content h3 {
  font-family: var(--font-display);
  color: var(--color-text);
  margin: 24px 0 12px;
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 16px 0;
}

.post-content a {
  color: var(--color-link);
}

.post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
  padding: 6px 0;
  font-family: var(--font-main);
  font-size: 12px;
  line-height: 24px;
  color: var(--color-text-muted);
  margin-bottom: 60px;
}

.post-meta-bar strong {
  color: var(--color-text);
}

.post-share {
  background: var(--color-bg);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 60px;
}

.post-share-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  white-space: nowrap;
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #b7b7c3;
  border: 1px solid #b7b7c3;
  border-radius: 2px;
  transition: background 0.2s;
}

.share-btn:hover {
  background: var(--color-border);
  text-decoration: none;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 31px;
  overflow: hidden;
}

.section-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
}

.section-divider {
  flex: 1;
  border-bottom: 1px solid var(--color-border-soft);
  height: 1px;
}

.related-posts {
  margin-bottom: 60px;
}

.related-posts-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.related-post-item {
  display: flex;
  flex-direction: column;
  gap: 2.5px;
}

.related-post-img {
  display: block;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.related-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-post-img--empty {
  width: 100%;
  height: 150px;
  background: #f6f6f6;
}

.related-post-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 19.98px;
  color: var(--color-text);
  padding-top: 12.5px;
}

.related-post-meta {
  display: flex;
  gap: 5px;
  font-family: var(--font-main);
  font-size: 12px;
  line-height: 18px;
}

.comment-form-section {
  margin-bottom: 40px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-textarea {
  width: 100%;
  height: 150px;
  border: 1px solid var(--color-input-border);
  background: var(--color-white);
  padding: 9px 12px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: var(--color-text);
  resize: vertical;
  overflow: auto;
}

.comment-textarea::placeholder,
.comment-input::placeholder {
  color: var(--color-input-ph);
}

.comment-fields {
  display: flex;
  gap: 8px;
}

.comment-input {
  flex: 1 1 0;
  min-width: 0;
  height: 55px;
  border: 1px solid var(--color-input-border);
  background: var(--color-white);
  padding: 20px 16px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: var(--color-text);
}

.comment-save-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 30px;
  color: var(--color-text-muted);
  cursor: pointer;
}

.comment-save-label input[type="checkbox"] {
  margin-top: 8px;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  cursor: pointer;
}

.comment-submit {
  display: inline-block;
  align-self: flex-start;
  margin-top: 10px;
  padding: 17px 40px;
  background: var(--color-blue);
  color: var(--color-white);
  font-family: 'PT Sans', var(--font-main);
  font-size: 18px;
  line-height: 21px;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 0px 5px 0px 0px var(--color-blue-shadow), 1px 7px 7px 3px rgba(0, 0, 0, 0.3), inset 0px 1px 0px 0px white;
  transition: opacity 0.2s;
}

.comment-submit:hover {
  opacity: 0.9;
}

/* =========================================
   Sidebar (node 1:932)
   ========================================= */
.sidebar-search {
  display: flex;
  align-items: stretch;
  margin-bottom: 44px;
}

.sidebar-search-input {
  flex: 1 1 0;
  height: 55px;
  border: 1px solid var(--color-input-border);
  border-right: none;
  background: var(--color-white);
  padding: 20px 16px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: var(--color-text);
}

.sidebar-search-input::placeholder {
  color: var(--color-input-ph);
}

.sidebar-search-btn {
  width: 55px;
  height: 55px;
  background: #000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.sidebar-section {
  margin-bottom: 44px;
}

.sidebar-heading {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  line-height: 14.43px;
  color: var(--color-text);
}

.sidebar-tabs {
  border: 1px solid var(--color-blue-light);
  margin-bottom: 44px;
  padding-top: 32px;
}

.tabs-nav {
  display: flex;
}

.tab-btn {
  flex: 1;
  background: var(--color-bg);
  border: none;
  border-top: 3px solid transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 38px;
  color: var(--color-text);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.tab-btn:last-child {
  border-right: none;
}

.tab-btn.is-active {
  background: rgba(255, 255, 255, 0.4);
  border-top-color: var(--color-blue);
}

.tab-btn--icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-btn--icon svg {
  width: 20px;
  height: 18px;
}

.tabs-content {
  background: rgba(255, 255, 255, 0.4);
}

.tab-panel {
  display: block;
}

.tab-panel[hidden] {
  display: none;
}

.tab-post-item {
  display: flex;
  align-items: flex-start;
  padding: 20px 15px;
  border-bottom: 1px solid var(--color-blue-light);
}

.tab-post-item:last-child {
  border-bottom: none;
}

.tab-post-img {
  display: block;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  overflow: hidden;
}

.tab-post-img img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  display: block;
}

.tab-post-img--empty {
  width: 52px;
  height: 52px;
  background: #f6f6f6;
  flex-shrink: 0;
}

.tab-post-body {
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tab-post-title {
  font-family: var(--font-main);
  font-size: 15px;
  line-height: normal;
  color: var(--color-text);
  text-decoration: none;
  display: block;
}

.tab-post-title:hover {
  text-decoration: underline;
}

.tab-post-date {
  font-family: var(--font-main);
  font-size: 12px;
  line-height: 24px;
  color: var(--color-text-muted);
}

.tab-rss-link {
  padding: 20px 15px;
}

.sidebar-cat-list {
  margin: 0;
}

.sidebar-cat-item {
  border-bottom: 1px solid var(--color-border-soft);
  position: relative;
}

.sidebar-cat-link {
  display: flex;
  align-items: center;
  padding: 10px 10px 11px 12px;
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 30px;
  color: var(--color-text);
  text-decoration: none;
}

.sidebar-cat-link:hover {
  color: var(--color-link);
  text-decoration: none;
}

.sidebar-cat-arrow {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-right: 6px;
  flex-shrink: 0;
}

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.sidebar-tag {
  display: inline-block;
  padding: 1px 11px;
  border: 1px solid var(--color-border-soft);
  font-family: var(--font-main);
  font-size: 13px;
  line-height: 28px;
  color: var(--color-text);
  text-decoration: none;
}

.sidebar-tag:hover {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
  text-decoration: none;
}

/* =========================================
   Responsivo
   ========================================= */
@media (max-width: 900px) {

  /* Header */
  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-inner {
    padding: 12px 20px 12px;
    align-items: center;
  }

  .header-logo {
    padding-top: 0;
  }

  .header-logo img {
    width: 160px;
    height: auto;
  }

  .mobile-menu {
    padding: 10px 20px 20px;
  }

  /* Layout */
  section.page {
    padding: 24px 20px;
    gap: 24px;
  }

  .sidebar {
    width: 100%;
  }

  /* Carousel */
  .slide-item-overlay {
    right: 40%;
  }

  /* Single post */
  .related-posts-list {
    grid-template-columns: 1fr;
  }

  .comment-fields {
    flex-direction: column;
  }

  .post-share {
    flex-direction: column;
    gap: 12px;
  }

  /* Sidebar */
  .sidebar-tabs {
    padding-top: 16px;
  }

  /* Footer */
  .footer-top {
    padding: 40px 0 50px;
  }

  .footer-top-inner {
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
  }

  .footer-nav {
    padding-top: 0;
  }

  .footer-bottom {
    padding: 28px 0 28px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .footer-logo img {
    width: 180px;
    height: auto;
  }

  .social-btn {
    width: 44px;
    height: 44px;
  }

  .social-btn img {
    width: 16px;
    height: 16px;
  }
}