/* Título */
.associados-titulo {
    padding: 120px 0 60px;
    text-align: center;
}
.associados-titulo h1 {
    font-family: "OwnersText-Medium", sans-serif;
    color: #454545 !important
}

.associados-sidebar .title-main h1 {
    color: #454545 !important
}


/* Layout principal */
.associados-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px 100px;
    scroll-behavior: smooth;
    padding-top: 0
}

/* Sidebar */
.associados-sidebar {
    flex: 0 0 280px;
    font-family: "OwnersText-Regular", sans-serif;
}
.associados-sidebar h2 {
    font-family: "OwnersText-Bold", sans-serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.associados-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}
.associados-sidebar ul::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color2), #fff);
}
.associados-sidebar .category-link {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #555;
    font-size: 16px;
    border-radius: 0 5px 5px 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-bottom: 5px;
}
.associados-sidebar .category-link:hover {
    background-color: #f0f0f0;
    color: #000;
}
.associados-sidebar .category-link.active {
    background-color: var(--color2, #005a8c);
    color: #fff;
    font-weight: bold;
}

/* Grid */
.associados-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
        align-self: start;
}

/* Card */
.associado-item {
    display: none;
    height:389px
}
.associado-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #eee;
    height: 100%;
}
.card-imagem {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 62%
}
.card-imagem img {
    width: 196px;
    height: auto;
    /* aspect-ratio: 7 / 4; */
    object-position: top;
    object-fit: cover;
    padding: 30px;
    transform: scale(1.5); 
    filter: grayscale(100%);
    cursor: pointer;
    transition: 0.3s;
}

.card-imagem img:hover {
    filter: grayscale(0%);
}

#argos-indoor .card-imagem img {
      transform: scale(1.2); 
}

#sao-geraldo-tintas .card-imagem img {
      transform: scale(1.0); 
}

#interbagno .card-imagem img,
#bontempo .card-imagem img,
#casa-malgga .card-imagem img,
#elettromec-campinas .card-imagem img,
#cristiana-guimaraes-tapetes .card-imagem img,
#epm-fechaduras .card-imagem img,
#engetax .card-imagem img,
#kchurrasqueiras-gourmet .card-imagem img,
#kitchens .card-imagem img,
#projeto-clima .card-imagem img,
#santa-rita-house-decor .card-imagem img {
    transform: scale(1.9);

}
.card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: #f5f5f5;
    color: #888;
    font-weight: bold;
}
.card-conteudo {
    padding: 0 33px;
    flex-grow: 1;
    background-color: #ffffff;
    color: #333;
}
.card-conteudo h3 {
    font-size: 1.188rem;
    font-family: "OwnersText-Medium", sans-serif;
    margin: 0 0 5px;
}
.card-conteudo .card-info {
    font-size: 0.813rem;
    line-height: 1.6;
    color: #555;
}
.card-conteudo .card-info a {
    color: #005a8c;
    text-decoration: underline;
}
.card-conteudo .card-info a:hover {
    text-decoration: none;
}

 /* ============================================================
   TABS
   ============================================================ */

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}
.tab-content.active {
    display: block;
}


/* ============================================================
   TÍTULO
   ============================================================ */

.title {
    padding: 120px 0 60px 0;
}
.title h1 {
    text-align: center;
    font-family: "OwnersText-Medium";
}


/* ============================================================
   SLIDER DE ASSOCIADOS
   ============================================================ */

.associados-slider {
    margin: 0 -10px;
}
.associados-slider1 {
    display: flex;
    flex-wrap: wrap;
}
.associado-slide {
    padding: 0 10px;
    width: calc(100% / 3);
}
.associados-tabs-content {
    width: 55%;
}
.associados-tabs-nav {
    width: 40%;
}


/* ============================================================
   CARD DE ASSOCIADO
   ============================================================ */

.associado-card {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}
.card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 50%;
}
.card-image img {
    width: 196px;
    height: auto;
    object-position: top;
    object-fit: cover;
}
.Projeto.Clima {
    aspect-ratio: auto;
}
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    background-color: #fff;
}
.card-content h3,
.card-content span {
    color: #000;
}
.card-content h3 {
    font-size: 20px;
    font-family: "OwnersText-Medium";
}
.card-content span,
.card-content span a {
    font-size: 14px;
    line-height: normal;
    color: #000;
}


/* ============================================================
   CAIXA / LAYOUT GERAL
   ============================================================ */

.caixa.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 20px;
    margin-bottom: 60px;
}
.box-txt h2 {
    text-align: center;
    font-family: "OwnersText-Medium";
    margin-bottom: 30px;
}


/* ============================================================
   LAYOUT INVERTIDO
   ============================================================ */

.layout-invertido {
    background-color: var(--color1);
}
.layout-invertido .container {
    flex-direction: row-reverse;
}
.layout-invertido .tab-button {
    color: #ffffff;
}
.layout-invertido .card-content {
    padding: 15px;
    background-color: var(--color3);
}
.layout-invertido .card-content li {
    background-color: var(--color3);
}


/* ============================================================
   SLICK SLIDER
   ============================================================ */

.slick-prev:before,
.slick-next:before {
    color: #2c3e50;
}
.slick-dots li button:before {
    font-size: 12px;
}


/* ============================================================
   PÁGINA LGPD
   ============================================================ */

.page-template-template-lgpd {
    background-image: url(./img/clube/clube_fundo.webp);
}
.page-template-template-lgpd .colorBkg {
    background-color: #454545f2;
    padding: 90px 0;
}
.page-template-template-lgpd nav.navbar a.nav-link {
    color: #ffffff;
}
.page-template-template-lgpd .mainTitle {
    text-align: center;
    font-family: "OwnersText-Medium";
    color: #ffffff;
    margin: 80px 0;
}
.page-template-template-lgpd .box h2 {
    font-family: "OwnersText-Medium";
    font-size: 16px;
    color: var(--color2);
    margin-top: 30px;
}
.page-template-template-lgpd .box p {
    font-family: "OwnersText-Regular";
    font-size: 14px;
    color: #ffffff;
    text-align: justify;
    margin: 0;
}

.mobile-filter-wrap {
	display: none
}

/* ============================================================
RESPONSIVO — mobile (max 767px)
============================================================ */

@media only screen and (max-width: 767px) {
.caixa.flex {
    flex-direction: column;
    row-gap: 15px;
}
.associado-slide {
    width: 85%;
    margin: 0 auto;
}
.page-template-template-lgpd .colorBkg {
    padding: 90px 15px;
}
}

/* Responsividade */
@media (max-width: 992px) {
    .associados-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 767px) {
    .associados-wrapper {
        flex-direction: column;
        padding-top: 0;
        gap: 0;
		overflow: hidden;
		padding: 0 20px 50px
    }
    
    .associados-grid {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        width: 100%;
        max-width: 100vw;
    }

    .associados-sidebar {
        flex-basis: auto;
        width: 100%;
        margin-bottom: 0;
    }
    .associados-sidebar ul,
    .sidebar-mobile-hidden ul {
        display: none;
    }
    .associados-sidebar::before {
        display: none;
    }

    .mobile-filter-wrap {
        display: none;
        padding: 0 16px;
        margin-bottom: 12px;
    }
    .mobile-filter-select {
        width: 100%;
        padding: 10px 36px 10px 14px;
        border: 0.5px solid #ccc;
        border-radius: 8px;
        font-size: 14px;
        appearance: none;
        color: #333;
        background-color: #fff;
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
        cursor: pointer;
    }

    .associados-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        grid-template-columns: unset !important;
        overflow-x: auto !important;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding: 4px 16px 16px;
        scrollbar-width: none;
        align-items: stretch;
    }
    .associados-grid::-webkit-scrollbar {
        display: none;
    }

    .associado-item {
        flex: 0 0 220px !important;
        width: 220px !important;
        min-width: 220px !important;
        height: auto !important;
        scroll-snap-align: start;
    }

    /* Dots */
    .slider-dots {
        justify-content: center;
        gap: 6px;
        padding: 8px 0 4px;
    }
    .slider-dots span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #ccc;
        display: block;
        transition: background .2s;
    }
    .slider-dots span.active {
        background: #DD9037;
    }

    .associado-card {
        height: 300px;
    }
	.card-conteudo {
		padding: 0 33px 10px
	}
    .card-conteudo h3 {
        font-size: 0.875rem;
        font-weight: bold;
    }
    .card-imagem img {
        width: 130px;
    }
    .card-info {
        font-size: 0.875rem;
    }
    .associados-sidebar .category-link {
        font-size: 0.688rem;
    }
    .titulo-responsivo {
        width: 160px !important;
    }
	.titulo-associados {
		padding: 73px 20px 0 !important;
	}
	
	.card-conteudo .card-info a {
		word-break: break-all;
	}
}	
}

