/*
Theme Name: Abogatic Villarrobledo
Theme URI: https://www.abogadovillarrobledo.com/
Description: Tema editorial hijo de Twenty Twenty-Five para el blog del despacho.
Author: Abogatic
Template: twentytwentyfive
Version: 1.0.2
Text Domain: abogatic-villarrobledo
*/

:root { --abogatic-ink:#172c29; --abogatic-green:#1d5b50; --abogatic-gold:#c7a56b; --abogatic-paper:#f7f6f1; }
html { scroll-behavior:smooth; }
body { background:var(--abogatic-paper); color:var(--abogatic-ink); }
a { text-underline-offset:.2em; }
.abogatic-hero { margin:0 !important; min-height:clamp(250px, 33vw, 420px) !important; }
.abogatic-hero .wp-block-cover__image-background { object-position:center 52%; }
.abogatic-hero .wp-block-cover__background { opacity:.37 !important; }
.abogatic-hero .wp-block-site-title { max-width:1000px; margin:0 auto; color:#fff; font-family:Georgia,'Times New Roman',serif; font-size:clamp(2rem,4.7vw,4.15rem); font-weight:600; line-height:1.1; letter-spacing:-.035em; text-align:center; text-shadow:0 2px 22px rgba(0,0,0,.45); }
.abogatic-nav-wrap { background:#fff; border-bottom:1px solid #e6e5de; box-shadow:0 6px 22px rgba(23,44,41,.05); }
.abogatic-nav-inner { min-height:76px; }
.abogatic-nav-inner > .wp-block-site-title { max-width:48%; font-size:1rem; line-height:1.35; font-weight:650; }
.abogatic-nav-inner .wp-block-navigation a { color:var(--abogatic-ink); font-weight:600; }
.abogatic-nav-inner .wp-block-navigation a:hover { color:var(--abogatic-green); }
.abogatic-main { padding-top:clamp(2.25rem,5vw,4rem); padding-bottom:clamp(3rem,6vw,5rem); }
.abogatic-home-heading { margin:0 0 1.6rem; color:var(--abogatic-ink); font-family:Georgia,'Times New Roman',serif; font-size:clamp(2rem,3vw,2.8rem); letter-spacing:-.025em; }
.abogatic-layout { align-items:flex-start; gap:clamp(2rem,4.5vw,4.25rem) !important; }
.abogatic-layout > .wp-block-column:first-child { min-width:0; }
.abogatic-query .wp-block-post-template { margin:0; padding:0; list-style:none; }
.abogatic-query .wp-block-post-template > li { margin:0 0 1.7rem; }
.abogatic-post-card { overflow:hidden; background:#fff; border:1px solid #e6e5de; border-radius:16px; box-shadow:0 8px 28px rgba(23,44,41,.045); }
.abogatic-post-card__image { margin:0; }
.abogatic-post-card__image img { display:block; width:100%; aspect-ratio:16/8; object-fit:cover; }
.abogatic-post-card__body { padding:clamp(1.25rem,2.5vw,2rem); }
.abogatic-post-card__body .wp-block-post-date { margin:0 0 .7rem; color:#697973; font-size:.82rem; font-weight:650; letter-spacing:.04em; text-transform:uppercase; }
.abogatic-post-card__body .wp-block-post-title { margin:0 0 .75rem; font-family:Georgia,'Times New Roman',serif; font-size:clamp(1.45rem,2.4vw,2rem); line-height:1.2; }
.abogatic-post-card__body .wp-block-post-title a { color:var(--abogatic-ink); text-decoration:none; }
.abogatic-post-card__body .wp-block-post-title a:hover { color:var(--abogatic-green); }
.abogatic-post-card__body .wp-block-post-excerpt { margin:0; color:#4b5a55; }
.abogatic-post-card__body .wp-block-post-excerpt__more-link { display:inline-block; margin-top:.8rem; color:var(--abogatic-green); font-weight:700; }
.abogatic-query .wp-block-query-pagination { margin-top:2rem; padding-top:1.25rem; border-top:1px solid #dfdfd7; }
.abogatic-home-sidebar { padding-top:5rem; }
.abogatic-sidebar { display:flex; flex-direction:column; gap:1.25rem; min-width:0; }
.hal9000-promo { overflow:hidden; border:1px solid rgba(24,60,52,.16); border-radius:18px; background:linear-gradient(145deg,#173d36,#0e2926); box-shadow:0 12px 34px rgba(23,44,41,.12); }
.hal9000-promo > a { display:block; color:#fff; text-decoration:none; }
.hal9000-promo__image { display:block; padding:9px 12px 0; background:#f8f7f3; }
.hal9000-promo__image img { display:block; width:100%; height:auto; max-height:180px; object-fit:contain; }
.hal9000-promo__copy { padding:1.25rem 1.35rem 1.45rem; }
.hal9000-promo__eyebrow { margin:0 0 .35rem; color:#d8c091; font-size:.72rem; font-weight:750; letter-spacing:.14em; text-transform:uppercase; }
.hal9000-promo__copy h2 { margin:0 0 .55rem; color:#fff; font-family:Georgia,'Times New Roman',serif; font-size:1.75rem; line-height:1.1; }
.hal9000-promo__copy p { margin:0 0 1rem; color:#e0e9e5; font-size:.96rem; line-height:1.55; }
.hal9000-promo__cta { display:inline-flex; align-items:center; gap:.45rem; padding:.65rem .9rem; border-radius:8px; background:#d6b676; color:#172c29; font-weight:750; }
.youtube-channel-card { overflow:hidden; padding:1rem; border:1px solid #e6e5de; border-radius:15px; background:#fff; box-shadow:0 8px 24px rgba(23,44,41,.04); }
.youtube-channel-card__title { margin:0 0 .8rem; color:var(--abogatic-ink); font-family:Georgia,'Times New Roman',serif; font-size:1.16rem; line-height:1.25; }
.youtube-channel-card__video { display:block; overflow:hidden; border-radius:10px; color:var(--abogatic-ink); text-decoration:none; }
.youtube-channel-card__video img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; background:#e7e7e2; }
.youtube-channel-card__video-copy { display:block; padding:.7rem .1rem .35rem; }
.youtube-channel-card__video-copy small { display:block; margin:0 0 .25rem; color:#697973; font-size:.76rem; font-weight:750; letter-spacing:.07em; text-transform:uppercase; }
.youtube-channel-card__video-copy strong { display:block; font-size:.95rem; line-height:1.4; }
.youtube-channel-card__subscribe { min-height:28px; margin-top:.55rem; }
.youtube-channel-card__channel-link { display:inline-block; margin-top:.45rem; color:var(--abogatic-green); font-size:.86rem; font-weight:700; }
.youtube-channel-card__fallback { margin:.5rem 0; color:#65736e; font-size:.9rem; }
.abogatic-legacy-sidebar { display:flex; flex-direction:column; gap:1.15rem; }
.abogatic-legacy-sidebar .widget { padding:1.15rem; border:1px solid #e6e5de; border-radius:14px; background:#fff; overflow-wrap:anywhere; }
.abogatic-legacy-sidebar .widget-title { margin:0 0 .9rem; color:var(--abogatic-ink); font-family:Georgia,'Times New Roman',serif; font-size:1.15rem; }
.abogatic-x-fallback { margin:.75rem 0 0; padding:.75rem; border-radius:9px; background:#f4f3ee; color:#4b5a55; font-size:.9rem; line-height:1.5; }
.abogatic-x-fallback[hidden] { display:none; }
.abogatic-x-fallback a { color:var(--abogatic-green); font-weight:700; }
.abogatic-legacy-sidebar img { max-width:100%; height:auto; }
.abogatic-legacy-sidebar iframe { max-width:100%; }
.abogatic-legacy-sidebar ul { padding-left:1.2rem; }
.abogatic-single-content { padding:clamp(1.25rem,3vw,2.6rem); border:1px solid #e6e5de; border-radius:18px; background:#fff; }
.abogatic-single-content > .wp-block-post-title { margin-top:0; font-family:Georgia,'Times New Roman',serif; font-size:clamp(2rem,4vw,3.25rem); line-height:1.12; letter-spacing:-.025em; }
.abogatic-single-content > .wp-block-post-content { font-size:1.08rem; line-height:1.8; }
.abogatic-single-content .wp-block-post-featured-image img { border-radius:12px; }
.abogatic-footer { padding:3.25rem 0 1.5rem; background:#153a34; color:#eef4f0; }
.abogatic-footer .wp-block-site-title,.abogatic-footer a { color:#fff; }
.abogatic-footer .wp-block-site-title { font-family:Georgia,'Times New Roman',serif; font-size:1.25rem; }
.abogatic-footer-widgets { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-top:1.75rem; }
.abogatic-footer-widgets .widget { padding:1rem; border:1px solid rgba(255,255,255,.14); border-radius:12px; }
.abogatic-footer-widgets .widget-title { color:#fff; }
.abogatic-footer-widgets a { color:#e6d4ac; }
.abogatic-footer-note { margin-top:2rem; padding-top:1rem; border-top:1px solid rgba(255,255,255,.18); color:#d7e1dc; font-size:.88rem; }
@media (max-width: 781px) {
 .abogatic-layout { display:grid; grid-template-columns:minmax(0,1fr); }
 .abogatic-layout > .wp-block-column { flex-basis:auto !important; }
 .abogatic-home-sidebar { padding-top:0; }
 .abogatic-sidebar { margin-top:1rem; }
 .abogatic-hero { min-height:270px !important; }
 .abogatic-hero .wp-block-cover__inner-container { padding:1rem; }
 .abogatic-nav-inner { padding-top:1rem !important; padding-bottom:1rem !important; }
 .abogatic-nav-inner > .wp-block-site-title { max-width:100%; }
 .abogatic-footer-widgets { grid-template-columns:1fr; }
}
