/* Tío Pelón homepage only — never affects other pages or the site header. */
.tp-imported-home{--tp-red:#d52328;--tp-ink:#17110f;--tp-cream:#f8f2e7;--tp-yellow:#edbd26;--tp-teal:#48b1ae;box-sizing:border-box;position:relative;width:100%;max-width:none!important;background:var(--tp-cream);color:var(--tp-ink);font-family:Georgia,serif;overflow:hidden}
.tp-imported-home *{box-sizing:border-box}
.tp-imported-home .tp-content-section{width:100%!important;max-width:none!important;margin:0!important;padding:clamp(48px,6vw,90px) max(24px,calc((100vw - 1200px)/2))!important;box-sizing:border-box;border:0;position:relative}
.tp-imported-home .tp-content-section>.wp-block-group__inner-container{max-width:1200px;margin-inline:auto}
/* The first section is a two-column hero, not a stack of absolutely-positioned images. */
.tp-imported-home .tp-content-section:first-child{isolation:isolate;min-height:590px;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:repeat(5,auto);column-gap:clamp(25px,5vw,90px);align-content:center;align-items:center;background:linear-gradient(118deg,var(--tp-yellow) 0 50%,var(--tp-teal) 50.1% 100%)!important;padding-block:70px!important}
.tp-imported-home .tp-content-section:first-child:before{content:'';pointer-events:none;position:absolute;inset:0;background-image:url('assets/azulejo.svg');background-size:150px 150px;opacity:.09;z-index:-1}
.tp-imported-home .tp-content-section:first-child> :not(figure){grid-column:1;min-width:0;z-index:2}
.tp-imported-home .tp-content-section:first-child h1{font-family:Georgia,'Times New Roman',serif!important;font-weight:900!important;font-size:clamp(52px,5.2vw,86px)!important;text-transform:none!important;letter-spacing:-.055em!important;line-height:.94!important;max-width:580px!important;margin:0 0 18px!important;color:#17110f!important}
.tp-imported-home .tp-content-section:first-child p{font-family:Georgia,serif;font-size:clamp(15px,1.1vw,18px)!important;line-height:1.5!important;max-width:480px!important;margin:0 0 18px!important}
.tp-imported-home .tp-content-section:first-child .wp-block-buttons{margin:4px 0 20px!important}
.tp-imported-home .tp-content-section:first-child>figure.wp-block-image{grid-column:2;grid-row:1 / span 5;position:relative!important;inset:auto!important;right:auto!important;top:auto!important;width:100%!important;max-width:580px!important;margin:0!important;align-self:center;z-index:1;pointer-events:auto}
.tp-imported-home .tp-content-section:first-child>figure.wp-block-image img{display:block;width:100%!important;height:auto!important;max-height:440px;object-fit:contain}
.tp-imported-home .tp-content-section:first-child>figure.wp-block-image:last-child{grid-column:2;grid-row:1 / span 5;width:110px!important;justify-self:end;align-self:end;margin:0 0 4px!important;z-index:2}
.tp-imported-home .tp-content-section:first-child>figure.wp-block-image:last-child img{max-height:150px}
.tp-imported-home .wp-block-button__link{border-radius:999px!important;background:var(--tp-red)!important;color:#fff!important;padding:13px 24px!important;font-family:Arial,sans-serif;font-size:12px;font-weight:800!important;text-transform:uppercase;text-decoration:none}
.tp-imported-home .tp-content-section h2{font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(35px,4.5vw,66px)!important;line-height:1.05!important;letter-spacing:-.04em!important;text-transform:none!important}
.tp-imported-home .tp-content-section:nth-child(even){background:#fbf7ee}
.tp-imported-home .tp-content-section:nth-child(3){background:var(--tp-teal)}
.tp-imported-home .tp-content-section img{max-width:100%;height:auto}
@media(max-width:780px){.tp-imported-home .tp-content-section{padding:45px 22px!important}.tp-imported-home .tp-content-section:first-child{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;min-height:0;padding:52px 22px 30px!important;background:linear-gradient(155deg,var(--tp-yellow) 0 63%,var(--tp-teal) 63.1% 100%)!important}.tp-imported-home .tp-content-section:first-child> :not(figure){grid-column:1}.tp-imported-home .tp-content-section:first-child h1{font-size:clamp(48px,12vw,72px)!important}.tp-imported-home .tp-content-section:first-child>figure.wp-block-image{grid-column:1;grid-row:auto;max-width:520px!important;justify-self:center;margin-top:16px!important}.tp-imported-home .tp-content-section:first-child>figure.wp-block-image:last-child{grid-column:1;grid-row:auto;justify-self:end;margin-top:-60px!important;width:85px!important}}
