:root {
    --primary-color: #0F3460;
    --secondary-color: #1A6BB3;
    --text-color: #1A1A1A;
    --light-color: #F5F5F5;
    --accent-color: #3282B8;
    --bg-light: #E8EFF6;
    --whatsapp-color: #25D366;
    --live-color: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgb(0 0 0 / 10%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    margin-left: 10px;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 5px 0;
    transition: all 0.3s;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

nav ul li a:hover::after {
    width: 100%;
}

/* TV Menu Item */
.tv-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    position: relative;
}

.tv-icon svg {
    width: 16px;
    height: 16px;
    fill: currentcolor;
}

.live-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background-color: var(--live-color);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(231 76 60 / 70%);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 5px rgb(231 76 60 / 0%);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(231 76 60 / 0%);
    }
}

/* Hero Atividade */
.activity-hero {
    position: relative;
    height: 60vh;
    background-size: cover;
    background-position: center;
    margin-top: 80px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.activity-hero--jornal {
    background-image: url('../images/nossa-posicao.jpg');
}

.activity-hero--atendimento {
    background-image: url('../images/atendimento-espiritual.jpg');
}

.activity-hero--aulas-prof-jorge {
    background-image: url('../images/atividades/aulas-prof-jorge/capa.jpg');
}

.activity-hero--capoeira,
.activity-hero--capoeira-old {
    background-image: url('../images/capoeira_historica_1971_foto1_ss.webp');
}

.activity-hero--coral {
    background-image: url('../images/coral-mulheres.jpg');
}

.activity-hero--cursos {
    background-image: url('../images/grupo-fenix.jpg');
}

.activity-hero--festa-pastel {
    background-image: url('../images/festa-do-pasteljpg.jpg');
}

.activity-hero--livros {
    background-image: url('../images/atividades/livros-prof-jorge/lancamento-livro-3.png');
}

.activity-hero--mensagens {
    background-image: url('../images/atividades/mensagens-do-amor-distante/capa.png');
}

.activity-hero--prof-jorge {
    background-image: url('../images/atividades/aulas-prof-jorge/capa.jpg');
}

.activity-hero--programa-tv {
    background-image: url('../images/atividades/programa-tv/NUPEPTV2.jpg');
}

.activity-hero--psicologia {
    background-image: url('../images/atividades/psicologia-racional/capa.png');
}

.activity-hero--showterapia {
    background-image: url('../images/atividades/showterapia/showterapia2.jpg');
}

.activity-hero--teatro {
    background-image: url('../images/um-anjo-muito-malandro.jpg');
}

.activity-hero--grupo-comenta {
    background-image: url('https://img.youtube.com/vi/mXpsrUXPwTM/maxresdefault.jpg');
}

.activity-hero--autores,
.activity-hero--reflexoes,
.activity-hero--template {
    background-image: url('https://images.pexels.com/photos/3631711/pexels-photo-3631711.jpeg?auto=compress&cs=tinysrgb&w=600');
}

.activity-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgb(15 52 96 / 80%) 0%, rgb(15 52 96 / 40%) 50%, rgb(15 52 96 / 20%) 100%);
    z-index: 1;
}

.activity-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
    padding: 40px 20px;
}

.activity-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgb(0 0 0 / 50%);
}

.activity-hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgb(0 0 0 / 50%);
}

.activity-cta {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgb(0 0 0 / 20%);
}

.activity-cta:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgb(0 0 0 / 30%);
}

/* Overview Section */
.activity-overview {
    padding: 80px 0;
    background-color: white;
}

.overview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.overview-content {
    flex: 2;
    min-width: 300px;
}

.overview-content h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2rem;
    position: relative;
}

.overview-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.overview-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.overview-sidebar {
    flex: 1;
    min-width: 250px;
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
    align-self: flex-start;
}

.sidebar-item {
    margin-bottom: 25px;
}

.sidebar-item:last-child {
    margin-bottom: 0;
}

.sidebar-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.sidebar-item h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.sidebar-item ul {
    list-style-type: none;
}

.sidebar-item ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgb(0 0 0 / 5%);
    display: flex;
    align-items: center;
}

.sidebar-item ul li:last-child {
    border-bottom: none;
}

.sidebar-item svg {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    fill: var(--accent-color);
}

/* Benefits Section */
.activity-benefits {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.benefits-heading {
    text-align: center;
    margin-bottom: 50px;
}

.benefits-heading h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.benefits-heading p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
}

.benefit-icon {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--accent-color);
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Gallery Section */
.activity-gallery {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.gallery-heading {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-heading h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    overflow: hidden;
    position: relative;
}

.gallery-item {
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative; /* Ensure it's relative for the pseudo-element */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgb(15 52 96 / 30%) 0%, rgb(0 0 0 / 0%) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1; /* Ensure overlay is above the image but below any text/icons if added */
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Testimonials Section */
.activity-testimonials {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.testimonials-heading {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-heading h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    padding: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
    margin: 0 auto;
    text-align: center;
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 2rem;
    color: var(--accent-color);
    position: absolute;
}

.testimonial-text::before {
    top: -20px;
    left: -10px;
}

.testimonial-text::after {
    bottom: -40px;
    right: -10px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

.testimonial-role {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    background-color: rgb(26 107 179 / 30%);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.testimonial-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* CTA Section */
.activity-cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-primary {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgb(0 0 0 / 20%);
}

.cta-secondary {
    display: inline-block;
    background-color: transparent;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid white;
}

.cta-primary:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgb(0 0 0 / 30%);
}

.cta-secondary:hover {
    background-color: rgb(255 255 255 / 10%);
    transform: translateY(-3px);
}

/* FAQ Section */
.activity-faq {
    padding: 80px 0;
    background-color: white;
}

.faq-heading {
    text-align: center;
    margin-bottom: 50px;
}

.faq-heading h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
}

.faq-question {
    padding: 20px 30px 20px 0;
    position: relative;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px 0 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

/* Related Activities */
.related-activities {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.related-heading {
    text-align: center;
    margin-bottom: 50px;
}

.related-heading h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
}

.related-image {
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 20px;
}

.related-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.related-content p {
    margin-bottom: 15px;
    color: #555;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more span {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover span {
    transform: translateX(5px);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccddf1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgb(255 255 255 / 10%);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgb(255 255 255 / 10%);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 15%);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgb(0 0 0 / 20%);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Modal/Lightbox para Galeria */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 95%);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: none;
}

.gallery-modal-youtube {
    display: none;
    width: 90vw;
    max-width: 1200px;
    height: 50.625vw;
    max-height: 80vh;
}

.gallery-modal-youtube iframe {
    width: 100%;
    height: 100%;
}

.gallery-modal-media {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

/* Estilo específico para iframe do YouTube */
.gallery-modal-iframe {
    width: 100%;
    height: 60vh;
    max-height: 600px;
    border: none;
    border-radius: 8px;
}

.gallery-modal-close {
    position: fixed;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: normal;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s;
}

.gallery-modal-close:hover {
    color: #ccc;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(255 255 255 / 10%);
    color: white;
    border: none;
    font-size: 30px;
    cursor: pointer;
    padding: 15px 20px;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 1001;
}

.gallery-modal-nav:hover {
    background-color: rgb(255 255 255 / 20%);
    transform: translateY(-50%) scale(1.1);
}

.gallery-modal-prev,
.gallery-modal-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(255 255 255 / 10%);
    color: white;
    border: none;
    font-size: 30px;
    padding: 20px 25px;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 1001;
}

.gallery-modal-prev {
    left: 20px;
}

.gallery-modal-next {
    right: 20px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background-color: rgb(255 255 255 / 20%);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Estilos específicos para galeria de PDFs */
.gallery-item.pdf-item {
    background-color: #1a1a1a;
    padding: 10px;
    position: relative;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.gallery-item.pdf-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: white;
    box-shadow: 0 4px 6px rgb(0 0 0 / 30%);
}

.gallery-item.pdf-item::after {
    content: 'PDF';
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #dc2626;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgb(0 0 0 / 30%);
    z-index: 1;
}

.gallery-item.pdf-item:hover::after {
    background-color: #b91c1c;
}

/* Modal para PDF */
.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 90%);
    z-index: 1000;
    overflow: hidden;
}

.pdf-modal.active {
    display: flex;
    flex-direction: column;
}

.pdf-modal-header {
    background-color: #1a1a1a;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.pdf-modal-title {
    color: white;
    font-size: 18px;
    margin: 0;
}

.pdf-modal-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.pdf-modal-download,
.pdf-modal-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pdf-modal-download:hover {
    background-color: rgb(255 255 255 / 10%);
}

.pdf-modal-close {
    font-size: 24px;
    padding: 4px 8px;
}

.pdf-modal-close:hover {
    background-color: rgb(255 255 255 / 10%);
}

.pdf-modal-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.pdf-iframe {
    width: 100%;
    height: 100%;
    max-width: 1200px;
    border: none;
    background-color: white;
    box-shadow: 0 4px 6px rgb(0 0 0 / 30%);
}

/* Responsive */
@media (width <= 991px) {
    .activity-hero-content h1 {
        font-size: 2.5rem;
    }

    .benefit-card {
        padding: 20px;
    }
}

@media (width <= 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .logo-container {
        margin-bottom: 15px;
    }

    nav ul {
        justify-content: center;
    }

    nav ul li {
        margin: 0 12px;
    }

    .activity-hero {
        margin-top: 120px;
        height: 50vh;
    }

    .activity-hero-content h1 {
        font-size: 2rem;
    }

    .activity-hero-content p {
        font-size: 1rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 20px;
        bottom: 20px;
    }

    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }

    .gallery-modal-content {
        width: 95%;
    }

    .gallery-modal-iframe {
        height: 50vh;
        max-height: 400px;
    }

    .gallery-modal-nav {
        font-size: 24px;
        padding: 10px 15px;
    }

    .gallery-modal-prev {
        left: 10px;
    }

    .gallery-modal-next {
        right: 10px;
    }

    .gallery-modal-close {
        top: -35px;
        font-size: 30px;
    }

    .pdf-modal-header {
        padding: 10px 15px;
    }

    .pdf-modal-title {
        font-size: 16px;
    }

    .pdf-modal-content {
        padding: 10px;
    }
}

@media (width <= 480px) {
    .logo {
        font-size: 24px;
    }

    nav ul {
        flex-wrap: wrap;
    }

    nav ul li {
        margin: 5px 8px;
    }

    nav ul li a {
        font-size: 0.9rem;
    }

    .activity-hero {
        margin-top: 150px;
        height: 40vh;
    }

    .activity-hero-content h1 {
        font-size: 1.8rem;
    }

    .activity-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .gallery-modal-nav {
        font-size: 20px;
        padding: 8px 12px;
    }

    .gallery-modal-iframe {
        height: 40vh;
        max-height: 300px;
    }
}


/* Capoeira Mistica Auto Styles */
.capoeira-style-1 {
    clear: both;
}

.capoeira-style-2 {
    clear: both;
    display: block;
    width: 100%;
}

.capoeira-style-3 {
    clear: both;
    width: 100%;
}

.capoeira-style-4 {
    clear: both;
    width: 100%;
    margin: 0 0 15px 0;
}

.capoeira-style-5 {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.capoeira-style-6 {
    display: flex;
    justify-content: center;
    margin: 15px auto 15px auto;
}

.capoeira-style-7 {
    flex: 1;
}

.capoeira-style-8 {
    float: left;
    width: 100%;
    margin: 0 5px 5px 5px;
}

.capoeira-style-9 {
    float: left;
    width: 100%;
    margin: 0 auto 15px auto;
}

.capoeira-style-10 {
    float: left;
    width: 20%;
    margin-right: 15px;
    margin-bottom: 15px;
}

.capoeira-style-11 {
    float: left;
    width: 30%;
    margin: 0 5px 5px 0;
}

.capoeira-style-12 {
    float: left;
    width: 32%;
    margin: 0 5px 5px 0;
}

.capoeira-style-13 {
    float: left;
    width: 33%;
    margin: 0 5px 5px 0;
}

.capoeira-style-14 {
    float: left;
    width: 35%;
    margin: 0 5px 5px 0;
}

.capoeira-style-15 {
    float: left;
    width: 46%;
    margin-bottom: 15px;
}

.capoeira-style-16 {
    float: left;
    width: 46%;
    margin-bottom: 15px;
    margin-right: 15px;
}

.capoeira-style-17 {
    float: left;
    width: 46%;
    margin-right: 15px;
    margin-bottom: 15px;
}

.capoeira-style-18 {
    float: left;
    width: 46%;
    margin: 0 5px 5px 0;
}

.capoeira-style-19 {
    float: left;
    width: 47%;
    margin: 0 5px 5px 5px;
}

.capoeira-style-20 {
    float: left;
    width: 48%;
    margin-bottom: 15px;
}

.capoeira-style-21 {
    float: left;
    width: 48%;
    margin: 0 5px 10px 0;
}

.capoeira-style-22 {
    float: left;
    width: 48%;
    margin: 0 5px 5px 0;
}

.capoeira-style-23 {
    float: left;
    width: 59%;
    margin: auto
}

.capoeira-style-24 {
    float: right;
    width: 100%;
    margin-left: 15px;
    margin-bottom: 15px;
}

.capoeira-style-25 {
    float: right;
    width: 20%;
    margin-left: 15px;
    margin-bottom: 15px;
}

.capoeira-style-26 {
    float: right;
    width: 21.5%;
    margin-left: 15px
}

.capoeira-style-27 {
    float: right;
    width: 25%;
    margin-left: 15px;
    margin-bottom: 15px;
}

.capoeira-style-28 {
    float: right;
    width: 27%;
    margin-left: 15px
}

.capoeira-style-29 {
    float: right;
    width: 30%;
    margin-left: 15px;
    margin-bottom: 15px;
}

.capoeira-style-30 {
    float: right;
    width: 35%;
    margin-left: 15px;
    margin-bottom: 15px;
}

.capoeira-style-31 {
    float: right;
    width: 36%;
    margin: auto
}

.capoeira-style-32 {
    float: right;
    width: 40%;
    margin-left: 15px;
    margin-bottom: 15px;
}

.capoeira-style-33 {
    float: right;
    width: 46%;
    margin-bottom: 15px;
}

.capoeira-style-34 {
    float: right;
    width: 46%;
    margin-left: 15px;
    margin-bottom: 15px;
}

.capoeira-style-35 {
    float: right;
    width: 46%;
    margin: 0 5px 5px 0;
}

.capoeira-style-36 {
    float: right;
    width: 47%;
    margin: 0 5px 5px 5px;
}

.capoeira-style-37 {
    float: right;
    width: 48%;
    margin-left: 15px;
    margin-bottom: 15px;
}

.capoeira-style-38 {
    float: right;
    width: 48%;
    margin: 0 5px 5px 0;
}

.capoeira-style-39 {
    float: right;
    width: 50%;
    margin-left: 15px;
    margin-bottom: 15px;
}

.capoeira-style-40 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.capoeira-style-41 {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.capoeira-style-42 {
    text-align: center;
}

.capoeira-style-43 {
    text-align: center;
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin: 0;
}

.capoeira-style-44 {
    text-align: center;
    padding: 5px 0;
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin: 0;
}

.capoeira-style-45 {
    text-align: center;
    padding: 5px 0;
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin: 0;
}

.capoeira-style-46 {
    text-align: center;
    padding: 5px 0;
    font-size: 18px;
    color: #000;
    font-style: italic;
    margin: 0;
}

.capoeira-style-47 {
    text-align: justify;
}

.capoeira-style-48 {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.capoeira-style-49 {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.capoeira-style-50 {
    width: 100%;
    margin: 0 0 15px 0;
}

.capoeira-style-51 {
    width: 100%;
    margin: 0;
}

.capoeira-style-52 {
    width: 30%;
    margin: auto auto 15px auto;
}

.capoeira-style-53 {
    width: 33%;
    margin: 0;
}

.capoeira-style-54 {
    width: 70%;
    margin: 0 auto 15px auto;
}

.capoeira-style-55 {
    width: 90%;
    margin: auto
}
