:root {
    --red: #cd1128;
    --ink: #142746;
    --line: #e1e7ef;
    --efor-navy: #142746;
    --efor-surface: #f3f6fa;
}
body { background: var(--efor-surface); }
.wrap { width: min(1240px, calc(100% - 36px)); }
body .hb4-header { position: relative; background: #fff; }
body .hb4-header .hb4-brand-row {
    width: min(1240px, calc(100% - 36px));
    min-height: 94px;
    margin-inline: auto;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
body .hb4-header .hb4-brand { width: min(260px, 60vw); flex: none; }
body .hb4-header .hb4-brand img {
    width: 100% !important;
    height: auto !important;
    max-height: 88px;
    object-fit: contain;
    object-position: left;
}
.efor-search { width: min(340px, 36vw); }
.efor-search input {
    background: var(--efor-surface);
    border-color: var(--line);
    border-radius: 6px;
}
.efor-search button { background: var(--efor-navy); border-radius: 6px; }
body .hb4-header .hb4-nav { background: var(--efor-navy) !important; }
body .hb4-header .hb4-nav-inner { max-width: 1240px; }
body .hb4-header .hb4-home { background: var(--red) !important; }
body .hb4-header .sg2-finance { border-block: 1px solid var(--line); }
body:is(.home,.blog) .homepage-shell {
    display: flex !important;
    gap: 16px;
}
body:is(.home,.blog) .home-content { flex: 1; }
body:is(.home,.blog) .ad-rail { flex: 0 0 125px; }
body:is(.home,.blog) .ad-rail:not(:has(img, iframe, ins, .ad-widget, .widget, .ad-placeholder)) { display: none !important; }
.iz-below-hero:not(:has(img, iframe, ins, .widget, .ad-placeholder)) { display: none; }
body:is(.home,.blog) .feature-grid.iz20-hero.efor-feature {
    grid-template-columns: minmax(0, 2.26fr) minmax(0, 1fr) !important;
    gap: 16px !important;
}
body:is(.home,.blog) .feature-grid.iz20-hero.efor-wide-only { grid-template-columns: minmax(0, 1fr) !important; }
.efor-feature .headline-slider, .efor-feature .sg10-side-slider {
    border-radius: 12px !important;
    overflow: hidden;
}
body:is(.home,.blog) .efor-feature .sg10-right-column { gap: 14px !important; }
body:is(.home,.blog) .efor-feature .sg10-right-column:has(> :only-child) {
    grid-template-rows: minmax(0, 1fr) !important;
    grid-template-columns: minmax(0, 1fr) !important;
}
body:is(.home,.blog) .feature-grid.efor-feature .headline-slider .slide-caption {
    inset: auto 0 0 !important;
    padding: 46px 22px 18px !important;
    background: linear-gradient(transparent, #0a152ae8 68%) !important;
    border: 0 !important;
    border-radius: 0 !important;
}
body:is(.home,.blog) .feature-grid.efor-feature .headline-slider .slide-caption h2 {
    color: #fff !important;
    font-size: clamp(22px, 3.1vw, 43px) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    margin: 7px 0 0 !important;
}
body:is(.home,.blog) .feature-grid.efor-feature .slide-caption > .sg1-category-chip,
body:is(.home,.blog) .feature-grid.efor-feature .headline-slider .slide-dot.active {
    background: var(--red) !important;
    color: #fff !important;
}
body:is(.home,.blog) .efor-feature .headline-slider .slide img,
.feature-grid.efor-feature .sg10-side-slide img { object-fit: cover !important; }
.home-content .news-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    overflow: hidden;
}
.home-content .card-copy { padding: 3px 12px 9px; }
.section-head { color: var(--efor-navy); }
.searchform :focus-visible, .efor-feature :focus-visible, .hb4-header :focus-visible {
    outline: 2px solid #f09126;
    outline-offset: -2px;
}
@media (max-width: 1050px) { body:is(.home,.blog) .ad-rail { display: none !important; } }
@media (max-width: 850px) {
    body:is(.home,.blog) .feature-grid.iz20-hero.efor-feature { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 600px) {
    .wrap { width: calc(100% - 24px); }
    body .hb4-header .hb4-brand-row { min-height: 66px; padding-block: 8px; }
    body .hb4-header .hb4-brand { width: 157px; }
    .efor-search { display: none; }
    body:is(.home,.blog) .efor-feature .sg10-right-column {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: auto !important;
    }
    .feature-grid.efor-feature .sg10-side-slider { min-height: 150px !important; }
    .feature-grid.efor-feature .sg10-side-slide h3 { font-size: 15px !important; }
    body:is(.home,.blog) .feature-grid.efor-feature .headline-slider .slide-caption {
        padding: 34px 14px 14px !important;
    }
}
body .hb4-header .hb4-brand-row { padding: 12px 0 !important; }
body .hb4-header .hb4-brand img { max-width: 100% !important; max-height: 88px !important; }
body .hb4-header .hb4-nav,
body .hb4-header .hb4-nav-list a,
body .hb4-header .hb4-menu-toggle,
body .hb4-header .hb4-search-toggle,
body .hb4-header .sg9-header-link,
body .hb4-header .sg4-egazete-link { color: #fff !important; }
body .hb4-header .hb4-nav-list a:hover,
body .hb4-header .sg9-header-link:hover,
body .hb4-header .sg4-egazete-link:hover { color: #ffd4db !important; }
body .hb4-header .hb4-nav-inner { max-width: 1240px !important; }
body:is(.home,.blog) .feature-grid.iz20-hero.efor-feature .headline-slider .slide-caption h2 { color: #fff !important; }
body:is(.home,.blog) .feature-grid.iz20-hero.efor-feature .headline-slider .slide-caption > .sg1-category-chip { background: var(--red) !important; }
body:is(.home,.blog) .feature-grid.iz20-hero.efor-feature .headline-slider .slide img { object-fit: cover !important; }
@media (max-width:600px) {
    body .hb4-header .hb4-brand-row { padding: 8px 0 !important; }
}

/* Portal front page */
body .hb4-header { display: flex; flex-direction: column; }
body .hb4-header .hb4-brand-row { min-height: 70px; gap: 22px; }
body .hb4-header .hb4-brand { width: min(205px, 50vw); }
body .hb4-header .hb4-brand img { max-height: 62px !important; }
body .hb4-header .sg2-finance { order: 1; }

main.efor-portal.wrap { width: min(1312px, calc(100% - 32px)) !important; }
.efor-portal .homepage-shell {
    position: relative;
    justify-content: center;
}
.efor-portal .home-content {
    width: 100%;
    max-width: 990px !important;
    min-width: 0;
    margin-inline: 0;
}
body:is(.home,.blog) .efor-portal .homepage-shell > .ad-rail {
    flex: 0 0 125px;
    position: static !important;
    align-self: flex-start;
    margin: 0 !important;
}
.efor-portal .ad-top { width: min(990px, 100%); margin: 0 auto 14px; }
.efor-header-ad { flex: 1; min-width: 0; max-width: 520px; }
.efor-header-ad img, .efor-inline-ad img, .efor-portal .ad-top img {
    display: block;
    max-width: 100%;
    max-height: 105px;
    object-fit: contain;
    margin-inline: auto;
}
.efor-portal .ad-placeholder, .efor-header-ad .ad-placeholder {
    display: grid;
    place-items: center;
    min-height: 64px;
    padding: 10px;
    writing-mode: horizontal-tb;
    text-align: center;
    border: 1px dashed #a9b8cc;
    border-radius: 6px;
    color: #40536e;
    background: #f9fbfe;
    font: 600 13px/1.35 Arial, sans-serif;
    letter-spacing: normal;
}
.efor-header-ad .ad-placeholder { min-height: 44px; }
.efor-portal .efor-inline-ad { margin: 12px 0; }
.efor-portal .ad-rail .ad-placeholder { min-height: 360px; }
.efor-portal .iz-below-hero .ad-placeholder { min-height: 104px; }

.efor-lead {
    --lead-controls: 48px;
    position: relative;
    background: #e8edf5;
    border: 1px solid #cfdaea;
    border-radius: 12px;
    overflow: hidden;
}
.efor-lead .slider-track {
    aspect-ratio: 3.45;
    min-height: 190px;
}
.efor-lead .slide > a {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}
.efor-lead .slide > a::after { display: none; }
.efor-lead .slide img { object-fit: cover; object-position: center; }
.efor-lead-copy {
    color: #142746;
    border-left: 5px solid var(--red);
    padding: 15px clamp(12px, 2vw, 29px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    background: #f2f5fa;
}
.efor-lead-copy h2 {
    font-size: clamp(21px, 3vw, 39px);
    line-height: 1.08;
    margin: 0;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}
.efor-lead-copy .sg1-category-chip { color: #fff; background: #b21127; }
.efor-lead:has(.efor-lead-controls) .slide > a { padding-left: var(--lead-controls); }
.efor-lead-controls {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--lead-controls);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: #142746;
}
.efor-lead-controls button {
    flex: 0 0 auto;
    width: 27px;
    height: 25px;
    border: 1px solid #788ba9;
    border-radius: 5px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.efor-lead-controls .active { background: #c31329; border-color: #c31329; }
.efor-portal .efor-lead-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 10px 0 0;
}
.efor-lead-cards .news-card .thumb { aspect-ratio: 16 / 9; }
.efor-portal .efor-feature .headline-slider .slider-controls {
    height: 48px !important;
    min-height: 48px !important;
    flex-basis: 48px !important;
}
.efor-feature .slide-numbers .slide-dot {
    position: relative;
    flex: 1 0 40px;
    overflow: hidden;
    padding: 0;
}
.efor-feature .slide-dot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .66;
}
.efor-feature .slide-dot.active img { opacity: 1; }
.efor-feature .slide-dot span {
    position: absolute;
    inset: auto auto 3px 3px;
    color: #fff;
    background: #142746;
    border-radius: 3px;
    padding: 1px 4px;
}
.efor-feature .slide-dot.active span { background: var(--red); }
.efor-lead :focus-visible { outline: 2px solid #eaa33a; outline-offset: -2px; }

@media (max-width: 600px) {
    main.efor-portal.wrap { width: calc(100% - 24px) !important; }
    body .hb4-header .hb4-brand { width: 145px; }
    body .hb4-header .hb4-brand-row { gap: 12px; }
    .efor-header-ad .ad-placeholder { font-size: 11px; }
    .efor-lead { --lead-controls: 0px; }
    .efor-lead .slider-track { aspect-ratio: 1.6; min-height: 180px; }
    .efor-lead .slide > a { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .efor-lead-copy { border-left-width: 3px; padding: 9px; gap: 6px; }
    .efor-lead-copy h2 { font-size: clamp(16px, 4.2vw, 22px); }
    .efor-lead-controls { position: static; flex-direction: row; width: 100%; padding: 5px; }
    .efor-portal .efor-lead-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body:is(.home,.blog) .efor-portal .homepage-shell {
    display: flex !important;
    gap: 16px !important;
}
body:is(.home,.blog) .efor-portal .homepage-shell > .home-content {
    max-width: 990px !important;
}
body:is(.home,.blog) .efor-portal .homepage-shell > .ad-rail:has(.ad-placeholder, img, iframe, ins, .ad-widget, .widget) {
    display: block !important;
    height: auto !important;
}
.efor-portal .ad-rail > .ad-placeholder { height: 360px !important; min-height: 360px !important; }
.efor-lead .slide > a > img { min-width: 0; min-height: 0; }
.efor-lead .slide, .efor-lead .slide > a { overflow: hidden; }
.efor-video-play {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    border-radius: 5px;
    background: #142746e6;
    color: #fff;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 700;
}
@media (max-width: 1100px) {
    body:is(.home,.blog) .efor-portal .homepage-shell { flex-wrap: wrap; }
    body:is(.home,.blog) .efor-portal .homepage-shell > .home-content { flex: 0 0 100%; }
    body:is(.home,.blog) .efor-portal .homepage-shell > .ad-rail:has(.ad-placeholder, img, iframe, ins, .ad-widget, .widget) {
        order: 1;
        flex: 0 1 44%;
        min-width: 0 !important;
        max-width: 260px !important;
    }
    .efor-portal .ad-rail > .ad-placeholder { height: 84px !important; min-height: 84px !important; }
}

/* Give vacant placements their own foreground and background. */
.efor-portal :is(.ad-banner, .izlenen-ad-slot, .ad-rail, .sg6-second-ad):has(.efor-ad-vacant),
.efor-header-ad:has(.efor-ad-vacant) {
    background: #eff4fa !important;
    border-color: #a6b6ca !important;
    border-radius: 7px;
}
.efor-portal .efor-ad-vacant,
.efor-header-ad .efor-ad-vacant {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: #eff4fa !important;
    border: 1px dashed #a6b6ca !important;
}
.efor-portal .efor-ad-vacant span,
.efor-header-ad .efor-ad-vacant span {
    color: #233b57 !important;
    font: 700 14px/1.4 Arial, sans-serif;
    text-align: center;
}
.efor-ad-effect-fade { animation: efor-ad-fade .65s ease-out both; }
.efor-ad-effect-zoom, .efor-ad-effect-lift { transition: transform .25s ease, filter .25s ease; }
.efor-ad-effect-zoom:hover, a:focus-visible > .efor-ad-effect-zoom { transform: scale(1.035); }
.efor-ad-effect-lift:hover, a:focus-visible > .efor-ad-effect-lift {
    transform: translateY(-3px);
    filter: drop-shadow(0 4px 6px #12274344);
}
@keyframes efor-ad-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .efor-ad-image { animation: none !important; transition: none !important; transform: none !important; }
}
