
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;400;600&display=swap');

/* =========================================================
ESCRIPTORA.CSS
Sandra Barrachina | Escriptora
========================================================= */

/* =========================================================
CONFIGURACIÓ GENERAL
========================================================= */

.writer-page {
  width: 100%;
  overflow: hidden;
  background: #f4f1eb;
  color: #202020;
  }
  
  .writer-page * {
  box-sizing: border-box;
  }
  
  .writer-page h1,
  .writer-page h2,
  .writer-page h3,
  .writer-page p {
  margin-top: 0;
  }
  
  .writer-page a {
  text-decoration: none;
  }
  
  /* =========================================================
  HERO
  ========================================================= */
  
  .writer-hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  }
  
  .writer-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/img/2026/fondo libreria .jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.75;
  }
  
  .writer-hero-content {
  width: min(1200px, 90%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 100px 0;
  }
  
  .writer-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
  radial-gradient(
  circle at 78% 30%,
  rgba(255,255,255,0.08),
  transparent 28%
  );
  pointer-events: none;
  }
  
  .writer-eyebrow {
  display: block;
  font-size: 20px;
  letter-spacing: 4px;
  font-weight: 600;
  margin-bottom: 28px;
  color: #d6c5a4;
  }
  
  .writer-hero h1 {
  font-size: clamp(64px, 9vw, 125px);
  line-height: 0.88;
  font-weight: 300;
  letter-spacing: -4px;
  margin-bottom: 40px;
  }
  
  .writer-hero-quote {
  max-width: 720px;
  font-family: Georgia, serif;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
  font-style: italic;
  color: #e8dfd0;
  margin-bottom: 25px;
  }
  
  .writer-hero-text {
  max-width: 650px;
  font-size: 23px;
  line-height: 1.75;
  color: #d7d7d7;
  margin-bottom: 40px;
  }
  
  /* =========================================================
  BOTONS
  ========================================================= */
  
  .writer-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  }
  
  .writer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 27px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  }
  
  .writer-button-dark {
  background: #202020;
  color: #ffffff;
  border: 1px solid #202020;
  }
  
  .writer-button-dark:hover {
  background: #d6c5a4;
  border-color: #d6c5a4;
  color: #202020;
  }
  
  .writer-button-light {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.55);
  }
  
  .writer-button-light:hover {
  background: #ffffff;
  color: #202020;
  }
  
  /* =========================================================
  ETIQUETES DE SECCIÓ
  ========================================================= */
  
  .writer-section-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #947e5b;
  margin-bottom: 18px;
  }
  
  /* =========================================================
  XIU-XIU
  ========================================================= */
  
  .writer-xiu-xiu {
  position: relative;
  overflow: hidden;
  padding: 110px 7%;
  background: #e8e2d7;
  }
  
  .writer-xiu-xiu::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/img/2026/fondo\ xiu\ xiu\ .avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 100;
  pointer-events: none;
  }
  
  .writer-xiu-xiu > * {
  position: relative;
  z-index: 1;
  }
  
  .xiu-xiu-heading {
  max-width: 900px;
  margin: 0 auto 55px;
  text-align: center;
  }
  
  .xiu-xiu-heading h2 {
  font-family: Georgia, serif;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.95;
  font-weight: 400;
  margin-bottom: 28px;
  }
  
  .xiu-xiu-heading p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.75;
  color: #55504a;
  }
  
  .xiu-xiu-platforms {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  }
  
  .xiu-xiu-platform {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  padding: 38px;
  background: rgba(247,244,238,0.88);
  border: 1px solid rgba(0,0,0,0.08);
  color: #202020;
  transition:
  transform 0.3s ease,
  box-shadow 0.3s ease,
  background 0.3s ease;
  }
  
  .xiu-xiu-platform:hover {
  transform: translateY(-7px);
  box-shadow:
  0 18px 45px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.94);
  color: #202020;
  }
  
  .xiu-xiu-icon {
  min-width: 58px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #202020;
  color: #ffffff;
  font-size: 25px;
  }
  
  .xiu-xiu-platform span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #947e5b;
  margin-bottom: 8px;
  }
  
  .xiu-xiu-platform h3 {
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 10px;
  }
  
  .xiu-xiu-platform p {
  font-size: 18px;
  line-height: 1.6;
  color: #625d56;
  margin-bottom: 18px;
  }
  
  .xiu-xiu-platform strong {
  font-size: 13px;
  letter-spacing: 1px;
  }
  
  /* =========================================================
  LLIBRES
  ========================================================= */
  
  .writer-books {
    position: relative;
    overflow: hidden;
    padding: 120px 7% 130px;
  
    background:
      linear-gradient(
        rgba(244, 241, 235, 0.91),
        rgba(244, 241, 235, 0.91)
      ),
      url("/img/2026/fondo libreria .jpeg");
  
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  .writer-books > * {
    position: relative;
    z-index: 1;
  }
  
  .writer-section-heading {

    max-width: 850px;
  
    margin: 0 auto 65px;
  
    text-align: center;
    
  
  }
  
  
  .writer-section-label {

    display: block !important;
  
    font-size: 60px !important;
  
    font-weight: 600 !important;
  
    letter-spacing: 0.18em !important;
  
    margin-bottom: 18px !important;
    color: #000;
  
  }
  
  .writer-section-heading h2 {
  
    font-family: Georgia, serif;
  
    font-size: clamp(54px, 6.5vw, 84px);
  
    font-weight: 400;
  
    margin-bottom: 25px;
    color: #000;
  
  }
  
  
  .writer-section-heading p {
  
    font-size: 23px;
  
    line-height: 1.8;
  
    color: #0c0c0c;
  
  
    padding-bottom: 15px;
  
  }
  
  .writer-books-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  }
  
  .writer-book-card {
  background: rgba(255,255,255,0.91);
  border: 1px solid rgba(0,0,0,0.08);
  transition:
  transform 0.3s ease,
  box-shadow 0.3s ease;
  }
  
  .writer-book-card:hover {
  transform: translateY(-8px);
  box-shadow:
  0 20px 45px rgba(0,0,0,0.12);
  }
  
  .writer-book-cover {
  height: 470px;
  position: relative;
  background: #ded9cf;
  overflow: hidden;
  }
  
  .writer-book-cover img {
  width: 100vh;
 
  object-fit: cover;
  display: block;
  }
  
  .writer-book-number {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  background: rgba(0,0,0,0.65);
  padding: 8px 11px;
  }
  
  .writer-book-info {
  padding: 30px;
  }
  
  .writer-book-info > span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #947e5b;
  margin-bottom: 13px;
  }
  
  .writer-book-info h3 {
  font-family: Georgia, serif;
  font-size: 27px;
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 17px;
  }
  
  .writer-book-info p {
  font-size: 16px;
  line-height: 1.65;
  color: #625d56;
  margin-bottom: 22px;
  }
  
  .writer-book-info a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #202020;
  }
  
  .writer-book-info a:hover {
  color: #947e5b;
  }
  
  /* =========================================================
  TERCER LLIBRE - PROPERAMENT
  ========================================================= */
  .writer-book-third {

    position: relative;
  
    display: flex;
  
    flex-direction: column;
  
    justify-content: center;
  
    align-items: center;
  
    text-align: center;
  
    overflow: hidden;
  
    color: #ffffff;
  
  }
  
  
  /* FONS DE LA PORTADA */
  
  .writer-book-third::before {
  
    content: "";
  
    position: absolute;
  
    inset: 0;
  
    background-image: url("/img/2026/fondo\ para\ llibre\ 3.png");
  
    background-size: cover;
  
    background-position: center;
  
    background-repeat: no-repeat;
  
    opacity: 0.30;
  
    z-index: 0;
  
  }
  
  
  /* TEXT PER SOBRE DE LA IMATGE */
  
  .writer-book-placeholder {
  
    position: relative;
  
    z-index: 1;
  
    opacity: 1;
  
  }
  .writer-book-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  }
  
  .writer-book-placeholder span {
  font-size: 25px;
  letter-spacing: 3px;
  color:black;
  margin-bottom: 20px;
  text-transform: uppercase;
  }
  
  .writer-book-placeholder strong {
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.1;
  color: #0e0e0d;

  }
  
  .writer-book-placeholder small {
  margin-top: 10px;
  font-family: Georgia, serif;
  font-size: 28px;
  font-style: italic;
  color: #0e0e0d;
  }
  
  .writer-book-coming {
  position: absolute;
  bottom: 25px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #131212;
  }
  
  .writer-books-button {
  text-align: center;
  margin-top: 55px;
  }
  
  /* =========================================================
  NOU PROJECTE
  ========================================================= */
  
  .writer-new-book {
  padding: 110px 7%;
  background: #202020;
  color: #ffffff;
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.4fr;
  gap: 55px;
  align-items: center;
  }
  
  .writer-new-book-image {
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:url()
  radial-gradient(
  circle at center,
  rgba(214,197,164,0.18),
  transparent 55%
  );
  }
  
  .writer-new-book-decoration {
  font-size: 110px;
  color: #d6c5a4;
  opacity: 0.8;
  }
  
  .writer-new-book-content {
  max-width: 500px;
  }
  
  .writer-new-book-content .writer-section-label {
  color: #d6c5a4;
  }
  
  .writer-new-book-content h2 {
  font-family: Georgia, serif;
  font-size: clamp(50px, 6vw, 82px);
  line-height: 0.95;
  font-weight: 400;
  margin-bottom: 30px;
  }
  
  .writer-new-book-date {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #d6c5a4;
  margin-bottom: 25px;
  }
  
  .writer-new-book-content > p:not(.writer-new-book-date) {
  font-size: 18px;
  line-height: 1.7;
  color: #d2d2d2;
  }
  
  /* =========================================================
  TRÀILER
  ========================================================= */
  
  .writer-trailer {
  width: 100%;
  }
  
  .writer-trailer .writer-section-label {
  color: #d6c5a4;
  }
  
  .writer-trailer h3 {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 25px;
  }
  
  .writer-trailer-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  box-shadow:
  0 20px 50px rgba(0,0,0,0.35);
  }
  
  .writer-trailer-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  }
  
  /* =========================================================
  BLOG
  ========================================================= */
  
  .writer-blog {
  position: relative;
  overflow: hidden;
  padding: 125px 7%;
  color: #ffffff;
  
  background:
  linear-gradient(
  135deg,
  rgba(20,20,20,0.96),
  rgba(55,48,42,0.88),
  rgba(24,24,24,0.97)
  ),
  url("/MisImg/background1-movil.png");
  
  background-size: cover;
  background-position: center;
  }
  
  .writer-blog::before {
  content: "";
  position: absolute;
  inset: 0;
  
  background:
  radial-gradient(
  circle at 20% 20%,
  rgba(214,197,164,0.15),
  transparent 30%
  ),
  radial-gradient(
  circle at 80% 75%,
  rgba(214,197,164,0.10),
  transparent 32%
  );
  
  pointer-events: none;
  }
  
  .writer-blog > * {
  position: relative;
  z-index: 1;
  }
  
  .writer-blog-heading {
  max-width: 1200px;
  margin: 0 auto 25px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  }
  
  .writer-blog-heading h2 {
  font-family: Georgia, serif;
  font-size: clamp(52px, 6vw, 78px);
  font-weight: 400;
  line-height: 0.95;
  color: #ffffff;
  margin-bottom: 0;
  }
  
  .writer-blog-heading .writer-section-label {
  color: #d6c5a4;
  }
  
  .writer-text-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #e0d5c3;
  white-space: nowrap;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(214,197,164,0.45);
  transition:
  color 0.3s ease,
  border-color 0.3s ease;
  }
  
  .writer-text-link:hover {
  color: #ffffff;
  border-color: #ffffff;
  }
  
  .writer-blog-intro {
  max-width: 820px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 19px;
  line-height: 1.75;
  color: #d4d0ca;
  }
  
  .writer-blog-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  }
  
  .writer-blog-card {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: rgba(20,20,20,0.45);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
  0 15px 40px rgba(0,0,0,0.28);
  }
  
  .writer-blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.88);
  transition:
  transform 0.6s ease,
  filter 0.6s ease;
  }
  
  .writer-blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
  linear-gradient(
  180deg,
  transparent 45%,
  rgba(0,0,0,0.35) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  }
  
  .writer-blog-card:hover img {
  transform: scale(1.07);
  filter: brightness(1);
  }
  
  .writer-blog-card:hover {
  box-shadow:
  0 22px 55px rgba(0,0,0,0.40);
  }
  
  .writer-blog-card:hover::after {
  opacity: 1;
  }
  
  /* =========================================================
  CONTACTE
  ========================================================= */
  
  .writer-contact {
  position: relative;
  overflow: hidden;
  padding: 120px 7%;
  text-align: center;
  background: #f4f1eb;
  }
  
  .writer-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/img/2026/fondo libreria .jpeg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
  }
  
  .writer-contact > * {
  position: relative;
  z-index: 1;
  }
  
  .writer-contact h2 {
  font-family: Georgia, serif;
  font-size: clamp(50px, 7vw, 90px);
  line-height: 0.95;
  font-weight: 400;
  margin-bottom: 40px;
  color: #ffffff;
  }
  
  #contacteblanc{
    color: #ffffff;
  }
  
  /* =========================================================
  FOOTER
  ========================================================= */
  
  .writer-footer {
  padding: 65px 30px 40px;
  background: #181818;
  text-align: center;
  color: #ffffff;
  }
  
  .writer-footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 35px;
  }
  
  .writer-footer-social a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: #ffffff;
  font-size: 19px;
  transition:
  background 0.3s ease,
  color 0.3s ease,
  transform 0.3s ease;
  }
  
  .writer-footer-social a:hover {
  background: #d6c5a4;
  color: #202020;
  transform: translateY(-4px);
  }
  
  .writer-footer p {
  margin: 0;
  font-size: 13px;
  color: #aaa;
  line-height: 1.6;
  }
  
  /* =========================================================
  TABLET
  ========================================================= */
  
  @media (max-width: 1000px) {
  
  .writer-books-grid {
  grid-template-columns: repeat(2, 1fr);
  }
  
  .writer-book-card:last-child {
  grid-column: 1 / -1;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  }
  
  .writer-new-book {
  grid-template-columns: 1fr 1.5fr;
  }
  
  .writer-new-book-image {
  display: none;
  }
  }
  
  /* =========================================================
  MÒBIL
  ========================================================= */
  
  @media (max-width: 700px) {
  
  .writer-hero {
  min-height: auto;
  }
  
  .writer-hero-content {
  width: 88%;
  padding: 75px 0 80px;
  }
  
  .writer-eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 1.5;
  margin-bottom: 22px;
  }
  
  .writer-hero h1 {
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 30px;
  }
  
  .writer-hero-quote {
  font-size: 25px;
  line-height: 1.3;
  margin-bottom: 22px;
  }
  
  .writer-hero-text {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 30px;
  }
  
  .writer-hero-buttons {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  }
  
  .writer-button {
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  font-size: 16px;
  text-align: center;
  }
  
  /* XIU-XIU */
  
  .writer-xiu-xiu {
  padding: 80px 6%;
  }
  
  .xiu-xiu-heading {
  margin-bottom: 40px;
  }
  
  .xiu-xiu-heading h2 {
  font-size: 48px;
  line-height: 0.95;
  }
  
  .xiu-xiu-heading p {
  font-size: 17px;
  line-height: 1.65;
  }
  
  .xiu-xiu-platforms {
  grid-template-columns: 1fr;
  gap: 16px;
  }
  
  .xiu-xiu-platform {
  padding: 25px;
  gap: 16px;
  }
  
  .xiu-xiu-icon {
  min-width: 50px;
  width: 50px;
  height: 50px;
  font-size: 21px;
  }
  
  .xiu-xiu-platform h3 {
  font-size: 28px;
  }
  
  .xiu-xiu-platform p {
  font-size: 15px;
  }
  
  /* LLIBRES */
  
  .writer-books {
  padding: 80px 6%;
  }
  
  .writer-section-heading {
  margin-bottom: 45px;
  }
  
  .writer-section-heading h2 {
  font-size: 48px;
  line-height: 1;
  }
  
  .writer-section-heading p {
  font-size: 17px;
  line-height: 1.65;
  }
  
  .writer-books-grid {
  grid-template-columns: 1fr;
  gap: 25px;
  }
  
  .writer-book-card:last-child {
  grid-column: auto;
  max-width: none;
  }
  
  .writer-book-cover {
  height: 430px;
  }
  
  .writer-book-info {
  padding: 25px;
  }
  
  .writer-book-info h3 {
  font-size: 25px;
  }
  
  /* NOU PROJECTE */
  
  .writer-new-book {
  padding: 80px 6%;
  display: block;
  }
  
  .writer-new-book-image {
  display: none;
  }
  
  .writer-new-book-content {
  max-width: none;
  margin-bottom: 50px;
  }
  
  .writer-new-book-content h2 {
  font-size: 58px;
  line-height: 0.95;
  }
  
  .writer-new-book-content > p:not(.writer-new-book-date) {
  font-size: 17px;
  line-height: 1.65;
  }
  
  .writer-trailer h3 {
  font-size: 28px;
  }
  
  /* BLOG */
  
  .writer-blog {
  padding: 85px 6%;
  }
  
  .writer-blog-heading {
  display: block;
  text-align: center;
  }
  
  .writer-blog-heading h2 {
  font-size: 50px;
  line-height: 1;
  margin-bottom: 25px;
  }
  
  .writer-blog-heading .writer-section-label {
  margin-bottom: 15px;
  }
  
  .writer-text-link {
  margin-top: 25px;
  }
  
  .writer-blog-intro {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 40px;
  }
  
  .writer-blog-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  }
  
  /* CONTACTE */
  
  .writer-contact {
  padding: 80px 6%;
  }
  
  .writer-contact h2 {
  font-size: 56px;
  }
  
  .writer-contact p {
  font-size: 17px;
  line-height: 1.65;
  }
  
  /* FOOTER */
  
  .writer-footer {
  padding: 55px 20px 35px;
  }
  
  .writer-footer-social {
  gap: 12px;
  }
  
  .writer-footer-social a {
  width: 43px;
  height: 43px;
  font-size: 17px;
  }
  }
  
  /* =========================================================
  MÒBIL PETIT
  ========================================================= */
  
  @media (max-width: 430px) {
  
  .writer-hero-content {
  width: 90%;
  padding: 65px 0 70px;
  }
  
  .writer-hero h1 {
  font-size: 55px;
  }
  
  .writer-hero-quote {
  font-size: 22px;
  }
  
  .writer-hero-text {
  font-size: 16px;
  }
  
  .writer-section-heading h2,
  .xiu-xiu-heading h2 {
  font-size: 45px;
  }
  
  .xiu-xiu-platform {
  padding: 22px;
  }
  
  .xiu-xiu-icon {
  min-width: 46px;
  width: 46px;
  height: 46px;
  font-size: 19px;
  }
  
  .xiu-xiu-platform h3 {
  font-size: 25px;
  }
  
  .writer-book-cover {
  height: 400px;
  }
  
  .writer-book-info {
  padding: 22px;
  }
  
  .writer-new-book-content h2 {
  font-size: 50px;
  }
  
  .writer-contact h2 {
  font-size: 47px;
  }
  
  .writer-blog-heading h2 {
  font-size: 45px;
  }
  
  .writer-blog-intro {
  font-size: 16px;
  }
  
  .writer-blog-grid {
  grid-template-columns: 1fr;
  gap: 16px;
  }
  }
  
  /*  */
/* =========================================================
   ALTRES OBRES — CARRUSEL
========================================================= */

.writer-other-books {
  position: relative;
  overflow: hidden;

  padding: 130px 7% 160px;

  background:
    linear-gradient(
      rgba(244, 241, 235, 0.91),
      rgba(244, 241, 235, 0.91)
    ),
    url("/img/2026/fondo libreria .jpeg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* =========================================================
   CAPÇALERA
========================================================= */

.writer-section-heading {

  max-width: 800px;

  margin: 0 auto;

  text-align: center;

}


.writer-section-label {

  display: block;

  margin-bottom: 12px;

  font-size: .72rem;

  font-weight: 600;

  letter-spacing: .16em;

}


.writer-section-heading h2 {

  margin: 0 0 15px;

  font-size: 2rem;

  font-weight: 400;

}


.writer-section-heading p {

  margin: 0;

  color: black;

  line-height: 1.7;

}


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

.writer-trailer-carousel {

  max-width: 1400px;

  width: 100%;

  margin: 55px auto 0;

  display: flex;

  align-items: center;

  gap: 25px;

}


.writer-trailer-track {

  width: 100%;

  min-width: 0;

  overflow: hidden;

}


/* =========================================================
   DIAPOSITIVES
========================================================= */

.writer-trailer-slide {

  display: none;

  grid-template-columns:
    270px
    minmax(250px, 1fr)
    560px;

  gap: 45px;

  align-items: center;

  background: #ffffff;

  padding: 55px 40px;

  min-height: 560px;

  width: 100%;

  box-sizing: border-box;

  box-shadow:
    0 15px 40px rgba(58, 43, 28, .10);

}


.writer-trailer-slide.active {

  display: grid;

}


/* =========================================================
   PORTADA
========================================================= */

.writer-trailer-cover {

  display: flex;

  justify-content: center;

  perspective: 1000px;

}


.writer-trailer-cover a {

  display: block;

  position: relative;

  text-decoration: none;

}


/* =========================================================
   PORTADA REAL
========================================================= */

.writer-trailer-cover img {

  width: 270px;

  height: auto;

  display: block;

  box-shadow:
    0 14px 30px rgba(0, 0, 0, .18);

  transition:
    transform .5s ease,
    box-shadow .5s ease;

}


/* =========================================================
   PORTADA DE PROVA
========================================================= */

.writer-placeholder-image {

  width: 270px;

  aspect-ratio: 2 / 3;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 25px;

  box-sizing: border-box;

  background: #d8d8d8;

  color: #777;

  font-size: .75rem;

  letter-spacing: .12em;

  box-shadow:
    0 14px 30px rgba(0, 0, 0, .18);

  transition:
    transform .5s ease,
    box-shadow .5s ease;

}


/* =========================================================
   EFECTE ZOOM
========================================================= */

.writer-trailer-cover a:hover {

  z-index: 2;

}


.writer-trailer-cover a:hover img {

  transform: scale(1.06);

  box-shadow:
    0 22px 45px rgba(0, 0, 0, .24);

}


.writer-trailer-cover a:hover
.writer-placeholder-image {

  transform: scale(1.06);

  box-shadow:
    0 22px 45px rgba(0, 0, 0, .24);

}


/* =========================================================
   INDICADOR AMAZON
========================================================= */

.writer-trailer-cover a::after {

  content: "VEURE A AMAZON →";

  position: absolute;

  left: 50%;

  bottom: 14px;

  transform:
    translate(-50%, 10px);

  opacity: 0;

  background: rgba(0, 0, 0, .78);

  color: #ffffff;

  padding: 8px 13px;

  font-size: .65rem;

  letter-spacing: .1em;

  white-space: nowrap;

  transition:
    opacity .35s ease,
    transform .35s ease;

}


.writer-trailer-cover a:hover::after {

  opacity: 1;

  transform:
    translate(-50%, 0);

}


/* =========================================================
   INFORMACIÓ
========================================================= */

.writer-trailer-content {

  min-width: 0;

}


.writer-trailer-number {

  color: var(--teal-dark);

  font-size: .72rem;

  font-weight: 600;

  letter-spacing: .16em;

}


.writer-trailer-content h3 {

  margin: 12px 0 15px;

  font-size: 1.8rem;

  font-weight: 400;

  line-height: 1.2;

}


.writer-trailer-content p {

  color: var(--muted);

  font-size: 1rem;

  line-height: 1.7;

  margin-bottom: 25px;

}


/* =========================================================
   BOTÓ AMAZON
========================================================= */

.writer-trailer-content .writer-button {

  display: inline-block;

  text-decoration: none;

}


/* =========================================================
   TRÀILER
========================================================= */

.writer-trailer-video {

  width: 560px;

  max-width: 100%;

  overflow: hidden;

}


.writer-trailer-video iframe {

  width: 560px;

  height: 315px;

  max-width: 100%;

  display: block;

  border: 0;

}


/* =========================================================
   PLACEHOLDER DELS ALTRES TRÀILERS
========================================================= */

.writer-video-placeholder {

  width: 100%;

  height: 315px;

  background: #bdbdbd;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  color: #ffffff;

  box-sizing: border-box;

  overflow: hidden;

}


/* =========================================================
   BOTÓ PLAY DEL PLACEHOLDER
========================================================= */

.writer-video-play {

  width: 82px;

  height: 82px;

  border: 2px solid rgba(255,255,255,.8);

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 1.7rem;

  padding-left: 5px;

}


.writer-video-placeholder small {

  margin-top: 15px;

  font-size: .68rem;

  letter-spacing: .16em;

}


/* =========================================================
   FLETXES
========================================================= */

.writer-trailer-arrow {

  width: 48px;

  height: 48px;

  flex-shrink: 0;

  border: 1px solid var(--line);

  background: #ffffff;

  color: var(--teal-dark);

  font-size: 1.4rem;

  cursor: pointer;

  transition:
    background .25s ease,
    color .25s ease,
    transform .25s ease;

}


.writer-trailer-arrow:hover {

  background: var(--teal);

  color: #ffffff;

  transform: translateY(-2px);

}


/* =========================================================
   PUNTS INDICADORS
========================================================= */

.writer-trailer-dots {

  display: flex;

  justify-content: center;

  gap: 9px;

  margin-top: 30px;

}


.writer-trailer-dots button {

  width: 9px;

  height: 9px;

  padding: 0;

  border: 0;

  border-radius: 50%;

  background: #c8c3bc;

  cursor: pointer;

}


.writer-trailer-dots button.active {

  background: var(--teal);

}


/* =========================================================
   ADAPTACIÓ — PANTALLES MITJANES
========================================================= */

@media (max-width: 1250px) {

  .writer-trailer-slide {

    grid-template-columns:
      250px
      minmax(180px, 1fr)
      minmax(400px, 1fr);

    gap: 35px;

  }


  .writer-trailer-video {

    width: 100%;

  }


  .writer-trailer-video iframe {

    width: 100%;

    height: auto;

    aspect-ratio: 560 / 315;

  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .writer-other-books {

    padding: 110px 20px;

  }


  .writer-trailer-carousel {

    gap: 10px;

  }


  .writer-trailer-slide {

    grid-template-columns: 1fr;

    gap: 35px;

    padding: 45px 30px;

    min-height: auto;

  }


  .writer-trailer-cover {

    justify-content: center;

  }


  .writer-trailer-cover img,
  .writer-placeholder-image {

    width: min(270px, 75vw);

  }


  .writer-trailer-content {

    text-align: center;

  }


  .writer-trailer-video {

    width: 100%;

  }


  .writer-trailer-video iframe {

    width: 100%;

    height: auto;

    aspect-ratio: 560 / 315;

  }


  .writer-video-placeholder {

    height: auto;

    aspect-ratio: 560 / 315;

  }

}


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

@media (max-width: 600px) {

  .writer-other-books {

    padding: 80px 15px;

  }


  .writer-section-heading h2 {

    font-size: 1.7rem;

  }


  .writer-trailer-slide {

    padding: 30px 20px;

  }


  .writer-trailer-arrow {

    width: 40px;

    height: 40px;

    font-size: 1.1rem;

  }


  .writer-video-play {

    width: 65px;

    height: 65px;

    font-size: 1.4rem;

  }

}