/*
Theme Name: BR Blog
Description: Blog template for BaseLinker marketplace content
Version: 1.0.0
Text Domain: br-blog
*/

* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue: #2F7DFF;
  --blue-dark: #1a5fd4;
  --blue-light: #e8f0ff;
  --black: #0C0212;
  --white: #FFFFFF;
  --gray: #f4f4f6;
  --muted: #6b6b7b;
  --border: rgba(12,2,18,0.1);
  --max-w: 1280px;
  --px: 2rem;
  --section-py: 4rem;
}
body { font-family: 'Mulish', sans-serif; background: var(--white); color: var(--black); }

.p-0 { padding: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

.full-blue  { background: var(--blue); }
.full-gray  { background: var(--gray); border-top: 1px solid var(--border); }
.full-black { background: var(--black); }
.full-white { background: var(--white); }

.inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-py) var(--px);
}
.inner-sm {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--px);
}

/* NAV */
nav { position: sticky; top: 0; z-index: 100; }
.nav-wrapper { position: relative; }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo { display: block; line-height: 0; }
.logo svg { max-width: 140px; height: auto; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; height: 100%; }
.nav-links > li { list-style: none; display: flex; justify-content: center; align-items: center; height: 100%; position: relative; }
.nav-links > li > a { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.85); text-decoration: none; font-family: 'Mulish', sans-serif; display: flex; justify-content: center; align-items: center; height: 100%; }
.nav-links > li > a:hover { color: var(--white); }
.nav-links > li > ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  background: var(--blue);
  padding: 0.5rem 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.nav-links > li:hover > ul.sub-menu { display: block; }
.nav-links > li > ul.sub-menu li { list-style: none; }
.nav-links > li > ul.sub-menu li a { display: block; padding: 0.5rem 1.5rem; font-size: 12px; color: var(--white); text-decoration: none; font-family: 'Mulish', sans-serif; white-space: nowrap; }
.nav-links > li > ul.sub-menu li a:hover { background: rgba(255,255,255,0.1); }
.nav-cta a { background: var(--white) !important; color: var(--blue) !important; padding: 7px 18px; border-radius: 20px; font-weight: 800 !important; height: auto !important; }

/* Injected by js/nav-mobile.js — hidden on desktop; dropdown uses hover above */
.submenu-toggle {
  display: none;
}

/* HERO */
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--px) 3.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.hero-main-img { background: rgba(255,255,255,0.18); border-radius: 10px; width: 100%; aspect-ratio: 16/9; }
.hero-main-meta { padding-top: 1rem; }
.hero-tag-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.tag-pill { background: var(--white); color: var(--black); font-family: 'Mulish', sans-serif; font-size: 11px; font-weight: 800; padding: 3px 12px; border-radius: 20px; white-space: nowrap; text-decoration: none; }
.tag-pill:hover { background: rgba(255,255,255,0.85); }
.read-lbl { font-family: 'Mulish', sans-serif; font-size: 12px; color: rgba(255,255,255,0.7); white-space: nowrap; }
.hero-main-title { font-family: 'Be Vietnam Pro', sans-serif; font-size: 22px; font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 10px; }
.hero-main-excerpt { font-family: 'Mulish', sans-serif; font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 8px; }
.hero-main-author { font-family: 'Mulish', sans-serif; font-size: 11px; color: rgba(255,255,255,0.5); }

.hero-right { display: flex; flex-direction: column; }
.hero-row { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem; align-items: center; padding: 1.655rem 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
.hero-row:first-child { padding-top: 0; }
.hero-row:last-child { border-bottom: none; padding-bottom: 0; }
.hero-thumb { background: rgba(255,255,255,0.18); border-radius: 8px; width: 100%; aspect-ratio: 16/9; }
.hero-art-tagrow { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.hero-art-title { font-family: 'Be Vietnam Pro', sans-serif; font-size: 14px; font-weight: 700; color: var(--white); line-height: 1.35; }

/* Category archive hero (frosted panel) */
.cat-hero-wrap {
  position: relative;
  overflow: hidden;
}
.hero-inner.cat-hero-inner {
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}
.cat-hero-panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  text-align: center;
  padding: 2.35rem 2.75rem 2.6rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 28px 56px rgba(12, 2, 18, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: catHeroIn 0.55s ease-out both;
}
@keyframes catHeroIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cat-hero-panel {
    animation: none;
  }
}
.cat-hero-glow {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 140%;
  height: 95%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 70% 55% at 50% 100%, rgba(255, 255, 255, 0.38) 0%, transparent 58%);
  pointer-events: none;
  opacity: 0.85;
}
.cat-hero-eyebrow {
  position: relative;
  font-family: 'Mulish', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.65rem;
}
.cat-hero-title {
  position: relative;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: clamp(1.65rem, 4.2vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}
.cat-hero-desc {
  position: relative;
  font-family: 'Mulish', sans-serif;
  font-size: 15px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 auto;
}
.cat-hero-desc p {
  margin-bottom: 0.65rem;
}
.cat-hero-desc p:last-child {
  margin-bottom: 0;
}
.cat-hero-meta {
  position: relative;
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: 'Mulish', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.48);
}

/* Single post hero */
.single-hero-wrap {
  position: relative;
  overflow: hidden;
}
.hero-inner.single-hero-inner {
  grid-template-columns: 1fr;
  justify-items: stretch;
  align-items: end;
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.single-hero-panel {
  flex-grow: 1;
  position: relative;
  width: 100%;
  min-width: 50%;
  margin: 0 auto;
  text-align: left;
  padding: 1.75rem 2rem 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 28px 56px rgba(12, 2, 18, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-self: stretch;
}
.single-hero-glow {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 100%, rgba(255, 255, 255, 0.22) 0%, transparent 55%);
  pointer-events: none;
  opacity: 0.75;
}
.single-hero-back {
  position: relative;
  display: inline-block;
  font-family: 'Mulish', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  margin-bottom: 1.15rem;
  transition: color 0.15s;
}
.single-hero-back:hover {
  color: var(--white);
}
.single-hero-top {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0.85rem;
}
.single-hero-cat.tag-pill {
  margin-bottom: 0;
}
.single-hero-read {
  font-family: 'Mulish', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}
.single-hero-title {
  position: relative;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: clamp(1.45rem, 3.8vw, 2.15rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.single-hero-meta {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-family: 'Mulish', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}
.single-hero-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}
.single-hero-date {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}

.single-hero-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 32px rgba(12, 2, 18, 0.2);
  max-width: 40%;
  aspect-ratio: 1024 / 536;
}
.single-hero-thumb-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Single post — article body, author, nav, comments */
.screen-reader-text,
.screen-reader-text:focus {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}

.single-body {
  border-top: 1px solid var(--border);
}
.single-body-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.75rem var(--px) 3.25rem;
  width: 100%;
}

.single-entry-content {
  font-family: 'Mulish', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--black);
  max-width: 1024px;
  margin: 0 auto;
}
.single-entry-content > *:first-child {
  margin-top: 0;
}
.single-entry-content h2,
.single-entry-content h3,
.single-entry-content h4 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.single-entry-content h2 {
  font-size: 1.5rem;
}
.single-entry-content h3 {
  font-size: 1.25rem;
}
.single-entry-content p {
  margin-bottom: 1.15rem;
}
.single-entry-content ul,
.single-entry-content ol {
  margin: 0 0 1.15rem 1.35rem;
}
.single-entry-content li {
  margin-bottom: 0.4rem;
}
.single-entry-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--blue);
  background: var(--gray);
  border-radius: 0 8px 8px 0;
  font-style: normal;
  color: var(--black);
}
.single-entry-content a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.single-entry-content a:hover {
  color: var(--blue-dark);
}
.single-entry-content img,
.single-entry-content figure {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.single-entry-content figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 0.5rem;
  text-align: center;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: 'Mulish', sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.page-links-title {
  margin-right: 0.35rem;
  color: var(--muted);
}
.page-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: var(--gray);
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
}
.page-links a:hover {
  background: var(--blue-light);
}

.single-entry-footer {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}
.single-meta-block {
  margin-bottom: 1.25rem;
}
.single-meta-block:last-child {
  margin-bottom: 0;
}
.single-meta-label {
  display: block;
  font-family: 'Mulish', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
}
.single-meta-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.single-chip {
  display: inline-block;
  font-family: 'Mulish', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.single-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.single-chip-cat {
  background: var(--blue-light);
  border-color: rgba(47, 125, 255, 0.25);
  color: var(--blue-dark);
}

.single-author-section {
  border-top: 1px solid var(--border);
}
.single-author-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.5rem;
  align-items: start;
  max-width: 1024px;
  margin: 0 auto;
  padding: 2.5rem 0;
}
.single-author-avatar-img {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 4px 16px rgba(12, 2, 18, 0.08);
}
.single-author-name {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black);
  margin: 0 0 0.65rem;
}
.single-author-bio {
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 1rem;
}
.single-author-bio p {
  margin-bottom: 0.65rem;
}
.single-author-bio p:last-child {
  margin-bottom: 0;
}
.single-author-more {
  font-family: 'Mulish', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
}
.single-author-more:hover {
  text-decoration: underline;
}

.single-post-nav-wrap {
  border-top: 1px solid var(--border);
  padding: 0 0 2.5rem;
}
.single-post-nav-wrap .post-navigation {
  max-width: 720px;
  margin: 0 auto;
}
.single-post-nav-wrap .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.single-post-nav-wrap .nav-previous,
.single-post-nav-wrap .nav-next {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.single-post-nav-wrap .nav-next {
  text-align: right;
}
.single-post-nav-wrap .nav-previous a,
.single-post-nav-wrap .nav-next a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.single-post-nav-wrap .nav-previous:hover,
.single-post-nav-wrap .nav-next:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(47, 125, 255, 0.12);
}
.single-nav-label {
  display: block;
  font-family: 'Mulish', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.single-nav-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.35;
}

.single-comments-wrap {
  border-top: 1px solid var(--border);
  padding-bottom: 3rem;
}
.single-comments-inner {
  padding-top: 2.5rem;
}

.single-comments-area .comments-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 1.5rem;
  color: var(--black);
}
.comment-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.comment-list .children {
  list-style: none;
  margin: 1rem 0 0 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
}
.comment-body {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.comment-meta {
  font-family: 'Mulish', sans-serif;
  font-size: 13px;
  margin-bottom: 0.5rem;
}
.comment-author .avatar {
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.comment-metadata a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
}
.comment-content {
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--black);
}
.comment-content p {
  margin-bottom: 0.65rem;
}
.reply {
  margin-top: 0.75rem;
}
.comment-reply-link {
  font-family: 'Mulish', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
}
.comments-pagination {
  margin-bottom: 2rem;
  font-family: 'Mulish', sans-serif;
  font-size: 13px;
}
.comments-pagination a {
  color: var(--blue);
  font-weight: 700;
}
.comments-closed {
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 2rem;
}

.comment-form {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 0.5rem;
}
.comment-form p {
  margin-bottom: 1rem;
}
.comment-form label {
  display: block;
  font-family: 'Mulish', sans-serif;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--black);
}
.comment-form input[type='text'],
.comment-form input[type='email'],
.comment-form input[type='url'],
.comment-form textarea {
  width: 100%;
  max-width: 100%;
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--black);
}
.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}
.comment-form .form-submit input[type='submit'],
.comment-form input[type='submit'] {
  display: inline-block;
  font-family: 'Mulish', sans-serif;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 20px;
  border: none;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  transition: background 0.15s;
  width: auto;
}
.comment-form .form-submit input[type='submit']:hover,
.comment-form input[type='submit']:hover {
  background: var(--blue-dark);
}
.comment-notes,
.comment-form .comment-notes {
  font-size: 12px;
  color: var(--muted);
}

/* FILTERS */
.filters-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--px);
}
.filters-title { font-family: 'Be Vietnam Pro', sans-serif; font-size: 13px; font-weight: 700; color: var(--black); margin-bottom: 1rem; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--black);
  font-family: 'Mulish', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  display: inline-block;
}
.filter-btn:hover, .filter-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* GRID ARTIGOS */
.articles-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--px) 4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.article-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; cursor: pointer; transition: border-color 0.15s, transform 0.15s; display: flex; flex-direction: column; }
.article-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.card-thumb { aspect-ratio: 16/9; }
.thumb-badge { display: inline-block; margin: 10px 0 0 10px; background: rgba(255,255,255,0.2); color: var(--white); font-family: 'Mulish', sans-serif; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 20px; text-transform: uppercase; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); text-decoration: none; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; flex-grow: 1; display: flex; flex-direction: column; }
.card-cat { font-family: 'Mulish', sans-serif; font-size: 10px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 6px; }
.card-title { font-family: 'Be Vietnam Pro', sans-serif; font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--black); margin-bottom: 8px; }
.card-desc { font-size: 11px; color: var(--muted); line-height: 1.6; font-family: 'Mulish', sans-serif; margin-bottom: 12px; }
.card-meta { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); font-family: 'Mulish', sans-serif; align-items: center; margin-top: auto; }
.author-dot { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-light); color: var(--blue); font-size: 8px; font-weight: 800; margin-right: 5px; }
.hero-main-excerpt p { font-family: 'Mulish', sans-serif; font-size: 13px; color: rgba(255,255,255,0.7); line-height: 17px; margin-bottom: 0; max-width: 86%; margin-left: auto; margin-right: auto; }
/* BANNER PROMO */
.banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px) 4rem;
}
.banner-inner img, .banner-inner svg, .banner-inner figure {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
/* ARTIGOS RECENTES */
.recent-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--px);
}
.section-heading { font-family: 'Be Vietnam Pro', sans-serif; font-size: 18px; font-weight: 800; color: var(--black); text-align: center; margin-bottom: 2rem; }
.recent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.recent-card { padding: 1.75rem 0; border-bottom: 1px solid var(--border); }
.recent-card:nth-child(-n+2) { padding-top: 0; }
.recent-tag-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.tag-pill-blue { background: var(--blue); color: var(--white); font-family: 'Mulish', sans-serif; font-size: 11px; font-weight: 800; padding: 3px 12px; border-radius: 20px; white-space: nowrap; text-decoration: none; }
.tag-pill-blue:hover { background: var(--blue-dark); }
.recent-read { font-family: 'Mulish', sans-serif; font-size: 11px; color: var(--muted); }
.recent-title { font-family: 'Be Vietnam Pro', sans-serif; font-size: 17px; font-weight: 800; color: var(--black); line-height: 1.3; margin-bottom: 8px; }
.recent-excerpt { font-size: 12px; color: var(--muted); line-height: 1.7; font-family: 'Mulish', sans-serif; margin-bottom: 8px; }
.recent-author { font-size: 11px; color: var(--muted); font-family: 'Mulish', sans-serif; }

/* PAGINATION */
.pagination { margin-top: 2.5rem; display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Mulish', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  transition: all 0.15s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.pagination .page-numbers.dots { border: none; background: none; pointer-events: none; }

/* FAQ */
.faq-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--px);
}
.faq-heading { font-family: 'Be Vietnam Pro', sans-serif; font-size: 18px; font-weight: 800; color: var(--black); margin-bottom: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; cursor: pointer; font-family: 'Mulish', sans-serif; font-size: 14px; font-weight: 700; color: var(--black); gap: 12px; }
.faq-question:hover { color: var(--blue); }
.faq-icon { font-size: 14px; color: var(--blue); flex-shrink: 0; transition: transform 0.2s; display: inline-block; }
.faq-answer { font-family: 'Mulish', sans-serif; font-size: 13px; color: var(--muted); line-height: 1.7; padding-bottom: 1.1rem; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(180deg); }

/* CATEGORIAS */
.cat-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--px);
}
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 2rem; }
.cat-btn {
  background: var(--blue);
  color: var(--white);
  font-family: 'Mulish', sans-serif;
  font-size: 12px;
  font-weight: 800;
  padding: 12px 8px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
  text-decoration: none;
  display: block;
}
.cat-btn:hover { background: var(--blue-dark); color: var(--white); }

/* CTA FINAL */
.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--px);
  text-align: center;
}
.cta-inner h3 { font-family: 'Be Vietnam Pro', sans-serif; font-size: 20px; font-weight: 800; color: var(--black); line-height: 1.35; margin-bottom: 1.75rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-final-btn { display: inline-block; background: var(--blue); color: var(--white); font-family: 'Be Vietnam Pro', sans-serif; font-size: 14px; font-weight: 800; padding: 14px 32px; border-radius: 8px; text-decoration: none; }
.cta-final-btn:hover { background: var(--blue-dark); color: var(--white); }

/* FOOTER */
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.75rem var(--px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo { display: block; line-height: 0; }
.footer-logo svg { width: 120px; height: auto; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.3); font-family: 'Mulish', sans-serif; }

/* ========================================
   HAMBURGER
   ======================================== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ========================================
   TABLET  ≤ 960px
   ======================================== */
@media (max-width: 960px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 .5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    height: auto;
    overflow: scroll;
    max-height: calc(100vh - 60px);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 0.8rem 0; font-size: 14px; }
  .nav-links .nav-cta { display: inline-block; padding: 8px 18px; }

  /* Sub-menus: tap chevron to expand (no hover on touch) */
  .nav-links > li:hover > ul.sub-menu {
    display: none;
  }
  .nav-links li.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    align-content: flex-start;
    justify-content: flex-start;
  }
  .nav-links li.menu-item-has-children > a {
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box;
  }
  .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    min-width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .submenu-toggle:hover,
  .submenu-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    outline: none;
  }
  .submenu-toggle-icon {
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.2s ease;
  }
  .nav-links li.menu-item-has-children.is-open > .submenu-toggle .submenu-toggle-icon {
    transform: rotate(180deg);
  }
  .nav-links li.menu-item-has-children > ul.sub-menu {
    display: none;
    position: static;
    top: auto;
    left: auto;
    flex: 1 1 100%;
    width: 100%;
    order: 3;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-links li.menu-item-has-children.is-open > ul.sub-menu {
    display: block !important;
  }
  .nav-links li.menu-item-has-children > ul.sub-menu li a {
    white-space: normal;
    padding: 0.55rem 1rem 0.55rem 1.25rem;
  }
  .nav-links li.menu-item-has-children > ul.sub-menu .sub-menu {
    margin-top: 0.15rem;
    background: rgba(0, 0, 0, 0.12);
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .hero-right { grid-column: auto; }

  .articles-inner { grid-template-columns: repeat(2, 1fr); }

  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  
  .hero-inner.single-hero-inner {
    flex-direction: column-reverse;
  }
  .single-hero-thumb {
    max-width: 100%;
  }
}

/* ========================================
   MOBILE  ≤ 640px
   ======================================== */
@media (max-width: 640px) {
  :root {
    --px: 1rem;
    --section-py: 2rem;
  }
  .hero-inner { grid-template-columns: 1fr; padding: 2rem var(--px) 2.5rem; }
  .hero-inner.cat-hero-inner { padding-top: 2.25rem; padding-bottom: 2.25rem; }
  .cat-hero-panel { padding: 1.65rem 1.35rem 1.85rem; border-radius: 14px; }
  .cat-hero-title { font-size: 1.55rem; }
  .hero-inner.single-hero-inner { padding-top: 2rem; padding-bottom: 2rem; }
  .single-hero-wrap--has-img { min-height: 240px; }
  .single-hero-panel { padding: 1.35rem 1.2rem 1.55rem; border-radius: 14px; }
  .single-hero-title { font-size: 1.45rem; }
  .single-author-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 2rem 0;
  }
  .single-post-nav-wrap .nav-links {
    grid-template-columns: 1fr;
  }
  .single-post-nav-wrap .nav-next {
    text-align: left;
  }
  .hero-right { grid-column: auto; }
  .hero-row { grid-template-columns: 110px 1fr; }
  .hero-main-title { font-size: 20px; }

  .articles-inner { grid-template-columns: 1fr; padding: 2rem var(--px) 3rem; }

  .recent-grid { grid-template-columns: 1fr; }
  .recent-card:nth-child(2) { padding-top: 1.75rem; }
  .recent-title { font-size: 15px; }

  .faq-question { font-size: 13px; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-inner { padding: 3rem var(--px); }
  .cta-inner h3 { font-size: 17px; }

  .banner-promo { height: auto; padding: 1.5rem 1rem; text-align: center; font-size: 12px; }

  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1.5rem var(--px); }
}
