/* Every visual rule is scoped to the hg-modern parent class. */
body.hg-modern{--hg-ink:#17212b;--hg-muted:#596673;--hg-accent:#9e2933;--hg-line:#e2e6e9;--hg-paper:#f5f6f7;background:var(--hg-paper);color:var(--hg-ink);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
.hg-modern #soledad_wrapper{background:#fff}
.hg-modern #navigation{border-top:3px solid var(--hg-accent);border-bottom:1px solid var(--hg-line);box-shadow:0 3px 18px #17212b08;background:#fff}
.hg-modern #navigation .menu>li>a{font-size:12px;font-weight:700;letter-spacing:.045em;color:var(--hg-ink)}
.hg-modern #navigation .menu>li.current-menu-item>a,.hg-modern #navigation .menu>li>a:hover{color:var(--hg-accent)}
.hg-modern #header .inner-header{padding-top:24px;padding-bottom:22px}
.hg-modern #header #logo img{max-height:112px;width:auto}
.hg-modern #header{margin-bottom:30px;border-bottom:1px solid var(--hg-line)}
.hg-modern .header-social a{color:var(--hg-ink)}
.hg-modern :is(.pcbg-title,.penci-entry-title,.entry-title,.penci-page-header h1){letter-spacing:-.025em;line-height:1.2}
.hg-modern :is(.pcbg-title,.penci-entry-title) a{transition:color .15s ease}
.hg-modern :is(.penci-entry-title,.widget-title) a:hover{color:var(--hg-accent)}
.hg-modern :is(.pcbg-thumb,.penci-post-image,.penci-image-holder){border-radius:8px;overflow:hidden}
.hg-modern .pcbg-content .pcbg-title a{color:#fff}
.hg-modern .pcbg-content{background:linear-gradient(transparent,#101820b8)}
.hg-modern :is(h2.grid-title,h2.penci-entry-title,h3.magcat-titlte){font-family:Arial,Helvetica,sans-serif;font-size:clamp(20px,1.8vw,25px)!important;font-weight:750!important;line-height:1.32!important;letter-spacing:-.025em}
.hg-modern :is(h2.grid-title,h2.penci-entry-title,h3.magcat-titlte) a{color:#17212b!important}
.hg-modern :is(h2.grid-title,h2.penci-entry-title,h3.magcat-titlte) a:hover{color:var(--hg-accent)!important}
.hg-modern .side-title-post{font-family:Arial,Helvetica,sans-serif;font-size:16px!important;font-weight:700;line-height:1.4!important}
.hg-modern .pcbg-content .pcbg-title{font-family:Arial,Helvetica,sans-serif;font-weight:750!important;line-height:1.3!important;text-shadow:0 2px 5px #0009}
.hg-modern .pcbg-content .pcbg-title a{color:#fff!important}
.hg-modern .pcbg-bg-layer{background:linear-gradient(180deg,transparent 20%,#09121ddd 100%)!important}
.hg-modern :is(.grid-post-box-meta,.pcbg-meta,.penci-post-meta) a{color:inherit}
.hg-modern .home-featured-cat-content .post-entry,.hg-modern .penci-grid .item .item-content{font-size:16px;line-height:1.7}
.hg-modern :is(.penci-border-arrow,.penci-homepage-title){border:0!important;background:none!important;text-align:left;margin-bottom:24px!important;padding-bottom:12px!important;border-bottom:1px solid var(--hg-line)!important}
.hg-modern :is(.penci-border-arrow,.penci-homepage-title) h3{display:flex;align-items:center;gap:10px;background:none!important;color:var(--hg-ink)!important;padding:0!important;font-size:18px!important;letter-spacing:.035em!important;line-height:1.4!important}
.hg-modern :is(.penci-border-arrow,.penci-homepage-title) h3:before,.hg-modern :is(.penci-border-arrow,.penci-homepage-title) h3:after{display:none!important}
.hg-modern :is(.penci-border-arrow,.penci-homepage-title) h3>span{background:none!important;color:inherit!important;padding:0!important}
.hg-modern :is(.penci-border-arrow,.penci-homepage-title) h3>span:before,.hg-modern :is(.penci-border-arrow,.penci-homepage-title) h3>span:after{display:none!important}
.hg-modern :is(.penci-border-arrow,.penci-homepage-title) .penci-faicon{display:none}
.hg-modern .hg-section-icon{flex:0 0 22px;width:22px;height:22px;color:var(--hg-accent)}
.hg-modern .hg-knot{display:block;width:144px;height:18px;color:#899197;margin:0 auto 24px}
.hg-modern :is(.grid-post-box-meta,.pcbg-meta,.penci-post-meta,.penci-widget-sidebar .side-item-meta){color:var(--hg-muted);font-size:12px}
.hg-modern .penci-widget-sidebar{border:1px solid var(--hg-line);border-radius:10px;padding:20px}
.hg-modern .penci-widget-sidebar .widget-title{margin-top:0}
.hg-modern.page:not(.home) .container-single-page.container-default-page{max-width:960px;margin-top:36px;margin-bottom:64px}
.hg-modern.page:not(.home) .container-default-page .penci-page-header{padding-bottom:22px;margin-bottom:26px;border-bottom:1px solid var(--hg-line)}
.hg-modern.page:not(.home) .container-default-page .entry-title{font-size:clamp(32px,4vw,48px);text-align:left;color:var(--hg-ink)}
.hg-modern.page:not(.home) .container-default-page .post-entry{font-size:17px;line-height:1.8;color:#303b45}
.hg-modern.page:not(.home) .container-default-page .post-entry :is(h2,h3){line-height:1.3;letter-spacing:-.02em;margin-top:34px;color:var(--hg-ink)}
.hg-modern.page:not(.home) .container-default-page .post-entry h2{font-size:25px}
.hg-modern.page:not(.home) .container-default-page .post-entry a{color:var(--hg-accent);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.hg-modern.page:not(.home) .container-default-page :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]),textarea,select){border:1px solid #cbd2d8;border-radius:7px;background:#fafbfc;padding:12px 14px;max-width:100%;box-sizing:border-box;font:inherit}
.hg-modern.page:not(.home) .container-default-page :is(input[type=submit],button[type=submit]){background:var(--hg-accent);color:#fff;border:0;border-radius:7px;padding:14px 24px;min-height:44px;font-weight:700}
.hg-modern .post-entry table{width:100%;border-collapse:collapse;font-size:15px}
.hg-modern .post-entry :is(td,th){padding:14px;border:1px solid var(--hg-line);text-align:left}
.hg-modern .post-entry th{background:#f3f5f6}
.hg-modern #footer-section{border-top:3px solid var(--hg-accent);background:#f4f5f6;color:var(--hg-ink);padding-top:34px}
.hg-modern #footer-section a{color:var(--hg-ink)}
.hg-modern a:focus-visible,.hg-modern button:focus-visible,.hg-modern input:focus-visible,.hg-modern textarea:focus-visible{outline:3px solid var(--hg-accent);outline-offset:4px}
@media(max-width:767px){.hg-modern #header .inner-header{padding-top:18px;padding-bottom:14px}.hg-modern #header #logo img{max-height:84px}.hg-modern #header{margin-bottom:20px}.hg-modern.page:not(.home) .container-default-page .post-entry{font-size:16px;line-height:1.75}.hg-modern .penci-widget-sidebar{padding:16px}.hg-modern.page:not(.home) .container-single-page.container-default-page{margin-top:24px;margin-bottom:40px}.hg-modern .hg-knot{margin-bottom:18px}}
@media(prefers-reduced-motion:reduce){.hg-modern *{scroll-behavior:auto!important;transition:none!important}}

/* Override Elementor's generated ribbon rules without changing its layout data. */
body.hg-modern #header .inner-header>.container{padding-top:0;padding-bottom:0}
body.hg-modern #soledad_wrapper .penci-border-arrow{background:transparent!important;border:0!important;border-bottom:1px solid var(--hg-line)!important;text-align:left!important;padding-bottom:12px!important}
body.hg-modern #soledad_wrapper .penci-border-arrow h3.inner-arrow{display:flex!important;align-items:center;gap:10px;margin:0!important;padding:0!important;background:transparent!important;color:var(--hg-ink)!important;line-height:1.4!important;transform:none!important}
body.hg-modern #soledad_wrapper .penci-border-arrow h3.inner-arrow span{background:transparent!important;color:inherit!important;padding:0!important;line-height:inherit!important;transform:none!important}
body.hg-modern #soledad_wrapper .penci-border-arrow h3.inner-arrow::before,body.hg-modern #soledad_wrapper .penci-border-arrow h3.inner-arrow::after,body.hg-modern #soledad_wrapper .penci-border-arrow h3.inner-arrow span::before,body.hg-modern #soledad_wrapper .penci-border-arrow h3.inner-arrow span::after{display:none!important}
body.hg-modern #soledad_wrapper .penci-border-arrow h3.inner-arrow i{display:none!important}
body.hg-modern #soledad_wrapper .hg-section-icon{width:22px!important;height:22px!important;flex:0 0 22px;margin:0!important;vertical-align:middle}
body.hg-modern #soledad_wrapper .pcbg-content .pcbg-meta,body.hg-modern #soledad_wrapper .pcbg-content .pcbg-meta a,body.hg-modern #soledad_wrapper .pcbg-content .cat a{color:#fff!important}
body.hg-modern #soledad_wrapper .pcbg-content a{text-decoration:none}
/* Reuse the exact interlace from the cached company logo, cropped with CSS. */
body.hg-modern .hg-knot{position:relative;width:150px;height:24px;overflow:hidden;mix-blend-mode:multiply}
body.hg-modern .hg-knot img{position:absolute;top:0;left:-75px;width:300px!important;height:123px!important;max-width:none!important;max-height:none!important}
/* Compact recent-post lists; preserve comfortable multiline headlines. */
body.hg-modern #soledad_wrapper .side-newsfeed>li{margin:0!important;padding:10px 0!important}
body.hg-modern #soledad_wrapper .side-newsfeed>li:first-child{padding-top:0!important}
body.hg-modern #soledad_wrapper .side-newsfeed>li:last-child{padding-bottom:0!important}
body.hg-modern #soledad_wrapper .side-newsfeed .side-item{display:flex;gap:14px;align-items:flex-start}
body.hg-modern #soledad_wrapper .side-newsfeed .side-image{float:none!important;flex:0 0 84px;width:84px!important;margin:0!important}
body.hg-modern #soledad_wrapper .side-newsfeed .side-image a{display:block;width:84px!important;height:56px!important;padding:0!important}
body.hg-modern #soledad_wrapper .side-newsfeed .side-item-text{flex:1;min-width:0;margin:0!important;padding:0!important}
body.hg-modern #soledad_wrapper .side-newsfeed .side-title-post{font-size:16px!important;line-height:1.35!important;margin:0 0 5px!important}
body.hg-modern #soledad_wrapper .side-newsfeed .grid-post-box-meta{margin:0!important;font-size:11px!important;line-height:1.4!important}
body.hg-modern.home #soledad_wrapper .elementor-widget-penci-recent-posts>.elementor-widget-container{padding:16px!important}
body.hg-modern.home #soledad_wrapper .elementor-widget-wrap:has(>.elementor-widget-penci-recent-posts){padding-top:8px!important;padding-bottom:8px!important}
@media(max-width:767px){body.hg-modern #soledad_wrapper .side-newsfeed .side-image{flex-basis:72px;width:72px!important}body.hg-modern #soledad_wrapper .side-newsfeed .side-image a{width:72px!important;height:52px!important}body.hg-modern #soledad_wrapper .side-newsfeed .side-title-post{font-size:15px!important}}
/* Theme sizes links separately from headings: inherit the intended title size. */
body.hg-modern #soledad_wrapper :is(h2.grid-title,h2.penci-entry-title,h3.magcat-titlte){font-size:clamp(23px,2vw,28px)!important;line-height:1.3!important}
body.hg-modern #soledad_wrapper :is(h2.grid-title,h2.penci-entry-title,h3.magcat-titlte) a{font-size:inherit!important;line-height:inherit!important;font-family:inherit!important;font-weight:inherit!important;letter-spacing:inherit!important}
body.hg-modern #soledad_wrapper .side-title-post a{font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important}
@media(max-width:767px){body.hg-modern #soledad_wrapper :is(h2.grid-title,h2.penci-entry-title,h3.magcat-titlte){font-size:22px!important}}
body.hg-modern #soledad_wrapper .grid-header-box::after{background:#2563a6!important}
/* Clean footer and Ingenium's main blue for link hover states. */
body.hg-modern{--hg-hover:#4168b1}
body.hg-modern #soledad_wrapper a:hover,body.hg-modern #soledad_wrapper a:focus-visible{color:var(--hg-hover)!important}
body.hg-modern #soledad_wrapper .footer-socials-section{border:0!important;margin-bottom:0!important;padding-bottom:16px!important}
body.hg-modern #soledad_wrapper .footer-socials-section::before,body.hg-modern #soledad_wrapper .footer-socials-section::after{display:none!important}
body.hg-modern #soledad_wrapper .footer-logo-copyright{border-top:0!important}
body.hg-modern #soledad_wrapper .footer-socials a{color:#596673!important}
body.hg-modern #soledad_wrapper .footer-socials a:hover,body.hg-modern #soledad_wrapper .footer-socials a:focus-visible{color:var(--hg-hover)!important}
body.hg-modern #soledad_wrapper .footer-socials a:hover i,body.hg-modern #soledad_wrapper .footer-socials a:focus-visible i{background:var(--hg-hover)!important;border-color:var(--hg-hover)!important;color:#fff!important}
/* One consistent accent, including inherited theme links. */
body.hg-modern{--hg-accent:#4168b1;--hg-hover:#4168b1}
body.hg-modern #soledad_wrapper #footer-section{border-top:0!important}
body.hg-modern #soledad_wrapper .pcbg-content .cat a,body.hg-modern #soledad_wrapper .pcbg-content .penci-cat-name{color:#fff!important}
body.hg-modern #soledad_wrapper .grid-header-box::after{background:#4168b1!important}
body.hg-modern #soledad_wrapper :is(a,button):hover{border-color:#4168b1}
/* Consistent lower-section layouts and readable image overlays. */
body.hg-modern #soledad_wrapper .entry-title a,body.hg-modern #soledad_wrapper .side-title-post a{color:#17212b!important}
body.hg-modern #soledad_wrapper .pcbg-content .pcbg-title a,body.hg-modern #soledad_wrapper .pcbg-content .pcbg-meta a{color:#fff!important}
body.hg-modern #soledad_wrapper .pcbg-content .pcbg-title a:hover{color:#fff!important;text-decoration:underline}
body.hg-modern #soledad_wrapper .penci-bgrid-style-20{background:transparent!important;padding:0!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-20>.penci-border-arrow{background:#fff!important}
body.hg-modern #soledad_wrapper .penci-border-arrow h3.inner-arrow,body.hg-modern #soledad_wrapper .penci-border-arrow h3.inner-arrow span,body.hg-modern #soledad_wrapper .penci-border-arrow h3.inner-arrow a{color:#17212b!important}
body.hg-modern #soledad_wrapper .side-newsfeed .featured-news .side-item-text{position:static!important;inset:auto!important;transform:none!important;width:auto!important;max-width:none!important;background:transparent!important;color:#17212b!important;text-align:left!important}
body.hg-modern #soledad_wrapper .side-newsfeed .featured-news .side-item::before,body.hg-modern #soledad_wrapper .side-newsfeed .featured-news .side-item::after{display:none!important}
body.hg-modern #soledad_wrapper .side-newsfeed .featured-news .side-item-text a{color:#17212b!important;text-shadow:none!important}
body.hg-modern #soledad_wrapper .side-newsfeed .featured-news .side-item-text .side-title-post{font-size:16px!important}
body.hg-modern #soledad_wrapper .home-featured-cat-content.style-6 :is(.cat-left,.cat-right){float:none!important;width:100%!important;margin:0!important}
body.hg-modern #soledad_wrapper .home-featured-cat-content.style-6 .cat-left{margin-bottom:24px!important}
body.hg-modern #soledad_wrapper .home-featured-cat-content.style-6 .first-post{display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);gap:22px;align-items:start}
body.hg-modern #soledad_wrapper .home-featured-cat-content.style-6 .magcat-thumb,body.hg-modern #soledad_wrapper .home-featured-cat-content.style-6 .magcat-detail{float:none!important;width:auto!important;margin:0!important;min-width:0}
body.hg-modern #soledad_wrapper .home-featured-cat-content.style-6 .first-post .magcat-titlte,body.hg-modern #soledad_wrapper .home-featured-cat-content.style-6 .first-post .magcat-titlte a{font-size:22px!important;line-height:1.35!important}
body.hg-modern #soledad_wrapper .home-featured-cat-content.style-6 .mag-excerpt,body.hg-modern #soledad_wrapper .home-featured-cat-content.style-6 .mag-excerpt p{font-size:16px!important;line-height:1.65!important}
body.hg-modern #soledad_wrapper .home-featured-cat-content.style-6 .cat-right{display:grid;grid-template-columns:1fr;gap:16px}
body.hg-modern #soledad_wrapper .home-featured-cat-content.style-6 .cat-right .mag-post-box{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;width:100%!important;margin:0!important;padding:0 0 16px!important;border-bottom:1px solid var(--hg-line)}
body.hg-modern #soledad_wrapper .home-featured-cat-content.style-6 .cat-right .magcat-thumb a{width:96px!important;height:68px!important;padding:0!important}
body.hg-modern #soledad_wrapper .home-featured-cat-content.style-6 .cat-right .magcat-titlte,body.hg-modern #soledad_wrapper .home-featured-cat-content.style-6 .cat-right .magcat-titlte a{font-size:18px!important;line-height:1.4!important}
@media(max-width:600px){body.hg-modern #soledad_wrapper .home-featured-cat-content.style-6 .first-post{grid-template-columns:1fr;gap:16px}}

/* Blue is an interaction state, not the resting headline/link colour. */
body.hg-modern #soledad_wrapper a:not(:hover):not(:focus-visible){color:inherit!important}
body.hg-modern #soledad_wrapper .pcbg-content .pcbg-title a:not(:hover):not(:focus-visible),body.hg-modern #soledad_wrapper .pcbg-content .pcbg-meta a:not(:hover):not(:focus-visible),body.hg-modern #soledad_wrapper .pcbg-content .cat a:not(:hover):not(:focus-visible){color:#fff!important}
body.hg-modern #soledad_wrapper a:hover,body.hg-modern #soledad_wrapper a:focus-visible,body.hg-modern #soledad_wrapper .entry-title a:hover,body.hg-modern #soledad_wrapper .side-title-post a:hover,body.hg-modern #soledad_wrapper .side-newsfeed .featured-news .side-item-text a:hover,body.hg-modern #soledad_wrapper .pcbg-content .pcbg-title a:hover{color:#4168b1!important}
/* Photo cards retain readable white text in every interaction state. */
body.hg-modern #soledad_wrapper .pcbg-content .pcbg-title a:hover,body.hg-modern #soledad_wrapper .pcbg-content .pcbg-title a:focus-visible,body.hg-modern #soledad_wrapper .pcbg-content .pcbg-meta a:hover,body.hg-modern #soledad_wrapper .pcbg-content .cat a:hover{color:#fff!important}
body.hg-modern #soledad_wrapper .mag-header::after{background:#4168b1!important}
/* Theme pseudo-elements also carry the old accent. */
body.hg-modern #navigation .menu>li>a::before,body.hg-modern #soledad_wrapper .header-list-style::after,body.hg-modern #soledad_wrapper .searchsubmit{background:#4168b1!important}
body.hg-modern #soledad_wrapper .elementor-section:has(.penci-bgrid-style-20){background:#fff!important;padding-top:20px!important;padding-bottom:20px!important}

/* Header social icons: same blue hover as links (theme colours the <i> separately). */
body.hg-modern .header-social a,body.hg-modern .header-social a i{transition:color .15s ease}
body.hg-modern .header-social a:hover,body.hg-modern .header-social a:focus-visible,body.hg-modern .header-social a:hover i,body.hg-modern .header-social a:focus-visible i{color:#4168b1!important}
/* White headlines on photo cards: no underline in any state. */
body.hg-modern #soledad_wrapper .pcbg-content :is(.pcbg-title,.pcbg-meta,.cat) a,body.hg-modern #soledad_wrapper .pcbg-content :is(.pcbg-title,.pcbg-meta,.cat) a:is(:hover,:focus-visible){text-decoration:none!important}
/* No decorative bar under headline/meta blocks. */
body.hg-modern #soledad_wrapper :is(.grid-header-box,.mag-header,.header-list-style)::after{display:none!important}

/* Theme accent was green (#6eb48c): use the site blue everywhere the theme reads its accent variables. */
body.hg-modern,body.hg-modern .pchead-e-block{--pcaccent-cl:#4168b1!important;--pclh-cl:#4168b1!important}
/* Comments are off site-wide: never show a comment count. */
body.hg-modern :is(.single-comment-o,.feat-comments,.otherl-comment,.featc-comment,.side-wcomments,.bg-comment,.sl-comment,.pfw-comment,.comment-count,.penci-comment-count){display:none!important}
/* Empty homepage strips (dead ad slot / empty HTML): hidden until something real renders inside. */
body.hg-modern .elementor-35784 :is(.elementor-element-c9d6306,.elementor-element-5592650):not(:has(iframe,img,ins)){display:none!important}
/* Arhiva (big grid style 1: text below the photo) — a light card, not the dark photo overlay. */
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .penci-bgitem{background:#fff!important;border:1px solid var(--hg-line)!important;border-radius:10px;overflow:hidden}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-thumb{border-radius:0!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content,body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content-flex,body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content-inner{background:#fff!important;background-image:none!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content{padding:16px 18px 18px!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content .pcbg-title{text-shadow:none!important;font-size:20px!important;line-height:1.35!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content .pcbg-title a:not(:hover):not(:focus-visible){color:#17212b!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content .pcbg-title a:is(:hover,:focus-visible){color:#4168b1!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content :is(.pcbg-meta,.cat) a:not(:hover):not(:focus-visible),body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content :is(.pcbg-meta,.cat){color:var(--hg-muted)!important;text-shadow:none!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-readmorebtn{background:transparent!important;color:#4168b1!important;border:1px solid #4168b1!important;border-radius:6px;padding:8px 16px!important;font-size:12px!important;font-weight:700;letter-spacing:.04em}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-readmorebtn:is(:hover,:focus-visible){background:#4168b1!important;color:#fff!important}
/* Arhiva cards, corrected: .penci-bgitem is only the column (with the gutter); the card is .penci-bgitin. Equal heights per row. */
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .penci-biggrid-data{display:flex!important;flex-wrap:wrap}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .penci-bgitem{background:transparent!important;border:0!important;border-radius:0!important;overflow:visible!important;display:flex!important;float:none!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .penci-bgitin{flex:1 1 auto;width:100%;display:flex;background:#fff;border:1px solid var(--hg-line)!important;border-radius:10px;overflow:hidden}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .penci-bgmain{flex:1 1 auto;display:flex;flex-direction:column;width:100%}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-thumbin{margin:0!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content{flex:1 1 auto;display:flex;flex-direction:column}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content-flex{flex:1 1 auto;display:flex;flex-direction:column}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content-inner{flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-start}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-readmore{margin-top:auto!important;padding-top:14px}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .penci-biggrid-data{align-items:stretch!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content-flex{align-items:stretch!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-readmore-sec{margin-top:auto!important;padding-top:14px}
/* Arhiva v3: full 16:9 photo, compact text, no fixed heights (button sits under the meta). */
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-thumb{height:auto!important;aspect-ratio:16/9;overflow:hidden}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-thumbin,body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-thumb .penci-image-holder{position:absolute!important;inset:0;height:100%!important;width:100%!important;padding:0!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .penci-image-holder{background-size:cover!important;background-position:center!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 :is(.penci-bgitem,.penci-bgitin,.penci-bgmain,.pcbg-content,.pcbg-content-flex,.pcbg-content-inner){height:auto!important;min-height:0!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content{padding:18px 20px 20px!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content-inner{padding:0!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content .pcbg-title{margin:0 0 8px!important}
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-readmore-sec{padding-top:16px}

/* Homepage: footer menu + footer read as one grey footer (no page share bar or page margins in between). */
body.hg-modern.home .tags-share-box.page-share{display:none!important}
body.hg-modern.home article.post-35784,body.hg-modern.home article.post-35784 .post-entry{margin-bottom:0!important}
body.hg-modern.home .elementor-element-003b564{background:#f4f5f6;box-shadow:0 0 0 100vmax #f4f5f6;clip-path:inset(0 -100vmax);padding:26px 0 4px!important;margin-top:40px!important}
body.hg-modern.home .elementor-element-003b564 a{color:#17212b}
body.hg-modern.home #footer-section{padding-top:4px!important}
body.hg-modern.home .clear-footer{margin:0!important;height:0!important}
/* Footer v2: light blue-grey (from the site blue), homepage footer menu centred. */
body.hg-modern{--hg-footer:#eaeff6}
body.hg-modern #soledad_wrapper #footer-section,body.hg-modern #footer-section{background:var(--hg-footer)!important}
body.hg-modern.home .elementor-element-003b564{background:var(--hg-footer)!important;box-shadow:0 0 0 100vmax var(--hg-footer)!important}
body.hg-modern.home .elementor-element-003b564 :is(ul,.menu,.elementor-widget-container,nav){justify-content:center!important;text-align:center!important}
body.hg-modern.home .elementor-element-003b564 ul{display:flex!important;flex-wrap:wrap;gap:6px 30px;margin:0 auto!important;padding:0!important}
body.hg-modern.home .elementor-element-003b564 ul li{float:none!important;margin:0!important}
body.hg-modern{--hg-footer:#dfe6f0}
/* Footer back to the original light grey; only the homepage footer-menu band is darker. */
body.hg-modern{--hg-footer:#f4f5f6;--hg-footer-band:#dfe6f0}
body.hg-modern.home .elementor-element-003b564{background:var(--hg-footer-band)!important;box-shadow:0 0 0 100vmax var(--hg-footer-band)!important}
/* Footer-menu band v2: subtle shade, equal top/bottom spacing, links in the footer-social grey with the blue hover. */
body.hg-modern{--hg-footer-band:#eceff3}
body.hg-modern.home .elementor-element-003b564{padding:16px 0!important}
body.hg-modern.home #soledad_wrapper .elementor-element-003b564 a:not(:hover):not(:focus-visible){color:#999999!important}
body.hg-modern.home #soledad_wrapper .elementor-element-003b564 a:is(:hover,:focus-visible){color:#4168b1!important}
/* No divider left dangling where the (hidden) comment count used to follow. */
body.hg-modern :is(.grid-post-box-meta,.pcbg-meta-desc,.penci-post-box-meta) > :has(+ :is(.side-wcomments,.featc-comment,.otherl-comment,.bg-comment,.feat-comments,.sl-comment,.pfw-comment,.comment-count,.penci-comment-count))::after{display:none!important}
/* Arhiva (text under photo): meta links (author, category) blue on hover, never white. */
body.hg-modern #soledad_wrapper .penci-bgrid-style-1 .pcbg-content :is(.pcbg-meta,.cat,.pcbg-meta-desc) a:is(:hover,:focus-visible){color:#4168b1!important}
/* Sidebar banners keep their real shape while lazy-loading (placeholder is 1x1). */
body.hg-modern img.wp-image-141344{aspect-ratio:901/202;width:100%;height:auto!important;object-fit:contain}
body.hg-modern img.wp-image-139425{aspect-ratio:350/250;width:100%;height:auto!important;object-fit:contain}
body.hg-modern :is(figure,a):has(> img.wp-image-141344,> img.wp-image-139425),body.hg-modern figure:has(img.wp-image-141344,img.wp-image-139425){display:block!important;width:100%!important;margin:0 0 16px!important}
body.hg-modern img:is(.wp-image-141344,.wp-image-139425){display:block!important;max-width:100%!important}
/* Homepage footer menu: same type as the FACEBOOK/TWITTER labels below it. */
body.hg-modern.home #soledad_wrapper .elementor-element-003b564 a{font-family:Helvetica,Arial,sans-serif!important;font-size:14px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:normal!important;line-height:1.6!important}
/* Sidebar banners (a-sajla #block-9, Unikom #block-8): light cards labelled OGLAS, same look as other sidebar boxes. */
body.hg-modern #sidebar :is(#block-9,#block-8){position:relative;background:#fff;border:1px solid var(--hg-line);border-radius:10px;padding:32px 16px 16px!important;margin-bottom:20px!important;transition:border-color .15s ease,box-shadow .15s ease}
body.hg-modern #sidebar :is(#block-9,#block-8)::before{content:"Oglas";position:absolute;top:10px;left:16px;font:700 10px/1 Helvetica,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#999}
body.hg-modern #sidebar :is(#block-9,#block-8):hover{border-color:#4168b1;box-shadow:0 4px 14px #4168b11f}
body.hg-modern #sidebar :is(#block-9,#block-8) :is(figure,a){margin:0!important}
body.hg-modern #sidebar :is(#block-9,#block-8) img{margin:0 auto!important;border-radius:4px}
body.hg-modern #sidebar #block-8 + *{margin-top:40px}
@media(prefers-reduced-motion:reduce){body.hg-modern #sidebar :is(#block-9,#block-8){transition:none}}
