/* =========================================================
   HOME-DAL · Banda de contacto y redes
   ========================================================= */

.publisher-home-dal__ticker {
  --dal-ticker-yellow: #ffda36;
  --dal-ticker-speed: 38s;

  position: relative;
  display: flex;
  align-items: stretch;
  width: 100vw;
  max-width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 0;
  overflow: hidden;
  background: var(--dal-ticker-yellow);
  color: #171717;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.3;
}

.publisher-home-dal__ticker,
.publisher-home-dal__ticker *,
.publisher-home-dal__ticker *::before,
.publisher-home-dal__ticker *::after {
  box-sizing: border-box;
}

.publisher-home-dal__ticker-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.publisher-home-dal__ticker-track {
  display: flex;
  width: max-content;
  min-width: 200%;
  animation: dalHomeTickerScroll var(--dal-ticker-speed) linear infinite;
}

.publisher-home-dal__ticker-group {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: space-around;
  gap: 26px;
  min-height: 50px;
  padding: 0 26px;
  white-space: nowrap;
}

@keyframes dalHomeTickerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.publisher-home-dal__ticker .publisher-home-dal__ticker-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 40px;
  min-height: 44px;
  padding: 8px 2px;
  border: 0;
  background: transparent;
  color: #171717;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.publisher-home-dal__ticker .publisher-home-dal__ticker-link:visited,
.publisher-home-dal__ticker .publisher-home-dal__ticker-link:hover {
  color: #171717;
  text-decoration: none;
}

.publisher-home-dal__ticker-link:hover > span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.publisher-home-dal__ticker .publisher-home-dal__ticker-icon {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.publisher-home-dal__ticker-user {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.publisher-home-dal__ticker .publisher-home-dal__ticker-pause {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-height: 50px;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 0;
  background: var(--dal-ticker-yellow);
  color: #171717;
  box-shadow: none;
  cursor: pointer;
}

.publisher-home-dal__ticker .publisher-home-dal__ticker-pause[hidden] {
  display: none;
}

.publisher-home-dal__ticker-pause svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.publisher-home-dal__ticker.is-paused .publisher-home-dal__ticker-track {
  animation-play-state: paused;
}

@media (hover: hover) {
  .publisher-home-dal__ticker:hover .publisher-home-dal__ticker-track {
    animation-play-state: paused;
  }

  .publisher-home-dal__ticker .publisher-home-dal__ticker-pause:hover {
    background: #f2cc28;
  }
}

.publisher-home-dal__ticker-link:focus-visible,
.publisher-home-dal__ticker-pause:focus-visible {
  outline: 2px solid #171717;
  outline-offset: -3px;
  border-radius: 2px;
}

.publisher-home-dal__ticker-viewport:focus-within
.publisher-home-dal__ticker-track {
  animation-play-state: paused;
}

.publisher-home-dal__ticker-viewport:has(
  .publisher-home-dal__ticker-link:focus-visible
) {
  overflow-x: auto;
}

.publisher-home-dal__ticker-viewport:has(
  .publisher-home-dal__ticker-link:focus-visible
) .publisher-home-dal__ticker-track {
  min-width: 100%;
  animation: none;
  transform: none;
}

.publisher-home-dal__ticker-viewport:has(
  .publisher-home-dal__ticker-link:focus-visible
) [data-dal-ticker-copy] {
  display: none;
}

@media (max-width: 680px) {
  .publisher-home-dal__ticker {
    font-size: 12px;
  }

  .publisher-home-dal__ticker-group {
    gap: 18px;
    min-height: 46px;
    padding: 0 18px;
  }

  .publisher-home-dal__ticker-user {
    font-size: 11px;
  }

  .publisher-home-dal__ticker .publisher-home-dal__ticker-pause {
    min-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .publisher-home-dal__ticker-viewport {
    overflow-x: auto;
  }

  .publisher-home-dal__ticker-track {
    min-width: 100%;
    animation: none;
    transform: none;
  }

  .publisher-home-dal__ticker [data-dal-ticker-copy],
  .publisher-home-dal__ticker .publisher-home-dal__ticker-pause {
    display: none;
  }
}

/* =========================================================
   HOME-DAL · Base y Weddings
   ========================================================= */

.publisher-home-dal {
  --dal-home-ink: #161616;
  --dal-home-paper: #f1f4f0;
  --dal-home-line: #d8ddd8;
  --dal-home-shadow: #dce3de;

  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: var(--dal-home-paper);
  color: var(--dal-home-ink);
}

.publisher-home-dal *,
.publisher-home-dal *::before,
.publisher-home-dal *::after {
  box-sizing: border-box;
}

.publisher-home-dal a,
.publisher-home-dal a:visited,
.publisher-home-dal a:hover {
  text-decoration: none !important;
}

.publisher-home-dal__container {
  width: min(1800px, calc(100% - 96px));
  margin: 0 auto;
}

.publisher-home-dal__weddings {
  padding: clamp(28px, 3vw, 52px) 0 clamp(48px, 5vw, 76px);
  background: var(--dal-home-paper);
}

.publisher-home-dal__weddings-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(340px, 0.82fr);
  align-items: center;
  min-height: 580px;
}

.publisher-home-dal__weddings-media {
  grid-column: 1 / 2;
  min-height: 580px;
  overflow: hidden;
  background: #dfe3dc;
}

.publisher-home-dal__weddings-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
}

.publisher-home-dal__weddings-panel {
  position: relative;
  z-index: 1;
  grid-column: 2 / 3;
  width: calc(100% + 92px);
  margin-left: -92px;
  padding: clamp(40px, 4.4vw, 72px);
  background: #ffffff;
  box-shadow: 18px 18px 0 var(--dal-home-shadow);
}

.publisher-home-dal__eyebrow {
  display: block;
  margin: 0 0 20px;
  color: var(--dal-home-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.publisher-home-dal__eyebrow::before {
  display: inline-block;
  width: 34px;
  height: 3px;
  margin: 0 14px 3px 0;
  background: #2dbeb3;
  content: "";
}

.publisher-home-dal__weddings-title {
  max-width: 620px;
  margin: 0;
  color: var(--dal-home-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.2vw, 68px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.publisher-home-dal__weddings-text {
  max-width: 500px;
  margin: 30px 0 0;
  color: #4d4d4d;
  font-size: 16px;
  line-height: 1.65;
}

.publisher-home-dal__weddings-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.publisher-home-dal__weddings-notes li {
  position: relative;
  padding-left: 13px;
  color: var(--dal-home-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.publisher-home-dal__weddings-notes li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2dbeb3;
  content: "";
}

.publisher-home-dal .publisher-home-dal__text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--dal-home-ink);
  color: var(--dal-home-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.publisher-home-dal .publisher-home-dal__text-link:hover {
  border-bottom-width: 2px;
  color: var(--dal-home-ink);
  text-decoration: none;
}

.publisher-home-dal__wedding-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 42px;
}

.publisher-home-dal .publisher-home-dal__wedding-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  height: 280px;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--dal-home-line);
  background: #ffffff;
  color: var(--dal-home-ink);
  text-decoration: none;
}

.publisher-home-dal .publisher-home-dal__wedding-card:hover {
  color: var(--dal-home-ink);
  text-decoration: none;
}

.publisher-home-dal__wedding-card > img {
  width: 100%;
  min-height: 0;
  height: 280px;
  object-fit: cover;
}

.publisher-home-dal__wedding-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
}

.publisher-home-dal__wedding-card-content .publisher-home-dal__eyebrow {
  margin-bottom: 16px;
}

.publisher-home-dal__wedding-card-content .publisher-home-dal__eyebrow::before {
  width: 22px;
  margin-right: 9px;
}

.publisher-home-dal__wedding-card-title {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.1vw, 38px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.publisher-home-dal__wedding-card-text {
  display: block;
  margin: 18px 0 25px;
  color: #585858;
  font-size: 14px;
  line-height: 1.55;
}

.publisher-home-dal__wedding-card-content .publisher-home-dal__text-link {
  margin-top: auto;
}

.publisher-home-dal .publisher-home-dal__wedding-card:focus-visible,
.publisher-home-dal .publisher-home-dal__text-link:focus-visible {
  outline: 2px solid var(--dal-home-ink);
  outline-offset: 4px;
}

/* =========================================================
   HOME-DAL · Corporate · Workshops · Gardening
   ========================================================= */

.publisher-home-dal__central-sections {
  padding: 0 0 clamp(42px, 4vw, 68px);
  background: var(--dal-home-paper);
}

.publisher-home-dal__service-section {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(430px, 0.88fr);
  align-items: center;
  min-height: 520px;
  margin-top: clamp(48px, 4vw, 72px);
}

.publisher-home-dal__service-collage {
  position: relative;
  display: grid;
  grid-row: 1;
  grid-column: 1 / 2;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 12px;
  height: 520px;
  min-height: 0;
}

.publisher-home-dal .publisher-home-dal__service-tile {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  background: #dfe3dc;
  color: #ffffff;
  text-decoration: none;
}

.publisher-home-dal .publisher-home-dal__service-tile:hover {
  color: #ffffff;
  text-decoration: none;
}

.publisher-home-dal__service-tile--1 {
  grid-column: 1 / 3;
  grid-row: 1 / 5;
}

.publisher-home-dal__service-tile--2 {
  grid-column: 3 / 5;
  grid-row: 1 / 2;
}

.publisher-home-dal__service-tile--3 {
  grid-column: 3 / 4;
  grid-row: 2 / 4;
}

.publisher-home-dal__service-tile--4 {
  grid-column: 4 / 5;
  grid-row: 2 / 3;
}

.publisher-home-dal__service-tile--5 {
  grid-column: 4 / 5;
  grid-row: 3 / 4;
}

.publisher-home-dal__service-tile--6 {
  grid-column: 3 / 5;
  grid-row: 4 / 5;
}

.publisher-home-dal__service-tile--1:only-child {
  grid-row: 1 / -1;
  grid-column: 1 / -1;
}

.publisher-home-dal__service-tile img {
  display: block;
  width: 100%;
  min-height: 0;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.publisher-home-dal__service-tile::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 48%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.58)
  );
  content: "";
  pointer-events: none;
}

.publisher-home-dal__service-tile:hover img {
  transform: scale(1.035);
}

.publisher-home-dal__service-tile-title {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.35vw, 24px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.publisher-home-dal__service-panel {
  position: relative;
  z-index: 1;
  grid-row: 1;
  grid-column: 2 / 3;
  width: 100%;
  margin: 0;
  padding: clamp(42px, 4.5vw, 68px);
  background: #ffffff;
  box-shadow: 18px 18px 0 var(--dal-home-shadow);
}

.publisher-home-dal__service-title {
  max-width: 500px;
  margin: 0;
  color: var(--dal-home-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4vw, 63px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.publisher-home-dal__service-text {
  max-width: 470px;
  margin: 28px 0 32px;
  color: #505050;
  font-size: 16px;
  line-height: 1.65;
}

/* Evita que Workshops se parta en dos filas. */

.publisher-home-dal__service-section--reverse
.publisher-home-dal__service-collage {
  grid-row: 1;
  grid-column: 2 / 3;
}

.publisher-home-dal__service-section--reverse
.publisher-home-dal__service-panel {
  grid-row: 1;
  grid-column: 1 / 2;
  width: 100%;
  margin: 0;
}

.publisher-home-dal .publisher-home-dal__service-tile:focus-visible {
  z-index: 2;
  outline: 3px solid var(--dal-home-ink);
  outline-offset: -3px;
}

/* =========================================================
   HOME-DAL · Shop
   ========================================================= */

.publisher-home-dal__shop {
  padding: clamp(54px, 5.5vw, 84px) 0;
  border-top: 1px solid var(--dal-home-line);
  background: #ffffff;
}

.publisher-home-dal__shop-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 46px;
  margin-bottom: 42px;
}

.publisher-home-dal__shop-title {
  margin: 0;
  color: var(--dal-home-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4.5vw, 68px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.publisher-home-dal__shop-intro {
  width: min(100%, 410px);
}

.publisher-home-dal__shop-intro p {
  margin: 0 0 24px;
  color: #505050;
  font-size: 15px;
  line-height: 1.6;
}

.publisher-home-dal__shop-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.publisher-home-dal .publisher-home-dal__shop-product {
  display: block;
  color: var(--dal-home-ink);
  text-decoration: none;
}

.publisher-home-dal .publisher-home-dal__shop-product:hover {
  color: var(--dal-home-ink);
  text-decoration: none;
}

.publisher-home-dal__shop-product-image {
  aspect-ratio: 0.92;
  overflow: hidden;
  background: #edf0ec;
}

.publisher-home-dal__shop-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.publisher-home-dal__shop-product:hover
.publisher-home-dal__shop-product-image img {
  transform: scale(1.035);
}

.publisher-home-dal__shop-product-title {
  display: block;
  margin-top: 13px;
  color: var(--dal-home-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 1.15vw, 20px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-decoration: none !important;
}

.publisher-home-dal__shop-product-price {
  display: block;
  margin-top: 7px;
  color: #555;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none !important;
}

.publisher-home-dal__shop-product-title *,
.publisher-home-dal__shop-product-price * {
  text-decoration: none !important;
}

.publisher-home-dal__shop-product-price del {
  margin-right: 6px;
  color: #777;
  opacity: 0.8;
  text-decoration: line-through !important;
}

.publisher-home-dal__shop-product-price ins {
  color: var(--dal-home-ink);
  font-weight: 700;
  text-decoration: none;
}

.publisher-home-dal .publisher-home-dal__shop-product:focus-visible {
  outline: 2px solid var(--dal-home-ink);
  outline-offset: 5px;
}

/* =========================================================
   HOME-DAL · Tablet y móvil
   ========================================================= */

@media (max-width: 1180px) {
  .publisher-home-dal__container {
    width: min(100% - 64px, 1040px);
  }

  .publisher-home-dal__shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 18px;
  }
}

@media (max-width: 980px) {
  .publisher-home-dal__container {
    width: min(100% - 48px, 760px);
  }

  .publisher-home-dal__weddings-hero {
    display: block;
    min-height: 0;
  }

  .publisher-home-dal__weddings-media {
    min-height: min(78vw, 570px);
  }

  .publisher-home-dal__weddings-media img {
    min-height: min(78vw, 570px);
  }

  .publisher-home-dal__weddings-panel {
    width: calc(100% - 40px);
    margin: -58px 0 0 auto;
    box-shadow: 12px 12px 0 var(--dal-home-shadow);
  }

  .publisher-home-dal__wedding-cards {
    grid-template-columns: 1fr;
  }

  .publisher-home-dal .publisher-home-dal__wedding-card {
    height: auto;
  }

  .publisher-home-dal__wedding-card > img {
    height: min(62vw, 420px);
  }

  .publisher-home-dal__service-section {
    display: block;
    min-height: 0;
    margin-top: 72px;
  }

  .publisher-home-dal__service-collage,
  .publisher-home-dal__service-section--reverse
  .publisher-home-dal__service-collage {
    grid-column: auto;
    height: min(86vw, 580px);
    min-height: 0;
  }

  .publisher-home-dal__service-panel,
  .publisher-home-dal__service-section--reverse
  .publisher-home-dal__service-panel {
    width: calc(100% - 40px);
    margin: -58px 0 0 auto;
    box-shadow: 12px 12px 0 var(--dal-home-shadow);
  }

  .publisher-home-dal__shop-heading {
    display: block;
    margin-bottom: 38px;
  }

  .publisher-home-dal__shop-intro {
    margin-top: 24px;
  }
}

@media (max-width: 620px) {
  .publisher-home-dal__container {
    width: calc(100% - 32px);
  }

  .publisher-home-dal__weddings {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .publisher-home-dal__weddings-media,
  .publisher-home-dal__weddings-media img {
    min-height: 430px;
  }

  .publisher-home-dal__weddings-panel {
    width: calc(100% - 18px);
    margin-top: -32px;
    padding: 32px 26px;
    box-shadow: 8px 8px 0 var(--dal-home-shadow);
  }

  .publisher-home-dal__weddings-title {
    font-size: clamp(38px, 11vw, 52px);
  }

  .publisher-home-dal__weddings-text {
    margin-top: 22px;
    font-size: 15px;
  }

  .publisher-home-dal__weddings-notes {
    display: block;
    margin: 25px 0;
  }

  .publisher-home-dal__weddings-notes li + li {
    margin-top: 9px;
  }

  .publisher-home-dal__wedding-cards {
    gap: 18px;
    margin-top: 28px;
  }

  .publisher-home-dal .publisher-home-dal__wedding-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .publisher-home-dal__wedding-card > img {
    height: 245px;
    min-height: 245px;
    max-height: 320px;
  }

  .publisher-home-dal__wedding-card-content {
    padding: 28px 24px 30px;
  }

  .publisher-home-dal__service-section {
    margin-top: 58px;
  }

  .publisher-home-dal__service-collage,
  .publisher-home-dal__service-section--reverse
  .publisher-home-dal__service-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(5, minmax(0, 1fr));
    height: 560px;
    min-height: 0;
    gap: 8px;
  }

  .publisher-home-dal__service-tile--1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .publisher-home-dal__service-tile--2 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .publisher-home-dal__service-tile--3 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

  .publisher-home-dal__service-tile--4 {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
  }

  .publisher-home-dal__service-tile--5 {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
  }

  .publisher-home-dal__service-tile--6 {
    grid-column: 1 / 3;
    grid-row: 5 / 6;
  }

  .publisher-home-dal__service-tile-title {
    right: 14px;
    bottom: 14px;
    left: 14px;
    font-size: 21px;
  }

  .publisher-home-dal__service-panel,
  .publisher-home-dal__service-section--reverse
  .publisher-home-dal__service-panel {
    width: calc(100% - 18px);
    margin-top: -32px;
    padding: 32px 26px;
    box-shadow: 8px 8px 0 var(--dal-home-shadow);
  }

  .publisher-home-dal__service-title {
    font-size: clamp(36px, 10vw, 48px);
  }

  .publisher-home-dal__service-text {
    margin: 22px 0 25px;
    font-size: 15px;
  }

  .publisher-home-dal__shop {
    padding: 58px 0 72px;
  }

  .publisher-home-dal__shop-title {
    font-size: 48px;
  }

  .publisher-home-dal__shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .publisher-home-dal__shop-product-title {
    margin-top: 12px;
    font-size: 20px;
  }

  .publisher-home-dal__shop-product-price {
    margin-top: 6px;
    font-size: 13px;
  }
}
