/*
Theme Name: Instituto Jerez Soluciones v5
Theme URI: https://institutojerez.cl/
Author: Instituto Jerez
Author URI: https://institutojerez.cl/
Description: Tema del Instituto Jerez con estética de laboratorio contemporáneo de diseño y desarrollo.
Version: 5.0.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: instituto-jerez-soluciones
Tags: block-patterns, full-site-editing, education, one-column, custom-colors, custom-logo, editor-style, accessibility-ready
*/

:root {
  --ij-night: #123B3A;
  --ij-night-soft: #1d5550;
  --ij-teal: #7A8F74;
  --ij-teal-deep: #4d6854;
  --ij-copper: #d28a47;
  --ij-copper-soft: #f0c99a;
  --ij-ivory: #f4f1e8;
  --ij-paper: #fffefb;
  --ij-ink: #263332;
  --ij-muted: #66716e;
  --ij-line: rgba(18, 59, 58, .14);
  --ij-line-strong: rgba(18, 59, 58, .23);
  --ij-radius-sm: 10px;
  --ij-radius: 20px;
  --ij-radius-lg: 32px;
  --ij-shadow-sm: 0 9px 30px rgba(18, 59, 58, .07);
  --ij-shadow: 0 24px 70px rgba(18, 59, 58, .12);
}

html { scroll-behavior: smooth; }
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: var(--ij-ivory);
}
.wp-site-blocks { min-height: 100vh; }
main { overflow: clip; }
a { text-underline-offset: .26em; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(210, 138, 71, .72);
  outline-offset: 3px;
}

/* Header */
.ij-topline {
  min-height: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: var(--ij-night);
}
.ij-topline p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: .68rem;
  font-weight: 720;
  letter-spacing: .145em;
  text-transform: uppercase;
}
.ij-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 235, .94) !important;
  border-bottom: 1px solid var(--ij-line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(18, 59, 58, .035);
}
.admin-bar .ij-site-header { top: 32px; }
.ij-brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 2.8rem;
  border: 1px solid rgba(210, 138, 71, .5);
  border-radius: 50%;
  background: linear-gradient(145deg, #fffefb, #e3eae1);
  color: var(--ij-night);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.5);
  font-family: Iowan Old Style, Baskerville, "Palatino Linotype", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -.06em;
}
.ij-brand-copy { min-width: 0; }
.ij-brand-copy .wp-block-site-title {
  margin: 0;
  line-height: 1;
  letter-spacing: -.028em;
}
.ij-brand-copy .ij-brand-subtitle {
  margin: .38rem 0 0;
  color: var(--ij-teal-deep);
  font-size: .64rem;
  font-weight: 720;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.wp-block-navigation { gap: clamp(.75rem, 1.7vw, 1.45rem); }
.wp-block-navigation a {
  position: relative;
  text-decoration: none;
  transition: color .18s ease;
}
.wp-block-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.45rem;
  height: 2px;
  background: var(--ij-copper);
  transition: right .2s ease;
}
.wp-block-navigation a:hover,
.wp-block-navigation .current-menu-item > a,
.wp-block-navigation .current-menu-ancestor > a { color: var(--ij-copper) !important; }
.wp-block-navigation a:hover::after,
.wp-block-navigation .current-menu-item > a::after,
.wp-block-navigation .current-menu-ancestor > a::after { right: 0; }
.wp-block-navigation__responsive-container.is-menu-open {
  padding: 2rem;
  background: var(--ij-ivory) !important;
  color: var(--ij-night) !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  gap: 1.15rem;
  align-items: flex-start;
}

/* Buttons */
.wp-block-button__link,
button,
input[type="submit"] {
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 59, 58, .18);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: rgba(122, 143, 116, .085);
  border-color: var(--ij-teal);
}

/* Front page hero */
.home main .wp-block-post-content > .wp-block-group:first-child {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(77vh, 800px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 88% 17%, rgba(210,138,71,.17), transparent 27%),
    radial-gradient(circle at 69% 85%, rgba(122,143,116,.14), transparent 30%),
    linear-gradient(132deg, #fffefb 0%, #e8eee8 58%, #dde6db 100%) !important;
  border-bottom: 1px solid var(--ij-line);
}
.home main .wp-block-post-content > .wp-block-group:first-child::before,
.home main .wp-block-post-content > .wp-block-group:first-child::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: clamp(18rem, 29vw, 27rem);
  aspect-ratio: 1;
  right: clamp(5.8rem, 9vw, 9.5rem);
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}
.home main .wp-block-post-content > .wp-block-group:first-child::before {
  content: "";
  border: 1px solid rgba(18,59,58,.14);
  box-shadow:
    0 0 0 2.2rem rgba(18,59,58,.025),
    0 0 0 4.4rem rgba(122,143,116,.026),
    0 0 0 6.6rem rgba(210,138,71,.019);
}
.home main .wp-block-post-content > .wp-block-group:first-child::after {
  content: "IJ";
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 0 .08em .07em 0;
  color: rgba(18,59,58,.052);
  font-family: Iowan Old Style, Baskerville, "Palatino Linotype", Georgia, serif;
  font-size: clamp(7rem, 13vw, 12.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.09em;
}
.home main .wp-block-post-content > .wp-block-group:first-child > * {
  position: relative;
  z-index: 2;
}
.home main .wp-block-post-content > .wp-block-group:first-child h1 {
  max-width: 14.5ch;
  margin-top: 1.55rem;
  font-size: clamp(3.5rem, 7.9vw, 7.6rem) !important;
  line-height: .92 !important;
  letter-spacing: -.062em;
}
.home main .wp-block-post-content > .wp-block-group:first-child p:first-child {
  display: inline-flex;
  margin-bottom: .2rem;
  padding: .52rem .82rem;
  border: 1px solid rgba(122,143,116,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  color: var(--ij-teal-deep);
  box-shadow: 0 7px 26px rgba(18,59,58,.035);
}
.home main .wp-block-post-content > .wp-block-group:first-child .wp-block-buttons {
  position: relative;
  z-index: 5;
  gap: .9rem;
}
.home main .wp-block-post-content > .wp-block-group:first-child .wp-block-button {
  position: relative;
  z-index: 6;
}

/* Front sections */
.home .ij-card {
  height: 100%;
  padding: clamp(1.6rem, 3vw, 2.35rem) !important;
  border: 1px solid var(--ij-line);
  border-radius: var(--ij-radius) !important;
  background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(255,253,248,.74)) !important;
  box-shadow: var(--ij-shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.home .ij-card::before {
  content: "";
  display: block;
  width: 2.4rem;
  height: 3px;
  margin-bottom: 1.25rem;
  background: linear-gradient(90deg, var(--ij-copper), var(--ij-teal));
}
.home .ij-card:hover {
  transform: translateY(-6px);
  border-color: rgba(210,138,71,.45);
  box-shadow: var(--ij-shadow);
}
.home main .wp-block-post-content > .wp-block-group:nth-of-type(3) {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 13% 20%, rgba(255,255,255,.08), transparent 24%),
    linear-gradient(132deg, #4f2e3f 0%, #4d665a 100%) !important;
}
.home main .wp-block-post-content > .wp-block-group:nth-of-type(3)::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.home main .wp-block-post-content > .wp-block-group:nth-of-type(3)::after {
  content: "♪";
  position: absolute;
  pointer-events: none;
  right: 3vw;
  bottom: -5.6rem;
  color: rgba(255,255,255,.06);
  font-family: Georgia, serif;
  font-size: clamp(12rem, 24vw, 23rem);
  transform: rotate(-7deg);
}
.home main .wp-block-post-content > .wp-block-group:nth-of-type(3) > * {
  position: relative;
  z-index: 2;
}
/* Botón de la sección Educación musical: evita fondo y texto blancos */
.home main .wp-block-post-content > .wp-block-group:nth-of-type(3) .wp-block-button__link,
.home main .wp-block-post-content > .wp-block-group:nth-of-type(3) .wp-block-button.is-style-outline .wp-block-button__link {
  background: var(--ij-copper) !important;
  border-color: var(--ij-copper) !important;
  color: #ffffff !important;
  opacity: 1 !important;
  box-shadow: 0 10px 25px rgba(49, 27, 40, .18);
}
.home main .wp-block-post-content > .wp-block-group:nth-of-type(3) .wp-block-button__link:hover,
.home main .wp-block-post-content > .wp-block-group:nth-of-type(3) .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #c79a62 !important;
  border-color: #c79a62 !important;
  color: #ffffff !important;
}
.home main .wp-block-post-content > .wp-block-group:last-child > .wp-block-group {
  border-top: 1px solid rgba(210,138,71,.48) !important;
  border-bottom: 1px solid rgba(210,138,71,.48) !important;
  border-radius: var(--ij-radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,.42), rgba(255,255,255,.1));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.26);
}

/* Interior pages */
.ij-page-main {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.63), rgba(255,255,255,0) 24rem),
    var(--ij-ivory);
}
.ij-page-main::before {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 2.2rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(122,143,116,.1);
  border-radius: 50%;
}
.ij-page-main > * { position: relative; z-index: 2; }
.ij-page-heading {
  position: relative;
  padding-bottom: 2.35rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.2rem);
  border-bottom: 1px solid var(--ij-line);
}
.ij-page-heading::before {
  content: "Instituto Jerez";
  display: block;
  margin-bottom: 1rem;
  color: var(--ij-teal-deep);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .71rem;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.ij-page-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 5.6rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ij-copper), var(--ij-teal));
}
.ij-page-heading .wp-block-post-title,
.ij-page-heading h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.9rem) !important;
  line-height: .96;
  letter-spacing: -.055em;
}
body.page:not(.home) .wp-block-post-content,
body.single-post .wp-block-post-content { max-width: 880px; }
body.page:not(.home) .wp-block-post-content > p:first-child,
body.single-post .wp-block-post-content > p:first-child {
  color: var(--ij-night-soft);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.75;
}
@media (min-width: 782px) {
  body.page:not(.home) .wp-block-post-content > p:not(.has-text-align-center):not(.has-text-align-right):not(.ij-no-justify),
  body.single-post .wp-block-post-content > p:not(.has-text-align-center):not(.has-text-align-right):not(.ij-no-justify) {
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
}
body.page:not(.home) .wp-block-post-content h2,
body.single-post .wp-block-post-content h2 {
  position: relative;
  margin-top: clamp(3.4rem, 7vw, 5.8rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--ij-line-strong);
  font-size: clamp(2.05rem, 4vw, 3.25rem);
}
body.page:not(.home) .wp-block-post-content h2::before,
body.single-post .wp-block-post-content h2::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3.5rem;
  height: 3px;
  background: var(--ij-copper);
}
body.page:not(.home) .wp-block-post-content h3,
body.single-post .wp-block-post-content h3 {
  margin-top: 2.2rem;
  color: var(--ij-teal-deep);
  font-size: clamp(1.35rem, 2.4vw, 1.82rem);
}
body.page:not(.home) .wp-block-post-content > .wp-block-columns {
  gap: 1.15rem;
  margin-top: 1.6rem;
  margin-bottom: 2.2rem;
}
body.page:not(.home) .wp-block-post-content > .wp-block-columns > .wp-block-column {
  padding: 1.45rem;
  border: 1px solid var(--ij-line);
  border-radius: var(--ij-radius);
  background: rgba(255,253,248,.8);
  box-shadow: 0 10px 32px rgba(18,59,58,.045);
}
body.page:not(.home) .wp-block-post-content > .wp-block-columns > .wp-block-column h3 {
  margin-top: 0;
}
body.page:not(.home) .wp-block-post-content ul,
body.page:not(.home) .wp-block-post-content ol,
body.single-post .wp-block-post-content ul,
body.single-post .wp-block-post-content ol { padding-left: 1.2rem; }
body.page:not(.home) .wp-block-post-content li,
body.single-post .wp-block-post-content li {
  margin-bottom: .68rem;
  padding-left: .35rem;
}
body.page:not(.home) .wp-block-post-content li::marker,
body.single-post .wp-block-post-content li::marker {
  color: var(--ij-copper);
  font-weight: 750;
}
.wp-block-quote {
  margin: 3rem 0;
  padding: 1.6rem 1.85rem;
  border-left: 4px solid var(--ij-copper) !important;
  border-radius: 0 14px 14px 0;
  background: rgba(255,255,255,.62);
  box-shadow: var(--ij-shadow-sm);
}

/* Blog */
.ij-post-card {
  overflow: hidden;
  border: 1px solid var(--ij-line);
  border-radius: var(--ij-radius);
  background: var(--ij-paper);
  box-shadow: var(--ij-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ij-post-card:hover { transform: translateY(-4px); box-shadow: var(--ij-shadow); }
.ij-post-card .wp-block-post-title a { text-decoration: none; }
.ij-post-meta { color: var(--ij-teal-deep); letter-spacing: .04em; text-transform: uppercase; }

/* Forms */
main form { margin-top: 2rem; }
main label {
  display: block;
  margin-bottom: .45rem;
  color: var(--ij-night);
  font-size: .93rem;
  font-weight: 720;
}
main input[type="text"],
main input[type="email"],
main input[type="url"],
main input[type="tel"],
main input[type="search"],
main textarea,
main select {
  box-sizing: border-box;
  width: 100%;
  padding: .92rem 1rem;
  border: 1px solid rgba(18,59,58,.22);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  color: var(--ij-ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}
main input:focus,
main textarea:focus,
main select:focus {
  outline: 3px solid rgba(122,143,116,.17);
  border-color: var(--ij-teal);
}
main textarea { min-height: 11rem; resize: vertical; }

/* Footer */
.ij-site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(122,143,116,.27), transparent 28%),
    radial-gradient(circle at 89% 78%, rgba(210,138,71,.14), transparent 24%),
    linear-gradient(135deg, #321b29, #563446) !important;
}
.ij-site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ij-copper), var(--ij-teal), var(--ij-copper));
}
.ij-site-footer::after {
  content: "IJ";
  position: absolute;
  pointer-events: none;
  right: -1rem;
  bottom: -4rem;
  color: rgba(255,255,255,.035);
  font-family: Iowan Old Style, Baskerville, Georgia, serif;
  font-size: clamp(10rem, 22vw, 20rem);
  font-weight: 650;
  line-height: .75;
}
.ij-site-footer > * { position: relative; z-index: 2; }
.ij-site-footer a { color: #fff !important; }
.ij-site-footer a:hover { color: #e5c89e !important; }
.ij-footer-kicker {
  color: #e5c89e;
  font-size: .71rem;
  font-weight: 720;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ij-footer-list { list-style: none; padding-left: 0; }
.ij-footer-list li { margin-bottom: .62rem; }

/* 404 / search */
.ij-empty-state {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--ij-line);
  border-radius: var(--ij-radius-lg);
  background: rgba(255,253,248,.8);
  box-shadow: var(--ij-shadow-sm);
}

@media (max-width: 980px) {
  .ij-brand-copy .ij-brand-subtitle { display: none; }
  .wp-block-navigation { font-size: .78rem; }
}
@media (max-width: 781px) {
  .admin-bar .ij-site-header { top: 46px; }
  .ij-topline { display: none; }
  .ij-site-header { top: 0; }
  .ij-brand-mark { width: 2.55rem; height: 2.55rem; flex-basis: 2.55rem; }
  .home main .wp-block-post-content > .wp-block-group:first-child { min-height: auto; }
  .home main .wp-block-post-content > .wp-block-group:first-child h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 13vw, 5rem) !important;
  }
  .home main .wp-block-post-content > .wp-block-group:first-child::before,
  .home main .wp-block-post-content > .wp-block-group:first-child::after { display: none; }
  .ij-page-heading .wp-block-post-title,
  .ij-page-heading h1 { font-size: clamp(2.7rem, 13vw, 4.7rem) !important; }
  body.page:not(.home) .wp-block-post-content > p,
  body.single-post .wp-block-post-content > p {
    text-align: left;
    -webkit-hyphens: none;
    hyphens: none;
  }
  body.page:not(.home) .wp-block-post-content > .wp-block-columns > .wp-block-column { padding: 1.25rem; }
}
@media (max-width: 520px) {
  .ij-brand-copy .wp-block-site-title { font-size: 1.25rem !important; }
  .home main .wp-block-post-content > .wp-block-group:first-child p:first-child {
    border-radius: 10px;
    line-height: 1.4;
  }
  .wp-block-buttons { width: 100%; }
  .wp-block-button { width: 100%; }
  .wp-block-button__link { width: 100%; box-sizing: border-box; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* =========================================================
   Instituto Jerez Soluciones — Portada v2
   ========================================================= */
.ij-v2-main { background: var(--ij-ivory); }
.ij-v2-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(78vh, 840px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ij-line);
  background:
    radial-gradient(circle at 84% 22%, rgba(210,138,71,.18), transparent 24%),
    radial-gradient(circle at 70% 85%, rgba(122,143,116,.16), transparent 28%),
    linear-gradient(132deg, #fffefb 0%, #eef2ec 56%, #dfe8de 100%);
}
.ij-v2-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(-7rem, 2vw, 2rem);
  top: 50%;
  width: clamp(22rem, 42vw, 42rem);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border: 1px solid rgba(18,59,58,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(18,59,58,.025), 0 0 0 6rem rgba(122,143,116,.025), 0 0 0 9rem rgba(210,138,71,.018);
}
.ij-v2-hero::after {
  content: "IJ";
  position: absolute;
  z-index: -1;
  right: clamp(1rem, 8vw, 10rem);
  top: 50%;
  transform: translateY(-53%);
  color: rgba(18,59,58,.045);
  font-family: Iowan Old Style, Baskerville, Georgia, serif;
  font-size: clamp(9rem, 19vw, 18rem);
  font-weight: 600;
  letter-spacing: -.09em;
}
.ij-eyebrow,
.ij-section-kicker {
  margin: 0 0 1.1rem;
  color: var(--ij-teal-deep);
  font-size: .73rem;
  font-weight: 780;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ij-v2-title {
  max-width: 8.6ch;
  margin: 0;
  font-size: clamp(4rem, 8.4vw, 8rem) !important;
  line-height: .9 !important;
  letter-spacing: -.065em;
}
.ij-v2-lead {
  max-width: 760px;
  margin: 2rem 0 0;
  color: var(--ij-night-soft);
  font-size: clamp(1.4rem, 2.7vw, 2.15rem);
  line-height: 1.38;
}
.ij-v2-note {
  max-width: 660px;
  margin: 1.2rem 0 0;
  color: var(--ij-muted);
  font-size: 1.02rem;
}
.ij-v2-actions { margin-top: 2.2rem; gap: .85rem; }
.ij-v2-statement {
  background: var(--ij-night);
  color: var(--ij-paper);
}
.ij-v2-manifesto {
  max-width: 920px;
  margin: 0 auto;
  color: rgba(255,255,255,.93);
  font-family: Iowan Old Style, Baskerville, Georgia, serif;
  font-size: clamp(1.55rem, 3.2vw, 2.65rem);
  line-height: 1.32;
}
.ij-v2-section { background: var(--ij-ivory); }
.ij-section-title {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5rem) !important;
  letter-spacing: -.045em;
}
.ij-section-intro {
  max-width: 820px;
  margin: 1.35rem 0 0;
  color: var(--ij-muted);
  font-size: clamp(1.08rem, 1.9vw, 1.28rem);
}
.ij-v2-grid-3,
.ij-v2-project-grid,
.ij-v2-audience { gap: 1rem; margin-top: 2.8rem; }
.ij-solution-area {
  height: 100%;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border-top: 1px solid var(--ij-line-strong);
  background: transparent;
}
.ij-solution-area h3 { margin: .8rem 0 .8rem; font-size: 1.75rem; }
.ij-solution-area p:last-child { margin-bottom: 0; color: var(--ij-muted); }
.ij-area-number {
  margin: 0;
  color: var(--ij-copper);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.ij-v2-projects {
  background:
    radial-gradient(circle at 90% 10%, rgba(210,138,71,.09), transparent 24%),
    #ebe8df;
  border-top: 1px solid var(--ij-line);
  border-bottom: 1px solid var(--ij-line);
}
.ij-project-card {
  height: 100%;
  box-sizing: border-box;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border: 1px solid var(--ij-line);
  border-radius: var(--ij-radius);
  background: rgba(255,254,251,.86);
  box-shadow: var(--ij-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ij-project-card:hover { transform: translateY(-4px); box-shadow: var(--ij-shadow); border-color: rgba(210,138,71,.45); }
.ij-project-card h3 { margin: .9rem 0 .8rem; font-size: clamp(1.7rem, 2.7vw, 2.25rem); }
.ij-project-card > p:not(.ij-status):not(.ij-project-meta) { color: var(--ij-muted); }
.ij-status {
  display: inline-flex;
  margin: 0;
  padding: .38rem .62rem;
  border: 1px solid rgba(122,143,116,.32);
  border-radius: 999px;
  color: var(--ij-teal-deep);
  background: rgba(122,143,116,.08);
  font-size: .68rem;
  font-weight: 780;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.ij-status-live { border-color: rgba(210,138,71,.42); color: #945a24; background: rgba(210,138,71,.09); }
.ij-project-meta {
  margin: 1.3rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--ij-line);
  color: var(--ij-teal-deep);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .045em;
}
.ij-v2-method {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(122,143,116,.22), transparent 28%),
    radial-gradient(circle at 88% 88%, rgba(210,138,71,.14), transparent 24%),
    linear-gradient(132deg, #103634, #194b47 58%, #315c51);
}
.ij-on-dark { color: rgba(255,255,255,.76) !important; }
.ij-process { gap: .8rem; margin-top: 3rem; }
.ij-process p {
  flex: 1 1 150px;
  min-width: 140px;
  margin: 0;
  padding: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.22);
  color: white;
}
.ij-process strong {
  display: block;
  margin-bottom: .6rem;
  color: var(--ij-copper-soft);
  font-size: .75rem;
  letter-spacing: .16em;
}
.ij-process span { display: block; font-weight: 700; }
.ij-v2-audience .wp-block-column {
  padding: 1.45rem 1.1rem;
  border-top: 1px solid var(--ij-line-strong);
}
.ij-v2-audience h3 { margin: 0 0 .65rem; color: var(--ij-night); font-size: 1.35rem; }
.ij-v2-audience p { margin: 0; color: var(--ij-muted); font-size: .96rem; }
.ij-v2-about {
  background: linear-gradient(135deg, #fffefb, #e6ede4);
  border-top: 1px solid var(--ij-line);
}
.ij-v2-about-copy { color: var(--ij-night-soft); font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.72; }
.ij-v2-cta { background: var(--ij-ivory); }
.ij-v2-cta-inner {
  padding: clamp(2rem, 5vw, 4.6rem);
  border: 1px solid rgba(210,138,71,.42);
  border-radius: var(--ij-radius-lg);
  background: rgba(255,254,251,.64);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.48), var(--ij-shadow-sm);
}
.ij-v2-cta-inner h2 { max-width: 18ch; margin-left: auto; margin-right: auto; font-size: clamp(2.4rem, 4.8vw, 4.5rem); }
.ij-v2-cta-inner p { max-width: 720px; margin-left: auto; margin-right: auto; color: var(--ij-muted); }

@media (max-width: 781px) {
  .ij-v2-hero { min-height: auto; padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }
  .ij-v2-hero::before, .ij-v2-hero::after { display: none; }
  .ij-v2-title { max-width: 9ch; font-size: clamp(3.4rem, 16vw, 5.5rem) !important; }
  .ij-v2-lead { font-size: 1.35rem; }
  .ij-section-title { max-width: 12ch; font-size: clamp(2.45rem, 11vw, 4rem) !important; }
  .ij-solution-area { padding-left: 0; padding-right: 0; }
  .ij-v2-project-grid { gap: 1rem; }
}

/* =========================================================
   HOME V3 — proyectos como contenido principal
   ========================================================= */
.ij-v3-main { background: var(--ij-ivory); }

.ij-v3-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  background:
    radial-gradient(circle at 88% 32%, rgba(210,138,71,.16), transparent 25%),
    radial-gradient(circle at 74% 90%, rgba(122,143,116,.14), transparent 28%),
    linear-gradient(132deg, #fffefb 0%, #edf1eb 64%, #e2e9df 100%);
  border-bottom: 1px solid var(--ij-line);
}
.ij-v3-hero::after {
  content: "J";
  position: absolute;
  right: clamp(2rem, 8vw, 8rem);
  top: 50%;
  transform: translateY(-52%);
  color: rgba(18,59,58,.045);
  font-family: Iowan Old Style, Baskerville, "Palatino Linotype", Georgia, serif;
  font-size: clamp(9rem, 19vw, 17rem);
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}
.ij-v3-hero > * { position: relative; z-index: 2; }
.ij-v3-title {
  max-width: 12ch;
  margin: 1rem 0 .85rem;
  color: var(--ij-night);
  font-size: clamp(3.25rem, 7vw, 6.4rem) !important;
  line-height: .92 !important;
  letter-spacing: -.058em;
}
.ij-v3-lead {
  max-width: 33ch;
  margin: 0;
  color: var(--ij-ink);
  font-size: clamp(1.35rem, 2.2vw, 2.15rem);
  line-height: 1.28;
}

.ij-v3-projects {
  background:
    radial-gradient(circle at 8% 8%, rgba(122,143,116,.08), transparent 20%),
    var(--ij-ivory);
}
.ij-v3-project-title {
  max-width: 14ch;
  margin: .7rem 0 1rem;
  color: var(--ij-night);
  font-size: clamp(3rem, 5.7vw, 5.8rem) !important;
  line-height: .98 !important;
  letter-spacing: -.048em;
}
.ij-v3-project-intro {
  max-width: 61ch;
  margin: 0 0 2.4rem;
  color: var(--ij-muted);
  font-size: clamp(1.04rem, 1.4vw, 1.24rem);
  line-height: 1.65;
}

.ij-v3-project-grid {
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: 0;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.ij-v3-project-grid > .wp-block-column { display: flex; }
.ij-v3-card {
  position: relative;
  width: 100%;
  min-height: 20.5rem;
  box-sizing: border-box;
  padding: clamp(1.45rem, 2.6vw, 2.15rem) !important;
  border: 1px solid var(--ij-line);
  border-radius: 26px;
  background: rgba(255,254,251,.93);
  box-shadow: 0 12px 34px rgba(18,59,58,.065);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ij-v3-card:hover {
  transform: translateY(-4px);
  border-color: rgba(210,138,71,.42);
  box-shadow: 0 20px 48px rgba(18,59,58,.11);
}
.ij-v3-card-head {
  width: 100%;
  margin-bottom: 1.4rem;
  align-items: flex-start !important;
}
.ij-v3-card h3 {
  margin: 0 0 .8rem;
  color: var(--ij-night);
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.ij-v3-card > p:not(.ij-project-meta) {
  color: var(--ij-muted);
  font-size: 1.05rem;
  line-height: 1.62;
}
.ij-v3-card .ij-project-meta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ij-line);
}

.ij-app-icon {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  margin: 0 !important;
  border-radius: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 8px 22px rgba(18,59,58,.14);
  overflow: hidden;
}
.ij-icon-afinador { background-image: url('assets/jerez-afinador-icon.png'); }
.ij-icon-horario { background-image: url('assets/jerez-horario-icon.png'); }
.ij-icon-reemplazos { background-image: url('assets/jerez-reemplazos-icon.jpg'); }
.ij-icon-piano { background-image: url('assets/jerez-piano-icon.jpg'); }

.ij-v3-next {
  gap: 1.5rem;
  margin-top: clamp(1.6rem, 3vw, 2.5rem);
  padding: 1.2rem 0 .2rem;
  border-top: 1px solid var(--ij-line-strong);
  color: var(--ij-muted);
}
.ij-v3-next p { margin: 0; }
.ij-v3-next a {
  color: var(--ij-night);
  font-weight: 700;
  text-decoration-color: var(--ij-copper);
}

@media (max-width: 781px) {
  .ij-topline .wp-block-group.alignwide > p:last-child { display: none; }
  .ij-v3-hero::after { right: -1.5rem; opacity: .65; }
  .ij-v3-title { max-width: 9ch; }
  .ij-v3-project-title { max-width: 10ch; }
  .ij-v3-card { min-height: 0; }
}

@media (max-width: 520px) {
  .ij-app-icon { width: 68px; height: 68px; flex-basis: 68px; border-radius: 17px; }
  .ij-v3-card-head { margin-bottom: 1rem; }
}

/* =========================================================
   V4 · LABORATORIO CONTEMPORÁNEO DE DISEÑO Y DESARROLLO
   ========================================================= */
:root {
  --ij-night:#071C2E; --ij-night-soft:#123A5A; --ij-teal:#53D1C8; --ij-teal-deep:#2F6FED;
  --ij-copper:#F4B860; --ij-copper-soft:#FFE0A3; --ij-ivory:#F5F7FA; --ij-paper:#FFFFFF;
  --ij-ink:#17222E; --ij-muted:#667483; --ij-line:rgba(7,28,46,.10); --ij-line-strong:rgba(7,28,46,.18);
  --ij-shadow-sm:0 12px 34px rgba(7,28,46,.07); --ij-shadow:0 30px 80px rgba(7,28,46,.11);
}
body{background:var(--ij-ivory);color:var(--ij-ink)}
.ij-topline{background:linear-gradient(90deg,#071C2E,#123A5A 65%,#154866)}
.ij-site-header{background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(7,28,46,.08);box-shadow:0 6px 28px rgba(7,28,46,.04)}
.ij-brand-logo,.ij-hero-logo,.ij-institute-logo,.ij-footer-logo{margin:0;background:url('assets/instituto-jerez-logo.png') center/cover no-repeat}
.ij-brand-logo{width:3rem;height:3rem;flex:0 0 3rem;border-radius:.82rem;box-shadow:0 8px 22px rgba(7,28,46,.13)}
.ij-brand-subtitle{color:#557081;font-size:.6rem;letter-spacing:.16em}
.wp-block-navigation a:hover,.wp-block-navigation .current-menu-item>a{color:var(--ij-teal-deep)!important}
.wp-block-navigation a::after{background:linear-gradient(90deg,var(--ij-teal-deep),var(--ij-teal))}

.ij-lab-main{background:var(--ij-ivory)}
.ij-lab-hero{position:relative;overflow:hidden;padding:clamp(4.5rem,8vw,8rem) var(--wp--preset--spacing--30);background:radial-gradient(circle at 78% 22%,rgba(47,111,237,.13),transparent 30%),radial-gradient(circle at 86% 75%,rgba(83,209,200,.13),transparent 28%),linear-gradient(135deg,#fff 0%,#f6f9fc 55%,#edf4fb 100%);border-bottom:1px solid var(--ij-line)}
.ij-lab-hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(7,28,46,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(7,28,46,.025) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(to right,transparent,black 55%,black);pointer-events:none}
.ij-lab-hero-grid{position:relative;z-index:2;gap:clamp(2.5rem,6vw,6rem)}
.ij-lab-kicker{margin:0 0 1rem;color:#2F6FED;font-size:.72rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase}
.ij-lab-title{max-width:10ch;margin:.2rem 0 1.5rem;font-size:clamp(4rem,8.5vw,8.2rem)!important;line-height:.86!important;letter-spacing:-.068em;color:#071C2E;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-weight:720!important}
.ij-lab-lead{max-width:31ch;margin:0 0 2rem;font-size:clamp(1.25rem,2.15vw,2rem);line-height:1.34;color:#405160}
.ij-lab-lead strong{color:#17222E}
.ij-hero-logo{width:min(30vw,340px);aspect-ratio:1;margin:auto;border-radius:24%;box-shadow:0 36px 90px rgba(7,28,46,.18);transform:rotate(2deg)}
.wp-block-button:not(.is-style-outline) .wp-block-button__link{background:linear-gradient(135deg,#071C2E,#123A5A);border-radius:12px;padding:.82rem 1.25rem;font-weight:700;box-shadow:0 12px 30px rgba(7,28,46,.14)}
.wp-block-button.is-style-outline .wp-block-button__link{border:1px solid rgba(7,28,46,.22);border-radius:12px;color:#17222E;padding:.78rem 1.2rem;background:rgba(255,255,255,.55)}

.ij-lab-section{padding:clamp(4rem,7vw,7rem) var(--wp--preset--spacing--30)}
.ij-lab-what{background:#fff}
.ij-three{gap:1rem}
.ij-mini-card{height:100%;padding:1.5rem 1.55rem;border:1px solid var(--ij-line);border-radius:18px;background:#fbfdff;box-shadow:0 8px 28px rgba(7,28,46,.035)}
.ij-mini-num{margin:0 0 2.2rem;color:#2F6FED;font:800 .7rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em}
.ij-mini-card h3{margin:0 0 .6rem;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:1.45rem;color:#071C2E}
.ij-mini-card p:last-child{margin:0;color:#667483;line-height:1.65}

.ij-lab-solutions{background:linear-gradient(180deg,#eef3f8,#f6f8fb)}
.ij-section-title{max-width:13ch;margin:.2rem 0 2.7rem;font-size:clamp(2.7rem,5.3vw,5.2rem)!important;line-height:.95!important;letter-spacing:-.05em;color:#071C2E;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
.ij-project-grid{gap:1rem;margin-bottom:1rem}
.ij-project-grid>.wp-block-column{display:flex}
.ij-lab-card{position:relative;width:100%;min-height:320px;padding:1.55rem 1.65rem;border:1px solid rgba(7,28,46,.09);border-radius:22px;background:rgba(255,255,255,.92);box-shadow:0 12px 38px rgba(7,28,46,.055);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.ij-lab-card:hover{transform:translateY(-5px);box-shadow:0 25px 55px rgba(7,28,46,.11);border-color:rgba(47,111,237,.24)}
.ij-card-top{margin-bottom:1.4rem;align-items:flex-start!important}
.ij-app-icon{width:82px;height:82px;flex:0 0 82px;border-radius:20px;box-shadow:0 10px 26px rgba(7,28,46,.12);background-size:cover;background-position:center;background-repeat:no-repeat}
.ij-lab-card h3{margin:.15rem 0 .75rem;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:1.55rem;color:#071C2E}
.ij-lab-card>p:not(.ij-project-meta){color:#667483;line-height:1.65}
.ij-project-meta{margin-top:auto;padding-top:1rem;border-top:1px solid var(--ij-line);color:#527080!important;font-size:.72rem!important;font-weight:750;letter-spacing:.035em}
.ij-status{display:inline-flex;width:auto;margin:0;padding:.42rem .67rem;border-radius:999px;border:1px solid rgba(47,111,237,.18);background:#f1f6ff;color:#2F6FED;font-size:.63rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.ij-status-live{border-color:rgba(83,209,200,.35);background:#eefcf9;color:#147a73}
.ij-next-solution{margin-top:1rem;padding:1.25rem 1.4rem;border:1px dashed rgba(47,111,237,.25);border-radius:18px;background:rgba(255,255,255,.58)}
.ij-next-solution p{margin:0}.ij-next-solution span{color:#667483}

.ij-method{padding:clamp(4rem,7vw,6rem) var(--wp--preset--spacing--30);background:#071C2E;color:#fff}
.ij-method .ij-lab-kicker{color:#53D1C8}
.ij-method-title{max-width:12ch;margin:.25rem 0 2.4rem;color:#fff;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:clamp(2.8rem,5vw,5rem)!important;line-height:.96!important;letter-spacing:-.05em}
.ij-method-line{display:flex;gap:.8rem;align-items:center;justify-content:space-between;overflow-x:auto;padding:1.1rem 0 1.35rem;border-top:1px solid rgba(255,255,255,.14);border-bottom:1px solid rgba(255,255,255,.14);white-space:nowrap}
.ij-method-line span{font-weight:700;color:#e9f6ff}.ij-method-line b{color:#53D1C8}
.ij-method-copy{margin:1.35rem 0 0;color:#a9bdcc}

.ij-audience{padding:clamp(3.7rem,6vw,5.5rem) var(--wp--preset--spacing--30);background:#fff}
.ij-audience-pills{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0 0}
.ij-audience-pills span{display:inline-flex;padding:.75rem 1rem;border:1px solid var(--ij-line);border-radius:999px;background:#f8fafc;color:#203344;font-weight:700}

.ij-institute{padding:clamp(4rem,7vw,7rem) var(--wp--preset--spacing--30);background:linear-gradient(135deg,#eef5ff,#f7fbfd 48%,#eefbf9)}
.ij-institute .wp-block-columns{gap:clamp(2rem,5vw,5rem)}
.ij-institute-logo{width:min(24vw,260px);aspect-ratio:1;border-radius:24%;box-shadow:0 24px 70px rgba(7,28,46,.14)}
.ij-institute-title{margin:.25rem 0 1rem;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:clamp(2.6rem,5vw,4.8rem)!important;line-height:.95!important;letter-spacing:-.05em;color:#071C2E}
.ij-institute-copy{max-width:38ch;color:#536777;font-size:1.15rem;line-height:1.72}
.ij-principle{margin-top:1.6rem;padding-left:1rem;border-left:3px solid #53D1C8;color:#17222E;font-size:1.05rem}

.ij-close{padding:clamp(3.5rem,6vw,5.5rem) var(--wp--preset--spacing--30);background:#fff;border-top:1px solid var(--ij-line)}
.ij-close h2{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:#071C2E;font-size:clamp(1.8rem,3.6vw,3.2rem)!important;letter-spacing:-.04em}
.ij-site-footer{padding:1.5rem var(--wp--preset--spacing--30)!important;background:#071C2E!important}.ij-site-footer p{margin:0;color:#9db0bf}.ij-site-footer a{color:#fff}.ij-footer-logo{width:2.35rem;height:2.35rem;flex:0 0 2.35rem;border-radius:.66rem}

@media (max-width:781px){
  .ij-topline .wp-block-group.alignwide>p:last-child{display:none}.ij-lab-hero{padding-top:4rem;padding-bottom:4.5rem}.ij-lab-title{font-size:clamp(3.4rem,17vw,5.2rem)!important}.ij-hero-logo{width:190px;margin:1rem 0 0}.ij-section-title{font-size:clamp(2.7rem,13vw,4rem)!important}.ij-lab-card{min-height:0}.ij-method-line{justify-content:flex-start}.ij-institute-logo{width:170px}.ij-site-footer .alignwide{align-items:flex-start!important;gap:1rem}.ij-brand-subtitle{display:none}
}

/* Instituto Jerez v5 — menos es más */
.ij-v5 .ij-v5-hero{min-height:auto;padding-top:clamp(4rem,7vw,6.5rem);padding-bottom:clamp(4rem,7vw,6.5rem)}
.ij-v5 .ij-lab-title{font-size:clamp(4.1rem,8vw,7.4rem)!important}
.ij-v5-domains{padding:1.35rem var(--wp--preset--spacing--30);border-top:1px solid #dbe5ee;border-bottom:1px solid #dbe5ee;background:#fff}
.ij-v5-domains>.alignwide{gap:1rem}
.ij-v5-domains .ij-lab-kicker{margin:0}
.ij-v5-domain-line{display:flex;gap:.65rem;flex-wrap:wrap;margin:0!important}
.ij-v5-domain-line span{padding:.55rem .9rem;border:1px solid #d6e1ea;border-radius:999px;background:#f8fbfd;color:#0b2235;font-weight:650}
.ij-v5-solutions{padding-top:clamp(3.8rem,6vw,5.5rem);padding-bottom:clamp(3.8rem,6vw,5.5rem)}
.ij-v5-solutions .ij-section-title{max-width:13ch;margin-bottom:2.25rem}
.ij-v5 .ij-lab-card{min-height:290px;padding:1.65rem!important}
.ij-v5 .ij-lab-card h3{margin-top:1rem;font-size:1.45rem!important}
.ij-v5 .ij-lab-card>p:not(.ij-project-meta){font-size:1rem;line-height:1.55}
.ij-v5 .ij-app-icon{width:82px;height:82px;border-radius:22%;background-size:cover;background-position:center;background-repeat:no-repeat;box-shadow:0 12px 30px rgba(7,28,46,.14)}
.ij-v5 .ij-icon-afinador{background-image:url('assets/jerez-afinador-icon.png')}
.ij-v5 .ij-icon-piano{background-image:url('assets/jerez-piano-icon.png')}
.ij-v5 .ij-icon-horario{background-image:url('assets/jerez-horario-icon.png')}
.ij-v5-next{margin:1.35rem 0 0!important;color:#637688;font-size:.95rem}
.ij-v5-method{padding-top:clamp(3.5rem,5vw,4.8rem);padding-bottom:clamp(3.5rem,5vw,4.8rem)}
.ij-v5-method .ij-method-title{margin-bottom:1.65rem}
.ij-v5-about{padding:clamp(4rem,7vw,6rem) var(--wp--preset--spacing--30);background:linear-gradient(135deg,#f7fbff,#eef8f7)}
.ij-v5-about-title{max-width:13ch;margin:.25rem 0 1rem;color:#071C2E;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:clamp(2.7rem,5vw,4.7rem)!important;line-height:.95!important;letter-spacing:-.05em}
.ij-v5-about-copy{max-width:52ch;color:#536777;font-size:1.12rem;line-height:1.7}
.ij-v5-about .wp-block-buttons{margin-top:1.5rem}
@media(max-width:782px){.ij-v5-domains>.alignwide{align-items:flex-start!important}.ij-v5-domain-line{width:100%}.ij-v5 .ij-app-icon{width:72px;height:72px}.ij-v5 .ij-lab-card{min-height:0}}
