@font-face {
    font-family: 'Pobeda';
    src: url("/css/fonts/Pobeda-Bold.woff") format('woff');
    font-weight: bold;
    font-style: normal;
}

body {
    background: #000 !important;
    margin: 0;
    padding: 0;
}

.wrapper,
.content_wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.intro_section {
    background: url("/images/projects/9-maya/template/granite_texture.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    margin-top: 100px;
    margin-bottom: 100px;
    z-index: 1;
}

.intro_linear_gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #000 0%, transparent 20%, transparent 80%, #000 100%);
    position: relative;
    z-index: 2;
}

.intro_radial_gradient {
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 1) 90%);
    position: relative;
    z-index: 3;
}

.intro_content {
    position: relative;
    z-index: 4;
    padding-top: 150px !important;
    padding-bottom: 150px !important;
}




.intro_text_wrapper {
    position: relative;
    z-index: 5;
}

.intro_sign_img {
    max-width: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.7));
}

.intro_paragraph {
    font-family: 'Pobeda', sans-serif !important;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 1),
        0 0 20px rgba(0, 0, 0, 1),
        0 0 40px rgba(0, 0, 0, 0.8) !important;
    font-weight: bold !important;
    font-size: 2.3rem !important;
    line-height: 1.05 !important;
    color: #908070 !important;
    margin-bottom: 3.5rem !important;
    letter-spacing: -1px !important;
    opacity: 1 !important;
}

.main_video_bg {
    position: relative;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    display: block;
    /* Remove any inline spacing */
}

.main_medal {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 25%;
    z-index: 10;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.main_medal img {
    width: 100%;
    height: auto;
}

.main_logo {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 15%;
    opacity: 0.8;
    z-index: 10;
}

.main_title_wrapper {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    z-index: 10;
    padding: 100px 15px 50px 15px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 20%, rgba(0, 0, 0, 0) 100%);
}


.main_title_text {
    font-family: 'Pobeda', sans-serif;
    color: #fff;
    font-size: 5rem;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.main_title_subtext {
    font-family: 'Pobeda', sans-serif;
    color: #fff;
    font-size: 2.2rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

.collage_section {
    background: linear-gradient(to bottom, transparent 0%, #000 200px, #0a0a0a 400px) !important;
    padding-top: 300px !important;
    margin-top: -200px;
    position: relative;
    z-index: 10;
}

.collage_section--no-gradient {
    background: #0a0a0a !important;
    padding-top: 50px !important;
    margin-top: 0 !important;
}

.collage_section .container {
    position: relative;
    z-index: 11;
}

.collage_image_wrapper {
    position: relative;
    z-index: 12;
}

.bento_grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 40px;
}

.bento_grid--mirrored {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 40px;
}

.bento-left-tall {
    grid-row: 1 / 4;
    grid-column: 1;
}

.bento-right-1 {
    grid-row: 1;
    grid-column: 2;
}

.bento-right-2 {
    grid-row: 2;
    grid-column: 2;
}

.bento-right-3 {
    grid-row: 3;
    grid-column: 2;
}



.bento-left-top {
    grid-row: 1;
    grid-column: 1;
}

.bento-left-bottom {
    grid-row: 2;
    grid-column: 1;
}

.bento-right-tall {
    grid-row: 1 / 3;
    grid-column: 2;
}

.fact_card_9maya {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 22px 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    height: 100%;
}

.fact_card_9maya:hover {
    transform: translateY(-8px);
    background: #1f1f1f;
    border-color: #c00;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(204, 0, 0, 0.1);
}

.fact_card_val {
    font-family: 'Pobeda', sans-serif;
    font-size: 3.5rem;
    font-weight: bold;
    color: #c00;
    line-height: 1;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.fact_card_9maya:hover .fact_card_val {
    color: #ff3333;
}

.fact_card_label {
    font-family: 'Pobeda', sans-serif;
    font-weight: bold;
    color: #bbb;
    font-size: 1.3rem;
    line-height: 1.3;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    transition: color 0.4s ease;
}

.fact_card_9maya:hover .fact_card_label {
    color: #fff;
}

.fact_card_bg_icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 7rem;
    color: #fff;
    opacity: 0.03;
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 1;
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: transform, opacity;
}

.fact_card_9maya:hover .fact_card_bg_icon {
    opacity: 0.08;
    transform: rotate(-5deg) scale(1.15) translate(-10px, -10px);
}

.main_text_section {
    background: #111 !important;
}

.long_text_wrapper {
    color: #ccc;
    font-size: 1.25rem;
    line-height: 1.9;
}

.drop-cap::first-letter {
    color: #c00;
    font-size: 5rem;
    float: left;
    margin-right: 10px;
    font-family: serif;
    font-weight: 900;
}

.parallax_article_section {
    padding: 250px 0;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.parallax_article_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #000 0%, transparent 20%, transparent 80%, #000 100%);
    z-index: 2;
    pointer-events: none;
}

.parallax_article_section .container {
    position: relative;
    z-index: 3;
}

.dark_plate {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 6rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.dark_plate p {
    font-family: 'Pobeda', sans-serif;
    font-weight: bold;
    font-size: 1.8rem;
    line-height: 1.4;
    color: #d4c4b0;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.dark_plate p:last-child {
    margin-bottom: 0;
}



.fact_num {
    color: #c00;
    font-weight: 900;
    font-family: 'Pobeda', sans-serif;
    font-size: 1.1em;
}

.section_title {
    font-family: 'Pobeda', sans-serif;
    font-size: 3.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0;
    line-height: 1;
}

.section_title span {
    color: #c00;
}

.section_subtitle {
    font-size: 1.15rem;
    color: #999;
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.6;
    font-weight: 300;
}

.title_divider {
    width: 80px;
    height: 3px;
    background: #c00;
    margin-top: 15px;
}



.map_wrapper {
    position: relative;
    background: rgba(20, 20, 20, 0.4);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.map_container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    transform: scale(1.6); /* To revert: scale(1) */
    transform-origin: 0% 100%; /* To revert: center center */
}

.main_map_img {
    filter: invert(1) brightness(0.7) opacity(0.5);
    transition: all 0.5s ease;
}

.map_hotspot {
    position: absolute;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 20;
    transform: translate(-50%, -50%);
    transition: z-index 0s;
}

.map_hotspot:hover {
    z-index: 35;
}

.hotspot_dot {
    width: 10px;
    height: 10px;
    background: #c00;
    border-radius: 50%;
    position: absolute;
    left: 5px;
    top: 5px;
    box-shadow: 0 0 10px #c00;
}

.hotspot_pulse {
    width: 20px;
    height: 20px;
    background: rgba(204, 0, 0, 0.4);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.hotspot_label {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Pobeda', sans-serif;
    color: #fff;
    font-size: 1rem;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid #c00;
}

.map_hotspot:hover .hotspot_label {
    opacity: 1;
    top: 30px;
}

.map_info_panel {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    z-index: 30;
    transform: translateY(120%);
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    overflow: hidden;
}

.map_info_panel.active {
    transform: translateY(0);
}

.map_info_content {
    padding: 0;
    position: relative;
}

.map_info_close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    cursor: pointer;
    z-index: 20;
    font-size: 1.2rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.map_info_close:hover {
    opacity: 1;
}

.map_info_back {
    position: absolute;
    top: 15px;
    left: 20px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    z-index: 20;
    font-family: 'Pobeda', sans-serif;
    font-size: 1.1rem;
    display: none;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    padding: 6px 15px;
    border-radius: 8px;
    border: 1px solid rgba(204, 0, 0, 0.3);
}

.map_info_back:hover {
    opacity: 0.7;
}

.selection_title {
    font-family: 'Pobeda', sans-serif;
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.selection_list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.selection_item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ddd;
    font-size: 1.1rem;
    flex: 1 1 calc(50% - 15px);
}

.selection_item:hover {
    background: rgba(204, 0, 0, 0.2);
    border-color: #c00;
    color: #fff;
    transform: translateX(5px);
}

.map_info_image_wrapper {
    position: relative;
    height: 450px;
    background: #000;
    overflow: hidden;
}

.map_info_image_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.2) contrast(1.1);
}

.map_info_text {
    padding: 35px 40px;
    background: linear-gradient(to bottom, #111, #000);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.map_info_text h3 {
    font-family: 'Pobeda', sans-serif;
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 8px;
    line-height: 1;
    text-transform: uppercase;
}

.map_info_text h4 {
    font-family: 'Pobeda', sans-serif;
    color: #c00;
    font-size: 1.6rem;
    margin-bottom: 0;
    letter-spacing: 1px;
}


.gallery_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 20px;
    grid-auto-flow: dense;
}

.gallery_item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    background: #111;
}

.gallery_item.is-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery_img_wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
}

.lazy-img {
    opacity: 0;
}

.lazy-img.loaded {
    opacity: 1;
}

.gallery_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
    cursor: zoom-in;
}

.gallery_item:hover .gallery_img {
    transform: scale(1.1);
}

.gallery_item:hover .gallery_overlay {
    opacity: 1;
}

.gallery_info {
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery_item:hover .gallery_info {
    transform: translateY(0);
}

.gallery_info p {
    font-size: 1.4rem;
    line-height: 1.05;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Pobeda', sans-serif;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.news_section {}

.news_card_link {
    text-decoration: none !important;
    display: block;
}

.news_card_9maya {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #222;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
}

.news_card_9maya:hover {
    transform: translateY(-10px);
    border-color: #c00;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.news_card_img_wrapper {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.news_card_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news_card_9maya:hover .news_card_img {
    transform: scale(1.1);
}

.news_card_date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #c00;
    color: #fff;
    padding: 4px 12px;
    font-family: 'Pobeda', sans-serif;
    font-size: 1rem;
    border-radius: 4px;
    z-index: 2;
}

.news_card_content {
    padding: 20px;
}

.news_card_title {
    color: #eee;
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.2em;
    transition: color 0.3s ease;
}

.news_card_9maya:hover .news_card_title {
    color: #fff;
}

.news_card_more {
    color: #c00;
    font-family: 'Pobeda', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.news_card_9maya:hover .news_card_more {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery_grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }

    .gallery_item.is-large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.footer {
    width: 100%;
    height: 46px;
    line-height: 46px;
    text-align: center;
    background: #1d1d1d;
    color: whitesmoke;
    font-size: 22px;
    font-weight: 700;
}