/*
Theme Name: Turba
Template: twentytwentyfive
Theme URI: https://xxx
Author: Basetis
Author URI: https://basetis.com
Description: Child theme of Twenty Twenty-Five with Classic Editor-style PHP templates and meta boxes for People, Projects, Outputs.
Version: 1.1.0
Text Domain: turba
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ===== Google Fonts ===== */
@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700&display=swap");

/* ===== Fuente Inter Variable optimizada ===== */
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/Inter-VariableFont_opsz\,wght.woff2")
    format("woff2");
  font-weight: 100 900; /* todos los grosores */
  font-style: normal;
  font-display: swap;
}

.site-header .menu a {
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

/* ====== Variables i reset mínim ====== */
:root {
  --wrap-max: 100%;
  --gutter: 0;
  --pad: 0;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  background-color: #f9f3e7 !important;
  width: 100%;
}

html {
  width: 100%;
  overflow-x: clip;
}

/* Tipografia per als headers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Barlow Condensed", sans-serif;
}

/* Evitar que els títols llargs desquadrin el layout */
h1,
h2,
h3,
h4,
h5,
h6,
.output__title,
.project-hero__title,
.news-hero__title,
.output-card__title,
.project-card__title,
.news-card__title,
.news-card-title,
.news-output-card__title {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* Reduir mida dels títols principals en mòbil */
@media (max-width: 768px) {
  h1,
  .output__title,
  .project-hero__title,
  .news-hero__title {
    font-size: 48px;
    line-height: 56px;
  }
}

/* Assegurar que tots els contenidors principals no causin scroll lateral */
.site-wrap,
.site-main,
.container,
main,
article,
section {
  max-width: 100%;
}

/* Assegurar que les imatges i altres elements no surtin del contenidor */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* ====== Contenidor genèric ====== */
.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* ====== Imatges, vídeos i contingut ====== */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

pre,
code {
  white-space: pre-wrap;
  word-break: break-word;
}

.entry-content {
  overflow-wrap: anywhere;
}

/* ====== Rejilla i targetes reutilitzables ====== */
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  padding: 16px 0;
}

.card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem;
  background: transparent;
}

.card img {
  border-radius: 10px;
}

/* ====== Enllaços globals ====== */
:root {
  --turba-link: #0a66c2 !important;
  --turba-link-visited: #5a31c6 !important;
}

a {
  color: var(--turba-link);
  text-decoration: underline;
  text-underline-offset: 0.08em;
  text-decoration-thickness: 1px;
}

a:visited {
  color: var(--turba-link-visited);
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
  outline: none;
}

/* Botons sense subratllat */
.wp-block-button__link,
.button,
.btn,
[class*="button"] > a {
  text-decoration: none;
  color: inherit;
}

/* Reafirmar subratllat en plantilles */
.site-main a,
.person a,
.research-area a,
.output a {
  text-decoration: underline;
}

.dashicons {
  width: auto !important;
  height: auto !important;
}

/* --- Header general --- */
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  background: #f9f3e7; /* coherent amb fons global */
}

.site-branding img {
  max-height: 60px;
}

.desktop-menu {
  display: none;
}

.desktop-menu .menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
}

.desktop-menu .menu a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
}

/* --- Responsive --- */
@media (min-width: 1122px) {
  .desktop-menu {
    display: block;
  }

  .hamburger {
    display: none !important;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* === ESTIL MENÚ PRINCIPAL === */
.desktop-menu .menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.desktop-menu .menu > li {
  position: relative;
}

.desktop-menu .menu > li > a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  padding: 0.5rem 0;
  display: inline-block;
  transition: color 0.2s ease;
}

.desktop-menu .menu > li:hover > a {
  color: #0061a8;
}

/* === SUBMENÚ === */
.desktop-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 410px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  z-index: 99;
}

.desktop-menu .sub-menu li {
  width: 100%;
}

.desktop-menu .sub-menu a {
  display: block;
  padding: 0.6rem 1rem;
  color: #333;
  text-decoration: none;
  font-weight: 400;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.desktop-menu .sub-menu a:hover {
  background: #f4f4f4;
  color: #0061a8;
}

.desktop-menu .menu > li:hover > .sub-menu {
  display: block;
}

.desktop-menu .menu > li.menu-item-has-children > a::after {
  content: " ▼";
  font-size: 0.7em;
  color: #888;
  margin-left: 4px;
}

/* === Responsive === */
@media (max-width: 1122px) {
  .desktop-menu {
    display: none;
  }
}

/* ====== Footer 3x3 ====== */
.turba-footer {
  background: #73edff;
  color: #0d1b2a;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 3rem 2rem 1rem;
}

.turba-footer__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}
.footer-row.footer-row--1 {
  padding-bottom: 30px;
}

.footer-row.footer-row--2 {
  border-top: 1px solid #383131;
  padding-top: 30px;
}

.footer-row.footer-row--3 {
  border-top: 1px solid #383131;
  padding-top: 30px;
  grid-template-columns: 1.5fr 0.3fr 2fr;
}

.footer-heading {
  margin: 0 0 0.6rem;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.4rem;
}

.footer-list a {
  text-decoration: none;
  color: #0d1b2a;
}

.footer-list a:hover {
  text-decoration: underline;
}

.footer-logo {
  max-height: 60px;
  margin-bottom: 0.5rem;
}

.footer-logo-uoc {
  max-height: 50px;
}

.uoc-text {
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
}

.footer-links-legal {
  font-size: inherit;
}

.footer-links-legal a {
  color: #0d1b2a;
  text-decoration: none;
  margin-left: 0.3rem;
}

.footer-links-legal a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .footer-row {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .footer-row.footer-row--3 {
    display: flex;
    flex-direction: column;
  }
  .footer-row.footer-row--3 .footer-col--1 {
    order: 2;
    margin-top: 1rem;
  }
  .footer-row.footer-row--3 .footer-col--3 {
    order: 1;
  }
  .footer-links-legal {
    margin-top: 0;
  }
}

/* ===== Pàgina de notícies ===== */
.news-page {
  max-width: 1400px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

/* ===== Capçalera ===== */
.news-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin: 80px 0 60px;
}

@media (min-width: 900px) {
  .news-header {
    grid-template-columns: 1fr 1fr;
  }
}

.news-header-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.news-page-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #0d1b2a;
}

.news-page-desc {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
  max-width: 600px;
}

/* ===== Llista de notícies ===== */
.news-page-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .news-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Reutilitza els estils de .home-news-card */
.home-news-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.home-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.news-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-date {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.5rem;
}

.news-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.8rem;
}

.news-card-title a {
  color: #0d1b2a;
  text-decoration: none;
}

.news-card-title a:hover {
  text-decoration: underline;
}

.news-excerpt {
  flex: 1;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.news-learnmore {
  font-weight: 600;
  text-decoration: none;
  color: #0d1b2a;
  align-self: flex-start;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.news-learnmore:hover {
  color: #0061a8;
  transform: translateX(3px);
}

/* ===== Paginació ===== */
.news-pagination {
  text-align: center;
  margin-top: 2rem;
}

.news-pagination .page-numbers {
  display: inline-block;
  margin: 0 6px;
  padding: 0.4rem 0.8rem;
  color: #0d1b2a;
  text-decoration: none;
  border-radius: 4px;
  background: #f0f0f0;
}

.news-pagination .current {
  background: #0d1b2a;
  color: #fff;
}

.news-pagination a:hover {
  background: #e2e2e2;
}

/* ===== Single News ===== */
.single-news {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* ===== Capçalera ===== */
.news-header-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .news-header-single {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.news-category {
  display: inline-block;
  background: #0d1b2a;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.news-title-single {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #0d1b2a;
}

.news-summary {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.news-featured-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

/* ===== Autor ===== */
.news-author {
  margin-top: 2rem;
}

.author-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 700;
  margin: 0;
  font-size: 1.1rem;
}

.author-role {
  font-size: 0.9rem;
  color: #666;
  margin: 0.2rem 0 0.5rem;
}

.author-socials a {
  margin-right: 0.5rem;
  text-decoration: none;
  font-size: 1.2rem;
  color: #0d1b2a;
}

.author-socials a:hover {
  color: #0061a8;
}

/* ===== Cos principal ===== */
.news-body-single {
  margin-top: 3rem;
}

.news-subtitle {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0d1b2a;
}

.news-content {
  line-height: 1.7;
  font-size: 1rem;
  color: #333;
}

.news-content img {
  border-radius: 8px;
  margin: 1.5rem 0;
}

/* ===== Peu de pàgina ===== */
.news-footer-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
}

@media (min-width: 900px) {
  .news-footer-single {
    grid-template-columns: 1fr 1fr;
  }
}

.news-footer-left h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.news-share a {
  display: inline-block;
  margin-right: 1rem;
  color: #0d1b2a;
  text-decoration: none;
  font-weight: 600;
}

.news-share a:hover {
  color: #0061a8;
  text-decoration: underline;
}

.news-category-tag {
  display: inline-block;
  background: #f1f1f1;
  color: #0d1b2a;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  text-transform: uppercase;
  justify-self: end;
}

/* ===== Related News ===== */
.related-news {
  max-width: 1400px;
  margin: 80px auto 60px;
  padding: 0 20px;
}

.related-news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.related-news-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0d1b2a;
  margin: 0;
}

.related-news-viewall {
  font-weight: 600;
  text-decoration: none;
  color: #0d1b2a;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.related-news-viewall:hover {
  color: #0061a8;
  text-decoration: underline;
}

.related-news-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .related-news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Reutilitza el mateix estil de targetes */
.related-news-grid .home-news-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.related-news-grid .home-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* =============================== */
/* CARRUSEL GENERAL                */
/* =============================== */

.carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0 30px;
  scroll-snap-type: x mandatory;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  min-width: 260px;
  max-width: 260px;
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 18px;
  scroll-snap-align: start;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.carousel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.carousel-title {
  font-size: 1rem;
  margin: 10px 0 6px;
  font-weight: 600;
}

.carousel-title a {
  color: #000;
  text-decoration: none;
}

.carousel-title a:hover {
  text-decoration: underline;
}

.carousel-meta {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* PROJECTS */
.carousel-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
}

/* PEOPLE */
.person-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 12px;
}

/* =============================== */
/* BOTONS DEL CARRUSEL             */
/* =============================== */

.carousel-wrapper {
  position: relative;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 46px;
  width: 46px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: 0.2s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: #f2f2f2;
}

.carousel-btn.prev {
  left: -18px;
}
.carousel-btn.next {
  right: -18px;
}

/* Icones */
.carousel-btn svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

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

@media (max-width: 768px) {
  .carousel-card {
    min-width: 80%;
    max-width: 80%;
  }

  .carousel-btn {
    display: none;
  }
}

/* ===========================================================
   CONTACT PAGE
   =========================================================== */

.contact-page__inner {
  max-width: 90%;
  margin: 0 auto;
  padding: 2rem 0;
  box-sizing: border-box;
}

/* HERO */
.contact-hero {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
  margin: 4rem auto 3rem;
  max-width: 90%;
  padding: 0 1rem;
}

.contact-hero__img {
  width: 100%;
  max-width: 380px;
  border-radius: 14px;
  display: block;
}

.contact-hero__title {
  font-weight: 700;
  font-size: 56px;
  line-height: 64px;
  margin-bottom: 1rem;
  color: #383131;
}

.contact-hero__subtitle {
  font-family: Inter;
  font-weight: 400;
  font-style: Regular;
  font-size: 24px;
  letter-spacing: 0px;
}

.contact-hero__text {
  font-weight: 400;
  font-size: 24px;
  line-height: 36px;
  max-width: 760px;
  color: #383131;
}

/* ============================================================
   Contact Form 7 — Estilo general
============================================================ */
.wpcf7-form {
  max-width: 600px;
  margin: 0 auto;
}

/* Inputs y textarea */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-url,
.wpcf7-form-control.wpcf7-number,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 14px 18px;
  /* border: 2px solid #73edff; */
  background: #fff;
  border-radius: 12px;
  font-size: 16px;
  color: #383131;
  box-sizing: border-box;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  margin-bottom: 20px;
}

/* Hover / Focus */
.wpcf7-form-control:focus {
  outline: none;
  border-color: #00c4ff;
  box-shadow: 0 0 6px rgba(115, 237, 255, 0.6);
}

/* Botón enviar */
.wpcf7-submit {
  background: #383131;
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.2s ease;
}

.wpcf7-submit:hover {
  background: #000;
  transform: translateY(-3px);
}

.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 700px) {
  .cols-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .contact-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .contact-hero__img {
    margin: 0 auto 1.5rem;
    max-width: 260px;
  }
}

/* FORMULARI */
.contact-form-section {
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
  text-align: initial;
}

.contact-form__title {
  font-weight: 700;
  font-size: 36px;
  margin-bottom: 2rem;
  color: #383131;
}

.contact-form__wrap {
  background: #f9f3e7;
  border-radius: 24px;
  border: 1px solid #73edff;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Estils bàsics CF7 */
.contact-form-section input,
.contact-form-section textarea,
.contact-form-section select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #575252;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 16px;
}

/* ======================= */
/* ARREGLAR CHECKBOX CF7   */
/* ======================= */
.wpcf7-form-control-wrap input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  width: 18px !important;
  height: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  display: inline-block !important;
}

/* Contenedor de checkbox + texto */
.cf7-privacy {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  margin: 20px 0;
}

/* Estilo del texto */
.cf7-privacy span,
.cf7-privacy a {
  font-size: 16px;
  color: #383131;
}

.contact-form-section input[type="submit"] {
  width: auto;
  padding: 12px 32px;
  background: #73edff;
  color: #111;
  border: none;
  border-radius: 150px;
  cursor: pointer;
  transition: background 0.25s ease;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
}

.contact-form-section input[type="submit"]:hover {
  background: #6e6e6e;
  color: white;
}

/* ============================================================
   CONTACT FORM — Alinear checkbox + texto
============================================================ */

.cf7-privacy {
  display: flex;
  align-items: center;
  gap: 10px; /* espacio entre el checkbox y el texto */
  justify-content: flex-start; /* evitar centrado */
  margin: 20px 0;
}

/* =============================== */
/* FORZAR CHECKBOX CF7 A MOSTRARSE */
/* =============================== */

.wpcf7-form-control-wrap input[type="checkbox"],
.wpcf7-list-item input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  width: 18px !important;
  height: 18px !important;
  padding: 0 !important;
  margin-right: 10px !important;
  border: 1px solid #575252 !important;
  display: inline-block !important;
  position: relative !important;
  opacity: 1 !important;
  background: transparent !important;
}

/* Texto */
.cf7-privacy span,
.cf7-privacy a {
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0px;
}

.cf7-privacy {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  margin: -20px 0;
}

/* Enlaces estilo TURBA */
.cf7-privacy a {
  color: #000;
  text-decoration: underline;
}

.cf7-privacy a:hover {
  color: #000;
}

/* =============================== */
/* BOTÓN ENVIAR CON FLECHA TURBA   */
/* =============================== */

.btn-send {
  position: relative;
  padding: 14px 48px 14px 24px !important;
  background: #383131 !important;
  color: white !important;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  border: none !important;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Flecha */
.btn-send::after {
  content: "→";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  transition: transform 0.25s ease;
}

/* Hover */
.btn-send:hover {
  background: #000 !important;
  transform: translateY(-2px);
}

.btn-send:hover::after {
  transform: translate(6px, -50%);
}

/* select desktop*/
.contact-form-section select {
  width: 100%;
  padding: 14px 18px;
  /* border: 2px solid #73edff; */
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 16px;
  background-color: white;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* select mobile & tablet*/
@media (min-width: 320px) and (min-width: 1200px) {
  .contact-form-section select {
    width: 100%;
    padding: 14px 18px;
    /*   border: 2px solid #73edff; */
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 16px;
    background-color: white;
    transition:
      border-color 0.25s ease,
      box-shadow 0.25s ease;
  }
}

/* ===========================================================
   SINGLE NEWS — LAYOUT
=========================================================== */

/* 2 Columnes */
.news-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.news-tag {
  display: inline-block;
  background: #f9f3e7;
  border: 1px solid #73edff;
  border-radius: 20px;
  padding: 0.4rem 0.8rem;
  font-weight: 600;
  margin-right: 0.5rem;
  text-decoration: none !important;
  color: #383131 !important;
}

.news-tag--main {
  background: #73edff;
  color: #fff !important;
}

.news-title {
  font-size: 48px;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 1.2rem;
}

.news-intro {
  font-size: 20px;
  line-height: 1.5;
  color: #383131;
}

/* Imatge */
.news-hero__image img {
  width: 100%;
  border-radius: 16px;
}

/* Cos */
.news-body__content {
  font-size: 18px;
  line-height: 1.7;
  color: #222;
  margin-bottom: 4rem;
}

/* Autor */
.news-author__card {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 1rem;
  background: #f9f3e7;
  border-radius: 16px;
  border: 1px solid #73edff;
  max-width: 600px;
  margin-bottom: 4rem;
}

.news-author__img {
  border-radius: 50%;
}

.news-author__name {
  font-size: 22px;
  font-weight: 600;
}

.news-author__role {
  color: #575252;
}

/* Related */
.news-related__title {
  font-size: 40px;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .news-hero {
    grid-template-columns: 1fr;
  }
}
