/* ==========================================================================
   Fixed Page Background
   ========================================================================== */
#page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Inertia elements - GPU accelerated */
[data-inertia] {
    will-change: transform;
}

/* ==========================================================================
   Section Titles - Subtle text shadow
   ========================================================================== */
.about-heading,
.espaco-prime-title,
.categorias-heading,
.cta-title,
.events-header .section-heading,
.segments-section .section-heading {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Hero Section - Supports image & video with zoom/slide animation
   ========================================================================== */
/* Wrapper applies drop-shadow that follows the clip-path shape */
.hero-shadow-wrapper {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

.hero-section {
    position: relative;
    min-height: var(--hero-height, 100vh);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    overflow: hidden;
    clip-path: url(#hero-clip);
}

/* Parallax wrapper - translateY via JS */
.hero-parallax {
    position: absolute;
    inset: -5%;
    width: 110%;
    height: 110%;
    z-index: 0;
    will-change: transform;
}

/* Media layer (image or video) - gets animated */
.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    animation-name: heroBgAnimation;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;
    /* animation-duration and animation-iteration-count set inline via PHP */
    /* filter is set by JS for scroll blur - transition makes it smooth */
    transition: filter 0.15s linear;
    will-change: filter;
}

.hero-media .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Fallback image sits behind the video */
.hero-media .hero-fallback-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media .hero-video {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 1.5s ease;
}

.hero-media .hero-video.video-ended {
    opacity: 0;
}

/* Animation: zoom out → slide right → slide left */
@keyframes heroBgAnimation {
    0% {
        transform: scale(1.15) translateX(0);
    }
    33% {
        transform: scale(1.0) translateX(0);
    }
    50% {
        transform: scale(1.0) translateX(2%);
    }
    66% {
        transform: scale(1.0) translateX(2%);
    }
    83% {
        transform: scale(1.0) translateX(-2%);
    }
    100% {
        transform: scale(1.0) translateX(0);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 20px 80px;
}

.hero-pretitle {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero text animation on load */
.hero-section .hero-pretitle,
.hero-section .hero-title,
.hero-section .hero-subtitle,
.hero-section .hero-buttons {
    animation: heroFadeUp 0.8s ease forwards;
    opacity: 0;
}

.hero-section .hero-pretitle { animation-delay: 0.3s; }
.hero-section .hero-title { animation-delay: 0.5s; }
.hero-section .hero-subtitle { animation-delay: 0.7s; }
.hero-section .hero-buttons { animation-delay: 0.9s; }

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Grid de Segmentos
   ========================================================================== */
.segments-section {
    background-color: transparent;
}

.segments-section .section-heading {
    margin-bottom: 40px;
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.segment-card {
    position: relative;
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 220px;
    cursor: pointer;
}

.segment-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.segment-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.segment-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-blue-dark), var(--color-primary-blue));
}

.segment-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
    transition: background var(--transition-normal);
}

.segment-card:hover .segment-image-wrapper img,
.segment-card:hover .segment-placeholder {
    transform: scale(1.05);
}

.segment-card:hover .segment-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.segment-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: var(--color-white);
    font-size: 22px;
    font-weight: 700;
    z-index: 2;
    transition: transform var(--transition-normal);
}

.segment-card:hover .segment-title {
    transform: translateY(-4px);
}

/* ==========================================================================
   About - 2 Colunas com Parallax
   ========================================================================== */
.about-parallax-section {
    width: 100%;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.about-flex {
    display: flex;
    align-items: stretch;
    min-height: 600px;
    gap: 0;
}

/* Coluna Imagem */
.about-col-image {
    flex: 1;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px var(--about-col-gap-half, 20px) 40px 60px;
}

.about-image-wrapper {
    position: relative;
    width: var(--about-img-width, 100%);
    max-height: var(--about-img-height, none);
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 6px 18px rgba(0, 0, 0, 0.2);
}

.about-parallax-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-blue-dark), var(--color-primary-blue));
}

/* Coluna Conteúdo */
.about-col-content {
    flex: 1;
    padding: 60px 60px 60px var(--about-col-gap-half, 20px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content-inner {
    max-width: 500px;
    width: 100%;
}

.about-pretitle {
    display: block;
    font-size: 14px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.about-heading {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-dark);
    margin-bottom: 20px;
}

.about-heading-highlight {
    color: var(--color-primary-blue);
    display: block;
}

.about-subtitle {
    font-size: 20px;
    color: #999999;
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.4;
}

.about-description {
    font-size: 16px;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* About - Highlight Stats (below image) */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
    width: var(--about-img-width, 100%);
}

.about-stat-card {
    padding: 16px 14px;
    border-left: 3px solid var(--color-primary-blue);
    background: #f8f9fb;
    border-radius: 0 var(--radius-sm, 4px) var(--radius-sm, 4px) 0;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.about-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.about-stat-headline {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin: 0 0 4px;
    line-height: 1.3;
}

.about-stat-desc {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.about-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-buttons .btn {
    text-align: center;
    transition: all var(--transition-normal);
}

.about-buttons .btn:hover {
    transform: translateY(-2px) scale(1.02);
}

/* btn-outline-blue */
.btn-outline-blue {
    display: inline-block;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--color-primary-blue);
    color: var(--color-primary-blue);
    background: transparent;
    border-radius: var(--radius-sm, 4px);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.btn-outline-blue:hover {
    background: var(--color-primary-blue);
    color: var(--color-white);
}

/* Responsivo */
@media (max-width: 1024px) {
    .about-flex {
        flex-direction: column;
        min-height: auto;
    }

    .about-col-image {
        min-height: 400px;
        order: -1;
        padding: 30px;
    }

    .about-col-content {
        padding: 40px;
    }

    .about-heading {
        font-size: 36px;
    }

    .about-stats {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .about-col-image {
        min-height: 300px;
        padding: 20px;
    }

    .about-col-content {
        padding: 30px 20px;
    }

    .about-heading {
        font-size: 28px;
    }

    .about-subtitle {
        font-size: 18px;
    }

    .about-content-inner {
        max-width: 100%;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        width: 100%;
    }

    .about-stat-headline {
        font-size: 14px;
    }

    .about-stat-desc {
        font-size: 11px;
    }

    .about-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   Carousel de Eventos
   ========================================================================== */
.events-section {
    background-color: transparent;
}

.events-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.events-header .section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.heading-arrow {
    color: var(--color-primary-blue);
}

.eventos-swiper {
    padding-bottom: 50px;
}

.event-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.event-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    height: 100%;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.event-image {
    height: 180px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
}

.event-info {
    padding: 20px;
}

.event-month {
    display: block;
    font-size: 13px;
    color: var(--color-text-light);
    text-transform: capitalize;
    margin-bottom: 4px;
    font-weight: 500;
}

.event-dates {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.event-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.event-title a {
    color: inherit;
}

.event-title a:hover {
    color: var(--color-primary-blue);
}

.event-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-light);
}

.event-time svg {
    flex-shrink: 0;
}

/* Swiper overrides */
.eventos-swiper .swiper-button-prev,
.eventos-swiper .swiper-button-next {
    color: var(--color-primary-blue);
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.eventos-swiper .swiper-button-prev::after,
.eventos-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.eventos-swiper .swiper-pagination-bullet {
    background-color: var(--color-primary-blue);
}

.events-footer {
    text-align: center;
    margin-top: 32px;
}

.events-footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   Destino Salvador
   ========================================================================== */
.destino-section {
    background-color: transparent;
    position: relative;
}

.destino-grid {
    display: flex;
    gap: 60px;
    align-items: center;
}

.destino-content {
    flex: 0 0 55%;
}

.destino-text {
    font-size: 16px;
    color: var(--color-text-gray);
    line-height: 1.8;
    margin-bottom: 32px;
}

.destino-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.destino-images {
    flex: 1;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.destino-image-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
}

.destino-image-wrapper:hover {
    transform: scale(1.02);
}

.destino-image-1 {
    margin-top: 40px;
}

.destino-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.image-placeholder {
    width: 260px;
    height: 340px;
    background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
    border-radius: var(--radius-md);
}

/* ==========================================================================
   GL Events
   ========================================================================== */
.gl-events-section {
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.gl-events-pattern {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(0, 0, 0, 0.02) 20px,
        rgba(0, 0, 0, 0.02) 21px
    );
    pointer-events: none;
}

.gl-events-grid {
    display: flex;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.gl-events-logo {
    flex: 0 0 35%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gl-events-logo img {
    max-width: 100%;
    height: auto;
}

.gl-logo-placeholder {
    width: 280px;
    height: 140px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.gl-logo-placeholder span {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary-blue);
}

.gl-events-content {
    flex: 1;
}

.gl-events-content p {
    color: var(--color-text-gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.gl-events-content .btn {
    margin-top: 16px;
}

/* ==========================================================================
   ESG / Boas Práticas
   ========================================================================== */
.esg-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.esg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.esg-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    max-width: 700px;
}

.esg-icon {
    margin-bottom: 24px;
}

.esg-title {
    font-size: 32px;
    color: var(--color-white);
    margin-bottom: 16px;
}

.esg-title .highlight {
    color: var(--color-primary-blue);
}

.esg-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ==========================================================================
   CTA Grande - Plural e Versátil
   ========================================================================== */
/* Shadow wrapper applies drop-shadow that follows the clip-path shape */
.cta-shadow-wrapper {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

/* Clip wrapper receives the clip-path so parallax inside can overflow */
.cta-clip-wrapper {
    clip-path: url(#cta-clip);
    margin-bottom: 80px;
}

.cta-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-blue-dark, #0a1628);
    overflow: hidden;
}

/* Parallax wrapper - translateY via JS (same pattern as hero) */
.cta-parallax {
    position: absolute;
    inset: -5%;
    width: 110%;
    height: 110%;
    z-index: 0;
    will-change: transform;
}

.cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 100px 20px;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-title .highlight {
    color: var(--color-primary-blue);
}

.cta-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-title + .btn {
    margin-top: 40px;
}

.btn-lg {
    padding: 18px 48px;
    font-size: 16px;
}

/* ==========================================================================
   O Espaço Prime
   ========================================================================== */
.espaco-prime-section {
    background-color: #1a2f4e;
    padding: 80px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3), 0 18px 50px rgba(0, 0, 0, 0.35);
}

.espaco-prime-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

.espaco-prime-section .container {
    position: relative;
    z-index: 1;
}

.espaco-prime-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

.espaco-prime-grid {
    display: grid;
    grid-template-columns: repeat(var(--espaco-prime-columns, 5), 1fr);
    gap: 30px;
}

.espaco-prime-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.espaco-prime-item:hover {
    background-color: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
}

.espaco-prime-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
}

.espaco-prime-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.espaco-prime-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.espaco-prime-item-title {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    max-width: 160px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsivo Espaço Prime */
@media (max-width: 1024px) {
    .espaco-prime-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .espaco-prime-section {
        padding: 60px 0;
    }

    .espaco-prime-grid {
        grid-template-columns: repeat(var(--espaco-prime-columns-mobile, 2), 1fr);
        gap: 20px;
    }

    .espaco-prime-title {
        font-size: 1.6rem;
        margin-bottom: 36px;
    }
}

@media (max-width: 479px) {
    .espaco-prime-grid {
        grid-template-columns: repeat(var(--espaco-prime-columns-mobile, 2), 1fr);
        gap: 12px;
    }

    .espaco-prime-item {
        flex-direction: row;
        text-align: left;
        padding: 16px;
        gap: 16px;
    }

    .espaco-prime-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .espaco-prime-item-title {
        max-width: none;
    }
}

/* ==========================================================================
   Categorias de Eventos - Carrossel Full-Width
   ========================================================================== */
.categorias-section {
    background-color: transparent;
    padding: 80px 0 60px;
    overflow: hidden;
}

.categorias-heading-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.categorias-heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cat-heading-highlight {
    color: var(--color-primary-blue);
}

/* Carousel wrapper - full width with nav arrows */
.categorias-carousel-wrapper {
    position: relative;
    width: 100%;
}

.categorias-swiper {
    width: 100%;
    overflow: hidden;
}

.categorias-swiper .swiper-slide {
    width: auto;
    flex-shrink: 0;
}

.categoria-card {
    position: relative;
    height: var(--cat-card-height, 240px);
    width: 100%;
    overflow: hidden;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.categoria-image-wrapper {
    position: absolute;
    inset: 0;
    background-color: var(--color-blue-dark);
}

.categoria-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: transform 0.4s ease, filter 0.4s ease;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.categoria-card:hover .categoria-image-wrapper img {
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
    filter: brightness(1.1);
}

.categoria-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    -webkit-transition: background 0.3s ease;
    transition: background 0.3s ease;
    z-index: 1;
}

.categoria-card:hover .categoria-overlay {
    background: rgba(0, 0, 0, 0.25);
}

.categoria-title {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    margin: 0;
    line-height: 1.3;
}

/* Navigation Arrows */
.categorias-nav-prev,
.categorias-nav-next {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 20;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    color: var(--color-text-dark);
}

.categorias-nav-prev { left: 16px; }
.categorias-nav-next { right: 16px; }

.categorias-nav-prev:hover,
.categorias-nav-next:hover {
    background: var(--color-white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    -webkit-transform: translateY(-50%) scale(1.1);
    transform: translateY(-50%) scale(1.1);
}

.categorias-nav-prev.swiper-button-disabled,
.categorias-nav-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* Responsive: Categorias Carousel */
@media (max-width: 1199px) {
    .categorias-heading {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .categorias-heading {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    .categoria-card {
        height: calc(var(--cat-card-height, 240px) * 0.83);
    }
    .categorias-section {
        padding: 60px 0 40px;
    }
    .categorias-nav-prev,
    .categorias-nav-next {
        width: 36px;
        height: 36px;
    }
    .categorias-nav-prev { left: 8px; }
    .categorias-nav-next { right: 8px; }
}

@media (max-width: 479px) {
    .categoria-card {
        height: calc(var(--cat-card-height, 240px) * 0.71);
    }
    .categoria-title {
        font-size: 0.85rem;
        bottom: 12px;
        left: 12px;
    }
}

/* ==========================================================================
   Blog / Archive
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.blog-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: var(--color-text-dark);
}

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

.blog-card-excerpt {
    color: var(--color-text-gray);
    font-size: 14px;
    margin-bottom: 16px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

/* Pagination */
.pagination {
    grid-column: 1 / -1;
    margin-top: 40px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid #ddd;
    color: var(--color-text-dark);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: var(--color-primary-blue);
    border-color: var(--color-primary-blue);
    color: var(--color-white);
}

/* Single Post */
.single-post .post-featured-image {
    margin-bottom: 32px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.single-post .post-featured-image img {
    width: 100%;
    height: auto;
}

.entry-content {
    max-width: 800px;
    line-height: 1.8;
    font-size: 17px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 32px;
    margin-bottom: 16px;
}

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

.entry-content img {
    border-radius: var(--radius-md);
}

/* Evento Details Bar */
.evento-details-bar {
    display: flex;
    gap: 32px;
    padding: 20px 0;
    margin-bottom: 32px;
    border-bottom: 1px solid #eee;
}

.evento-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--color-text-gray);
}

.evento-detail svg {
    color: var(--color-primary-blue);
}

/* Post Navigation */
.post-navigation {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
}

.post-navigation a {
    color: var(--color-primary-blue);
    font-weight: 500;
}

/* 404 */
.error-404-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404-title {
    font-size: 120px;
    font-weight: 800;
    color: var(--color-primary-blue);
    line-height: 1;
    margin-bottom: 16px;
}

.error-404-section h2 {
    font-size: 28px;
    color: var(--color-text-dark);
    margin-bottom: 16px;
}

.error-404-section p {
    color: var(--color-text-gray);
    margin-bottom: 32px;
}
