/**
 * Atrações e Experiências PDA - Frontend Styles
 *
 * @package Atracoes_Experiencias_PDA
 * @version 1.3.0
 */

/* ==========================================================================
   Atrações Grid Widget
   ========================================================================== */

.aepda-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.aepda-card {
    display: block;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    cursor: pointer;
    height: 280px;
    border-radius: 15px;
}

.aepda-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    pointer-events: none;
}

.aepda-card__text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    z-index: 2;
    pointer-events: none;
    padding: 12px 20px;
    margin: 0 15px 15px 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    background-color: var(--aepda-card-bg, #8B5CF6);
    color: var(--aepda-card-color, #FFFFFF);
}

/* Link styles */
a.aepda-card {
    color: inherit;
    text-decoration: none;
    display: block;
}

a.aepda-card:hover {
    text-decoration: none;
}

a.aepda-card:focus {
    outline: none;
}

/* No results message */
.aepda-no-results {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

/* ==========================================================================
   Single Atração Page - Layout Principal
   ========================================================================== */

#aepda-pda-single-wrapper,
.aepda-pda-single-page {
    width: 100%;
    display: block;
    position: relative;
    z-index: 1;
    background: #fff;
    clear: both;
}

/* Resetar conflitos do tema */
.aepda-pda-single-page * {
    box-sizing: border-box;
}

/* Container Geral */
.aepda-pda-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   Hero Section (Imagem do Topo)
   ========================================================================== */

#aepda-pda-hero-section,
.aepda-pda-hero {
    width: 100%;
    min-height: 75vh;
    overflow: hidden;
    position: relative;
    display: block;
    background-color: #f0f0f0;
    z-index: 1;
    contain: layout style;
}

.aepda-pda-hero-img {
    width: 100% !important;
    height: 75vh !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.aepda-pda-breadcrumb {
    padding: 20px 0;
    background-color: #fff;
}

.aepda-pda-breadcrumb .rank-math-breadcrumb {
    font-size: 14px;
    color: #666;
}

.aepda-pda-breadcrumb .rank-math-breadcrumb a {
    color: #5B21B6;
    text-decoration: none;
}

.aepda-pda-breadcrumb .rank-math-breadcrumb a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Main Section - Título e Texto
   ========================================================================== */

#aepda-pda-main-section,
.aepda-pda-main-section {
    padding: 40px 0 50px;
    background-color: #fff;
}

.aepda-pda-main-title {
    font-family: var(--e-global-typography-66b5a79-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-66b5a79-font-size) !important;
    font-weight: var(--e-global-typography-66b5a79-font-weight) !important;
    color: var(--e-global-color-c4cd91f) !important;
    margin: 0 0 20px 0;
}

.aepda-pda-main-divider {
    width: 80px;
    height: 4px;
    background-color: #5B21B6;
    margin-bottom: 25px;
}

.aepda-pda-main-text {
    font-family: var(--e-global-typography-68538f7-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-68538f7-font-size) !important;
    font-weight: var(--e-global-typography-68538f7-font-weight) !important;
    color: var(--e-global-color-cf1a2a6) !important;

 
}

.aepda-pda-main-text p {
    margin-bottom: 1.5em;
}

.aepda-pda-main-text p:last-child {
    margin-bottom: 0;
}

.aepda-pda-main-text strong {
    font-weight: 600;
    color: #1a1a1a;
}

/* ==========================================================================
   Gallery Section - Carrossel (alinhado à esquerda com container, estende à direita)
   ========================================================================== */

#aepda-pda-gallery-section,
.aepda-pda-gallery-section {
    background-color: #fff;
    padding-bottom: 40px;
    overflow: hidden !important;
    min-height: 620px;
    contain: layout style;
}

/* Container da Galeria - alinhado com container 1200px na esquerda */
.aepda-pda-gallery-container {
    max-width: 100% !important;
    margin: 0 !important;
    position: relative !important;
    padding-left: calc((100% - 1200px) / 2 + 20px) !important;
    padding-right: 0 !important;
}

/* Swiper Galeria */
.aepda-pda-gallery-swiper {
    overflow: visible !important;
    padding: 10px 0 !important;
}

/* Pre-init: prevent layout shift before Swiper loads */
.aepda-pda-gallery-swiper:not(.swiper-initialized) {
    overflow: hidden !important;
}

.aepda-pda-gallery-swiper:not(.swiper-initialized) .swiper-wrapper {
    display: flex !important;
    overflow: hidden !important;
}

.aepda-pda-gallery-swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc(100% / 1.2 - 20px) !important;
    margin-right: 20px;
}

.aepda-pda-gallery-swiper .swiper-wrapper {
    align-items: stretch !important;
}

@media (max-width: 1240px) {
    .aepda-pda-gallery-container {
        padding-left: 20px !important;
    }
}

.aepda-pda-gallery-swiper .swiper-slide {
    overflow: hidden;
    border-radius: 15px;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.aepda-pda-gallery-swiper .swiper-slide img {
    width: 100%;
    height:540px;
    object-fit: cover;
    display: block;
}

.aepda-pda-gallery-link {
    display: block;
    cursor: zoom-in;
}

/* Wrapper da Navegação */
.aepda-pda-gallery-nav-wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 20px;
}

/* Safari < 14.1 flexbox gap fallback */
@supports not (gap: 10px) {
    .aepda-pda-gallery-nav-wrapper > * + * {
        margin-left: 10px;
    }
}

/* Navigation Buttons */
.aepda-pda-gallery-nav,
.aepda-pda-gallery-nav.elementor-button,
button.aepda-pda-gallery-nav {
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    transition: transform 0.3s ease !important;
    box-shadow: none !important;
}

.aepda-pda-gallery-nav:hover,
.aepda-pda-gallery-nav:focus,
.aepda-pda-gallery-nav:active,
.aepda-pda-gallery-nav.elementor-button:hover,
.aepda-pda-gallery-nav.elementor-button:focus,
button.aepda-pda-gallery-nav:hover {
    background: transparent !important;
    background-color: transparent !important;
    opacity: 1 !important;
    transform: scale(1.1) !important;
    box-shadow: none !important;
    border: none !important;
}

.aepda-pda-gallery-nav img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin: 0 15px;
}

.aepda-pda-gallery-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ==========================================================================
   Blog Section (Seção Roxa com Matérias)
   ========================================================================== */

#aepda-pda-blog-section,
.aepda-pda-blog-section {
    background-color: var(--e-global-color-ef47d3f);
    color: white;
    padding: 60px 0;
    contain: layout style;
}

.aepda-pda-blog-header {
    margin-bottom: 40px;
}

/* Conteúdo do Blog */
.aepda-pda-blog-content {
    width: 100%;
   
}

.aepda-pda-blog-title {
    font-family: var(--e-global-typography-66b5a79-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-66b5a79-font-size) !important;
    font-weight: var(--e-global-typography-66b5a79-font-weight) !important;
    margin: 0 0 20px 0;
    color: var(--e-global-color-8abed41) !important;
}

.aepda-pda-blog-divider {
    width: 80px;
    height: 4px;
    background-color: var(--e-global-color-8abed41);
    margin-bottom: 25px;
}

.aepda-pda-blog-description {
    font-family: var(--e-global-typography-68538f7-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-68538f7-font-size) !important;
    font-weight: var(--e-global-typography-68538f7-font-weight) !important;
    color: var(--e-global-color-8abed41);
    margin: 0 0 20px 0;
}

.aepda-pda-blog-description p {
    margin-bottom: 1em;
}

.aepda-pda-blog-description p:last-child {
    margin-bottom: 0;
}

.aepda-pda-blog-description a {
    color: #FCD34D;
    text-decoration: underline;
}

.aepda-pda-blog-description a:hover {
    color: #FDE68A;
}

.aepda-pda-blog-description strong,
.aepda-pda-blog-description b {
    font-weight: 600;
}

.aepda-pda-blog-description em,
.aepda-pda-blog-description i {
    font-style: italic;
}

/* ==========================================================================
   Blog Cards Carousel
   ========================================================================== */

/* Blog Carousel Container - position relative for the nav button */
.aepda-pda-blog-carousel-container {
    max-width: 100% !important;
    margin: 0 !important;
    position: relative !important;
    padding-left: calc((100% - 1200px) / 2 + 20px) !important;
    padding-right: 0 !important;
}

@media (max-width: 1240px) {
    .aepda-pda-blog-carousel-container {
        padding-left: 20px !important;
    }
}

.aepda-pda-blog-swiper {
    overflow: visible !important;
    padding: 25px 0 10px !important;
}

/* Pre-init: prevent layout shift before Swiper loads */
.aepda-pda-blog-swiper:not(.swiper-initialized) {
    overflow: hidden !important;
}

.aepda-pda-blog-swiper:not(.swiper-initialized) .swiper-wrapper {
    display: flex !important;
    overflow: hidden !important;
}

.aepda-pda-blog-swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 auto;
}

.aepda-pda-blog-swiper .swiper-wrapper {
    align-items: stretch !important;
}

.aepda-pda-blog-swiper .swiper-slide {
    width: auto;
    height: auto;
}

.aepda-pda-blog-swiper .aepda-pda-blog-card {
    width: 320px;
    height: 100%;
}

.aepda-pda-blog-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    animation: none;
}

.aepda-pda-blog-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: aepda-bob 1.2s ease-in-out infinite;
}

@keyframes aepda-bob {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-8px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-4px);
    }
    100% {
        transform: translateY(0);
    }
}

.aepda-pda-blog-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.aepda-pda-blog-card-placeholder {
    width: 100%;
    height: 180px;
    background-color: #ddd;
}

.aepda-pda-blog-card-text-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 15px 20px;
    flex: 1;
}

.aepda-pda-blog-card-text {
    font-family: var(--e-global-typography-68538f7-font-family), Sans-serif !important;
    font-size: 14px !important;
    font-weight: var(--e-global-typography-68538f7-font-weight) !important;
    color: var(--e-global-color-8abed41);
    text-align: center;
    line-height: 1.4;
}

/* Blog Carousel Navigation - overlaid next button */
.aepda-pda-blog-nav {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px !important;
    height: 50px !important;
    border-radius: 10px !important;
    background: #E87722 !important;
    border: none !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;

    color: #fff;
}

.aepda-pda-blog-nav:hover {
    background: #d06a1a !important;
    transform: translateY(-50%) scale(1.05);
}

.aepda-pda-blog-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.aepda-pda-blog-nav svg {
    width: 24px;
    height: 24px;
    color: #fff;
    stroke: #fff;
}

/* ==========================================================================
   Rules Section (Seção de Regras)
   ========================================================================== */

#aepda-pda-rules-section,
.aepda-pda-rules-section {
    padding: 70px 0;
 
}

.aepda-pda-rules-title {
    font-family: var(--e-global-typography-66b5a79-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-66b5a79-font-size) !important;
    font-weight: var(--e-global-typography-66b5a79-font-weight) !important;
    color: var(--e-global-color-c4cd91f) !important;
    margin: 0 0 20px 0;
}

.aepda-pda-rules-divider {
    width: 80px;
    height: 4px;
    background-color: var(--e-global-color-ef47d3f);
    margin-bottom: 25px;
}

.aepda-pda-rules-description {
    font-family: var(--e-global-typography-68538f7-font-family), Sans-serif;
    font-size: var(--e-global-typography-68538f7-font-size);
    font-weight: var(--e-global-typography-68538f7-font-weight);
    color: var(--e-global-color-cf1a2a6);
    margin-bottom: 30px;
    line-height: 1.6;
}

.aepda-pda-rules-description p {
    margin-bottom: 1em;
}

.aepda-pda-rules-description p:last-child {
    margin-bottom: 0;
}

.aepda-pda-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 40px;
    border: 2px solid var(--e-global-color-ef47d3f);
    border-radius: 15px;
    background: white;
}

.aepda-pda-rule-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 20px;
    padding: 15px 20px;
}

/* Safari < 14.1 flexbox gap fallback */
@supports not (gap: 20px) {
    .aepda-pda-rule-item > * + * {
        margin-left: 20px;
    }
}

.aepda-pda-rule-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aepda-pda-rule-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.aepda-pda-rule-text {
    font-family: var(--e-global-typography-68538f7-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-68538f7-font-size) !important;
    font-weight: var(--e-global-typography-68538f7-font-weight) !important;
    color: var(--e-global-color-cf1a2a6) !important;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1024px) {
    .aepda-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #aepda-pda-hero-section,
    .aepda-pda-hero {
        height: 400px;
    }
    
    .aepda-pda-main-title {
        font-size: 36px;
    }
    
    .aepda-pda-gallery-swiper .swiper-slide img {
        height: 380px;
    }

    #aepda-pda-gallery-section,
    .aepda-pda-gallery-section {
        min-height: 460px;
    }
    
    .aepda-pda-blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .aepda-pda-blog-content {
        padding-right: 0;
    }
    
    .aepda-pda-blog-image {
        max-width: 500px;
    }
    
    .aepda-pda-blog-swiper .aepda-pda-blog-card {
        width: 280px;
    }
    
    .aepda-pda-rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .aepda-grid {
        grid-template-columns: 1fr;
    }
    
    .aepda-card {
        height: 220px;
    }
    
    .aepda-card__text {
        font-size: 13px;
        padding: 10px 15px;
        margin: 0 10px 10px 10px;
    }
    
    #aepda-pda-hero-section,
    .aepda-pda-hero {
        height: 280px;
    }
    
    .aepda-pda-main-title {
        font-size: 28px;
    }
    
    .aepda-pda-gallery-swiper .swiper-slide img {
        height: 280px;
    }

    #aepda-pda-gallery-section,
    .aepda-pda-gallery-section {
        min-height: 360px;
    }
    
    .aepda-pda-gallery-nav-wrapper {
        padding-top: 15px;
    }
    
    .aepda-pda-gallery-nav {
        width: 40px;
        height: 40px;
    }
    
    .aepda-pda-gallery-nav svg {
        width: 18px;
        height: 18px;
    }
    
    #aepda-pda-blog-section,
    .aepda-pda-blog-section {
        padding: 40px 0;
    }
    
    .aepda-pda-blog-title {
        font-size: 28px;
    }
    
    .aepda-pda-blog-swiper .aepda-pda-blog-card {
        width: 260px;
    }
    
    .aepda-pda-blog-card-image {
        height: 150px;
    }
    
    #aepda-pda-rules-section,
    .aepda-pda-rules-section {
        padding: 50px 0;
    }
    
    .aepda-pda-rules-title {
        font-size: 22px;
    }
    
    .aepda-pda-rules-grid {
        grid-template-columns: 1fr;
        padding: 25px;
        gap: 20px;
    }
    
    .aepda-pda-rule-item {
        flex-direction: row;
        text-align: left;
        padding: 15px;
    }
    
    .aepda-pda-rule-icon {
        width: 50px;
        height: 50px;
    }
    
    .aepda-pda-rule-icon img {
        width: 45px;
        height: 45px;
    }
}



/* ==========================================================================
   Atrações Carousel Widget (Half-Contained)
   ========================================================================== */

.aepda-ac {
    --aepda-ac-padding-left: 20px;
    --aepda-ac-text-width: 280px;
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.aepda-ac__inner {
    position: relative !important;
    width: 100% !important;
}

/* Coluna de texto - posicionada absolutamente para não interferir no slider */
.aepda-ac__text {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: calc(var(--aepda-ac-padding-left) + var(--aepda-ac-text-width)) !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    padding-left: var(--aepda-ac-padding-left) !important;
    padding-right: 30px !important;
    padding-top: 0 !important;
    background: #fff !important;
}

.aepda-ac__title {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2;
}

.aepda-ac__divider {
    width: 80px;
    height: 4px;
    background-color: #5B21B6;
    border-radius: 2px;
    margin: 15px 0 20px;
}

.aepda-ac__description {
    margin: 0;
    line-height: 1.6;
}

.aepda-ac__description p:last-child {
    margin-bottom: 0;
}

/* Slider wrapper - padding-left empurra após o texto */
.aepda-ac__slider-wrapper {
    padding-left: calc(var(--aepda-ac-padding-left) + var(--aepda-ac-text-width)) !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.aepda-ac__swiper {
    overflow: visible !important;
    width: 100% !important;
}

.aepda-ac__swiper .swiper-wrapper {
    align-items: stretch;
    transition-property: transform !important;
    transition-timing-function: ease !important;
}

.aepda-ac__swiper.swiper-initialized .swiper-wrapper {
    /* Garante transição suave ao navegar - não pode ter duration 0 */
    will-change: transform;
    transition-property: transform !important;
    transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

/* Fallback antes do Swiper inicializar */
.aepda-ac__swiper:not(.swiper-initialized) .swiper-wrapper {
    display: flex !important;
    overflow: hidden !important;
}

.aepda-ac__swiper:not(.swiper-initialized) .aepda-ac__slide {
    flex: 0 0 30% !important;
    max-width: 30% !important;
    margin-right: 15px;
}

/* Slide */
.aepda-ac__slide {
    height: auto !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    overflow: visible !important;
}

/* Card */
.aepda-ac__card {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 350px !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    cursor: pointer;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.aepda-ac__card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
    pointer-events: none;
}

.aepda-ac__card:hover::after {
    background: rgba(0, 0, 0, 0.05);
}

.aepda-ac__card img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    z-index: 0;
    display: block !important;
    max-width: none !important;
    border-radius: 0 !important;
}

.aepda-ac__card-text {
    position: absolute !important;
    bottom: 15px !important;
    left: 0 !important;
    right: auto !important;
    display: inline-block !important;
    padding: 8px 18px !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    text-decoration: none !important;
    z-index: 2;
    line-height: 1.3;
    border-radius: 0 8px 8px 0;
    text-wrap: balance;
    max-width: 85%;

  
}

/* Navegação (dentro da coluna de texto) */
.aepda-ac__navigation {
    display: flex !important;
    -webkit-box-pack: start;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 30px;
}

/* Safari < 14.1 flexbox gap fallback */
@supports not (gap: 10px) {
    .aepda-ac__navigation > * + * {
        margin-left: 10px;
    }
}

.aepda-ac__nav {
    background: none !important;
    border: 2px solid transparent !important;
    padding: 8px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #333;
    line-height: 0;
    border-radius: 50%;
    box-sizing: border-box;
}

.aepda-ac__nav:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.aepda-ac__nav svg {
    width: 40px;
    height: 40px;
}

.aepda-ac__nav i {
    font-size: 40px;
    line-height: 1;
}

.aepda-ac__nav img {
    width: 40px;
    height: auto;
    display: block;
}

.aepda-ac__nav.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

.aepda-ac__nav.swiper-button-disabled:hover {
    transform: none;
}

/* Empty state */
.aepda-ac__empty {
    padding: 40px 20px;
    text-align: center;
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 8px;
}

.aepda-ac__empty p {
    margin: 0;
    font-size: 16px;
    color: #666;
}

.aepda-ac__empty p small {
    font-size: 13px;
    color: #999;
}

/* Responsivo */
@media (max-width: 1024px) {
    .aepda-ac {
        --aepda-ac-text-width: 220px;
    }
}

@media (max-width: 767px) {
    .aepda-ac__text {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        padding-left: var(--aepda-ac-padding-left) !important;
        padding-right: var(--aepda-ac-padding-left) !important;
        padding-bottom: 25px !important;
        background: transparent !important;
    }

    .aepda-ac__slider-wrapper {
        padding-left: var(--aepda-ac-padding-left) !important;
    }

    .aepda-ac__swiper:not(.swiper-initialized) .aepda-ac__slide {
        flex: 0 0 70% !important;
        max-width: 70% !important;
    }
}

/* ==========================================================================
   PDA - Grid Cards Atrações Widget
   ========================================================================== */

.aepda-gc {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.aepda-gc__card {
    display: flex;
    flex-direction: column;
    height: auto !important;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    background: #f0f0f0;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.aepda-gc__card-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    background-size: cover;
    -webkit-background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.aepda-gc__card-img::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
    pointer-events: none;
}

.aepda-gc__card:hover .aepda-gc__card-img::after {
    background: rgba(0, 0, 0, 0.02);
}

.aepda-gc__label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 8px 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

/* Empty state */
.aepda-gc__empty {
    padding: 40px 20px;
    text-align: center;
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 8px;
    grid-column: 1 / -1;
}

.aepda-gc__empty p {
    margin: 0;
    font-size: 16px;
    color: #666;
}

.aepda-gc__empty p small {
    font-size: 13px;
    color: #999;
}

/* Responsivo Grid Cards */
@media (max-width: 767px) {
    .aepda-gc {
        grid-template-columns: 1fr;
    }
}
