/*
Theme Name: Midiaticom
Theme URI: https://midiaticom.org
Author: Midiaticom
Author URI: https://midiaticom.org
Description: Template oficial do Grupo de Pesquisa Midiaticom — estudos de mediação, tecnologia e comunicação contemporânea.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: midiaticom
Tags: research, academic, blog, two-columns, custom-menu, featured-images, post-formats
*/

/* =====================================================
   CSS VARIABLES
   ===================================================== */
:root {
  --color-bg-dark:     #111827;
  --color-bg-dark2:    #1a2436;
  --color-hero-bg:     #dee3e7;
  --color-surface:     #ffffff;
  --color-surface-alt: #f8f9fb;
  --color-border:      #e5e7eb;
  --color-text:        #111827;
  --color-text-light:  #6b7280;
  --color-text-muted:  #9ca3af;
  --color-heading:     #ffffff;
  --color-primary:     #4f46e5;
  --color-primary-h:   #4338ca;
  --color-accent:      #f59e0b;
  --color-teal:        #10b981;
  --color-sidebar-dec: #4f46e5;
  --font-sans:         'Sora', 'Helvetica Neue', Arial, sans-serif;
  --font-serif:        'Playfair Display', Georgia, serif;
  --radius-sm:         4px;
  --radius-md:         8px;
  --radius-lg:         12px;
  --radius-xl:         16px;
  --shadow-card:       0 1px 4px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.06);
  --shadow-hover:      0 4px 20px rgba(0,0,0,.12);
  --max-width:         1200px;
  --header-height:     64px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-surface-alt);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
}

/* =====================================================
   LAYOUT WRAPPERS
   ===================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.site-content {
  padding-block: 48px;
}

/* Two-column layout */
.content-area {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg-dark);
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.site-branding .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-branding .logo-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.site-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
  text-transform: uppercase;
}

/* Navigation */
.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-navigation a {
  display: block;
  padding: 8px 16px;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  border-radius: var(--radius-md);
  transition: color .2s, background .2s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: #fff;
}

.main-navigation .current-menu-item > a {
  background: rgba(255,255,255,.12);
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
  background: var(--color-hero-bg);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Decorative background shape */
.hero-section::before {
  display: none;
}

.hero-inner {
  position: relative;
  max-width: 680px;
}

.hero-badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--color-primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #1c2434;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1rem;
  color: #3d4a5c;
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
  line-height: 1;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-h);
  border-color: var(--color-primary-h);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #1c2434;
  border-color: #1c2434;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(79,70,229,.06);
}

.btn-teal {
  color: var(--color-teal);
  font-size: .85rem;
  font-weight: 600;
  padding: 0;
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-teal:hover { text-decoration: underline; }

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
}

.section-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color .2s;
}
.section-link:hover { color: var(--color-primary-h); }

/* =====================================================
   POST CARDS — main list
   ===================================================== */
.posts-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 300px 1fr;
  box-shadow: var(--shadow-card);
  transition: box-shadow .25s, transform .25s;
}

.post-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.post-card-image {
  position: relative;
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.post-card:hover .post-card-image img {
  transform: scale(1.04);
}

.post-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--color-accent);
  color: #fff;
}

.post-card-badge.badge-edicao { background: #1e3a5f; color: #fff; }
.post-card-badge.badge-entrevista { background: var(--color-accent); }

.post-card-body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
}

.post-card-cats {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.post-card-cats .cat-icon {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}

.post-card-cats .cat-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.post-card-cats .cat-label span + span::before {
  content: ' • ';
}

.post-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.post-card-title a:hover { color: var(--color-primary); }

.post-card-excerpt {
  font-size: .875rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.post-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name {
  font-size: .8rem;
  color: var(--color-text-light);
  font-style: italic;
}

.post-card-read-more {
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.post-card-read-more:hover { gap: 8px; }

/* =====================================================
   SIDEBAR
   ===================================================== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.widget-title {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text);
  padding-bottom: 14px;
  border-bottom: 3px solid var(--color-sidebar-dec);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 0;
}

/* Portal do Pesquisador */
.portal-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portal-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: .9rem;
  color: var(--color-text);
  transition: background .2s, color .2s;
}

.portal-link:hover {
  background: var(--color-surface-alt);
  color: var(--color-primary);
}

.portal-link svg {
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

/* E-books */
.ebook-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ebook-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: start;
}

.ebook-cover {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--color-surface-alt);
}

.ebook-info .ebook-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
  line-height: 1.3;
}

.ebook-info .ebook-author {
  font-size: .75rem;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.ebook-info .ebook-link {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.ebook-info .ebook-link:hover { text-decoration: underline; }

/* CTA widget */
.sidebar-widget.widget-cta {
  background: var(--color-primary);
  color: #fff;
}

.widget-cta .cta-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.widget-cta .cta-text {
  font-size: .875rem;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
  margin-bottom: 20px;
}

.widget-cta .btn-white {
  display: block;
  text-align: center;
  padding: 12px 24px;
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  font-size: .875rem;
  border-radius: var(--radius-md);
  transition: opacity .2s;
}
.widget-cta .btn-white:hover { opacity: .9; }

/* =====================================================
   EXTRA POST CARD (event/download style)
   ===================================================== */
.event-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin-top: 8px;
}

.event-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.event-card-meta svg {
  width: 14px;
  height: 14px;
  color: var(--color-text-muted);
}

.event-card-meta span {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.event-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.event-card-text {
  font-size: .875rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,.65);
  padding-top: 56px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 180px 200px;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .site-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer-col-title {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }

/* Sponsors */
.footer-sponsors {
  padding-block: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: center;
}

.sponsors-label {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}

.sponsors-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sponsor-badge {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.4);
}

/* Footer bottom bar */
.footer-bottom {
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
}

.footer-bottom .copyright {
  color: rgba(255,255,255,.4);
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  color: rgba(255,255,255,.4);
  font-size: .8rem;
  transition: color .2s;
}
.footer-social a:hover { color: #fff; }

/* =====================================================
   SINGLE POST
   ===================================================== */
.single-post-header {
  background: var(--color-bg-dark);
  padding: 56px 0 48px;
}

.single-post-cats {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.single-post-cats .cat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.single-post-cats span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

.single-post-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  max-width: 780px;
  margin-bottom: 20px;
}

.single-post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

.post-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-surface);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.post-content h2, .post-content h3 {
  margin-block: 28px 12px;
}

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

.post-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 0;
  flex-wrap: wrap;
}

.page-numbers {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-text-light);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all .2s;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .content-area {
    grid-template-columns: 1fr;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

  .post-card-image {
    height: 220px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-header .container {
    padding-inline: 16px;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg-dark);
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
  }

  .menu-toggle {
    display: block;
  }

  .hero-section { padding: 48px 0 56px; }
  .hero-title   { font-size: 1.75rem; }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
/* Oculta widget de E-books na categoria e-books */
.category-ebooks .sidebar-widget:has(h2:contains("E-books")),
.category-ebooks .wp-block-query,
.category-ebooks .wp-block-latest-posts {
    display: none !important;
}
/* Paginação horizontal */
.pagination,
.nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
    display: flex !important;
    width: 38px !important;
    height: 38px !important;
}
/* =====================================================
   HERO IMAGE
   ===================================================== */
.hero-has-image {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 48px;
    align-items: center;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 40px rgba(0,0,0,.35);
    display: block;
}

@media (max-width: 900px) {
    .hero-has-image {
        grid-template-columns: 1fr;
    }
    .hero-image {
        display: none;
    }
}

/* =====================================================
   HERO BANNER (imagem larga + botões abaixo)
   ===================================================== */
.hero-banner-wrap {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.10);
}

.hero-banner-wrap img {
    width: 100%;
    height: auto;
    display: block;
    /* SEM max-height para não cortar o banner */
}

.hero-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    justify-content: center;
}

/* Quando tem banner, padding do hero é menor no topo */
.hero-section:has(.hero-banner-wrap) {
    padding: 32px 0 40px;
}

/* =====================================================
   HERO IMAGE (imagem lateral)
   ===================================================== */
.hero-has-image {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 48px;
    align-items: center;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 40px rgba(0,0,0,.15);
    display: block;
}

@media (max-width: 900px) {
    .hero-has-image {
        grid-template-columns: 1fr;
    }
    .hero-image {
        display: none;
    }
    .hero-banner-actions {
        justify-content: flex-start;
    }
}

/* =====================================================
   MOBILE DRAWER
   ===================================================== */

/* Overlay escuro */
#mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 998;
    opacity: 0;
    transition: opacity .3s;
}

#mobile-overlay.is-visible {
    display: block;
    opacity: 1;
}

/* Drawer lateral */
#mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: #111827;
    z-index: 999;
    overflow-y: auto;
    transition: right .3s ease;
    padding-bottom: 40px;
}

#mobile-drawer.is-open {
    right: 0;
}

/* Header do drawer */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.drawer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
}

.drawer-logo img {
    height: 32px;
    width: auto;
}

#mobile-drawer-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.7);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .2s, background .2s;
}

#mobile-drawer-close:hover {
    color: #fff;
    background: rgba(255,255,255,.1);
}

/* Nav do drawer */
.drawer-nav ul {
    list-style: none;
    padding: 12px 0;
    margin: 0;
}

.drawer-nav li {
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.drawer-nav a {
    display: block;
    padding: 14px 20px;
    color: rgba(255,255,255,.85);
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s, background .2s;
}

.drawer-nav a:hover,
.drawer-nav .current-menu-item > a {
    color: #fff;
    background: rgba(255,255,255,.06);
}

.drawer-nav .current-menu-item > a {
    color: var(--color-primary);
    border-left: 3px solid var(--color-primary);
    padding-left: 17px;
}

/* Botão de expandir submenu */
.drawer-nav .submenu-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,.5);
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: color .2s, transform .2s;
}

.drawer-nav .menu-item-has-children.submenu-open > .submenu-toggle {
    transform: translateY(-50%) rotate(180deg);
    color: #fff;
}

/* Submenu */
.drawer-nav .sub-menu {
    display: none;
    background: rgba(0,0,0,.2);
    padding: 4px 0;
}

.drawer-nav .submenu-open > .sub-menu {
    display: block;
}

.drawer-nav .sub-menu a {
    padding: 10px 20px 10px 36px;
    font-size: .875rem;
    color: rgba(255,255,255,.65);
}

/* Esconder botão hamburguer no desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.menu-toggle:hover {
    background: rgba(255,255,255,.1);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none !important;
    }
}
