
.youtube_main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: var(--con-gap);
}


/* youtube profile */
.youtube_profile_box {
    width: 100%;
    padding: 50px;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    box-shadow: var(--shadow);
}
.y_profile_thumb {
    width: 160px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
}

.y_profile_b {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.y_profile_b .y_logo {
    width: 70px;
    margin-bottom: 14px;
}
.y_profile_b .name {
    font-size: var(--ft24);
    font-weight: var(--semi-bold);
    color: var(--ft-main);
    text-align: center;
    margin-bottom: 30px;
}
.y_profile_b .more_btn {
    margin-top: 0;
}

/* long card */
.long_card {
    grid-column: span 3;
}
.long_card a {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}
.long_card .thumb {
    grid-column: span 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.long_card .title {
    font-size: var(--ft20);
    font-weight: var(--semi-bold);
    color: var(--ft-main);
    margin-bottom: 20px;
}
.long_card .profile {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.long_card .profile_thumb {
    width: 32px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.long_card .name {
    font-size: var(--ft14);
    font-weight: var(--medium);
    color: var(--ft-sub);
}
.long_card .date {
    font-size: var(--ft14);
    font-weight: var(--medium);
    color: var(--ft-light);
}


.sub_page .shorts_card {
    position: relative;
}
.sub_page .shorts_card > a {
   position: relative;
   transition: transform .4s ease;
}
.sub_page .shorts_card a::after {
    content: '';
    display: block;
    position: absolute;
    inset: -16px;
    background: var(--bg-light);
    z-index: -1;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
    box-shadow: var(--shadow);
}
.sub_page .shorts_card:hover a {
    transform: translateY(-8px);
}
.sub_page .shorts_card:hover a::after {
    opacity: 1;
} 

@media all and (max-width: 1600px) {
    .y_profile_b .name {
        font-size: var(--ft20);
    }
}

@media all and (max-width: 1400px) {
    .youtube_main {
        grid-template-columns: repeat(3, 1fr);
    }
    .youtube_profile_box {
        padding: 30px;
        gap: 20px;
    }
    .y_profile_thumb {
        width: 120px;
    }
    .long_card {
        grid-column: span 2;
    }
    .sub_page .shorts_card a::after {
        inset: -8px;
    }
}

@media all and (max-width: 1200px) {
    .youtube_profile_box {
        padding: 20px;
    }
    .long_card a {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .long_card .title {
        font-size: var(--ft18);
    }
}

@media all and (max-width: 768px) {
    .youtube_main {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .youtube_profile_box {
        flex-direction: row;
        /* order: 2; */
    }
    .y_profile_thumb {
        width: 80px;
    }
    .y_profile_b {
        align-items: start;
    }
    .y_profile_b .y_logo {
        margin-bottom: 8px;
        width: 50px;
    }
    .y_profile_b .name {
        margin-bottom: 16px;
        font-size: var(--ft16);
    }
    .fill_btn {
        padding: 10px 16px;
    }
    .fill_btn .btn_icon {
        width: 13px;
        height: 13px;
    }

    .long_card a {
        gap: 12px;
    }
    .long_card .title {
        margin-bottom: 12px;
    }
    .long_card .profile_thumb {
        width: 20px;
    }
    .sub_page .shorts_card a::after {
        inset: -4px;
    }
}
@media all and (max-width: 500px) {
    .sub_page .con_list.grid_4 {
        grid-template-columns: repeat(2, 1fr);
    }
}