            /* Caption text color */
            .sf-hero-slider-wrap .carousel-caption,
            .sf-hero-slider-wrap .carousel-caption h5,
            .sf-hero-slider-wrap .carousel-caption .sf-hero-banner-btn {
                color: var(--sf-hero-text, #fff);
            }

            /* Modern Slider — mekanik (position/height/object-fit/opacity) hero-layout.css'te.
               Burada sadece dekoratif (görünüm) kısımlar kalır. */
            .sf-hero-slider-wrap {
                border-radius: 14px;
                box-shadow: 0 4px 20px rgb(0, 0, 0, 0.1);
            }

            .sf-hero-slider-wrap .carousel-inner {
                border-radius: 14px;
            }

            /* Slider Navigation Buttons - Always visible for reliability */
            .sf-hero-slider-wrap .carousel-control-prev,
            .sf-hero-slider-wrap .carousel-control-next {
                width: 42px;
                height: 42px;
                top: 50%;
                bottom: auto;
                transform: translateY(-50%);
                background: rgb(255, 255, 255, .9);
                border: 1px solid rgb(15, 23, 42, .08);
                border-radius: 50%;
                opacity: .92;
                transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease, transform .18s ease;
                box-shadow: 0 8px 22px rgb(15, 23, 42, .16);
                z-index: 30;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
            }

            .sf-hero-slider-wrap .carousel-control-prev:hover,
            .sf-hero-slider-wrap .carousel-control-next:hover {
                opacity: 1;
                background: #fff;
                border-color: rgb(15, 23, 42, .12);
                box-shadow: 0 10px 26px rgb(15, 23, 42, .22);
                transform: translateY(-50%) scale(1.04);
            }

            .sf-hero-slider-wrap .carousel-control-prev {
                left: 14px;
            }

            .sf-hero-slider-wrap .carousel-control-next {
                right: 14px;
            }

            .sf-hero-slider-wrap .carousel-control-prev-icon,
            .sf-hero-slider-wrap .carousel-control-next-icon {
                background-image: none;
                width: auto;
                height: auto;
                display: inline-block;
            }

            .sf-hero-slider-wrap .carousel-control-prev-icon::before {
                content: "\f284";
                font-family: bootstrap-icons;
                font-size: 22px;
                font-weight: 700;
                color: #0f2d75;
            }

            .sf-hero-slider-wrap .carousel-control-next-icon::before {
                content: "\f285";
                font-family: bootstrap-icons;
                font-size: 22px;
                font-weight: 700;
                color: #0f2d75;
            }

            /* Slider Indicators (Dots) */
            .sf-hero-slider-wrap .carousel-indicators {
                display: none;
            }

            .sf-hero-slider-wrap .carousel-indicators button {
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background: rgb(255, 255, 255, 0.5);
                border: none;
                margin: 0;
                cursor: pointer;
                transition: all 0.3s ease;
            }

            .sf-hero-slider-wrap .carousel-indicators button.active {
                background: #fff;
                transform: scale(1.2);
            }

            .sf-hero-slider-wrap .carousel-indicators button:hover:not(.active) {
                background: rgb(255, 255, 255, 0.8);
            }

            .home-thumbnail-slider {
                display: block;
                width: 100%;
            }

            .home-thumbnail-slider__main {
                margin-bottom: 0;
            }

            .home-thumbnail-slider__indicators {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 14px;
                margin: 14px auto 0;
                padding: 8px 10px 4px;
                overflow-x: auto;
                scrollbar-width: none;
                -webkit-overflow-scrolling: touch;
            }

            .home-thumbnail-slider__indicators::-webkit-scrollbar {
                display: none;
            }

            .home-thumbnail-slider__thumb {
                position: relative;
                width: 64px;
                height: 64px;
                flex: 0 0 64px;
                padding: 4px;
                border: 0;
                border-radius: 50%;
                background: #fff;
                overflow: visible;
                opacity: .74;
                cursor: pointer;
                box-shadow: 0 6px 14px rgb(15, 23, 42, .12);
                transition: opacity .18s ease, box-shadow .18s ease;
            }

            .home-thumbnail-slider__thumb:hover,
            .home-thumbnail-slider__thumb:focus-visible {
                opacity: .92;
                outline: none;
                box-shadow: 0 7px 16px rgb(15, 23, 42, .18);
            }

            .home-thumbnail-slider__thumb.is-active,
            .home-thumbnail-slider__thumb.active {
                opacity: 1;
                box-shadow: 0 8px 18px rgb(37, 99, 235, .24);
            }

            .home-thumbnail-slider__thumb.is-active::before,
            .home-thumbnail-slider__thumb.active::before {
                content: "";
                position: absolute;
                inset: -3px;
                border-radius: inherit;
                background: conic-gradient(from 0deg, #16a34a, #06b6d4, #2563eb, #f59e0b, #16a34a);
                animation: homeThumbnailRing 1.8s linear infinite;
                z-index: 0;
            }

            .home-thumbnail-slider__thumb::after {
                content: "";
                position: absolute;
                inset: 2px;
                border-radius: inherit;
                background: #fff;
                z-index: 1;
            }

            .home-thumbnail-slider__thumb img {
                position: relative;
                z-index: 2;
                width: 100% !important;
                height: 100% !important;
                min-width: 0;
                min-height: 0;
                display: block;
                object-fit: cover !important;
                object-position: center;
                border-radius: 50%;
            }

            @keyframes homeThumbnailRing {
                to {
                    transform: rotate(360deg);
                }
            }

            @media (max-width: 767.98px) {
                .home-thumbnail-slider__indicators {
                    justify-content: flex-start;
                    gap: 10px;
                    margin-top: 12px;
                    padding-left: 12px;
                    padding-right: 12px;
                }

                .home-thumbnail-slider__thumb {
                    width: 52px;
                    height: 52px;
                    flex-basis: 52px;
                    padding: 3px;
                }
            }

            /* Caption/Overlay Styles */
            .sf-hero-slider-wrap .carousel-caption {
                position: absolute;
                left: 24px;
                right: auto;
                top: auto;
                bottom: 24px;
                z-index: 5;
                display: flex;
                flex-direction: column;
                justify-content: flex-end;
                align-items: flex-start;
                padding: 0;
                background: transparent !important;
                text-align: left;
                max-width: min(82%, 520px);
            }

            .sf-hero-slide-link {
                position: absolute;
                inset: 0;
                z-index: 1;
                display: block;
                text-decoration: none;
            }

            .sf-hero-slide-link--primary {
                z-index: 20;
                cursor: pointer;
            }

            .sf-hero-banner-overlay,
            .sf-hero-slider-wrap .carousel-caption {
                pointer-events: none;
            }

            .sf-hero-banner-overlay a,
            .sf-hero-slider-wrap .carousel-caption a {
                pointer-events: auto;
            }

            .sf-hero-slider-wrap .carousel-caption.sf-hero-caption--button-only {
                background: transparent;
            }

            .sf-hero-slider-wrap .carousel-caption h5 {
                font-size: clamp(24px, 3vw, 42px);
                font-weight: 900;
                line-height: 1.2;
                margin: 0 0 16px;
                text-shadow: 2px 2px 4px rgb(0, 0, 0, 0.3);
                max-width: 600px;
            }

            .sf-hero-slider-wrap .carousel-caption .sf-hero-banner-btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-height: 44px;
                padding: 0 24px;
                border-radius: 8px;
                background: rgb(255, 255, 255, .18);
                border: 1px solid rgb(255, 255, 255, .72);
                color: #fff;
                font-weight: 700;
                text-decoration: none;
                font-size: 14px;
                transition: all 0.3s ease;
                box-shadow: none;
                backdrop-filter: blur(4px);
            }

            .sf-hero-slider-wrap .carousel-caption .sf-hero-banner-btn:hover {
                background: rgb(255, 255, 255, .32);
                color: #fff;
                transform: translateY(-2px);
                box-shadow: none;
            }

            /* Mobile Styles */
            @media (max-width: 991px) {
                .sf-hero-slider-wrap {
                    border-radius: 10px;
                }

                .sf-hero-slider-wrap .carousel-caption {
                    left: 16px;
                    right: auto;
                    bottom: 16px;
                    padding: 0;
                    background: transparent !important;
                    justify-content: flex-end;
                    align-items: flex-start;
                }

                .sf-hero-slider-wrap .carousel-caption h5 {
                    font-size: clamp(18px, 4vw, 28px);
                    margin-bottom: 12px;
                }

                .sf-hero-slider-wrap .carousel-caption .sf-hero-banner-btn {
                    min-height: 40px;
                    padding: 0 20px;
                    font-size: 13px;
                }

                .sf-hero-slider-wrap .carousel-control-prev,
                .sf-hero-slider-wrap .carousel-control-next {
                    width: 34px;
                    height: 34px;
                    opacity: .9;
                }

                .sf-hero-slider-wrap .carousel-control-prev-icon::before,
                .sf-hero-slider-wrap .carousel-control-next-icon::before {
                    font-size: 18px;
                }

                .sf-hero-slider-wrap .carousel-indicators {
                    bottom: 12px;
                    padding: 6px 12px;
                }

                .sf-hero-slider-wrap .carousel-indicators button {
                    width: 8px;
                    height: 8px;
                }
            }

            /* Auto-play indicator animation */
            @keyframes slideIndicator {
                0%,
                100% {
                    opacity: 0.5;
                }

                50% {
                    opacity: 1;
                }
            }

            .sf-hero-slider-wrap .carousel-indicators button.active {
                animation: slideIndicator 2s infinite;
            }

            .sf-hero-manual-grid {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 14px;
            }

            .sf-hero-manual-grid.sf-hero-quad-track {
                display: flex;
                gap: 14px;
                overflow-x: auto;
                overscroll-behavior-x: contain;
                scroll-snap-type: x mandatory;
                scrollbar-width: none;
                -webkit-overflow-scrolling: touch;
            }

            .sf-hero-manual-grid.sf-hero-quad-track::-webkit-scrollbar {
                display: none;
            }

            .sf-hero-manual-grid.sf-hero-quad-track .sf-hero-banner-card {
                flex: 0 0 100%;
                scroll-snap-align: start;
            }

            .sf-hero-manual-grid.sf-hero-quad-track.sf-hero-quad-track--animated {
                overflow-x: auto;
            }

            .sf-hero-banner-card {
                position: relative;
                overflow: hidden;
                border-radius: 14px;
                border: var(--sf-border);
                background: #f8fafc;
            }

            @media (min-width: 992px) {
                .sf-hero-manual-grid.sf-hero-quad-track {
                    display: grid;
                    grid-template-columns: repeat(4, minmax(0, 1fr));
                    gap: 14px;
                    overflow: visible;
                    scroll-snap-type: none;
                }

                .sf-hero-manual-grid.sf-hero-quad-track .sf-hero-banner-card {
                    min-width: 0;
                }
            }

            .sf-hero-manual-grid.sf-hero-quad-track--animated .sf-hero-banner-card {
                animation: sfHeroQuadFloat 4.8s ease-in-out infinite;
                will-change: transform;
            }

            .sf-hero-manual-grid.sf-hero-quad-track--animated .sf-hero-banner-card:nth-child(2) {
                animation-delay: .45s;
            }

            .sf-hero-manual-grid.sf-hero-quad-track--animated .sf-hero-banner-card:nth-child(3) {
                animation-delay: .9s;
            }

            .sf-hero-manual-grid.sf-hero-quad-track--animated .sf-hero-banner-card:nth-child(4) {
                animation-delay: 1.35s;
            }

            .sf-hero-manual-grid.sf-hero-quad-track--animated:hover .sf-hero-banner-card {
                animation-play-state: paused;
            }

            @keyframes sfHeroQuadFloat {
                0%,
                100% {
                    transform: translateY(0);
                }

                50% {
                    transform: translateY(-6px);
                }
            }

            .sf-hero-banner-overlay {
                position: absolute;
                left: 16px;
                right: 16px;
                bottom: 16px;
                display: flex;
                flex-direction: column;
                gap: 8px;
                color: #fff;
                text-shadow: 0 2px 6px rgb(0, 0, 0, .35);
            }

            .sf-hero-banner-overlay h3 {
                margin: 0;
                font-size: clamp(16px, 2vw, 28px);
                line-height: 1.2;
            }

            .sf-hero-banner-btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-height: 34px;
                padding: 0 12px;
                border-radius: 8px;
                background: rgb(255, 255, 255, .94);
                color: #111827;
                font-weight: 700;
                text-decoration: none;
                max-width: fit-content;
            }

            .sf-hero-caption {
                right: auto;
                left: 14px;
                bottom: 14px;
                text-align: left;
                background: rgb(15, 23, 42, .36);
                padding: 8px 10px;
                border-radius: 8px;
                max-width: min(75%, 520px);
            }

            .sf-hero-caption h5 {
                margin: 0 0 6px;
                font-size: clamp(14px, 1.3vw, 24px);
            }

            .sf-hero-caption .sf-hero-banner-btn {
                min-height: 30px;
                font-size: 12px;
            }

            @media (max-width: 991px) {
                .sf-hero-manual-grid {
                    grid-template-columns: 1fr;
                    gap: 10px;
                }
            }


/* Tam Genislik (Full Width) hero blogu - sayfa container'indan tasip ekran genisligine yayilir.
   NOT: overflow-x: clip kullaniliyor (hidden DEGIL). hidden, html'i scroll container'a
   cevirip overflow-y'yi auto yapar; html yuksekligi icerige esit olunca dikey scroll
   tamamen kilitlenir (ozellikle PWA standalone). clip yatay tasmayi kirpar ama scroll
   container olusturmaz, viewport dogal dikey scroll eder. */
html { overflow-x: clip; }

.sf-hero.sf-hero-block.sf-hero-full-width {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.sf-hero-full-width .sf-hero-slider-wrap,
.sf-hero-full-width .sf-hero-banner-card {
    border-radius: 0;
}
