/*
Theme Name: David Valdivielso — Inicio
Theme URI: https://davidvaldivielso.com/
Description: Portada editorial personalizada para David Valdivielso. Tema hijo de Twenty Twenty-Four.
Author: David Valdivielso
Version: 1.6.0
Template: twentytwentyfour
Text Domain: david-valdivielso-home
*/


.dvh-home{margin:0;background:#f7f5f0;color:#24221f;font:16px/1.7 Arial,Helvetica,sans-serif}
.dvh-home *{box-sizing:border-box}.dvh-home a{color:inherit;text-decoration:none}.dvh-wrap{width:min(1160px,calc(100% - 48px));margin:auto}
.dvh-header{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ded9d0;padding:0 max(24px,calc((100% - 1160px)/2))}
.dvh-brand{font:17px Georgia,serif;letter-spacing:.14em}.dvh-header nav{display:flex;gap:24px;font-size:11px;letter-spacing:.12em;text-transform:uppercase}
.dvh-home h1,.dvh-home h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.12}.dvh-home h1{font-size:clamp(42px,5.5vw,76px);margin:22px 0}.dvh-home h2{font-size:clamp(34px,4vw,52px);margin:0 0 18px}
.dvh-kicker,.dvh-note{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#716c64}.dvh-home p{color:#716c64;max-width:620px}.dvh-lead{font-size:18px}
.dvh-hero,.dvh-feature{display:grid;grid-template-columns:.85fr 1.15fr;gap:54px;align-items:center;padding:82px 0}
.dvh-image{background:linear-gradient(135deg,#e8e2d8,#d2cabe);display:flex;align-items:center;justify-content:center;text-align:center;padding:24px;color:#766e63;font-size:11px;letter-spacing:.12em;text-transform:uppercase;min-height:430px}
.dvh-hero-image{min-height:570px}.dvh-note{text-align:right;margin-top:9px}
.dvh-section{padding:84px 0;border-top:1px solid #ded9d0}.dvh-intro{text-align:center;max-width:760px}.dvh-intro p{margin:20px auto}
.dvh-section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:30px}.dvh-section-head p{max-width:440px;margin:0}
.dvh-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.dvh-grid figure{margin:0}.dvh-grid .dvh-short{min-height:320px}
.dvh-grid figcaption,.dvh-books figcaption{display:flex;justify-content:space-between;padding-top:10px;font-size:12px;color:#716c64}.dvh-link{display:inline-block;border-bottom:1px solid #9a805c;padding-bottom:4px;margin-top:15px}
.dvh-feature-image{min-height:520px}.dvh-books{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}.dvh-books .dvh-image{min-height:330px}
.dvh-contact{background:#292722;color:#f7f5f0;padding:82px 0}.dvh-contact p,.dvh-contact .dvh-kicker{color:#d0cbc2}.dvh-contact .dvh-image{background:#49453e;color:#ddd5c9}
.dvh-footer{padding:28px max(24px,calc((100% - 1160px)/2));display:flex;justify-content:space-between;color:#716c64;font-size:10px;letter-spacing:.1em;text-transform:uppercase}
@media(max-width:720px){.dvh-wrap{width:calc(100% - 36px)}.dvh-header{height:auto;padding:20px 18px;align-items:flex-start;gap:18px;flex-direction:column}.dvh-header nav{flex-wrap:wrap;gap:12px 16px}.dvh-hero,.dvh-feature{grid-template-columns:1fr;gap:26px;padding:55px 0}.dvh-hero-image{min-height:400px}.dvh-section{padding:60px 0}.dvh-section-head{display:block}.dvh-section-head p{margin-top:14px}.dvh-grid{gap:12px}.dvh-grid .dvh-image{min-height:280px}.dvh-grid .dvh-short{min-height:230px}.dvh-books{gap:10px}.dvh-books .dvh-image{min-height:220px}.dvh-footer{flex-direction:column;gap:8px}}

/* Imágenes reales seleccionadas desde Personalizar */
.dvh-photo{display:block;width:100%;height:100%;min-height:inherit;object-fit:cover}.dvh-image:has(.dvh-photo){padding:0;overflow:hidden;background:none}
/* 1.6.0 — Catálogo y páginas interiores */
.dvh-catalog{padding:90px 0 120px;background:#f7f5f0;color:#24221f}.dvh-catalog h1,.dvh-single h1{font:clamp(48px,7vw,88px)/1.05 Georgia,serif;margin:12px 0 24px}.dvh-filters{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin:45px 0 38px;padding:22px 0;border-top:1px solid #ded9d0;border-bottom:1px solid #ded9d0}.dvh-filters label{display:grid;gap:7px;font-size:12px;letter-spacing:.04em}.dvh-filters select,.dvh-filters button{padding:11px 14px;border:1px solid #bdb5a9;background:transparent;color:inherit;font:inherit}.dvh-filters button{cursor:pointer;background:#24221f;color:#f7f5f0}.dvh-filters>a{font-size:13px;text-decoration:underline;padding:10px}.dvh-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.dvh-art-card .dvh-image{aspect-ratio:4/5;background:#e4ded4;overflow:hidden}.dvh-art-card img{width:100%;height:100%;object-fit:cover}.dvh-art-card h3{font:24px Georgia,serif;margin:14px 0 4px}.dvh-art-card p{font-size:13px;color:#777168;margin:0}.dvh-single{padding:85px 0 120px}.dvh-single-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:55px}.dvh-single-layout>div>img{width:100%;height:auto}.dvh-single aside{border-top:1px solid #ded9d0;padding-top:18px}.dvh-single aside p{margin:0 0 24px;color:#777168}.dvh-single aside strong{color:#24221f}.dvh-content{margin-top:25px}
@media(max-width:760px){.dvh-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dvh-single-layout{grid-template-columns:1fr;gap:25px}.dvh-filters{align-items:stretch}.dvh-filters label{flex:1 1 140px}}
