/*
Theme Name: Sociedade Espírita Renovação
Author: SignoTech
Version: 1.0
*/


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

:root {
    --primary-color: #6b8997;
    --primary-dark: #7594A7;
    --text-dark: #2c3e50;
    --text-light: #5a6c7d;
    --bg-light: #F3F3F3;
    --bg-white: #ffffff;
    --border-color: #e1e8ed;
    --footer-bg: #E0E0E0;
    --footer-text: #6b8997;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* --- 1. NAVBAR --- */
.navbar {
    background-color: #F3F3F3;
    width: 100%;
    position: relative;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    width: 88%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 30px;
    font-weight: 500;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: auto;/
}

.menu-trigger {
    text-decoration: none;
    color: #222222;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.3s;
}

.menu-trigger:hover,
.menu-item-has-children.active .menu-trigger {
    color: #6b8997;
}

.menu-item-has-children.active .arrow {
    transform: rotate(180deg);
}

.menu-item-has-children {
    position: relative;
}

.dropdown-menu-box {
    display: none;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #f0f0f0;
    padding: 15px 0;
    z-index: 9999;
}

.menu-item-has-children.active .dropdown-menu-box {
    display: block;
    animation: slideUpFade 0.2s ease-out;
}

.dropdown-pointer {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid #f0f0f0;
    border-top: 1px solid #f0f0f0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #f9f9f9;
    transition: background 0.2s;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: #f8fcfd;
    color: #2c3e4a;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item .icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    object-fit: contain;
}

.dropdown-item.complex {
    display: block;
    padding: 15px 20px;
}

.item-head {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.item-head.link-head {
    text-decoration: none;
}

.item-subs {
    padding-left: 32px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.item-subs.center-sub {
    padding-left: 0;
    justify-content: center;
}

.item-subs a {
    font-size: 13px;
    color: #777;
    text-decoration: none;
}

.item-subs a:hover {
    color: #6b8997;
    text-decoration: underline;
}

.hamburger {
    display: block !important;
    position: relative;
    z-index: 10001;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 10px;
    margin-left: auto;
}

.hamburger {
    display: none !important;
}

.bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-menu.mobile-layout {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    z-index: 10000;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
    padding-left: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.nav-menu.mobile-layout.open {
    transform: translateX(0%);
    box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.6);
}

.nav-menu.mobile-layout li {
    width: 100%;
    border-bottom: 1px solid #eee;
    text-align: left;
    margin: 0;
    display: block;
}

.nav-menu.mobile-layout .menu-trigger {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    width: 100%;
}

.nav-menu.mobile-layout .arrow,
.nav-menu.mobile-layout .dropdown-menu-box {
    display: none !important;
}

body.menu-open {
    overflow: hidden;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 992px) {

    .hamburger {
        display: block !important;
        margin-left: auto;
    }
}

@media (min-width: 992px) {

    .nav-menu {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 100%;
        margin: 0;
        padding: 0;
        gap: 30px;
    }

    .menu-item-has-children {
        position: relative;
        display: flex;
        align-items: center;
        height: 100%;
    }

    .menu-trigger {
        white-space: nowrap;
        display: flex;
        align-items: center;
        padding: 20px 0;
        height: 100%;
        font-size: 16px;
    }

    @media (max-width: 1400px) {
        .nav-menu {
            gap: 15px;
        }

        .menu-trigger {
            font-size: 14px;
        }
    }

    .dropdown-menu-box {
        top: 100%;
        margin-top: 0px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.hero {
    position: relative !important;
    overflow: hidden;
    border-radius: 10px;
    width: 88%;
    margin: auto;
    display: flex;
    flex-direction: column;
    background-color: #F3F3F3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-main-area {
    position: relative;
    border-radius: 10px;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-slider-container {
    width: 100%;
    padding-bottom: 3rem;
}

.swiper-slide .hero {
    margin-bottom: 0;
    width: 88%;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #cbd5e0;
    opacity: 1;
    margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
    background-color: #6b8997;
    width: 30px;
    border-radius: 6px;
    transition: width 0.3s ease;
}

.slide-visual {
    max-height: 400px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.swiper-slide .hero-content {
    min-height: 500px;
    height: 100%;
    display: grid;
    align-content: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-left {
    align-items: flex-start !important;
    text-align: left;
}

.content-center {
    align-items: center !important;
    text-align: center;
}

.content-right {
    align-items: flex-end !important;
    text-align: right;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 60%;
    padding: 0 5%;
    margin-top: 3rem;
}

.content-left .hero-text {
    align-items: flex-start;
    text-align: left;
    margin-right: auto;
    margin-left: 0;
}

.content-center .hero-text {
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.content-right .hero-text {
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

.hero-text h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-text h2 {
    font-size: 1.8rem;
    color: #6b8997;
    margin-bottom: 1.5rem;
}

.text-wrapper {
    margin-bottom: 1rem;
}

.hero-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: #3F5561;
    margin-top: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.btn-participar {
    background-color: #435664;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: auto !important;
    width: fit-content;
    max-width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 3rem !important;
}

.btn-participar:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-info {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-footer-bar {
    background-color: #ffffff;
    width: 100%;
    padding: 1.5rem 5%;
    border-top: 1px solid #e1e8ed;
    z-index: 20;
    position: relative;
}

.container-hero-limit {
    position: relative;
    z-index: 2;
    width: 88%;
    max-width: 1200px;
    margin: 0 auto;
}

.container-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

.info-item img {
    width: 20px;
    height: auto;
    filter: brightness(0.5);
}

.info-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80%;
}

.image-placeholder {
    width: 100%;
    max-width: 55%;
    height: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #8ba5b3 0%, #6b8997 100%);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 1360px) {

    .hero-text {
        align-items: center !important;
        text-align: center !important;
        margin: 0 auto !important;
        max-width: 100%;
        padding: 40px 20px;
    }
    
    .content-left .hero-text {
        align-items: flex-start !important;
        text-align: left !important;
        margin-right: auto !important;
        margin-left: 0 !important;
    }

    .content-right .hero-text {
        align-items: flex-end !important;
        text-align: right !important;
        margin-left: auto !important;
        margin-right: 0 !important;
    }

    .hero-text h1 {
        max-width: 500px;
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-text h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .hero-quote {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn-participar {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
        margin-bottom: 4.8rem !important; 
    }

    .hero-main-area {
        min-height: 450px;
    }
}

.container-sobre,
.podcasts,
.horarios,
.contato,
.faq {
    width: 88%;
    margin: auto;
    border-radius: 10px;
    margin-bottom: 5%;
}

.container-sobre,
.programacao,
.podcasts,
.horarios,
.contato,
.faq {
    padding: 2% 3% 3%;
    background-color: white;
}

.faq {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    margin-bottom: 0%;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.sobre {
    width: 88%;
    margin: auto;
    background-color: #ffffff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px
}

.sobre-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s;
}

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

.card-icon {
    margin-bottom: 1.5rem;
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
}

.podcasts {
    background-color: white;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-header img {
    transform: translateY(-11px);
    width: 3%;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.podcast-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 2px #e8f1f5 solid;
}

.podcast-card:hover {
    box-shadow: var(--shadow-lg);
}

.podcast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.podcast-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.podcast-card>p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.player {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.progress-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.time {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.progress {
    flex: 1;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: #6b8997;
    border-radius: 10px;
    width: 0%;
    transition: width 0.1s linear;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.control-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 50%;
}

.control-btn:hover {
    color: var(--primary-color);
    background-color: rgba(107, 137, 151, 0.1);
}

.control-btn.play {
    background-color: var(--primary-dark);
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.control-btn.play:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

.calendar-section {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: start;
}

.calendar {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: none;
}

.calendar-header {
    background-color: #6b8997;
    color: #ffffff;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.calendar-header h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-nav {
    color: #ffffff;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: 700;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.calendar-nav:hover {
    opacity: 1;
    background: none;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #ffffff;
    padding: 1rem 1rem 0.5rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.calendar-weekdays div {
    text-align: center;
    font-size: 0.75rem;
    color: #a0aec0;
    font-weight: 600;
    text-transform: uppercase;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 1rem;
    background-color: #ffffff;
    gap: 2px;
}

.day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    color: #4a5568;
    cursor: pointer;
    position: relative !important;
    transition: all 0.2s ease;
}

.day:hover:not(.other-month) {
    background-color: #f0f4f8;
}

.day:hover {
    background-color: rgba(107, 137, 151, 0.1);
}

.day.today {
    color: #6b8997;
    font-weight: 700;
}

.day.other-month {
    color: #cbd5e0 !important;
    pointer-events: none;
}

.main {
    background-color: var(--bg-light);
    padding: 1% 0 0 0;
    justify-content: 10% space-between;
}

.day.active {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.day.has-event {
    font-weight: 400 !important;
    color: #4a5568 !important;
}

.day.has-event::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-40%);
    width: 5px;
    height: 5px;
    background-color: #6b8997;
    border-radius: 50%;
    display: block !important;
}

.day.selected {
    background-color: #6b8997 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.day.selected.has-event::after {
    background-color: #ffffff !important;
}

.day.today.has-event::after {
    background-color: #6b8997;
}

.empty-message {
    display: none;
    color: #6b8997;
    font-style: italic;
    padding: 1rem;
    text-align: center;
    border: 1px dashed #cbd5e0;
    border-radius: 8px;
}

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

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

.event-card-dynamic {
    display: none;
    animation: fadeIn 0.4s ease;
}

.day.selected::after {
    background-color: white;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 1rem;
}

.events-list::-webkit-scrollbar {
    width: 6px;
}

.events-list::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 3px;
}

.events-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.event-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

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

.event-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.event-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.event-time {
    margin-top: 1rem;
    color: var(--text-dark);
}

.ver-todos {
    text-align: right;
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    display: block;
    margin-top: 1rem;
    transition: color 0.3s;
}

.ver-todos:hover {
    color: var(--primary-dark);
}

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.horario-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s;
}

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

.horario-card ul {
    list-style: none;
    margin-top: 1rem;
}

.horario-card li {
    color: var(--text-light);
    padding: 0.5rem 0;
    line-height: 1.6;
}

.quote {
    grid-column: 1 / -1;
    width: 40%;
    margin-left: auto;
    margin-top: 2rem;
    text-align: right;
    border-radius: 12px;
    display: block;
}

.quote p {
    font-size: 2.8rem;
    font-family: "Great Vibes", cursive;
    color: var(--primary-color);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.quote-reference {
    font-size: 1.2rem;
    color: var(--text-light);
    font-family: "Great Vibes", cursive;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    height: 100%;
    padding: 6% 10%;
    box-shadow: var(--shadow);
}

.info-group p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1rem;
}

.info-group p:not(:last-child) {
    margin-bottom: 0.25rem;
}

.mapa {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--bg-white);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: all 0.3s;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-icon {
    color: var(--primary-color);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: var(--bg-light);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}


.footer {
    background-color: #E0E0E0;
    color: #6b8997;
    padding: 2rem 0;
    border-top: none;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-right: auto;
}

.logo-circle-placeholder {
    width: 88%;
    border-radius: 100%;
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 5px solid #7594A7;
}

.footer-org-name {
    font-size: 0.85rem;
    color: #6b8997;
    max-width: 400px;
    line-height: 1.4;
    font-weight: 400;
}


.footer-info-col h3 {
    font-size: 1.2rem;
    color: #6b8997;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: none;
}

.footer-info-col p {
    font-size: 0.95rem;
    color: #6b8997;
    margin-bottom: 0.2rem;
    line-height: 1.5;
}

.mt-large {
    margin-top: 2rem;
}

.location-text {
    max-width: 90%;
}

.footer-social-col h3 {
    font-size: 1.2rem;
    color: #6b8997;
    font-weight: 700;
    margin-bottom: 1rem;
}

.social-icons-row {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: #ffffff;
    border-radius: 8px;
    color: #6b8997;
    transition: all 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    color: var(--primary-dark);
}

.developer-credit p {
    font-size: 0.95rem;
    color: #6b8997;
    opacity: 0.8;
}

.dev-name {
    font-weight: 700;
    font-style: italic;
    font-size: 1.1rem;
    margin-left: 5px;
}


.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-dark);
}

/* --- ESTILOS DOS FORMULÁRIOS (PÁGINAS DE TEMPLATE) --- */

body.page-template-page-educacional,
body.page-template-page-eventos,
body.page-template-page-boletim,
body.page-template-page-oracao {
    background-color: #F3F3F3;
}

.page-template-page-educacional .main,
.page-template-page-eventos .main,
.page-template-page-boletim .main,
.page-template-page-oracao .main,
.main-page-content {
    background-color: #F3F3F3;
    padding: 0 0 4rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-template-page-educacional .navbar,
.page-template-page-eventos .navbar,
.page-template-page-boletim .navbar,
.page-template-page-oracao .navbar {
    background-color: #F3F3F3;
    box-shadow: none;
    border-bottom: none;
}

.page-form-container {
    width: 88%;
    margin: auto;
    background-color: #ffffff;
    border-radius: 15px;
    padding: 3.5rem 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
    margin-top: 0;
}

.form-title {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 1rem;
    font-weight: 700;
}

.form-description {
    color: #4a5568;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.form-subtitle {
    font-size: 1.3rem;
    color: #1a202c;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control,
input[type="text"].form-control,
input[type="email"].form-control,
input[type="tel"].form-control,
input[type="date"].form-control,
select.form-control,
textarea.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 1rem;
    color: #a0aec0 !important;
    background-color: #fff;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: none;
    box-sizing: border-box;
}

.form-control::placeholder {
    color: #A0AEC0 !important;
    opacity: 1;
}

.form-control:focus {
    outline: none;
    border-color: #6b8997;
    box-shadow: 0 0 0 3px rgba(107, 137, 151, 0.1);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1em;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 2rem 0;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label,
.wpcf7-list-item-label {
    font-size: 0.95rem;
    color: #2d3748;
    cursor: pointer;
    line-height: 1.5;
}

.podcast-grid>*:only-child {
    grid-column: 1 / -1 !important;
    /* Força ir da primeira até a última linha do grid */
    width: 100%;
    max-width: 100%;
}

.btn-submit,
input.wpcf7-submit {
    display: block;
    width: 350px;
    max-width: 100%;
    margin: 0 auto;
    background-color: #435664;
    color: white;
    font-weight: 500;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.05rem;
    transition: background-color 0.3s;
    text-align: center;
}

.btn-submit:hover,
input.wpcf7-submit:hover {
    background-color: #2c3e50;
}

.page-footer-quote {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.page-footer-quote p {
    font-family: "Great Vibes", cursive;
    font-size: 2.2rem;
    color: #8da3af;
    margin: 0;
    line-height: 1.2;
}

.page-footer-quote .quote-ref {
    font-family: "Great Vibes", cursive;
    font-size: 1.8rem;
    color: #8da3af;
}

/* --- TELA DE SUCESSO --- */

.success-response {
    display: none;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    animation: fadeIn 0.5s ease;
}

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

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

.success-dove-img {
    width: 180px;
    height: auto;
    margin-bottom: 2rem;
    display: block;
}

.success-title {
    font-size: 1.8rem;
    color: #1a202c;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.success-desc {
    font-size: 1.05rem;
    color: #4a5568;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.btn-home-success {
    display: inline-block;
    background-color: #435664;
    color: white;
    padding: 1rem 3rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-home-success:hover {
    background-color: #2c3e50;
    color: white;
}

.form-content-wrapper.hidden {
    display: none;
}

@media (max-width: 1360px) {
    .nav-container {
        width: 87%;
    }

    .horarios-grid {
        grid-template-columns: 1fr 1fr;
    }

    .podcast-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .quote {
        grid-column: auto;
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        text-align: right;
        padding-left: 2rem;
    }

    .quote p {
        font-size: 2.2rem;
    }

    .podcast-card {
        padding: 1.5rem;
    }

    .podcast-header h3 {
        font-size: 1.1rem;
    }

    .podcast-header {
        margin-bottom: 0.5rem;
    }

    .podcast-card>p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .player {
        padding: 1rem;
    }

    .progress-bar {
        margin-bottom: 0.5rem;
    }

    .control-btn.play {
        width: 36px;
        height: 36px;
    }

    .control-btn svg {
        pointer-events: none;
    }

    .section-header {
        width: 100%;
    }

}


@media (max-width: 1024px) {
    .calendar-section {
        grid-template-columns: 1fr;
    }

    .calendar {
        max-width: 400px;
        margin: 0 auto;
    }

    .contato-grid {
        grid-template-columns: 1fr;
    }

    .mapa {
        height: 300px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header {
        width: 75%;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .calendar-section {
        grid-template-columns: 1fr;
    }

    .podcast-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 200px 2fr 1.2fr;
        gap: 3rem;
        align-items: start;
    }

    .footer-logo-col,
    .footer-info-col,
    .footer-social-col {
        align-items: center;
    }

    .location-text {
        margin: 0 auto;
    }

    .social-icons-row {
        justify-content: center;
    }

    .podcast-card:nth-child(n+3) {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-main-area {
        min-height: 450px;
        align-items: flex-start;
    }

    .nav-container {
        width: 95%;
        padding: 1rem 1.5rem;
    }


    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #F3F3F3;
        padding: 2rem;
        transition: 0.3s;
        z-index: 999;
        flex-direction: column;
        gap: 0;
        text-align: right;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 16px 0;
        font-size: 1.2rem;
    }

    .hero {
        width: 100%;
        margin-bottom: 0;
        border-radius: 0;
        min-height: 600px;
        display: flex;
        align-items: flex-start;
        background-color: #f5f7fa;
        min-height: 600px;
    }

    .hero-bg-image {
        position: absolute !important;
        height: 100%;
        width: 100%;
        z-index: 0;
    }

    .bg-img-cover {
        height: 100%;
        object-position: 65% center;
    }

    .hero-bg-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .hero-content {
        position: relative;
        z-index: 10;
        padding: 3rem 1.5rem;
        text-align: left !important;
        align-items: flex-start !important;
        height: 100%;
        width: 100%;
    }

    .content-left,
    .content-right,
    .content-center {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }

    .hero-text {
        max-width: 100%;
        height: auto;
        min-height: 300px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
        color: var(--text-dark);
        font-size: 2.2rem;
    }

    .hero-text h2 {
        font-size: 1.2rem;
        color: var(--text-dark);
        opacity: 0.9;
        margin-bottom: 1.5rem;
    }

    .hero-quote {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0;
    }

    .hero-image {
        display: none;
    }

    .btn-participar {
        width: 100%;
        text-align: center;
        margin-bottom: 2rem;
        display: block;
        margin-top: 2rem !important;
    }

    .hero-info {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .info-item {
        font-size: 0.95rem;
        color: var(--text-dark);
        font-weight: 600;
    }

    .info-item img {
        filter: brightness(0) opacity(0.7);
        width: 20px;
    }


    .container {
        padding: 2rem 1.5rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .section-header img {
        width: 30px;
        transform: none;
        margin-bottom: 0.5rem;
    }

    .container-footer-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }


    .cards-grid,
    .horarios-grid,
    .footer-grid,
    .contato-grid,
    .calendar-section {
        grid-template-columns: 1fr !important;
    }


    .podcast-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .podcast-card {
        padding: 1.5rem;
        min-height: auto;
    }

    .podcast-header h3 {
        font-size: 1.1rem;
    }

    .player {
        padding: 1rem;
    }

    .controls {
        gap: 5px;
        justify-content: space-between;
    }

    .control-btn svg,
    .control-btn img {
        width: 18px !important;
        height: 18px !important;
    }

    .control-btn.play {
        width: 40px;
        height: 40px;
    }

    .control-btn.play svg {
        width: 20px !important;
        height: 20px !important;
    }

    .progress-bar {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }

    .mapa {
        height: 300px;
    }

    .footer-logo-col {
        display: none;
    }

    .page-form-container {
        width: 100%;
        padding: 2rem 1rem;
    }

    .btn-submit {
        width: 100%;
    }

    .quote {
        display: none;
    }
}


@media (min-width: 769px) {
    .events-controls-mobile {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-info {
        margin: 0 -1rem -2rem -1rem;
        padding: 1.25rem;
    }

    .footer-container {
        width: 90%;
    }

    .social-icons-row {
        gap: 0.5rem;
    }

    .section-header img {
        width: 20%;
    }

    .podcast-card {
        padding: 1.25rem;
    }

    .progress-bar {
        font-size: 0.75rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .calendar {
        padding: 5px !important;
    }

    .calendar-days,
    .calendar-weekdays {
        gap: 0px !important;
    }

    .day {
        width: 100% !important;
        height: 40px !important;
        aspect-ratio: unset !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.9rem !important;
        line-height: 1 !important;
        position: relative !important;
        padding-bottom: 6px !important;
    }

    .day.has-event::after {
        content: '';
        background-color: #6b8997;
        border-radius: 50%;
        bottom: 6px !important;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-35%) !important;
        top: auto !important;
    }

    .day.selected.has-event::after {
        background-color: #ffffff !important;
    }
}

/* PÁGINA DE EVENTOS */

.fixas {
    width: 88%;
    margin: auto;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2% 3% 0% 3%;
    margin-bottom: 5%;
}

.fixas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.card-fixa {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
}

.card-fixa-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.card-fixa-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    width: 100%;
}

.card-fixa-footer .schedule-text {
    text-align: right;
    display: block;
    width: 100%;
}

.card-fixa-footer .btn-fixa-dark {
    width: auto;
    width: -moz-fit-content;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.card-fixa-icon img {
    width: 42px;
    height: auto;
}

.card-fixa-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.8rem;
}

.schedule-text {
    font-weight: 700;
    color: #6b8997;
    font-size: 0.95rem;
}

.btn-fixa-dark {
    display: inline-block;
    background-color: #435664;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s;
}

.btn-fixa-dark:hover {
    background-color: #2c3e50;
}

@media (max-width: 1024px) {
    .fixas-grid {
        grid-template-columns: 1fr;
    }
}

.events {
    width: 88%;
    margin: auto;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2% 3% 0% 3%;
    margin-bottom: 5%;
}

.events h2.page-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
    text-align: left;
}

.category-tabs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #718096;
    cursor: pointer;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #435664;
}

.tab-btn.active {
    background-color: #435664;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.events-grid-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.event-card-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 88%;
}

.event-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    height: 310px;
    background-color: #cbd5e0;
    background-image: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}

.badge-breve {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #ffffff;
    color: #6b8997;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
    height: 50%;
}

.card-category {
    font-size: 0.9rem;
    color: #6b8997;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.card-body h4 {
    font-size: 1.25rem;
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.card-date-text {
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 1.5rem;
    display: block;
}

.btn-card-dark {
    margin-bottom: 17%;
    margin-top: auto;
    align-self: flex-end;
    background-color: #435664;
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-card-dark:hover {
    background-color: #2c3e50;
    color: #ffffff;
}

.ver-todos-button {
    margin-bottom: 2%;
}

.link-ver-todos {
    color: #4a5568;
    text-decoration: underline;
    font-weight: 500;
    margin-bottom: 5%;
}

@media (max-width: 1200px) {
    .events-grid-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .events-grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .events-grid-cards {
        grid-template-columns: 1fr;
    }

    .category-tabs {
        gap: 0.5rem;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .tab-btn {
        white-space: nowrap;
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-info {
        margin: 0 -1rem -2rem -1rem;
        padding: 1.25rem;
    }

    .footer-container {
        width: 90%;
    }

    .social-icons-row {
        gap: 0.5rem;
    }

    .section-header img {
        width: 20%;
    }

    .podcast-card {
        padding: 1.25rem;
    }

    .progress-bar {
        font-size: 0.75rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .calendar {
        padding: 5px !important;
    }

    .calendar-days,
    .calendar-weekdays {
        gap: 0px !important;
    }

    .day {
        width: 100% !important;
        height: 40px !important;
        aspect-ratio: unset !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-size: 0.9rem !important;
        line-height: 1 !important;
        position: relative !important;
        padding-bottom: 6px !important;
    }

    .day.has-event::after {
        content: '';
        width: 4px !important;
        height: 4px !important;
        background-color: #6b8997;
        border-radius: 50%;

        position: absolute !important;
        bottom: 4px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: auto !important;
    }

    .day.selected.has-event::after {
        background-color: #ffffff !important;
    }
}

/* --- PÁGINA TODOS OS EVENTOS --- */

.page-todos-eventos {
    width: 88%;
    margin: auto;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2% 3% 3% 3%;
    /* Ajustei padding bottom */
    margin-bottom: 5%;
}

.page-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    padding-top: 2rem;
}

.page-title-large {
    font-size: 2.5rem;
    color: #1a202c;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
}

.filters-bar {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-wrapper svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    color: #4a5568;
    outline: none;
    background-color: #fff;
    transition: box-shadow 0.3s;
}

.search-wrapper input:focus {
    box-shadow: 0 0 0 3px rgba(107, 137, 151, 0.1);
    border-color: #6b8997;
}

.select-wrapper select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    color: #4a5568;
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.page-todos-eventos .events-grid-cards {
    margin-bottom: 3rem;
}

/* Paginação Estilizada */
.pagination-wrapper {
    text-align: right;
    margin-top: 2rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 2rem;
}

.pagination-wrapper a,
.pagination-wrapper span {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    margin-left: 5px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    color: #4a5568;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.pagination-wrapper a:hover,
.pagination-wrapper span.current {
    background-color: #435664;
    color: #fff;
    border-color: #435664;
}

.link-ver-evento {
    font-size: 0.9rem;
    text-decoration: underline;
    color: #718096;
    display: inline-block;
    transition: color 0.3s;
}

.link-ver-evento:hover {
    color: #2c3e50;
}

.load-more-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-bottom: 2rem;
}

#btn-load-more {
    background: none;
    border: none;
    color: #4a5568;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
    font-family: inherit;
}

#btn-load-more:hover {
    color: #1a202c;
}

@media (max-width: 1360px) {
    .event-card-item {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .card-body {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        text-align: left;
        height: auto;
    }

    .card-image {
        width: 100%;
        height: 180px;
        background-color: #cbd5e0;
        background-image: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .btn-card-dark {
        margin-bottom: 0;
        margin-top: auto;
        align-self: flex-end;
        background-color: #435664;
        color: #ffffff;
        padding: 0.6rem 1.2rem;
        border-radius: 6px;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: background 0.3s;
    }
}

@media (max-width: 768px) {
    .filters-bar {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}

/* Single Page Eventos */

.single-evento-layout {
    background-color: #F3F3F3;
    padding: 0 0 5rem 0;
    min-height: 90vh;
}

.container-single {
    width: 100%;
    margin: 0 auto;
}

.white-box-evento {
    width: 88%;
    margin: auto;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 4rem 4rem 3rem 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.evento-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.evento-top h1 {
    font-size: 2.5rem;
    color: #1a202c;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.evento-meta-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 3rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: #4a5568;
}

.icon-wrap {
    width: 24px;
    display: flex;
    justify-content: center;
}

.meta-item img {
    width: 20px;
    height: auto;
    filter: brightness(0.2);
}

.evento-grid-future {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.evento-texto h2,
.evento-texto-full h2,
.evento-galeria h2 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.content-body p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-align: justify;
}

.btn-participar-evento {
    display: inline-block;
    background-color: #435664;
    color: #ffffff;
    padding: 0.8rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1rem;
    transition: background 0.3s;
}

.btn-participar-evento:hover {
    background-color: #2c3e50;
    color: #fff;
}

.evento-imagem img,
.evento-imagem-full img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.evento-imagem img {
    aspect-ratio: 4/3;
}

.evento-imagem-full {
    margin-bottom: 2.5rem;
}

.evento-imagem-full img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
}

.meta-past-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.badge-cat {
    background-color: #435664;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.evento-texto-full {
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

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

.single-footer-quote {
    text-align: center;
    margin-top: 4rem;
}

.single-footer-quote p {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: #6b8997;
    margin-bottom: 0.2rem;
}

.single-footer-quote .ref {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: #8da3af;
}

@media (max-width: 900px) {
    .evento-grid-future {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .evento-imagem {
        order: -1;
    }

    .white-box-evento {
        padding: 2rem;
    }

    .evento-top h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --- LAYOUT SINGLE EVENTO (Grid Futuro) --- */

@media (min-width: 992px) {
    .evento-grid-future {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }

    .evento-imagem img {
        width: 100%;
        height: 450px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 991px) {
    .evento-grid-future {
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
    }
}

.layout-past-stacked {
    width: 100%;
}

.meta-horizontal-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.meta-horizontal-row .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
    font-size: 0.95rem;
}

.badge-cat {
    background-color: #435664;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.evento-imagem-full-width {
    width: 100%;
    margin-bottom: 30px;
}

.evento-imagem-full-width img.main-event-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.gallery-grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.gallery-item-wrapper img.gallery-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

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

@media (max-width: 768px) {
    .gallery-grid-3-col {
        grid-template-columns: 1fr;
    }

    .evento-imagem-full-width img.main-event-image {
        max-height: 250px;
    }
}

.btn-participar-evento {
    display: inline-block;
    background-color: #435664;
    color: #ffffff;
    padding: 12px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 25px;
    transition: background 0.3s;
}

.line-div {
    border: 1px solid #7494A74D;
    margin-bottom: 3%;
    opacity: 0.3;

}

.btn-participar-evento:hover {
    background-color: #2c3e50;
    color: white;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content-wrapper img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    line-height: 0.5;
}

.gallery-navigation-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding-bottom: 20px;
}

.nav-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.nav-arrow img {
    width: 12px;
    height: auto;
    display: block;
}

.nav-arrow:hover {
    transform: scale(1.2);
}

.nav-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #cbd5e0;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #6b8997;
}

.dot:hover {
    background-color: #a0aec0;
}

@media (max-width: 768px) {
    .gallery-navigation-controls {
        gap: 20px;
    }
}

.gallery-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.gallery-slide.active {
    display: block;
    opacity: 1;
    animation: fadeInSlide 0.5s;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.gallery-navigation-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding-bottom: 20px;
}

.nav-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.nav-arrow img {
    width: 14px;
    height: auto;
    display: block;
}

.nav-arrow:hover {
    transform: scale(1.2);
}

.nav-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #cbd5e0;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #6b8997;
    transform: scale(1.1);
}

.dot:hover {
    background-color: #a0aec0;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 100000;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-nav img {
    width: 20px;
    height: auto;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.5);
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }
}

.lightbox-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 90%;
}

.lightbox-navigation-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    padding: 10px;
}

.lightbox-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.lightbox-arrow img {
    width: 14px;
    height: auto;
    filter: brightness(0) invert(1);
}

.lightbox-arrow:hover {
    transform: scale(1.2);
}

.lightbox-dot {
    background-color: rgba(255, 255, 255, 0.3);
    width: 10px;
    height: 10px;
    margin: 0;
}

.lightbox-dot.active {
    background-color: #ffffff;
    transform: scale(1.2);
}

.lightbox-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* PÁGINA INSTITUCIONAL */

.page-institucional {
    background-color: #F3F3F3;
}

.inst-hero-section {
    background-color: #eef2f5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5rem 0 7rem 0;
    margin-bottom: 3rem;
    position: relative;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.container-hero-limit {
    width: 88%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.inst-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.inst-hero-text h1 {
    font-size: 2.8rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.inst-desc p {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: justify;
    margin: 0;
}

.inst-hero-text h1,
.inst-desc p {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.inst-hero-text {
    max-width: 100%;
    min-width: 0;
}

.inst-hero-img-col {
    display: flex;
    justify-content: center;
}

.circle-mask {
    width: 380px;
    height: 380px;
}

.circle-mask img {
    margin: auto;
    width: 400px;
    height: 411px;
    object-fit: contain;
    display: block;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: #ccc;
}


.container-content-inst {
    width: 100%;
}

.inst-split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    background-color: #ffffff;
    padding: 3rem 4rem;
    width: 88%;
    margin: 0 auto 5% auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.inst-col-timeline h2,
.inst-col-directors h2,
.inst-eleicoes-card h2 {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.timeline-list {
    border-left: 2px solid #cbd5e0;
    margin-left: 10px;
    padding-left: 30px;
    position: relative;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 5px;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border: 3px solid #6b8997;
    border-radius: 50%;
    z-index: 2;
}

.timeline-year {
    display: block;
    font-weight: 700;
    color: #6b8997;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-text {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;

    overflow-wrap: break-word;
    word-break: break-word;
}

.directors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.director-card {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    padding-bottom: 1.5rem;
}

.director-img {
    width: 100%;
    height: 200px;
    background-color: #edf2f7;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.director-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.director-info {
    padding: 0 1.5rem;
}

.director-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #2d3748;
    font-weight: 700;

    overflow-wrap: break-word;
    word-break: break-word;
}

.director-info span {
    font-size: 0.9rem;
    color: #718096;
    display: block;
}

.inst-associados-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 3rem 4rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    width: 88%;
    margin: 0 auto 5% auto;
}

.associados-content h3 {
    font-size: 1.4rem;
    color: #1a202c;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.associados-content p {
    color: #4a5568;
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}

.btn-dark-inst {
    background-color: #3E5463;
    color: #fff;
    padding: 14px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.3s;
    display: inline-block;
}

.btn-dark-inst:hover {
    background-color: #2c3e50;
    color: #fff;
}

/* --- 5. ELEIÇÕES --- */
.inst-eleicoes-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 3rem 4rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    width: 88%;
    margin: 0 auto 5% auto;
}

.eleicoes-content-body h3 {
    font-size: 1.1rem;
    color: #2d3748;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.eleicoes-content-body p,
.eleicoes-content-body li {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;

    overflow-wrap: break-word;
    word-break: break-word;
}

.eleicoes-content-body ul {
    padding-left: 20px;
}

@media (max-width: 992px) {

    .inst-hero-section {
        padding: 3rem 0;
        height: auto;
    }

    .inst-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .inst-hero-img-col {
        order: -1;
        margin-bottom: 1rem;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .circle-mask {
        width: 220px;
        height: 220px;
        border-width: 6px;
        margin: 0 auto;
    }

    .circle-mask img {
        width: 217px !important;
        height: 222px !important;
        object-fit: cover !important;
        display: block;
        margin: 0;
        padding: 0;
    }

    .inst-hero-text h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .inst-desc p {
        text-align: center;
        font-size: 0.95rem;
    }

    .inst-split-section {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 3rem;
    }

    .timeline-list {
        margin-left: 0;
        padding-left: 20px;
    }

    .timeline-item::before {
        left: -27px;
    }

    .directors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .inst-associados-card {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
        gap: 1.5rem;
    }

    .associados-action {
        width: 100%;
        margin-top: 0;
    }

    .btn-dark-inst {
        display: block;
        width: 100%;
        text-align: center;
    }

    .inst-eleicoes-card {
        padding: 2rem;
    }
}

/* PÁGINA ASSOCIADOS */

.page-associados {
    background-color: #f5f7fa;
}

.associados-hero {
    width: 100%;
    padding: 4rem 0 6rem 0;
    text-align: center;
    position: relative;
    margin-bottom: 4rem;
}

.page-associados {
    background-color: #F3F3F3;
    padding: 0 0 4rem;
    min-height: 76vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.associados-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('caminho/para/onda.png') no-repeat bottom center;
    background-size: cover;
}

.hero-center-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-center-content h1 {
    font-size: 2.5rem;
    color: #1a202c;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-center-content p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.container-associados {
    width: 88%;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 3rem 6rem 2rem 6rem;
}

.associados-filter-box {
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.associados-filter-box h3 {
    font-size: 1.1rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.filters-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
}

.search-input-wrapper,
.select-input-wrapper {
    position: relative;
}

.search-input-wrapper svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
}

.search-input-wrapper input,
.select-input-wrapper select {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #4a5568;
    background-color: #fff;
    outline: none;
    height: 48px;
}

.select-input-wrapper select {
    padding-left: 15px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.associados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.associado-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    padding: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.associado-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.associado-photo {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    background-color: #edf2f7;
}

.associado-photo img {
    width: 207px;
    height: 201px;
    object-fit: cover;
    object-position: top center;
}

.placeholder-assoc {
    width: 100%;
    height: 100%;
    background-color: #cbd5e0;
}

.associado-info h4 {
    font-size: 1rem;
    color: #7494A7;
    font-weight: 700;
    margin: 0.5rem 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.associados-footer-link {
    text-align: right;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.associados-footer-link a {
    color: #4a5568;
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 992px) {
    .filters-grid {
        grid-template-columns: 1fr;
    }

    .associados-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .associados-grid {
        grid-template-columns: 1fr;
    }
}

/* PÁGINA EDUCACIONAL */
body {
    font-family: 'Inter', sans-serif;
    color: #1a202c;
    background-color: #F3F3F3;
    margin: 0;
}

.edu-hero-section {
    background-color: #F0F8FF;
    width: 100%;
    padding: 8rem 0 10rem 0;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.container-edu {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.edu-hero-grid {
    display: block;
    max-width: 800px;
}

.edu-hero-img-col {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
    margin: 0;
    padding: 0;
}

.edu-hero-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
    display: block;
}

.edu-hero-img-col div[style*="background"] {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
}

.edu-hero-content {
    width: 100%;
    max-width: 600px;
    transform: translateY(-66px);
    align-items: right;
    background: transparent;
}

.edu-hero-content h1 {
    font-size: 3rem;
    color: #1a202c;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.edu-desc p {
    max-width: 480px;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    color: #222222;
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.btn-dark-edu {
    transform: translateY(136px);
    background-color: #3E5463;
    color: #fff;
    padding: 2% 12%;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s;
}

.btn-dark-edu:hover {
    background-color: #2c3e50;
    transform: translateY(134px);
}

.container-edu-content {
    width: 100%;
    padding-bottom: 4rem;
}

.book-info {
    padding: 1rem 2rem 2rem 0rem;
}

.edu-programs-section,
.edu-review-section {
    width: 88%;
    margin: 0 auto 4rem auto;
    background-color: #ffffff;
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.edu-programs-section h2,
.edu-review-section h2 {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 0;
    font-weight: 700;
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.program-card {
    background-color: #fff;
    border: 1px solid #7594A74D;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s;
    margin-top: 19px;
}

.program-card:hover {
    transform: translateY(-5px);
    border-color: #cbd5e0;
}

.prog-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    width: 100%;
}

.prog-icon img {
    width: 50px;
    height: auto;
    object-fit: contain;
}

.program-card h3 {
    font-size: 1.15rem;
    color: #2d3748;
    font-weight: 700;
    margin: 0;
}

.prog-body p {
    color: #718096;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.btn-dark-small {
    background-color: #3E5463;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-dark-small-btn-pdf {
    background-color: #3E5463;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-dark-small:hover {
    background-color: #2c3e50;
}

/* RESENHA DO LIVRO */
.review-box-content {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 4rem;
    padding-top: 2.5rem;
}

.review-book-col {
    align-items: center !important;
    justify-content: flex-start;
    height: 20rem;
    width: 51rem;
    display: flex;
    gap: 8rem;
    border: 1px solid #7594A74D;
    border-radius: 10px;
    padding: 0 0 0 3rem;
}

.book-cover-wrapper img {
    width: 211px;
    height: auto;
    border-radius: 4px;
    transform: perspective(600px) rotateY(-12deg);
}

.book-info h3 {
    font-size: 1.25rem;
    margin: 0 0 0 0;
    font-weight: 700;
}

.book-info p {
    margin-top: 0rem;
    margin-bottom: 2rem;
    color: #718096;
}

.book-author {
    font-size: 0.9rem;
    color: #718096;
    display: block;
    margin-bottom: 1rem;
}

/* ÁREA DO ÁUDIO */
.audio-inner-card {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centraliza verticalmente se sobrar espaço */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Título e Descrição */
.audio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.audio-header h3 {
    font-size: 1.1rem;
    color: #1a202c;
    font-weight: 700;
    margin: 0;
}

.audio-description p {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* 2. A Caixa Cinza do Player */
.player-gray-box {
    background-color: #F3F6F8;
    /* Cinza claro do print */
    border-radius: 8px;
    padding: 1.5rem;
    /* Espaço interno generoso */
    width: 100%;
}

/* Linha da Barra de Progresso */
.progress-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    /* Espaço entre barra e botões */
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 500;
}

.progress {
    flex-grow: 1;
    height: 4px;
    /* Barra fina e elegante */
    background-color: #cbd5e0;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #3E5463;
    /* Azul escuro do tema */
    width: 0%;
    border-radius: 4px;
}

/* Linha dos Botões */
.controls-row {
    display: flex;
    justify-content: center;
    /* Centralizados horizontalmente */
    align-items: center;
    gap: 25px;
    /* Espaço entre os ícones */
}

/* Botões Comuns (Shuffle, Skip, Loop) */
.ctrl-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.ctrl-btn img {
    width: 20px;
    height: auto;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.ctrl-btn:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* 3. O Botão Play Destaque (Igual ao print) */
.btn-main-play {
    width: 45px;
    height: 45px;
    background-color: #3E5463;
    /* Fundo Azul Escuro */
    border-radius: 50%;
    /* Círculo perfeito */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(62, 84, 99, 0.3);
    transition: background 0.3s, transform 0.2s;
}

.btn-main-play svg {
    width: 16px;
    height: 16px;
    fill: white;
    margin-left: 2px;
    /* Ajuste visual para centralizar o triângulo */
}

.btn-main-play:hover {
    background-color: #2c3e50;
    transform: scale(1.05);
}

/* RODAPÉ / CITAÇÃO */
.single-footer-quote {
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.single-footer-quote p {
    font-family: 'Great Vibes', cursive;
    /* Fonte especial */
    font-size: 2.8rem;
    color: #94a3b8;
    /* Tom cinza azulado suave */
    margin: 0;
    line-height: 1.2;
}

.single-footer-quote .ref {
    display: block;
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: #cbd5e1;
    margin-top: 0.5rem;
}

.player-gray-box {
    background-color: #F3F6F8 !important;
    /* Força a cor cinza */
    border-radius: 8px;
    padding: 1.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #e1e8ed;
}

/* Linha da Barra (Cima) */
.progress-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 500;
    width: 100%;
}

.progress {
    flex-grow: 1;
    height: 4px;
    background-color: #cbd5e0;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: #3E5463;
    width: 0%;
    border-radius: 4px;
}

/* Linha dos Botões (Baixo) */
.controls-row {
    display: flex !important;
    /* Força o display */
    justify-content: center;
    align-items: center;
    gap: 25px;
    width: 100%;
    min-height: 40px;
    /* Garante altura mínima */
}

/* Botões */
.ctrl-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.ctrl-btn svg {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.ctrl-btn:hover svg {
    opacity: 1;
    transform: scale(1.1);
}

/* Botão Play Destaque */
.btn-main-play {
    width: 45px;
    height: 45px;
    background-color: #3E5463;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(62, 84, 99, 0.3);
    padding-left: 3px;
    /* Ajuste visual pro triângulo */
}

.btn-main-play svg {
    opacity: 1;
    /* O play é sempre visível */
    fill: white;
}

.btn-main-play:hover {
    background-color: #2c3e50;
    transform: scale(1.05);
}

@media (max-width: 1360px) {
    .review-book-col {
        align-items: center !important;
        justify-content: flex-start;
        height: 20rem;
        width: 42rem;
        display: flex;
        gap: 3rem;
        border: 1px solid #7594A74D;
        border-radius: 10px;
        padding: 0 0 0 3rem;
    }
}

@media (max-width: 1300px) {
    .review-book-col {
        align-items: center !important;
        justify-content: flex-start;
        height: 20rem;
        width: 38rem;
        display: flex;
        gap: 3rem;
        border: 1px solid #7594A74D;
        border-radius: 10px;
        padding: 0 0 0 3rem;
    }
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
    .btn-dark-small {
        width: 10rem;
        background-color: #3E5463;
        color: #fff;
        padding: 15px 25px;
        border-radius: 6px;
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 16px;
        transition: background 0.3s;
    }

    .btn-dark-small-btn-pdf {
        width: 10rem;
        background-color: #3E5463;
        color: #fff;
        padding: 15px 25px;
        border-radius: 6px;
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 16px;
        transition: background 0.3s;
    }

    .book-info {
        padding: 0;
    }

    .book-cover-wrapper img {
        width: 138px;
        height: auto;
        border-radius: 4px;
    }

    .review-book-col {
        flex-direction: column;
        height: 35rem;
        width: 15rem;
        align-items: center !important;
        justify-content: center;
        display: flex;
        gap: 0;
        border: 1px solid #7594A74D;
        border-radius: 10px;
        padding: 2rem;
    }

    .audio-inner-card {
        background-color: #ffffff;
        border: 1px solid #f0f0f0;
        border-radius: 12px;
        padding: 2rem;
        height: 23rem;
        width: 15rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    }

    .audio-header h3 {
        font-size: 1rem;
        color: #1a202c;
        font-weight: 700;
        margin: 0;
    }

    .audio-description p {
        font-size: 0.75rem;
        color: #718096;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .single-footer-quote p {
        font-family: 'Great Vibes', cursive;
        font-size: 2.8rem;
        color: #94a3b8;
        margin: auto;
        line-height: 1.2;
        height: 7rem;
        width: 21rem;
    }

    .audio-inner-card {
        background-color: #ffffff;
        border: 1px solid #f0f0f0;
        border-radius: 12px;
        padding: 1rem;
        height: 20rem;
        width: 15rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    }

    .player-gray-box {
        background-color: #F3F6F8 !important;
        border-radius: 8px;
        padding: 1.5rem;
        width: 13rem;
        height: 7rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border: 1px solid #e1e8ed;
    }

    .controls-row {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 10rem;
        min-height: 40px;
    }

    .edu-hero-grid,
    .review-box-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .review-book-col {
        flex-direction: column;
        align-items: center;
    }

    .book-cover-wrapper img {
        transform: none;

        margin-bottom: 1.5rem;
    }

    .prog-header {
        justify-content: center;
    }


    .program-card {
        align-items: center;
        text-align: center;
    }

    .edu-hero-content {
        text-align: center;
    }

    .edu-hero-content h1 {
        font-size: 2.5rem;
        color: #1a202c;
        font-weight: 800;
        margin-bottom: 1.5rem;
        line-height: 1.1;
    }

    .edu-desc p {
        max-width: 480px;
        margin: auto;
        width: 17rem;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
        color: #222222;
        line-height: 1.6;
        font-size: 0.9rem;
        margin-bottom: 2.5rem;
    }

    .edu-hero-img-col img {}
}

/* PÁGINA DETALHES DO PROGRAMA */

.single-program-layout {
    background-color: #F3F3F3;
    padding-bottom: 4rem;
}

.program-container {
    width: 100%;
}

.white-card-section {
    background: #fff;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    width: 88%;
    margin: auto;
    margin-bottom: 5%;
}

.header-section {
    margin-bottom: 3rem;
    margin-left: 1rem;
}

.header-section h2,
.modules-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.header-section p {
    color: #4a5568;
    line-height: 1.6;
    max-width: 800px;
}

.program-header-mobile {
    display: none;
    text-align: center;
    margin-bottom: 2rem;
}

.program-header-mobile h1 {
    font-size: 2rem;
    color: #1a202c;
    font-weight: 700;
}

.calendar-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.mini-calendar {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 350px;
    margin: 0 auto;
}

.mc-header {
    background-color: #7594A7;
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.mc-nav {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 10px;
}

.mc-weekdays,
.mc-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px;
    background: #fff;
    gap: 2px;
}

.mc-weekdays {
    border-bottom: 1px solid #f7fafc;
    padding-bottom: 5px;
}

.mc-weekdays span {
    text-align: center;
    font-size: 0.75rem;
    color: #a0aec0;
    font-weight: 700;
}

.mc-days span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    width: 38px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: #4a5568;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.mc-days span:hover:not(.empty) {
    background-color: #edf2f7;
    font-weight: 700;
}

.mc-days span.today-mark {
    border: 1px solid #6b8997;
}

.mc-days span.active {
    background-color: #6b8997;
    color: #fff;
    font-weight: 700;
}

.mc-days span.has-event::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: #6b8997;
    border-radius: 50%;
}

.mc-days span.active.has-event::after {
    background-color: #fff;
}

.turmas-list-container {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 10px;
}

.turma-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #fff;
}

.turma-item h3 {
    font-size: 1.1rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.turma-desc {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

.turma-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f7fafc;
    font-size: 0.9rem;
    color: #2d3748;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #718096;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.empty-state .dashicons {
    font-size: 40px;
    height: 40px;
    margin-bottom: 10px;
    opacity: 0.3;
}

.empty-state .title {
    font-weight: 600;
    margin-bottom: 5px;
}

.empty-state .sub {
    font-size: 0.9rem;
}

.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #fff;
    overflow: hidden;
}

.accordion-item.open {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e0;
}

.accordion-header {
    background: #fff;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-header h3 {
    font-size: 1.05rem;
    color: #2d3748;
    font-weight: 700;
    margin: 0;
}

.accordion-body {
    display: none;
    border-top: 1px solid #e2e8f0;
    padding: 2rem;
    background-color: #fff;
}

.objective-box {
    margin-bottom: 2rem;
}

.label-obj {
    display: block;
    font-size: 0.85rem;
    color: #4a5568;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.text-obj {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
}

.script-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    background-color: #fff;
    transition: border-color 0.3s;
    margin-bottom: 1rem;
}

.script-row:hover {
    border-color: #cbd5e0;
}

.script-info {
    color: #2d3748;
    font-size: 1rem;
    padding-right: 1rem;
}

.script-info strong {
    font-weight: 700;
    color: #1a202c;
}

.btn-visualizar {
    background-color: #3E5463;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.3s;
}

.btn-visualizar:hover {
    background-color: #2c3e50;
    color: #fff;
}

.btn-visualizar.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #cbd5e0;
}

/* MEDIA QUERIES (Programas) */

@media (max-width: 1360px) {
    .calendar-grid-layout {
        gap: 3rem;
        margin-right: 0;
        margin-left: 0;
    }
}

@media (max-width: 1024px) {
    .calendar-grid-layout {
        display: flex;

        flex-direction: column;

        align-items: center;
        gap: 3rem;
    }

    .cal-wrapper {
        width: 18rem;
        display: flex;
        justify-content: center;
    }

    .mc-weekdays,
    .mc-days {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        padding: 3px;
        background: #fff;
        gap: 2px;
    }

    .list-wrapper {
        width: 100%;
    }

    .turmas-list-container {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .program-container {
        width: 95%;
        padding-top: 1.5rem;
    }

    .program-header-mobile {
        display: block;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .header-section h2,
    .modules-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .header-section p {
        text-align: center;
        font-size: 0.95rem;
    }

    .white-card-section {
        padding: 2rem 1rem !important;
        margin-bottom: 2rem;
    }

    .calendar-grid-layout {
        width: 100%;
        gap: 2.5rem;
        /* Adicionei para garantir o empilhamento correto que estava implícito */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mini-calendar {
        width: 100%;
        max-width: 330px;
        margin: 0 auto;
    }

    .mc-header {
        padding: 0.8rem;
    }

    .script-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.2rem;
    }

    .script-info {
        padding-right: 0;
        width: 100%;
    }

    .btn-visualizar {
        width: 100%;
        text-align: center;
        padding: 12px;
        display: block;
    }

    /* --- AQUI ESTÁ A MUDANÇA PARA A SETINHA --- */
    .accordion-header {
        padding: 1rem;
        /* Força layout flex para separar texto e seta */
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .accordion-header h3 {
        margin: 0;
        text-align: left;
        /* Dá um espaço para o texto não grudar na seta */
        padding-right: 10px;
        font-size: 1rem;
        /* Ajuste leve para caber melhor */
    }

    .arrow-icon {
        /* Impede que a seta suma se o texto for grande */
        flex-shrink: 0;
        display: block;
    }

    /* ----------------------------------------- */

    .accordion-body {
        padding: 1.5rem 1rem;
    }
}

/* BOLETIM PAGE */

.page-boletim {
    background-color: #F3F3F3;
}

.container-boletim {
    width: 88%;
    margin: 0 auto;
}

.boletim-hero {
    height: 18rem;
    background-color: #F0F8FF;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 4rem 5rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.hero-content-col {
    max-width: 60%;
    z-index: 2;
}

.hero-icon-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.hero-icon-title .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #6b8997;
}

.hero-icon-title h1 {
    font-size: 2.2rem;
    color: #1a202c;
    font-weight: 700;
    margin: 0;
}

.hero-desc p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
}

.hero-image-col img {
    max-width: 200px;
    height: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transform: rotate(3deg);
    border-radius: 4px;
}

.boletim-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.boletim-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.boletim-card h3 {
    font-size: 1.3rem;
    color: #1a202c;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pub-date {
    display: block;
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-desc {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn-row {
    display: flex;
    gap: 1rem;
}

.btn-dark-boletim {
    background-color: #3E5463;
    color: #fff;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s;
    border: 1px solid #3E5463;
}

.btn-dark-boletim:hover {
    background-color: #2c3e50;
    color: #fff;
}

.btn-outline-boletim {
    background-color: transparent;
    color: #4a5568;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #cbd5e0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.btn-outline-boletim:hover {
    border-color: #3E5463;
    color: #3E5463;
}

.boletim-archive-section {
    background-color: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 4rem;
}

.archive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.archive-header h2 {
    font-size: 1.5rem;
    color: #1a202c;
    font-weight: 700;
    margin: 0;
}

.archive-filters {
    display: flex;
    gap: 1rem;
}

.search-input {
    position: relative;
}

.search-input input {
    padding: 10px 10px 10px 35px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 250px;
}

.search-input .dashicons {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
}

.year-select select {
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
}

.archive-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.archive-item {
    font-size: 1rem;
    color: #2d3748;
    padding-bottom: 0.5rem;
}

.item-title strong {
    font-weight: 700;
}

.item-link {
    color: #6b8997;
    font-weight: 600;
    text-decoration: none;
    margin-left: 5px;
}

.item-link:hover {
    text-decoration: underline;
}

.pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.pagination-wrapper .page-numbers {
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
}

.pagination-wrapper .page-numbers.current,
.pagination-wrapper .page-numbers:hover {
    background-color: #3E5463;
    color: #fff;
    border-color: #3E5463;
}

.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.open {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e0;
}

.accordion-header {
    background: #fff;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-header h3 {
    font-size: 1.05rem;
    color: #2d3748;
    font-weight: 700;
    margin: 0;
}

.arrow-icon {
    color: #a0aec0;
    transition: transform 0.3s;
}

.accordion-body {
    display: none;
    border-top: 1px solid #e2e8f0;
    padding: 2rem;
    background-color: #fff;
}

.label-obj {
    display: block;
    font-size: 0.85rem;
    color: #4a5568;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.text-obj {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.scripts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.script-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    background-color: #fff;
    transition: border-color 0.3s;
}

.script-row:hover {
    border-color: #cbd5e0;
}

.script-info {
    color: #2d3748;
    font-size: 1rem;
    line-height: 1.4;
    padding-right: 1rem;
}

.script-info strong {
    font-weight: 700;
    color: #1a202c;
}

.btn-visualizar {
    background-color: #3E5463;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.3s;
}

.btn-visualizar:hover {
    background-color: #2c3e50;
    color: #fff;
}

/* MEDIA QUERIES (Boletim) */

@media (max-width: 600px) {
    .script-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .btn-visualizar {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 992px) {
    .boletim-hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }

    .hero-content-col {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-icon-title {
        justify-content: center;
    }

    .boletim-top-grid {
        grid-template-columns: 1fr;
    }

    .archive-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .archive-filters {
        width: 100%;
        flex-direction: column;
    }

    .search-input input {
        width: 100%;
    }

    .year-select select {
        width: 100%;
    }
}


/* PÁGINA SINGLE ROTEIROS */

.roteiro-layout {
    background-color: #F3F3F3;
    padding-bottom: 4rem;
}

.info-col {
    max-width: 447px;
    display: flex;
    flex-direction: column;
}

.roteiro-container {
    width: 88%;
    margin: 0 auto;
    padding-top: 3rem;
}

.roteiro-header {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1.5rem;
}

.prog-subtitle {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mod-title {
    font-size: 1.8rem;
    color: #1a202c;
    font-weight: 700;
    margin: 0;
}

.roteiro-top-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    width: 100%;
    height: 300px;
    background-color: #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
}

.lesson-title {
    max-width: 423px;
    font-size: 1.6rem;
    color: #1a202c;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.objectives-box {
    margin-bottom: 2rem;
}

.label-small {
    display: block;
    font-size: 0.8rem;
    color: #718096;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.content-text ul {
    padding-left: 1.2rem;
    color: #4a5568;
}

.content-text li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.btn-download-pdf {
    width: 190px;
    display: inline-flex;
    align-self: flex-end;
    align-items: center;
    gap: 15px;
    background-color: #3E5463;
    color: #fff;
    padding: 10px 36px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s;
}

.btn-download-pdf:hover {
    background-color: #2c3e50;
    color: #fff;
}

.roteiro-content-body {
    max-width: 1370px;
}

.content-block h3 {
    font-size: 1.4rem;
    color: #1a202c;
    font-weight: 700;
    margin-bottom: 1rem;
}

.text-justify {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: justify;
}

.mt-large {
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .roteiro-top-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-wrapper {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .roteiro-container {
        padding-top: 1.5rem;
        width: 95%;
    }

    .white-card-section {
        padding: 2rem 2rem !important;
    }

    .mod-title {
        font-size: 1.4rem;
    }

    .lesson-title {
        font-size: 1.3rem;
    }

    .btn-download-pdf {
        align-self: stretch;
        justify-content: center;
        margin-top: 2rem;
    }
}