/* Reset bàsic i tipografia */
* {
  box-sizing: border-box;
}

:root {
  --bg-color: #f4f4f4;
  --container-bg: white;
  --text-color: #333;
  --primary-color: #00438f;
  --secondary-color: #002958;
  --btn-primary-hover: #0a5cb8;
  /* to blau més clar per hover de botons blaus */
  --option-bg: #f9f9f9;
  --option-border: #ddd;
  --correct-bg: #d4edda;

  --incorrect-bg: #f8d7da;
  --btn-primary-bg: #00438f;
  --btn-primary-color: white;
  --btn-secondary-bg: #6c757d;
  --btn-secondary-color: white;
  --header-bg: transparent;
  --transition-time: 0.3s;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-color);
  padding: 0px;
  margin: 0;
  color: var(--text-color);
  -webkit-text-size-adjust: none;
  overscroll-behavior-y: contain;
  /* Evita pull-to-refresh */
  touch-action: manipulation;
  transition: background-color var(--transition-time) ease;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  background: var(--container-bg);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-time) ease;
}

/* Layout responsiu: columnes en desktop, una columna en mòbil */
.intro-grid,
.content-grid {
  display: block;
}

/* Assegurar que les seccions principals no s’alinein en paral·lel per flotats */
/* Neteja: retirem el clear per minimitzar CSS */

@media (min-width: 900px) {
  .intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 16px;
    align-items: center;
  }

  .intro-grid .intro-text {
    align-self: start;
  }

  .intro-grid #botons-principals {
    align-self: center;
  }

  .content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
  }

  .content-grid .benefits,
  .content-grid .howto {
    margin-top: 20px;
    align-self: start;
    /* background-color: var(--btn-secondary-bg); */
    padding: 10px 0px;
    border: 1px solid var(--option-border);
    border-radius: 8px;
  }
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

/* Títol */
h1 {
  font-size: 1.6em;
  text-align: left;
  margin: 0 0 0px 15px;
  color: var(--primary-color);
  padding: 0 5px 0 5px;
  transition: color var(--transition-time) ease;
}

h2 {
  font-size: 1.2em;
  text-align: left;
  margin: -5px 0 10px 20px;
  color: #e00218;
  letter-spacing: 3px;
  transition: color var(--transition-time) ease;
}

h3 {
  font-size: 1.2em;
  text-align: left;
  margin: -5px 0 10px 20px;
  color: var(--secondary-color);
  transition: color var(--transition-time) ease;
}

h4 {
  font-size: 1em;
  text-align: left;
  margin: 2px;
  color: var(--secondary-color);
  transition: color var(--transition-time) ease;
}

li {
  margin-bottom: 5px;
}

/* Pregunta */
.pregunta {
  font-size: 1.2em;
  text-align: center;
  line-height: 1.5;
  margin: 10px;
  font-weight: 500;
  color: var(--text-color);
  transition: opacity 0.3s ease-in-out, color var(--transition-time) ease;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}

/* Opcions de resposta */
.opcions label {
  display: block;
  padding: 10px 10px;
  margin: 0px 10px;
  background: var(--option-bg);
  border: 1px solid var(--option-border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.05em;
  line-height: 1.4;
  transition: background 0.2s, color var(--transition-time) ease, border-color var(--transition-time) ease;
}

.opcions input {
  margin-right: 10px;
  transform: scale(1.2);
}

.opcio-resposta {
  transition: background-color 1.8s ease;
}

/* Quan un toast modal està obert, bloqueja interacció amb la pregunta */
.modal-open .opcio-resposta { pointer-events: none !important; }
.modal-open .opcions, .modal-open .pregunta { user-select: none; }

.opcio-resposta.correcta {
  background-color: var(--correct-bg);
  /* Manté el color verd de fons per a la correcta */
}

.opcio-resposta.incorrecta {
  background-color: var(--incorrect-bg);
  color: #b00020;
  /* Vermell (text) per destacar l'error */
  font-weight: 600;
  /* Negreta per remarcar la resposta seleccionada */
  border-color: #f5c2c7;
  /* Suavitza el contorn en clar (tema clar) */
}

/* Ajust en mode fosc perquè el text sigui prou visible */
body.dark-mode .opcio-resposta.incorrecta {
  color: #ffb3b3;
  /* Vermell clar en mode fosc */
  border-color: #8a3a43;
}


/* Botó "No contestar" */
.btn-passar {
  display: block;
  width: 100%;
  max-width: 400px;
  padding: 10px;
  background-color: #e6f0ff;
  /* igual que btn-secondary */
  color: #003060;
  border: 1px solid #c9ddff;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin: 0px auto;
  transition: background 0.2s, color var(--transition-time) ease;
}

.btn-passar:hover,
.btn-passar:active {
  background-color: #d7e8ff;
  /* hover igual que btn-secondary */
}

/* Botó per canviar mode fosc/clar */
.btn-icon {
  background: transparent;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 5px;
  transition: var(--transition);
  color: var(--text-color);
}

.marcar-container {
  margin-bottom: 10px;
}

.marcar-container .btn-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Mode fosc */
body.dark-mode {
  --bg-color: #222;
  --container-bg: #333;
  --text-color: #f4f4f4;
  --primary-color: #f4f4f4;
  --secondary-color: #0060ce;
  --option-bg: #444;
  --option-border: #555;
  --correct-bg: #255c3a;
  --incorrect-bg: #6b2830;
  --btn-primary-bg: #00438f;
  ;
  --btn-secondary-bg: #5a6268;
  --header-bg: #333;
}

/* Comptador de temes */
.comptador {
  display: block;
  margin: 20px 10px !important;
  padding: 10px;
  /* background: #f9f9f9; */
  border-radius: 8px;
  margin: 0 auto;
  background: var(--container-bg);
}

.comptador h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.2em;
  color: var(--text-color);
  /* color: #333; */
}

/* Checkbox personalitzats */
.ambit {
  margin-bottom: -15px;
}

.subtema {
  margin-bottom: 5px;
}

/* Estadístiques */
.estadistiques {
  text-align: center;
  margin: 15px 0;
  font-size: 1.1em;
  font-weight: 500;
}

.verd {
  color: green;
}

.vermell {
  color: red;
}

/* Opcions dins de la pestanya "Preguntes fallades" */
.pregunta-fallada .opcio-fallada {
  padding: 6px 8px;
  margin: 2px 0;
  background: var(--option-bg);
  border: 1px solid var(--option-border);
  border-radius: 6px;
}

.pregunta-fallada .opcio-fallada.correcta {
  background-color: var(--correct-bg);
  font-weight: 600;
  color: #1e7e34;
  /* Verd més fosc per llegibilitat */
}

.pregunta-fallada .opcio-fallada.incorrecta {
  background-color: var(--incorrect-bg);
  color: #b00020;
  /* Vermell (text) per destacar l'error */
  font-weight: 600;
  /* Negreta per remarcar la resposta seleccionada */
  border-color: #f5c2c7;
  /* Contorn suau en tema clar */
}

body.dark-mode .pregunta-fallada .opcio-fallada.incorrecta {
  color: #ffb3b3;
  /* Vermell clar en mode fosc */
  border-color: #8a3a43;
}

/* Botó acabar */
.btn-acabar {
  display: none;
  width: 100%;
  max-width: 400px;
  padding: 10px;
  background: #dc3545;
  color: white;
  border: 1px solid #b02a37;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin: 10px auto;
  margin-bottom: 25px;
}

.btn-acabar:hover {
  background: #c82333;
}

/* Botó principal */
.btn-primary {
  padding: 10px 16px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-color);
  border: 1px solid #003060;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin: 5px auto;
  display: inline-block;
  min-width: 200px;
  max-width: 400px;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}

.btn-primary:hover {
  background: var(--btn-primary-hover);
}

/* Centrar elements */
.center {
  text-align: center;
  margin: 15px 0;
}

/* Estadístiques avançades */
.estadistiques-avançades {
  margin: 20px 10px !important;
  padding: 15px;
  border-radius: 8px;
  margin: 0 auto;
  background: var(--container-bg);
}

/* Barra de progrés (estadístiques per àmbit i subtema) */
.barra-progres {
  height: 15px;
  background: #e9ecef;
  border-radius: 6px;
  overflow: hidden;
}

.tabs {
  display: flex;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.tab {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.tab.active {
  border-bottom-color: var(--primary-color);
  font-weight: 500;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Barra de progrés */
.progress-container {
  margin: 10px 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.progress-bar {
  height: 10px;
  background: #e9ecef;
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary-color);
  border-radius: 5px;
  transition: width 0.5s;
}

/* Historial */
.historial-item {
  padding: 10px;
  margin-bottom: 10px;
  background: #f0f0f0;
  border-radius: 5px;
  border-left: 4px solid var(--primary-color);
}

.historial-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.toggle-detalls {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 0.9em;
}

.historial-detalls {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #ddd;
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 10px;
    border-radius: 0;
    box-shadow: none;
  }

  .tabs {
    flex-direction: column;
  }

  .tab {
    border-bottom: 1px solid #ddd;
  }

  .tab.active {
    border-bottom: 1px solid #ddd;
    border-left: 3px solid var(--primary-color);
  }
}

/* Toasts integrats */
.toast-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 8px; */
  pointer-events: none;
}

.toast {
  min-width: 260px;
  max-width: 100vw;
  background: #fff;
  color: #222;
  padding: 20px 20px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  font-size: 0.95em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 2px solid #2e7d32;
}

.toast.error {
  background: #fdecea;
  color: #7a1f1f;
  border: 2px solid #c62828;
}

.toast.info {
  background: #eef2ff;
  color: #1e3a8a;
  border: 2px solid #3b82f6;
}

body.dark-mode .toast {
  background: #222;
  color: #f4f4f4;
  border-color: #333;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

body.dark-mode .toast.success {
  background: #1f2e25;
  color: #a7f3d0;
  border-color: #10b981;
}

body.dark-mode .toast.error {
  background: #2b1f22;
  color: #fecaca;
  border-color: #ef4444;
}

body.dark-mode .toast.info {
  background: #1f2937;
  color: #c7d2fe;
  border-color: #60a5fa;
}

/* Toast amb botons */
.toast-buttons {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.toast-button {
  background: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.9em;
  transition: all 0.2s ease;
  min-width: 60px;
}

.toast-button:hover {
  background: #eee;
  border-color: #ccc;
}

.toast-button.primary {
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
  padding: 10px 16px;
  font-size: 1rem;
  border: 1px solid #003060;
  border-radius: 6px;
}

.toast-button.primary:hover {
  background: var(--btn-primary-hover);
  border-color: #004a99;
}

body.dark-mode .toast-button {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

body.dark-mode .toast-button:hover {
  background: rgba(255, 255, 255, 0.25);
}

body.dark-mode .toast-button.primary {
  background: rgba(255, 255, 255, 0.85);
  color: #222;
}

body.dark-mode .toast-button.primary:hover {
  background: var(--btn-primary-hover);
}

/* Toast modal centrat */
.toast-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
}

.toast.modal {
  width: min(520px, 92vw);
  /* padding: 16px 18px; */
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

/* Modal a pantalla quasi completa per a publicitat */
.toast.modal.fullscreen {
  width: 95vw;
  height: 95vh;
  max-height: none;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.toast-desc {
  font-size: 0.9em;
  opacity: 0.9;
  /* margin-bottom: 8px; */
}

.toast.modal .toast-buttons {
  margin-top: 12px;
  position: sticky;
  bottom: 0;
  background: inherit;
  padding-top: 8px;
  padding-bottom: 6px;
}

/* Resultats de resposta (correcte/incorrecte/passat) */
.toast-result .toast-result-title {
  text-align: center;
  font-size: 1.7em;
  font-weight: 700;
  /* margin-bottom: 6px; */
}

.toast-result .toast-result-subtitle {
  text-align: center;
  font-size: 1em;
  margin-bottom: 6px;
}

.toast-explanation {
  margin-top: 30px;
}

.toast-explanation-tema {
  font-weight: 600;
  margin-bottom: 4px;
}

.toast-explanation-text {
  line-height: 1.3;
}

/* Neteja i ordre: estils específics del report toast */
.report-toast .toast-title {
  margin-bottom: 4px;
}

.report-toast .toast-desc {
  margin-bottom: 6px;
}

.report-toast .report-question {
  font-size: 0.9em;
  line-height: 1.25;
  color: var(--text-secondary, #555);
  margin: 0 0 4px 0;
}

.report-toast .report-answers {
  line-height: 1.2;
  font-size: 0.9em;
  color: var(--text-secondary, #333);
  margin-bottom: 2px;
}

.report-toast ol {
  margin: 0 0 6px 16px;
  padding: 0;
}

.report-toast ol li {
  margin: 0;
  padding: 0;
}

.report-toast .toast-form {
  display: grid;
  row-gap: 6px;
}

.report-toast .form-group label {
  display: block;
  font-size: 0.86em;
  margin-bottom: 2px;
}

.report-toast .form-group input,
.report-toast .form-group textarea {
  width: 100%;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.form-group {
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.report-toast textarea {
  resize: vertical;
}

/* Responsive: ampliar toasts al mòbil i millorar llegibilitat */
@media (max-width: 640px) {
  .toast {
    max-width: 96vw;
    width: 96vw;
    padding: 24px 18px;

    line-height: 1.3;
  }

  .toast.modal {
    width: 96vw;
    max-height: 90vh;
  }

  .toast.modal.fullscreen {
    width: 96vw;
    height: 96vh;
    max-height: none;
  }

  .toast-overlay {
    padding: 8px;
  }

  .toast-buttons {
    width: 100%;
    gap: 10px;
  }

  .toast-button {
    flex: 1 1 45%;
    /* dues columnes al mòbil */
    min-width: 0;
    padding: 12px 14px;
    font-size: 1em;
  }

  .toast-button.primary {
    padding: 14px 16px;
    font-size: 1.05em;
  }

  .toast-title {
    font-size: 1.05em;
  }

  .toast-desc {
    font-size: 0.95em;
  }
}



/* Estils per al toast publicitari post-qüestionari */
.ad-toast {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  /* important per a flex amb contingut que creix */
}

.ad-toast .toast-title {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
}

.ad-toast .toast-desc {
  font-size: 0.9em;
  opacity: 0.8;
  margin-bottom: 15px;
  text-align: center;
}


/* Contenidor per a l'anunci dins del toast de final de qüestionari */
.ad-slot {
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}


.ad-timer {
  font-size: 0.85em;
  color: var(--text-color);
  opacity: 0.7;
  text-align: center;
  margin-top: 10px;
}

#ad-countdown {
  font-weight: 600;
  color: var(--primary-color);
}

/* (neteja) eliminat CSS específic d'iframes publicitaris i Monetag */

/* Mode fosc per al toast publicitari */

body.dark-mode .ad-timer {
  color: var(--text-color);
}

body.dark-mode #ad-countdown {
  color: var(--primary-color);
}

/* Afegits: focus visible i accessibilitat */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.opcions-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.opcio-resposta {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 6px;
}


button:focus-visible,
.btn-primary:focus-visible,
.btn-icon:focus-visible,
input[type="radio"]:focus-visible,
label.opcio-resposta:focus-visible {
  outline: 2px solid var(--accent, #002060);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Desactivar selecció de text en zones protegides */
.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Estils d'introducció */
.intro-title {
  color: #00438f;
  font-weight: 600;
  text-align: center;
}

/* Botons secundaris (Estadístiques) */
.btn-secondary {
  background-color: #e6f0ff;
  /* blau clar */
  color: #003060;
  border: 1px solid #c9ddff;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  margin: 5px auto;
  display: inline-block;
  min-width: 200px;
  max-width: 400px;
  text-align: center;
}

.btn-secondary:hover {
  background-color: #d7e8ff;
}

/* Estils comuns per uniformitzar tipografia i mides entre botons */
.btn-primary,
.btn-secondary,
.btn-passar,
.btn-acabar {
  font-family: inherit;
  line-height: 1.2;
}

/* Overrides per layout d'introducció (desktop 2/3 - 1/3) */
@media (min-width: 900px) {
  .intro-grid {
    grid-template-columns: 2fr 1fr;
  }

  .intro-left-body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
    align-items: start;
  }
}

.intro-left-header {
  margin: 0 10px 8px 10px;
}

.intro-image {
  width: 100%;
  height: auto;
}

.intro-image {
  width: 50%;
  height: auto;
  border-radius: 8px;
}

.ambits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 900px) {
  .ambits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ambit-card {
  background: var(--container-bg);
  border: 1px solid var(--option-border);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.ambit-card h4 {
  margin: 0 0 6px;
  color: var(--secondary-color);
}

.ambit-card p {
  margin: 0 0 10px;
  font-size: 0.95em;
}

.ambit-card .card-actions {
  display: flex;
  gap: 8px;
}

/* Correcció d’overflow de targetes en mòbil petit */
@media (max-width: 640px) {
  .ambits-grid {
    padding: 0 6px;
  }

  .ambit-card {
    margin: 0;
  }

  .ambit-card .card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ambit-card .card-actions .btn-primary,
  .ambit-card .card-actions .btn-secondary {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

/* Targeta d'Exàmens Oficials a tot ample en desktop */
@media (min-width: 900px) {
  .ambit-card-full {
    grid-column: 1 / -1;
  }
}

/* Contacte: graella FAQs + formulari */
.contact-grid {
  display: block;
}

@media (min-width: 900px) {
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }
}

.contact-faq details {
  margin: 6px 0;
}

.contact-faq summary {
  display: block;
  font-size: 1em;
  margin: -5px 0 8px 0;
  color: var(--secondary-color);
  cursor: pointer;
}

.contact-faq summary::-webkit-details-marker {
  display: none;
}

.contact-faq h3 {
  margin: 0 0 8px 0;
}

.contact-form h3 {
  margin: 0 0 8px 0;
}

/* Toast de consentiment de cookies (CMP) a la part inferior */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: var(--container-bg);
  color: var(--text-color);
  border: 1px solid var(--option-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 12px 14px;
  width: min(700px, 96vw);
  z-index: 10000;
  display: none;
}

.cookie-banner p {
  margin: 0 0 8px 0;
  font-size: 0.95em;
  text-align: center;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 10px;
    padding: 10px 12px;
  }
}


.ads-web {
  display: block;
  zoom: 75%;
  text-align: center;
}

.ads-mobil {
  display: none;
}

@media (max-width: 768px) {
  .ads-web {
    display: none !important;
    text-align: center;
  }

  .ads-mobil {
    display: block !important;
  }
}
/* (retirat) Regles d'ocultació de l'slot d'anunci per evitar alteracions del snippet */
