@charset "utf-8";

/* 인사말의 안내 링크와 영상 영역에만 적용한다. */
.greetings-wrap .txt-wrap .greeting-box-wrap.greetings-reason {
    margin: 0;
    padding: 0;
    background: none;
}
.greetings-wrap .txt-wrap .greeting-box-wrap .greetings-reason__link {
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    height: auto;
    min-height: 104px;
    padding: 24px 28px;
    border: 1px solid #dce7e0;
    border-radius: 12px;
    background: #f7faf8;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.greetings-wrap .greetings-reason__copy {
    min-width: 0;
}
.greetings-wrap .greetings-reason__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #61726a;
    font-size: 13px;
    font-weight: 500;
}
.greetings-wrap .greetings-reason__copy strong {
    display: block;
    font-size: inherit;
    font-weight: 600;
}
.greetings-wrap .greetings-reason__icon {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e6f0e9;
    color: #008155;
}
.greetings-wrap .greetings-reason__link:focus-visible {
    outline: 2px solid #008155;
    outline-offset: 5px;
}
.greetings-wrap .greetings-youtube {
    width: 100%;
    max-width: 640px;
    min-width: 0;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e2e7e4;
    font-size: 18px;
}
.greetings-wrap .greetings-youtube .greetings-youtube__title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 24px;
    color: #1a1a1a;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    word-break: keep-all;
}
.greetings-wrap .greetings-youtube__title::after {
    content: '';
    flex: 0 0 28px;
    width: 28px;
    height: 2px;
    background: #009864;
}
.greetings-wrap .greetings-youtube__channel-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 80px;
    margin-bottom: 28px;
    padding: 18px 22px;
    border: 2px solid #009864;
    border-radius: 50px;
    background: #009864;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-decoration: none;
    word-break: keep-all;
    overflow-wrap: break-word;
}
.greetings-wrap .greetings-youtube__channel-link span {
    min-width: 0;
}
.greetings-wrap .greetings-youtube__channel-link svg {
    flex: 0 0 auto;
}
.greetings-wrap .greetings-youtube__channel-link:focus-visible {
    outline: 2px solid #008155;
    outline-offset: 5px;
}
@media (hover: hover) and (pointer: fine) {
    .greetings-wrap .txt-wrap .greeting-box-wrap .greetings-reason__link {
        transition: background-color .2s ease, border-color .2s ease;
    }
    .greetings-wrap .txt-wrap .greeting-box-wrap .greetings-reason__link:hover {
        border-color: #9cbeaa;
        background: #eff6f1;
    }
    .greetings-wrap .greetings-reason__icon svg {
        transition: transform .2s ease;
    }
    .greetings-wrap .greetings-reason__link:hover .greetings-reason__icon svg {
        transform: translateX(3px);
    }
    .greetings-wrap .greetings-youtube__channel-link {
        transition: background-color .2s ease, border-color .2s ease;
    }
    .greetings-wrap .greetings-youtube__channel-link:hover {
        border-color: #008155;
        background: #008155;
    }
}
@media screen and (max-width: 1024px) {
    .greetings-wrap .greetings-youtube__channel-link { font-size: 18px; }
}
@media screen and (max-width: 640px) {
    .greetings-wrap .txt-wrap .greeting-box-wrap .greetings-reason__link {
        gap: 16px;
        min-height: 96px;
        padding: 20px;
        font-size: 18px;
    }
    .greetings-wrap .greetings-reason__icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }
    .greetings-wrap .greetings-youtube {
        margin-top: 40px;
        padding-top: 28px;
        font-size: 15px;
    }
    .greetings-wrap .greetings-youtube .greetings-youtube__title {
        gap: 12px;
        margin-bottom: 20px;
        font-size: 22px;
    }
    .greetings-wrap .greetings-youtube__title::after {
        flex-basis: 20px;
        width: 20px;
    }
    .greetings-wrap .greetings-youtube__channel-link {
        gap: 10px;
        min-height: 50px;
        margin-bottom: 20px;
        padding: 12px 16px;
        font-size: 14px;
    }
    .greetings-wrap .greetings-youtube__channel-icon {
        width: 22px;
        height: 18px;
    }
    .greetings-wrap .greetings-youtube__channel-arrow {
        width: 16px;
        height: 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .greetings-wrap .txt-wrap .greeting-box-wrap .greetings-reason__link,
    .greetings-wrap .greetings-reason__icon svg { transition: none; }
    .greetings-wrap .greetings-reason__link:hover .greetings-reason__icon svg { transform: none; }
    .greetings-wrap .greetings-youtube__channel-link { transition: none; }
}
