

/* =====================================================================
   JONATHANARGUELLES.COM — ÍNDEX DE NAVEGACIÓ DEL CSS
   Base: Texto pegado(5).txt

   IMPORTANT: per preservar el disseny, les regles originals no s'han
   mogut, eliminat ni modificat. L'ordre original es manté perquè també
   determina quines regles prevalen quan hi ha conflictes.

   SECCIONS PRINCIPALS (segueix l'ordre en què apareixen al fitxer):
   01. Sobre mi
   02. Discografia
   03. Vídeos
   04. Projectes musicals
   05. Contacte
   06. Capçalera: alçada i enquadrament d'ordinador/mòbil
   07. Posició i mida del logotip, nom i lema
   08. Menú mòbil
   09. Títols de pàgines i ajustos de Sobre mi
   10. Ajustos de marca a la portada mòbil
   11. Títols de portada i últimes notícies
   12. Menú d'escriptori
   13. Ginys i xarxes socials
   14. Ja Promoció
   15. Biografia completa
   16. Agenda de concerts / Simple Calendar
   17. Menú desplegable Projectes
   18. Pàgina Cançons / Spotify
   19. Ajustos finals de marca a PC

   CRITERI D'EDICIÓ SEGURA:
   - No moure regles entre seccions: poden deixar de prevaler.
   - No eliminar duplicats sense provar-ne l'efecte visual.
   - Afegir els futurs canvis al final, amb un comentari descriptiu,
     i provar-los abans de substituir el CSS publicat.
   ===================================================================== */

/* =====================================/* =====================================================
   SOBRE MI
   ===================================================== */

body.page-id-3741 .entry-header {
    float: none !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto 25px !important;
    text-align: left;
}

body.page-id-3741 .entry-header .entry-title {
    text-align: left;
}

body.page-id-3741 .entry-content {
    float: none !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

body.page-id-3741 .panel-content .wrap {
    max-width: 1100px !important;
}


/* =====================================================
   DISCOGRAFIA
   ===================================================== */

body.page-id-340 .entry-header {
    float: none !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto 25px !important;
    text-align: left;
}

body.page-id-340 .entry-header .entry-title {
    text-align: left;
}

body.page-id-340 .entry-content {
    float: none !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

body.page-id-340 .panel-content .wrap {
    max-width: 1100px !important;
}

body.page-id-340 .entry-content img {
    width: 100%;
    max-width: 180px;
    height: 180px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

body.page-id-340 .entry-content figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 12px;
}

body.page-id-340 .entry-content figure figcaption {
    text-align: center;
    width: 100%;
    margin-top: 8px;
}

body.page-id-340 .entry-content figure.alignleft {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* =====================================================
   VÍDEOS
   ===================================================== */

body.page-id-87.page-two-column:not(.archive) #primary .entry-header,
body.page-id-87.page-two-column:not(.archive) #primary .entry-content {
    float: none !important;
    width: 100% !important;
}

body.page-id-87 #primary .entry-header {
    max-width: 1000px;
    margin: 0 auto 25px !important;
    text-align: center;
}

body.page-id-87 #primary .entry-content {
    max-width: 1000px;
    margin: 0 auto !important;
}

body.page-id-87 .entry-content iframe {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
}

body.page-id-87 .entry-content .wp-block-embed {
    width: 100%;
    max-width: 360px;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* =====================================================
   PROJECTES MUSICALS
   ===================================================== */

body.page-id-708.page-two-column:not(.archive) #primary .entry-header,
body.page-id-708.page-two-column:not(.archive) #primary .entry-content {
    float: none !important;
    width: 100% !important;
}

body.page-id-708 #primary .entry-header {
    max-width: 1000px;
    margin: 0 auto 25px !important;
    text-align: center;
}

body.page-id-708 #primary .entry-content {
    max-width: 1000px;
    margin: 0 auto !important;
}

body.page-id-708 .entry-content figure,
body.page-id-708 .entry-content .wp-block-image {
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.page-id-708 .entry-content img {
    display: block;
    height: auto;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* =====================================================
   CONTACTE
   ===================================================== */

body.page-id-88.page-two-column:not(.archive) #primary .entry-header,
body.page-id-88.page-two-column:not(.archive) #primary .entry-content {
    float: none !important;
    width: 100% !important;
}

body.page-id-88 #primary .entry-header {
    max-width: 1000px;
    margin: 0 auto 25px !important;
    text-align: center;
}

body.page-id-88 #primary .entry-content {
    max-width: 1000px;
    margin: 0 auto !important;
}

body.page-id-88 .entry-content form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

body.page-id-88 .entry-content input,
body.page-id-88 .entry-content textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body.page-id-88 .entry-content p {
    text-align: center;
}

@media screen and (max-width: 700px) {
    body.page-id-88 .entry-content {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }
}


/* =====================================================
   CAPÇALERA UNIFICADA
   Mateixa alçada a tot el web
   ===================================================== */

/* ORDINADOR */

@media screen and (min-width: 768px) {

    body.has-header-image .custom-header,
    body.has-header-video .custom-header {
        height: 560px !important;
        min-height: 560px !important;
        max-height: 560px !important;
        margin-bottom: 0 !important;
        position: relative !important;
        overflow: hidden !important;
    }

    body.has-header-image .custom-header-media,
    body.has-header-video .custom-header-media {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: hidden !important;
    }

    body.has-header-image #wp-custom-header img {
        display: block !important;
        width: 100% !important;
        height: 560px !important;
        min-height: 560px !important;
        max-height: 560px !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    body.has-header-video .custom-header-media video {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}


/* MÒBIL */

@media screen and (max-width: 767px) {

    body.has-header-image .custom-header,
    body.has-header-video .custom-header {
        height: 460px !important;
        min-height: 460px !important;
        max-height: 460px !important;
        margin-bottom: 0 !important;
        position: relative !important;
        overflow: hidden !important;
    }

    body.has-header-image .custom-header-media,
    body.has-header-video .custom-header-media {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: hidden !important;
    }

    body.has-header-image #wp-custom-header img {
        display: block !important;
        width: 100% !important;
        height: 460px !important;
        min-height: 460px !important;
        max-height: 460px !important;
        object-fit: cover !important;
        object-position: center center!important;
    }

    body.has-header-video .custom-header-media video {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}


/* =====================================================
   AJUST FI DE L'ENQUADRAMENT
   PÀGINES INTERIORS: PETIT AJUST VERTICAL
   ===================================================== */

body:not(.home).has-header-image #wp-custom-header img {
    object-position: center 48% !important;
    filter: brightness(1.08) !important;
    opacity: 1 !important;
}


/* =====================================================
   POSICIÓ DEL LOGO, NOM I LEMA
   ===================================================== */

body.has-header-image .site-branding,
body.has-header-video .site-branding {
    position: absolute !important;
    top: auto !important;
    bottom: 45px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 10 !important;
}

.site-branding .wrap {
    width: 100%;
    max-width: 1100px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.site-branding .custom-logo {
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
}

.site-branding .site-title {
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: 1px;
}

.site-branding .site-description {
    font-size: 16px;
    line-height: 1.5;
}


/* MÒBIL: LOGO, NOM I LEMA */

@media screen and (max-width: 767px) {

    .site-branding .wrap {
        max-width: 100%;
    }

    .site-branding .custom-logo {
        max-width: 56px !important;
        max-height: 56px !important;
        width: auto;
        height: auto;
    }

    .site-branding .site-title {
        font-size: 21px !important;
        line-height: 1.2;
        letter-spacing: 0;
    }

    .site-branding .site-description {
        font-size: 12px !important;
        line-height: 1.4;
    }

    body.has-header-image .site-branding,
    body.has-header-video .site-branding {
        padding: 0 12px !important;
        box-sizing: border-box;
    }
}


/* =====================================================
   MENÚ MÒBIL: VISIBLE I CLICABLE
   ===================================================== */

@media screen and (max-width: 767px) {

    .navigation-top,
    .navigation-top .wrap,
    .navigation-top .menu-toggle,
    .navigation-top .main-navigation {
        position: relative !important;
        z-index: 9999 !important;
    }

    .navigation-top .menu-toggle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

body:not(.home).has-header-image #wp-custom-header img {
    height: 560px !important;
    object-fit: cover !important;
    object-position: center 50% !important;
    filter: brightness(1.08) !important;
    opacity: 1 !important;
}


/* NOM I SUBTÍTOL: MÉS AMUNT I MÉS GRANS A TOTES LES PÀGINES */

.site-branding .wrap {
    position: relative;
}

.site-branding .site-title {
    font-size: 34px !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
}

.site-branding .site-description {
    font-size: 14px !important;
    line-height: 1.4 !important;
}

/* Pujar el text sense moure el logotip */
.site-branding .site-title,
.site-branding .site-description {
    position: relative;
    top: -18px;
}

/* Adaptació a mòbils */
@media screen and (max-width: 767px) {
    .site-branding .site-title {
        font-size: 25px !important;
    }

    .site-branding .site-description {
        font-size: 12px !important;
    }

    .site-branding .site-title,
    .site-branding .site-description {
        top: -10px;
    }
}


/* NOM */
.site-branding .site-title {
    font-size: 40px !important;
    line-height: 1.15 !important;
    margin-bottom: 5px !important;
}

/* LEMA */
.site-branding .site-description {
    font-size: 18px !important;
    line-height: 1.35 !important;
}

/* Pujar el text, sense moure el logotip */
.site-branding .site-title,
.site-branding .site-description {
    position: relative;
    top: -18px;
}

/* MÒBILS */
@media screen and (max-width: 767px) {
    .site-branding .site-title {
        font-size: 29px !important;
    }

    .site-branding .site-description {
        font-size: 15px !important;
    }

    .site-branding .site-title,
    .site-branding .site-description {
        top: -10px;
    }
}


/* Centrar el títol de les pàgines interiors */
body.page .entry-header {
    text-align: center !important;
}

body.page .entry-title {
    text-align: center !important;
}



/* SOBRE MI: centrar la fotografia amb el títol */
body.page-id-3741 .entry-content figure,
body.page-id-3741 .entry-content .wp-block-image {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 25px 0 !important;
    text-align: center !important;
}

body.page-id-3741 .entry-content figure img,
body.page-id-3741 .entry-content .wp-block-image img,
body.page-id-3741 .entry-content > img {
    display: block !important;
    width: 100% !important;
    max-width: 750px !important;
    height: auto !important;
    margin: 0 auto !important;
    position: static !important;
    transform: none !important;
}

/* SOBRE MI: centrar el text per harmonitzar-lo amb la fotografia */
body.page-id-3741 .entry-content {
    text-align: center !important;
}

/* Mantenir la fotografia centrada */
body.page-id-3741 .entry-content figure,
body.page-id-3741 .entry-content .wp-block-image {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Mantenir una bona lectura als mòbils */
@media screen and (max-width: 767px) {
    body.page-id-3741 .entry-content {
        text-align: left !important;
    }
}

/* SOBRE MI: centrar el bloc de contingut sota el títol */
body.page-id-3741 .entry-content {
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    float: none !important;
}

/* Centrar també els paràgrafs */
body.page-id-3741 .entry-content p {
    text-align: center !important;
}

/* Centrar la fotografia sota el text */
body.page-id-3741 .entry-content figure,
body.page-id-3741 .entry-content .wp-block-image {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* =========================================
   MOBIL: AJUSTAR LOGO, NOM I LEMA
   ========================================= */

@media screen and (max-width: 767px) {

    /* Baixar una mica el conjunt de marca */
    body.has-header-image .site-branding,
    body.has-header-video .site-branding {
        bottom: 28px !important;
    }

    /* Fer el logo una mica més petit */
    .site-branding .custom-logo {
        max-width: 46px !important;
        max-height: 46px !important;
        width: auto !important;
        height: auto !important;
    }

    /* Nom: mida equilibrada i sense tallar */
    .site-branding .site-title {
        font-size: 25px !important;
        line-height: 1.15 !important;
        letter-spacing: 0 !important;
        margin-bottom: 5px !important;
        top: 0 !important;
    }

    /* Lema: llegible i en una línia si hi cap */
    .site-branding .site-description {
        font-size: 13px !important;
        line-height: 1.35 !important;
        top: 0 !important;
    }

    /* Evitar que el contingut de la capçalera se surti */
    .site-branding .wrap {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 12px !important;
        box-sizing: border-box;
    }

    .site-branding .site-title,
    .site-branding .site-description {
        max-width: 100%;
    }
}

/* MOBIL: CORREGIR NOMÉS LA PORTADA */
@media screen and (max-width: 767px) {

    body.home.has-header-image .site-branding,
    body.home.has-header-video .site-branding {
        bottom: 45px !important;
    }

    body.home .site-branding .custom-logo {
        max-width: 46px !important;
        max-height: 46px !important;
    }

    body.home .site-branding .site-title {
        font-size: 25px !important;
        line-height: 1.15 !important;
        top: 0 !important;
    }

    body.home .site-branding .site-description {
        font-size: 13px !important;
        line-height: 1.35 !important;
        top: 0 !important;
    }
}

/* MOBIL: BAIXAR LOGO, NOM I LEMA A LA PORTADA */
@media screen and (max-width: 767px) {
    body.home.has-header-image .site-branding,
    body.home.has-header-video .site-branding {
        bottom: 10px !important;
    }
}

/* MOBIL: BAIXAR MOLT EL LOGO, EL NOM I EL LEMA A LA PORTADA */
@media screen and (max-width: 767px) {
    body.home.has-header-image .site-branding,
    body.home.has-header-video .site-branding {
        bottom: -100px !important;
    }
}


/* PORTADA MOBIL: BAIXAR ENCARA MES EL CONJUNT */
@media screen and (max-width: 767px) {
    body.home.has-header-image .site-branding,
    body.home.has-header-video .site-branding {
        bottom: -380px !important;
    }
}


/* Amagar el títol ENTRADES només a la portada */
body.home .page-title,
body.home .page-header,
body.home .entry-header .page-title {
    display: none !important;
}

/* CONCERTS: amagar el títol i pujar l'agenda */
body.page-id-162 .entry-header {
    display: none !important;
}

body.page-id-162 .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-162 .panel-content .wrap {
    padding-top: 20px !important;
}


/* PORTADA: tornar a mostrar el títol */
body.home .page-title,
body.home .page-header,
body.home .entry-header .page-title {
    display: block !important;
}

/* PORTADA: substituir ENTRADES per ÚLTIMES NOTÍCIES */
body.home .page-header .page-title {
    font-size: 0 !important;
}

body.home .page-header .page-title::after {
    content: "ÚLTIMES NOTÍCIES";
    display: block;
    font-size: 16px;
    letter-spacing: 2px;
}



/* PORTADA: ÚLTIMES NOTÍCIES en verd fosc */
body.home .page-header .page-title::after {
    color: #2E7D32 !important;
}

/* ==========================================
   TÍTOLS DE LES PÀGINES: ESTIL UNIFICAT
   ========================================== */

body.page .entry-header .entry-title {
    color: #2E7D32 !important;
    text-align: center !important;
    font-size: 27px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Mateixa mida per a ÚLTIMES NOTÍCIES a la portada */
body.home .page-header .page-title {
    font-size: 0 !important;
}

body.home .page-header .page-title::after {
    content: "ÚLTIMES NOTÍCIES";
    display: block;
    color: #2E7D32 !important;
    font-size: 27px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

/* Evitar duplicats del títol generat */
body.home .page-header .page-title::before {
    content: none !important;
}



/* MENÚ: AJUSTAR L'AMPLADA AL CONTINGUT */
@media screen and (min-width: 768px) {
    .navigation-top .wrap {
        max-width: 1000px !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
    }

    .navigation-top .main-navigation ul {
        justify-content: space-between !important;
    }
}





/* MENÚ: AMPLADA MÉS AJUSTADA AL CONTINGUT */
@media screen and (min-width: 768px) {
    .navigation-top .wrap {
        max-width: 900px !important;
        width: calc(100% - 100px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .navigation-top .main-navigation,
    .navigation-top .main-navigation > div {
        width: 100% !important;
    }

    .navigation-top .main-navigation ul {
        display: flex !important;
     justify-content: space-between !important;
padding-left: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}


/* MENÚ: AJUSTAR L'INICI SENSE MOURE CONTACTE */
@media screen and (min-width: 768px) {
    .navigation-top .main-navigation ul > li:first-child {
        margin-left: -15px !important;
    }
}


/* ESPAI ENTRE ELS GINYS DE LA COLUMNA DRETA */
.widget-area .widget {
    margin-bottom: 15px !important;
    padding-bottom: 0 !important;
}

.widget-area .widget-title {
    margin-bottom: 8px !important;
}

.widget-area .widget iframe {
    margin-top: 0 !important;
    display: block !important;
}

/* APROPAR PROPER CONCERT A LES XARXES SOCIALS */
.widget-area .widget {
    margin-bottom: 15px !important;
}

.widget-area .widget:nth-child(2) {
    margin-top: -20px !important;
}


/* AMAGAR XXSS I PUJAR LES ICONES */
#jetpack_widget_social_icons-3 .widget-title {
    display: none !important;
}

#jetpack_widget_social_icons-3 {
    margin-top: -5px !important;
}

/* MÒBIL: CENTRAR LES ICONES DE LES XARXES SOCIALS */
@media screen and (max-width: 767px) {
    #jetpack_widget_social_icons-3 .jetpack-social-widget-list {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* MÒBIL: CENTRAR TÍTOLS DE NOTÍCIES */
@media screen and (max-width: 767px) {

    /* Títol ÚLTIMES NOTÍCIES */
    body.home .page-header .page-title::after {
        text-align: center !important;
        width: 100% !important;
    }

    /* Títols de les notícies */
    body.home .site-main .entry-title {
        text-align: center !important;
    }

    /* Centrar el contenidor dels títols */
    body.home .site-main .entry-header {
        text-align: center !important;
    }
}

/* JA PROMOCIÓ: CENTRAR EL CONTINGUT DE LA PÀGINA */
@media screen and (min-width: 768px) {
    body.page-id-XXX .entry-content {
        max-width: 900px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* JA PROMOCIÓ (ID 85): CENTRAR EL CONJUNT */
@media screen and (min-width: 768px) {

    body.page-id-85:not(.page-one-column) .entry-header {
        float: none !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto 30px !important;
    }

    body.page-id-85:not(.page-one-column) .entry-content {
        float: none !important;
        width: 100% !important;
        max-width: 900px !important;
        margin: 0 auto !important;
    }

    body.page-id-85:not(.page-one-column) #primary {
        width: 100% !important;
        float: none !important;
    }
}
/* JA PROMOCIÓ (ID 85): TEXT JUSTIFICAT */
body.page-id-85 .entry-content {
    text-align: justify !important;
}


/* BIOGRAFIA COMPLETA (ID 237): CENTRAR CONTINGUT I AMAGAR TÍTOL */

/* Amagar el títol de la pàgina */
body.page-id-237 .entry-header {
    display: none !important;
}

/* Centrar el contingut i evitar que quedi desplaçat a la dreta */
body.page-id-237 #primary {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

body.page-id-237 .entry-content {
    float: none !important;
    width: 100% !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* BIOGRAFIA COMPLETA: CENTRAR LES FOTOGRAFIES */
body.page-id-237 .entry-content img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* =====================================================
   CONCERTS — BLOC UNIFICAT
   Simple Calendar · pàgina ID 162
   ===================================================== */

/* Títol de la pàgina ocult; mantenir l'espai superior existent */
body.page-id-162 .entry-header {
    display: none !important;
}

body.page-id-162 .entry-content {
    float: none !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding-top: 0 !important;
    box-sizing: border-box !important;
}

body.page-id-162 .panel-content .wrap {
    padding-top: 20px !important;
}

/* El tema Twenty Seventeen deixa l'àrea de contingut en 904px dins del wrap.
   Centrem el contingut amb marges automàtics; no forcem primary a una amplada fictícia. */
body.page-id-162 .simcal-calendar,
body.page-id-162 .simcal-calendar-list {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* Navegació i títol del període */
body.page-id-162 .simcal-calendar-head {
    margin-bottom: 28px !important;
}

body.page-id-162 .simcal-calendar h3 {
    color: #222222 !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin: 0 0 28px !important;
}

/* Columna comuna per a les dates i els esdeveniments */
body.page-id-162 dl.simcal-events-list-container {
    display: block !important;
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* Dates verdes */
body.page-id-162 dt.simcal-day-label {
    display: block !important;
    width: 100% !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

body.page-id-162 dt.simcal-day-label > span {
    display: inline-block !important;
    background: #2E7D32 !important;
    color: #ffffff !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 4px !important;
    padding: 5px 9px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

/* Dies i llistes d'actuacions */
body.page-id-162 dl.simcal-events-list-container > dd.simcal-day {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

body.page-id-162 dd.simcal-day ul.simcal-events {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

/* Concert individual */
body.page-id-162 li.simcal-event {
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    padding: 0 0 4px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.page-id-162 .simcal-event-title {
    color: #222222 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    margin: 0 0 5px !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.page-id-162 .simcal-event-details {
    font-size: 14px !important;
    line-height: 1.7 !important;
    text-align: left !important;
}

/* Eliminar la data repetida dins de cada concert */
body.page-id-162 .simcal-event .simcal-event-date,
body.page-id-162 .simcal-event .simcal-event-start-date,
body.page-id-162 .simcal-event-start-date {
    display: none !important;
}

/* Enllaços verds */
body.page-id-162 .simcal-event a {
    color: #2E7D32 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

body.page-id-162 .simcal-event a:hover {
    text-decoration: underline !important;
}

/* Mòbil */
@media screen and (max-width: 767px) {
    body.page-id-162 .entry-content {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    body.page-id-162 dl.simcal-events-list-container {
        max-width: 100% !important;
    }

    body.page-id-162 .simcal-event-title {
        font-size: 17px !important;
    }

    body.page-id-162 .simcal-event-details {
        font-size: 15px !important;
    }
}

/* =========================================
   AGENDA DE CONCERTS — DISSENY EN CASSELLES
   ========================================= */

/* Amplada i centrament de l'agenda */
body.page-id-162 .simcal-calendar-list {
    width: 100% !important;
    max-width: 850px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* Centrar el contenidor de dies */
body.page-id-162 dl.simcal-events-list-container {
    width: 100% !important;
    max-width: 850px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* Cada data */
body.page-id-162 dt.simcal-day-label {
    display: table !important;
    margin: 28px 0 0 0 !important;
    padding: 7px 12px !important;
    background: #2e7d32 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 5px 5px 0 0 !important;
    font-weight: 700 !important;
}

/* Casella de cada dia/concert */
body.page-id-162 dd.simcal-day {
    margin: 0 0 24px 0 !important;
    padding: 20px 22px !important;
    background: #f8f9f8 !important;
    border: 1px solid #e2e7e2 !important;
    border-left: 4px solid #2e7d32 !important;
    border-radius: 0 6px 6px 6px !important;
    box-sizing: border-box !important;
}

/* Treure marges i sagnats innecessaris */
body.page-id-162 dd.simcal-day ul.simcal-events {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Separar concerts dins d'un mateix dia */
body.page-id-162 li.simcal-event {
    margin: 0 0 14px 0 !important;
    padding: 0 0 14px 0 !important;
    border-bottom: 1px solid #e0e4e0 !important;
}

/* L'últim concert no necessita línia inferior */
body.page-id-162 li.simcal-event:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

/* Nom del concert */
body.page-id-162 .simcal-event-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    margin-bottom: 8px !important;
}

/* Detalls, sala i adreça */
body.page-id-162 .simcal-event-details {
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* Enllaços verds */
body.page-id-162 .simcal-event-details a {
    color: #287a35 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

/* Adaptació a mòbils */
@media screen and (max-width: 767px) {
    body.page-id-162 .simcal-calendar-list,
    body.page-id-162 dl.simcal-events-list-container {
        width: 100% !important;
        padding: 0 12px !important;
    }

    body.page-id-162 dd.simcal-day {
        padding: 15px !important;
    }

    body.page-id-162 .simcal-event-title {
        font-size: 16px !important;
    }
}

/* DATA DEL CONCERT MÉS GRAN */
body.page-id-162 dt.simcal-day-label {
    font-size: 18px !important;
    line-height: 1.4 !important;
    padding: 10px 16px !important;
    font-weight: 700 !important;
}

/* NOM DE LA BANDA MÉS DESTACAT */
body.page-id-162 .simcal-event-title {
    display: block !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    margin-bottom: 8px !important;
}

/* SEPARACIÓ I LECTURA DE LA INFORMACIÓ */
body.page-id-162 .simcal-event-details {
    font-size: 14px !important;
    line-height: 1.8 !important;
}

/* DATA DEL CONCERT — MÉS GRAN I DESTACADA */
body.page-id-162 dt.simcal-day-label,
body.page-id-162 dt.simcal-day-label * {
    font-size: 25px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* DATA DEL CONCERT — MIDA INTERMÈDIA */
body.page-id-162 dt.simcal-day-label,
body.page-id-162 dt.simcal-day-label * {
    font-size: 22px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
}

/* INFORMACIÓ DEL CONCERT — UNA MICA MÉS GRAN */
body.page-id-162 .simcal-event-details {
    font-size: 15px !important;
    line-height: 1.8 !important;
}

/* SALA I ADREÇA */
body.page-id-162 .simcal-event-address {
    font-size: 15px !important;
    line-height: 1.8 !important;
}

/* ENLLAÇOS D'INFORMACIÓ I ENTRADES */
body.page-id-162 .simcal-event-details a {
    font-size: 15px !important;
}

/* PESTANYA ACTIVA — GRIS BLAU DE LA WEB */
body.page-id-162 .vista-activa,
body.page-id-162 .tab-activa {
    background-color: #354653 !important;
    color: #ffffff !important;
}

/* PESTANYES DE LES DATES — GRIS BLAVÓS DE LA PORTADA */
body.page-id-162 dt.simcal-day-label,
body.page-id-162 dt.simcal-day-label * {
    background-color: #354653 !important;
    color: #ffffff !important;
}


/* DATA: TREURE EL REQUADRE VERD INTERIOR */
body.page-id-162 dt.simcal-day-label span,
body.page-id-162 dt.simcal-day-label span.simcal-date-format,
body.page-id-162 dt.simcal-day-label span.simcal-date-format span {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* FRANJA EXTERIOR GRIS BLAVÓS */
body.page-id-162 dt.simcal-day-label {
    background: #354653 !important;
    background-color: #354653 !important;
    border: 0 !important;
}

/* GRIS BLAU MÉS PROPER A LA PORTADA */
body.page-id-162 dt.simcal-day-label {
    background: #294B60 !important;
    background-color: #294B60 !important;
    border-color: #294B60 !important;
}

/* ENLLAÇOS "MÉS DETALLS" EN NEGRE I SUBRATLLATS */
body.page-id-162 .simcal-event-details a {
    color: #000000 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}


/* MENÚ DESPLEGABLE PROJECTES — DISSENY ORDENAT */
@media screen and (min-width: 768px) {

    /* Contenidor del menú desplegable */
    .main-navigation ul ul {
        width: 260px !important;
        min-width: 260px !important;
        background-color: #294B60 !important;
        border: none !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
    }

    /* Cada opció del desplegable */
    .main-navigation ul ul li {
        display: block !important;
        float: none !important;
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
    }

    /* Enllaços i noms dels grups */
    .main-navigation ul ul li a {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 14px 18px !important;
        color: #ffffff !important;
        white-space: normal !important;
        line-height: 1.4 !important;
        font-size: 13px !important;
        text-align: left !important;
    }

    /* Color en passar el ratolí */
    .main-navigation ul ul li a:hover,
    .main-navigation ul ul li a:focus {
        background-color: #806B72 !important;
        color: #ffffff !important;
    }

    /* Treure la línia de l'última opció */
    .main-navigation ul ul li:last-child {
        border-bottom: none !important;
    }
}

/* MENÚ PROJECTES — VERD CORPORATIU EN PASSAR EL RATOLÍ */
@media screen and (min-width: 768px) {
    .main-navigation ul ul li a:hover,
    .main-navigation ul ul li a:focus {
        background-color: #2E7D32 !important;
        color: #ffffff !important;
    }
}

/* DESPLEGABLE PROJECTES — VERD CORPORATIU */
@media screen and (min-width: 768px) {
    .main-navigation > div > ul > li.menu-item-has-children:hover > ul,
    .main-navigation ul ul {
        background-color: #2E7D32 !important;
    }

    .main-navigation ul ul li,
    .main-navigation ul ul li a {
        background-color: #2E7D32 !important;
        color: #ffffff !important;
    }

    .main-navigation ul ul li a:hover,
    .main-navigation ul ul li a:focus {
        background-color: #245F28 !important;
        color: #ffffff !important;
    }
}

/* AMAGAR EL TÍTOL A LA PÀGINA CANÇONS */
body.page-id-458 .entry-header {
    display: none !important;
}

body.page-id-458 .entry-title {
    display: none !important;
}

/* PÀGINA CANÇONS — CENTRAR EL CONTINGUT */
body.page-id-458 .entry-content {
    width: 100% !important;
    max-width: 850px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* CENTRAR ELS BLOCS INTERIORS */
body.page-id-458 .entry-content > * {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* REPRODUCTOR EMBEGUT */
body.page-id-458 .entry-content iframe {
    display: block !important;
    width: 100% !important;
    max-width: 650px !important;
    margin: 25px auto 35px !important;
}

/* LLISTES DE CANÇONS: BLOC CENTRAT, TEXT ALINEAT A L'ESQUERRA */
body.page-id-458 .entry-content ul,
body.page-id-458 .entry-content ol {
    display: table !important;
    margin: 20px auto !important;
    text-align: left !important;
}

/* MÒBILS */
@media screen and (max-width: 600px) {
    body.page-id-458 .entry-content {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body.page-id-458 .entry-content iframe {
        max-width: 100% !important;
    }
}

/* PÀGINA CANÇONS — CENTRAR LA LLISTA DINS DEL FIGCAPTION */
body.page-id-458 article#post-458 figure.wp-block-embed-spotify figcaption {
    width: fit-content !important;
    max-width: 100% !important;
    margin: 25px auto 35px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* ASSEGURAR QUE EL BLOC DE SPOTIFY QUEDI CENTRAT */
body.page-id-458 article#post-458 figure.wp-block-embed-spotify {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* PÀGINA CANÇONS — TEXT MÉS GRAN I MÉS ESPAIAT */
body.page-id-458 article#post-458 figure.wp-block-embed-spotify figcaption {
    font-size: 15px !important;
    line-height: 1.8 !important;
    letter-spacing: 0.1px !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 30px auto 40px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* SEPARACIÓ ENTRE CADA CANÇÓ */
body.page-id-458 article#post-458 figure.wp-block-embed-spotify figcaption br {
    display: block !important;
    content: "" !important;
    margin-bottom: 5px !important;
}



/* Restaurar la mida del nom i del lema al PC */
@media screen and (min-width: 768px) {
  .site-branding .site-title,
  .site-branding .site-title a {
    font-size: 36px !important;
  }

  .site-branding .site-description {
    font-size: 16px !important;
  }

  .site-branding .custom-logo-link {
    margin-right: 0 !important;
  }

  .site-branding .wrap {
    gap: 0 !important;
  }
}


/* PC: moure només el logotip cap al text */
@media screen and (min-width: 768px) {
  .site-branding .custom-logo-link {
    position: relative !important;
    left: 12px !important;
    margin-right: -12px !important;
  }
}
/* PORTADA MOBIL: MENYS ZOOM, RETALL SUPERIOR I SENSE FRANJA GRISA */
@media screen and (max-width: 767px) {
  body.home.has-header-image #wp-custom-header {
    overflow: hidden !important;
  }

  body.home.has-header-image #wp-custom-header img {
  display: block !important;
  width: 100% !important;
  height: 605px !important;
  min-height: 605px !important;
  max-height: 605px !important;
  object-fit: cover !important;
object-position: 25% center !important;
  transform: translateY(-158px) !important;
}



}

/* AJUST VERTICAL GENERAL DE LA WEB EN MOBIL */
@media screen and (max-width: 767px) {
  body.home.has-header-image #page {
    margin-top: -14px !important;
  }
}


/* MOBIL: LOGO I TEXT MES GRANS I MES JUNTS */
@media screen and (max-width: 767px) {

  .site-branding .wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .site-branding .custom-logo-link {
    margin: 0 4px 0 0 !important;
    flex-shrink: 0 !important;
  }

.site-branding .custom-logo-link {
  margin: 0 -8px 0 0 !important;
  flex-shrink: 0 !important;
  }

  .site-branding .site-title,
  .site-branding .site-title a {
    font-size: 1.08em !important;
  }

  .site-branding .site-description {
    font-size: 1.08em !important;
  }

}


/* CAPÇALERA MOBIL: MATEIX LOGO, NOM I LEMA A TOT EL WEB */
@media screen and (max-width: 767px) {

  body.has-header-image .site-branding .wrap,
  body.has-header-video .site-branding .wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  body.has-header-image .site-branding .custom-logo-link,
  body.has-header-video .site-branding .custom-logo-link {
    flex-shrink: 0 !important;
    margin: 0 -8px 0 0 !important;
  }

  body.has-header-image .site-branding .custom-logo,
  body.has-header-video .site-branding .custom-logo {
    width: 48px !important;
    max-width: 48px !important;
    height: auto !important;
    max-height: none !important;
  }

  body.has-header-image .site-branding .site-title,
  body.has-header-image .site-branding .site-title a,
  body.has-header-video .site-branding .site-title,
  body.has-header-video .site-branding .site-title a {
    font-size: 29px !important;
    line-height: 1.15 !important;
    top: 0 !important;
  }

  body.has-header-image .site-branding .site-description,
  body.has-header-video .site-branding .site-description {
    font-size: 15px !important;
    line-height: 1.35 !important;
    top: 0 !important;
  }
}


/* MOBIL: UNIFICAR FOTOGRAFIA DE CAPÇALERA A TOT EL WEB */
@media screen and (max-width: 767px) {

  body.has-header-image #wp-custom-header {
    overflow: hidden !important;
  }

  body.has-header-image #wp-custom-header img {
    display: block !important;
    width: 100% !important;
    height: 605px !important;
    min-height: 605px !important;
    max-height: 605px !important;
    object-fit: cover !important;
    object-position: 25% center !important;
    transform: translateY(-158px) !important;
    filter: brightness(1.08) contrast(1.03) !important;
    opacity: 1 !important;
  }

}


/* MOBIL: IGUALAR LA FOTO DE LES PAGINES INTERIORS A LA PORTADA */
@media screen and (max-width: 767px) {

  body:not(.home).has-header-image #wp-custom-header {
    height: 460px !important;
    overflow: hidden !important;
  }

  body:not(.home).has-header-image #wp-custom-header img {
    display: block !important;
    width: 100% !important;
    height: 605px !important;
    min-height: 605px !important;
    max-height: 605px !important;
    object-fit: cover !important;
    object-position: 25% center !important;
    transform: translateY(-158px) !important;
    filter: brightness(1.08) contrast(1.03) !important;
  }
}

/* MOBIL: PUJAR EL MENU DE LES PAGINES INTERIORS */
@media screen and (max-width: 767px) {
  body:not(.home) .navigation-top {
    margin-top: -20px !important;
    position: relative !important;
    z-index: 9999 !important;
  }
}

/* NOMBRE: AJUSTE EXCLUSIVO PARA MÓVILES */
@media screen and (max-width: 767px) {
  .site-branding .site-title,
  .site-branding .site-title a {
    font-size: 23px !important;
    white-space: nowrap !important;
    letter-spacing: -0.4px !important;
  }
}

/* JUSTIFICAR TEXTO SOBRE MI SOLO EN MOVILES */
@media screen and (max-width: 767px) {
  body.page-id-3741 .entry-content p {
    text-align: justify !important;
  }
}

/* AMAGAR NOMÉS EL TÍTOL PRINCIPAL DE VÍDEOS */
body.page-id-87 h1.entry-title {
    display: none !important;
}

/* VERD CORPORATIU A LA PÀGINA VÍDEOS */
body.page-id-87 .entry-content h2,
body.page-id-87 .entry-content h3 {
    color: #2E7D32 !important;
}

/* FLETXES DELS SLIDERS */
body.page-id-87 .swiper-button-next,
body.page-id-87 .swiper-button-prev,
body.page-id-87 .slick-next,
body.page-id-87 .slick-prev {
    background-color: #2E7D32 !important;
    border-color: #2E7D32 !important;
}

/* TITOLS DE LES SECCIONS */
body.page-id-87 .entry-content h2 {
    color: #2E7D32 !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    margin-top: 30px !important;
    margin-bottom: 14px !important;
}

/* TITOLS DELS BLOCS DE VIDEO */
body.page-id-87 .entry-content h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    line-height: 1.2 !important;
}



/* SCREENROOM: TITOLS DELS VIDEOS EN NEGRE */
body.page-id-87 .vsfy-card .vsfy-card-body h3.vsfy-card-title {
    color: #000000 !important;
}


/* PROPER CONCERT - PARPADEO MÁS VISIBLE */
@keyframes properConcertBlink {
    0%, 100% {
        opacity: 1;
        color: #D71920;
    }
    50% {
        opacity: 0.15;
        color: #D71920;
    }
}

#upcoming_events_widget-10 h2.widget-title {
    color: #D71920 !important;
    font-weight: 800 !important;
    animation: properConcertBlink 0.9s steps(1, end) infinite;
}





/* ==========================================
   CONCERTS - PERSONALIZACIÓN DE LA AGENDA
   ========================================== */

/* 1. OCULTAR EL ENLACE AUTOMÁTICO "MÉS DETALLS" */
body.page-id-162 .simcal-event-details > a {
    display: none !important;
}

/* 2. MOSTRAR ÚNICAMENTE LA HORA DE INICIO */
/* Elimina también el guion separador y la hora final */
body.page-id-162 .simcal-event-details {
    font-size: 0 !important;
}

body.page-id-162 .simcal-event-details > * {
    font-size: 15px !important;
}

body.page-id-162 .simcal-event-end-time {
    display: none !important;
}



/* CONCERTS: ocultar las horas automáticas de Google Calendar */
body.page-id-162 .simcal-event-start-time,
body.page-id-162 .simcal-event-end-time {
    display: none !important;
}



/* CONCERTS: ajustar presentación de los eventos */

/* CONCERTS: eliminar pin y compactar dirección */
body.page-id-162 .simcal-event-details img.emoji {
    display: none !important;
}

body.page-id-162 .simcal-event-details p:has(img.emoji) {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
    padding: 0 !important;
}

body.page-id-162 .simcal-event-details p:has(img.emoji) br {
    display: none !important;
}

/* Evitar espacios innecesarios entre los datos */
body.page-id-162 .simcal-event-details p {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
}


body.page-id-162 .simcal-event-address {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

body.page-id-162 .simcal-event-description {
    margin-top: 5px !important;
    line-height: 1.5 !important;
}


/* CONCERTS: enlaces más discretos y elegantes */
body.page-id-162 .simcal-event-details a {
    color: #333333 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

body.page-id-162 .simcal-event-details a:hover {
    color: #2E7D32 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
}



/* CONCERTS: alinear contenido con el texto de la fecha */
body.page-id-162 .simcal-event-details {
    padding-left: 13px !important;
    padding-right: 13px !important;
}


/* CONCERTS: fondo de las fichas */
body.page-id-162 .simcal-events li.simcal-event {
    background-color: #EEEEEE !important;
}

