/*
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Kadence Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Tags: translation-ready,accessibility-ready,two-columns,right-sidebar,left-sidebar,footer-widgets,blog,custom-logo,custom-background,custom-menu,rtl-language-support,editor-style,threaded-comments,custom-colors,featured-images,wide-blocks,full-width-template,theme-options,e-commerce
Version: 1.4.5.1777483938
Updated: 2026-04-29 17:32:18

*/

/* =========================================================
   HEADER + SIDE NAV 
   ========================================================= */


* {
	box-sizing: border-box;
}
a {
	text-decoration: none;
}
.content-wrap {
	max-width: none;
	padding: 0;
}

.site-main {
	width: 100%;
}

/* =========================================================
   SIDEBAR HEADER
   ========================================================= */

.side-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 220px;
	height: 100vh;
	background: #f9f6f0;
	padding: 40px 0px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;	
	z-index: 999;
	overflow-y: auto;
}

/* =========================================================
   LOGO
   ========================================================= */

.side-logo {
	margin-bottom: 40px;
	text-align: center;
}
.side-logo img {
    max-width: 180px;
}

.side-logo a {
	text-decoration: none;
	color: #412202;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	display: block;
}

/* =========================================================
   NAV VERTICAL
   ========================================================= */

.side-nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	width: 100%;
}

/* =========================================================
   CERCLES DEL MENÚ
   ========================================================= */

.side-nav .nav-item {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition:
		transform 0.4s ease,
		box-shadow 0.3s ease;
	cursor: pointer;
}

/* Hover general */

.side-nav .nav-item:hover {
	transform: translateY(-5px);
}

/* Tot el cercle clicable */

.side-nav .nav-item a {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	color: #ffffff;
	font-size: 16px;
	padding: 10px;
	border-radius: 50%;
	transition: color 0.3s ease;
}

.side-nav .nav-item a:hover {
	
}

/* =========================================================
   COLORS INDIVIDUALS
   ========================================================= */

.side-nav .nav-item.na-1 {
	background-image: url('imatges-fixes/Fusta-1.webp');
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 5px #626262;
}

.side-nav .nav-item.na-1:hover {
	box-shadow: 0 0 15px #cdb49a;
}

.side-nav .nav-item.na-2 {
	background-image: url('imatges-fixes/Fusta-2.webp');
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 5px #626262;
}

.side-nav .nav-item.na-2:hover {
	box-shadow: 0 0 15px #915f32;
}

.side-nav .nav-item.na-3 {
	background-image: url('imatges-fixes/Fusta-3.webp');
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 5px #626262;
}

.side-nav .nav-item.na-3:hover {
	box-shadow: 0 0 15px #834504;
}

.side-nav .nav-item.na-4 {
	background-image: url('imatges-fixes/Fusta-4.webp');
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 5px #626262;
}

.side-nav .nav-item.na-4:hover {
	box-shadow: 0 0 15px #683703;
}

.side-nav .nav-item.na-5 {
	background: #3e2102;
}

.side-nav .nav-item.na-5:hover {
	box-shadow: 0 0 15px #3e2102;
}
/* =========================================================
   DESPLAÇAR EL CONTINGUT PRINCIPAL
   ========================================================= */

#inner-wrap {
	margin-left: 220px;
	min-height: 100vh;
}

/* =========================================================
   RESPONSIVE TABLET + MÒBIL
   ========================================================= */

@media (max-width: 1024px) {

	.side-header {
		position: relative;
		width: 100%;
		height: auto;
		padding: 30px 20px;
		box-shadow: none;
	}

	.side-logo {
		margin-bottom: 30px;
	}

	.side-nav {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 20px;
	}

	.side-nav .nav-item {
		width: 100px;
		height: 100px;
	}

	.side-nav .nav-item a {
		font-size: 15px;
	}

	#inner-wrap {
		margin-left: 0;
	}
}

/* =========================================================
   MÒBIL PETIT
   ========================================================= */

@media (max-width: 768px) {

	.side-nav {
		gap: 5px;
	}
	
	.side-nav .nav-item {
		width: 65px;
		height: 65px;
	}

	.side-nav .nav-item a {
		font-size: 12px;
		font-weight: 300;
	}

	.side-logo a {
		font-size: 24px;
	}
}

/* =========================================================
========================================================= */

/* GRID PRINCIPAL */
.seccions-intro {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 180px);
  gap: 40px;
  margin: 0px 0;
}

/* POSICIONAMENT (4x4) */
.bloc1 {
  grid-row: 1 / 3;
  grid-column: 1 / 3;
}

.bloc2 {
  grid-row: 2 / 4;
  grid-column: 3 / 5;
}

.bloc3 {
  grid-row: 3 / 5;
  grid-column: 1 / 3;
}

.bloc4 {
  grid-row: 4 / 6;
  grid-column: 3 / 5;
}
/* GRID INTERN (cada bloc) */
.bloc {
  display: flex;
	flex-direction: column;
	gap: 20px;
	justify-content: center;
	align-items: center;
	text-align: center;

  padding: 20px;

  /* ANIMACIÓ */
  opacity: 0;
  animation-name: fadeUp;
  animation-duration: 0.6s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);

  animation-timeline: view();
  animation-range: entry 50% cover 50%;
}

/* invertir ordre bloc 2 */
.bloc2 {
  grid-template-columns: 2fr 1fr;
}
.bloc4 {
	grid-template-columns: 2fr 1fr;
}

/* IMATGE RODONA */
.rodona {
  width: 100%;
	padding: 10px;
  max-width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #cdb49a;
  justify-self: center;

  width: 100%;
    padding: 10px;
    max-width: 260px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 8px solid transparent;
    
    background-image: 
        linear-gradient(#f2eeea, #f2eeea), /* 1. El fons interior del teu div (canvia-ho pel color que necessitis) */
        url('imatges-fixes/Fusta-1.webp'); /* 2. La teva textura de fusta */
        
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-size: cover;
    background-position: center;
	
}

.rodona img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* TEXT */
.paragraf-intro p {
  margin: auto;
  text-align: justify;
}

/* ANIMACIÓ */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }

  10% {
    opacity: 1;
    transform: translateY(0) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 📱 RESPONSIVE */
@media (max-width: 800px) {
	.paragraf-intro {
		font-size: 14px;
	}
}

@media (max-width: 600px) {
  .seccions-intro {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bloc1,
  .bloc2,
  .bloc3,
	.bloc4 {
    grid-column: auto;
    grid-row: auto;
  }

  .bloc {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rodona {
    max-width: 180px;
  }
	.paragraf-intro {
		font-size: 12px;
	}
	
}


/* ---------------------------------------- TALLER -------------------- */

.rodona-taller {

    width: 300px;
    height: 300px;
    padding: 10px;
    max-width: 350px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 8px solid transparent; /* Deixem l'espai per a la fusta */
    
    background-image: 
        linear-gradient(#f2eeea, #f2eeea), /* 1. El fons interior del teu div (canvia-ho pel color que necessitis) */
        url('imatges-fixes/Fusta-3.webp'); /* 2. La teva textura de fusta */
        
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-size: cover;
    background-position: center;
  }

  .rodona-taller img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }

  .process-step {
    display:grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
  }
  
  .process-section {
    text-align: justify;
  }
.step-content h2 {
	color: #834504;
}

@media (max-width: 768px) {

    .process-section {
      text-align: left;
    }

    .process-step {
      grid-template-columns: 1fr;
    }
}

 /*==================
    Base Styles
===================*/

  input[type="radio"] {
    display: none;
  }

  .container-taller {
    position: relative;
    min-height: 100vh;
    width: 100%;
  }

  .slide-wrapper-taller {
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
  }

  /*==================
    Slides
===================*/

  #slide-role {
    background: inherit;
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    height: 100%;
    z-index: 100;
    transition: left 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    /* flex */
    display: flex;
  }

  .slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
  }

  /* backgrounds */

  .slide-1 {
    background-image: url("http://sayas.local/wp-content/uploads/2026/05/sayas-portada.png");
  }

  .slide-2 {
    background-image: url("http://sayas.local/wp-content/uploads/2026/05/sayas-portada.png");
  }

  .slide-3 {
    background-image: url("http://sayas.local/wp-content/uploads/2026/05/sayas-portada.png");
  }

  .slide-4 {
    background-image: url("http://sayas.local/wp-content/uploads/2026/05/sayas-portada.png");
  }

  /*===================
    BUTTONS
====================*/

  .btn-taller,
  .btn-taller::after {
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  }

  .btn-taller {
    border: 5px solid #834504;
    position: absolute;
    bottom: 30px;
    width: 120px;
    height: 120px;
    cursor: pointer;
    transform: scale(1.1);
    z-index: 1000;
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }

  .btn-taller:nth-of-type(1) {
    left: 15%;
    background-image: url("/sayas-2/media/images/res-1.jpg");
  }

  .btn-taller:nth-of-type(2) {
    left: 35%;
    background-image: url("/sayas-2/media/images/res-2.webp");
  }

  .btn-taller:nth-of-type(3) {
    left: 55%;
    background-image: url("/sayas-2/media/images/res-3.jpg");
  }

  .btn-taller:nth-of-type(4) {
    left: 75%;
    background-image: url("/sayas-2/media/images/res-4.jpg");
  }

  .btn-taller:hover {
    transform: scale(1.4);
  }

  /* buttons Atom! */

  .btn-taller::after {
  }

  /*====================
        L O G I C 
 ===================*/

  /* slide logic */

  input[type="radio"]:checked#slide-2-trigger
    ~ div.slide-wrapper-taller
    > div#slide-role {
    left: -100%;
  }

  input[type="radio"]:checked#slide-3-trigger
    ~ div.slide-wrapper-taller
    > div#slide-role {
    left: -200%;
  }

  input[type="radio"]:checked#slide-4-trigger
    ~ div.slide-wrapper-taller
    > div#slide-role {
    left: -300%;
  }

  /* button logic */

  input[type="radio"]:checked + label.btn {
    transform: scale(1.3);
  }

  input[type="radio"]:checked + label.btn-taller::after {
    transform: scale(1.1, 1.1);
    background: lightskyblue;
  }

  /*=====================================================================================
                MEDIA QUERIES
=======================================================================================*/

  @media only screen and (max-width: 767px) {
    .container-taller {
      height: 60vh;
    }
    .slide-wrapper-taller {
      width: 100%;
      height: 100%;
      margin: 0;
      border-radius: 0;
    }
    .btn-taller {
      width: 60px;
      height: 60px;
      border-width: 3px;
    }
    .btn-taller:nth-of-type(1) {
      right: 20px;
      left: auto;
      bottom: 65%;
    }
    .btn-taller:nth-of-type(2) {
      right: 20px;
      left: auto;
      bottom: 45%;
    }
    .btn-taller:nth-of-type(3) {
      right: 20px;
      left: auto;
      bottom: 25%;
    }
    .btn-taller:nth-of-type(4) {
      right: 20px;
      left: auto;
      bottom: 5%;
    }
  }

  @media only screen and (max-width: 450px) {
    .container-taller {
      height: 50vh;
    }
    .btn-taller {
      width: 45px;
      height: 45px;
      border-width: 2px;
    }
    .btn-taller:nth-of-type(1),
    .btn-taller:nth-of-type(2),
    .btn-taller:nth-of-type(3),
    .btn-taller:nth-of-type(4) {
      right: 10px;
    }
  }

/* =========================================================
   SINGLE INSTRUMENT TEMPLATE
   ========================================================= */

.instrument-container {

    padding: 80px 60px;
    background-color: #f9f6f0;
    color: #412202;
    display: flex;
    justify-content: center;
    align-items: center;
}

.instrument-container-div {
    max-width: 1200px;
}

/* =========================================================
   HERO
   ========================================================= */

.instrument-hero {

    margin-bottom: 60px;
}

.instrument-grid {

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

/* =========================================================
   IMATGE PRINCIPAL
   ========================================================= */

.instrument-image {

    width: 100%;
    padding: 10px;
    max-width: 500px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    
    justify-self: left;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 8px solid transparent; /* Deixem l'espai per a la fusta */
    
    background-image: 
        linear-gradient(#f2eeea, #f2eeea), /* 1. El fons interior del teu div (canvia-ho pel color que necessitis) */
        url('imatges-fixes/Fusta-2.webp'); /* 2. La teva textura de fusta */
        
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-size: cover;
    background-position: center;

  transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
}

.instrument-image img {

  width: 80%;
  height: 80%;
  object-fit: contain;
	transition:
        transform 0.5s ease;


    
}

.instrument-image img:hover {

    transform: scale(1.1);
}
/* =========================================================
   INFO
   ========================================================= */

.instrument-info {

    display: flex;
    flex-direction: column;

		align-self: left;
    gap: 30px;
}
.titol-intrument-info {

    font-size: clamp(32px, 3vw, 32px);

    margin-bottom: 40px;

    color: #834504;

    position: relative;
}

.instrument-info h1 {

    font-size: clamp(32px, 5vw, 40px);
    line-height: 1;
    color: #915f32;
	align-self: left;
    margin: 0;
}

.short-description {

    font-size: 16px;
    line-height: 1.8;
    color: #5b3410;
	align-self: left;
}

/* =========================================================
   META
   ========================================================= */

.instrument-meta {

    display: flex;
	flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
}

.instrument-meta div {
	max-width: 300px;

    background: #ffffff;

    border: 2px solid #915f32;

    padding: 10px 15px;

    border-radius: 999px;

    font-size: 15px;

    box-shadow:
        0 5px 15px rgba(0,0,0,0.04);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.instrument-meta div:hover {

    transform: translateY(-3px);

    box-shadow:
        0 10px 20px rgba(0,0,0,0.08);
}

.instrument-meta strong {

    color: #915f32;
}

/* =========================================================
   SECCIONS
   ========================================================= */

.instrument-description,
.instrument-specs,
.instrument-sound,
.instrument-restoration,
.instrument-label-image,
.instrument-gallery-images{

    margin-bottom: 40px;

    animation-name: fadeUp;
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);

    animation-timeline: view();
    animation-range: entry 20% cover 30%;
}

.instrument-description h2,
.instrument-specs h2,
.instrument-sound h2,
.instrument-restoration h2,
.instrument-label-image h2,
.instrument-gallery-images h2 {

    font-size: clamp(32px, 3vw, 32px);

    margin-bottom: 40px;

    color: #915f32;

    position: relative;
}

.instrument-description h2::after,
.instrument-specs h2::after,
.instrument-sound h2::after,
.instrument-restoration h2::after,
.instrument-label-image h2::after,
.instrument-gallery-images h2::after {

    content: "";

    display: block;

    width: 120px;
    height: 4px;

    background: #915f32;

    border-radius: 999px;

    margin-top: 15px;
}

/* =========================================================
   DESCRIPCIÓ
   ========================================================= */

.instrument-description .content {


    font-size: 16px;
    line-height: 2;

    text-align: justify;
}

/* =========================================================
   TAULA
   ========================================================= */

.instrument-specs table {

    width: 100%;
    

    border-collapse: separate;
    border-spacing: 0 15px;
}

.instrument-specs tr {

   

    overflow: hidden;

 

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.instrument-specs tr:hover {

    transform: translateY(-3px);

}

.instrument-specs th,
.instrument-specs td {

    padding: 22px 30px;

    text-align: left;
}

.instrument-specs th {

    width: 35%;

    background: #cdb49a;

    color: #412202;

    font-weight: 600;

    border-radius: 20px 0 0 20px;
}

.instrument-specs td {

    background: #ffffff;

    border-radius: 0 20px 20px 0;
}

/* =========================================================
   SO
   ========================================================= */

.instrument-sound p {


    font-size: 16px;
    line-height: 2;

    padding: 40px;

    background: #ffffff;

    border-left: 6px solid #834504;

    border-radius: 25px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.05);
}

/* =========================================================
   RESTAURACIÓ
   ========================================================= */

.instrument-restoration ul {

    list-style: none;

    padding: 0;
    margin: 0;

    display: flex;
    flex-wrap: wrap;

    gap: 20px;
}

.instrument-restoration li {

    background: #ffffff;

    border: 2px solid #915f32;

    padding: 10px 15px;

    border-radius: 999px;

    font-size: 16px;

    box-shadow:
        0 5px 15px rgba(0,0,0,0.04);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.instrument-restoration li:hover {

     transform: translateY(-3px);

    box-shadow:
        0 10px 20px rgba(0,0,0,0.08);
}

/* =========================================================
   ETIQUETA INTERIOR
   ========================================================= */

.instrument-label-image {

    text-align: left;
}

.instrument-label-image img {

    width: 100%;
    max-width: 600px;
		margin-bottom: 40px;

    border-radius: 30px;

    border: 6px solid #915f32;

    background: #ffffff;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.08);
}

/* =========================================================
   ANIMACIÓ
   ========================================================= */

@keyframes fadeUp {

    0% {

        opacity: 0;
        transform: translateY(60px);
    }

    100% {

        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {


    .instrument-grid {

        gap: 30px;
    }
}

@media (max-width: 900px) {

    .instrument-grid {

        grid-template-columns: 1fr;
    }

    .instrument-info {

        text-align: center;
        align-items: center;
    }

    .instrument-description .content {

        text-align: left;
    }

    .instrument-specs th {

        width: 40%;
    }
}

@media (max-width: 768px) {

    .instrument-container {

        padding: 20px 15px;
    }

    .instrument-meta {

        justify-content: center;
    }

    .instrument-specs table,
    .instrument-specs tbody,
    .instrument-specs tr,
    .instrument-specs th,
    .instrument-specs td {

        display: block;
        width: 100%;
    }

    .instrument-specs tr {

        margin-bottom: 20px;
    }

    .instrument-specs th {

        border-radius: 20px 20px 0 0;
    }

    .instrument-specs td {

        border-radius: 0 0 20px 20px;
    }

    .instrument-sound p {

        padding: 30px 20px;
    }
}

/* -------------------------- Archive-------------*/
.archive-instrument {
	background-color: #f9f6f0;
	padding: 45px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.archive-instrument-div {

    max-width: 1200px;
}
.archive-heading h1 {
	padding-top: 30px;
	margin-bottom: 60px;
	font-size: 2.5rem;
	color: #915f32;
	text-align: center;
}

.instrument-archive-list{
    display: flex;
    flex-direction: column;
    gap: 3rem;
		align-items: center;
	
}

.instrument-archive-card{
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 3rem;
    align-items: center;
	max-width: 1000px;
	
}

.instrument-archive-image{
    width: 100%;
}

.instrument-archive-image a{
    display: block;
    width: 100%;
}

.instrument-archive-image img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    object-fit: cover;
}

.instrument-archive-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.instrument-archive-title{
    margin: 0;
    font-size: 2rem;
    line-height: 1;
	color: #915f32;
}

.instrument-archive-year,
.instrument-archive-restoration{
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}
.instrument-archive-year strong,
.instrument-archive-restoration strong {
    color: #915f32;
		margin-right: 10px;
}

.instrument-archive-description{
    line-height: 1.5;
    font-size: 1.0rem;
	text-align: justify;
}

.instrument-archive-button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-top: 1rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
	border: 2px solid #915f32;
	color: #915f32;
    background-color: #915e3208;
    font-weight: 500;
}
.instrument-archive-button:hover {
	color:white;
	background-color: #915f32;
}
.rodona-archive {
    width: 100%;
    padding: 10px;
    max-width: 350px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    
    justify-self: left;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 8px solid transparent; /* Deixem l'espai per a la fusta */
    
    background-image: 
        linear-gradient(#f2eeea, #f2eeea), /* 1. El fons interior del teu div (canvia-ho pel color que necessitis) */
        url('imatges-fixes/Fusta-2.webp'); /* 2. La teva textura de fusta */
        
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-size: cover;
    background-position: center;
}

.rodona-archive img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  align-self: center;
  justify-self: center;
    transition: transform 0.3s;
}
.rodona-archive img:hover {
    transform: scale(1.1);
}


/* MÒBIL */
@media (max-width: 768px){

    .instrument-archive-card{
        grid-template-columns: 1fr;
        gap: 2rem;
    }
	.instrument-archive-content a {
		align-self: center;
	}

    .instrument-archive-title{
        font-size: 1.5rem;
			text-align: center;
			align-self:center;
    }
	.rodona-archive {
		max-width: 260px;
		justify-self: center;
		padding: 10px;
	}

}

/* =========================================================
   Paginació
   ========================================================= */


.instrument-archive-pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:1rem;
    margin-top:5rem;
}

/* Ocultar números */

.instrument-archive-pagination .page-numbers:not(.prev):not(.next){
    display:none;
}

/* Botons */

.instrument-archive-pagination .prev,
.instrument-archive-pagination .next{
    width:56px;
    height:56px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:1.5rem;
    background:#834504;
    color:#f2eeea;
    transition:.3s ease;
}

/* Hover */

.instrument-archive-pagination .prev:hover,
.instrument-archive-pagination .next:hover{
    background:#683703;
    transform:translateY(-2px);
}

/* Botó desactivat */

.instrument-archive-pagination .prev.disabled,
.instrument-archive-pagination .next.disabled,
.instrument-archive-pagination span{
    opacity:.4;
    pointer-events:none;
}


/* =========================================================
   Galeria ACF
   ========================================================= */

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:1rem;
}

.gallery img{
    width:100%;
    height:320px;
    object-fit:cover;
    border-radius:12px;
    cursor:pointer;
    transition:.3s ease;
}

.gallery img:hover{
    transform:scale(1.02);
}

/* LIGHTBOX */

.gallery img.active{
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    width:auto;
    height:auto;
    max-width:90vw;
    max-height:90vh;
    z-index:9999;
    box-shadow:0 20px 60px rgba(0,0,0,.5);
    border-radius:16px;
    background:white;
}

/* FONS */

.gallery-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.8);
    z-index:9998;
    opacity:0;
    pointer-events:none;
    transition:.3s ease;
}

.gallery-overlay.active{
    opacity:1;
    pointer-events:auto;
}