/* Ultra Techos – artículo del blog (WordPress). Se carga después de /styles.css del sitio. */
.post-main{width:100%;background:#fcf9f3;color:#5b6b78}
.post-main .post{display:block}

/* Cabecera del artículo */
.post-header{display:flex;flex-direction:column;align-items:center;gap:15px;padding:clamp(40px,7vw,72px) 20px 0;text-align:center}
.post-eyebrow{margin:0;font:700 14px/16.8px Inter,sans-serif;letter-spacing:.7px;text-transform:uppercase;color:#f0791f}
.post-title{margin:0;max-width:760px;text-wrap:balance;font:800 clamp(1.75rem,1.1rem + 2.6vw,3rem)/1.22 "Hanken Grotesk",Inter,sans-serif;letter-spacing:-.027em;color:#051d31}

/* Imagen de portada */
.post-hero{width:min(1035px,calc(100% - 40px));margin:clamp(28px,4.5vw,48px) auto 0;aspect-ratio:1035/494;border-radius:clamp(18px,3vw,28px);overflow:hidden;background:#e8e6e0}
.post-hero-img{display:block;width:100%;height:100%;object-fit:cover}

/* Cuerpo */
.post-body{width:min(720px,calc(100% - 40px));margin:clamp(32px,5vw,56px) auto 0;padding-bottom:clamp(48px,7vw,80px)}
.entry-content{font:400 18px/1.6 Inter,sans-serif;color:#5b6b78;overflow-wrap:anywhere}
.entry-content>*:first-child{margin-top:0}
.entry-content p{margin:0 0 20px}
.entry-content h2{margin:44px 0 18px;font:700 clamp(1.5rem,1.2rem + 1vw,2rem)/1.3 "Hanken Grotesk",Inter,sans-serif;color:#051d31}
.entry-content h3{margin:34px 0 14px;font:700 clamp(1.25rem,1.1rem + .6vw,1.5rem)/1.3 "Hanken Grotesk",Inter,sans-serif;color:#051d31}
.entry-content h4{margin:28px 0 10px;font:700 1.125rem/1.35 "Hanken Grotesk",Inter,sans-serif;color:#051d31}
.entry-content strong,.entry-content b{color:#051d31;font-weight:700}
.entry-content a{color:#863900;text-decoration:underline;text-underline-offset:3px}
.entry-content a:hover{color:#e77204}
.entry-content ul,.entry-content ol{margin:0 0 22px;padding-left:1.4em}
.entry-content li{margin:0 0 8px;padding-left:.2em}
.entry-content li::marker{color:#e77204}
.entry-content blockquote{margin:28px 0;padding:6px 0 6px 22px;border-left:4px solid #e77204;font:italic 400 1.1875rem/1.6 Inter,sans-serif;color:#051d31}
.entry-content blockquote p:last-child{margin-bottom:0}
.entry-content hr{margin:36px 0;border:0;border-top:1px solid #dcdad4}
.entry-content img,.entry-content video{max-width:100%;height:auto;border-radius:16px}
.entry-content figure{margin:30px 0}
.entry-content figcaption,.entry-content .wp-element-caption{margin-top:10px;font:400 .875rem/1.5 Inter,sans-serif;color:#6b7c89;text-align:center}
.entry-content .aligncenter{display:block;margin-inline:auto}
.entry-content .alignleft{float:left;margin:6px 24px 14px 0;max-width:50%}
.entry-content .alignright{float:right;margin:6px 0 14px 24px;max-width:50%}
.entry-content .alignwide,.entry-content .alignfull{width:100%;max-width:100%}
/* Tablas: contenedor con scroll horizontal en pantallas angostas (la tabla conserva un ancho mínimo legible) */
.entry-content .wp-block-table{margin:30px 0;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #dcdad4;border-radius:16px;background:#fff}
.entry-content table{width:100%;min-width:640px;margin:0;overflow-wrap:normal;word-break:normal;border-collapse:collapse;font:400 .9375rem/1.45 Inter,sans-serif;color:#5b6b78}
.entry-content :where(.entry-content>table){margin:30px 0}
.entry-content table th,.entry-content table td{overflow-wrap:normal;padding:13px 16px;border:0;border-bottom:1px solid #e8e6e0;text-align:left;vertical-align:top}
.entry-content table th{border-bottom:2px solid #dcdad4;background:#f0eee8;color:#051d31;font-weight:700;white-space:nowrap}
.entry-content td:first-child,.entry-content th:first-child{color:#051d31;font-weight:700}
.entry-content tbody tr:last-child td{border-bottom:0}
.entry-content tbody tr:nth-child(even) td{background:#fcfbf8}
.entry-content iframe,.entry-content .wp-block-embed__wrapper iframe{max-width:100%;border:0;border-radius:12px}
.entry-content::after{content:"";display:block;clear:both}

/* Compartir */
.post-share{margin-top:clamp(28px,4vw,44px)}
.post-share>div{width:100%!important;max-width:100%}

/* Productos relacionados: ancho completo dentro del <main> */
.post-main>section{width:100%}

@media(max-width:640px){
  .entry-content{font-size:17px}
  .entry-content .alignleft,.entry-content .alignright{float:none;max-width:100%;margin:22px 0}
}
