/*
Theme Name: AromÃ¡ticas Core
Theme URI: https://aromaticas.eu
Author: AromÃ¡ticas Dev Team
Author URI: https://pbwriter.pt
Description: Tema editorial contemporÃ¢neo de alta performance para o portal AromÃ¡ticas. Design de revista botÃ¢nica com tipografia premium, paleta natural refinada e Core Web Vitals no verde.
Version: 1.2.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: aromaticas
*/

/* 1. RESET & FUNDAÃ‡ÃƒO */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1e2421;
  background-color: #faf9f6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.editorial-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   RESET DO TOPO: Eliminar a barra branca superior e margens automáticas do WP
   ========================================================================== */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}

.wp-site-blocks {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.wp-site-blocks > * {
  margin-block-start: 0 !important;
}

.wp-block-template-part {
  margin: 0 !important;
  padding: 0 !important;
}

/* Compensação do espaço do cabeçalho fixo para o conteúdo */
.site-main-editorial {
  padding-top: 64px !important;
}

/* ==========================================================================
   CABEÇALHO FIXO / PEGAJOSO (FIXED STICKY HEADER)
   ========================================================================== */
.site-header-editorial {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  background-color: #000000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45) !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all 0.25s ease-in-out;
}

/* Suporte para quando a barra de administração do WordPress estiver visível */
body.admin-bar .site-header-editorial {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header-editorial {
    top: 46px !important;
  }
}

/* Barra interna com distribuição ampla: Logótipo encostado à esquerda, Menu à direita */
.header-main-bar {
  width: 100% !important;
  padding: 0.4rem 0 !important;
  min-height: 60px !important;
  display: flex !important;
  align-items: center !important;
  transition: min-height 0.25s ease-in-out, padding 0.25s ease-in-out;
}

.header-main-inner {
  width: 100% !important;
  max-width: 1400px !important; /* Espaço amplo para respirar */
  margin: 0 auto !important;
  padding: 0 2rem !important; /* Margem confortável nos limites do ecrã */
  display: flex !important;
  justify-content: space-between !important; /* LOGO À ESQUERDA, MENU À DIREITA */
  align-items: center !important;
}

/* Logótipo Encostado à Esquerda */
.site-branding {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

.site-branding .custom-logo {
  max-height: 42px !important;
  width: auto !important;
  display: block !important;
  transition: max-height 0.25s ease;
}

/* Menu Encostado à Direita */
.editorial-nav {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-grow: 1 !important;
}

.editorial-nav ul {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.25rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.editorial-nav a {
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  padding: 0.4rem 0.85rem !important;
  border-radius: 4px !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
}

.editorial-nav a:hover {
  color: #52b788 !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* EFEITO AO FAZER SCROLL (SHRINKING) */
.site-header-editorial.is-scrolled {
  background-color: rgba(0, 0, 0, 0.96) !important;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.6) !important;
}

.site-header-editorial.is-scrolled .header-main-bar {
  min-height: 50px !important;
  padding: 0.2rem 0 !important;
}

.site-header-editorial.is-scrolled .site-branding .custom-logo {
  max-height: 32px !important;
}

.site-header-editorial.is-scrolled .editorial-nav a {
  padding: 0.3rem 0.75rem !important;
  font-size: 0.88rem !important;
}
/* 3. HERO MAGAZINE SECTION */
.editorial-hero-section {
  padding: 2.5rem 0 1.5rem 0;
}

.editorial-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .editorial-hero-grid {
    grid-template-columns: 1.65fr 1fr;
    gap: 2.5rem;
  }
}

/* Artigo Principal do Hero */
.hero-featured-article {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e7ede8;
  box-shadow: 0 10px 30px -10px rgba(22, 58, 42, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-featured-article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(22, 58, 42, 0.12);
}

.hero-thumb-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #e8eee9;
}

.hero-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-featured-article:hover .hero-thumb-wrapper img {
  transform: scale(1.03);
}

.hero-pill-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(22, 58, 42, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
}

.hero-content-wrapper {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.25;
  color: #163a2a;
  margin: 0.6rem 0 0.85rem 0;
}

.hero-title a:hover {
  color: #c86d51;
}

.hero-excerpt {
  color: #55625a;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #7b8880;
  padding-top: 1rem;
  border-top: 1px solid #f0f4f1;
}

.hero-meta .dot {
  opacity: 0.5;
}

/* Coluna Lateral de Destaques */
.hero-side-column {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e7ede8;
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.side-column-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.side-column-header h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  margin: 0;
  color: #163a2a;
}

.side-header-line {
  flex-grow: 1;
  height: 2px;
  background: linear-gradient(90deg, #c86d51 0%, transparent 100%);
}

.side-article-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #f0f4f1;
}

.side-article-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.side-article-thumb {
  width: 85px;
  height: 85px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #eaf0eb;
}

.side-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.side-article-item:hover .side-article-thumb img {
  transform: scale(1.05);
}

.side-article-info {
  display: flex;
  flex-direction: column;
}

.side-article-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0.25rem 0;
  color: #1a221e;
}

.side-article-title a:hover {
  color: #c86d51;
}

.side-article-meta {
  font-size: 0.78rem;
  color: #88968e;
}

/* 4. BADGES DE CATEGORIA */
.editorial-badge a,
.wp-block-post-terms a {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background-color: #e8f3ed;
  color: #1e5239 !important;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.editorial-badge a:hover,
.wp-block-post-terms a:hover {
  background-color: #1e5239;
  color: #ffffff !important;
}

.editorial-badge-mini a {
  font-size: 0.68rem;
  font-weight: 700;
  color: #c86d51;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 5. QUICK TOPICS STRIP */
.quick-topics-strip {
  background: #ffffff;
  border-top: 1px solid #edf1ee;
  border-bottom: 1px solid #edf1ee;
  padding: 1rem 0;
  margin: 1.5rem 0 3rem 0;
}

.topics-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topics-label {
  font-weight: 700;
  font-size: 0.88rem;
  color: #163a2a;
}

.topics-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topic-tag {
  background-color: #f2f6f3;
  color: #264a38;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.topic-tag:hover {
  background-color: #000000;
  color: #ffffff;
}

.topic-tag.highlight {
  background-color: #fbf0ec;
  color: #a84f34;
}

.topic-tag.highlight:hover {
  background-color: #c86d51;
  color: #ffffff;
}

/* 6. CADERNO EDITORIAL (GRELHA PRINCIPAL) */
.main-articles-section {
  padding: 1.5rem 0 4rem 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.section-badge-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c86d51;
  margin-bottom: 0.5rem;
}

.section-heading-serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: #163a2a;
  margin: 0 0 0.75rem 0;
  line-height: 1.25;
}

.section-subheading {
  color: #5c6861;
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.55;
}

/* Grelha de 3 Colunas */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 2rem;
}

.magazine-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e7ece8;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.magazine-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(22, 58, 42, 0.08);
}

.magazine-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #edf2ee;
}

.magazine-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.magazine-card:hover .magazine-card-media img {
  transform: scale(1.04);
}

.magazine-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.reading-hint {
  font-size: 0.75rem;
  color: #8c9891;
}

.magazine-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  color: #163a2a;
  margin: 0 0 0.85rem 0;
}

.magazine-card-title a:hover {
  color: #c86d51;
}

.magazine-card-excerpt {
  color: #55625a;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.magazine-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #7b8880;
  padding-top: 1rem;
  border-top: 1px solid #f0f4f1;
  margin-top: auto;
}

.card-read-more {
  color: #2d6a4f;
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.15s ease;
}

.magazine-card:hover .card-read-more {
  transform: translateX(4px);
  color: #c86d51;
}

/* 7. NEWSLETTER SECTION */
.editorial-newsletter-section {
  padding: 3rem 0 5rem 0;
}

.newsletter-card-deep {
  background: linear-gradient(135deg, #133324 0%, #1e4d36 100%);
  border-radius: 16px;
  padding: 3.5rem 2rem;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(19, 51, 36, 0.3);
}

.newsletter-botanic-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.12);
  color: #d1ebd9;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  margin-bottom: 1rem;
}

.newsletter-title-white {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  margin: 0 0 1rem 0;
  color: #ffffff;
}

.newsletter-desc-light {
  color: #c8ded1;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

.newsletter-form-modern {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto 1rem auto;
}

@media (min-width: 540px) {
  .newsletter-form-modern {
    flex-direction: row;
  }
}

.newsletter-input-modern {
  flex-grow: 1;
  padding: 0.95rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: #ffffff;
  color: #1e2421;
  font-size: 1rem;
  outline: none;
}

.newsletter-btn-modern {
  background-color: #c86d51;
  color: #ffffff;
  border: none;
  padding: 0.95rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}

.newsletter-btn-modern:hover {
  background-color: #b55d42;
}

.newsletter-sub-disclaimer {
  font-size: 0.78rem;
  color: #9abfa7;
  display: block;
}

/* 8. SINGLE POST LAYOUT */
.single-post-header {
  max-width: 820px;
  margin: 3rem auto 2rem auto;
  text-align: center;
}

.single-post-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: #163a2a;
  line-height: 1.22;
  margin: 1rem 0;
}

.single-post-featured-image {
  max-width: 1100px;
  margin: 0 auto 3rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.single-post-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.85;
  color: #28302c;
}

.single-post-content p {
  margin-bottom: 1.75rem;
}

.single-post-content h2,
.single-post-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #163a2a;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
}

.single-post-content blockquote {
  border-left: 4px solid #c86d51;
  background-color: #f6faf7;
  padding: 1.25rem 2rem;
  margin: 2.5rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 1.2rem;
  color: #163a2a;
}

/* 9. RODAPÃ‰ */
.site-footer {
  background-color: #000000;
  color: #d1ded7;
  padding: 4rem 0 2.5rem 0;
}

.site-footer a {
  color: #eaf3ed;
}

.site-footer a:hover {
  color: #c86d51;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-info p {
  color: #9eb5aa !important;
}


/* Submenu / Dropdown no Cabeçalho Preto */
.editorial-nav .wp-block-navigation__submenu-container {
  background-color: #121b16 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  border-radius: 6px !important;
  padding: 0.5rem !important;
}

.editorial-nav .wp-block-navigation__submenu-container a {
  color: #e2ede6 !important;
  font-size: 0.9rem !important;
  padding: 0.5rem 1rem !important;
}

.editorial-nav .wp-block-navigation__submenu-container a:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #52b788 !important;
}


/* ==========================================================================
   NAVEGAÇÃO DESKTOP VS. MOBILE HAMBÚRGUER (MOBILE-FIRST DE ELITE)
   ========================================================================== */

/* 1. NAVEGAÇÃO DESKTOP (Ecrãs >= 900px) */
.desktop-nav-wrapper {
  display: flex;
  align-items: center;
}

.desktop-menu-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-menu-list a {
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.desktop-menu-list a:hover {
  color: #52b788 !important;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown no Desktop */
.has-dropdown {
  position: relative;
}

.has-dropdown .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: #0d1410;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 0.5rem 0;
  margin: 0.5rem 0 0 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.has-dropdown:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-dropdown .sub-menu li a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
}

/* 2. BOTÃO HAMBÚRGUER MOBILE */
.mobile-menu-trigger {
  display: none; /* Oculto no Desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 10001;
  margin-left: auto;
}

.mobile-menu-trigger .bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* 3. OVERLAY ESCURO */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* 4. GAVETA LATERAL MOBILE (DRAWER) */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 86vw);
  height: 100vh;
  background-color: #0b110e;
  color: #ffffff;
  z-index: 100001;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-header img {
  max-height: 34px;
  width: auto;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.drawer-body {
  padding: 1.25rem 1.5rem;
  flex-grow: 1;
}

.mobile-menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6d8578;
  margin: 1.25rem 0 0.5rem 0;
  padding-left: 0.75rem;
}

.mobile-menu-links a {
  display: flex;
  align-items: center;
  padding: 0.75rem 0.85rem;
  color: #e5ede8 !important;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-menu-links a:hover,
.mobile-menu-links a:active {
  background-color: rgba(82, 183, 136, 0.12);
  color: #52b788 !important;
}

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #070c09;
}

.drawer-newsletter-cta {
  display: block;
  background-color: #c86d51;
  color: #ffffff !important;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  transition: background 0.15s ease;
}

.drawer-newsletter-cta:hover {
  background-color: #b55d42;
}

.drawer-copy {
  font-size: 0.75rem;
  color: #63776c;
  text-align: center;
  margin: 0;
}

/* ==========================================================================
   MEDIA QUERIES: SMARTPHONE & TABLET (< 900px)
   ========================================================================== */
@media screen and (max-width: 900px) {
  /* No mobile: Esconder menu horizontal de desktop e mostrar o hambúrguer */
  .desktop-nav-wrapper {
    display: none !important;
  }

  .mobile-menu-trigger {
    display: flex !important;
  }

  .header-main-inner {
    padding: 0 1rem !important;
  }

  .site-branding .custom-logo {
    max-height: 34px !important;
  }

  .header-main-bar {
    min-height: 52px !important;
  }

  .site-main-editorial {
    padding-top: 54px !important;
  }

  /* Ajustes da Homepage no Smartphone */
  .editorial-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .hero-content-wrapper {
    padding: 1.25rem !important;
  }

  .hero-title {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }

  .hero-side-column {
    padding: 1.25rem !important;
  }

  .editorial-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .newsletter-card-deep {
    padding: 2.25rem 1.25rem !important;
  }

  .newsletter-title-white {
    font-size: 1.6rem !important;
  }

  /* Single Post no Smartphone */
  .single-post-header h1 {
    font-size: 1.85rem !important;
  }

  .single-post-content {
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
  }
}

/* ==========================================================================
   ESPAÇOS DE PUBLICIDADE NA HOMEPAGE
   ========================================================================== */
.homepage-ad-section,
.homepage-ad-section-bottom {
  width: 100%;
  padding: 1.5rem 0;
  margin: 0 auto;
  display: block !important;
  text-align: center;
  clear: both;
}

.homepage-ad-section .editorial-container,
.homepage-ad-section-bottom .editorial-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: block !important;
  box-sizing: border-box;
}

.aromaticas-ad-wrapper {
  display: block !important;
  width: 100% !important;
  margin: 1.5rem auto !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.aromaticas-adsense-slot {
  display: block !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}


/* ==========================================================================
   LIGAÇÕES SOCIAIS DO SITE (HEADER & FOOTER) - PBWriter Studio
   ========================================================================== */
.header-social-links {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  margin-left: 1.25rem !important;
  flex-shrink: 0 !important;
}

.header-social-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #c5d6cc !important;
  background: rgba(255, 255, 255, 0.08) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.header-social-icon:hover {
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.header-social-icon.social-facebook:hover {
  background: #1877F2 !important;
}

.header-social-icon.social-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
}

.header-social-icon.social-linkedin:hover {
  background: #0A66C2 !important;
}

@media (max-width: 900px) {
  .header-social-links {
    display: none !important;
  }
}

.footer-social-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 24px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: all 0.2s ease !important;
}

.footer-social-pill:hover {
  transform: translateY(-2px) !important;
}

.footer-social-pill.footer-facebook:hover {
  background: #1877F2 !important;
  border-color: #1877F2 !important;
}

.footer-social-pill.footer-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  border-color: #d6249f !important;
}

.footer-social-pill.footer-linkedin:hover {
  background: #0A66C2 !important;
  border-color: #0A66C2 !important;
}
