@charset "UTF-8";
:root {
  --color-navy: #1a1d56;
  --color-navy-deep: #17233c;
  --color-cream: #f2efe8;
  --color-text: #333333;
  --color-white: #ffffff;
  --color-btn: #b8dff0;
  --color-btn-hover: #a3d3e8;
  --font-serif: "Lora", Georgia, serif;
  --font-sans: "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  --container: 1024px;
  --container-full: 1440px;
  --gutter: 1.25rem;
  --header-h: 66px;
  --radius-card: 12px;
  --shadow-text: 0 4px 4px rgba(0, 0, 0, 0.25);
  --transition: 0.25s ease;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}
@media (min-width: 391px) {
  body {
    --gutter: 1.5rem;
  }
}
@media (min-width: 1440px) {
  body {
    --gutter: 2rem;
  }
}

.site {
  max-width: 100%;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

p {
  margin: 0;
  color: #333;
  font-size: 16px;
}
@media (min-width: 1024px) {
  p {
    font-size: 20px;
  }
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.section-label {
  margin: 0 0 0.5rem;
  color: var(--color-navy);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (min-width: 1024px) {
  .section-label {
    font-size: 16px;
  }
}

.section-title {
  margin: 0 0 1rem;
  color: var(--color-navy-deep);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
}
@media (min-width: 1024px) {
  .section-title {
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  .section-title--sm {
    font-size: 28px;
  }
}

.section-text {
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
}
@media (min-width: 1024px) {
  .section-text {
    font-size: 20px;
  }
}
.section-text p {
  margin: 0 0 1em;
}
.section-text p:last-child {
  margin-bottom: 0;
}
.section-text strong {
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 186px;
  min-height: 32px;
  padding: 8px 16px;
  border-radius: 16px;
  background: var(--color-btn);
  color: var(--color-navy);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}
.btn:hover, .btn:focus-visible {
  background: var(--color-btn-hover);
  transform: translateY(-1px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--color-navy);
  color: var(--color-white);
  overflow: visible;
}
body.is-menu-open .site-header {
  z-index: 400;
}

.site-header__inner {
  position: relative;
  height: var(--header-h);
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
  overflow: visible;
}
@media (min-width: 1024px) {
  .site-header__inner {
    width: min(100% - 3rem, var(--container));
  }
}

.site-header__brand {
  position: absolute;
  left: 0;
  top: 3px;
  z-index: 5;
  display: block;
}
@media (min-width: 1024px) {
  .site-header__brand {
    left: 50%;
    top: 4px;
    transform: translateX(-50%);
  }
}

.site-header__logo {
  width: 152px;
  height: 108px;
  object-fit: contain;
  display: block;
  max-width: none;
}

.site-header__dreams {
  display: block;
  position: absolute;
  top: 14px;
  right: 1rem;
  width: 75px;
  height: 75px;
  object-fit: contain;
  z-index: 5;
}
@media (min-width: 1024px) {
  .site-header__dreams {
    right: max(1.5rem, (100% - var(--container)) / 2);
    width: 160px;
    height: auto;
  }
}
@media (min-width: 1440px) {
  .site-header__dreams {
    width: 100px;
  }
}

@media (max-width: 1023px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 100%;
    max-width: 100%;
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 5rem 1.5rem 2rem;
    background: var(--color-navy);
    transform: translate3d(100%, 0, 0);
    transition: transform var(--transition), visibility var(--transition);
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }
}
@media (min-width: 1024px) {
  .site-nav {
    height: 100%;
  }
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 1024px) {
  .site-nav__list {
    display: grid;
    grid-template-columns: 1fr 1fr 152px 1fr 1fr;
    align-items: center;
    gap: 0 1.25rem;
    height: 100%;
    width: 100%;
  }
}

.site-nav__spacer {
  display: none;
}
@media (min-width: 1024px) {
  .site-nav__spacer {
    display: block;
    width: 152px;
    height: 1px;
    pointer-events: none;
  }
}

@media (min-width: 1024px) {
  .site-nav__item {
    display: flex;
    align-items: center;
    height: 100%;
  }
}

@media (min-width: 1024px) {
  .site-nav__item--left {
    justify-content: center;
  }
  .site-nav__item--left:first-child {
    justify-content: flex-start;
  }
}

@media (min-width: 1024px) {
  .site-nav__item--right {
    justify-content: center;
  }
  .site-nav__item--right:last-child {
    justify-content: flex-end;
  }
}

.site-nav__link {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: opacity var(--transition);
  white-space: nowrap;
}
.site-nav__link:hover, .site-nav__link:focus-visible {
  opacity: 0.8;
}
@media (min-width: 1024px) {
  .site-nav__link {
    font-size: 16px;
  }
}

.menu-toggle {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--color-white);
  transform: translateY(-50%);
  /* Stay on screen while the full-bleed drawer is open (no scroll lock). */
}
body.is-menu-open .menu-toggle {
  position: fixed;
  top: calc(var(--header-h) / 2);
  right: var(--gutter);
}
body.admin-bar.is-menu-open .menu-toggle {
  top: calc(var(--wp-admin--admin-bar--height, 32px) + var(--header-h) / 2);
}
@media screen and (max-width: 600px) {
  body.admin-bar.is-menu-open .menu-toggle {
    top: calc(var(--header-h) / 2);
  }
}
.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle[aria-expanded=true] span:not(.screen-reader-text):nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded=true] span:not(.screen-reader-text):nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded=true] span:not(.screen-reader-text):nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  color: var(--color-white);
  overflow: hidden;
}

.hero__media {
  position: relative;
  min-height: 614px;
  background-image: url("../img/hero-home.jpg");
  background-repeat: no-repeat;
  background-position: center 33%;
  background-size: 265%;
}
@media (min-width: 1024px) {
  .hero__media {
    min-height: 677px;
    background-position: center 30%;
    background-size: cover;
  }
}

.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 237px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 max(var(--gutter), (100% - 1024px) / 2) 1.5rem;
  background: radial-gradient(100% 74.1% at 9.23% 89.09%, rgba(52, 89, 48, 0.76) 0%, rgba(30, 30, 30, 0) 100%);
  pointer-events: none;
  text-shadow: var(--shadow-text);
}

.hero__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero__title {
    font-size: 48px;
    width: 100%;
  }
}

.hero__subtitle {
  margin: 0;
  font-size: 16px;
  width: 100%;
  color: var(--color-white);
}
@media (min-width: 1024px) {
  .hero__subtitle {
    font-size: 24px;
    width: 100%;
  }
}

/* Home sections */
.home-intro {
  padding: 1rem 0 1rem;
}
@media (min-width: 1024px) {
  .home-intro {
    padding: 0.5rem 0 3rem;
  }
}

.home-intro .section-title {
  padding-top: 16px;
}

.home-journey {
  padding-top: 1rem;
  padding-bottom: 3rem;
}
@media (max-width: 1023px) {
  .home-journey {
    padding-bottom: 2rem;
  }
}

.home-journey__head {
  padding-bottom: 1.5rem;
}

.posts-grid {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 1.75rem;
}
@media (min-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.post-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-card);
  aspect-ratio: 320/241;
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(23, 35, 60, 0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover, .post-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(23, 35, 60, 0.18);
}

.post-card__media {
  position: absolute;
  inset: 0;
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 29, 86, 0.95) 0%, rgba(26, 29, 86, 0) 75%);
}

.post-card__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 1rem 1rem 1.1rem;
}

.post-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--color-btn);
  color: var(--color-navy);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
@media (min-width: 1024px) {
  .post-card__badge {
    font-size: 12px;
  }
}

.post-card__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  text-shadow: var(--shadow-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__excerpt {
  margin: 0 0 0.65rem;
  font-size: 14px;
  line-height: 1.35;
  text-shadow: var(--shadow-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--color-white);
}

.post-card__cta {
  font-size: 14px;
  font-weight: 700;
  text-shadow: var(--shadow-text);
}

.home-journey__actions {
  display: flex;
  justify-content: flex-start;
}
@media (min-width: 1024px) {
  .home-journey__actions {
    justify-content: flex-end;
  }
}

@media (max-width: 1023px) {
  .home-taste-section .container {
    width: 100%;
  }
  .home-taste-section .container .section-label {
    padding-left: 1.1rem;
  }
}

.home-taste {
  padding: 0 0 3rem;
}
@media (min-width: 1024px) {
  .home-taste {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding-bottom: 0rem;
  }
}

.home-taste__content {
  height: 100%;
  padding-inline: var(--gutter);
}
@media (min-width: 1024px) {
  .home-taste__content {
    padding-inline: 0;
  }
}

.home-taste__title {
  margin: 0 0 1rem;
  color: #17233C;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
}
@media (min-width: 1024px) {
  .home-taste__title {
    font-size: 40px;
  }
}

.home-taste__text {
  margin: 0;
  color: #333;
  font-size: 16px;
}
@media (min-width: 1024px) {
  .home-taste__text {
    font-size: 20px;
  }
}

.home-taste__media {
  overflow: hidden;
}
@media (min-width: 1024px) {
  .home-taste__media {
    align-self: start;
  }
}
.home-taste__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile taste as banner with overlay */
@media (max-width: 1023px) {
  .home-taste {
    position: relative;
    padding: 0;
  }
  .home-taste__media {
    margin: 0;
  }
  .home-taste__content {
    position: absolute;
    padding-top: 16px;
    z-index: 1;
    padding-inline: 1.1rem;
    color: var(--color-white);
  }
  .home-taste__title,
  .home-taste__text {
    color: var(--color-white);
    text-shadow: var(--shadow-text);
  }
  .home-taste__title {
    font-weight: 700;
    font-size: 32px;
  }
  .home-taste__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(101.32% 94.53% at 2.14% 1.44%, rgba(52, 89, 48, 0.76) 0%, rgba(30, 30, 30, 0) 100%);
  }
  .home-taste__media {
    position: relative;
  }
}
.home-project {
  padding: 2.5rem 0 3rem;
}
@media (max-width: 1023px) {
  .home-project {
    padding-top: 1rem;
  }
}

.section-text-bigger {
  margin-top: 3rem;
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  padding-top: 1rem;
}

.feature-list {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 2rem;
  padding-left: 44px;
  list-style: none;
}
@media (min-width: 1024px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-left: 0;
  }
}

.feature-list__item {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: start;
}

.feature-icon {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
}
@media (max-width: 1023px) {
  .feature-icon {
    width: 48px;
    height: 48px;
  }
}
.feature-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-icon:has(svg) {
  background: var(--color-navy);
  color: var(--color-white);
}
.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-list__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.feature-list__text {
  margin: 0;
  font-size: 14px;
  color: var(--color-text);
}

.band-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1440/388;
  overflow: hidden;
}
@media (max-width: 1023px) {
  .band-image {
    aspect-ratio: 390/392;
  }
}
.band-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band-image::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 102px;
  z-index: 1;
  pointer-events: none;
  top: 0;
  background: linear-gradient(to top, transparent, var(--color-cream));
}

.home-competition {
  padding: 2.5rem 0 3rem;
}
@media (max-width: 1023px) {
  .home-competition {
    padding-top: 1rem;
  }
}

.steps-grid {
  display: grid;
  gap: 1.75rem;
  margin: 2rem 0 2rem;
  list-style: none;
  justify-items: start;
  padding-inline: 44px;
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
    justify-items: center;
    padding-inline: 2rem;
  }
}

.steps-grid__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 2rem;
  align-items: start;
  width: 300px;
}
@media (min-width: 768px) {
  .steps-grid__item {
    text-align: center;
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.home-competition__actions {
  display: flex;
  justify-content: center;
}

.home-progress {
  position: relative;
  height: 388px;
  overflow: hidden;
}
.home-progress img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 85%;
}
.home-progress::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 102px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--color-cream), transparent);
}

.home-thanks {
  padding: 2.5rem 0 3.5rem;
}
@media (max-width: 1023px) {
  .home-thanks {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 1.25rem 0 1rem;
}

.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, 731px);
  margin: 0 auto 1.25rem;
}

.site-footer__logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-footer__dreams {
  width: 125px;
  height: 75px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .site-footer__dreams {
    width: 77px;
    height: 75px;
  }
}

.site-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 14px;
}
@media (max-width: 1023px) {
  .site-footer__social {
    font-size: 12px;
  }
}

.site-footer__social-label {
  margin-right: 0.25rem;
  font-size: 20px;
}
@media (max-width: 1023px) {
  .site-footer__social-label {
    font-size: 16px;
  }
}

.site-footer__social-link {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  transition: opacity var(--transition);
}
.site-footer__social-link:hover, .site-footer__social-link:focus-visible {
  opacity: 0.75;
}
.site-footer__social-link img,
.site-footer__social-link svg {
  width: 29px;
  height: 29px;
  filter: brightness(0) invert(1);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 20px;
}
@media (max-width: 1023px) {
  .site-footer__legal {
    font-size: 16px;
  }
}
.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  text-decoration: underline;
}

/* Blog / posts pages */
.page-hero {
  position: relative;
  min-height: 360px;
  background: center/cover no-repeat url("../img/post-card.jpg");
  color: var(--color-white);
  display: flex;
  align-items: flex-end;
}
@media (min-width: 1024px) {
  .page-hero {
    min-height: 452px;
  }
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 35, 60, 0.65), transparent 55%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--container));
  margin: 0 auto 2rem;
}

.page-hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  text-shadow: var(--shadow-text);
  max-width: 16ch;
}

.posts-archive {
  padding: 2rem 0 3rem;
}

@media (max-width: 1023px) {
  .post-card {
    aspect-ratio: auto;
    min-height: 130px;
  }
  .post-card__media::after {
    background: linear-gradient(to left, rgba(26, 29, 86, 0.8) 0%, rgba(26, 29, 86, 0.8) 45%, rgba(26, 29, 86, 0) 70%);
  }
  .post-card__badge {
    display: none;
  }
  .post-card__excerpt {
    display: none;
  }
  .post-card__body {
    inset: 0 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 1rem 0.85rem;
  }
  /* Excepción: en el teaser del front page, la tarjeta destacada sí lleva badge + extracto, y necesita más alto. */
  .home-journey .post-card:has(.post-card__badge) {
    min-height: 220px;
  }
  .home-journey .post-card:has(.post-card__badge) .post-card__badge {
    display: block;
  }
  .home-journey .post-card:has(.post-card__badge) .post-card__excerpt {
    display: -webkit-box;
  }
}
.posts-sentinel {
  height: 1px;
}

.posts-loading {
  margin: 1.5rem 0 0;
  text-align: center;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 700;
}
.posts-loading[hidden] {
  display: none;
}

.single-post {
  padding: 0 0 3rem;
}

.single-post__content {
  padding: 2rem 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
}
.single-post__content p {
  margin: 0 0 1.25em;
}
.single-post__content img {
  border-radius: var(--radius-card);
}

.single-post__related {
  padding: 1rem 0 2rem;
}

.home .single-post__related {
  padding: 0rem 0 2rem;
}
.home .single-post__related .container {
  margin: 0px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.pagination a,
.pagination span {
  color: var(--color-navy);
  font-weight: 700;
}

/* Offset sticky header under the Toolbar; ≤600px the bar is absolute and scrolls away. */
body.admin-bar .site-header {
  top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 600px) {
  body.admin-bar .site-header {
    top: 0;
  }
}

/*# sourceMappingURL=styles.css.map */
