/* Markazi Football Association | proportional home slider | 2026-11-09
   Loaded after the existing design CSS. Does not change slider data or admin tools. */
body .hero-slider {
    width: min(1240px, calc(100% - 48px));
    max-width: 1240px;
    margin: 26px auto 38px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(18, 45, 68, .12);
    isolation: isolate;
}
body .hero-slider .carousel,
body .hero-slider .carousel-inner { border-radius: inherit; }
body .hero-slider .carousel-item {
    height: clamp(320px, 31vw, 405px);
}
body .hero-slider .slider-bg {
    inset: 0;
    background-size: cover;
    background-position: center center;
    will-change: auto;
}
body .hero-slider .carousel-item.active .slider-bg {
    transform: scale(1.025);
}
body .hero-slider .slider-overlay {
    background: linear-gradient(to left,
        rgba(6, 30, 50, .03) 0%,
        rgba(6, 30, 50, .10) 35%,
        rgba(6, 30, 50, .58) 75%,
        rgba(6, 30, 50, .78) 100%);
}
body .hero-slider .slider-content-row {
    width: 100%;
    padding-bottom: 52px;
}
body .hero-slider .slider-text-wrapper { padding: 18px 24px; max-width: 690px; }
body .hero-slider .slider-title { font-size: clamp(1.35rem, 2.15vw, 2rem); line-height: 1.65; }
body .hero-slider .slider-subtitle { font-size: clamp(.85rem, 1vw, 1rem); line-height: 1.85; }
body .hero-slider .slider-arrow { width: 42px; height: 42px; font-size: 1.2rem; }
body .hero-slider .slider-arrow-prev { left: 14px; }
body .hero-slider .slider-arrow-next { right: 14px; }
body .hero-slider .carousel-indicators { bottom: 17px; }
body .hero-slider .carousel-indicators button { width: 30px; height: 4px; }
body .hero-slider .carousel-indicators button.active { width: 42px; }
body .hero-slider .slider-side-accent { width: 4px; }
@media (max-width: 991.98px) {
    body .hero-slider { width: calc(100% - 32px); margin: 20px auto 28px; border-radius: 12px; }
    body .hero-slider .carousel-item { height: clamp(285px, 42vw, 360px); }
    body .hero-slider .slider-content-row { padding-bottom: 42px; }
    body .hero-slider .slider-text-wrapper { padding: 14px 18px; }
    body .hero-slider .slider-title { font-size: clamp(1.25rem, 2.8vw, 1.7rem); }
}
@media (max-width: 767.98px) {
    body .hero-slider { width: calc(100% - 24px); margin: 14px auto 22px; border-radius: 10px; }
    body .hero-slider .carousel-item { height: clamp(225px, 56vw, 310px); }
    body .hero-slider .slider-bg { background-position: center; }
    body .hero-slider .slider-overlay {
        background: linear-gradient(to top, rgba(6, 28, 45, .84), rgba(6, 28, 45, .42) 55%, rgba(6, 28, 45, .04));
    }
    body .hero-slider .slider-content { align-items: flex-end; }
    body .hero-slider .slider-content-row { padding-bottom: 36px; margin: 0; }
    body .hero-slider .slider-text-wrapper { max-width: 100%; padding: 10px 14px; background: rgba(9, 26, 40, .2); backdrop-filter: none; }
    body .hero-slider .slider-title { font-size: clamp(1.02rem, 4vw, 1.38rem); line-height: 1.55; }
    body .hero-slider .slider-subtitle { display: none; }
    body .hero-slider .slider-cta { padding: 6px 13px; font-size: .78rem; }
    body .hero-slider .carousel-indicators { bottom: 9px; }
}
@media (max-width: 420px) {
    body .hero-slider .carousel-item { height: 224px; }
    body .hero-slider .slider-content-row { padding-bottom: 29px; }
    body .hero-slider .slider-title { font-size: 1rem; }
    body .hero-slider .slider-text-wrapper { padding: 8px 10px; }
    body .hero-slider .slider-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    body .hero-slider .slider-bg { transition: none; transform: none !important; }
}
