/*
Theme Name: Judiaria
Theme URI: https://judiarialisboa.com
Author: Judiaria Team
Description: Tema customizado desenvolvido para o Centro Cultural Judaico Rua da Judiaria.
Version: 1.0
Text Domain: judiaria
*/

/* O resto do seu código que já lá está continua abaixo disto... */
/* ==========================================================================
   1. VARIÁVEIS, RESET E GLOBAIS
   ========================================================================== */

:root {
    --blue-dark: #101E31;
    --blue-header: #1A2B42;
    --blue-light: #2c425e;
    --gold: #C5A059;
    --gold-hover: #b08d4b;
    --beige-bg: #F4F1EA;
    --text-dark: #2d2d2d;
    --text-light: #ffffff;
    --font-head: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--beige-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==========================================================================
   2. HEADER E NAVEGAÇÃO
   ========================================================================== */
.main-header {
    background-color: rgba(26, 43, 66, 0.75); /* Sua preferência de transparência */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.header-flex { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo img { height: 45px; width: auto; }

/* --- Links do Menu Desktop --- */
.desktop-nav > ul { display: flex; gap: 25px; align-items: center; }
.desktop-nav a {
    color: #e0e0e0;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}
.desktop-nav a:hover, .desktop-nav a.active { color: var(--gold); }

/* --- Botão Destaque "Agende um Tour" --- */
.desktop-nav ul li a.nav-highlight {
    color: #C5A059 !important;       
    border: 2px solid #C5A059 !important; 
    padding: 10px 20px !important;
    border-radius: 50px !important; 
    font-weight: 700 !important;
    
    /* NOVIDADE 1: Fundo levemente dourado e sombra constante para destacar parado */
    background-color: rgba(197, 160, 89, 0.15) !important; 
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
    
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
    
    /* NOVIDADE 2: Prepara o botão para receber a animação sem vazar */
    position: relative;
    overflow: hidden; 
}

/* O Feixe de Luz Branco (O Brilho que passa) */
.desktop-nav ul li a.nav-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shinePass 4s infinite; /* A cada 4 segundos o brilho passa */
    z-index: 1;
}

/* O Movimento do Brilho */
@keyframes shinePass {
    0% { left: -100%; }
    20% { left: 200%; } /* Passa rápido nos primeiros 20% do tempo */
    100% { left: 200%; } /* Fica invisível o resto do tempo (pausa) */
}

/* Mantém o efeito Gold forte quando passa o rato */
.desktop-nav ul li a.nav-highlight:hover,
.highlight-dropdown:hover > a.nav-highlight {
    background-color: #C5A059 !important;
    color: #fff !important; 
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.6);
    transform: translateY(-2px);
}

/* --- Dropdowns --- */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: 100%; left: 0;
    background: var(--blue-header); min-width: 200px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: 0.3s;
    border-top: 2px solid var(--gold); padding: 10px 0;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown li a {
    display: block; padding: 10px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-transform: none; color: #ccc; 
    font-weight: 500 !important; border: none !important;
    transition: all 0.2s ease;
}
.dropdown li a:hover { 
    color: var(--gold) !important;
    background: rgba(255,255,255,0.05);
    padding-left: 25px;
}

/* Dropdown do Botão Destaque */
.highlight-dropdown .dropdown {
    min-width: 220px; right: 0; left: auto; top: 120%; 
}

/* --- Submenu Lateral (Nível 3) --- */
.has-submenu { position: relative; }
.submenu-trigger { display: flex !important; justify-content: space-between; align-items: center; }
.submenu-side {
    position: absolute; top: 0; left: 100%; width: 200px;
    background: var(--blue-header);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
    opacity: 0; visibility: hidden;
    transform: translateX(10px); transition: all 0.3s ease;
    border-top: 2px solid var(--gold); padding: 10px 0;
}
.has-submenu:hover .submenu-side { opacity: 1; visibility: visible; transform: translateX(0); }
.submenu-side li a:hover { padding-left: 25px; }

/* --- Bandeiras e Ações --- */
.header-actions { display: flex; align-items: center; gap: 20px; color: #fff; font-size: 0.85rem; }
.lang-flags { display: flex; gap: 10px; align-items: center; }
.lang-flags img { 
    width: 24px; height: auto; border-radius: 2px; 
    opacity: 0.8; transition: all 0.3s ease; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); 
}
.lang-flags a:hover img { opacity: 1; transform: scale(1.1); box-shadow: 0 4px 8px rgba(197, 160, 89, 0.4); }
.divider { opacity: 0.5; }

/* ==========================================================================
   3. BOTÕES E COMPONENTES 
   ========================================================================== */

/* Estilo Base do Botão */
.btn-premium {
    position: relative;
    padding: 14px 35px; /* Tamanho confortável e elegante */
    font-family: var(--font-body);
    font-weight: 600; /* Peso médio para leitura clara */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px; /* Espaçamento "chique" entre letras */
    color: #fff !important;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px; /* O arredondado sutil e moderno */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Animação muito suave */
    overflow: hidden; 
    z-index: 1;
}

/* Removemos a borda interna antiga (::after) para limpar o visual */
.btn-premium::after {
    display: none;
}

/* --- VARIANTE DOURADA (PREMIUM GOLD) --- */
.btn-gold {
    /* Degradê sutil do dourado para dar brilho e profundidade */
    background: linear-gradient(135deg, #C5A059 0%, #b08d4b 100%);
    
    /* Sombra dourada difusa para o botão "brilhar" */
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3); 
}

.btn-gold:hover {
    /* Ao passar o mouse, inverte levemente o brilho */
    background: linear-gradient(135deg, #D4AF37 0%, #C5A059 100%);
    transform: translateY(-3px); /* Levanta levemente */
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.5); /* Aumenta o brilho */
}

/* --- VARIANTE AZUL (ROYAL BLUE) --- */
.btn-blue {
    /* Degradê do azul institucional */
    background: linear-gradient(135deg, #2c425e 0%, #101E31 100%);
    box-shadow: 0 4px 15px rgba(26, 43, 66, 0.4);
}

.btn-blue:hover {
    background: linear-gradient(135deg, #344e6e 0%, #1A2B42 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 43, 66, 0.6);
}

/* --- BOTÃO OUTLINE (Borda Fina - Usado no Slider às vezes) --- */
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4); /* Borda mais sutil */
    padding: 12px 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    border-radius: 6px; /* Segue o mesmo padrão arredondado */
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #fff;
    color: var(--blue-dark);
    border-color: #fff;
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Ajustes de Tamanho */
.btn-premium-sm { 
    padding: 10px 25px; 
    font-size: 0.8rem; 
}

.btn-full { 
    width: 100%; 
}

/* ==========================================================================
   4. HERO SECTIONS (SLIDER & BANNER)
   ========================================================================== */
/* Slider Home */
.hero-slider { position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: hidden;  }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    display: flex; align-items: center; opacity: 0; transition: opacity 1s ease-in-out; z-index: 1;
}
.slide.active { opacity: 1; z-index: 2;} /*animation: zoomBackground 6s infinite alternate; } */
@keyframes zoomBackground { from { background-size: 100%; } to { background-size: 105%; } }

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0) 70%);
}
.hero-content {
    position: relative; z-index: 3; color: #fff; max-width: 700px; margin-left: 5%;
    transform: translateY(30px); opacity: 0; transition: all 0.8s ease 0.3s;
}
.slide.active .hero-content, .page-hero .hero-content { transform: translateY(0); opacity: 1; }
.hero-content h1, .page-hero h1 {
    font-family: var(--font-head); font-size: 4rem; line-height: 1.1; margin-bottom: 20px; text-shadow: 2px 2px 15px rgba(0,0,0,0.9);
}
.hero-subtitle { font-size: 1.2rem; margin-bottom: 30px; opacity: 1; max-width: 600px; text-shadow: 1px 1px 10px rgba(0,0,0, 0.9); }
.hero-buttons { display: flex; gap: 20px; }

/* Slider Controls */
.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3);
    color: #fff; font-size: 1.5rem; width: 50px; height: 50px;
    cursor: pointer; z-index: 10; border-radius: 50%;
    transition: 0.3s; display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: var(--gold); border-color: var(--gold); }
.prev { left: 20px; } .next { right: 20px; }
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 15px; z-index: 10; padding: 0; margin: 0; list-style: none;}
.dot { display: block; width: 12px; height: 12px; background: rgba(255,255,255,0.5); border-radius: 50%; cursor: pointer; transition: all 0.3s ease; border: 2px solid transparent; box-sizing: border-box;}
.dot.active, .dot:hover { background: transparent; border-color: var(--gold); transform: scale(1.3); position: relative; }
.dot.active::after {content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 4px; height: 4px; background-color: var(--gold); border-radius: 50%;
}

/* Page Hero (Páginas Internas) */
.page-hero {
    height: 300px; 
    background-size: cover; background-position: center;
    position: relative; display: flex; align-items: center; justify-content: center;
    margin-top: 0; margin-bottom: 0; padding-top: 80px;
}
.page-hero h1 { font-size: 2.5rem; margin-bottom: 5px; } 
.breadcrumbs { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; opacity: 0.9; color: var(--gold); font-weight: 600; }

/* ==========================================================================
   5. LAYOUTS GERAIS E ESPAÇAMENTOS
   ========================================================================== */
.intro-bar { background-color: #EAE6DD; padding: 25px 0; border-bottom: 1px solid #dcdcdc; text-align: center; }
.intro-bar p { font-family: var(--font-head); font-size: 1.2rem; color: var(--text-dark); }
.intro-bar a { font-family: var(--font-body); font-size: 0.9rem; color: var(--blue-header); text-transform: uppercase; font-weight: 600; margin-left: 10px; border-bottom: 1px solid var(--blue-header); }

.bg-paper { background-color: var(--beige-bg); }
.section-padding { padding: 40px 0; }

/* Helpers de Espaçamento */
.pt-small { padding-top: 10px; }
.pt-mini { padding-top: 20px; }
.pb-small { padding-bottom: 10px; }
.pb-mini { padding-bottom: 20px; }
.mt-small { margin-top: 10px; }
.mt-40 { margin-top: 40px; }
.text-left { text-align: left; }
.text-center { text-align: center; }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; margin-top: 20px; }

/* Cards Genéricos */
.card-highlight { background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: transform 0.3s ease; border: 1px solid #e0e0e0; }
.card-highlight:hover { transform: translateY(-5px); }
.card-img { height: 240px; background-size: cover; background-position: center; }
.card-body { padding: 30px; text-align: left; }
.card-body h3 { font-family: var(--font-head); color: var(--blue-header); font-size: 1.5rem; margin-bottom: 10px; }
.card-body p { color: #666; font-size: 0.95rem; margin-bottom: 20px; line-height: 1.5; }

/* Layout de Artigo + Sidebar */
.article-layout{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;

  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px; /* aumenta ou diminui aqui */
  width: 100%;
}

@media (max-width: 992px){
  .article-layout{ padding: 0 20px; }
}
.article-title { font-family: var(--font-head); font-size: 2.2rem; color: var(--blue-dark); margin-bottom: 10px; }
.article-content h3 { font-family: var(--font-head); font-size: 1.5rem; color: var(--blue-header); margin: 30px 0 15px 0; }
.article-content p { margin-bottom: 20px; color: #444; }
.pull-quote { 
    margin: 30px 0; padding: 20px 0 20px 30px; 
    border-left: 4px solid var(--gold); 
    font-family: var(--font-head); font-style: italic; font-size: 1.4rem; color: var(--blue-dark); 
    background-color: rgba(255,255,255,0.5); 
}

/* Divisores */
.divider-line { height: 1px; background: var(--gold); width: 100%; opacity: 0.5; }
.divider-left { width: 80px; margin: 20px 0 30px 0; }
.divider-center { margin: 20px auto; width: 80px; height: 2px; opacity: 1; }
.section-subtitle { 
    font-family: var(--font-head); color: var(--blue-dark); font-size: 1.8rem; 
    margin-bottom: 30px !important; margin-top: 20px; display: block; 
}

/* ==========================================================================
   6. COMPONENTES ESPECÍFICOS (Cards, Mapas, Galerias)
   ========================================================================== */
/* Sidebar Widgets */
.map-card, .booking-card { 
    background: #fff; padding: 10px; border: 1px solid #ddd; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); position: sticky; top: 100px; 
}
.booking-card { padding: 25px; border-top: 4px solid var(--gold); border-radius: 4px; }
.map-caption { padding: 20px; }
.map-caption h4 { font-family: var(--font-head); color: var(--blue-dark); margin-bottom: 10px; }
.map-caption ul li, .tour-meta li { margin-bottom: 8px; font-size: 0.9rem; color: #666; display: flex; gap: 10px; }
.map-caption i, .tour-meta i { color: var(--gold); margin-right: 8px; }

/* Galeria */
.gallery-section { margin-top: 40px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.gallery-item { height: 250px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }

/* Projetos */
.subpage-card { display: block; background: #fff; border: 1px solid #e0e0e0; transition: 0.3s; }
.subpage-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.subpage-img { height: 160px; background-size: cover; background-position: center; position: relative; }
.subpage-content { padding: 20px; text-align: center; }
.subpage-content h4 { color: var(--blue-header); font-family: var(--font-head); margin-bottom: 10px; }

/* ATUALIZAÇÃO: Transformando o link "Saiba Mais" em Botão Gold  */
.read-more { 
    display: inline-block; 
    margin-top: 15px;
    padding: 8px 25px; 
    background: linear-gradient(135deg, #C5A059 0%, #b08d4b 100%); 
    color: #fff !important; 
    border-radius: 6px; 
    font-size: 0.75rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
    transition: all 0.3s ease;
}

.subpage-card:hover .read-more {
    background: linear-gradient(135deg, #D4AF37 0%, #C5A059 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(197, 160, 89, 0.5);
}

.project-card { position: relative; cursor: pointer; overflow: hidden; }
.project-img-wrapper { height: 180px; background-color: #f0f0f0; position: relative; border-bottom: 3px solid var(--gold); }
.project-bg { width: 100%; height: 100%; transition: 0.3s; }
.project-card:hover .project-bg { transform: scale(1.05); }
.project-content { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(255,255,255,0.95); padding: 15px; }
.project-content h4 { color: var(--blue-header); font-family: var(--font-head); font-size: 1.1rem; }
.project-content p { font-size: 0.8rem; color: #666; display: none; }
.project-desc { font-size: 0.9rem; color: #666; margin-bottom: 15px; line-height: 1.5; }
.badge-coming-soon { position: absolute; top: 10px; right: 10px; background: var(--blue-dark); color: #fff; font-size: 0.7rem; padding: 5px 10px; border-radius: 2px; }

/* Eventos */
.event-card { background: #fff; border: 1px solid #e0e0e0; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.3s ease; border-radius: 4px; overflow: hidden; }
.event-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.event-img { height: 250px; background-size: cover; position: relative; }
.event-date { position: absolute; top: 20px; right: 20px; background: #fff; padding: 10px 15px; text-align: center; border-top: 3px solid var(--gold); }
.event-date .day { display: block; font-size: 1.5rem; font-weight: 700; color: var(--blue-dark); line-height: 1; }
.event-date .month { display: block; font-size: 0.8rem; text-transform: uppercase; color: #666; }
.event-body { padding: 30px; }
.event-category { font-size: 0.8rem; text-transform: uppercase; color: var(--gold); font-weight: 600; display: block; margin-bottom: 10px; }
.schedule-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #eee; }
.schedule-list .s-time { font-weight: 700; color: var(--gold); background: rgba(197, 160, 89, 0.1); padding: 4px 8px; border-radius: 4px; }

/* Contacto */
.contact-info-box { background-color: #fff; padding: 30px; border: 1px solid #eee; border-left: 4px solid var(--gold); margin-bottom: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.c-item { display: flex; align-items: flex-start; margin-bottom: 20px; gap: 15px; }
.c-item:last-child { margin-bottom: 0; }
.c-item i { color: var(--gold); font-size: 1.2rem; margin-top: 5px; width: 25px; text-align: center; }
.c-item strong { display: block; color: var(--blue-dark); font-family: var(--font-head); margin-bottom: 3px; }
.c-item p, .c-item a { color: #666; font-size: 0.95rem; margin: 0; }
.c-item a:hover { color: var(--gold); }
.map-responsive iframe { border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.contact-form .form-group { margin-bottom: 15px; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--blue-dark); margin-bottom: 10px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 2px; font-family: var(--font-body); font-size: 0.9rem; background-color: #f9f9f9; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); background-color: #fff; }
/* --- CORREÇÕES CONTACT FORM 7 --- */
/* Força a caixa a ocupar 100% do espaço */
.contact-form span.wpcf7-form-control-wrap { 
    display: block; 
    width: 100%; 
}

/* Remove o espaço gigante (buraco) criado pelo Contact Form 7 */
.contact-form p {
    margin-bottom: 0;
}

/* Puxa a caixa para pertinho do título */
.wpcf7-form-control-wrap {
    margin-top: -5px; 
}

/* Esconde quebras de linha que o Contact Form 7 gera sozinho */
.contact-form br { 
    display: none; 
}

/* Tours & Estatísticas */
.tour-highlights { list-style: none; margin: 30px 0; padding: 0; }
.tour-highlights li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 1rem; color: var(--text-dark); }
.tour-highlights li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--gold); position: absolute; left: 0; top: 2px; }
.price-tag { text-align: center; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.price-value { font-family: var(--font-head); font-size: 2.5rem; color: var(--blue-dark); font-weight: 700; display: block; }
.price-label { font-size: 0.9rem; color: #666; text-transform: uppercase; }
.stats-container { display: flex; justify-content: space-between; background-color: rgba(197, 160, 89, 0.1); padding: 15px; border-radius: 4px; margin-bottom: 20px; border: 1px solid rgba(197, 160, 89, 0.3); }
.stat-item { flex: 1; text-align: center; }
.stat-item:first-child { border-right: 1px solid rgba(0,0,0,0.1); }
.stat-number { display: block; font-size: 1.8rem; font-weight: 700; color: #1A2B42; font-family: 'Playfair Display', serif; line-height: 1; }
.stat-label { display: block; font-size: 0.75rem; text-transform: uppercase; color: #666; margin-top: 5px; font-weight: 600; }
.synagogue-alert-box { background: #fff; border: 1px solid #e0e0e0; border-left: 5px solid var(--gold); padding: 30px; display: flex; gap: 20px; }
.alert-icon { font-size: 2rem; color: var(--gold); flex-shrink: 0; }
.schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 20px 0; }
.s-item { background: rgba(26, 43, 66, 0.05); padding: 15px; border-radius: 4px; text-align: center; }
.s-item strong { display: block; color: var(--blue-dark); margin-bottom: 5px; font-size: 0.9rem; }
.s-item span { color: var(--gold); font-weight: 700; font-family: var(--font-head); }
.small-note { font-size: 0.85rem; color: #666; margin-top: 15px; font-style: italic; border-top: 1px solid #eee; padding-top: 10px; }

/* Novas Seções */
.section-donate { padding: 80px 0; border-top: 4px solid var(--gold); background-color: var(--blue-dark); color: #fff; }
.donate-text { max-width: 700px; margin: 0 auto 40px auto; font-size: 1.1rem; opacity: 0.9; }
.section-donate img {
    display: block;
    margin: 0 auto 40px auto; /* O '0 auto' centraliza. O '40px' dá o espaçamento para o botão */
    max-width: 500px;         /* Diminui a imagem. Pode alterar para 400px ou 600px se preferir */
    width: 100%;              /* Garante que no telemóvel ela não sai do ecrã */
    border-radius: 8px;       /* Opcional: Deixa os cantinhos da foto levemente arredondados */
}
.section-festivity { padding: 80px 0; border-bottom: 1px solid #dcdcdc; }
.festivity-label { display: block; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 10px; }
.festivity-title { font-family: var(--font-head); font-size: 3.5rem; color: var(--blue-dark); margin-bottom: 5px; line-height: 1.2; }
.festivity-date { font-size: 1.5rem; color: #666; font-family: var(--font-head); margin-bottom: 30px; font-style: italic; }
.festivity-desc { max-width: 600px; margin: 0 auto 40px auto; color: var(--text-dark); }
.bg-blue-dark { background-color: var(--blue-dark); color: #fff; }
.text-white { color: #fff !important; }
.bg-gold { background-color: var(--gold); }

/* Diálogo Slides */
.presentation-container { margin: 40px 0; text-align: center; }
.presentation-screen { background: #000; padding: 10px; border-radius: 4px; box-shadow: 0 15px 40px rgba(0,0,0,0.2); position: relative; overflow: hidden; }
.presentation-screen img { width: 100%; display: block; border-radius: 2px; }
.presentation-controls { background: rgba(0,0,0,0.8); color: #fff; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; border-top: 1px solid #333; }
.p-dots { display: flex; gap: 5px; }
.p-dots i { font-size: 0.5rem; color: #555; }
.p-dots i.active { color: var(--gold); }
.caption-text { font-size: 0.85rem; color: #777; margin-top: 10px; font-style: italic; }
.article-content ul.dialogue-list { list-style: none; margin-top: 20px; }
.article-content ul.dialogue-list li { margin-bottom: 15px; padding-left: 30px; position: relative; color: #555; }
.article-content ul.dialogue-list li::before { content: '\f086'; font-family: 'Font Awesome 5 Free'; font-weight: 900; color: var(--gold); position: absolute; left: 0; top: 2px; }
.brass-text { background-color: #c5a059; color: #3e2b10; padding: 2px 6px; font-family: monospace; font-weight: bold; border-radius: 2px; font-size: 0.9em; letter-spacing: 1px; }

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.main-footer { background-color: #0B131E; color: #889bb0; padding-top: 60px; font-size: 0.9rem; border-top: 4px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-logo { max-width: 140px; margin-bottom: 20px; opacity: 1;  }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a, .contact-list a { color: #889bb0; transition: all 0.3s; text-decoration: none; }
.footer-links a:hover, .contact-list a:hover { color: var(--gold); padding-left: 5px; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 12px; font-family: monospace; font-size: 0.85rem; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; background: rgba(255,255,255,0.05); border-radius: 50%; margin-right: 10px; color: #fff; transition: 0.3s; }
.social-links a:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }
.footer-flags img { width: 20px; margin-right: 10px; opacity: 0.6; transition: 0.3s; }
.footer-flags img:hover { opacity: 1; }
.footer-bottom { background-color: #070d14; padding: 20px 0; font-size: 0.75rem; color: #556; border-top: 1px solid rgba(255,255,255,0.05); }
.bottom-flex { display: flex; justify-content: space-between; flex-wrap: wrap; }

/* ==========================================================================
   8. MOBILE E RESPONSIVIDADE
   ========================================================================== */
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; color: #fff; cursor: pointer; }

/* Menu Mobile Ajustado */
.mobile-menu {
    display: none; padding: 20px; background: var(--blue-header);
    position: fixed; top: 80px; left: 0; width: 100%; height: calc(100vh - 80px);
    overflow-y: auto; padding-bottom: 100px; border-top: 1px solid rgba(255,255,255,0.1); z-index: 999;
}
.mobile-menu a { display: block; padding: 15px 10px; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 1rem; transition: background 0.2s; }
.mobile-menu a:hover, .mobile-menu a:active { background-color: rgba(197, 160, 89, 0.1); color: var(--gold); padding-left: 20px; }
.mobile-tour-section { margin-top: 20px; border-top: 2px solid var(--gold); padding-top: 20px; margin-bottom: 20px; }
.mobile-tour-title { display: block; color: var(--gold); font-weight: 700; margin-bottom: 15px; padding-left: 10px; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.mobile-tour-section a { padding-left: 25px; font-size: 0.95rem; color: #e0e0e0; border-bottom: 1px solid rgba(255,255,255,0.02); }
.mobile-tour-section a:active { background-color: rgba(197, 160, 89, 0.05); color: var(--gold); }

@media (max-width: 992px) {
    .desktop-nav { display: none; }
    .mobile-toggle { display: block; }
    .hero h1, .page-hero h1 { font-size: 2.5rem; }
    .article-layout { grid-template-columns: 1fr; }
    .content-layout, .synagogue-alert-box { flex-direction: column; }
    .map-card, .booking-card { position: static; margin-top: 30px; }
    .grid-2, .schedule-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-logo { margin: 0 auto 20px auto; }
    .bottom-flex { flex-direction: column; text-align: center; gap: 10px; }
    .section-donate, .section-festivity { padding: 60px 0; }
    .festivity-title { font-size: 2.5rem; }
}
/* ==========================================================================
   9. EXTRAS
   ========================================================================== */
/* --- LIGHTBOX UNIVERSAL (ATUALIZADO) --- */

/* Imagem que dispara o lightbox */
.lightbox-trigger {
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
}
.lightbox-trigger:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* Fundo da Janela Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
}

/* A Imagem em Tela Cheia */
.lightbox-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border: 2px solid #333;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    transition: opacity 0.2s; /* Para o efeito de troca suave */
}

/* Legenda da Imagem */
#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    height: auto;
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* Botão Fechar (X) */
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2002;
    line-height: 1;
}
.close-lightbox:hover { color: var(--gold); }

/* Setas de Navegação (Anterior/Próxima) */
.lightbox-nav {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 2001;
    background-color: rgba(0,0,0,0.3); /* Fundo sutil para ver melhor */
}

/* Posição das setas */
.lightbox-next { right: 0; border-radius: 3px 0 0 3px; }
.lightbox-prev { left: 0; border-radius: 0 3px 3px 0; }

.lightbox-nav:hover {
    background-color: var(--gold); /* Destaque dourado no hover */
    color: white;
}

/* Responsividade Lightbox */
@media only screen and (max-width: 700px){
    .lightbox-content { width: 100%; }
    .lightbox-nav { font-size: 20px; padding: 10px; } /* Setas menores no celular */
}



/* --- CARROSSEL INFINITO --- */
.carousel-container {
    width: 100%;
    overflow: hidden; /* Esconde o que sai da tela */
    position: relative;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: 20px; /* Espaço entre as imagens */
    width: max-content; /* Permite que a pista seja tão larga quanto necessário */
    animation: scroll 40s linear infinite; /* Animação de 40 segundos, ajuste se quiser mais rápido/lento */
}

/* O Item Individual */
.carousel-item {
    flex: 0 0 auto;
    width: 300px; /* Largura fixa para mostrar aprox. 3 num desktop padrão */
    height: 200px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.carousel-item img:hover {
    transform: scale(1.1);
}

/* Pausa a animação ao passar o mouse */
.carousel-track:hover {
    animation-play-state: paused;
}

/* A Animação Mágica */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Move metade, pois duplicamos o conteúdo */
}

/* Responsividade: Imagens menores no celular */
@media (max-width: 768px) {
    .carousel-item {
        width: 250px;
        height: 160px;
    }
}

/* --- SLIDER DE CONTEÚDO (GALERIAS COM 3 ITENS) --- */
.content-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    min-height: 300px; /* Garante altura */
}

.content-slide {
    display: none; /* Escondido por padrão */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    animation: fadeEffect 1s; /* Efeito suave de troca */
}

/* Quando ativo, vira grid */
.content-slide.active-slide {
    display: grid;
}

/* Efeito Fade */
@keyframes fadeEffect {
    from {opacity: 0.4} 
    to {opacity: 1}
}

/* Responsividade do Slider de Conteúdo */
@media (max-width: 768px) {
    .content-slide {
        grid-template-columns: 1fr; /* 1 imagem por vez no celular */
    }
}

/* --- WIDGET TIMELINE (Barra Lateral) --- */
.timeline-box {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: left; /* Garante alinhamento à esquerda */
}

.timeline-title {
    font-family: var(--font-head);
    color: var(--blue-dark);
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: block;
}

.t-item {
    position: relative;
    padding-left: 20px;
    padding-bottom: 20px;
    border-left: 2px solid #e0e0e0;
}

.t-item:last-child {
    border-left: 2px solid transparent; /* Remove linha do último item */
}

/* A bolinha da linha do tempo */
.t-item::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    position: absolute;
    left: -6px; /* Centraliza na linha */
    top: 0;
    box-shadow: 0 0 0 3px #fff; /* Borda branca para separar da linha */
}

.t-date {
    display: block;
    font-size: 0.75rem;
    color: #999;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.t-text {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

/* Imagem dentro da timeline */
.t-img {
    width: 100%;
    border-radius: 4px;
    margin-top: 8px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: opacity 0.3s;
}

.t-img:hover {
    opacity: 0.8;
}

/* Corrige o topo do header quando a barra de admin do WP está ativa */
.admin-bar .main-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .main-header {
    top: 46px;
  }
}

/* CTA destacado no topo do menu mobile */

.mobile-menu a.mobile-cta {
  /* Fundo: Degradê Dourado Premium */
  background: linear-gradient(135deg, var(--gold) 0%, #e6c87f 50%, var(--gold) 100%);
  background-size: 200% auto; /* Permite animação do brilho */
  
  /* Texto */
  color: #fff !important;
  font-family: var(--font-body);
  font-weight: 700; /* Bold mantido */
  text-transform: uppercase;
  letter-spacing: 1px; /* Espaçamento chique */
  font-size: 1rem; /* Aumentado de 0.85rem para 1rem */
  text-align: center;
  
  /* Forma e Espaçamento */
  border-radius: 8px; /* Menos arredondado (antes era 50px) */
  border: 1px solid rgba(255,255,255,0.2); /* Borda sutil para definição */
  padding: 16px 20px;
  margin: 20px 15px 25px 15px; /* Margens para separar bem */
  display: block; /* Garante que o botão ocupe o espaço */
  width: calc(100% - 30px); /* Ajusta largura considerando margens */
  
  /* Efeitos */
  box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3); /* Sombra Dourada Suave */
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Transição suave */
}

/* Estado Hover (Ao passar o dedo/mouse) */
.mobile-menu a.mobile-cta:hover,
.mobile-menu a.mobile-cta:active {
  background-position: right center; /* Move o brilho do degradê */
  transform: translateY(-3px); /* Levanta levemente o botão */
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.5); /* Aumenta o brilho */
  color: #fff !important;
  border-color: rgba(255,255,255,0.5);
  padding-left: 20px; /* Bloqueia o efeito de slide padrão dos outros links */
}
/* Mobile: no topo fica só bandeiras + hamburger (esconde o botão Apoie/Support) */
@media (max-width: 992px) {
  .main-header .header-actions > a.btn-premium {
    display: none !important;
  }
}

/* Menu mobile com hierarquia (secções vs subitens) */
@media (max-width: 992px) {

  /* 1. TÍTULOS DE SECÇÃO (PAIS) - DOURADO E DESTAQUE */
  .mobile-menu a[href="/quem-somos/"],
  .mobile-menu a[href="/eventos/"],
  .mobile-menu a[href="/projetos/"],
  .mobile-menu a[href="/contacto/"],
  .mobile-menu a[href="/tour/"],
  .mobile-menu a[href="/en/about-us/"],
  .mobile-menu a[href="/en/events/"],
  .mobile-menu a[href="/en/projects/"],
  .mobile-menu a[href="/en/contact-us/"],
  .mobile-menu a[href="/en/book-a-tour/"] {
    color: var(--gold) !important; /* Força a cor Dourada */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 18px;
    margin-top: 10px;
    border-top: 1px solid rgba(197, 160, 89, 0.2); /* Linha divisória sutil em dourado */
    font-size: 1rem;
    position: relative;
  }

  /* Primeira secção (ajuste fino para não colar no topo) */
  .mobile-menu a[href="/quem-somos/"],
  .mobile-menu a[href="/en/about-us/"] {
    border-top: none;
    margin-top: 0;
  }

  /* 2. SUBITENS (FILHOS) - RECUADOS E MAIS CLAROS */
  .mobile-menu a:not(.mobile-cta)
    :not([href="/quem-somos/"])
    :not([href="/eventos/"])
    :not([href="/projetos/"])
    :not([href="/contacto/"])
    :not([href="/tour/"])
    :not([href="/en/about-us/"])
    :not([href="/en/events/"])
    :not([href="/en/projects/"])
    :not([href="/en/contact-us/"])
    :not([href="/en/book-a-tour/"]) {
    
    padding-left: 30px; /* Aumentei o recuo para ficar óbvio que é submenu */
    font-size: 0.9rem;  /* Fonte ligeiramente menor */
    color: rgba(255, 255, 255, 0.8) !important; /* Branco com leve transparência */
    font-weight: 400;
    border-bottom: none; /* Visual mais limpo sem linhas entre subitens */
    padding-top: 8px;
    padding-bottom: 8px;
  }
  
  /* Efeito ao passar o dedo/mouse no subitem */
  .mobile-menu a:not(.mobile-cta):not([href="/quem-somos/"]):hover {
      color: #fff !important;
      padding-left: 35px; /* Pequeno movimento para feedback visual */
      background-color: rgba(255,255,255,0.05);
  }
}

/* FIX HERO NO MOBILE: menos corte da imagem + texto/botões mais embaixo */
@media (max-width: 768px) {

  /* deixa o header (slider) menos alto no celular */
  .hero-slider {
    height: 78vh;        /* valor principal: diminui a altura */
    min-height: 520px;   /* evita ficar pequeno demais */
  }

  /* empurra o conteúdo para baixo (antes estava no meio) */
  .slide {
    align-items: flex-end;
    background-position: center top;  /* mostra mais “topo” da foto, corta menos */
  }

  /* conteúdo: largura total e espaço embaixo */
  .hero-content {
    margin-left: 0;
    padding: 0 20px 90px;  /* valor principal: aumenta/diminui para descer/subir */
    max-width: 100%;
  }

    /* reduzir tamanho do texto no mobile */
  .hero-content h1 {
    font-size: 2.9rem;   /* diminui o título */
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 1.5rem;   /* Tamanho do texto menorzinho */
    margin-bottom: 20px;
  }

  /* reduzir/aumentar tamanho dos botões no mobile */
  .hero-buttons .btn-premium {
    padding: 10px 16px;  /* menor */
    font-size: 1.05rem;  /* menor */
  }


  /* botões em coluna no mobile (fica mais limpo) */
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .hero-buttons .btn-premium {
    width: auto;
    max-width: 260px;
  }
}

/* Calendário: seletor de local (Shabat) */
#hebcalLocationSelect{
  max-width: 220px;
  width: 220px;
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
}

#hebcalLocationSelect option{
  color: #111;
  background: #dadada;
}

/* Alinhamento dos Logos no Footer */
.footer-logos-wrapper {
    display: flex;
    align-items: center;
    gap: 15px; /* Espaço entre os dois logos */
    margin-bottom: 20px;
}

.footer-logos-wrapper .footer-logo {
    margin-bottom: 0; /* Remove a margem antiga que o logo tinha */
    max-width: 50px; /* Tamanho do logo da Judiaria */
}

.footer-logo-atl {
    max-width: 280px; /* Tamanho do logo do Turismo de Lisboa - ajuste se quiser maior ou menor */
    height: auto;
    border-radius: 4px; /* Deixa os cantos da imagem ligeiramente arredondados */
}

/* No telemóvel, se quisermos que fiquem centrados */
@media (max-width: 992px) {
    .footer-logos-wrapper {
        justify-content: center;
    }
}

/* ==========================================================================
   FAB E POPUP DE AGENDAMENTO (MOBILE)
   ========================================================================== */
.tour-fab-container, .tour-popup-overlay {
    display: none !important; 
}

@media (max-width: 992px) {
    /* 1. O Container da Bolinha */
    .tour-fab-container {
        display: block !important;
        position: fixed !important;
        bottom: 25px;
        right: 20px;
        width: 60px;
        height: 60px;
        z-index: 999990 !important;
        touch-action: none;
    }

    /* 2. O X de Fechar a bolinha (Fica de fora, no canto) */
    .tour-fab-close {
        position: absolute;
        top: -4px;
        right: -4px;
        background: #fff;
        color: #333;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.3);
        border: 1px solid #ddd;
        z-index: 10;
        cursor: pointer;
    }

    /* 3. A Bolinha em si */
    .tour-fab-btn {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: linear-gradient(135deg, #C5A059 0%, #b08d4b 100%);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        box-shadow: 0 4px 15px rgba(197, 160, 89, 0.5);
        border: 2px solid #D4AF37;
        animation: floatPulse 2s infinite;
    }

    /* 4. O Fundo Escuro do Popup */
    .tour-popup-overlay {
        display: flex !important;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(11, 19, 30, 0.85); /* Fundo azul escuro transparente */
        backdrop-filter: blur(5px);
        z-index: 999999 !important;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    /* Ativa o Popup */
    .tour-popup-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* 5. O Cartão Branco do Popup */
    .tour-popup-box {
        background: #fff;
        width: 90%;
        max-width: 320px;
        border-radius: 12px;
        padding: 30px 25px;
        text-align: center;
        position: relative;
        transform: translateY(20px) scale(0.95);
        transition: all 0.3s ease;
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        border-top: 5px solid var(--gold);
    }

    .tour-popup-overlay.active .tour-popup-box {
        transform: translateY(0) scale(1); /* Animação de entrada */
    }

    /* O X do Popup */
    .tour-popup-close {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 20px;
        color: #999;
        cursor: pointer;
        padding: 5px;
    }

    /* Estilo do Texto no Popup */
    .tour-popup-box .popup-icon { font-size: 40px; color: var(--gold); margin-bottom: 15px; }
    .tour-popup-box h3 { font-family: var(--font-head); color: var(--blue-dark); font-size: 1.5rem; margin-bottom: 10px; }
    .tour-popup-box p { font-size: 0.95rem; color: #555; margin-bottom: 20px; line-height: 1.5; }
}

/* ===========================
   FIX: Sidebar + Carrossel
   cola no FINAL do style.css
   =========================== */

/* Impede conteúdo "max-content" de estourar a grid */
.article-layout{
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
.article-layout > *{
  min-width: 0;
}

/* Garante que a sidebar não cresce além da coluna */
.sidebar-map{
  min-width: 0;
}

/* A imagem do card não pode virar um "paredão" */
.sidebar-map .map-card img{
  display: block;
  width: 100%;
  height: 320px;      /* ajusta aqui: 260, 300, 360 */
  object-fit: cover;
}

/* Carrossel dentro da sidebar: 1 foto por vez */
.sidebar-map .carousel-container{
  padding: 10px 0 0;
}
.sidebar-map .carousel-track{
  gap: 0;
}
.sidebar-map .carousel-item{
  flex: 0 0 100%;
  width: 100%;
  height: 210px;      /* ajusta aqui */
}