/* ELYAN D01 G2 / PH02 — fotografía individual en tarjeta de Cotizaciones que se detienen.
   Integración inspirada en el boceto maestro aportado por N0, NO fotografía de plantilla.
   PH03 proyecto, placeholder explícito, pendiente. Diseño no desplegado oficialmente. */
.problem .problem-layout{
 grid-template-columns:minmax(245px,.55fr) minmax(0,1.45fr);
 gap:16px;
 align-items:stretch;
}
.problem-editorial{
 background:linear-gradient(135deg,#fffaf4 0%,#e9e2d9 100%);
 border:1px solid #d2c1b0;
 padding:clamp(22px,3.1vw,43px);
 display:flex;flex-direction:column;
 justify-content:space-between;min-height:550px;
 position:relative;overflow:hidden;
}
.problem-editorial:before{
 content:"";position:absolute;width:1px;height:61%;
 background:#956e57;transform:rotate(19deg);
 right:12%;top:13%;pointer-events:none;
}
.problem-editorial-index{font-size:10px;letter-spacing:.18em;color:#93755f;font-weight:700}
.problem-editorial-head{
 font:400 clamp(30px,3.2vw,54px)/1.16 'DM Serif Display',Georgia,serif;
 max-width:360px;color:#212733;letter-spacing:-.02em;
}
.problem-editorial-head em{font-weight:400;color:#916f5b}
.problem-editorial-foot{
 border-top:1px solid #b5a18f;padding-top:17px;
 max-width:320px;font-size:12px;color:#5c5c5b;line-height:1.7;
}
.problem .problem-cards{
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:14px;background:transparent;
 align-items:stretch;
}
.problem .problem-card{
 min-height:0;position:relative;
}
.problem .problem-photo-card{
 padding:0;height:337px;display:block;
 isolation:isolate;
 overflow:hidden;background:#31333a;color:#fff;
 border:1px solid #b8ada0;
}
.problem .problem-photo-card img{
 position:absolute;inset:0;width:100%;height:100%;
 object-fit:cover;object-position:56% 48%;
}
.problem .problem-photo-card .problem-photo-shade,
.problem .problem-photo-card .problem-next-photo-placeholder{
 position:absolute;inset:0;
}
.problem .problem-photo-card .problem-photo-shade{
 background:linear-gradient(0deg,rgba(10,15,22,.94) 0%,rgba(12,17,24,.76) 26%,rgba(15,20,26,.22) 60%,rgba(15,20,26,.02) 100%);
}
.problem .problem-photo-card .problem-photo-content{
 z-index:1;position:absolute;left:0;right:0;bottom:0;
 padding:23px clamp(17px,2.3vw,31px) 20px;
 display:flex;flex-direction:column;gap:7px;
 text-shadow:0 1px 8px rgba(0,0,0,.25);
}
.problem-photo-content span{
 color:#f0d1b3;font-weight:700;font-size:10px;letter-spacing:.12em;
}
.problem .problem-photo-content h3{
 color:#fff;font:400 clamp(24px,2.45vw,36px)/1.08 'DM Serif Display',Georgia,serif;
}
.problem .problem-photo-content p{
 color:#eee9e5;font-size:12px;line-height:1.55;
}
.problem .problem-ph03-pending{
 border-color:#bca894;background:#303841;
}
.problem-next-photo-placeholder{
 background:
  linear-gradient(135deg,#5a574e88 0%,#2c384e 60%,#151b25),
  repeating-linear-gradient(90deg,transparent 0,transparent 32px,#e1cdb220 33px,#e1cdb220 34px);
 display:flex;flex-direction:column;align-items:flex-start;gap:8px;
 padding:21px;
}
.problem-next-photo-placeholder>span{
 font:600 23px 'Barlow Condensed',sans-serif;
 letter-spacing:.12em;color:#dec9b4;
}
.problem-next-photo-placeholder>small{
 font-size:10px;letter-spacing:.06em;color:#e7dbcb;
 max-width:200px;
}
.problem .problem-text-card{
 padding:22px clamp(17px,2vw,29px);min-height:210px;
 display:flex;flex-direction:column;gap:10px;
 border-left:3px solid #b28b70;background:#fffaf3;
}
.problem .problem-text-card h3{
 font-size:clamp(22px,1.9vw,29px);margin:0;
}
.problem .problem-text-card p{
 font-size:12px;color:#585856;
}
@media(max-width:1100px){
 .problem .problem-layout{grid-template-columns:minmax(230px,.53fr) minmax(0,1.47fr)}
 .problem-editorial{padding:22px;min-height:530px}
 .problem .problem-photo-card{height:322px}
 .problem .problem-photo-card .problem-photo-content{padding:16px}
 .problem .problem-photo-content h3{font-size:27px}
 .problem .problem-text-card{padding:18px}
}
@media(max-width:800px){
 .problem .problem-layout{grid-template-columns:1fr}
 .problem-editorial{min-height:215px;padding:25px;display:grid;grid-template-columns:1fr 1.3fr;gap:20px;align-items:center}
 .problem-editorial-index{grid-column:1/-1}
 .problem-editorial-head{font-size:35px}
 .problem-editorial-foot{margin:0}
 .problem-editorial:before{height:65%;right:45%;top:15%}
 .problem .problem-photo-card{height:310px}
}
@media(max-width:520px){
 .problem-editorial{min-height:0;display:flex;gap:19px;padding:24px}
 .problem-editorial-head{font-size:36px;max-width:290px}
 .problem-editorial:before{right:16%;height:48%}
 .problem .problem-cards{grid-template-columns:1fr;gap:12px}
 .problem .problem-photo-card{height:324px}
 .problem .problem-photo-card img{object-position:51% 45%}
 .problem .problem-photo-card .problem-photo-content{padding:22px 20px}
 .problem .problem-photo-content h3{font-size:32px}
 .problem .problem-photo-content p{font-size:12px}
 .problem .problem-text-card{min-height:0;padding:20px 19px}
 .problem .problem-text-card h3{font-size:28px}
}
@media(prefers-reduced-motion:reduce){
 .problem .problem-photo-card img{transform:none!important;transition:none!important}
}
