.banner {
    height: auto;
    max-height: calc(100vh - 400px);
    min-height: 550px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin-bottom: 2rem;
    margin-top: 20px;
    background: transparentr;
    border: 2px solid black;
}

.banner_image {
    width: 50%;
    overflow: hidden;
    padding: 40px;
}

.banner_fullimg {
    width: 100%;
    height: 100%;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.banner_content {
    width: 50%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.banner_detailcont {
    display: flex;
    flex-direction: column;
    height: fit-content;
    margin-top: 20px;
}

.banner_detailcont h1 {
    color: #000;
    font-size: 5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
}

.banner_subtitle {
    margin-top: 20px;
    padding-left: 0px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.banner_subtitle .device_icon {
    width: 24px;
    height: 24px;
}

.banner_subtitle span {
    font-size: 1.2rem;
    font-weight: 500;
}

.banner_text {
    margin-top: 4px;
}

.banner_text p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

.banner_bottomcont {
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.banner_thumbnails {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.banner_thumbnails img {
    width: auto;
    height: 60px;
    cursor: pointer;
}

.banner_navigation {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}

.download_btn, .nav_arrow {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.download_btn img {
    width: 24px;
    height: 24px;
}

.nav_arrows {
    display: flex;
    gap: 0.5rem;
}

.nav_arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: black;
}

.nav_arrow:hover, .download_btn:hover {
    background: #f0f0f0;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .banner {
        flex-direction: column;
        min-height: max-content;
        max-height: unset;
    }
    
    .banner_image, .banner_content {
        box-sizing: border-box;
        width: 100%;
        padding: 20px;
    }

    .banner_image {
        min-height: 300px;
    }

    .banner_content {
        padding-top: 0px;
    }

    .banner_fullimg {
        min-height: inherit;
    }
    
    .banner_content h1 {
        font-size: 3.5rem;
    }

    .banner_detailcont {
        margin-top: 0px;
    }
}

@media (max-width: 480px) {
    .banner_content {
        padding: 1rem;
    }
    
    .banner_content h1 {
        font-size: 2.5rem;
    }
    
    .banner_thumbnails img {
        height: 50px;
    }
}

.banner::before {
    display: none;
}


.block1 {
    position: relative;
}

.block1_titlecont {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.block1 > h2 {
    font-size: 28px;
    margin-bottom: 14px;
}

.block1_now {
    font-style: italic;
}

.block1_inner {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll;
    overflow-y: auto;
    padding-right: var(--padding-main);
    gap: 20px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    left: calc(0px - var(--padding-main));
    padding-left: var(--padding-main);
}

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

.block1_scroll_arrow {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    cursor: pointer;
    z-index: 10;
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    border: none;
    opacity: 1;
}

.block1_scroll_arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

.block1_scroll_arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

.block1_scroll_arrow.right {
    right: 0px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E");
}

.block1_scroll_arrow.left {
    left: 0px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z'/%3E%3C/svg%3E");
}

.block1_inner > img {
    height: inherit;
}

.scroll-progress {
    width: 100px;
    height: 4px;
    background: #eee;
    border-radius: 0px;
    overflow: hidden;
}

.scroll-progress-bar {
    height: 100%;
    background: #222;
    width: 0%;
    transition: width 0.1s ease-out;
}

.block2 {
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 40px;
}

.block2_inner {
    position: relative;
    width: calc(100vw - 500px);
    height: calc((100vw - 500px) * 9 / 16);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: black;
    flex-wrap: nowrap;
}

.block2_bg_mask {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 60%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 60%, black 100%);
}

.block2_inner > *:not(.block2_bg_mask) {
    position: relative;
    z-index: 1;
}

.block2_inner_left, .block2_inner_right {
    width: 50%;
    padding-left: 40px;
    padding-right: 40px;
}

.block2_inner_left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: inherit;
}

.block2_inner_left_top {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    font-size: 18px;
    opacity: 0.8;
}

.block2_inner_left_top > p {
    min-width: max-content;
}

.block2_inner_left_top > .one {
    letter-spacing: 0.6px;
    margin-bottom: 0px;
}

.block2_inner_left_top > .two {
    margin-left: 12px;
    margin-right: 12px;
    margin-bottom: 0px;
}

.block_titlecont {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.block_titlecont_counter {
    margin-top: 2px;
    margin-left: -11px;
}

.block2_text1 {
    font-size: 60px;
    margin-top: 0px;
    margin-bottom: 0px
}

.block2_text1:hover {
    cursor: pointer;
    text-decoration: underline;
}

.block2_text2 {
    font-size: 20px;
}

.block2_inner_right {
    display: flex;
    flex-direction: row-reverse;
    height: 100%;
}

.block2_inner_right_inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 10px
}

.block2_inner_right_block {
    height: fit-content;
    width: 220px;
    background-color: rgba(68, 68, 68, 0.5);
    border-width: 1px;
    border-color: rgba(117, 117, 117, 0.3);
    border-style: solid;
    backdrop-filter: blur(5px);
    padding: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.block2_inner_right_block:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.block2_inner_right_block:hover .block2_text3 {
    text-decoration: underline;
}

.block2_text3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0px;
    margin-bottom: -10px;
    margin-top: 6px;
    color: white;
}

.block2_counter {
    position: relative;
    color: #fff;
    font-size: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.32);
    opacity: 0.98;
    line-height: 1.05;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 2.2em;
    height: 2.2em;
    justify-content: flex-start;
    padding: 0;
}

.block2_counter .five {
    display: block;
    width: 100%;
    text-align: left;
    font-weight: 400;
    font-style: italic;
    opacity: 0.7;
    line-height: 0.8;
    letter-spacing: 0;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.32);
    margin-top: 11px;
    margin-left: -4px;
    font-weight: 600;
    transform: rotate(10deg);
}

.block2_counter .four {
    margin-top: 12px;
    margin-left: -4px;
    opacity: 0.5;
}

.block2_counter {
    font-variant-numeric: tabular-nums;
}

.block2_text4 {
    font-size: 15px;
    margin-bottom: 10px;
    color: white;
}

.block2_text4_mobile {
    display: none;
}


.block3 {
    margin-bottom: 30px;
    margin-top: 30px;
}

:root {
    --block3_gap: 10px;
}

.block3_inner {
    display: flex;
    flex-direction: row;
    gap: var(--block3_gap);
    flex-wrap: wrap;
}

.block3_card {
    width: calc(25% - var(--block3_gap));
    height: 200px;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
}

@media (max-width: 925px) {
    .block3_card {
        width: calc(50% - var(--block3_gap));
    }
}

.block3_card:hover {
    transform: scale(1.03);
    cursor: pointer;
}

.block3_card > h3 {
    font-size: 20px;
    text-align: center;
    color: black;
    margin-top: 0px;
    margin-bottom: 0px;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    padding: 8px 16px;
    border-radius: 4px;
}

.block3_card > p {
    color: black;
    font-size: 20px;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    padding: 8px 16px;
    border-radius: 4px;
    text-align: center;
    margin: 8px 16px;
}

.block1_inner_img {
    display: block;
    width: auto;
    height: inherit;
    object-fit: cover;
    cursor: pointer;
}

.block1_inner_img .hover-buttons {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.block1_inner_img:hover .hover-buttons {
    opacity: 1;
    transform: translateY(0);
}

.block1_inner_img .hover-buttons button {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease;
}

.block1_inner_img .hover-buttons button:hover {
    background: rgba(0, 0, 0, 0.9);
}

.block1_img_wrap {
    position: relative;
    display: inline-block;
    height: inherit;
}

.block1_img_wrap .hover-buttons {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.block1_img_wrap:hover .hover-buttons {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.block1_img_wrap .hover-buttons button {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease;
    font-family: inherit;
}

.block1_img_wrap .hover-buttons button:hover {
    transform: scale(1.05);
}

.block1_img_wrap .category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.block1_img_wrap:hover .category-tag {
    opacity: 1;
    transform: translateY(0);
}

.block1_img_wrap .click_to_view{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.click_to_view {
    width: max-content;
}

.block1_img_wrap:hover .click_to_view {
    opacity: 1;
    color: rgba(255, 255, 255, 0.6);
}


@media (max-width: 1500px) {
    .block2_inner {
        width: calc(100vw - 300px);
        height: calc((100vw - 300px) * 9 / 16);
    }
}

@media (max-width: 1200px) {
    .block2_inner {
        width: calc(100vw - (var(--padding-main) * 2));
        height: calc((100vw - (var(--padding-main) * 2)) * 9 / 16);
    }
}

@media (max-width: 950px) {
    .block2_inner {
        flex-direction: column;
        justify-content: space-between;
    }

    .block2_inner_right_inner {
        flex-direction: row;
    }
    .block2_inner_left, .block2_inner_right {
        width: 100%;
    }
    .block2_inner_left {
        height: max-content;
        padding-top: 20px;
    }
    .block2_inner_right {
        position: relative;
        padding-left: 0px;
        margin-top: -50px;
        max-height: 144px;
        justify-content: space-between;
        bottom: 40px;
    }
    .block2_inner_right_inner {
        width: 100%;
        justify-content: space-between;
        padding: 20px;
        box-sizing: border-box;
    }
    .block2_text3 {
        margin-top: 0px;
    }
}

@media (max-width: 800px) {
    .block2_text4_mobile {
        display: block;
    }
    .block2_text4_desktop {
        display: none;
    }
    .block2_inner_right_block {
        padding: 10px;
    }
    .block2_inner_right {
        bottom: 17px;
    }
    .block2_inner_left {
        padding-top: 14px;
    }
}

@media (max-width: 670px) {
    .block2_inner_right {
        bottom: -155px;
    }

    .block2_inner_right_inner {
        padding: 0px;
    }
    .block2 {
        margin-bottom: 168px;
    }
    .block2_inner_left {
        min-height: 100%;
    }
}

@media (max-width: 670px) {
    .block2_inner_right {
        bottom: -45px;
    }
    .block2_inner_left_top {
        margin-top: -31px;
    }
}

@media (max-width: 520px) {
    .block2 {
        margin-bottom: 261px;
    }
    .block2_inner_right_inner {
        flex-direction: column;
    }
    .block2_inner_right_block {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .block2_counter {
        justify-content: center;
        margin-top: 2px;
    }
    .block2_text3 {
        margin-bottom: 0px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .block2_text4_mobile  {
        margin: 0px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}