/* =========================================================
   교회 홈페이지 메인 설교 최신글
========================================================= */

.church-sermon-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 570px;
    padding: 58px 22px 76px;
    background: #ffffff;
}

/* =========================================================
   배경 이미지
========================================================= */

.church-sermon-hero__background {
    position: absolute;
    top: 28px;
    right: 0;
    bottom: 52px;
    left: 0;
    z-index: 1;
    background-color: #76370b;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    clip-path: polygon(
        0 0,
        100% 7%,
        100% 100%,
        0 83%
    );
}

.church-sermon-hero__background::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(87, 166, 196, 0.2) 0%,
            rgba(98, 177, 205, 0.34) 48%,
            rgba(27, 105, 139, 0.32) 100%
        );
    content: "";
}

/* =========================================================
   내용 영역
========================================================= */

.church-sermon-hero__inner {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1540px;
    min-height: 440px;
    margin: 0 auto;
}

.church-sermon-hero__content {
    width: 80%;
    padding: 18px 27% 18px 6%;
    color: #ffffff;
    text-align: center;
}

.church-sermon-hero__eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 23px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.05em;
    word-break: keep-all;
}

.church-sermon-hero__line {
    display: block;
    width: 30px;
    height: 2px;
    margin: 18px auto 24px;
    background: rgba(255, 255, 255, 0.94);
}

.church-sermon-hero__title-link {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
}

.church-sermon-hero__title {
    margin: 0;
    color: #ffffff;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.07em;
    word-break: keep-all;
    text-shadow: 0 2px 10px rgba(0, 71, 102, 0.12);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.church-sermon-hero__title-link:hover .church-sermon-hero__title {
    opacity: 0.82;
    transform: translateY(-3px);
}

.church-sermon-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.035em;
}

.church-sermon-hero__meta i {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.74);
}

/* =========================================================
   버튼
========================================================= */

.church-sermon-hero__buttons {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 40px;
}

.church-sermon-hero__buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 176px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
    text-decoration: none;
    background: rgba(56, 142, 177, 0.14);
    backdrop-filter: blur(2px);
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.church-sermon-hero__buttons a:hover {
    color: #4386a4;
    background: rgba(255, 255, 255, 0.96);
    transform: translateY(-3px);
}

/* =========================================================
   목사님 인물 사진
========================================================= */

.church-sermon-hero__pastor {
    position: absolute;
    right: 25%;
    bottom: 48px;
    z-index: 6;
    width: min(30vw, 350px);
    pointer-events: none;
}

.church-sermon-hero__pastor img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================================
   잎사귀와 색상 장식
========================================================= */

.church-sermon-hero__decorations {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.sermon-leaf,
.sermon-watercolor {
    position: absolute;
    display: block;
}

.sermon-leaf {
    width: 18px;
    height: 40px;
    border-radius: 100% 0 100% 0;
    background: rgba(121, 163, 60, 0.75);
    filter: blur(0.2px);
}

.sermon-leaf--01 {
    top: 21%;
    left: 18%;
    transform: rotate(34deg);
}

.sermon-leaf--02 {
    top: 25%;
    right: 24%;
    transform: rotate(-24deg);
}

.sermon-leaf--03 {
    top: 53%;
    right: 13%;
    width: 14px;
    height: 32px;
    transform: rotate(36deg);
}

.sermon-watercolor {
    border-radius: 50%;
    filter: blur(10px);
}

.sermon-watercolor--01 {
    top: 37%;
    left: 27%;
    width: 76px;
    height: 105px;
    background: rgba(131, 196, 59, 0.32);
    transform: rotate(-17deg);
}

.sermon-watercolor--02 {
    right: 10%;
    bottom: 1%;
    width: 122px;
    height: 70px;
    background: rgba(238, 157, 119, 0.42);
}

.sermon-watercolor--03 {
    right: 15%;
    bottom: 4%;
    width: 150px;
    height: 82px;
    background: rgba(235, 177, 197, 0.34);
}

/* =========================================================
   노트북과 태블릿
========================================================= */

@media screen and (max-width: 1280px) {
    .church-sermon-hero {
        min-height: 530px;
    }

    .church-sermon-hero__inner {
        min-height: 404px;
    }

    .church-sermon-hero__content {
        width: 72%;
        padding-right: 24%;
        padding-left: 4%;
    }

    .church-sermon-hero__eyebrow {
        font-size: 20px;
    }

    .church-sermon-hero__title {
        font-size: 36px;
    }

    .church-sermon-hero__pastor {
        right: 5%;
        width: min(34vw, 430px);
    }
}

/* =========================================================
   태블릿
========================================================= */

@media screen and (max-width: 960px) {
    .church-sermon-hero {
        min-height: 500px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .church-sermon-hero__background {
        top: 18px;
        bottom: 40px;
    }

    .church-sermon-hero__inner {
        min-height: 390px;
    }

    .church-sermon-hero__content {
        width: 73%;
        padding-right: 19%;
        padding-left: 3%;
    }

    .church-sermon-hero__eyebrow {
        font-size: 18px;
    }

    .church-sermon-hero__title {
        font-size: 31px;
    }

    .church-sermon-hero__meta {
        margin-top: 17px;
        font-size: 14px;
    }

    .church-sermon-hero__buttons {
        gap: 12px;
        margin-top: 30px;
    }

    .church-sermon-hero__buttons a {
        width: 142px;
        height: 45px;
        font-size: 14px;
    }

    .church-sermon-hero__pastor {
        right: -1%;
        bottom: 39px;
        width: min(39vw, 365px);
    }
}

/* =========================================================
   모바일
========================================================= */

@media screen and (max-width: 680px) {
    .church-sermon-hero {
        min-height: 660px;
        padding: 26px 10px 50px;
    }

    .church-sermon-hero__background {
        top: 10px;
        bottom: 28px;
		background: #76370b;
        background-position: 43% center;
        clip-path: polygon(
            0 0,
            100% 3%,
            100% 100%,
            0 92%
        );
    }

    .church-sermon-hero__inner {
        display: block;
        min-height: 570px;
    }

    .church-sermon-hero__content {
        width: 100%;
        padding: 62px 15px 0;
    }

    .church-sermon-hero__eyebrow {
        font-size: 16px;
    }

    .church-sermon-hero__line {
        width: 22px;
        margin: 13px auto 17px;
    }

    .church-sermon-hero__title {
        font-size: 29px;
        font-weight: 400;
        line-height: 1.3;
    }

    .church-sermon-hero__meta {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 15px;
        font-size: 13px;
    }

    .church-sermon-hero__meta i {
        height: 12px;
    }

    .church-sermon-hero__buttons {
        gap: 8px;
        margin-top: 25px;
    }

    .church-sermon-hero__buttons a {
        width: 136px;
        height: 43px;
        font-size: 13px;
    }

    .church-sermon-hero__pastor {
        right: -12px;
        bottom: 28px;
        width: min(78vw, 340px);
    }

    .sermon-leaf--01 {
        top: 13%;
        left: 12%;
    }

    .sermon-leaf--02 {
        top: 32%;
        right: 10%;
    }

    .sermon-leaf--03 {
        top: auto;
        right: 9%;
        bottom: 24%;
    }

    .sermon-watercolor--01 {
        top: 47%;
        left: 4%;
    }

    .sermon-watercolor--02 {
        right: -22px;
        bottom: 0;
    }

    .sermon-watercolor--03 {
        right: 5%;
        bottom: 1%;
    }
}

/* =========================================================
   작은 모바일
========================================================= */

@media screen and (max-width: 390px) {
    .church-sermon-hero {
        min-height: 625px;
    }

    .church-sermon-hero__content {
        padding-top: 55px;
        padding-right: 9px;
        padding-left: 9px;
    }

    .church-sermon-hero__title {
        font-size: 26px;
    }

    .church-sermon-hero__buttons a {
        width: 126px;
        height: 41px;
        font-size: 12px;
    }

    .church-sermon-hero__pastor {
        width: min(82vw, 310px);
    }
}