@charset "utf-8";

.main {
    padding-top: 18px;
}

.cardShadow {
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 0 15px #00000015;
}

a:hover {
    text-decoration: none;
}

.btnAdd {
    width: 28px;
    height: 28px;
    position: relative;
    transition: all var(--transition);
}

.btnAdd::before,
.btnAdd::after {
    content: '';
    display: block;
    width: 2px;
    height: 12px;
    background-color: #fff;
    border-radius: 1px;
    position: absolute;
    left: 50%;
    top: 50%;
}

.btnAdd::before {
    transform: translate(-50%, -50%);
}

.btnAdd::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

@media screen and (min-width: 1024px) {
    .btnAdd:hover {
        box-shadow: 3px 6px 9px #00000030;
    }
}

.section + .section {
    margin-top: 30px;
}

/* visual */
.visualSection {
    display: flex;
    justify-content: space-between;
}

.visualStage {
    width: 100%;
    position: relative;
}

.visualImg {
    position: relative;
    left: 61px;
    bottom: -30px;
    transition: all var(--transition);
}

.visualImg>img {
    position: relative;
}

.visualImg::before,
.visualImg::after {
    content: '';
    display: block;
    position: absolute;
    background-image: url(../images/main/main-visual-deco.svg);
    width: 636px;
    height: 636px;
    z-index: -1;
}

/* S :: 20250808 최유림 수정 */
.visualImg::before {
    left: -310px;
    top: 0;
}
/* E :: 20250808 최유림 수정 */

.visualImg::after {
    top: 135px;
    left: -127px;
}

.visualTitW {
    position: absolute;
    right: 42px;
    top: 50%;
    transform: translateY(-50%);
    transition: all var(--transition);
}

.visualTit {
    font-size: 42px;
    line-height: 60px;
    font-weight: 700;
}

.visualTit>br {
    display: none;
}

.visualSubTit {
    margin-top: 30px;
    margin-left: 40px;
    font-size: 22px;
    line-height: 30px;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.visualSubTit::before,
.visualSubTit::after {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #4166C5;
    font-family: "Paperlogy", "Pretendard", sans-serif;
    position: absolute;
}

.visualSubTit::before {
    content: '“';
    left: -31px;
    top: -12px;
}

.visualSubTit::after {
    content: '”';
    right: -31px;
    top: 47px;
}

.cardTop:has(a) {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cardTxt {
    padding-top: 9px;
}

.visulSubStage {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.visualCard {
    flex: 0 1 auto;
    width: 358px;
    padding: 20px 24px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.talkLinkW {
    padding-top: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.talkCardDeco {
    display: block;
    width: 95px;
    height: 95px;
    border-radius: 99px;
    background-color: #D8E3FF;
    position: absolute;
    top: 26px;
    right: 39px;
}

.talkCardDeco::before {
    content: '';
    display: block;
    background-image: url(../images/main/talk-card-deco.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 105px;
    height: 60px;
    position: relative;
    left: 0;
    top: 19px;
    animation: moveUpDown 1.5s ease-in-out infinite;
}

@keyframes moveUpDown {
    0% {
        top: 19px;
        ;
    }

    50% {
        top: 12px;
    }

    100% {
        top: 19px;
        ;
    }
}

a.talkLink {
    flex: 1 1 0;
    padding: 9px 16px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    transition: all var(--transition);
}

.talkLink.secondary {
    background-color: var(--secondary-base);
}

.talkLink.primary {
    background-color: var(--primary-base);
}

.todayList {
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.todayLink {
    border: 1px solid var(--border-color);
    width: 100%;
    border-radius: 10px;
    padding: 14px 15px;
    display: flex;
    align-items: center;
    gap: 7px;
    height: 47px;
    transition: all var(--transition);
}

.todayTit {
    color: #000;
}

@media screen and (min-width: 1024px) {
    .talkLink.secondary:hover {
        background-color: var(--secondary-darken2);
    }

    .talkLink.primary:hover {
        background-color: var(--primary-darken2);
    }

    .todayLink:hover {
        border-color: var(--secondary-base);
    }
}


@media screen and (max-width: 1299px) {
    .visualImg {
        left: 0;
    }

    .visualTitW {
        right: 16px;
        bottom: unset;
        top: 0;
        transform: unset;
    }

    .visualTit {
        text-align: right;
    }

    .visualTit>br {
        display: block;
    }

    .visualSubTit {
        font-size: 20px;
    }
}

@media screen and (max-width: 1023px) {
    .visualSection {
        flex-direction: column;
    }

    .visulSubStage {
        flex-direction: row;
    }

    .visualCard {
        width: 100%;
        flex: 1 1 50%;
        max-width: calc(50% - 8px);
    }
    .talkCardDeco {
        top: 20px;
    }
    
    .visualImg::after {
        width: 373px;
        height: 35px;
        background: linear-gradient(to top,#fff, rgba(255, 255, 255, 0));
        top: unset;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
    }
}

@media screen and (max-width: 767px) {
    .visualStage {
        display: flex;
        flex-direction: column-reverse;
    }

    .visualImg {
        margin: 0 -20px;
        text-align: center;
        overflow-x: hidden;
    }

    .visualTitW {
        position: static;
        display: flex;
        flex-direction: column;
    }

    .visualTit {
        font-size: var(--tit-font-size-lg);
        line-height: 1.4;
        text-align: center;
    }

    .visualTit>br {
        display: none;
    }

    .visulSubStage {
        flex-direction: column;
    }

    .visualSubTit {
        font-size: 18px;
        margin-top: 10px;
        text-align: center;
        margin: 0 auto;
        padding: 0 20px;
    }

    .visualSubTit::before {
        left: -27px;
        top: 8px;
    }

    .visualSubTit::after {
        right: -23px;
        top: unset;
        bottom: -10px;
    }

    .visualCard {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .visualImg::before {
        top: unset;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 100%;
    }
    .visualCard {
        padding: 16px 20px;
    }
}

@media screen and (max-width: 500px) {
    .visualSubTit>br {
        display: none;
    }
    .visualSubTit::before {
        left: 0;
    }
    .visualSubTit::after {
        right: 0;
    }
    .talkCardDeco::before {
        left: -14px;
    }
    .talkCardDeco {
        width: 80px;
        height: 80px;
        right: 20px;
    }
    a.talkLink {
        padding: 9px 10px;
    }
}

.bottomStage {
    display: flex;
    justify-content: space-between;
    padding-bottom: 45px;
    gap: 13px;
}

.leftStage {
    flex: 1 1 100%;
    width: 100%;
    max-width: 634px;
}

.bottomStage .cardShadow {
    padding-left: 24px;
    padding-right: 24px;
}

.cardBottom {
    padding-top: 18px;
}

.cardLinkW {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.cardLink {
    display: block;
    flex: 1 1 100%;
    width: 100%;
    max-width: 285px;
}

.rightStage {
    width: 100%;
    display: flex;
    gap: 11px;
}
.rightStage>div {
    width: 100%;
}

.rightStage>div:nth-child(1) {
    max-width: 335px
}
.rightStage>div:nth-child(2) {
    max-width: 308px;
}

.mainThumb {
    padding-top: calc((200/360) * 100%);
    border-radius: 10px;
}

.mainThumb.facebook {
    padding-top: calc((209/258) * 100%);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.mainThumb .thumbInner {
    transition: all var(--transition);
}

.mainThumb.youtube::before {
    content: '';
    display: block;
    background-image: url(../images/main/main-play.svg);
    width: 69px;
    height: 71px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
    transition: all var(--transition);
}

.cardLinkTxt {
    padding-top: 18px;
    font-size: var(--txt-font-size-lg);
    font-weight: 500;
    color: #000;
    height: 69px;
}

.cardLinkDate {
    padding-top: 9px;
    color: var(--grey-lighten1);
    font-weight: 600;
}

.facebook + .cardGoLink {
    background-color: var(--secondary-base);
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 10px;
    height: 48px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    font-size: var(--txt-font-size);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

@media screen and (min-width: 1024px) {
    .cardLink:hover:not(:has(.youtube)) .thumbInner,
    .cardLink:hover .mainThumb::before {
        scale: 1.1;
    }
    .cardLink:hover>.cardGoLink {
        background-color: var(--secondary-darken2);
    }
}

@media screen and (max-width: 1339px) {
    .cardLinkW>.cardLink {
        max-width: calc(50% - 7px);
    }
    .leftStage {
        max-width: 48.3%;
    }
    .rightStage>div:nth-child(1) {
        max-width: 52.01%
    }
    .rightStage>div:nth-child(2) {
        max-width: 47.82%;
    }

}
@media screen and (max-width: 1199px) {
    .bottomStage .cardShadow {
        padding-left: var(--container-gutter);
        padding-right: var(--container-gutter);
    }
}
@media screen and (max-width: 1023px) {
    .cardLink,
    .cardLinkW>.cardLink,
    .bottomStage>div,
    .rightStage>div:nth-child(1),
    .rightStage>div:nth-child(2){
        max-width: 100%;
    }
    .bottomStage {
        flex-direction: column;
    }
}
@media screen and (max-width: 767px) {
    .cardLinkW,
    .rightStage {
        flex-direction: column;
    }
    
}

