@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ================================================================ */
/* == CLUB NATACIÓ LLEIDA – CSS ÚNIC (Reskyt) – versió 2026       == */
/* == Conté l'estil anterior netejat + les millores del nou estil == */
/* ================================================================ */

:root {
    --cnl-navy: #012642;
    --cnl-blue: #0097e2;
    --cnl-blue-text: #0078b4;  /* blau per a text sobre blanc (contrast AA) */
    --cnl-ice: #f3f6f7;
    --cnl-muted: #4a5f78;
    --cnl-radius: 24px;
    --cnl-shadow: 0 8px 30px rgba(1, 38, 66, .12);
}

* {
    font-family: "Inter", sans-serif;
}

/* Títols: Bricolage Grotesque */
h1, h2, h3, h4,
.card-title,
.list-title,
.news-title,
.rk_Text p {
    font-family: "Bricolage Grotesque", sans-serif;
}

body {
    background-color: var(--cnl-ice);
    color: var(--cnl-navy);
}

h1, h2, h3, h4 {
    letter-spacing: -.01em;
    line-height: 1.1;
}

/* Focus visible per a teclat (accessibilitat) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--cnl-blue);
    outline-offset: 3px;
}

/* ATENCIÓ: elimina totes les línies <hr> del web (anul·la els colors per secció) */
hr {
    border-top: unset !important;
}

/* ============================ */
/* == Botons == */
/* ============================ */

.btn {
    border-radius: 999px;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--cnl-navy);
    border-color: var(--cnl-navy);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--cnl-blue-text);
    border-color: var(--cnl-blue-text);
    color: #fff;
}

.btn-solid-circle .btn-primary {
    background-color: transparent;
    border: 2px solid var(--cnl-navy);
    color: var(--cnl-navy);
}

.btn-solid-circle .btn-primary:hover {
    background-color: var(--cnl-navy);
    color: #fff;
}

/* Botons amplis a les pàgines de secció */
#anchor-26784 .btn,
#anchor-26732 .btn,
#anchor-27039 .btn {
    padding: 0.500rem 8rem;
}

/* ============================ */
/* == Header == */
/* ============================ */

.title-center-underline .page-header h1,
.title-center-underline .page-header h2 {
    white-space: inherit;
}

.navbar-brand .logo-img {
    max-height: 100px;
    max-width: 300px;
}

.main-menu {
    margin-top: 12px;
}

.main-menu a {
    font-weight: 500;
}

.main-menu .nav-link:hover {
    color: var(--cnl-blue-text);
}

/* Menú superior */
.fa-phone::before {
    margin-right: 4px;
}

.fa-envelope-o::before {
    margin-left: 20px;
    margin-right: 4px;
}

.nav {
    margin-bottom: 2px;
    margin-top: 2px;
}

/* ============================ */
/* == Títols == */
/* ============================ */

/* Pàgines generals */
.title-center-underline .page-header h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    line-height: 1.1;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -.01em;
    text-transform: none;
}

/* Treu el subratllat dels títols (regla original corregida: faltava una coma) */
.title-center-underline .page-header h2:after,
.title-center-underline .title-carta h1:after,
.pagina-10254 .page-header h2:after {
    border-bottom: 0 !important;
}

/* Títols de la home */
.pagina-10254 .page-header h2,
.pagina-principal .page-header h2 {
    color: var(--cnl-navy);
    font-weight: 700;
    font-size: clamp(26px, 3.5vw, 40px);
    text-transform: none;
    text-align: left;
}

.title-center .page-header h1,
.title-center-underline .page-header h2 .familia.btn-link {
    color: var(--cnl-navy);
    font-weight: 700;
    text-align: left;
    font-size: 24px;
}

/* ============================ */
/* == Home == */
/* ============================ */

/* Banner principal */
.slick-banner .center-center,
.only-one-banner .center-center {
    text-shadow: black 0.1em 0.1em 0.3em;
}

.pagina-principal .slick-banner .center-center {
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.02em;
}

.pagina-principal .effect-caption {
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rk_Text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rk_Text p {
    font-size: clamp(24px, 4vw, 40px) !important;
    font-weight: 600;
    line-height: 1.15;
}

.rkButton {
    background: white;
    border-radius: 20px;
    padding: 3px;
}

/* Aniversari */
#anchor-20153 {
    padding: 20px 0;
}

/* Accions ràpides (blocs sota el banner) */
section#anchor-19472 {
    padding: 6rem 0 0 0;
}

#anchor-19472 figure.no-effect {
    border-radius: var(--cnl-radius);
}

#anchor-19472 .col-20x100,
.col-md-20x100 {
    width: 25%;
}

#anchor-19472 .card-home .card-block {
    position: relative;
    top: -97px;
    margin: 10px;
    padding: 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    background-color: white;
    border-radius: var(--cnl-radius);
    box-shadow: var(--cnl-shadow);
}

#anchor-19472 .card-home .card-block .card-title {
    font-weight: 700;
}

.pagina-10254 .card-home .card-block {
    text-align: left;
}

/* Restaurant – Facebook – Contacte */
#anchor-19469 {
    padding: 100px 0 60px 0;
}

#anchor-63619 .card-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

#anchor-63619 h4.card-title {
    color: white;
    font-size: 30px;
}

#anchor-63619 .card-description {
    display: flex;
    flex-direction: column;
    gap: 26px;
    color: white;
}

#anchor-63619 .card-description a {
    background: white;
    padding: 6px 31px;
    border-radius: 20px;
}

/* Seccions (cercles) */
#anchor-63621 figure.no-effect {
    border-radius: 102px;
    border: 3px solid #fff;
    box-shadow: var(--cnl-shadow);
}

#anchor-63621 .scroll-horizontal .col-phone-horizontal .card-home {
    width: 120px;
}

#anchor-63621 .card-block {
    text-align: center !important;
}

#anchor-63621 .card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--cnl-navy);
}

/* Notícies */
.magazine-content {
    background-color: white;
    padding: 12px;
    min-height: 334px;
    overflow: hidden;
    border-radius: var(--cnl-radius);
    box-shadow: var(--cnl-shadow);
}

.blog-2 .metro-item .bar-date-category,
.pagina-10254 .blog-2 .metro-item .bar-date-category {
    display: block;
    overflow: hidden;
    margin: .5rem 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cnl-muted);
    font-size: 13px;
}

.news-subtitle {
    display: none;
}

h3.news-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    text-transform: capitalize !important;
}

.more-news {
    text-align: left !important;
}

/* Agenda */
.pagina-10254 .events .title-event-month {
    display: flex;
    position: relative;
    font-size: 18px;
    font-weight: 600;
    margin-left: 20px;
}

.pagina-10254 .events .event_arrows {
    display: flex;
    flex-direction: row;
    position: absolute;
    top: -6px;
    left: 186px;
    margin-left: 0;
    gap: 10px;
    color: #333333 !important;
}

.pagina-10254 .events .event_arrows .event_prev i,
.events .event_arrows .event_next i {
    border: 1px solid #333;
    border-radius: 50%;
    color: #333;
}

.pagina-10254 .nav-event-month {
    display: flex;
    margin-left: 20px;
}

/* Patrocinadors: monocrom, color en passar-hi per sobre */
#anchor-19286 img {
    max-width: 100%;
    filter: grayscale(1);
    opacity: .75;
    transition: filter .2s, opacity .2s;
}

#anchor-19286 img:hover {
    filter: none;
    opacity: 1;
}

/* Acordió de seccions */
#accordion .page-header {
    text-align: left;
    background: var(--cnl-navy);
}

#accordion .page-header h2 button {
    color: white;
    margin-top: 0 !important;
}

#anchor-63625 h2.list-title,
#anchor-59591 .media-content {
    width: 100%;
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    background: white;
}

#anchor-63625 h2.list-title:hover {
    background: var(--cnl-navy);
}

#anchor-63625 .list-reducido .media-left {
    display: none !important;
}

#anchor-63625 .list-reducido .media-content {
    padding: 0;
}

#anchor-63625 .body-text a:hover {
    color: white;
}

/* ============================ */
/* == Pàgines de secció == */
/* ============================ */

/* Fons sense imatge/parallax */
#anchor-26784.wrapper-parallax,
#anchor-26732.wrapper-parallax,
#anchor-27039.wrapper-parallax,
#anchor-28010.wrapper-parallax,
#anchor-27523.wrapper-parallax,
.wrapper-background {
    background: none;
}

/* Línies de color per secció (actualment anul·lades pel hr global de dalt) */
#anchor-25880 hr, #anchor-25805 hr, #anchor-27531 hr, #anchor-27533 hr {
    border-top: 2px solid rgb(255, 97, 0);  /* tennis / running */
    width: 10%;
}

#anchor-26732 hr, #anchor-26706 hr, #anchor-26619 hr {
    border-top: 2px solid rgb(255, 173, 45);  /* pàdel */
    width: 10%;
}

#anchor-27037 hr, #anchor-27040 hr, #anchor-28008 hr, #anchor-28011 hr {
    border-top: 2px solid #c50000;  /* taekwondo / aikido */
    width: 10%;
}

#anchor-27510 hr, #anchor-27524 hr {
    border-top: 2px solid #178e4f;  /* social */
    width: 10%;
}

#anchor-44924 hr, #anchor-51688 hr, #anchor-51719 hr {
    border-top: 2px solid var(--cnl-navy);  /* tennis / activitats */
    width: 10%;
}

.carta-51469 .lists .list-image img {
    margin: auto auto 1.5rem auto;
    display: block;
    width: 50%;
}

.exclude-horas-dia {
    display: block;
    max-height: 374px;
    overflow: auto;
}

#anchor-27038 .card-block .card-description .s1 {
    font-size: 13px !important;
    line-height: 12px;
}

.plato-33627 h1.title-plato {
    display: none !important;
}

/* Restaurant */
#anchor-53150 .card-description {
    background-color: var(--cnl-blue-text);
    padding: 10px;
    border-radius: 10px;
    color: white;
}

#anchor-59591 .media-content {
    margin: 13px;
}

/* Natació: equips */
#anchor-63633 .list-intro-content {
    max-width: 600px;
    height: 400px;
}

#anchor-63639 .card-home {
    width: 400px;
}

#anchor-63633 .list-reducido .media-content,
#anchor-63642 .list-reducido .media-content {
    padding: 1px;
}

#anchor-63633 .card-home,
#anchor-63642 .card-home {
    height: 360px;
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 20px;
    box-shadow: 0px 10px 12px -6px rgba(34, 124, 173, 0.2);
}

#anchor-63633 .col-centered {
    width: 20%;
}

div#id158625 .row-centered.list-subtipo-0-,
div#id158626 .row-centered.list-subtipo-0-{
    height: 300px;
    overflow-y: scroll;
}

.pagina-10269 .list-row {
    text-align: center !important;
}

.plato-293376 .gallery-popup {
    display: flex;
    justify-content: flex-end;
}

.plato-293376 .fitxa_detall.clearfix {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
}

.carta-74605 .masonry-grid-gallery.gallery-popup.clearfix {
    background-color: #f5f5f5;
}

.carta-74605 .container {
    padding-left: 0;
    padding-right: 0;
}

.carta-74605 img.thumb-image.lazyautosizes.lazyloaded {
    width: 169px !important;
}

/* Política de privacitat */
.carta-127521 h3 {
    color: #2f5496;
    margin-top: 50px;
    font-weight: 700;
}

.carta-127521 li {
    margin-top: 20px;
}

/* ============================ */
/* == Footer == */
/* ============================ */

.footer-widget {
    text-align: initial;
}

.footer-widget .widget-title a {
    display: list-item;
    letter-spacing: 3px;
    border-bottom: 1px solid var(--cnl-blue-text);
}

.footer-widget .nav-item {
    margin-bottom: 1.5em;
}

.footer-widget .widget-image {
    width: 100px;
}

.logo-footer {
    padding-top: 1.5rem;
    display: none;
}

a.politica {
    border-bottom: 1px solid black;
    font-size: 11px;
}

/* ============================ */
/* == App == */
/* ============================ */

.pagina-2121 {
    background: linear-gradient(90deg, rgba(2,106,162,1) 0%, rgba(1,39,66,1) 100%);
}

/* ============================ */
/* == Responsive == */
/* ============================ */

@media (max-width: 991px) {
    #anchor-19472 .col-20x100,
    .col-md-20x100 {
        width: 50%;
    }
}

@media (max-width: 575px) {
    #anchor-19472 .col-20x100,
    .col-md-20x100 {
        width: 100%;
    }

    #anchor-19472 .card-home .card-block {
        top: -40px;
    }
}

/* ============================ */
/* == Micro-interaccions == */
/* ============================ */

@media (prefers-reduced-motion: no-preference) {
    #anchor-19472 .card-home .card-block,
    #anchor-63621 figure.no-effect,
    .magazine-content {
        transition: transform .2s ease, box-shadow .2s ease;
    }

    #anchor-19472 .card-home .card-block:hover,
    .magazine-content:hover {
        transform: translateY(-4px);
    }

    #anchor-63621 .card-home:hover figure.no-effect {
        transform: scale(1.05);
    }
}