/* Rytas Palangoje visual refresh. Presentation only; existing content, queries, ads, links and subscriptions unchanged. */
:root{--ui-blue:#27669b;--ui-orange:#e9831e;--ui-yellow:#f6c64b;--ui-gray:#f5f7f9;--ui-gray-2:#edf2f6;--ui-ink:#102f50;--rpt-brand-blue:#27669b;--rpt-brand-orange:#e9831e}
html,body,.site-content,.site-content .ast-container,.ui-long-home{background:#f6f8fa!important;color:#172a3c}
.ui-wrap{width:min(1180px,calc(100% - 32px))!important;max-width:1180px!important}
.ui-top,.rpt-site-header,.ui-logo-row{background:#fff!important}
.rpt-head-brand img,.ui-logo-row img{object-fit:contain!important;max-width:300px!important;max-height:96px!important;height:auto!important}
.ui-nav{background:#fff!important;border-bottom:3px solid #e9831e!important;border-top:1px solid #e7edf2!important}
.ui-nav a{color:#173f70!important;font-weight:800!important;letter-spacing:.025em}
.ui-nav a:hover,.ui-nav .current-menu-item>a{color:#e9831e!important}
.ui-long-home .ui-module,.ui-long-home .ui-yellow-row,.ui-long-home .ui-video-row,.ui-long-home .ui-people-row{gap:12px!important;margin-bottom:12px!important}
.ui-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr)!important;gap:12px!important}
.ui-side{gap:12px!important}
.ui-card{overflow:hidden;border-radius:3px;background:#fff!important;box-shadow:0 1px 3px rgba(16,47,80,.08);transition:box-shadow .2s,transform .2s;text-decoration:none!important}
.ui-card:hover{box-shadow:0 8px 24px rgba(16,47,80,.13);transform:translateY(-2px)}
.ui-card h2,.ui-card h3{font-family:Arial,Helvetica,sans-serif!important;font-weight:900!important;letter-spacing:-.035em!important;line-height:1.08!important;color:#122e4c!important;padding:12px 14px 16px!important}
.ui-main h2{font-size:clamp(29px,3vw,44px)!important}
.ui-side h3{font-size:clamp(17px,1.65vw,23px)!important}
.ui-label{font:800 11px/1.2 Arial,sans-serif!important;letter-spacing:.06em;text-transform:uppercase;color:#e9831e!important;padding:12px 14px 0!important}
.ui-main{background:#173f70!important}
.ui-main h2{color:#fff!important}
.ui-main .ui-label{color:#ffcb62!important}
.ui-yellow{background:#f6c64b!important}
.ui-yellow h2,.ui-yellow h3{color:#142f4a!important}
.ui-dark{background:#173f70!important}
.ui-dark h2,.ui-dark h3{color:#fff!important}
.ui-section-title,.rpt-topic-title,.rpt-after-article-title{color:#173f70!important;border-bottom-color:#e9831e!important;font-weight:900!important}
.ui-article{background:#fff!important;box-shadow:0 3px 20px rgba(16,47,80,.045);border-radius:4px}
.ui-article .entry-title{font-family:Georgia,serif!important;font-weight:800;color:#102f50!important;letter-spacing:-.025em}
.ui-article-lead{color:#4a5b6b!important}
.ui-article-body{color:#182c3b!important}
.ui-article-body a{color:#27669b!important;text-decoration:underline}
.ui-footer{border-top:5px solid #e9831e!important}
.rpt-archive-title{color:#173f70!important}
@media(max-width:760px){.ui-wrap{width:calc(100% - 20px)!important}.ui-grid{grid-template-columns:1fr!important}.ui-side{grid-template-columns:1fr 1fr!important}.ui-main h2{font-size:30px!important}.ui-article{padding:20px!important}.ui-article .entry-title{font-size:clamp(30px,7vw,42px)!important}.rpt-head-brand img,.ui-logo-row img{max-width:220px!important}}
@media(max-width:480px){.ui-side{grid-template-columns:1fr!important}.ui-two,.ui-more-grid,.rpt-topic-grid{grid-template-columns:1fr!important}.ui-main h2{font-size:28px!important}}

/* V7: multiple independently colored phrases */
.rytas-headline-accent.rytas-accent-red{color:#cf262b!important}
.rytas-headline-accent.rytas-accent-yellow{color:#f4c84d!important}
.rytas-headline-accent.rytas-accent-orange{color:#e98521!important}
.rytas-headline-accent.rytas-accent-blue{color:#31689a!important}
.rytas-headline-accent.rytas-accent-white{color:#fff!important}
.rytas-headline-accent.rytas-accent-black{color:#171717!important}
.rytas-layout-newspaper .rytas-news-image{height:clamp(280px,34vw,430px)!important;overflow:hidden}
.rytas-layout-newspaper .rytas-news-image img{width:100%;height:100%;object-fit:cover}
.rytas-layout-newspaper .rytas-news-content h3{font-weight:900;line-height:1.04}
@media(max-width:767px){.rytas-layout-newspaper .rytas-news-image{height:clamp(210px,58vw,320px)!important}}
/* V7.6.10: white highlighted words remain legible on white/light cards.
   Keep the selected white fill while outlining glyphs in dark ink. */
.rytas-headline-accent.rytas-accent-white {
  -webkit-text-stroke: 0.85px #202631;
  paint-order: stroke fill;
  text-shadow: 1px 1px 0 #202631, -1px -1px 0 #202631, 1px -1px 0 #202631, -1px 1px 0 #202631;
}
