html, body {
    overflow-x: hidden;
}

@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;
    }

    .peer-review-card .mud-card-header-avatar{
        margin-right: 0;
        margin-inline-end: 0;

        & img {
            justify-content: center;
            align-items: center;
            width: 70px;
            margin: 8px;
        }
    }

    .peer-review-card .mud-card-header-content{
        align-items: center;
        text-align: center;
        width: 100%;

        & .mud-grid{
            margin-top: -8px;

            & .mud-grid-item {
                padding: 0 0 4px 8px !important;
                flex: 0 0 100%;
                max-width: 100%;
            }
        }
    }
}

@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-align: center;
}

.text-white {
    color: white !important;
}

.appbar-search .mud-input-slot {
    color: white !important;
}

.appbar-search .mud-input-slot::placeholder {
    color: rgba(255, 255, 255, 0.95) !important;
}

.appbar-search fieldset.mud-input-outlined-border {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.appbar-search .mud-input-outlined {
    background-color: rgba(255, 255, 255, 0.2) !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;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Remove the focus outline for elements focused programmatically by Blazor */
[tabindex="-1"]:focus {
    outline: none !important;
}

.external-email-wrap {
    width: 100% !important;
    max-width: 520px !important; /* increase if you want */
    margin-left: auto !important;
    margin-right: auto !important;
}

    /* Force the floating container and input to stretch */
.external-email-wrap .form-floating {
        width: 100% !important;
    }

deep .external-email-wrap .form-floating > .form-control {
            width: 100% !important;
            min-width: 100% !important;
        }