/* Minimal launch page */
body > footer,
body.home main.site-main #primary > section:not(:first-child) {
  display: none !important;
}

/* Escalador de la Vida hero photograph */
body.home main.site-main #primary > section:first-child > div:first-child {
  background-image: url("https://escaladordelavida.net/wp-content/uploads/2026/03/20250511_134340_Nik_DxO.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.home main.site-main #primary > section:first-child img[data-wpc-editable="image"] {
  opacity: 0 !important;
}

body.home main.site-main #primary > section:first-child > div:nth-child(2) {
  justify-content: flex-end;
}

body.home main.site-main #primary > section:first-child > div:nth-child(2) > div {
  text-align: right;
}

body.home main.site-main #primary > section:first-child h1,
body.home main.site-main #primary > section:first-child p {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

/* About */
body.page-id-177 main.site-main {
  min-height: 100vh;
  padding: clamp(8rem, 12vw, 10rem) clamp(1.5rem, 7vw, 7rem) 6rem;
  background: #f4f2ed;
  color: #171717;
}

body.page-id-177 main.site-main .container {
  max-width: 900px;
  margin: 0 auto;
}

body.page-id-177 .entry-header {
  display: block !important;
  margin-bottom: 3rem;
}

body.page-id-177 .entry-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 0.95;
}

body.page-id-177 .entry-content {
  max-width: 760px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.75;
}

body.page-id-177 .entry-content > p:first-child {
  margin-bottom: 4rem;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  line-height: 1.55;
}

body.page-id-177 .entry-content h2 {
  margin: 0 0 2rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

body.page-id-177 .entry-content p {
  margin: 0 0 1.5rem;
}

body.page-id-177 .entry-content blockquote {
  max-width: 620px;
  margin: 4.5rem 0 0;
  padding: 0 0 0 1.75rem;
  border-left: 1px solid #171717;
}

body.page-id-177 .entry-content blockquote p {
  margin-bottom: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-style: italic;
  line-height: 1.4;
}

body.page-id-177 .entry-content blockquote cite {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Contact */
body.page-id-181 main.site-main {
  min-height: 100vh;
  padding: clamp(8rem, 12vw, 10rem) clamp(1.5rem, 7vw, 7rem) 6rem;
  background: #f4f2ed;
  color: #171717;
}

body.page-id-181 main.site-main .container {
  max-width: 760px;
  margin: 0 auto;
}

body.page-id-181 .entry-header {
  display: block !important;
  margin-bottom: 3rem;
}

body.page-id-181 .entry-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 0.95;
}

body.page-id-181 .entry-content {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
}

body.page-id-181 .entry-content > p:first-child {
  max-width: 620px;
  margin: 0 0 3rem;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
}

body.page-id-181 form.contact-form br {
  display: none;
}

body.page-id-181 form.contact-form .grunion-field-wrap {
  margin-bottom: 1.5rem;
}

body.page-id-181 form.contact-form label {
  display: block;
  margin-bottom: 0.55rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.page-id-181 form.contact-form .grunion-label-required {
  margin-left: 0.35rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

body.page-id-181 form.contact-form input[type="text"],
body.page-id-181 form.contact-form input[type="email"],
body.page-id-181 form.contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #aaa69d;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.45);
  color: #171717;
  font: inherit;
}

body.page-id-181 form.contact-form textarea {
  min-height: 12rem;
  resize: vertical;
}

body.page-id-181 form.contact-form input:focus,
body.page-id-181 form.contact-form textarea:focus {
  outline: 2px solid #171717;
  outline-offset: 2px;
}

body.page-id-181 form.contact-form button[type="submit"] {
  padding: 0.95rem 2.2rem;
  border: 1px solid #171717;
  border-radius: 0;
  background: #171717;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

body.page-id-181 form.contact-form button[type="submit"]:hover {
  background: transparent;
  color: #171717;
}


/* Primary navigation */
body > header {
  display: block !important;
}

body > header nav > a:first-child {
  font-size: 0;
}

body > header nav > a:first-child::after {
  content: "Escalador de la Vida";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: none;
}

body > header nav > div a {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.74rem !important;
  font-weight: 600;
  letter-spacing: 0.14em !important;
}

body.home > header {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent) !important;
}

body.home > header a {
  color: #fff !important;
}

body:not(.home) > header {
  border-bottom: 1px solid rgba(23, 23, 23, 0.12);
  background: rgba(244, 242, 237, 0.94) !important;
}

@media (max-width: 720px) {
  body > header nav {
    gap: 1rem;
    padding: 1rem 1.25rem;
  }

  body > header nav > a:first-child::after {
    font-size: 0.88rem;
  }

  body > header nav > div {
    gap: 0.85rem;
  }

  body > header nav > div a {
    font-size: 0.64rem !important;
    letter-spacing: 0.08em !important;
  }
}


/* Contact social links */
body.page-id-181 .contact-elsewhere {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(23, 23, 23, 0.18);
}

body.page-id-181 .contact-elsewhere h2 {
  margin: 0 0 0.85rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem !important;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.page-id-181 .social-links {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem) !important;
  line-height: 1.8 !important;
}

body.page-id-181 .social-links a {
  color: #171717 !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 23, 23, 0.32);
}

body.page-id-181 .social-links a:hover {
  border-bottom-color: #171717;
}

body.page-id-181 .social-links span {
  margin: 0 0.35rem;
  color: rgba(23, 23, 23, 0.4);
}


/* White navigation over the homepage photograph */
html body.home > header nav a,
html body.home > header nav a.text-foreground,
html body.home > header nav a.wpconvert-active-link,
html body.home > header nav > a:first-child::after {
  color: #fff !important;
}


/* Override WPConvert inactive-link color on the homepage */
html body.home > header nav a.text-foreground:not(.wpconvert-active-link):not(.text-primary) {
  color: #fff !important;
}

/* Portfolio / Portafolio */
body.page-id-208 main.site-main {
  min-height: 100vh;
  padding: clamp(7rem, 10vw, 9rem) clamp(1.25rem, 4vw, 3rem) 6rem;
  background: #f4f2ed;
  color: #171717;
}

body.page-id-208 main.site-main .container {
  max-width: none;
  margin: 0 auto;
}

body.page-id-208 .edlv-portfolio {
  width: 100%;
  margin: 0 auto;
}

body.page-id-208 .edlv-portfolio-item {
  margin: 0 auto clamp(5.5rem, 9vw, 7rem);
  padding: 0;
  text-align: center;
}

body.page-id-208 .edlv-portfolio-item:last-child {
  margin-bottom: 0;
}

body.page-id-208 .edlv-portfolio-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100svh - 13rem);
  margin: 0 auto;
  object-fit: contain;
}

body.page-id-208 .edlv-portfolio-caption {
  margin-top: 0.8rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

@media (max-width: 720px) {
  body.page-id-208 main.site-main {
    padding: 6.5rem 1rem 4rem;
  }

  body.page-id-208 .edlv-portfolio-item {
    margin-bottom: 4.5rem;
  }

  body.page-id-208 .edlv-portfolio-image {
    max-height: calc(100svh - 10rem);
  }
}


/* Bilingual mobile navigation */
@media (max-width: 720px) {
  body > header nav {
    gap: 0;
    padding: 0.9rem 0.75rem;
  }

  body > header nav > a:first-child {
    display: none !important;
  }

  body > header nav > div {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    align-items: center;
    gap: 0.35rem;
  }

  body > header nav > div a:last-child {
    grid-column: 1 / -1;
  }

  body > header nav > div a {
    white-space: normal;
    text-align: center;
    font-size: 0.56rem !important;
    letter-spacing: 0.035em !important;
    line-height: 1.35;
  }
}

/* Signed-in mobile toolbar clearance */
@media (max-width: 782px) {
  html body.logged-in.admin-bar > header nav.sticky.top-0 {
    top: 46px !important;
    margin-top: 46px !important;
  }
}

/* Combined bilingual About + Contact */
body.page-id-177 .entry-title {
  font-size: clamp(2.6rem, 6.5vw, 5.25rem);
  line-height: 1.02;
}

body.page-id-177 .bilingual-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

body.page-id-177 .about-intro {
  margin: 0 0 4.5rem;
}

body.page-id-177 .artist-statement {
  margin-top: 0;
}

body.page-id-177 .artist-statement h2,
body.page-id-177 .contact-elsewhere h2,
body.page-id-177 .contact-section h2 {
  margin: 0 0 1.75rem;
}

body.page-id-177 .bilingual-quote {
  max-width: 760px;
  margin-top: 4.5rem;
}

body.page-id-177 .bilingual-quote p + p {
  margin-top: 1.25rem;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
}

body.page-id-177 .contact-elsewhere {
  margin-top: 5.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(23, 23, 23, 0.18);
}

body.page-id-177 .social-links {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 2;
}

body.page-id-177 .social-links a {
  color: #171717 !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 23, 23, 0.32);
}

body.page-id-177 .social-links a:hover {
  border-bottom-color: #171717;
}

body.page-id-177 .social-links span {
  margin: 0 0.35rem;
  color: rgba(23, 23, 23, 0.4);
}

body.page-id-177 .contact-section {
  max-width: 760px;
  margin-top: 5.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(23, 23, 23, 0.18);
}

body.page-id-177 .contact-intro {
  margin-bottom: 2.75rem;
}

body.page-id-177 .contact-section form.contact-form br {
  display: none;
}

body.page-id-177 .contact-section form.contact-form .grunion-field-wrap {
  margin-bottom: 1.5rem;
}

body.page-id-177 .contact-section form.contact-form label {
  display: block;
  margin-bottom: 0.55rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.page-id-177 .contact-section form.contact-form .grunion-label-required {
  margin-left: 0.35rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

body.page-id-177 .contact-section form.contact-form input[type="text"],
body.page-id-177 .contact-section form.contact-form input[type="email"],
body.page-id-177 .contact-section form.contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #aaa69d;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.45);
  color: #171717;
  font: inherit;
}

body.page-id-177 .contact-section form.contact-form textarea {
  min-height: 12rem;
  resize: vertical;
}

body.page-id-177 .contact-section form.contact-form input:focus,
body.page-id-177 .contact-section form.contact-form textarea:focus {
  outline: 2px solid #171717;
  outline-offset: 2px;
}

body.page-id-177 .contact-section form.contact-form button[type="submit"] {
  padding: 0.95rem 2.2rem;
  border: 1px solid #171717;
  border-radius: 0;
  background: #171717;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

body.page-id-177 .contact-section form.contact-form button[type="submit"]:hover {
  background: transparent;
  color: #171717;
}

@media (max-width: 720px) {
  body.page-id-177 .bilingual-pair {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  body.page-id-177 .about-intro {
    margin-bottom: 3.5rem;
  }

  body.page-id-177 .contact-elsewhere,
  body.page-id-177 .contact-section {
    margin-top: 4rem;
  }

  body.page-id-177 .contact-section {
    padding-top: 2.75rem;
  }
}
