/*
Theme Name: Historias que Impactan
Author: Historias que Impactan
Description: Revista de historias originales, adaptable a móviles, con búsqueda, categorías y espacios de widgets para publicidad.
Version: 1.0.1
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: historias-impactan
*/
:root{--paper:#faf8f4;--white:#fff;--ink:#262120;--muted:#736a65;--line:#e5ded6;--wine:#872f3b;--gold:#e7bd76;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.55 var(--sans)}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}img{display:block;max-width:100%;height:auto}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--wine);outline-offset:5px}button{color:inherit}::selection{background:#edd1d1}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--serif);font-weight:normal;line-height:1.12}.wrap{width:min(1180px,calc(100% - 56px));margin:auto}.skip-link{position:absolute;left:18px;top:-90px;background:var(--white);padding:12px;z-index:100}.skip-link:focus{top:15px}.announcement{background:#302527;color:#f3e4d6;text-align:center;padding:9px 16px;font-size:11px;letter-spacing:1.3px}.site-header{background:var(--paper);border-bottom:1px solid var(--line);position:relative;z-index:5}.header-inner{min-height:98px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;gap:11px;align-items:center;flex-shrink:0}.brand-mark{background:var(--wine);color:white;border-radius:50%;width:37px;height:37px;display:grid;place-items:center;font:italic 29px var(--serif)}.brand-text{font:22px/1.05 var(--serif);letter-spacing:-.5px}.brand-text strong{display:block;font-weight:normal}.brand-text em{color:var(--wine);font-style:normal}.brand-sub{font:9px var(--sans);letter-spacing:2.1px;color:var(--muted);display:block;margin-top:8px}.custom-logo{max-height:65px;width:auto}.header-actions{display:flex;gap:24px;align-items:center}.nav-links{display:flex;gap:25px;align-items:center}.nav-links a{font-size:13px}.nav-links a:hover,.footer-links a:hover{color:var(--wine)}.nav-links a.current{color:var(--wine)}.icon-button{border:1px solid var(--line);background:transparent;width:41px;height:41px;border-radius:50%;display:grid;place-items:center}.icon-button svg{width:19px;height:19px}.intro{padding:38px 0 25px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.eyebrow{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;font-weight:bold;color:var(--wine);margin-bottom:10px}.intro h1{font-size:35px;letter-spacing:-1px;margin-bottom:0}.intro-note{font-size:12px;color:var(--muted);margin:0 0 4px}.hero{position:relative;isolation:isolate;overflow:hidden;border-radius:13px;min-height:480px;display:flex;align-items:center;color:white;background:#302521}.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.hero::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(27,19,20,.93),rgba(27,19,20,.70) 38%,rgba(27,19,20,.12) 77%);z-index:-1}.hero-copy{padding:50px;max-width:575px}.hero .eyebrow{color:var(--gold);display:flex;align-items:center;gap:8px}.small-dot{width:5px;height:5px;background:currentColor;border-radius:50%;display:inline-block}.hero h2{font-size:57px;letter-spacing:-1.8px;margin-bottom:18px}.hero p{font-size:14px;line-height:1.8;max-width:330px;color:#eddfd7;margin-bottom:24px}.button{display:inline-flex;align-items:center;justify-content:center;gap:26px;padding:14px 22px;border-radius:5px;background:var(--wine);color:white;border:1px solid transparent;font-size:13px;font-weight:bold}.button:hover{filter:brightness(1.08)}.button-gold{color:#302521;background:var(--gold)}.text-link{font-size:12px;display:inline-flex;align-items:center;gap:12px;color:var(--wine);font-weight:bold}.hero-meta{display:flex;gap:15px;font-size:11px;color:#e0cfc2;margin-top:24px}.hero-number{position:absolute;bottom:24px;right:28px;font-size:10px;letter-spacing:2px;color:#e3d9d0}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:43px 0 23px}.section-heading h2{font-size:29px;letter-spacing:-.6px;margin-bottom:7px}.section-heading p{color:var(--muted);font-size:12px;margin-bottom:0}.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.filter{padding:9px 17px;border:1px solid var(--line);border-radius:24px;background:transparent;font-size:12px;white-space:nowrap}.filter.active{background:var(--ink);color:white;border-color:var(--ink)}.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px}.story-card{min-width:0}.card-picture{position:relative;display:block;border-radius:9px;overflow:hidden;background:#d9d0c7;aspect-ratio:1.64}.card-picture img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.story-card:hover .card-picture img{transform:scale(1.035)}.card-picture::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 60%,rgba(22,15,15,.48))}.picture-label{position:absolute;z-index:1;bottom:13px;left:15px;color:white;font-size:10px;letter-spacing:1px}.card-body{padding:19px 0 21px}.card-meta{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:10px;margin-bottom:10px}.category-label{color:var(--wine);text-transform:uppercase;font-size:9px;letter-spacing:1.2px;font-weight:bold}.story-card h3{font-size:25px;letter-spacing:-.4px;margin-bottom:11px}.story-card p{font-size:12px;color:var(--muted);line-height:1.75;margin-bottom:12px}.empty-result{padding:50px;text-align:center;border:1px solid var(--line);border-radius:8px;grid-column:1/-1}.editor-note{margin:32px 0 60px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:42px;align-items:center;padding:35px 0}.note-symbol{font:80px/1 var(--serif);color:var(--wine);min-width:70px;text-align:center}.editor-note h2{font-size:27px;margin-bottom:10px}.editor-note p{max-width:530px;font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:0}.editor-note .text-link{margin-left:auto;white-space:nowrap}.site-footer{border-top:1px solid var(--line);padding:40px 0 24px;background:#f1ede7}.footer-top{display:flex;justify-content:space-between;gap:30px;align-items:flex-start}.footer-text{font-size:12px;color:var(--muted);max-width:290px;margin:17px 0 0}.footer-links{display:flex;gap:26px;flex-wrap:wrap;font-size:12px;padding-top:6px}.footer-bottom{border-top:1px solid var(--line);margin-top:32px;padding-top:18px;display:flex;gap:15px;justify-content:space-between;color:var(--muted);font-size:10px}.search-panel{border:0;border-radius:12px;padding:30px;max-width:560px;width:calc(100% - 32px);background:var(--paper);color:var(--ink)}.search-panel::backdrop{background:rgba(24,18,18,.62);backdrop-filter:blur(3px)}.search-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.search-top h2{font-size:28px;margin:0}.search-form{display:flex;gap:10px}.search-field{background:white;border:1px solid var(--line);border-radius:5px;padding:12px 14px;width:100%;min-width:0}.search-help{font-size:12px;color:var(--muted);margin:15px 0 0}.breadcrumb{display:flex;flex-wrap:wrap;gap:9px;color:var(--muted);font-size:11px;margin:30px 0 25px}.article-heading{max-width:780px;text-align:center;margin:0 auto 28px}.article-heading h1{font-size:52px;letter-spacing:-1.5px;margin-bottom:18px}.article-heading .dek{font-size:15px;color:var(--muted);line-height:1.75;max-width:650px;margin:0 auto 18px}.article-meta{display:flex;align-items:center;justify-content:center;gap:13px;font-size:11px;color:var(--muted)}.article-image{width:100%;aspect-ratio:2.3;object-fit:cover;border-radius:10px;max-height:450px}.article-caption{font-size:10px;color:var(--muted);margin-top:7px;text-align:right}.article-body{max-width:690px;margin:35px auto;font:20px/1.88 var(--serif)}.article-body p{margin-bottom:23px}.article-body>p:first-of-type::first-letter{font-size:64px;line-height:.8;float:left;margin:12px 8px 0 0;color:var(--wine)}.article-body h2{font-size:31px;margin-top:35px}.article-question{border-left:3px solid var(--wine);background:#f0e8e2;padding:26px 30px;margin-top:36px}.article-question .eyebrow{font:10px var(--sans)}.article-question h2{font-size:27px;margin-bottom:13px}.article-question p{font:12px/1.7 var(--sans);color:var(--muted)}.share-status{font:12px var(--sans);display:block;margin-top:10px}.ad-widget{margin:26px auto;max-width:100%;overflow:hidden}.ad-widget .widget-title{font:9px var(--sans);letter-spacing:1px;color:var(--muted);text-align:center}.ad-demo{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;text-align:center;font-size:9px;letter-spacing:1.8px;color:#8f8580;margin:30px 0 0}.page-heading{padding:45px 0 30px;max-width:760px}.page-heading h1{font-size:45px;margin-bottom:12px}.page-heading p{font-size:14px;color:var(--muted)}.page-body{max-width:720px;margin:10px 0 70px;font-size:16px;line-height:1.85}.page-body h2{font-size:29px;margin-top:35px}.pagination{display:flex;justify-content:center;gap:10px;margin:30px 0 50px}.page-numbers{border:1px solid var(--line);padding:9px 15px;border-radius:4px}.page-numbers.current{background:var(--wine);color:white}.wp-block-image img{height:auto}.wp-block-embed iframe{max-width:100%}.alignwide{max-width:1100px}.hidden,[hidden]{display:none!important}.mobile-nav{display:none}.navigation-menu ul{list-style:none;margin:0;padding:0;display:flex;gap:22px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.notice-banner{padding:11px 15px;border:1px solid var(--line);font-size:12px;background:#fff;margin-bottom:20px}.comments-area{max-width:690px;margin:25px auto 50px}.comments-area textarea,.comments-area input:not([type=checkbox]){max-width:100%;border:1px solid var(--line);border-radius:4px;padding:10px}.comments-area .submit{background:var(--wine);color:white;border:0;padding:12px 20px}.comment-list{padding-left:20px;font-size:14px}.comment-form-comment label{display:block}
@media(min-width:1450px){.wrap{width:min(1260px,calc(100% - 80px))}.hero{min-height:520px}}
@media(max-width:950px){.nav-links{gap:16px}.header-actions{gap:15px}.hero{min-height:440px}.hero-copy{padding:38px;max-width:520px}.hero h2{font-size:49px}.section-heading{align-items:flex-start;flex-direction:column;gap:18px}.story-grid{gap:20px}.story-card h3{font-size:23px}.editor-note{gap:20px}.editor-note .text-link{display:none}}
@media(max-width:690px){.wrap{width:calc(100% - 36px)}.announcement{font-size:9px;padding:8px 12px;letter-spacing:1px}.header-inner{min-height:81px;gap:14px}.brand-mark{width:32px;height:32px;font-size:25px}.brand-text{font-size:20px}.brand-sub{font-size:8px;letter-spacing:1.3px}.header-actions{gap:8px}.nav-links,.navigation-menu{display:none}.mobile-nav{display:flex;gap:24px;border-top:1px solid var(--line);padding:11px 18px;overflow-x:auto;font-size:11px;white-space:nowrap}.intro{padding:27px 0 20px;display:block}.intro h1{font-size:30px}.intro-note{margin-top:10px;font-size:11px}.hero{min-height:450px;border-radius:9px;align-items:flex-end}.hero-photo{object-position:65% center}.hero::after{background:linear-gradient(0deg,rgba(24,17,18,.97),rgba(24,17,18,.7) 48%,rgba(24,17,18,.02) 100%)}.hero-copy{padding:25px 24px}.hero h2{font-size:41px;letter-spacing:-1px;max-width:315px;margin-bottom:12px}.hero p{font-size:12px;line-height:1.7;max-width:310px;margin-bottom:19px}.hero .eyebrow{font-size:9px;margin-bottom:12px}.hero-meta{margin-top:17px;font-size:10px}.hero-number{display:none}.section-heading{margin-top:31px;margin-bottom:21px}.section-heading h2{font-size:27px}.filter{padding:8px 13px;font-size:11px}.filters{gap:6px}.story-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:17px;row-gap:4px}.card-picture{aspect-ratio:1.12;border-radius:6px}.card-body{padding:13px 0 20px}.story-card h3{font-size:21px;margin-bottom:8px}.story-card p{font-size:11px;line-height:1.65;margin-bottom:10px}.card-meta{gap:5px;flex-wrap:wrap;font-size:9px;margin-bottom:8px}.category-label{font-size:8px}.picture-label{font-size:8px;left:10px;bottom:10px;letter-spacing:.4px}.text-link{font-size:11px;gap:8px}.editor-note{margin:25px 0 37px;padding:26px 0;align-items:flex-start}.note-symbol{min-width:32px;font-size:54px}.editor-note h2{font-size:25px}.editor-note p{font-size:12px}.footer-top{flex-direction:column;gap:22px}.footer-links{gap:17px;font-size:11px}.footer-bottom{flex-direction:column;gap:8px;margin-top:24px}.site-footer{padding-top:30px}.article-heading{text-align:left;margin-bottom:23px}.article-heading h1{font-size:39px;letter-spacing:-1px}.article-heading .dek{font-size:13px}.article-meta{justify-content:flex-start;flex-wrap:wrap;font-size:10px}.article-image{aspect-ratio:1.4}.article-body{font-size:19px;line-height:1.85;margin-top:25px}.article-question{padding:22px}.article-question h2{font-size:25px}.page-heading{padding-top:30px}.page-heading h1{font-size:37px}.page-body{font-size:15px}.search-form{flex-direction:column}.search-panel{padding:24px}.breadcrumb{margin-top:23px}.ad-demo{margin-top:22px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
