/* ---------------------------------------------------------------------- */
/*	cores do projeto
/* ---------------------------------------------------------------------- */
:root {
    --primaryColor: #84ac3a;
    --bgColor: #fcfcfc !important;
    --fontColor: #333;
    --boxColor: #fdfcfa;
    --whiteColor: #ffffff;
    --redColor: #dc2626;
    --grayColor: #f8f7f7;
    --gray2Color: #dedede;
    --gray3Color: #f5f5f5;
    --boxShadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    --borderInputColor: #dee2e6;
    --borderRadius: 8px;
}

/* ---------------------------------------------------------------------- */
/*	global
/* ---------------------------------------------------------------------- */
body {
    position: relative;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', serif;
    background: url('../img/bg-textura.png') var(--bgColor);
    color: var(--fontColor);
    font-size: 15px;
    font-weight: 400;
}

.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: var(--primaryColor);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition:
        color 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

.btn,
button {
    font-size: 14px !important;
}

.btn-main,
.btn-main:hover {
    background: var(--primaryColor) !important;
    color: var(--whiteColor) !important;
}

ul,
li,
h1,
a {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

a {
    color: var(--fontColor);
}

img {
    max-width: 100%;
}

.tags {
    opacity: 0;
    height: 0;
}

.mobile {
    display: none;
}

/* Skip to main content link - visually hidden but accessible */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primaryColor);
    color: var(--whiteColor);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 8px 0;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

.form-control {
    width: 100%;
    padding: 8px 16px;
    border: 2px solid var(--borderInputColor);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--bgColor);
    box-sizing: border-box;
}

form label {
    display: block;
    margin-bottom: 5px;
}

.row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.col-1 {
    grid-column: span 1;
}
.col-2 {
    grid-column: span 2;
}
.col-3 {
    grid-column: span 3;
}
.col-4 {
    grid-column: span 4;
}
.col-5 {
    grid-column: span 5;
}
.col-6 {
    grid-column: span 6;
}

.col {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .col {
        grid-column: span 6 !important;
        margin: 0;
    }
}

/* Router View */
.router-view-loading,
.router-view-error {
    position: fixed;
    inset: 0;
    color: var(--fontColor);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.6);
}

.router-view-loading .spinner,
.router-view-error .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--gray2Color);
    border-top-color: var(--fontColor);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.router-view-loading.is-hidden,
.router-view-error.is-hidden {
    opacity: 0;
    visibility: hidden;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.router-view-loading p,
.router-view-error p {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

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

/* ---------------------------------------------------------------------- */
/*	header
/* ---------------------------------------------------------------------- */
header .top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
}

header .top > div:first-child {
    flex: 1;
}

header .top .right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

header .top .right > div {
    width: auto;
}

header .menu-top {
    display: flex;
    gap: 10px;
}

header .data-top {
    display: flex;
    justify-content: end;
    align-items: center;
    text-align: right;
    gap: 10px;
}

header .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* ---------------------------------------------------------------------- */
/*  fence-menu                                                            */
/* ---------------------------------------------------------------------- */
.fence-menu {
    position: sticky;
    top: 4px;
    z-index: 999;
    width: 100%;
}

/* ===================== */
/* MENU COM SCROLL LATERAL */
/* ===================== */

.fence-menu .menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    padding: 10px;
    margin: 0;
    list-style: none;
    gap: 5px;
    box-sizing: border-box;

    overflow-x: auto;
    overflow-y: hidden;

    background: var(--fontColor);
    border-radius: var(--borderRadius);

    /* UX */
    cursor: grab;
    -webkit-overflow-scrolling: touch;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: var(--borderInputColor) transparent;
}

.fence-menu .menu:active {
    cursor: grabbing;
}

/* ===================== */
/* ITENS DO MENU */
/* ===================== */

.fence-menu .menu li {
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: center;
    padding: 5px 0;
}

.fence-menu .menu li a {
    color: var(--boxColor);
}

/* ===================== */
/* LINKS / TÍTULOS */
/* ===================== */
.fence-menu .menu li h1 {
    padding: 5px 15px;
    font-size: 0.9em;
    font-weight: 500;
    text-transform: uppercase;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    user-select: none;
}

.fence-menu .menu li:first-child h1 {
    border-left: none;
}

/* ===================== */
/* SCROLLBAR ELEGANTE */
/* Chrome / Edge / Safari */
/* ===================== */

.fence-menu .menu::-webkit-scrollbar {
    height: 6px;
}

.fence-menu .menu::-webkit-scrollbar-track {
    background: transparent;
}

.fence-menu .menu::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

/* Aparece ao interagir */
.fence-menu .menu:hover::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.45);
}

.fence-menu .menu::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.65);
}

/* ---------------------------------------------------------------------- */
/*	error-page
/* ---------------------------------------------------------------------- */
.error-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    text-align: center;
    font-size: 20px;
    gap: 20px;
}

.error-page img {
    max-height: 50vh;
}

/* ---------------------------------------------------------------------- */
/*	events skeleton
/* ---------------------------------------------------------------------- */
.events-skeleton {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.event-card.skeleton {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: var(--borderRadius);
    background: var(--whiteColor);
    box-shadow: var(--boxShadow);
}

.event-card .thumb {
    width: 100%;
    padding-top: 56%;
    border-radius: var(--borderRadius);
    background: var(--gray3Color);
    position: relative;
    overflow: hidden;
}

.event-card .info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-card .tag,
.event-card .title,
.event-card .excerpt {
    height: 14px;
    border-radius: var(--borderRadius);
    background: var(--gray3Color);
    position: relative;
    overflow: hidden;
}

.event-card .tag {
    width: 30%;
}

.event-card .title {
    height: 18px;
    width: 80%;
}

.event-card .excerpt {
    height: 14px;
}

.event-card .excerpt + .excerpt {
    width: 90%;
}

.events-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    text-align: center;
    background: var(--whiteColor);
    border: 1px dashed var(--gray2Color);
    border-radius: var(--borderRadius);
    box-shadow: var(--boxShadow);
    margin: 30px 0;
}

.events-error p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.events-error .events-retry {
    padding: 10px 20px;
    border: none;
    border-radius: var(--borderRadius);
    background: var(--primaryColor);
    color: var(--whiteColor);
    font-size: 14px;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.events-error .events-retry:hover {
    filter: brightness(0.9);
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(300%);
    }
}

/* ---------------------------------------------------------------------- */
/*  banners-ads-top
/* ---------------------------------------------------------------------- */
.ads-top {
    position: relative;
    margin-top: 2%;
    width: 100%;
    overflow: hidden;
}

/* carousel */
.ads-top .fade-carousel {
    position: relative;
    width: 100%;
    height: 70px;
    overflow: hidden;
}

/* UL PRECISA TER ALTURA */
.ads-top .fade-carousel ul {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* SLIDES */
.ads-top .fade-carousel li {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;

    display: flex;
    justify-content: center;
    align-items: center;
}

.ads-top .fade-carousel li.active {
    opacity: 1;
    z-index: 1;
}

/* LINK */
.ads-top .fade-carousel li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* IMAGEM */
.ads-top .fade-carousel img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ---------------------------------------------------------------------- */
/*  featured – mosaic 3 + 2
/* ---------------------------------------------------------------------- */
.featured {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    width: 100%;
    margin-top: 2%;
    padding: 0;
    list-style: none;
}

/* Linha 1 – 3 imagens iguais */
.featured .item-1,
.featured .item-2,
.featured .item-3 {
    grid-column: span 2;
}

/* Linha 2 – 2 imagens dividindo o espaço */
.featured .item-4 {
    grid-column: 1 / span 3;
}

.featured .item-5 {
    grid-column: 4 / span 3;
}

/* Card */
.featured .fence-event {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--borderRadius);
}

/* Imagem */
.featured .fence-event img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--borderRadius);
    box-shadow: var(--boxShadow);
}

/* Overlay */
.featured .mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

/* Conteúdo */
.featured .event-data {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px;
    color: white;
    box-sizing: border-box;
}

/* Títulos */
.featured .event-data h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

/* Categoria + data (caso use) */
.featured .category-data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.featured .event-data h5 {
    margin: 0;
    padding: 5px;
    font-size: 14px;
    font-weight: 500;
    background: white;
    color: var(--fontColor);
    border-radius: var(--borderRadius);
}

.featured .event-data h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

/* ---------------------------------------------------------------------- */
/*	category-block
/* ---------------------------------------------------------------------- */
.category-block {
    margin-top: 3%;
}

.category-even {
    padding: 20px 0;
    background: var(--gray3Color);
}

.category-block h2 {
    margin-bottom: 1%;
    padding: 10px;
    font-size: 16px;
    font-weight: 500;
    border-left: 5px solid var(--primaryColor);
}

.category-block .articles {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.category-block .articles li {
    text-align: center;
    width: calc((100% - 2 * 20px) / 3);
}

.category-block .articles img {
    border-radius: var(--borderRadius);
    box-shadow: var(--boxShadow);
}

.category-block .articles .banner {
    display: flex !important;
    justify-content: center !important;
}

.category-block .articles .banner img {
    border-radius: var(--borderRadius);
    box-shadow: var(--boxShadow);
}

.category-block h3 {
    padding: 10px;
    font-weight: 500;
}

.category-block h4 {
    font-size: 13px;
}

/* ---------------------------------------------------------------------- */
/*	carousel
/* ---------------------------------------------------------------------- */
.fence-banner-simple {
    position: relative;
    overflow: hidden;
    background: var(--grayColor);
    border: 1px solid red;
}

.fade-carousel {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    width: 100%;
    height: 250px;
}

.fade-carousel li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fade-carousel li.active {
    opacity: 1;
}

.fade-carousel img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: none;
    object-position: center;
}

/* ---------------------------------------------------------------------- */
/*	trio
/* ---------------------------------------------------------------------- */
.fence-banner-trio {
    margin-bottom: 5%;
}

.fence-banner-trio .banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fence-banner-trio .banner li {
    width: calc((100% - 2 * 20px) / 3);
}

.fence-banner-trio .banner li img {
    width: 100%;
}

/* ---------------------------------------------------------------------- */
/*	partners
/* ---------------------------------------------------------------------- */
.partners {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.partners li {
    text-align: center;
    width: calc((100% - 2 * 20px) / 3);
}

.partners img {
    border-radius: var(--borderRadius);
    box-shadow: var(--boxShadow);
}

.partners h3 {
    padding: 10px;
    font-weight: 500;
}

/* ---------------------------------------------------------------------- */
/*	inner-page
/* ---------------------------------------------------------------------- */
.inner-page {
    margin-top: 2%;
    margin-bottom: 3%;
}

.inner-page .page-title {
    padding: 10px 0;
}

.inner-page .page-title h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
}

.inner-page .page-title h2 {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
}

.inner-page .featured {
    margin-bottom: 0;
}

.inner-page .events {
    margin-top: 2%;
}

.inner-page .events .articles {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.inner-page .events .articles li {
    width: calc((100% - 2 * 20px) / 3);
}

.inner-page .events .articles img {
    border-radius: var(--borderRadius);
    box-shadow: var(--boxShadow);
}

.inner-page .events .articles h3 {
    padding: 10px;
    font-weight: 500;
    text-align: center;
}

.inner-page .events .last-articles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.inner-page .events .last-articles li {
    flex: 0 0 calc((100% - 40px) / 3);
    box-sizing: border-box;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
}

.pagination .page-btn {
    background: #eee;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.2s;
}

.pagination .page-btn.active {
    background: #333;
    color: #fff;
}

.pagination .page-btn:hover {
    background: #555;
    color: #fff;
}

/* ---------------------------------------------------------------------- */
/*	inner-page > breadcrumbs
/* ---------------------------------------------------------------------- */
.breadcrumbs {
    margin: 20px 0;
    padding: 10px;
    background: var(--gray2Color);
    border-radius: 3px;
    font-size: 14px;
    color: var(--fontColor);
}

.breadcrumbs a {
    padding-bottom: 5px;
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--fontColor);
}

/* ---------------------------------------------------------------------- */
/*	inner-page > block
/* ---------------------------------------------------------------------- */
.inner-page .block {
    display: flex;
    width: 100%;
    gap: 20px;
    padding: 0;
    list-style: none;
}

.inner-page .block .left {
    width: calc((100% - 10px) * 2 / 3);
}

.inner-page .block .left .page-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    padding: 10px;
    background: var(--borderInputColor);
}

.inner-page .block .left .text {
    font-size: 12pt;
    line-height: 1.6;
}

.inner-page .block .left .text figure {
    margin: 0 !important;
    padding: 0 !important;
}

.inner-page .block .left .text .editor-image figcaption {
    font-size: 13px;
    font-style: italic;
    font-weight: bold;
}

.inner-page .block .left .text img {
    width: 100%;
}

.inner-page .block .right {
    width: calc((100% - 2 * 20px) / 3);
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inner-page .block .right h2 {
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 500;
}

.inner-page .block .right .relatedList li {
    margin-bottom: 40px;
}

.inner-page .block .right .relatedList img {
    margin-bottom: 0;
    border-radius: var(--borderRadius);
    box-shadow: var(--boxShadow);
}

.inner-page .block .right .relatedList h3 {
    margin: 0;
    padding: 10px;
    font-weight: 500;
}

/* ---------------------------------------------------------------------- */
/*	gallery
/* ---------------------------------------------------------------------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin: 30px 0 30px 0;
    width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--borderRadius);
    box-shadow: var(--boxShadow);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
    display: block;
    width: 100%;
    height: 150px;
    background: var(--grayColor);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* ---------------------------------------------------------------------- */
/*	footer
/* ---------------------------------------------------------------------- */
footer {
    padding: 50px 0 10px 0;
    background: var(--grayColor);
}

footer .copyright {
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
}

@media (min-width: 768px) {
    .menu-mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
        margin: 20px 0;
    }

    .gallery-item {
        height: 120px;
    }
}

@media (max-width: 480px) {
    /* ---------------------------------------------------------------------- */
    /*	header
    /* ---------------------------------------------------------------------- */
    header .top {
        flex-direction: column;
        text-align: center;
    }

    header .right {
        display: none !important;
    }

    header .top .right {
        margin-top: 10px;
        flex-direction: column;
    }

    header .top .right .menu-top a:last-child {
        display: none;
    }

    /* ---------------------------------------------------------------------- */
    /*	menu
    /* ---------------------------------------------------------------------- */
    .scroll-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 5px 0;
        padding: 5px 10px;
        text-align: center;
    }

    .scroll-mobile i {
        font-size: 20px;
    }

    .scroll-mobile span {
        flex: 1;
        text-align: center;
        font-size: 14px;
        color: #333;
    }

    .fence-menu {
        padding-bottom: 5px;
    }

    .menu {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: thin;
    }

    .menu::-webkit-scrollbar {
        display: none;
    }

    .menu li {
        flex: 0 0 auto;
    }

    .menu {
        overflow-x: auto;
        scrollbar-width: thin; /* Firefox */
        scrollbar-color: var(--primaryColor, #007bff) transparent;
    }

    /* Chrome, Edge, Safari */
    .menu::-webkit-scrollbar {
        height: 6px; /* espessura */
    }

    .menu::-webkit-scrollbar-track {
        background: transparent; /* trilha */
    }

    .menu::-webkit-scrollbar-thumb {
        background-color: var(--primaryColor, #007bff);
        border-radius: 10px;
        transition: background 0.3s;
    }

    .menu::-webkit-scrollbar-thumb:hover {
        background-color: #0056b3;
    }
    .featured {
        grid-template-columns: 1fr; /* Apenas 1 coluna */
        grid-template-rows: auto;
        gap: 15px; /* opcional */
    }

    .featured .item-1,
    .featured .item-2,
    .featured .item-3,
    .featured .item-4,
    .featured .item-5 {
        grid-column: auto; /* Remove spans */
    }

    /* ---------------------------------------------------------------------- */
    /*	featured
    /* ---------------------------------------------------------------------- */
    .featured {
        flex-direction: column;
        margin-top: 20px;
        height: auto;
    }

    .featured .left {
        width: 100%;
    }

    .featured .fence-event img {
        border-radius: var(--borderRadius) var(--borderRadius) 0 0 !important;
    }

    .featured .mask {
        display: none !important;
    }

    .featured .event-data {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 10px 20px;
        color: white;
        box-sizing: border-box;
        background: rgba(0, 0, 0, 0.5);
    }

    .featured .event-data h2 {
    }

    .featured .category-data {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .featured .category-data h5 {
        margin-bottom: 20px;
    }

    .featured .right {
        width: 100%;
    }

    .featured .right .event-data {
        padding-top: 20px;
        padding-bottom: 20px;
        background: var(--primaryColor);
    }

    /* ---------------------------------------------------------------------- */
    /*	entre-tv
    /* ---------------------------------------------------------------------- */
    .entre-tv ul:has(> li:only-child) > li,
    .entre-tv ul > li {
        max-width: 100%; /* opcional, define um limite mais estético */
        flex: 0 1 auto; /* não estica demais */
    }

    /* ---------------------------------------------------------------------- */
    /*	category
    /* ---------------------------------------------------------------------- */
    .category-block {
        margin-top: 5%;
    }

    .category-block .articles {
        flex-direction: column;
        margin-top: 10px;
    }

    .category-block .articles li {
        width: 100%;
    }

    /* ---------------------------------------------------------------------- */
    /*	carousel
    /* ---------------------------------------------------------------------- */
    .fence-banner-simple {
        position: relative;
        overflow: hidden;
        background: var(--grayColor);
    }

    .fade-carousel {
        position: relative;
        list-style: none;
        padding: 0;
        margin: 0;
        overflow: hidden;
        width: 100%;
        height: 100px;
    }

    .fade-carousel li {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1s ease-in-out;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .fade-carousel li.active {
        opacity: 1;
    }

    .fade-carousel img {
        width: 100%;
        height: auto;
        object-fit: contain; /* garante que a imagem não corte no mobile */
        object-position: center center;
    }

    /* ---------------------------------------------------------------------- */
    /*	trio
    /* ---------------------------------------------------------------------- */
    .fence-banner-trio {
        margin-bottom: 5%;
    }

    .fence-banner-trio .banner {
        display: block;
    }

    .fence-banner-trio .banner li {
        width: 100%;
        margin-bottom: 20px;
    }

    .fence-banner-trio .banner li img {
        width: 100%;
    }

    /* ---------------------------------------------------------------------- */
    /*	inner page
    /* ---------------------------------------------------------------------- */
    .inner-page .block {
        flex-direction: column;
    }

    .inner-page .block .left {
        width: 100%;
    }

    .inner-page .block .right {
        padding: 0;
        width: 100%;
    }

    .inner-page .events .articles {
        flex-direction: column;
        margin-top: 20px;
    }

    .inner-page .events .articles li {
        width: 100%;
    }

    /* ---------------------------------------------------------------------- */
    /*	gallery
    /* ---------------------------------------------------------------------- */
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
        margin: 15px 0;
    }

    .gallery-item {
        height: 100px;
    }

    /* ---------------------------------------------------------------------- */
    /*	footer
    /* ---------------------------------------------------------------------- */
    footer {
        padding-bottom: 70px;
    }

    footer .copyright {
        font-size: 12px;
    }
}
