/*
Theme Name: Objetivo Uno
Description: Portal editorial propio, independiente de Bricks y JetEngine.
Version: 1.0.0
Requires PHP: 8.1
License: GPL-2.0-or-later
*/
:root{--ou-red:#cd3532;--ou-ink:#272525;--ou-accent:#757575;--ou-gray:#bfc1c2;--ou-line:#ddd;--ou-complement:#e0e0e0;--ou-width:1060px}
*{box-sizing:border-box}body{margin:0;color:var(--ou-ink);font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:#fff}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto;display:block}button,input,select,textarea{font:inherit}button{cursor:pointer}svg{width:24px;height:24px;display:block}h1,h2,h3,p,figure{margin:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #0b67b7;outline-offset:4px}button{color:inherit}button[hidden],[hidden]{display:none!important}.container{width:calc(100% - 40px);max-width:var(--ou-width);margin-inline:auto}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:white;padding:12px}.skip-link:focus{top:10px}
.site-header{background:var(--ou-gray);padding:20px 0}.header-bar{min-height:70px;border-radius:11px;background:white;display:flex;align-items:center;justify-content:center;gap:54px;padding:10px 22px}.brand{flex:0 0 120px}.brand img{width:120px;height:51px;object-fit:contain}.header-bar nav ul{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}.header-bar nav a{font-size:18px;font-weight:600;white-space:nowrap}.header-bar nav a[aria-current]{color:var(--ou-red)}.menu-toggle{display:none;border:0;background:transparent;align-items:center;gap:10px}.search-bar{margin-top:14px;background:var(--ou-red);min-height:72px;display:flex;align-items:center;gap:22px;padding:14px 20px;border-radius:11px}.search-bar input{min-width:0;flex:1;background:transparent;color:#fff;border:0;border-bottom:1px solid #fff;padding:10px 20px;outline-offset:2px;font-size:14px}.search-bar input::placeholder{color:#f2cbc9;opacity:1}.search-bar button{width:40px;height:40px;border:0;border-radius:50%;background:var(--ou-complement);display:grid;place-items:center;flex-shrink:0}.search-bar button svg{width:20px;height:20px}
.home-top{background:var(--ou-gray);padding-bottom:30px}.news-carousel{position:relative}.hero-slide{display:grid;grid-template-columns:49% 51%;min-height:390px;background:var(--ou-accent);position:relative}.hero-image{display:block;min-width:0}.hero-image img{width:100%;height:390px;object-fit:cover}.hero-category{position:absolute;top:16px;left:16px;border:2px solid #fff;border-radius:4px;padding:3px 7px;color:white;background:#5559;font-size:16px}.hero-copy{padding:20px 20px 52px;color:white;min-width:0}.hero-copy h1{font-size:25px;line-height:1.35;font-weight:700;text-transform:uppercase;margin-bottom:2px}.hero-copy time{color:#222;font-size:18px}.hero-copy p{font-size:18px;line-height:1.2;margin:7px 0 14px;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}.read-more{display:block;width:fit-content;margin-left:auto;border:2px solid #fff;border-radius:4px;padding:6px 9px;font-size:14px;font-weight:600}.carousel-arrow{position:absolute;top:44%;background:transparent;border:0;padding:10px;color:#050505;z-index:2}.carousel-arrow svg{height:42px;width:32px;stroke-width:3}.previous{left:0}.next{right:0}.carousel-bottom{position:absolute;bottom:10px;right:20px;display:flex;align-items:center;gap:14px;color:white;font-size:12px}.carousel-pause{background:transparent;color:white;border:1px solid #eee;border-radius:4px;padding:2px 8px}.advertisement{margin-top:30px;text-align:center}.advertisement picture,.advertisement a{display:block;max-width:900px;margin:auto}.advertisement img{width:100%;height:auto;max-height:230px;object-fit:contain}
.home-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 12px;padding-block:28px 38px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:2px solid var(--ou-red);margin-bottom:5px}.section-heading h2{font-size:25px;color:var(--ou-red);line-height:1.4;font-weight:600;text-transform:uppercase}.section-heading>a{font-size:14px;text-transform:uppercase;white-space:nowrap}.section-heading>a>span[aria-hidden]{display:inline-grid;place-items:center;background:var(--ou-red);color:#fff;border-radius:50%;font-size:20px;width:22px;height:22px;margin-left:5px}.news-card{min-width:0;border:1px solid var(--ou-line);border-radius:5px;overflow:hidden;background:#fff}.card-image{display:block}.card-image img,.image-placeholder{width:100%;aspect-ratio:16/10;object-fit:cover}.image-placeholder{display:grid;place-items:center;background:#eee;color:#555;font-weight:700}.card-copy{padding:14px}.card-copy h3{font-size:22px;line-height:1.25;text-transform:uppercase;overflow-wrap:anywhere}.card-copy time{font-size:13px;color:#686868}.card-copy p{margin-top:10px;color:#555;font-size:15px}.compact{display:grid;grid-template-columns:30% minmax(0,1fr);gap:10px;margin-top:5px;padding:5px}.compact .card-image img,.compact .image-placeholder{height:90px;aspect-ratio:auto}.compact .card-copy{padding:0}.compact .card-copy h3{font-size:22px;line-height:1.18;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.compact .card-copy time{display:block;margin-top:5px}.section-news:nth-last-child(2):nth-child(3n+1){grid-column:auto}
.listing-page,.article-page{padding-block:24px 50px;min-height:50vh}.listing-page>h1{font-size:32px;color:var(--ou-red);margin-bottom:24px}.listing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.pagination{margin-top:32px}.pagination .nav-links{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.page-numbers{padding:8px 14px;border:1px solid var(--ou-line);border-radius:4px}.page-numbers.current{color:white;background:var(--ou-red);border-color:var(--ou-red)}.article-photo img{width:100%;max-height:430px;object-fit:cover}.article-photo figcaption{font-size:12px;color:#666;padding:6px 0}.article-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin:30px 0 20px}.article-page h1{font-size:29px;text-transform:uppercase;line-height:1.25}.article-meta{font-size:14px;color:#606060;margin-top:7px}.category-pill{background:var(--ou-red);color:white;padding:8px 15px;border-radius:5px;text-transform:uppercase;flex-shrink:0;margin-top:12px}.article-content{font-size:18px;line-height:1.65;overflow-wrap:anywhere}.article-content p{margin-bottom:20px}.article-content h2,.article-content h3{margin:24px 0 12px}.article-content ul,.article-content ol{padding-left:26px}.article-content a{color:var(--ou-red);text-decoration:underline}.article-content iframe{max-width:100%}.article-content img{height:auto;margin-block:18px}.article-content figure{max-width:100%;margin-block:22px}.article-tags{border-top:1px solid #ddd;padding-top:20px;font-size:14px;margin-top:32px}.article-tags a{color:var(--ou-red)}.related-news{margin-top:40px}.related-news .section-heading{margin-bottom:15px}.redactor-photo{max-width:250px}.action-link{display:inline-block;margin-top:20px;color:var(--ou-red);font-weight:600}.site-footer{background:#272525;color:#fff;padding:30px 0}.footer-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.footer-brand{font-size:24px;font-weight:800;color:#ff5552}.footer-brand strong{color:white}.social-links{display:flex;flex-wrap:wrap;gap:16px;font-size:14px;align-items:center}.site-footer p{font-size:13px;color:#ccc;margin-top:24px}.wp-block-image img{max-width:100%}.aligncenter{margin-inline:auto}.alignleft{float:left;margin-right:20px}.alignright{float:right;margin-left:20px}
@media(max-width:1120px){.header-bar{gap:24px}.header-bar nav ul{gap:15px}.header-bar nav a{font-size:16px}.compact .card-copy h3{font-size:19px}}
@media(max-width:900px){.header-bar{justify-content:space-between;flex-wrap:wrap;gap:0}.menu-toggle{display:flex}.header-bar nav{display:none;width:100%;padding-top:16px}.header-bar nav.is-open{display:block}.header-bar nav ul{display:grid;grid-template-columns:repeat(2,1fr);gap:0}.header-bar nav a{display:block;padding:10px 8px}.hero-copy h1{font-size:22px}.hero-copy p{font-size:16px;-webkit-line-clamp:7}.home-sections{grid-template-columns:repeat(2,minmax(0,1fr))}.listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.container{width:calc(100% - 28px)}.site-header{padding:14px 0}.header-bar{min-height:68px;padding:10px 16px}.brand{flex-basis:106px}.brand img{width:106px}.search-bar{min-height:62px;padding:10px 12px;gap:12px}.search-bar input{padding:8px;font-size:14px}.hero-slide{grid-template-columns:1fr}.hero-image img{height:auto;aspect-ratio:4/3;object-fit:cover}.hero-copy{padding:18px 16px 45px}.hero-copy h1{font-size:22px}.hero-copy time{font-size:14px;color:#eee}.hero-copy p{font-size:16px;-webkit-line-clamp:4;margin-block:10px 14px}.carousel-arrow{top:22%;background:#fff9;border-radius:4px;padding:3px}.carousel-arrow svg{height:32px;width:24px}.previous{left:5px}.next{right:5px}.advertisement{margin-top:20px}.advertisement img{max-height:none}.home-sections{grid-template-columns:1fr;gap:28px;padding-block:24px}.section-heading h2{font-size:23px}.compact{grid-template-columns:31% minmax(0,1fr)}.compact .card-copy h3{font-size:20px;-webkit-line-clamp:3}.listing-grid{grid-template-columns:1fr}.listing-page>h1{font-size:26px}.article-heading{flex-direction:column;gap:8px;margin-top:20px}.article-page h1{font-size:24px}.category-pill{margin-top:0;font-size:13px}.article-content{font-size:17px}.article-photo img{max-height:none;aspect-ratio:4/3}.footer-top{flex-direction:column;align-items:flex-start}.social-links{gap:12px}.alignleft,.alignright{float:none;margin-inline:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}
