/* Ensure media thumbnails fit their containers */
.media-bg-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
    background: #111;
}
@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap);@media (max-width: 768px) {
    .media-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        justify-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .media-element, .suggest-content-placeholder {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
@media (max-width: 768px) {
    .media-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}
/* Responsive grid for media elements in search and category views */
.media-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}
@media (min-width: 768px) {
    .media-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}
.media-element {
    width: 100% !important;
    max-width: 100%;
    /* margin removed to allow per-element margin to apply */
}

.suggest-content-placeholder {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0.5px !important;
    margin-right: 0.5px !important;
}
@media (max-width: 768px) {
    .media-container, .media-list, .category-page, .main-content, .filter-bar, .form-suggestions-container, .footer-banner-content {
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        width: 100% !important;
    }
    .category-page {
        padding-top: 20px;
    }
    .category-page .media-container {
        gap: 0.75rem !important;
    }
    .category-page .media-element {
        width: 100% !important;
        max-width: 100% !important;
    }
    .filter-bar {
        justify-content: center;
    }
}
/* Spacing for search/category page header and filter bar */
.back-link-wrapper {
    margin-bottom: 2.5rem;
}
.generic-title {
    margin-bottom: 2rem;
}
@media (max-width: 768px) {
    .back-link-wrapper {
        margin-bottom: 1.5rem;
        margin-top: 1rem;
    }
    .generic-title {
        margin-bottom: 1.5rem;
    }
}
.filter-bar {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}
.media-container, .media-list {
    margin-top: 2.5rem !important;
}
/* Consistent filter bar controls */
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    width: 100%;
}
.filter-dropdown {
    min-width: 200px !important;
    max-width: 220px;
    text-align: left;
    background: #114366 !important;
    color: #fff !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    border: none !important;
    box-shadow: none !important;
}
.filter-dropdown:focus, .filter-dropdown:active {
    background: #0d3557 !important;
    color: #fff !important;
    outline: none !important;
    box-shadow: 0 0 0 2px #04395e33 !important;
}
.filter-reset-btn {
    min-width: 140px;
    max-width: 180px;
    text-align: center;
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
}
@media (max-width: 768px) {
    .filter-controls {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        justify-content: center;
    }
    .filter-dropdown {
        min-width: 100%;
        max-width: 100%;
    }
    .filter-reset-btn {
        min-width: auto;
        max-width: 200px;
        padding: 0.5rem 1.5rem !important;
    }
}
/* Filter bar organization for search page */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.filter-dropdowns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.reset-button {
    display: flex;
    align-items: center;
    margin-left: auto;
}
@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .filter-dropdowns {
        flex-direction: column;
        gap: 0.5rem;
    }
    .reset-button {
        margin-left: 0;
        margin-top: 0.5rem;
        justify-content: flex-start;
    }
}
.header,
.header-generic {
    background-color: #252526 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.7);
    color: #fff;
}
.generic-title,
.generic-title h1 {
    font-weight: bold !important;
}
.generic-title,
.generic-title h1,
.generic-hashtags,
.generic-hashtags h3,
.info-area,
.info-area * {
    font-family: 'Montserrat', Arial, sans-serif !important;
}
.generic-title,
.generic-title h1,
.generic-hashtags,
.generic-hashtags h3,
.info-area,
.info-area * {
    color: #fff !important;
}
.home-video-title-btn-link:hover {
    background-color: rgba(131, 131, 131, 0.3) !important;
    transition: background-color 0.2s;
}
.home-video-title-btn-link {
    text-decoration: none !important;
    color: inherit !important;
}
#see-more-button {
    position: relative;
    z-index: 2000;
    pointer-events: auto;
}
.media-title {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    padding: 8px 12px;
    background: rgba(0,0,0,0.0);
    z-index: 2;
    box-sizing: border-box;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    align-items: center;
    z-index: 100;
    position: relative;
    gap: 8px;
}
.media-title .media-icon {
    display: none;
}
.media-icon-corner {
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: #fff;
    font-size: 1.3rem;
    z-index: 3;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    pointer-events: none;
}
.home-splash-overlay .home-title,
.home-splash-overlay .home-subtitle {
    opacity: 0;
    animation: fadeInSplashTitle 1.2s ease-in forwards;
}

@keyframes fadeInSplashTitle {
    from { opacity: 0; }
    to { opacity: 1; }
}
.form-suggestions-title,
.form-suggestions-subtitle {
    color: #fff !important;
}
.form-suggestions, .form-suggestions * {
    color: #fff !important;
}
.media-element.placeholder {
    pointer-events: auto;
    cursor: pointer;
}
/* Lower right blue overlay for video area */
.home-video-status-overlay {
    position: absolute;
    right: 0;
    bottom: 80px;
    width: 300px;
    height: 45px;
    background: rgba(4, 57, 94, 0.85);
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    pointer-events: none;
    text-align: center;
    padding: 0 8px;
    border-left: 3px solid #28a1d8;
}

.home-video-title-overlay-mobile {
    position: absolute;
    right: 0;
    bottom: 140px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Top left overlay title for video area */
.home-video-title-overlay {
    position: absolute;
    top: 32px;
    left: 15px;
    z-index: 2;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    background: rgba(15, 15, 15, 0.0);
    padding: 8px 24px;
    border-radius: 12px;
}
    .media-element {
        position: relative;
        aspect-ratio: 16 / 9;
        width: 260px;
        max-width: 260px;
        height: auto;
        flex: 0 0 auto;
        margin-left: 15px;
        margin-right: 15px;
        overflow: hidden;
        /* ...existing code... */
            margin-left: 0px;
            margin-right: 0px;
            margin-right: 3px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    z-index: 1;
}
.media-title, .media-icon-wrapper {
    position: relative;
    z-index: 2;
}
.media-element {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 16 / 9;
    width: 260px;
    max-width: 260px;
    height: auto;
    flex: 0 0 auto;
    margin-left: 15px;
    margin-right: 15px;
    -o-object-fit: cover;
       object-fit: cover;
}
.media-element {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 16 / 9;
    width: 260px;
    max-width: 260px;
    height: auto;
    flex: 0 0 auto;
    margin-left: 15px;
    margin-right: 15px;
}
/* Media Section Styles from home.blade.php */
.media-section-wrapper {
    position: relative;
    width: 100%;
}

/* Progressive z-index for each section */
.media-section-wrapper:nth-of-type(1) { z-index: 1; }
.media-section-wrapper:nth-of-type(2) { z-index: 2; }
.media-section-wrapper:nth-of-type(3) { z-index: 3; }
.media-section-wrapper:nth-of-type(4) { z-index: 4; }
.media-section-wrapper:nth-of-type(5) { z-index: 5; }
.media-section-wrapper:nth-of-type(6) { z-index: 6; }
.media-section-title {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 24px;
    margin-top: 15px;
    margin-left: 32px;
}
.media-scroll-arrows {
    /* ...existing code... */
        margin-left: 1px;
        margin-right: 1px;
    z-index: 10;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-scroll-arrows-left {
    left: 0;
}
.media-scroll-arrows-right {
    right: 0;
}
.media-arrow-left, .media-arrow-right {
    background: rgba(0, 0, 0, 0.65);
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 9999;
    opacity: 0.85;
    transition: opacity 0.15s, background 0.15s, transform 0.12s;
    flex-shrink: 0;
}
.media-arrow-left:hover, .media-arrow-right:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.08);
}
.media-scroll-container {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    gap: 10px;
    scroll-behavior: smooth;
    padding-bottom: 120px;
    padding-left: 32px;
    padding-top: 60px;
    margin-top: -60px;
    margin-bottom: -120px;
}

.media-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}


.media-element {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}
.home-title {
    font-size: 2.2rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.home-subtitle {
    font-size: 1.3rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: normal;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.media-icon {
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
#media-scroll-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 15px;
    scroll-behavior: smooth;
    padding-bottom: 24px;
    background: transparent;
    margin-left: 32px;
    margin-right: 32px;
    padding-top: 60px;
    margin-top: -60px;
}
.media-element {
    flex: 0 0 auto;
    width: 260px;
    max-width: 260px;
    aspect-ratio: 16 / 9;
    margin: 0;
    background: rgba(0,0,0,0.9);
    justify-self: center;
    position: relative;
    height: auto;
    transition: background 0.2s;
}
.media-scroll-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    pointer-events: auto;
}
.media-arrow-left, .media-arrow-right {
    pointer-events: auto;
}
.media-arrow-left {
    position: absolute;
    left: 0;
}
.media-arrow-right {
    position: absolute;
    right: 0;
}
.media-arrow-left, .media-arrow-right {
    background: rgba(0, 0, 0, 0.65);
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 9999;
    transition: opacity 0.15s, background 0.15s;
}
#media-scroll-container::-webkit-scrollbar {
    display: none;
}
#media-scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
#media-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-content: center;
    margin: 0 auto;
    padding-top: 30px;
}
@media (max-width: 1200px) {
    #media-container {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    #media-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
.media-element {
    width: 260px !important;
    max-width: 260px !important;
    aspect-ratio: 16 / 9 !important;
    flex: 0 0 auto;
    margin-left: 5px;
    margin-right: 5px;
    background: none;
    justify-self: center;
    position: relative;
    height: auto !important;
    border-radius: 5px 5px 5px 5px;
    pointer-events: auto !important;
    cursor: pointer;
}
/* .media-element now includes all previous .media-element-top styles */
.form-suggestions .form-button-submit {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-weight: 700;
}
/* Montserrat font for all input and textarea placeholders */
.form-suggestions input::-moz-placeholder, .form-suggestions textarea::-moz-placeholder {
    font-family: 'Montserrat', Arial, sans-serif !important;
}
.form-suggestions input::placeholder,
.form-suggestions textarea::placeholder {
    font-family: 'Montserrat', Arial, sans-serif !important;
}
.form-suggestions input::-webkit-input-placeholder,
.form-suggestions textarea::-webkit-input-placeholder {
    font-family: 'Montserrat', Arial, sans-serif !important;
}
.form-suggestions input:-ms-input-placeholder,
.form-suggestions textarea:-ms-input-placeholder {
    font-family: 'Montserrat', Arial, sans-serif !important;
}
.form-suggestions input::-moz-placeholder,
.form-suggestions textarea::-moz-placeholder {
    font-family: 'Montserrat', Arial, sans-serif !important;
}
.form-suggestions-row {
    padding-left: 48px;
    padding-right: 48px;
    margin-top: 50px;
}
 .form-suggestions {
    background: linear-gradient(70deg, #04395e 0%, #141414 100%) !important;
    padding: 48px;
}
.col-suggestions-text {
    padding-bottom: 48px;
}
.form-suggestions .col-md-6 {
    padding-bottom: 10px;
}
.form-suggestions input,
.form-suggestions textarea,
.form-suggestions label,
.form-suggestions .form-suggestions-title,
.form-suggestions .form-suggestions-subtitle {
    font-family: 'Montserrat', Arial, sans-serif !important;
    color: #ffffff !important;
}
.form-suggestions, .form-suggestions-title, .form-suggestions-subtitle, .form-input-name, .form-input-email, .form-input-subject, .form-input-message, .form-button-submit {
    font-family: 'Montserrat', Arial, sans-serif !important;
}
.form-suggestions {
    color: #000 !important;
}
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* BODY */

html, body {
    height: 100%;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #141414 !important;
    color: #000000;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.dropdown-main {
    margin-right: 20px;
    background-color: #181818 !important;
    color: #fff !important;
    font-family: 'Montserrat', Arial, sans-serif;
    position: relative;
    border: none !important;
    border-radius: 8px !important;
    font-weight: bold;
    box-shadow: 0 2px 12px rgba(0,0,0,0.7);
    padding: 10px 24px;
    transition: background 0.2s, color 0.2s;
}

/* Dropdown styling overrides: smaller font and Montserrat */
.dropdown-main {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 14px !important; /* smaller than default */
    padding: 8px 16px !important;
    line-height: 1.2 !important;
}

.dropdown-main .dropdown-toggle,
.dropdown-main.dropdown-toggle {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 14px !important;
}

.dropdown-menu .dropdown-item {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 14px !important;
}

/* Headers */


/* ////////////////////////////////*/

.header {
    background-color: #2c2c2c;
    padding: 20px;
    text-align: left;
}

.header-logo {
    width: 180px;
    height: auto;
    margin: 0 auto;
}


@media screen and (max-width: 768px) {
/* Netflix-style dropdown menu */
.dropdown-menu {
    background-color: #181818 !important;
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.7);
    padding: 8px 0;
    min-width: 180px;
    position: fixed !important;
    top: 80px !important; /* below header */
    left: 0 !important;
    z-index: 1100 !important;
}
.dropdown-item {
    color: #fff !important;
    font-weight: 500;
    padding: 10px 24px;
    transition: background 0.2s, color 0.2s;
}
.dropdown-item:hover, .dropdown-item:focus {
    background-color: #e50914 !important;
    color: #fff !important;
}
    .header-logo {
        width: 125px;
        height: auto;
    }
}

.header-home {
    background-color: rgb(15, 15, 15);
    padding: 0 20px;
    text-align: left;
    height: 80px;
    padding-right: 20px !important;
    padding-left: 20px !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 9999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.7);
    align-items: center;
    box-sizing: border-box;
}

.header-generic {
    background-color: rgba(37, 37, 38, 0.95);
    padding: 0 20px;
    text-align: left;
    height: 80px;
    padding-right: 20px !important;
    padding-left: 20px !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 9999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.7);
    transition: background-color 0.3s ease;
    align-items: center;
    box-sizing: border-box;
    color: #fff;
}

.header-generic.scrolled {
    background-color: rgba(37, 37, 38, 0.7);
}

.header-generic.scrolled:hover {
    background-color: rgba(37, 37, 38, 0.95);
}

@media screen and (max-width: 768px) {
    .header-home {
        padding-left: 20px !important;
    }
}


/* ////////////////////////////////*/

.main-content {
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    position: relative;
    z-index: 2;
}

/* Dropdown */

.dropdown-main {
    margin-right: 20px;
    background-color: #fff !important;
    color: #000 !important;
    font-family: 'Montserrat', Arial, sans-serif;
    position: relative;
    border: none !important;
}

.dropdown-main::active {
    outline: none;
    box-shadow: none;
    border: none !important;
}

.dropdown-main::after {
    content: "";
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 6px;
    background: url("/images/mini-arrow-down.png") no-repeat center center;
    background-size: contain;
}


/* ////////////////////////////////*/

.nav-link {
    color: #fff !important;
}

.nav-link:hover {
    color: #c9c9c9 !important;
}


/* ////////////////////////////////*/


/* Footer */

.footer {
    width: 100%;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

/* Main content wrapper to push footer down */
.category-page,
.main-content,
main {
    flex: 1;
    padding-top: 100px;
}


/* Header Search */

.header-search {
    background-color: transparent;
    color: #fff !important;
    display: flex;
    width: 157px;
    height: 32px;
    padding: 4px 8px;
    justify-content: space-between;
    align-items: center;
    border: 0px;
    border-bottom: 1px solid #fffffc !important;
}

.header-search::-ms-clear {
    display: none;
}

.header-search::-ms-reveal {
    display: none;
}

input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

input[type="search"]:focus::-webkit-search-cancel-button {
    display: block;
}

.header-search input::-moz-placeholder {
    color: white;
    font-size: 14px !important;
}

.header-search input:-moz-placeholder {
    color: white;
    font-size: 14px !important;
}

.header-search input::-webkit-input-placeholder {
    color: white;
    font-size: 14px !important;
}

.header-search input:-ms-input-placeholder {
    color: white;
    font-size: 14px !important;
}

.header-search input:-moz-placeholder {
    color: white;
    font-size: 14px !important;
}

.header-search input {
    -webkit-text-fill-color: white;
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .header-search {
        width: 120px;
    }
}



/* Splash video area */
.home-video-area {
    position: relative;
    width: 100vw;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 1;
}

#home-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 80vh;
    -o-object-fit: cover;
       object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Hero Carousel */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
    pointer-events: none;
}
.hero-slide-active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}
.home-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-indicator {
    width: 48px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}
.hero-indicator:hover {
    background: rgba(255,255,255,0.5);
}
.hero-indicator.active {
    background: rgba(255,255,255,0.3);
}
.hero-indicator-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 2px;
    transition: none;
}
.hero-indicator.active .hero-indicator-progress {
    /* Duration set dynamically via JS inline style */
}
@keyframes heroProgress {
    from { width: 0%; }
    to { width: 100%; }
}
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
}
.home-video-area:hover .hero-nav {
    opacity: 1;
}
.hero-nav:hover {
    background: rgba(0,0,0,0.7);
}
.hero-nav-prev { left: 20px; }
.hero-nav-next { right: 20px; }
.hero-sound-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
}
.hero-sound-toggle:hover {
    background: rgba(0,0,0,0.7);
    transform: scale(1.1);
}
.hero-sound-toggle:active {
    transform: scale(0.95);
}
@media (max-width: 768px) {
    .hero-nav { display: none; }
    .hero-indicators { bottom: 15px; }
    .hero-indicator { width: 32px; height: 3px; }
    .hero-sound-toggle { top: 15px; right: 15px; width: 40px; height: 40px; font-size: 0.9rem; }
}

.home-splash-overlay {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 80vh;
    padding-top: 80px;
    padding-bottom: 140px;
    margin-left: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: transparent;
    opacity: 1;
    transition: opacity 1s;
}
.home-splash-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.home-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 3rem;
    font-style: bold;
    color: #fff;
    text-align: left;
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 768px) {
    .home-splash-overlay {
        position: absolute;
        z-index: 1;
        width: 100%;
        height: 80vh;
        padding-top: 60px;
        padding-bottom: 100px;
        margin-left: 0;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        background: transparent;
        opacity: 1;
        transition: opacity 1s;
    }
    
    .home-title {
        font-size: 1.6rem !important;
        line-height: 45px;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .home-subtitle {
        font-size: 1.4rem;
        line-height: 2rem;
        text-align: center;
        margin-bottom: 20px;
    }
}

.home-subtitle {
    color: var(--White_1, #fffffc);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 3rem;
    font-style: normal;
    font-weight: normal;
    line-height: 3rem;
    text-align: left;
}

.home-description {
    margin-top: 50px;
    max-width: 900px;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    text-align: left;
}

@media screen and (max-width: 1024px) {
    .home-title {
        font-size: 3.5rem;
    }
    .home-subtitle {
        font-size: 2rem;
    }
    .home-description {
        font: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .home-title {
        font-size: 2.5rem;
    }
    .home-subtitle {
        font-size: 1rem;
        line-height: 20px;
    }
    .home-description {
        font-size: 0.8rem;
    }
}


/* language switch header */

.header-language-search-switch {
    display: block;
    text-decoration: none;
    background-color: #114366;
    padding: 5px 5px 5px 0px;
    margin: 0 0 0 10px;
    border-radius: 5px 5px 5px 5px;
}

.header-locale-icon {
    color: #ffffff;
    font-size: 1.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
    margin: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-locale-icon:hover {
    transform: scale(1.1);
    color: #c5c5c5;
}

.header-search-icon {
    cursor: pointer;
    width: 25px;
    margin-right: 10px;
    height: auto;
    transition: transform 0.2s;
}

.header-search-icon:hover {
    transform: scale(1.1);
    color: #c5c5c5;
}

.locale-icon {
    width: 15px;
    height: auto;
    margin: 10px;
    transition: transform 0.3s;
}

.locale-icon:hover {
    transform: scale(1.1);
    color: #c5c5c5;
}

.header-highlights-icon {
    cursor: pointer;
    width: 25px;
    height: auto;
    margin: 10px;
    transition: transform 0.3s;
}

.header-highlights-icon:hover {
    transform: scale(1.1);
    color: #c5c5c5;
}

.categories-row {
    background: linear-gradient(to right, #04304d 0%, rgba(4, 48, 77, 0.0) 100%);
    position: fixed;
    top: 80px; /* below header */
    left: 0;
    width: 100vw;
    height: auto;
    z-index: 9998;
    box-shadow: 0 2px 12px rgba(0,0,0,0.7);
    transition: opacity 0.3s ease;
    /* border-radius: 0px 0px 48px 0px; */
}

.categories-row.d-none {
    display: none !important;
}

.categories-row:not(.d-none) {
    display: block;
}

/* Mobile solid background for categories */
@media screen and (max-width: 768px) {
    .categories-row {
        background: #042f4c;
    }
    
    /* Center category links horizontally on mobile */
    .categories-row .col-md-12 {
        justify-content: center !important;
        text-align: center;
    }
    
    .categories-row .category-link {
        margin: 5px;
        display: inline-block;
    }
}

.home-video-title-btn {
    background-color: rgba(131, 131, 131, 0.75);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    border: none;
    z-index: 1000;
    display: inline-block;
    margin-top: 20px;
}

.blue-icon-group {
    position: relative;
    display: flex;
    align-items: center;
}
.languages-row {
    background: transparent;
    position: absolute;
    top: 100%;
    right: -17px;
    left: auto;
    width: auto;
    min-width: unset;
    max-width: unset;
    height: auto;
    z-index: 2000;
    padding: 0;
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
    pointer-events: auto;
}

.languages-row.d-none {
    display: none;
}

.languages-row.d-block {
    display: block;
}

.language-dropdown {
    width: 150px !important;
    border-radius: 0px 5px 5px 0px !important; /* rounded corners on the right */
    border-left: none !important;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    max-height: 50px !important;
    height: 35px !important;
}

.language-title {
    color: #fff;
    background-color: rgba(4, 57, 94, 0.95); /* Darker blue with high opacity */
    padding: 10px 15px;
    border-radius: 5px 0px 0px 5px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    max-height: 50px !important;
    height: 35px !important;
    display: flex;
    align-items: center;
}


/* Arrow Down */

.arrow-down {
    cursor: pointer;
    width: 48px;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: 0.2s;
}

.arrow-down:hover {
    transform: scale(1.1);
}


/* Highlights */

.highlights {
    height: -moz-fit-content;
    height: fit-content;
    text-align: center;
    padding-top: 20px;
    width: 100vw;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.highlights-title {
    font-family: "Pixelify Sans", sans-serif;
    padding-bottom: 15px;
    font-size: 2rem;
    color: #fff;
    text-decoration: none !important;
}

.generic-title {
    color: var(--Black, #0e1514);
    font-family: "Pixelify Sans";
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    margin-top: 8px;
    padding-top: 8px;
}

.generic-hashtags {
    font-size: x-small;
    color: #ffffff;
}

@media screen and (max-width: 768px) {
    .highlights-title {
        font-size: 1.5rem;
    }
}

.input-search-icon {
    position: absolute;
    margin-left: 130px;
    cursor: pointer;
    width: 20px;
    height: auto;
    transition: transform 0.2s;
}

.input-search-icon:hover {
    transform: scale(1.1);
}

.highlight-box-big {
    cursor: pointer;
    background-color: #2c2c2c;
    display: flex;
    width: 269px;
    height: 264px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    border-radius: 48px 0px 48px 48px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s;
}

.highlight-box-big:hover {
    transform: scale(1.1);
}

.highlight-slider-element {
    -o-object-position: center;
    object-position: center;
    width: 100%;
    height: auto;
    aspect-ratio: 16/5;
    -o-object-fit: contain;
    object-fit: contain;
    object-position: center;
}

.highlight-box-small {
    cursor: pointer;
    background-color: #2c2c2c;
    display: flex;
    width: 205px;
    height: 200px;
    padding: 16px;
    margin: 24px;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    border-radius: 48px 0px 48px 48px;
    background: linear-gradient( 0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), url(<path-to-image>) lightgray 50% / cover no-repeat;
    /* Sombra */
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s;
}

.highlight-box-small:hover {
    transform: scale(1.1);
}

.highlight-box-container {
    overflow-x: scroll;
    overflow-y: hidden;
}

.highlights-box-container::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.media-list {
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    margin-top: 80px;
    margin-bottom: 80px;
    text-align: left;
    text-justify: inter-word;
}


/* media-elements */

/* Overlay for media element alpha effect */
.media-element-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    pointer-events: none !important;
    z-index: 0;
    transition: background 0.2s;
}
.media-element:hover .media-element-overlay {
    background: rgba(0,0,0,0);
}

.media-element:hover {
    background: rgba(0,0,0,1);
    transform: scale(1.3);
    z-index: 100;
    transition: transform 0.3s ease, background 0.2s, z-index 0s;
}

.media-element-top {
    /* border-radius: 24px 0px 0px 0px; */
    width: 100%;
    display: flex;
    aspect-ratio: 16 / 9;
    padding: 8px;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    align-self: stretch;
}

.media-element-bottom {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    /* border-radius: 0px 0px 48px 0px; */
    background: var(--Blue_escuro, #04395e);
    color: #ffffff;
    /* Sombra */
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 16px;
}

.media-element-category {
    color: var(--White_1, #fffffc);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 0px !important;
    margin: 0 !important;
}

.media-element-details {
    width: 100%;
    margin: 0 !important;
}

.media-element-date {
    color: var(--White_1, #fffffc);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-wrap-mode: nowrap;
}

@media screen and (min-width: 700px) and (max-width: 1700px) {
    .media-element-date {
        visibility: none;
    }
}



/* Categories Row */

.row-categories {
    padding-left: 80px;
    padding-right: 80px;
}

@media screen and (max-width: 768px) {
    .row-categories {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* See more */

.see-more-button {
    cursor: pointer;
    color: var(--Black, #0e1514);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 80px;
    transition: transform 0.2s;
    z-index: 3000;
    position: relative;
    pointer-events: auto;
}

/* Mobile positioning for see-more button */
@media screen and (max-width: 768px) {
    .see-more-button {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-top: 150px;
        margin-bottom: 40px;
        width: 100%;
    }
}

.reset-button {
    cursor: pointer;
    color: var(--Black, #0e1514);
    font-family: "Pixelify Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 80px;
    transition: transform 0.2s;
}

.see-more-button:hover {
    transform: scale(1.1);
}

.no-transition {
    transition: none;
}

.mini-arrow-down {
    margin-left: 8px;
    width: 12px;
    height: 6px;
    margin-top: auto;
    margin-bottom: auto;
}


/* suggestions Form */

.form-suggestions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Ensure alignment to the left */
    justify-content: flex-start;
    /* Ensure alignment to the left */
    border-radius: 48px;
    background: var(--Blue_claro, #ffffff);
    padding: 48px;
    height: -moz-fit-content;
    height: fit-content;
}

.form-suggestions-title {
    color: #fffffc;
    font-family: "Pixelify Sans";
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    text-align: left;
    /* Ensure text alignment to the left */
}

.form-suggestions-subtitle {
    color: #fffffc;
    font-family: Raleway;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: left;
    /* Ensure text alignment to the left */
}

.form-input-name::-moz-placeholder {
    font-family: "Pixelify Sans";
}

.form-input-name::placeholder {
    font-family: "Pixelify Sans";
}

.form-input-email::-moz-placeholder {
    font-family: "Pixelify Sans";
    border-radius: 0px 50px 0px 0px !important;
    background: #fffffc;
}

.form-input-email::placeholder {
    font-family: "Pixelify Sans";
    border-radius: 0px 50px 0px 0px !important;
    background: #fffffc;
}

.form-input-subject::-moz-placeholder {
    font-family: "Pixelify Sans";
}

.form-input-subject::placeholder {
    font-family: "Pixelify Sans";
}

.form-input-message {
    display: flex;
    height: 168px;
    padding: 12px 16px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 0px 0px 0px 50px;
    background: #fffffc;
    resize: none;
}

.form-input-message::-moz-placeholder {
    font-family: "Pixelify Sans";
}

.form-input-message::placeholder {
    font-family: "Pixelify Sans";
}

.col-suggestions-text {
    padding-left: 48px !important;
    text-align: left !important;
}

.form-suggestions-subtitle {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.form-button-submit {
    font-family: "Pixelify Sans" !important;
    color: #fff !important;
    display: flex !important;
    height: 32px !important;
    padding: 0px 16px !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 0px 20px !important;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) !important;
    background: #04395e !important;
    margin-top: 18px !important;
}


/* Footer banner */

/* Main footer container with blue background */
.main-footer {
    background-color: #04395e;
    width: 100%;
    margin: 70px 0 0 0 !important;
    padding: 20px 0;
    color: #fff;
    text-align: center;
}

/* Banner area in footer */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto 1.5rem auto;
    max-width: 700px;
}
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.footer-logo-container {
    margin-bottom: 10px;
}

.footer-banner-logo {
    display: block;
    height: auto;
    max-height: 45px;
    margin-bottom: 15px;
}

/* Links area in footer */
.footer-links-content {
    margin: 0;
    padding: 0px 0 15px 0;
    color: #fff;
    font-family: Raleway;
    text-align: center;
    background-color: transparent;
    width: 100%;
}

.footer-link-separator {
    color: #fff;
    margin: 0 10px;
}

.white-link {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.white-link:hover {
    text-decoration: none;
    color: #cfcfcf;
    font-weight: bold;
}

.locale-link {
    padding: 5px;
}

.page-back-link {
    text-decoration: none !important;
    color: var(--Black, #0e1514) !important;
    font-family: "Pixelify Sans" !important;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    text-transform: uppercase !important;
}


/* MEDIA */

.media-row {
    width: 100%;
    margin-bottom: 80px;
}

.media-area {
    width: 893px;
    height: auto;
}

.media-asset {
    width: 100%;
    height: auto;
}

.info-area {

    background-color: #04395e;
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 24px;
    padding-right: 24px;
    text-wrap: wrap;
}

.media-title-text {
    color: var(--White, #f9f6ee);
    font-family: "Pixelify Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

.media-subtitle-text {
    color: var(--White, #f9f6ee);
    font-family: Raleway;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-wrap: wrap;
}

.media-normal-text {
    color: var(--White, #f9f6ee);
    font-family: Raleway;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-wrap: wrap;
}


/* RECAPTCHA */

.grecaptcha-badge {
    visibility: hidden;
}

/* Updated input field font color */
input[type="text"], input[type="email"], input[type="password"], textarea {
    color: #000000; /* Changed font color to black for better visibility */
}

/* Updated footer form input field font color */
footer input[type="text"], footer input[type="email"], footer input[type="password"], footer textarea {
    color: #000000 !important; /* Enforced black font color for better visibility */
}

/* Override: ensure form input text and placeholders are visible on white backgrounds */
/* This has higher specificity to override global `.form-suggestions * { color: #fff !important }` */
.form-suggestions input[type="text"],
.form-suggestions input[type="email"],
.form-suggestions input[type="password"],
.form-suggestions textarea,
.form-suggestions select,
footer input[type="text"],
footer input[type="email"],
footer input[type="password"],
footer textarea,
.form-suggestions .form-input-name,
.form-suggestions .form-input-email,
.form-suggestions .form-input-subject,
.form-suggestions .form-input-message {
    color: #000000 !important;
}

/* Placeholders */
.form-suggestions input::-moz-placeholder, .form-suggestions textarea::-moz-placeholder, footer input::-moz-placeholder, footer textarea::-moz-placeholder {
    color: #6b6b6b !important; /* visible gray */
    opacity: 1 !important;
}
.form-suggestions input::placeholder,
.form-suggestions textarea::placeholder,
footer input::placeholder,
footer textarea::placeholder {
    color: #6b6b6b !important; /* visible gray */
    opacity: 1 !important;
}

/* Ensure -webkit-text-fill-color for webkit browsers */
.form-suggestions input, .form-suggestions textarea, footer input, footer textarea {
    -webkit-text-fill-color: #000 !important;
}

/* Mobile and tablet form consistency - ensure all form inputs have consistent sizing */
@media (max-width: 991px) {
    /* Ensure form container has proper padding that matches text margins */
    .form-suggestions {
        padding: 30px !important;
        margin: 0 auto !important;
        max-width: 100% !important;
    }
    
    /* On mobile, make the layout single column with consistent spacing */
    .form-suggestions .row {
        margin: 0 !important;
    }
    
    .form-suggestions .col-md-6 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Remove any extra padding from text container */
    .col-suggestions-text {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 20px !important;
    }
    
    /* Ensure titles and subtitles align with form inputs */
    .form-suggestions .form-suggestions-title,
    .form-suggestions .form-suggestions-subtitle {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Make form container full width and remove centering */
    .form-suggestions .col-md-6.d-flex {
        justify-content: flex-start !important; /* Remove centering */
    }
    
    .form-suggestions form {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Make form inputs consistent size on mobile - override Bootstrap columns */
    .form-suggestions .form-group .row {
        margin: 0 !important;
        display: block !important; /* Override flexbox to stack inputs */
    }
    
    .form-suggestions .form-group .col-md-6 {
        padding: 0 !important;
        margin-bottom: 12px !important;
        width: 100% !important; /* Force full width */
        max-width: 100% !important;
        flex: none !important; /* Override flex behavior */
    }
    
    .form-suggestions .form-input-name,
    .form-suggestions .form-input-email,
    .form-suggestions .form-input-subject {
        width: 100% !important;
        max-width: 100% !important;
        height: 40px !important;
        padding: 8px 12px !important;
        margin-bottom: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0px 20px 0px 0px !important;
        background: #fffffc !important;
        border: none !important;
        font-family: "Pixelify Sans" !important;
        font-size: 13px !important;
        box-sizing: border-box !important;
        line-height: 1.2 !important;
    }
    
    .form-suggestions .form-input-message {
        width: 100% !important;
        max-width: 100% !important;
        height: 80px !important;
        padding: 8px 12px !important;
        margin-bottom: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0px 0px 0px 20px !important;
        background: #fffffc !important;
        border: none !important;
        font-family: "Pixelify Sans" !important;
        font-size: 13px !important;
        box-sizing: border-box !important;
        resize: none !important;
        overflow-y: auto !important;
        line-height: 1.2 !important;
    }
    
    .form-suggestions .form-button-submit {
        width: auto !important;
        min-width: 100px !important;
        height: 36px !important;
        padding: 8px 16px !important;
        margin-top: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        font-size: 13px !important;
    }
}

/* Make "no-media" message white on category pages */
.category-page .no-media h2 {
    color: #ffffff !important;
}

/* Reset filters button font - use Montserrat and normal weight */
.reset-button .btn,
.reset-button a.btn,
.reset-button .btn-light {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important; /* Normal weight */
    color: #0e1514 !important; /* dark text to match design */
}

/* Common layout utilities */
.media-page-container {
    margin-left: 80px;
    margin-right: 80px;
    margin-top: 120px;
}

@media screen and (max-width: 768px) {
    .media-page-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 40px;
        width: 100%;
        max-width: 100%;
    }
    .media-row {
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        justify-content: center !important;
    }
    .media-area {
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    .info-area {
        padding: 20px !important;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
    }
    .media-content-wrapper {
        text-align: center !important;
        justify-content: center !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .media-content-wrapper .generic-title,
    .media-content-wrapper .generic-hashtags {
        text-align: center !important;
        justify-content: center !important;
    }
    .back-link-wrapper {
        justify-content: center !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

.back-link-wrapper {
    margin-bottom: 20px;
}

.back-link {
    color: #fff !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
}

.media-content-wrapper {
    margin-bottom: 50px;
}

.media-list-container {
    margin: 0;
    padding: 0;
}

.media-list-row {
    width: -moz-fit-content;
    width: fit-content;
    margin: 0;
}

.dropdown-col {
    padding-bottom: 10px;
}

.no-media-container {
    width: 100vw;
    text-align: center;
}

.no-media-content {
    margin-right: 50px;
    margin: 0;
    padding: 100px;
    width: 120px;
}

.no-media-text {
    color: #fff;
}

.no-media-icon {
    font-size: 48px;
    color: #04395e;
}

.no-media-icon-white {
    font-size: 48px;
    color: #fff;
}

.footer-container {
    margin-bottom: 0;
}

.header-container {
    margin-bottom: 68px;
}

.footer-banner-container {
    margin-bottom: 0;
}

.form-submit-button-spacing {
    margin-top: 10px;
}

.categories-link {
    min-width: 130px;
}

.categories-link i {
    display: inline-block;
    transition: transform 1s ease;
}

.categories-link.open i {
    transform: rotate(180deg);
}

.social-network-link {
    margin-left: 10px;
    min-width: 160px;
}

/* Video and media specific */
.home-video-height {
    height: 70vh;
}

.media-background {
    padding: 0;
    background-color: #000000;
}

.post-media-container {
    padding: 0;
    width: 100%;
    height: auto;
}

.post-image-style {
    width: 100%;
    height: auto !important;
    max-height: 500px;
    -o-object-fit: cover;
       object-fit: cover;
}

.hidden-image {
    display: none;
}

.video-controls {
    max-height: 500px;
}

.info-area-padding {
    padding-left: 28px;
    padding-right: 28px;
}

.media-description-text {
    white-space: normal;
    word-wrap: break-word;
}

.media-title-spacing {
    margin-bottom: 50px;
}

/* Slider and highlight styles */
.highlight-slider-container {
    width: 100vw;
    height: auto;
    padding-bottom: 25%;
}

.highlight-link {
    position: relative;
    width: 100%;
    text-decoration: none;
}

.highlight-image {
    width: 100%;
    height: auto;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
}

.highlight-text-overlay {
    z-index: 1;
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    color: #1b1b1b;
    font-size: 34px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Search result specific */
.search-media-element {
    background-size: cover;
    background-position: center;
}

.search-category-text {
    padding-left: 0;
    margin-left: 0;
}

.search-title-text {
    max-width: 100%;
}

/* Home page specific styles moved from inline */
.media-scroll-container-wrapper #media-scroll-container-0 .media-element {
    width: 312px !important; /* 20% larger than the original 260px */
    max-width: 312px !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
}

/* Suggest Content Placeholder Styles */
.suggest-content-placeholder {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%) !important;
    border: none !important;
    cursor: pointer !important;
    transition: transform 0.2s, opacity 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    position: relative !important;
    text-decoration: none !important;
    /* Match media-element dimensions */
    aspect-ratio: 16 / 9 !important;
    width: 260px !important;
    max-width: 260px !important;
    height: auto !important;
    flex: 0 0 auto !important;
    margin-left: 7px !important;
    margin-right: 7px !important;
    border-radius: 5px !important;
}

/* Larger size for Novos Conteúdos section */
.media-scroll-container-wrapper #media-scroll-container-0 .suggest-content-placeholder {
    width: 312px !important; /* 20% larger than the original 260px */
    max-width: 312px !important;
}

.suggest-content-placeholder:hover {
    transform: scale(1.05) !important;
    opacity: 0.9 !important;
}

.suggest-content-placeholder .media-title {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    color: #ffffff !important;
    text-align: center !important;
    margin-bottom: 10px !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5) !important;
}

.suggest-content-placeholder .media-icon-corner {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    color: #ffffff !important;
    font-size: 2rem !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5) !important;
}

/* Blue header icons styling */
.header-menu-icon-blue,
.header-search-icon-blue,
.header-social-icon {
    color: #ffffff;
    font-size: 1.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
    margin: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-menu-icon-blue:hover,
.header-search-icon-blue:hover,
.header-social-icon:hover {
    transform: scale(1.1);
    color: #c5c5c5;
}

/* Ensure consistent spacing in the blue container */
.header-language-search-switch > * {
    margin: 0 4px;
}

.header-language-search-switch > *:first-child {
    margin-left: 4px;
}

.header-language-search-switch > *:last-child {
    margin-right: 4px;
}
.header-language-search-switch > * {
    margin: 0 12px;
}
.header-language-search-switch > *:first-child {
    margin-left: 12px;
}
.header-language-search-switch > *:last-child {
    margin-right: 12px;
}

/* Smooth scroll behavior for anchor links */
html {
    scroll-behavior: smooth;
}

/* Additional footer styles to ensure proper centering */
.footer-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.footer-links-content {
    display: inline-block;
    text-align: center;
}

.some-selector {
    font-size: 14px;
}

.align-items-center {
    align-items: center;
    justify-content: center;
}

/* Pagination Styles */
.pagination-wrapper { width: 100%; }

.pagination-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; transition: all 0.3s ease; }

.pagination-link:hover:not(.disabled):not(.active) { background: rgba(255, 255, 255, 0.3) !important; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }

.pagination-link.active { box-shadow: 0 4px 12px rgba(4, 57, 94, 0.4); }

.pagination-link.disabled { opacity: 0.5; }

@media (max-width: 768px) { .pagination-wrapper { padding: 0 1rem; } .pagination-link { padding: 8px 12px !important; font-size: 0.9em; } .pagination-pages { flex-wrap: wrap; justify-content: center; } }

/* ==========================================
   Netflix-like Hover Effect
   ========================================== */

/* Base state: prepare for bottom-anchored scaling */
.media-element {
    transform-origin: center bottom !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                z-index 0s 0.35s,
                background 0.2s !important;
    overflow: hidden;
}

/* Hover: Netflix pop-up effect */
.media-element:hover {
    transform: scale(1.6) !important;
    z-index: 10000 !important;
    box-shadow: 0 14px 36px rgba(0,0,0,0.75), 0 6px 12px rgba(0,0,0,0.5) !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.5s, 
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.5s, 
                z-index 0s 0s,
                background 0.2s !important;
    border-radius: 5px;
}

/* Disable scale animation on "Ver mais" (See More) cards */
.media-element.see-more-card:hover {
    transform: scale(1) !important;
    transition: box-shadow 0.3s ease, background 0.3s ease !important;
}

/* Preview overlay container (video/slideshow) */
.media-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
    background: transparent;
    overflow: hidden;
    border-radius: 5px;
}

.media-preview-overlay.active {
    opacity: 1;
}

.media-preview-overlay video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.media-preview-overlay .preview-audio-toggle {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 100000 !important;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 14px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.media-preview-overlay .preview-audio-toggle:hover {
    background: rgba(0, 0, 0, 0.85);
    border-color: #fff;
}

.media-preview-overlay .preview-audio-toggle.is-muted {
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.35);
}

.media-preview-overlay .preview-zoom-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    animation: previewZoomPulse 4s ease-in-out infinite;
}

@keyframes previewZoomPulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.06); }
    60% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

/* Keep media containers from clipping scaled items vertically */
.media-scroll-container-wrapper {
    overflow: visible !important;
}

/* For horizontal scroll rows, allow vertical overflow for hover effect */
.media-section-wrapper {
    overflow: visible !important;
    position: relative;
    z-index: auto;
}

.media-scroll-container-wrapper {
    overflow: visible !important;
}

/* Grid container in category/search: allow overflow */
#media-container,
.media-container {
    overflow: visible !important;
}

/* On mobile, reduce the hover effect */
@media (max-width: 768px) {
    .media-element:hover {
        transform: scale(1.1) !important;
        transition-delay: 0.2s !important;
    }
}
