.wp-block-group.has-base-color.has-contrast-background-color {
    /* 1. Capes de fons: 
       - Primer el gradient (va per sobre de la imatge).
       - Segon la imatge. */
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), 
        url('https://mohauk.net/wp-content/uploads/2026/04/mohauk2.jpg') !important;
    
    background-size: cover;
    background-position: 50% 100%;
    background-repeat: no-repeat;

    /* 2. Apliquem el teu filtre exactament com a les 'img' */
    filter: grayscale(0.1) sepia(0.7) contrast(1.0) brightness(1.5) hue-rotate(-6deg);

    /* 3. El mode multiply ajuda a integrar l'ocre amb el fons */
    mix-blend-mode: multiply;

    /* 4. Opacitat */
    opacity: 0.98;

    /* 5. Protecció del text:
       Com que el filtre pot enfosquir el text, forcem que sigui ben blanc 
       o li donem una mica de relleu (text-shadow) */
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

a.wp-block-pages-list__item__link {
    color: black !important;
    font-weight: 1000 !important;
    text-shadow: 
        /* Part 1: El nucli (intensitat màxima i nítida a la vora) */
        -1px -1px 0 #EFE0C2, 1px -1px 0 #EFE0C2, -1px 1px 0 #EFE0C2, 1px 1px 0 #EFE0C2,
        
        /* Part 2: L'expansió (l'aura es difumina de prop cap a molt lluny) */
        0 0 15px #EFE0C2,    /* Comença l'expansió */
        0 0 25px #EFE0C2,   /* Difusió mitjana */
        0 0 35px #EFE0C2,   /* Difusió àmplia (on acabava l'anterior) */
        0 0 60px #EFE0C2,   /* NOVA DIFUSIÓ MOLT ÀMPLE */
        0 0 90px #EFE0C2;   /* NOVA DIFUSIÓ MÀXIMA PER FONDRE'S AMB EL FONS */
}

h1 a {
    color: black !important;
    text-shadow: 
        -1px -1px 0 #EFE0C2, 
         1px -1px 0 #EFE0C2,
        -1px  1px 0 #EFE0C2,
         1px  1px 0 #EFE0C2;
}
.wp-block-post-excerpt__more-link {
    visibility: hidden;
    position: relative;
}

.wp-block-post-excerpt__more-link::after {
    visibility: visible;
    content: "llegir →"; /* Posa aquí el text que vulguis */
    position: absolute;
    left: 0;
    top: 0;
}
#reply-title {
	display: none;
}
.wp-block-avatar {
	display: none;
}
/* Amaguem el text original "Response" */
.wp-block-comments-title {
    visibility: hidden;
    position: relative;
}

/* Posem el text "Respostes" com a contingut nou */
.wp-block-comments-title::after {
    visibility: visible;
    content: "Respostes";
    position: absolute;
    left: 0;
    top: 0;
    /* Manté l'estil de la font original */
    font-size: inherit; 
    font-family: inherit;
}
/* Amaguem el text original però mantenim la mida i el comportament del botó */
.comment-reply-link {
    font-size: 0 !important; /* Amaga el text "Reply" original */
    white-space: nowrap;     /* Evita que el botó es deformi */
}

/* Inserim el text nou mantenint l'estil i la mida de lletra original */
.comment-reply-link::after {
    content: "Respon";
    font-size: var(--wp--preset--font-size--x-small);         /* Ajusta aquí la mida de font que vulguis (ex: 14px, 0.8rem, etc.) */
    display: inline-block;
}
/* Amaguem el text "Edit" mantenint l'estil del contenidor */
.wp-block-comment-edit-link a {
    font-size: 0 !important;
}

/* Posem el text "Respon" conservant l'estil de l'enllaç original */
.wp-block-comment-edit-link a::after {
    content: "Edita";
    font-size: var(--wp--preset--font-size--x-small); /* Ajusta a la mida que tingui el teu tema, ex: 14px */
    display: inline-block;
}
@media only screen and (max-width: 768px) {
    h2 {
        font-size: 1.3em !important; /* Mida per defecte en mòbils */
    }
    p {
        font-size: 1.2em;
    }
    ul {
        font-size: 1.2em;
    }	
	
/* Seleccionem el títol dins del plugin Content Views */
.pt-cv-content-item .pt-cv-title {
    margin-top: 5px !important; /* Espai entre la imatge i el text */
    margin-bottom: 0 !important;
	.pt-cv-content-item .pt-cv-title a {
        /* Canviem break-all per break-word per evitar talls lletra a lletra */
        word-break: break-word; 
        /* Afegim guions automàtics si el navegador ho permet */
        hyphens: none; 
        /* Una mida de lletra una mica més petita ajuda a que el bloc "quadri" millor */
        font-size: 1.1rem; 
        line-height: 1;
    }
}

	
/* Seleccionem el contenidor amb el min-height inline */
    body:not(.home) .wp-block-group.is-vertical.wp-block-group-is-layout-flex[style*="min-height:100vh"] {
        min-height: 70vh !important; /* Pots canviar 50 per l'alçada que prefereixis */
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}

.pt-cv-content-item .pt-cv-title a {
    display: block;
    width: 100%;
    
    text-transform: uppercase;
    line-height: 1.2;
    word-break: break-all;
    
    /* EL TRUC: Justificació per lletres, no per paraules */
    text-align: justify;
    text-justify: inter-character; /* Força a repartir l'espai entre lletres */
    
    /* Bloquegem l'amplada de l'espai en blanc */
    word-spacing: -0.1em; 
}

/* Forcem la última línia a comportar-se igual si vols el bloc perfecte */
.pt-cv-content-item .pt-cv-title a {
    text-align-last: left;
}

img {
  /* 1. Mantenim una desaturació forta però no total (0.6) */
  /* 2. El sepia al 100% ens dona la base ocre */
  /* 3. Pugem contrast per mantenir el dramatisme del 'Cau de l'Ós' */
  /* 4. El hue-rotate a -5deg mou el groc cap a un ocre més terrós/vermellós */
  filter: grayscale(0.4) sepia(0.7) contrast(0.9) brightness(1.0) hue-rotate(-6deg);

  /* Aquest mode permet que l'ocre es barregi amb les llums de la imatge */
  mix-blend-mode: multiply;

  /* Suavitza el gra per a que sembli tinta sobre paper */
  opacity: 0.98;
}
.wp-block-navigation-item.wp-block-navigation-link a.wp-block-navigation-item__content {
    color: #1a1110; /* El text fosc */
    text-decoration: none;
    font-weight: bold;
    
    /* ELIMINEM ELS '2px' FIXES QUE FEIEN L'OUTLINE DUR */
    /* Utilitzem el color #d9b99b (ocre clar) amb diferents intensitats de difuminat */
    text-shadow: 
        0 0 4px  #d9b99b,               /* Primera capa: defineix la frontera ocre */
        0 0 10px #d9b99b,               /* Segona capa: comença a escampar el color */
        0 0 25px rgba(217, 185, 155, 0.8), /* Tercera capa: difuminat ample */
        0 0 45px rgba(217, 185, 155, 0.5); /* Quarta capa: resplendor final cap al fons */
         
    transition: text-shadow 0.3s ease-in-out;
}

/* Search & Filter - Mohawk.net Aesthetic (DM Mono Edition) */

/* Importació de la font si no la tens carregada al tema */
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&display=swap');

.searchandfilter {
    font-family: 'DM Mono', monospace;
    color: #000;
    line-height: 1.5;
    font-size: 14px;
	text-align: right;
}

/* Títols de les seccions */
.searchandfilter h4 {
    font-family: 'DM Mono', monospace;
    margin: 20px 0 10px 0;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #000;
    display: inline-block;
    padding-bottom: 2px;
}

/* Estructura de llistes i paràgrafs */
.searchandfilter p {
    margin: 1em 0;
    display: inline-block;
}

.searchandfilter ul {
    display: inline-block;
    padding: 0;
    margin: 0;
}

.searchandfilter li {
    list-style: none;
    display: inline-block;
    padding-right: 15px;
}

/* Camps de selecció i text */
.searchandfilter select, 
.searchandfilter input[type="text"] {
    font-family: 'DM Mono', monospace;
    border: 1px solid #000;
    border-radius: 0; /* Estil Mohawk: sense arrodoniments */
    padding: 6px 10px;
    background: transparent;
    font-size: 13px;
    outline: none;
}

/* Adaptació per a widgets (columna única) */
.widget-area .searchandfilter li, 
.widget-area .searchandfilter p {
    display: block;
    margin-bottom: 10px;
}

/* EL BOTÓ SUBMIT */
.searchandfilter input[type="submit"] {
    font-family: 'DM Mono', monospace;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 0;
    padding: 8px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.searchandfilter input[type="submit"]:hover {
    background: #fff;
    color: #000;
}

/* Neteja de llistes niades */
.searchandfilter ul > li > ul:not(.children) {
    margin-left: 0;
}

