html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}

.bg-rota-dark {
    background-color: #1a1d20;
}

.bg-rota-red {
    background-color: #b91d22;
}

.text-rota-red {
    color: #b91d22;
}

.nav-link.rota-nav {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 15px !important;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}

    .nav-link.rota-nav:hover {
        background-color: #921519;
        color: #f8f9fa;
    }

.news-ticker-wrapper {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}

.ticker-label {
    background-color: #0d47a1;
    color: white;
    padding: 5px 15px;
    font-weight: bold;
    white-space: nowrap;
    font-size: 0.9rem;
}

.ticker-text {
    background-color: #ffffff;
    color: #333;
    font-size: 0.9rem;
    padding: 5px 15px;
    font-weight: 500;
}

.ticker-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee-scroll 30s linear infinite;
}

    .ticker-track:hover {
        animation-play-state: paused;
    }

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.finance-box {
    border-left: 1px solid #f0f0f0;
    padding: 5px 8px;
    text-align: center;
    background-color: #ffffff;
}

.finance-val {
    font-weight: bold;
    font-size: 1rem;
    margin-top: 2px;
    color: #1a1d20;
}

.sponsor-alan {
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    border-radius: 8px;
    border: 2px dashed #ced4da;
    letter-spacing: 1px;
    width: 100%;
}

.reklam-carousel,
.reklam-carousel .carousel-inner,
.reklam-carousel .carousel-item {
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

    .reklam-carousel .carousel-item img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain !important;
    }

.sponsor-ust {
    aspect-ratio: 1296 / 180;
    width: 100%;
    height: auto !important;
}

.sponsor-kutu {
    aspect-ratio: 300 / 180;
    width: 100%;
    height: auto !important;
}

.sponsor-dikey {
    width: 100%;
    height: 100%;
}

.sponsor-dikey-detay {
    aspect-ratio: 300 / 430;
    height: auto;
}

.ad-box {
    height: 250px;
    width: 100%;
}

.headline-carousel {
    height: 515px !important;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: #1a1d20;
}

    .headline-carousel .carousel-inner,
    .headline-carousel .carousel-item {
        height: 100%;
        width: 100%;
        aspect-ratio: 1124 / 781;
    }

        .headline-carousel .carousel-item img {
            width: 100%;
            height: 100% !important;
            /*object-fit: cover !important;*/
            object-position: center;
        }

    .headline-carousel .carousel-caption {
        background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0));
        bottom: 0;
        left: 0;
        right: 0;
        padding: 30px 20px 20px 20px;
        text-align: left;
    }

        .headline-carousel .carousel-caption h3 {
            font-weight: 800;
            font-size: 1.5rem;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
            margin-bottom: 5px;
            line-height: 1.2;
        }

    .headline-carousel .carousel-indicators {
        position: relative;
        margin: 0;
        padding: 10px 5px;
        background-color: #ffffff;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        border-top: 1px solid #f0f0f0;
    }

        .headline-carousel .carousel-indicators button {
            width: 30px !important;
            height: 30px !important;
            border-radius: 6px !important;
            text-indent: 0 !important;
            background-color: #e9ecef !important;
            color: #1a1d20;
            font-weight: bold;
            font-size: 0.95rem;
            margin: 3px !important;
            border: none !important;
            transition: all 0.3s ease !important;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .headline-carousel .carousel-indicators button.active {
                background-color: #b91d22 !important;
                color: #fff;
                transform: scale(1.1);
                box-shadow: 0 2px 6px rgba(185,29,34,0.4);
            }

.video-section {
    background-color: #2b3035;
    border-radius: 8px;
    padding: 15px;
    height: 515px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.video-scroll-container {
    flex-grow: 1;
    overflow-y: auto;
    min-height: 0;
    padding-right: 5px;
}

    .video-scroll-container::-webkit-scrollbar {
        width: 6px;
    }

    .video-scroll-container::-webkit-scrollbar-track {
        background: #1a1d20;
        border-radius: 4px;
    }

    .video-scroll-container::-webkit-scrollbar-thumb {
        background: #b91d22;
        border-radius: 4px;
    }

        .video-scroll-container::-webkit-scrollbar-thumb:hover {
            background: #e65100;
        }

.video-header-img {
    max-height: 50px;
    display: block;
    margin: 0 auto 15px auto;
}

.video-card {
    background-color: #e65100;
    border-radius: 6px;
    padding: 5px 5px 10px 5px;
    margin-bottom: 15px;
}

.video-card-title {
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: white;
}

.news-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

.news-card-img,
.recipe-slider .carousel-item img {
    width: 100%;
    aspect-ratio: 1124 / 781;
    height: auto !important;
    object-fit: contain !important;
}

.news-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1d20;
    text-decoration: none;
    display: block;
    margin-top: 5px;
    transition: color 0.2s ease;
    line-height: 1.3;
}

    .news-card-title:hover {
        color: #b91d22;
    }

.recipe-slider {
    height: 100% !important;
    border-radius: 8px;
    overflow: hidden;
}

.recipe-title {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-weight: 900;
    font-size: 1.3rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.9);
    z-index: 2;
    letter-spacing: 1px;
}

.recipe-slider .carousel-indicators button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    margin: 0 4px !important;
}

.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.sidebar-title {
    border-bottom: 2px solid #b91d22;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.2rem;
}

.sidebar-news-item {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

    .sidebar-news-item:last-child {
        margin-bottom: 0;
        border-bottom: none;
        padding-bottom: 0;
    }

.sidebar-news-img {
    width: 115px;
    height: 80px;
    object-fit: cover !important;
    border-radius: 6px;
    margin-right: 15px;
}

.sidebar-news-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1d20;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.2s ease;
}

    .sidebar-news-title:hover {
        color: #b91d22;
    }

.article-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.article-title {
    font-weight: 800;
    font-size: 2.2rem;
    color: #1a1d20;
    line-height: 1.3;
}

.article-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

    .article-meta i {
        color: #b91d22;
    }

.share-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    margin-right: 5px;
    transition: transform 0.2s;
}

    .share-btn:hover {
        transform: translateY(-3px);
        color: white;
    }

.share-fb {
    background-color: #3b5998;
}

.share-tw {
    background-color: black;
}

.share-wa {
    background-color: #25d366;
}

.article-image {
    width: 100%;
    aspect-ratio: 1124 / 781;
    height: auto !important;
    border-radius: 8px;
    margin-bottom: 25px;
    object-fit: contain !important;
    background-color: transparent;
}

.article-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    text-align: justify !important;
}

    .article-content p {
        margin-bottom: 20px;
    }

    .article-content blockquote {
        border-left: 4px solid #b91d22;
        padding-left: 15px;
        font-style: italic;
        color: #555;
        background: #f8f9fa;
        padding: 15px;
        border-radius: 4px;
    }

.article-video-container {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: #1a1d20;
}

.article-gallery-title {
    font-weight: 700;
    border-bottom: 2px solid #b91d22;
    padding-bottom: 10px;
    margin-bottom: 20px;
    margin-top: 40px;
}

.article-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.gallery-img {
    width: 100%;
    aspect-ratio: 1124 / 781;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .gallery-img:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

.hover-red:hover {
    color: #b91d22 !important;
}

@media (max-width: 991.98px) {
    .headline-carousel {
        height: auto !important;       
    }

    .video-section {
        height: 400px !important;
    }

    .sponsor-dikey {
        aspect-ratio: 300 / 340;
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .headline-carousel .carousel-caption h3 {
        font-size: 1.1rem;
    }
}
