﻿@media (max-width: 600px) {
    .responsive-banner {
        font-size: 1.5rem; /* Smaller for mobile */
    }

    .mud-typography.mud-typography-body1.mud-switch.mud-switch-label-medium.mud-input-content-placement-end {
        display: none;
    }
}

@media (min-width: 601px) {
    .responsive-banner {
        font-size: 2.5rem; /* Larger for desktop */
    }
}

.responsive-center {
    text-align: left;
    display: block;
}

/* On small screens: center everything */
@media (max-width: 960px) {
    .responsive-center {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .responsive-center .mt-4,
        .responsive-center .mt-6 {
            margin-left: auto;
            margin-right: auto;
        }
}

.jumbotron {
    background-image: url('/img/banners/article-banner.jpg');
    background-size: cover;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.4) !important;
}

.jumbotron-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.text-white {
    color: white !important;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.inline-code {
    background-color: #424242;
    padding: 2px 4px;
    border-radius: 4px;
    color: #f8f8f2;
}