/* I1: fotografías originales sin texto + texto HTML. No afecta catálogo ni G1. */
.s2-hero.sm-campaign{position:relative;isolation:isolate;min-height:340px;display:flex;align-items:center;background:var(--sm-crema);overflow:hidden}
.sm-campaign>picture{position:absolute;inset:0 0 0 auto;width:min(60%,1082px);z-index:-1;display:block}
.sm-campaign>picture img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 48%}
.sm-campaign .sm-campaign-copy{position:relative;width:46%;max-width:670px;padding:28px 32px 28px 5%;background:transparent;border-radius:0}
/* Difuminado crema entre texto y foto (sin corte duro): la foto nace en crema opaco y se aclara hacia la derecha, antes de los rostros. */
.sm-campaign>picture::after{content:"";position:absolute;inset:0 auto 0 0;width:40%;pointer-events:none;background:linear-gradient(to right,rgba(247,240,227,1) 0,rgba(247,240,227,.94) 14%,rgba(247,240,227,.68) 38%,rgba(247,240,227,.3) 68%,rgba(247,240,227,0) 100%)}
.sm-campaign #heroTitle2{font-family:var(--sm-serif)!important;font-size:clamp(28px,2.65vw,44px)!important;line-height:1.06!important;letter-spacing:.025em!important;font-weight:700!important;margin:0 0 14px;color:var(--sm-cafe)}
.sm-campaign #heroTitle2 span{display:block}
.sm-campaign-copy p{font:400 16px/1.5 'Solmara Inter',Inter,sans-serif;color:var(--sm-cafe);margin:0 0 18px}
.sm-campaign .s2-hero-link,.sm-editorial .s2-editorial-link{position:static;inset:auto;display:inline-flex;align-items:center;justify-content:center;gap:14px;width:auto;height:auto;min-height:44px;padding:12px 20px;background:var(--sm-cafe);color:var(--sm-crema);border:1px solid var(--sm-cafe);border-radius:30px;font:600 14px/1.3 'Solmara Inter',Inter,sans-serif;text-decoration:none}
.sm-campaign .s2-hero-link:hover,.sm-editorial .s2-editorial-link:hover{background:var(--sm-cafe);color:var(--sm-crema);text-decoration:underline}
.sm-campaign .s2-hero-link:focus-visible,.sm-editorial .s2-editorial-link:focus-visible{outline:3px solid var(--sm-cafe);outline-offset:3px}
.s2-editorial.sm-editorial{display:grid;grid-template-columns:1fr 1fr;min-height:220px;background:var(--sm-crema);border:1px solid var(--sm-dorado)}
.sm-editorial>picture{display:block;min-width:0;overflow:hidden}
.sm-editorial>picture img{display:block;width:100%;height:100%;object-fit:cover;object-position:55% center}
.sm-editorial .sm-editorial-copy{align-self:center;padding:16px;min-width:0}
.sm-editorial h2{font-family:var(--sm-serif)!important;font-size:clamp(20px,1.6vw,27px)!important;font-weight:600;line-height:1.1!important;letter-spacing:.025em!important;margin:0 0 10px;color:var(--sm-cafe)}
.sm-editorial p{font:400 14px/1.45 'Solmara Inter',Inter,sans-serif;color:var(--sm-cafe);margin:0 0 12px}
.sm-editorial .s2-editorial-link{font-size:13px;padding:10px 14px}
.sm-editorial--man>picture{order:2}
.sm-editorial--man>picture img{object-position:82% center}
@media(max-width:1000px) and (min-width:701px){
  .s2-editorial.sm-editorial{grid-template-columns:1fr}
  .sm-editorial>picture{height:150px}
  .sm-editorial--man>picture{order:0}
}
@media(max-width:700px){
  .s2-hero.sm-campaign{min-height:0;align-items:stretch;flex-direction:column}
  .sm-campaign>picture{position:relative;inset:auto;width:100%;height:235px;order:2;z-index:0}
  .sm-campaign>picture::after{display:none}
  .sm-campaign>picture img{object-position:65% center}
  .sm-campaign .sm-campaign-copy{width:100%;max-width:none;padding:20px 18px;background:var(--sm-crema);border-radius:0}
  .sm-campaign #heroTitle2{font-size:27px!important;line-height:1.04!important}
  .sm-campaign-copy p{font-size:14px;line-height:1.4;margin-bottom:14px}
  .sm-campaign .s2-hero-link{font-size:13px;padding:10px 12px;gap:6px}
  .s2-editorial.sm-editorial{min-height:250px;grid-template-columns:1fr 1fr}
  .sm-editorial .sm-editorial-copy{padding:14px}
  .sm-editorial h2{font-size:23px!important}
  .s2-editorial.sm-editorial--man{display:none}
}
@media(max-width:360px){.sm-campaign .sm-campaign-copy{width:100%}.sm-campaign #heroTitle2{font-size:25px!important}.sm-editorial .sm-editorial-copy{padding:10px}.sm-editorial h2{font-size:21px!important}}

/* I2: categorías con textos reales; el panel crema opaco asegura contraste. */
.s2-category.sm-category-photo{min-height:170px;background:var(--sm-crema);border:1px solid var(--sm-dorado);isolation:isolate}
.sm-category-photo>picture{position:absolute;inset:0;z-index:-1}
.sm-category-photo img{width:100%;height:100%;object-fit:cover;object-position:75% 42%;display:block}
.sm-category-photo .sm-category-copy{width:53%;min-height:170px;padding:18px 12px;display:flex;flex-direction:column;justify-content:center;gap:10px;background:var(--sm-crema);color:var(--sm-cafe);border-radius:0 12px 12px 0}
.sm-category-copy h2{font-family:var(--sm-serif)!important;font-size:20px!important;line-height:1.08!important;letter-spacing:0!important;margin:0;text-transform:uppercase;overflow-wrap:normal}
.sm-category-copy>span{font:500 14px/1.35 'Solmara Inter',Inter,sans-serif}
.s2-category.sm-category-photo:hover{filter:none}.sm-category-photo:hover .sm-category-copy>span{text-decoration:underline}
.s2-category.sm-category-photo:focus-visible{outline:3px solid var(--sm-cafe);outline-offset:3px}
.s2-editorials{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.s2-editorial.sm-editorial{height:100%;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.sm-editorial--medallon>picture img{object-position:50% 72%}
.s2-wave{filter:none;color:var(--sm-cafe)}
@media(min-width:701px) and (max-width:1000px){
 .sm-campaign .sm-campaign-copy{width:52%;padding:24px 14px 24px 4%}
 .sm-campaign #heroTitle2{font-size:28px!important;letter-spacing:0!important}
 .sm-campaign #heroTitle2 span:last-child{display:inline}
 .s2-categories{grid-template-columns:repeat(2,minmax(0,1fr))}
 .s2-editorial.sm-editorial{grid-template-columns:1fr;grid-template-rows:150px 1fr}
 .sm-editorial .sm-editorial-copy{align-self:stretch;display:flex;flex-direction:column;align-items:flex-start}
 .sm-editorial .s2-editorial-link{margin-top:auto}
}
@media(max-width:700px){
 .s2-category.sm-category-photo{display:flex;flex-direction:column;min-height:0}
 .sm-category-photo>picture{position:relative;inset:auto;z-index:auto;height:125px}
 .sm-category-photo img{object-position:80% 42%}
 .sm-category-photo .sm-category-copy{width:100%;min-height:110px;flex:1;padding:12px 10px;border-radius:0;justify-content:flex-start}
 .sm-category-copy h2{font-size:19px!important}
 .sm-category-copy>span{margin-top:auto}
 .s2-editorial.sm-editorial:nth-child(n+2){display:none}
}
/* Transición suave antes del sujeto; texto sobre la zona crema opaca. */
.sm-category-photo>picture::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to right,var(--sm-crema) 0,var(--sm-crema) 53%,transparent 68%)}
.sm-category-photo .sm-category-copy{background:transparent;border-radius:0}
@media(max-width:700px){.sm-category-photo>picture::after{display:none}.sm-category-photo .sm-category-copy{background:var(--sm-crema)}}
@media(max-width:360px){.sm-category-photo .sm-category-copy{padding-left:6px;padding-right:6px}}
@media(max-width:360px){.sm-category-copy h2{font-size:18px!important}}

/* I2b (7 oct 2026, petición de Oscar): categorías y editoriales como en el mockup aprobado: foto completa con el texto encima, sin la división crema.
   Velo café sobre la foto para que el texto crema conserve contraste (≥4.5:1 medido). Botones crema con texto café sobre el velo. */
.s2-category.sm-category-photo{border:0;border-radius:8px;overflow:hidden;background:var(--sm-cafe)}
.sm-category-photo>picture::after{background:linear-gradient(to right,rgba(74,48,36,.84) 0,rgba(74,48,36,.76) 36%,rgba(74,48,36,.4) 58%,rgba(74,48,36,0) 80%)}
.sm-category-photo .sm-category-copy{color:var(--sm-crema)}
.sm-category-photo .sm-category-copy h2{color:var(--sm-crema)!important;text-shadow:0 1px 3px rgba(40,24,16,.5)}
.sm-category-photo .sm-category-copy>span{color:var(--sm-crema)}
@media(max-width:700px){
 .s2-category.sm-category-photo{display:block;min-height:190px}
 .sm-category-photo>picture{position:absolute;inset:0;z-index:-1;height:auto}
 .sm-category-photo>picture::after{display:block;background:linear-gradient(to top,rgba(74,48,36,.9) 0,rgba(74,48,36,.7) 42%,rgba(74,48,36,.18) 72%,rgba(74,48,36,0) 100%)}
 .sm-category-photo .sm-category-copy{position:relative;background:transparent;min-height:190px;padding:12px 10px;justify-content:flex-end}
 .sm-category-copy>span{margin-top:0}
}
/* Editoriales (escritorio y móvil; en tableta se conserva la versión apilada). */
@media(min-width:1001px),(max-width:700px){
 .s2-editorial.sm-editorial{position:relative;display:block;isolation:isolate;border:0;border-radius:8px;overflow:hidden;background:var(--sm-cafe);min-height:220px}
 .sm-editorial>picture{position:absolute;inset:0;z-index:-1;height:auto;display:block}
 .sm-editorial>picture::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to right,rgba(74,48,36,.86) 0,rgba(74,48,36,.78) 38%,rgba(74,48,36,.42) 60%,rgba(74,48,36,0) 82%)}
 .sm-editorial .sm-editorial-copy{position:relative;box-sizing:border-box;width:54%;min-height:220px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:16px 18px;color:var(--sm-crema)}
 .sm-editorial h2{color:var(--sm-crema)!important;text-shadow:0 1px 3px rgba(40,24,16,.5)}
 .sm-editorial p{color:var(--sm-crema)}
 .sm-editorial .s2-editorial-link,.sm-editorial .s2-editorial-link:hover{background:var(--sm-crema);color:var(--sm-cafe);border-color:var(--sm-crema)}
 .sm-editorial--woman>picture::after{background:linear-gradient(to left,rgba(74,48,36,.9) 0,rgba(74,48,36,.86) 42%,rgba(74,48,36,.52) 58%,rgba(74,48,36,0) 74%)}
 .sm-editorial--woman .sm-editorial-copy{margin-left:auto}
 .sm-editorial--woman>picture img{object-position:100% 40%}
 .sm-editorial--man>picture img{object-position:90% center}
 .sm-editorial--medallon>picture img{object-position:60% 72%}
}
@media(max-width:700px){.s2-editorial.sm-editorial{min-height:250px}.sm-editorial .sm-editorial-copy{min-height:250px}}
/* Escritorio estrecho (1001–1300 px): tarjetas más angostas, texto algo menor y velo más ancho para conservar el contraste. */
@media(min-width:1001px) and (max-width:1300px){
 .sm-category-photo .sm-category-copy{width:62%;padding:14px 8px 14px 12px}
 .sm-category-photo .sm-category-copy h2{font-size:16px!important}
 .sm-category-photo .sm-category-copy>span{font-size:13px}
 .sm-category-photo>picture::after{background:linear-gradient(to right,rgba(74,48,36,.88) 0,rgba(74,48,36,.84) 52%,rgba(74,48,36,.46) 70%,rgba(74,48,36,0) 88%)}
 .sm-editorial h2{font-size:20px!important}
 .sm-editorial .sm-editorial-copy{padding:14px 14px}
}
