/* =========================================================
   최신글 스킨 : 주일설교 카드
   /theme/테마명/skin/latest/ch_sermon_card/style.css
========================================================= */

.ch-sermon-latest {
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 20px;
}

.ch-sermon-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 540px;
    padding: 78px 80px 78px 84px;
    gap: 70px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    background:
        radial-gradient(circle at 3% 8%, rgba(255,255,255,0.28) 0 120px, transparent 121px),
        radial-gradient(circle at 48% 106%, rgba(77,167,123,0.16) 0 245px, transparent 246px),
        radial-gradient(circle at 54% 108%, rgba(255,255,255,0.20) 0 300px, transparent 301px),
        linear-gradient(135deg, #ace6c5 0%, #8bd1ad 50%, #72c49c 100%);
    box-shadow: 0 20px 45px rgba(0,0,0,0.10);
}

/* 오른쪽 원목 원형 장식 */
.ch-sermon-card::after {
    content: "";
    position: absolute;
    right: -95px;
    top: 28px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            #e9bf75 0 42%,
            #b57b3e 43% 44%,
            #e3b86d 45% 58%,
            #a66c35 59% 60%,
            #ecc77d 61% 74%,
            #9a6030 75% 76%,
            #dfb16a 77% 100%
        );
    box-shadow:
        inset 0 0 0 7px rgba(118,70,34,0.35),
        inset 0 0 0 42px rgba(255,235,176,0.22);
    z-index: 0;
}

/* 왼쪽 상단 반투명 원 */
.ch-sermon-card::before {
    content: "";
    position: absolute;
    left: -58px;
    top: -82px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.27);
    box-shadow: 28px 0 0 rgba(255,255,255,0.14);
    z-index: 0;
}

.ch-sermon-text {
    position: relative;
    z-index: 2;
    flex: 0 0 430px;
    color: #fff;
}

.ch-sermon-label {
    display: block;
    margin-bottom: 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    color: rgba(255,255,255,0.96);
}

.ch-sermon-text h3 {
    margin: 0 0 66px;
    font-size: 58px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.07em;
    color: #fff;
}

.ch-sermon-subject {
    display: inline-block;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.78);
    font-size: 25px;
    line-height: 1.45;
    font-weight: 500;
    letter-spacing: -0.05em;
    color: #fff;
    word-break: keep-all;
}

.ch-sermon-bible {
    margin: 0;
    font-size: 19px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: rgba(255,255,255,0.96);
}

.ch-sermon-photo {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 700px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 34px rgba(0,0,0,0.25);
    background: #ddd;
}

.ch-sermon-photo img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.ch-sermon-card:hover .ch-sermon-photo img {
    transform: scale(1.045);
}


/* =========================================================
   반응형
========================================================= */

@media (max-width: 1280px) {
    .ch-sermon-card {
        min-height: 500px;
        padding: 65px 55px;
        gap: 50px;
    }

    .ch-sermon-text {
        flex-basis: 380px;
    }

    .ch-sermon-text h3 {
        font-size: 52px;
    }

    .ch-sermon-subject {
        font-size: 23px;
    }

    .ch-sermon-card::after {
        right: -140px;
    }
}

@media (max-width: 1024px) {
    .ch-sermon-latest {
        padding: 0 18px;
    }

    .ch-sermon-card {
        padding: 55px 42px;
        gap: 38px;
    }

    .ch-sermon-text {
        flex-basis: 330px;
    }

    .ch-sermon-text h3 {
        margin-bottom: 45px;
        font-size: 46px;
    }

    .ch-sermon-subject {
        font-size: 21px;
    }

    .ch-sermon-photo img {
        height: 320px;
    }
}

@media (max-width: 820px) {
    .ch-sermon-card {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        padding: 48px 34px 36px;
        gap: 34px;
    }

    .ch-sermon-text {
        width: 100%;
        flex: none;
    }

    .ch-sermon-text h3 {
        margin-bottom: 34px;
        font-size: 44px;
    }

    .ch-sermon-photo {
        width: 100%;
        max-width: none;
    }

    .ch-sermon-photo img {
        height: 330px;
    }

    .ch-sermon-card::after {
        right: -150px;
        top: auto;
        bottom: -145px;
        width: 340px;
        height: 340px;
    }
}

@media (max-width: 600px) {
    .ch-sermon-latest {
        padding: 0 15px;
    }

    .ch-sermon-card {
        padding: 40px 24px 28px;
        border-radius: 14px;
    }

    .ch-sermon-label {
        font-size: 15px;
    }

    .ch-sermon-text h3 {
        margin-bottom: 28px;
        font-size: 38px;
    }

    .ch-sermon-subject {
        font-size: 18px;
    }

    .ch-sermon-bible {
        font-size: 15px;
    }

    .ch-sermon-photo {
        border-radius: 13px;
    }

    .ch-sermon-photo img {
        height: 245px;
    }

    .ch-sermon-card::before {
        width: 180px;
        height: 180px;
    }

    .ch-sermon-card::after {
        right: -125px;
        bottom: -120px;
        width: 270px;
        height: 270px;
    }
}

@media (max-width: 420px) {
    .ch-sermon-card {
        padding: 34px 20px 24px;
    }

    .ch-sermon-text h3 {
        font-size: 34px;
    }

    .ch-sermon-subject {
        font-size: 17px;
    }

    .ch-sermon-photo img {
        height: 210px;
    }
}