/*
Theme Name: Tunez 2027
Theme URI: https://www.tunez2027.es
Description: Tema hijo de Blocksy para Tunez 2027. Diseño sobrio, editorial y de confianza.
Author: Zelestia Consulting S.L.
Template: blocksy
Version: 1.6.13
Text Domain: tunez-2027
*/

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/fraunces-600.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/figtree.woff2") format("woff2");
}

:root {
  --tz-night: #2a2218;
  --tz-navy: #3d3224;
  --tz-ink: #3a2e1c;
  --tz-gold: #c4963c;
  --tz-gold-2: #e0c070;
  --tz-link: #8a5c1c;
  --tz-cream: #f3e6c8;
  --tz-paper: #faf6ec;
  --tz-text: #2f281f;
  --tz-muted: #6e6454;
  --tz-line: rgba(196, 150, 60, 0.4);
  --tz-shadow: 0 16px 40px rgba(42, 34, 24, 0.1);
  --tz-serif: "Fraunces", "Times New Roman", serif;
  --tz-sans: "Figtree", "Segoe UI", sans-serif;
  --tz-wrap: min(1120px, calc(100% - 3rem));
  --tz-radius: 0.35rem;
}

body.tz-site {
  --theme-container-width: min(1120px, 100%);
  --theme-normal-container-max-width: 1120px;
  --theme-narrow-container-max-width: 1120px;
  --theme-block-max-width: 1120px;
  --theme-block-wide-max-width: 1120px;
  --theme-link-initial-color: #8a5c1c;
  --theme-link-hover-color: var(--tz-night);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--tz-sans);
  color: var(--tz-text);
  background: var(--tz-paper);
  letter-spacing: 0.01em;
}

h1, h2, h3, h4,
.page-title,
.entry-title,
.wp-block-heading {
  font-family: var(--tz-serif);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--tz-night);
}

.page-title,
.entry-title,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content .wp-block-heading {
  font-family: var(--tz-serif) !important;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
}

.entry-content a:not(.wp-block-button__link):not(.tz-btn) {
  color: #8a5c1c;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.entry-content a:not(.wp-block-button__link):not(.tz-btn):visited {
  color: #8a5c1c;
}

.entry-content a:not(.wp-block-button__link):not(.tz-btn):hover {
  color: var(--tz-night);
}

/* Header */
#header.ct-header,
.ct-header [data-row] {
  background: #fffdf8 !important;
  color: var(--tz-night);
}

#header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(196, 150, 60, 0.45);
  box-shadow: 0 10px 28px rgba(42, 34, 24, 0.07);
}

#header [data-row="middle"] {
  min-height: 74px;
}

#header .ct-container {
  padding-inline: 1.5rem;
  box-sizing: border-box;
}

#header [data-device="mobile"] [data-column="end"] {
  justify-self: end;
  min-width: 44px;
}

#header .ct-header-trigger {
  --theme-icon-color: var(--tz-night);
  color: var(--tz-night) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

#header .ct-header-trigger .ct-icon,
#header .ct-header-trigger svg,
#header .ct-header-trigger rect {
  fill: var(--tz-night) !important;
}

.site-title,
.site-title a,
.site-title a:hover {
  color: var(--tz-night) !important;
  font-family: var(--tz-serif) !important;
}

.site-title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

body.tz-site .site-branding {
  display: flex;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.55rem;
  --logo-max-height: 42px;
  --logo-shrink-height: 42px;
}

body.tz-site .site-logo-container {
  flex-shrink: 0;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px !important;
}

body.tz-site .site-logo-container img {
  width: 42px !important;
  height: 42px !important;
  max-height: 42px !important;
  border-radius: 11px;
  object-fit: cover;
  vertical-align: middle;
}

body.tz-site .site-title-container {
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding: 0;
  line-height: 1;
}

body.tz-site .site-title,
body.tz-site .site-title a {
  display: block;
  line-height: 1 !important;
  padding: 0;
  margin: 0;
}

.header-menu-1 .menu {
  gap: 0.15rem;
  align-items: center;
}

.header-menu-1 .ct-menu-link {
  font-family: var(--tz-sans) !important;
  font-size: 1.125rem !important;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--tz-ink) !important;
  padding: 0.5rem 0.85rem !important;
  height: auto !important;
  line-height: 1.2 !important;
}

.header-menu-1 .ct-menu-link:hover,
.header-menu-1 .current-menu-item .ct-menu-link {
  color: var(--tz-link) !important;
}

.header-menu-1 .menu-item.tz-cta {
  display: flex;
  align-items: center;
}

.header-menu-1 .menu-item.tz-cta .ct-menu-link,
.mobile-menu .menu-item.tz-cta .ct-menu-link {
  background: #8a5c1c !important;
  color: #fff !important;
  border-radius: var(--tz-radius) !important;
  padding: 0.55rem 1.15rem !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  white-space: nowrap;
}

.header-menu-1 .menu-item.tz-cta .ct-menu-link {
  margin-left: 0.35rem;
}

.mobile-menu .menu-item.tz-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  align-self: stretch;
  width: 100%;
}

.mobile-menu .menu-item.tz-cta .ct-menu-link {
  margin: 0.35rem 0 0 !important;
  align-self: flex-start;
}

.header-menu-1 .menu-item-has-children {
  position: relative;
}

.header-menu-1 .sub-menu {
  background: #fff !important;
  border: 1px solid rgba(26, 35, 51, 0.1);
  box-shadow: 0 14px 36px rgba(7, 11, 20, 0.12);
  left: auto !important;
  right: 0 !important;
  width: 18.5rem;
  max-width: calc(100vw - 1.5rem);
  padding: 0.45rem 0;
  overflow: hidden;
  --theme-link-initial-color: var(--tz-night);
}

.header-menu-1 .sub-menu .ct-menu-link {
  color: var(--tz-night) !important;
  font-family: var(--tz-sans) !important;
  font-size: 0.92rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: normal;
  display: block;
  line-height: 1.35;
  padding: 0.65rem 1.1rem !important;
}

.header-menu-1 .sub-menu .ct-menu-link:hover,
.header-menu-1 .sub-menu .current-menu-item .ct-menu-link {
  color: var(--tz-link) !important;
  background: var(--tz-cream);
}

#header [data-id="search"] {
  display: none !important;
}

#header .ct-header-trigger,
#header .ct-toggle-close {
  color: var(--tz-night);
}

#offcanvas.ct-panel {
  background: var(--tz-night);
  color: var(--tz-cream);
}

.mobile-menu .ct-menu-link {
  color: var(--tz-cream) !important;
}

/* Home: Blocksy main spacing */
.home .site-main {
  padding: 0 !important;
  background: var(--tz-paper);
}

.home .hero-section,
.page-contacto .hero-section,
.page-quienes-somos .hero-section {
  display: none !important;
}

.tz-mast {
  padding: 4.2rem 0 2.4rem;
  background: var(--tz-cream);
}

.tz-mast h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  color: var(--tz-night);
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  line-height: 1.08;
}

.tz-mast .tz-lead {
  max-width: 38rem;
  margin: 0 0 1.5rem;
  color: var(--tz-muted);
  font-size: 1.12rem;
  font-weight: 400;
}

.tz-mast .tz-countdown {
  margin: 0.4rem 0 0;
  color: var(--tz-muted);
}

.tz-mast .tz-countdown strong {
  color: var(--tz-night);
}

.tz-shot {
  margin: 0;
  padding: 0 0 1.2rem;
  background: var(--tz-cream);
}

.tz-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--tz-radius);
}

.tz-shot figcaption {
  margin: 0.55rem 0 0;
  color: var(--tz-muted);
  font-size: 0.88rem;
}

.tz-chips {
  padding: 1.3rem 0 1.5rem;
  background: var(--tz-paper);
  border-bottom: 1px solid rgba(42, 34, 24, 0.08);
}

.tz-chips__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tz-chips p {
  margin: 0;
  padding: 0.55rem 0.9rem;
  background: var(--tz-cream);
  border: 1px solid rgba(196, 150, 60, 0.35);
  border-radius: 999px;
  color: var(--tz-muted);
  font-family: var(--tz-sans);
  font-size: 0.92rem;
  font-variant-numeric: lining-nums tabular-nums;
}

.tz-chips strong {
  color: var(--tz-night);
  font-family: var(--tz-sans);
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
}

.tz-pair {
  padding: 3.4rem 0;
  background: var(--tz-paper);
}

.tz-pair__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
}

.tz-pair h2 {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.tz-pair p {
  margin: 0 0 0.9rem;
  color: var(--tz-muted);
  line-height: 1.7;
}

.tz-note {
  padding: 2.2rem 0;
  background: var(--tz-cream);
}

.tz-note p {
  max-width: 42rem;
  margin: 0 0 0.7rem;
  color: var(--tz-text);
  line-height: 1.7;
  font-size: 1.08rem;
}

.tz-signup {
  padding: 3.2rem 0 4.2rem;
  background: var(--tz-paper);
}

.tz-signup__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.4rem;
  align-items: start;
}

.tz-signup h2 {
  margin: 0 0 0.6rem;
}

.tz-signup p {
  color: var(--tz-muted);
  line-height: 1.7;
}

.tz-signup a {
  color: var(--tz-link);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 900px) {
  .tz-pair__grid,
  .tz-signup__grid {
    grid-template-columns: 1fr;
  }
}

.tz-date {
  margin: 0 0 0.75rem;
  color: var(--tz-gold);
  font-size: 0.92rem;
  font-weight: 600;
}

.tz-textlink {
  color: var(--tz-link);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.tz-open {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: min(78vh, 640px);
  background: var(--tz-cream);
}

.tz-open__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem clamp(1.4rem, 4vw, 4rem);
}

.tz-open h1 {
  margin: 0 0 1rem;
  max-width: 12ch;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  color: var(--tz-night);
}

.tz-open .tz-lead {
  max-width: 34rem;
  margin: 0 0 1.4rem;
  color: var(--tz-muted);
  font-size: 1.08rem;
  font-weight: 400;
}

.tz-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  margin: 0 0 1.6rem;
}

.tz-dl div {
  min-width: 6.5rem;
}

.tz-dl dt {
  margin: 0;
  color: var(--tz-muted);
  font-size: 0.78rem;
}

.tz-dl dd {
  margin: 0.15rem 0 0;
  color: var(--tz-night);
  font-family: var(--tz-serif);
  font-size: 1.45rem;
  font-weight: 600;
}

.tz-open .tz-countdown {
  margin: 1rem 0 0;
  color: var(--tz-muted);
}

.tz-open .tz-countdown strong {
  color: var(--tz-night);
}

.tz-open__photo {
  margin: 0;
  min-height: 280px;
}

.tz-open__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tz-block {
  padding: 4.2rem 0;
  background: var(--tz-paper);
}

.tz-block__narrow {
  max-width: 40rem;
}

.tz-block h2,
.tz-itinerary h2,
.tz-who h2,
.tz-signup h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
}

.tz-reasons {
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
  counter-reset: tz-reason;
}

.tz-reasons li {
  counter-increment: tz-reason;
  position: relative;
  margin: 0 0 1.35rem;
  padding: 0 0 1.35rem 3.2rem;
  border-bottom: 1px solid rgba(12, 36, 40, 0.1);
  color: var(--tz-muted);
  line-height: 1.65;
}

.tz-reasons li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.tz-reasons li::before {
  content: counter(tz-reason, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--tz-gold);
  font-family: var(--tz-serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.tz-reasons strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--tz-night);
  font-size: 1.08rem;
}

.tz-itinerary {
  padding: 4.2rem 0 4.5rem;
  background: var(--tz-night);
  color: var(--tz-cream);
}

.tz-itinerary__head {
  max-width: 38rem;
  margin-bottom: 2.4rem;
}

.tz-itinerary h2,
.tz-itinerary h3 {
  color: #fff;
}

.tz-itinerary__head p {
  margin: 0;
  color: rgba(250, 246, 241, 0.74);
  font-size: 1.05rem;
  line-height: 1.65;
}

.tz-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.tz-path li {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--tz-gold);
  padding-top: 1.1rem;
}

.tz-path span {
  color: var(--tz-gold-2);
  font-family: var(--tz-serif);
  font-size: 0.95rem;
}

.tz-path h3 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.tz-path p {
  margin: 0;
  color: rgba(250, 246, 241, 0.74);
  line-height: 1.6;
}

.tz-quote {
  margin: 0;
  padding: 3.8rem 1.25rem;
  background: var(--tz-cream);
}

.tz-quote blockquote {
  width: min(38rem, 100%);
  margin: 0 auto;
}

.tz-quote p {
  margin: 0 0 0.9rem;
  color: var(--tz-night);
  font-family: var(--tz-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.3;
}

.tz-quote cite {
  color: var(--tz-muted);
  font-style: normal;
  font-size: 0.95rem;
}

.tz-who {
  padding: 3.4rem 0;
  background: var(--tz-paper);
  border-top: 1px solid rgba(12, 36, 40, 0.08);
}

.tz-who__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2rem;
  align-items: end;
}

.tz-who p {
  max-width: 40rem;
  color: var(--tz-muted);
  line-height: 1.7;
}

.tz-who__contact {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.tz-who__contact a,
.tz-signup a {
  color: var(--tz-link);
}

.tz-signup {
  padding: 3.2rem 0 4.5rem;
  background: var(--tz-cream);
}

.tz-signup__box {
  max-width: 34rem;
}

.tz-signup p,
.tz-prose p {
  color: var(--tz-muted);
  line-height: 1.7;
}

.tz-prose {
  max-width: 40rem;
}

.tz-prose h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.tz-hero {
  position: relative;
  isolation: isolate;
  min-height: min(82vh, 720px);
  display: grid;
  place-items: end center;
  overflow: hidden;
  background: var(--tz-night);
  color: var(--tz-cream);
}

.tz-hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 36, 40, 0.22) 0%, rgba(12, 36, 40, 0.55) 48%, rgba(12, 36, 40, 0.92) 100%),
    url("/wp-content/uploads/2026/08/Sfax-un-lugar-privilegiado-para-vivir-el-eclipse-total-de-Sol-de-2027.jpg") center 42% / cover no-repeat;
}

.tz-hero__content {
  position: relative;
  width: var(--tz-wrap);
  padding: 5rem 0 3.6rem;
}

.tz-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: var(--tz-ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
}

.tz-kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  background: var(--tz-gold);
  border-radius: 1px;
}

.tz-hero h1 {
  margin: 0 0 1rem;
  max-width: 13ch;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.08;
  font-family: var(--tz-serif);
}

.tz-lead {
  max-width: 32rem;
  margin: 0 0 1.5rem;
  color: rgba(250, 246, 241, 0.88);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
}

.tz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.tz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--tz-radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none !important;
  transition: 0.2s ease;
}

.tz-btn--gold {
  background: #8a5c1c;
  color: #fff !important;
}

.tz-btn--gold:hover {
  background: #6e4814;
  color: #fff !important;
}

.tz-btn--ghost {
  border: 1px solid rgba(250, 246, 241, 0.42);
  color: var(--tz-cream) !important;
  background: transparent;
}

.tz-btn--ghost:hover {
  border-color: var(--tz-gold-2);
  color: var(--tz-gold-2) !important;
}

.tz-btn--dark {
  background: var(--tz-night);
  color: var(--tz-cream) !important;
}

.tz-btn--outline {
  border: 1px solid var(--tz-night);
  color: var(--tz-night) !important;
  background: transparent;
}

.tz-btn--outline:hover {
  background: var(--tz-night);
  color: var(--tz-cream) !important;
}

.tz-countdown {
  margin: 0 0 0.85rem;
  color: rgba(246, 241, 231, 0.72);
  font-size: 0.92rem;
}

.tz-countdown strong {
  color: var(--tz-gold-2);
  font-weight: 600;
}

.tz-credit {
  margin: 0;
  color: rgba(246, 241, 231, 0.45);
  font-size: 0.78rem;
}

/* Stats */
.tz-stats {
  background: var(--tz-cream);
  color: var(--tz-text);
  border-top: 0;
  border-bottom: 1px solid rgba(12, 36, 40, 0.08);
}

.tz-stats__grid {
  width: var(--tz-wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 1.5rem 0;
}

.tz-stat span {
  display: block;
  color: var(--tz-night);
  font-family: var(--tz-serif);
  font-size: 1.7rem;
  line-height: 1.15;
}

.tz-stat small {
  color: var(--tz-muted);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* Sections */
.tz-section {
  padding: 4.5rem 0;
}

.tz-section--cream {
  background: var(--tz-cream);
}

.tz-page .tz-section--cream {
  max-width: 40rem;
}

.tz-section--paper {
  background: var(--tz-paper);
}

.tz-section--night {
  background: var(--tz-navy);
  color: var(--tz-cream);
}

.tz-wrap {
  width: var(--tz-wrap);
  margin: 0 auto;
}

.tz-section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.tz-section--night h2,
.tz-section--night h3 {
  color: #fff;
}

.tz-intro {
  max-width: 42rem;
  margin: 0 0 2.4rem;
  color: var(--tz-muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.tz-section--night .tz-intro {
  color: rgba(246, 241, 231, 0.74);
}

/* Cards */
.tz-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.tz-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(26, 35, 51, 0.08);
  border-radius: var(--tz-radius);
  box-shadow: var(--tz-shadow);
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tz-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(12, 36, 40, 0.14);
}

.tz-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.tz-card__body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.tz-card__meta {
  margin: 0 0 0.35rem;
  color: var(--tz-gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tz-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.55rem;
}

.tz-read p {
  margin: 0;
  color: var(--tz-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.tz-reads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.tz-read {
  display: block;
  padding: 1.5rem 1.4rem 1.6rem;
  background: #fff;
  border: 1px solid rgba(26, 35, 51, 0.08);
  border-radius: 1.1rem;
  box-shadow: var(--tz-shadow);
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tz-read:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(7, 11, 20, 0.16);
}

.tz-read h3 {
  margin: 0 0 0.45rem;
  font-size: 1.55rem;
}

.entry-content .wp-block-button__link {
  background: var(--tz-night);
  color: var(--tz-cream) !important;
  border-radius: var(--tz-radius);
}

.entry-content .is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--tz-night) !important;
  border: 1px solid var(--tz-night);
}

/* Trust */
.tz-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tz-trust article {
  padding: 1.5rem 1.4rem 1.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(224, 138, 92, 0.22);
  border-radius: var(--tz-radius);
}

.tz-trust--light {
  grid-template-columns: 1fr;
  max-width: 38rem;
}

.tz-trust--light article {
  background: #fff;
  border-color: rgba(42, 34, 24, 0.1);
}

.tz-trust h3 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
}

.tz-trust p {
  margin: 0;
}

.tz-trust:not(.tz-trust--light) h3 {
  color: #fff;
}

.tz-trust:not(.tz-trust--light) p {
  color: rgba(246, 241, 231, 0.82);
}

.tz-trust--light h3 {
  color: var(--tz-night);
}

.tz-trust--light p {
  color: var(--tz-text);
}

/* Contact */
.tz-contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.tz-contact a {
  color: var(--tz-link);
}

.tz-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(26, 35, 51, 0.08);
  border-radius: var(--tz-radius);
  box-shadow: var(--tz-shadow);
  --theme-form-letter-spacing: 0em;
  --theme-form-text-transform: none;
  --theme-letter-spacing: 0em;
  --theme-text-transform: none;
}

.tz-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--tz-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.tz-form input,
.tz-form select,
.tz-form textarea {
  width: 100%;
  padding: 0.78rem 0.85rem;
  border: 1px solid #d9deea;
  border-radius: 0.65rem;
  background-color: #fff;
  color: var(--tz-text);
  font-family: var(--tz-sans), system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.4;
}

.tz-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  padding-right: 2.6rem;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231c2433' d='M1.1 1.2 6 6.1l4.9-4.9 1.1 1.1L6 8.3.01 2.3z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  cursor: pointer;
}

.tz-form .tz-destinos {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.tz-form .tz-destinos legend {
  padding: 0;
  margin: 0 0 0.55rem;
  color: var(--tz-muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.tz-form .tz-destinos label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.4rem;
  color: var(--tz-text);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.tz-form .tz-destinos input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  padding: 0;
  accent-color: var(--tz-gold);
  flex: 0 0 auto;
}

.tz-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.tz-form input:focus,
.tz-form select:focus,
.tz-form textarea:focus {
  outline: 2px solid rgba(196, 92, 58, 0.35);
  border-color: var(--tz-gold);
}

.tz-form .tz-hp {
  position: absolute;
  left: -9999px;
}

.tz-form button,
.tz-form .tz-btn--gold {
  border: 0;
  cursor: pointer;
  background: #8a5c1c !important;
  color: #fff !important;
  width: 100%;
}

.tz-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--tz-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.tz-consent a {
  color: var(--tz-link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.tz-consent input {
  width: auto;
  margin-top: 0.2rem;
}

.tz-alert {
  padding: 0.85rem 1rem;
  border-radius: 0.7rem;
  background: #eaf6ee;
  color: #1b5a32;
  scroll-margin-top: 100px;
}

#contacto {
  scroll-margin-top: 90px;
}

.tz-alert--error {
  background: #fdeeee;
  color: #8a1f1f;
}

/* Inner pages */
.entry-content,
.hero-section {
  font-size: 1.05rem;
  line-height: 1.75;
}

.page .page-title,
.single .page-title,
.single .entry-title {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  white-space: normal !important;
  overflow-wrap: break-word;
  max-width: 100%;
}

.single .entry-content img,
.page .entry-content img {
  border-radius: 0.9rem;
}

.entry-content .wp-element-caption,
.entry-content figcaption {
  margin-top: 0.55rem;
  color: var(--tz-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.single .entry-content h2 {
  margin-top: 2.2rem;
  scroll-margin-top: 90px;
}

.single-post .hero-section .entry-meta,
.single-post .ct-comments-container,
.single-post #comments,
.single-post .ct-related-posts-container {
  display: none !important;
}

.page:not(.home) .hero-section .ct-container,
.single .hero-section .ct-container {
  width: var(--tz-wrap);
  max-width: 1120px;
  margin-inline: auto;
}

body.tz-site:not(.home) .hero-section {
  padding: 2.8rem 0 0.4rem;
  background: var(--tz-paper);
}

body.tz-site:not(.home) .hero-section .entry-header,
body.tz-site:not(.home) .hero-section .page-title {
  max-width: 1120px;
  width: var(--tz-wrap);
  margin-inline: auto;
  text-align: left;
}

body.tz-site:not(.home) .entry-content {
  max-width: 1120px;
  width: var(--tz-wrap);
  margin-inline: auto;
  float: none;
}

body.tz-site:not(.home) .entry-content .wp-block-image {
  float: none;
  margin: 0 0 1.6rem;
}

body.tz-site:not(.home) .entry-content .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--tz-radius);
}

body.tz-site:not(.home) .entry-content.is-layout-constrained > * {
  max-width: 100%;
}

body.tz-legal .page-description {
  display: none !important;
}

body.tz-legal .hero-section.is-width-constrained,
body.tz-legal .hero-section {
  width: var(--tz-wrap) !important;
  max-width: 1120px !important;
  margin-inline: auto;
  --alignment: left;
  text-align: left !important;
}

body.tz-legal .hero-section .entry-header,
body.tz-legal .hero-section .page-title {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  text-align: left !important;
}

.tz-page {
  padding: 3.5rem 0 4.5rem;
}

.tz-page__header {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.tz-page__header p {
  color: var(--tz-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

/* Footer */
#footer {
  display: none !important;
}

.tz-footer-note {
  width: 100%;
  margin: 0;
  padding: 2.6rem 1.25rem 2rem;
  background: var(--tz-night);
  color: rgba(246, 241, 231, 0.72);
  font-size: 0.92rem;
  line-height: 1.6;
}

.tz-footer-note__grid {
  width: var(--tz-wrap);
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: 1.35fr 1fr 0.85fr 0.85fr !important;
  gap: 1.6rem;
}

.tz-footer-note h3 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.2rem;
}

.tz-footer-note a {
  color: var(--tz-gold-2);
}

.tz-footer-copy {
  width: var(--tz-wrap);
  margin: 1.5rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(224, 138, 92, 0.22);
  color: rgba(246, 241, 231, 0.5);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .tz-stats__grid,
  .tz-cards,
  .tz-reads,
  .tz-trust,
  .tz-trust--light,
  .tz-contact {
    grid-template-columns: 1fr;
  }

  #header .ct-container {
    padding-inline: 1.35rem !important;
  }

  #header [data-column="start"] {
    padding-inline-start: 0.15rem;
  }

  body.tz-site:not(.home) .hero-section {
    padding: 1.5rem 1.35rem 0.35rem;
  }

  body.tz-site:not(.home) .hero-section .ct-container,
  body.tz-site:not(.home) .hero-section .entry-header,
  body.tz-site:not(.home) .hero-section .page-title {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0;
  }

  body.tz-site:not(.home) .page-title {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
    line-height: 1.15;
  }

  body.tz-site:not(.home) .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 1.35rem;
    box-sizing: border-box;
  }

  .tz-footer-note__grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .tz-hero {
    min-height: 88vh;
    place-items: end start;
  }

  .tz-hero h1 {
    max-width: 11ch;
  }
}

@media (max-width: 560px) {
  .tz-footer-note__grid {
    grid-template-columns: 1fr !important;
  }
}
