.wow {
    visibility: hidden;
}

/************************************************
Color Pick
*************************************************/
:root{
    --color-main:#007aff;
    --color-red:#FF4C4C;
    --color-orange:#F86F45;
    --color-green:#009565;
    --color-blue:#004fff;
    --color-brown:#382900;
    --color-grey:#666666;
    --color-light-grey:#f1f1f1;
    --color-black:#1b1d1f;
}

/*************************************************
Front Page - Clean & Optimized 
*************************************************/

.home article { padding-top: 0px !important; }
.home .cover-img-overlay { display: none; }

/* 1. 메인 래퍼 기본 */
.home.main-wrap,
.home .main-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    padding: 0 0 40px 0;
    /* margin-top: -50px; */
}

/* -----------------------------------------------
   2. 텍스트 영역 기본 (모바일 최적화 수정 적용)
----------------------------------------------- */
.home .cover-title {
    position: relative !important;
    z-index: 10;
    width: 100%;
    max-width: 100%;
    margin: 0 auto; 
    padding: 0 20px;
    text-align: left;
    background-color: transparent;
    top: 30px;
    margin-bottom: 10px;
}

/* 소제목 (모바일) */
.home .cover-title .tx18.tx-grey:first-child,
.home .cover-title h2 {
    font-size: 11px !important;
    color: #666666 !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.2px;
}

/* 메인 타이틀 (모바일) */
.home .cover-title .tx70,
.home .cover-title .tx-black {
    font-family: "Times New Roman", "Playfair Display", Georgia, serif !important;
    font-size: 70px !important; 
    font-weight: 500 !important;
    line-height: 1.1 !important;
    color: #111111 !important;
    margin-bottom: 14px !important;
    letter-spacing: -0.5px;
}

/* 설명 문구 (모바일) */
.home .cover-title p.tx-grey,
.home .cover-title .tx18 {
    font-size: 13.5px !important;
    color: #555555 !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
    margin-bottom: 16px !important;
    word-break: keep-all;
}

/* 버튼 영역 (모바일) */
.home .cover-title .part-tb-05,
.home .cover-title .part-tb {
    transform: none !important;
    position: relative;
    z-index: 11;
    margin: 0 !important;
    padding: 0 !important;
}

.home .cover-title .btn-blue {
    display: inline-block;
    padding: 8px 20px !important;
    font-size: 13px !important;
    border-radius: 4px;
    background-color: #0073e6;
    color: #ffffff;
    font-weight: 500;
}
.home .cover-title .btn-blue:hover{border:1px solid var(--color-main); background:#fff; color:var(--color-main)}

/* -----------------------------------------------
   3. 이미지 슬라이더 기본 (모바일)
----------------------------------------------- */
.home .slider-container {
    position: relative;
    width: 100%;
    height: 300px; 
    background-color: #fff;
    z-index: 1;
}

.home .slide {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.home .slide.active { opacity: 1; }

/* 4. 페이지네이션 */
.home .slider-pagination {
    position: absolute;
    z-index: 999;
    pointer-events: auto;
    display: none;
    align-items: center;
    gap: 15px;
    font-family: 'Times New Roman', serif !important;
}

.home .slider-pagination .slide-num {
    font-size: 15px;
    letter-spacing: 1px;
}

.home .slider-pagination .slide-line {
    display: inline-block;
    position: relative;
    width: 80px; 
    height: 2px;
    background-color: #e0e0e0; 
    overflow: hidden;
}

.home .slider-pagination .slide-progress {
    position: absolute;
    top: 0; 
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #8c6227, #cfa878); 
}

.home .slider-pagination .slide-progress.animate {
    animation: fillProgress 3.5s linear forwards; 
}

@keyframes fillProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.home .slider-pagination .slide-btn {
    position: relative;
    z-index: 1000;
    background: transparent;
    border: none;
    color: #333333;
    font-size: 20px;
    cursor: pointer;
    padding: 0 5px;
    transition: opacity 0.3s;
}

.home .slider-pagination .slide-btn:hover {
    opacity: 0.6;
}

/* 모바일 전용 알약 도트 */
.home .mobile-pagination {
    display: flex !important;
    position: absolute;
    bottom: 15px; 
    left: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 8px; 
    z-index: 20; 
}

.home .mobile-pagination .dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.6); 
    border-radius: 50%;
    transition: all 0.3s ease;
}

.home .mobile-pagination .dot.active {
    width: 24px; 
    background-color: #ffffff; 
    border-radius: 4px; 
}


/* -----------------------------------------------
   반응형 - 모바일 소개섹션 위치 (768px 이하)
----------------------------------------------- */
@media (max-width: 768px) {
    .home .card-wrap.introduction-section {
        top: 0 !important; 
        padding: 40px 0 200px 0;
    }
}


/* -----------------------------------------------
   반응형 - 태블릿 및 PC (768px 이상)
----------------------------------------------- */
@media (min-width: 768px) {
    .home.main-wrap,
    .home .main-wrap {
        top: 0 !important; 
        margin: 0 !important;
        background-color: #fff;
    }

    .home .cover-title {
        top: auto !important;    
        bottom: auto !important; 
        left: 3% !important;
        max-width: 450px !important;
        margin: 10px 0;
        margin-bottom: 0 !important;
        padding-top: 10px !important;
    }

    /* 태블릿/PC에서는 원래 지정한 큰 폰트 크기로 복원 */
    .home .cover-title .tx70 {
        font-size: 76px !important;
        margin-bottom: 20px !important;
    }

    .home .cover-title .tx18.tx-grey:first-child,
    .home .cover-title h2 {
        font-size: 15px !important;
        margin-bottom: 18px !important;
    }

    .home .cover-title p.tx-grey,
    .home .cover-title .tx18 {
        font-size: 18px !important;
        line-height: 1.65 !important;
        margin-bottom: 24px !important;
    }

    .home .cover-title .btn-blue {
        padding: 10px 24px !important;
        font-size: 14px !important;
    }

    .home .slider-container {
        height: 750px; 
    }

    .home .slider-pagination {
        display: flex !important;
        top: -66px !important; 
        right: 5% !important; 
        color: #333 !important;
    }

    .home .mobile-pagination { 
        display: none !important; 
    }
}

/* -----------------------------------------------
   반응형 - 와이드 PC 화면 (1200px 이상)
----------------------------------------------- */
@media (min-width: 1200px) {
    .home .cover-title {
        left: 12% !important;
        max-width: 480px !important;
        padding-top: 60px !important;
    }

    .home .cover-title .tx70 {
        font-size: 98px !important;
    }

    .home .slider-pagination {
        right: max(20px, calc(45% - 630px + 20px)) !important;
    }
}

/*---------------------------------------------------
Introduction Section (이미지 전체 풀 화면 버전)
----------------------------------------------------*/

.home .card-wrap.introduction-section {
    position: relative;
    width: 100%;
    background: url(../images/front-page/shape.webp) center bottom / 100% auto no-repeat;
    padding: 6% 0 30% 0; 
    overflow: hidden;
}

/* 상단 흰색 영역과 이미지 경계를 부드럽게 이어주는 마스크 */
.introduction-section .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
                    rgba(255, 255, 255, 1) 0%, 
                    rgba(255, 255, 255, 1) 30%, 
                    rgba(255, 255, 255, 0.5) 65%, 
                    rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

/* 콘텐츠 영역 레이어 순서 지정 */
.introduction-section .content-box {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Welcome 텍스트 */
.introduction-section .welcome-text {
    display: block;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* 메인 타이틀 (시안 속 세련되고 얇은 서체 느낌을 위한 스타일 보정) */
.introduction-section .main-title {
    font-size: 42px;
    font-weight: 300;
    color: #333333;
    line-height: 1.4;
    max-width: 950px;
    margin: 0 auto 35px auto;
    letter-spacing: -0.5px;
    word-break: keep-all;
}

/* 버튼 스타일 */
.introduction-section .btn-more {
    display: inline-block;
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 500;
    color: #3b82f6;
    background-color: #ffffff;
    border: 1px solid #93c5fd;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

/* 버튼 호버 효과 */
.introduction-section .btn-more:hover {
    background-color: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

/* PC 줄바꿈 */
.pc-only {
    display: block;
}

/* 태블릿 & 모바일 최적화 */
@media (max-width: 1024px) {
    .home .card-wrap.introduction-section {
        /* 태블릿 규격에 맞춰 배경 비율 보정 */
        background-size: cover; 
        padding: 8% 0 40% 0;
    }
}

@media (max-width: 768px) {
    .home .card-wrap.introduction-section {
        padding: 50px 0 250px 0;
    }
    
    .introduction-section .bg-overlay {
        background: linear-gradient(to bottom, 
                        rgba(255, 255, 255, 1)26%, 
                        rgba(255, 255, 255, 0.5) 63%,
                        rgba(255, 255, 255, 0.5) 56%, 
                        rgba(255, 255, 255, 0) 91%);
    }

    .introduction-section .welcome-text {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .introduction-section .main-title {
        font-size: 24px;
        padding: 0 15px;
        margin-bottom: 25px;
    }
    
    .pc-only {
        display: none;
    }
    
    .introduction-section .btn-more {
        padding: 8px 20px;
        font-size: 12px;
    }
}

.home .activities-wrap .card-box {margin-top:35px;}
.home .activities-wrap .card-box .img{min-height:300px;}
.home .activities-wrap .desc-box {padding:10px;}
.home .activities-wrap .card-box .img-1 {background:url(../images/front-page/clean-up.webp) no-repeat center center / 100%;}
.home .activities-wrap .card-box .img-2 {background:url(../images/front-page/blood-drive.webp) no-repeat center center / 100%;}
.home .activities-wrap .card-box .img-3 {background:url(../images/front-page/neighborly-love.webp) no-repeat center center / 100%;}

@media (max-width: 767px) {

    .home .activities-wrap .card-box {
        margin-top:0;
    }
}

/*----------------------------------------------------
Activities
----------------------------------------------------*/
.card-box {
    display: block;
    background: #ffffff;
    padding: 30px;
    text-decoration: none !important;
    color: #333333 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* 마우스 호버(Hover) 효과 */
.card-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    background-color: #ffffff;
}

/* 호버 시 텍스트 색상 유지 혹은 변경 원할 때 */
.card-box:hover h3 {
    color: #000000;
}

/*  모바일 및 태블릿 화면용 스타일 추가 */
@media (max-width: 768px) {
    .home .card-wrap .grid-3 {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
    
    .home .card-wrap .card-box {
        margin: 0; 
        padding: 20px; 
        height: auto; 
        min-height: 220px;
    }

    .home .card-wrap .tx25 {
        font-size: 18px;
    }

    .home .card-wrap .tx18 {
        font-size: 12px;
    }
}

.home .activities-wrap .card-box {margin-top:35px;}
.home .activities-wrap .card-box .img{min-height:300px;}
.home .activities-wrap .desc-box {padding:10px;}
.home .activities-wrap .card-box .img-1 {background:url(../images/front-page/clean-up.webp) no-repeat center center / 100%;}
.home .activities-wrap .card-box .img-2 {background:url(../images/front-page/blood-drive.webp) no-repeat center center / 100%;}
.home .activities-wrap .card-box .img-3 {background:url(../images/front-page/neighborly-love.webp) no-repeat center center / 100%;}

@media (max-width: 767px) {

    .home .activities-wrap .card-box {
        margin-top:0;
    }
}

/* 태블릿 및 모바일 화면 (1024px 이하) */
@media (max-width: 1024px) {
    /* 1. 그리드 컨테이너를 가로 스크롤 컨테이너로 변경 */
    .home .activities-wrap .grid-3 {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 20px !important;
        padding: 20px 15px !important;
        margin: 0 -15px !important;
    }

    /* 스크롤바 숨기기 (깔끔한 UI) */
    .home .activities-wrap .grid-3::-webkit-scrollbar {
        display: none;
    }
    .home .activities-wrap .grid-3 {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* 2. 카드 요소의 너비 고정 및 스냅 기준점 설정 */
    .home .activities-wrap .activity-unified-card {
        flex: 0 0 75% !important;
        max-width: 400px;
        scroll-snap-align: center;
    }
}

/* 모바일 화면 (480px 이하) 미세 조정 */
@media (max-width: 480px) {
    .home .activities-wrap .activity-unified-card {
        flex: 0 0 85% !important;
    }
}

/* ------------------------------------------------
하얀 배경으로 통합된 카드 박스 스타일
------------------------------------------------ */
.activity-unified-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 30px 25px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

/* 마우스를 올렸을 때 전체 카드가 부드럽게 들리는 호버 효과 */
.activity-unified-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* 1. 상단 카테고리 영역 */
.category-header-link {
    text-decoration: none;
    color: #111111;
    display: block;
    width: 100%;
    margin-bottom: 25px;
    text-align: center;
}

.category-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 35px;
}

.category-header .arrow {
    font-size: 16px;
    color: #b5b5b5;
    margin-bottom: 6px;
    font-weight: 300;
    transition: color 0.3s ease;
}

/* 카테고리 제목 */
.category-header .cat-title {
    font-size: 24px !important;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #111;
    transition: color 0.3s ease;
}

/* 카테고리 마우스 호버 시 글자색 전환 */
.category-header-link:hover .cat-title {
    color: #3955f1;
}
.category-header-link:hover .arrow {
    color: #3955f1;
}

.category-header .cat-desc {
    font-size: 14px;
    color: #777;
    margin: 0;
    line-height: 1.5;
    max-width: 90%;
    word-break: keep-all;
}

/* 2. 하단 게시글 미디어 영역 */
.card-box-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.card-post-media {
    overflow: hidden;
}

/* 카드 이미지 부분 둥글게 처리 */
.card-post-media .img {
    border-radius: 12px;
    transition: transform 0.5s ease;
    height: 259px;
}

/* 호버 시 이미지만 살짝 커지는 줌 효과 추가 */
.card-box-link:hover .img {
    transform: scale(1.03);
}

.card-post-media .desc-box {
    padding: 20px 5px 0 5px !important;
    text-align: left;
}

.card-post-media .desc-box .post-title {
    margin: 10px 0 10px 0;
    transition: color 0.3s ease;
    font-size: 17px !important;
    font-family: 'pretendard';
    font-weight: 400;
}

/* 게시글 제목 호버 시 색상 전환 */
.card-box-link:hover .post-title {
    color: #8d6c5a;
}

/* 1. 태그들을 감싸는 부모 컨테이너 (가로 정렬 및 간격 설정) */
.card-post-media .desc-box .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* 태그 사이의 간격 */
    /* 기존에 있던 background-color, padding, border-radius 등은 여기서 제거해야 합니다. */
}

/* 2. 개별 태그(.tag)에 스타일 적용 */
.card-post-media .desc-box .post-tags .tag {
    position: relative;
    display: inline-block;
    font-size: 14px;
    color: #8d6c5a;
    line-height: 1.5;
    padding: 5px 10px;
    background-color: #efefef;
    border-radius: 12px;
    transition: all 0.3s;
}

/* --------------------------------------------------
about-church :elohim
----------------------------------------------------*/
.section-elohim {
  padding-top: 50px;
  padding-bottom: 50px;
}

/* 상단 타이틀 모바일 최적화 */
.section-elohim .section-head.center {
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
}

.section-elohim .section-head .title {
  font-size: 28px;
  line-height: 1.3;
  word-break: keep-all;
}

.section-elohim .section-head .desc {
  font-size: 14px;
  line-height: 1.6;
  padding-top: 15px;
  padding-bottom: 30px;
  word-break: keep-all;
}

/* 배너 랩: 모바일 기본 */
.section-elohim .banner-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* 모바일 배너 카드 디자인 핵심 수정 */
.section-elohim .banner {
  width: 100%;
  max-width: 400px;
  min-height: 520px;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 24px;
  padding-right: 24px;
  border-radius: 24px;
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  text-align: center;
  color: #333;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* 내부 아이템 여백 */
.section-elohim .banner .item {
  width: 100%;
}

.section-elohim .banner .eyebrow {
  font-size: 13px;
  margin-bottom: 8px;
  opacity: 0.7;
}

.section-elohim .banner .title {
  font-size: 24px;
  letter-spacing: -1px;
  margin-bottom: 12px;
  font-weight: 600;
}

.section-elohim .banner .desc {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  word-break: keep-all;
  padding-left: 10px;
  padding-right: 10px;
}

.section-elohim .banner-wrap .banner .item .btn {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border-radius: 8px;
    background-color: #ffffff !important;
    border: 1px solid var(--color-main); 
    color: var(--color-main) !important; 
    transition: all 0.3s ease; 
}

.section-elohim .banner-wrap .banner .item .btn:hover {
    background-color: var(--color-main) !important; 
    color: #ffffff !important; 
}

.section-elohim .banner-christ {
  background-image: url('../images/front-page/bg_christ.jpg');
  background-color: #F8F7F3;
}

.section-elohim .banner-mother {
  background-image: url('../images/front-page/bg_heavenlymother.jpg');
  background-color: #FAF5F6;
}

.pc-br {
  display: none;
}

/* 태블릿 및 PC 이상 (768px 이상) */
@media (min-width: 768px) {
  .section-elohim .section-head .title {
    font-size: 36px;
  }

  .section-elohim .banner-wrap {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
 
  .section-elohim .banner {
    flex: 1;
    max-width: none;
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 65%;
    padding-left: 30px;
    padding-right: 30px;
  }

  .section-elohim .banner .title {
    font-size: 28px;
  }

  .pc-br {
    display: inline;
  }
  
}

/* 데스크탑 이상 (1070px) */
@media (min-width: 1070px) {
  .section-elohim .section-head .title {
    font-size: 44px;
    margin-bottom: 15px;
  }

  .section-elohim .banner-wrap {
    gap: 40px;
    display: flex;
    justify-content: center;
    align-items: stretch;
  }

  .section-elohim .banner {
    flex: 1;
    max-width: 480px;
    height: 700px;
    padding-bottom: 60px;
    padding-top: 80px;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .section-elohim .banner .title {
    font-size: 30px;
    letter-spacing: -2.16px;
    margin-bottom: 15px;
  }

  .section-elohim .banner .desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
  }
}

/* 고해상도 이미지 처리는 그대로 유지 */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx) {
  .section-elohim .banner-christ {
    background-image: url('../images/front-page/bg_christ@2x.jpg');
  }
  .section-elohim .banner-mother {
    background-image: url('../images/front-page/bg_heavenlymother@2x.jpg');
  }
}


/************************************************
About Us
*************************************************/
.profile-ul{padding-left:0 !important;}
.profile-ul li{border-bottom:1px solid #ccc;display: flex !important;justify-content:space-between;align-items:center;padding:20px 0;list-style: none !important;}
.profile-ul li .more-btn{border:1px solid var(--color-grey); padding:12px 20px; font-size:15px; display:inline-block; text-align:center; color:var(--color-grey)}
.profile-ul li .more-btn:hover{background:var(--color-main); color:#fff}

@media (max-width: 768px) {
    .banner-content .btn-wrap .btn-main{
        width: 134px;
        font-size: 12px;
        opacity: 86%;
        margin: 0px 10px 0px 10px !important;
    }
}

/* --------------------------------------------------
 about-us 헤더 이미지   
------------------------------------------------------ */

.about-header-hero {
    position: relative;
    width: 100%;
    min-height: 750px;
    background-image: url('../images/about-us/about-us-main.webp'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center; 
    justify-content: center;
}

/* 텍스트가 잘 보이도록 배경을 살짝 어둡게 누르는 오버레이 효과 */
.about-header-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* 텍스트 영역을 오버레이 위로 끌어올림 */
.about-header-hero .container-post {
    position: relative;
    z-index: 2;
    padding-left: 20px;
    padding-right: 20px;
}

/* 기존 테마 색상 무시하고 텍스트를 흰색으로 선명하게 처리 */
.about-header-hero p,
.about-header-hero h3 {
    color: #ffffff !important;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.7); /* 글씨에 묵직한 그림자 추가 */
}
.container-post .main-tx{
  font-size: 35px;
}

/* 모바일 화면을 위한 높이 및 폰트 크기 미세 조정 */
@media (max-width: 768px) {
    .about-header-hero {
        min-height: 300px;
    }
    .about-header-hero h3 {
        font-size: 18px !important; /* 모바일에서 제목이 너무 크지 않게 조정 */
        line-height: 1.4 !important;
    }
}

/* ----------------------------------------------
members img style
-------------------------------------------------*/
.main-banner-wrap {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    /* 이미지 및 그라데이션 설정 */
    .wide-img-fade {
        position: relative;
        width: 100%;
        margin: 0;
    }
    .wide-img-fade img {
        width: 100%;
        height: auto;
        display: block;
    }
    .wide-img-fade::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
        z-index: 1;
    }

    /* 이미지 위에 올라가는 텍스트/버튼 컨테이너 */
    .banner-content {
        position: absolute;
        top: 30px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%; 
        padding: 0 20px; 
        box-sizing: border-box;
        margin: 0 auto;
        z-index: 2;
        text-align: center;
    }

    .banner-content .main-title {
        margin-bottom: 15px;
        margin-top: 30px;
        text-align: center;
        font-size: 2rem;
        line-height: 1.4;
        word-break: keep-all;
        color:#4d3819;
    }

    .banner-content .btn {
        position: static !important;
        display: inline-block !important;
        margin: 20px auto 0 !important;
    }

@media (min-width: 768px) and (max-width: 1123px) {
    .banner-content {
        top: 25px;
        padding: 0 30px;
    }

    .banner-content .main-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .pc-only {
        display: none;
    }
}

@media (max-width: 767px) {
    .banner-content {
        top: 15px; 
        padding: 0 15px;
    }

    .banner-content .main-title {
        font-size: 1.125rem; /* 약 18px */
        line-height: 1.35;
    }

    .pc-only {
        display: none;
    }
}

@media (max-width: 480px) {
    .banner-content {
        top: 10px;
        padding: 0 12px;
    }

    .banner-content .main-title {
        font-size: 15px;
        margin-top: -10px;
        line-height: 1.3;
    }
}


/*************************************************
Sermon
*************************************************/
.container-post .sermon-main-h3 {
    font-size: 28px;
}

/* ***********************************************
수상내역, 언론보도 공통 컨테이너
************************************************** */
.container-xl {
  width: 100%;
  max-width: 1130px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* -----------------------------------
list-head 기본 스타일 (모바일 우선)
----------------------------------- */
.list-head {
  padding-top: 40px;
  padding-bottom: 20px;
}
.list-head > *:not(:first-child):not(img) {
  margin-top: 12px;
}
.list-head .title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -1px;
}
.list-head .title::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 36px;
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.list-head .desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--page-head-desc, #666);
  word-break: keep-all;
}

/* [태블릿] 768px ~ 1069px */
@media (min-width: 768px) and (max-width: 1069px) {
  .container-xl {
    padding-left: 24px; /* 기존 65px에서 24px로 수정 */
    padding-right: 24px;
  }
  .list-head {
    padding-top: 60px;
    padding-bottom: 24px;
  }
  .list-head .title {
    font-size: 40px;
    gap: 10px;
  }
  .list-head .title::before {
    width: 48px;
    height: 48px;
  }
  .list-head .desc {
    font-size: 16px;
  }
}

/* [작은 태블릿 / 아이패드 미니 등] 768px ~ 991px */
@media (min-width: 768px) and (max-width: 991px) {
  .container-xl.list-head {
    padding-left: 42px !important; /* 아이패드 미니에서 선이 맞았던 숫자를 입력하세요 (예: 16px) */
    padding-right: 42px !important;
  }
  .list-head {
    padding-top: 60px;
    padding-bottom: 24px;
  }
  .list-head .title { font-size: 40px; gap: 10px; }
  .list-head .title::before { width: 48px; height: 48px; }
  .list-head .desc { font-size: 16px; }
}

/* [큰 태블릿 / 아이패드 프로 등] 992px ~ 1069px */
@media (min-width: 992px) and (max-width: 1069px) {
  .container-xl.list-head {
    padding-left: 176px !important; /* 아이패드 13에서 선이 맞았던 숫자를 입력하세요 (예: 65px 또는 아까 찾으신 숫자) */
    padding-right: 176px !important;
  }
  .list-head {
    padding-top: 60px;
    padding-bottom: 24px;
  }
  .list-head .title { font-size: 40px; gap: 10px; }
  .list-head .title::before { width: 48px; height: 48px; }
  .list-head .desc { font-size: 16px; }
}


/* [PC] 1070px 이상 */
@media (min-width: 1070px) {
  .container-xl {
    padding-left: 0;
    padding-right: 0;
  }
  .list-head {
    padding-top: 125px;
    padding-bottom: 32px;
  }
  .list-head > *:not(:first-child):not(img) {
    margin-top: 16px;
  }
  .list-head .title {
    font-size: 52px;
    letter-spacing: -1.5px;
    gap: 12px;
  }
  .list-head .title::before {
    width: 60px;
    height: 60px;
  }
  .list-head .desc {
    font-size: 17px;
    line-height: 1.6;
    max-width: 650px;
  }
}

/* -----------------------------------
아이콘 설정 (수상내역 / 언론보도)
----------------------------------- */
/* 수상내역 */
.page-awards .list-head .title::before {
  background-image: url('../images/ico/ico_awards.png');
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
  .page-awards .list-head .title::before {
    background-image: url('../images/ico/ico_awards@2x.png');
  }
}

/* 언론보도 */
.press .list-head .title::before,
.page-press .list-head .title::before {
  background-image: url('../images/ico/ico_press.png');
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
  .press .list-head .title::before,
  .page-press .list-head .title::before {
    background-image: url('../images/ico/ico_press@2x.png');
  }
}

/* -----------------------------------
주요 수상 캐러셀 (Owl Carousel)
----------------------------------- */
.award-carousel .btn .ico,
.btn.style-lined .ico {
  filter: invert(53%) sepia(4%) saturate(8%) hue-rotate(354deg) brightness(93%) contrast(82%);
}
.page-awards .headroom--top { background-color: #f8f8fa; }
.page-awards .visual-award { background: #f8f8fa; padding-bottom: 30px; }
.award-carousel { width: 100%; }
.award-carousel .item {
  gap: 24px;
  height: 100%;
  padding: 30px 40px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #FFFFFF;
}
.award-carousel .item[data-link]:not([data-link=""]) { cursor: pointer; }
.award-carousel .img { display: flex; justify-content: center; }
.award-carousel .img img { width: auto !important; max-height: 180px; }
.award-carousel .textbox {
  max-width: 360px;
  display: flex;
  gap: 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.award-carousel .title { font-size: 20px; font-weight: 500; }
.award-carousel .info { font-size: 14px; font-weight: 500; color: rgba(0, 0, 0, 0.7); }
.award-carousel .desc { font-size: 15px; color: #666; }
.award-carousel .sub-text { font-size: 14px; color: #0048C8; }
.award-carousel .btns { margin-top: 24px; }
.award-carousel .btns > * { padding: 10px 15px; font-size: 15px; border-radius: 6px; }
.award-carousel .btns .btn-more { background-color: #2379FC; color: #fff; }
.award-carousel .btns .btn-articles { background-color: #F5F5F7; }
.award-carousel .owl-stage { display: flex; }
.owl-theme .owl-nav.disabled + .owl-dots { margin-top: 32px !important; }

/* 캐러셀 모바일 최적화 */
@media (max-width: 767px) {
  .award-carousel .item { padding: 24px 16px; gap: 16px; }
  .award-carousel .img img { max-height: 120px; width: auto; }
  .award-carousel .title { font-size: 17px; line-height: 1.35; word-break: keep-all; }
  .award-carousel .desc,
  .award-carousel .sub-text { font-size: 13px; line-height: 1.45; word-break: keep-all; }
  .award-carousel .info { font-size: 12px; }
  .award-carousel .btns { margin-top: 12px; }
  .award-carousel .btns > * { padding: 8px 16px; font-size: 13px; }
}
@media (min-width: 768px) {
  .owl-carousel.visible, .owl-carousel.visible .owl-stage-outer { overflow: hidden; }
}
@media (min-width: 1070px) {
  .category-award .owl-carousel { margin-bottom: 50px; }
  .award-carousel .textbox { gap: 10px; }
}
@media (min-width: 1280px) {
  .award-carousel picture img { height: 140px; }
  .award-carousel .title { font-size: 24px; }
}

/* -----------------------------------
하단 배너 (Banner)
----------------------------------- */
.page-achievement .section-banner { padding: 0; max-width: 100%; }
.page-achievement .banner { border-radius: 0; }
.page-achievement .banner .btn .ico { margin-top: 0; }

.banner-press,
.banner-awards {
  position: relative;
  overflow: hidden;
  background-color: #f7f8f9;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  margin: 0 auto;
}
.banner-press .eyebrow,
.banner-awards .eyebrow { color: #00b1c5; }
.section-banner .banner-awards::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background-color: rgba(253, 250, 249, 0.85);
  box-sizing: inherit;
  z-index: 1;
}
.banner .item {
  max-width: 400px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.banner .item .btn {
  background-color: #00b1c5;
  color: #fff;
  padding: 14px 24px;
  min-width: 100px;
  text-align: center;
  display: inline-block;
  transition: 0.6s;
  border-radius: 5px;
}

@media (min-width: 768px) and (max-width: 1069px) {
  .page-achievement .banner { height: 380px; }
  .page-achievement .banner .item { max-width: 460px; }
}
@media (min-width: 1070px) {
  .page-achievement .banner { border-radius: 16px; height: 540px; }
  .page-achievement .banner .item { max-width: 500px; }
  .page-achievement .section-banner {
    padding-bottom: 60px;
    max-width: 1300px;
    padding-left: 40px;
    padding-right: 40px;
    margin-left: auto;
    margin-right: auto;
  }
  .banner .title { font-size: 35px; margin: 15px 0; }
  .banner .desc { font-size: 17px; width: 346px; margin-bottom: 20px; }
}
@media (max-width: 723px) {
  .banner-press,
  .banner-awards {
    max-width: 100%;
    width: 100%;
    height: auto;
    padding: 40px 20px;
    border-radius: 12px;
  }
  .banner .item { max-width: 100%; width: 100%; }
  .banner .title {
    font-size: 24px !important;
    width: 100% !important;
    line-height: 1.3;
    margin-top: 12px;
    margin-bottom: 12px;
  }
  .banner .desc {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    word-break: keep-all;
  }
  .banner .item .btn { padding: 10px 20px; font-size: 14px; }
}

/*************************************************
Contact Us
*************************************************/
.nf-form-content label {font-size: 15px!important;}
#ninja_forms_required_items,
.nf-field-container {margin-bottom: 15px!important;}
input#nf-field-16-0,
input#nf-field-16-1 {background: #fff; border: none;}
.listradio-wrap .nf-field-element label.nf-checked-label:before{top:5px !important;}
.listradio-wrap .nf-field-element label.nf-checked-label:before{background:var(--color-main) !important;}
.listradio-wrap .nf-field-element label.nf-checked-label:after{border-color:var(--color-main) !important;}
.nf-form-content button,
.nf-form-content input[type=button],
.nf-form-content input[type=submit]{background-color:var(--color-main) !important; width:100% !important}
.nf-form-content button:hover,
.nf-form-content input[type=button]:hover,
.nf-form-content input[type=submit]:hover{background-color:var(--color-main) !important; color:#fff !important;}
.nf-form-content input[type=checkbox].ninja-forms-field,
.nf-form-content input[type=radio].ninja-forms-field{display:none}
.contact-us-wrap {position: relative; overflow: hidden; min-height: 480px; background-image: url('../images/front-page/pangyo_temple.jpg'); background-size: 90%; background-position: 100% 48%; background-repeat: no-repeat; background-color: #93D1FD;}
.contact-us-wrap::after {content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(40deg,#6ba5d1 40%,rgba(107,165,209,0) 75%);z-index: 1;}

/* 텍스트와 버튼들이 그라데이션 오버레이 위로 올라오도록 설정 */
.contact-us-wrap h2,
.contact-us-wrap p,
.contact-us-wrap div {
  position: relative;
  z-index: 2;
}

/* 고해상도(레티나) 대응 - 기존 코드 유지 */
@media only screen and (-webkit-min-device-pixel-ratio:1.5), only screen and (min-resolution:1.5dppx) {
  .contact-us-wrap { background-image: url('../images/front-page/pangyo_temple@2x.jpg'); }
}

/* 모바일 환경 (767px 이하) */
@media (max-width: 767px) {
  .contact-us-wrap {
    min-height: 400px;
    background-size: cover;
    background-position: center;
  }
  
  .contact-us-wrap p {
    margin: 0 20px; 
    font-size: 14px;
  }
}

/* 태블릿 환경 (768px ~ 1023px) */
@media (min-width: 768px) and (max-width: 1123px) {
  .contact-us-wrap {
    background-size: cover;      
    background-position: 60%; 
    min-height: 520px; 
  }

  .contact-us-wrap p {
    margin: 0 130px;
  }

  .contact-us-wrap::after {
    background: linear-gradient(180deg, rgba(107, 165, 209, 1) 20%, rgba(107, 165, 209, 0) 90%);
  }
}

/* ============================================================
26/7/8 장하나 추가 - 싱글페이지 공유버튼 및 SNS 아이콘 스타일링 
=============================================================== */

/*1. 플러그인 기본 아이콘 강제 숨김 (필수) */
.modal-share .sns-share .addtoany_shortcode .addtoany_list a svg,
.modal-share .sns-share .addtoany_shortcode .addtoany_list a img,
.modal-share .sns-share .addtoany_shortcode .addtoany_list a span {
    display: none !important;
}

/* 2. 모달 및 아이콘 디자인 코드*/
.modal-share {position:fixed; display:none; justify-content:center; align-items:center; top:0; right:0; bottom:0; left:0; z-index:99999; background-color:rgba(0,0,0,0.5)}
.modal-share.on {display:flex; max-width:100%}
.modal-contents {width:300px; border-radius:14px; padding:20px 20px 15px 20px; background-color:#FFF; z-index:101; position:relative}
.modal-header {display:flex; justify-content:space-between; align-items:center; margin-bottom:15px}
.modal-title {font-size:18px; font-weight:500}
.modal-close {display:inline-block; width:15px; height:15px; background-image:url('/wp-content/themes/Cambodia/assets/images/sns/ico_share_close.svg'); background-size:100%; background-repeat:no-repeat; cursor:pointer}

.modal-share .sns-share .addtoany_shortcode {display:inline}
.modal-share .sns-share .addtoany_shortcode .addtoany_list {display:flex; flex-wrap:wrap}

/* 링크(a) 태그 레이아웃 설정 */
.modal-share .sns-share .addtoany_shortcode .addtoany_list a,
.modal-share .sns-share .kakaotalk {display:flex; flex-direction:column; align-items:center; width:25%; height:auto; padding-bottom:10px; margin:0 !important; opacity:1; overflow:hidden; position:relative; background-image:inherit; text-decoration:none !important;}

/* 아이콘 배경(도형) 형태 및 음영 설정 */
.modal-share .sns-share .addtoany_shortcode .addtoany_list a::before,
.modal-share .sns-share .kakaotalk::before {content:''; position:relative; display:block; width:40px; height:40px; border-radius:14px; top:0; right:0; bottom:0; left:0; background-position:center; background-repeat:no-repeat; box-shadow:0px 0px 0px 1px rgb(0 0 0 / 7%) inset}

/* 컬러 및 SVG 아이콘 매핑 (테마 경로 맞춤) */
.modal-share .sns-share .addtoany_shortcode .addtoany_list a.a2a_button_facebook::before {background-color:#3F5594; background-image:url('/wp-content/themes/Cambodia/assets/images/sns/ico_share_facebook.svg')}
.modal-share .sns-share .addtoany_shortcode .addtoany_list a.a2a_button_twitter::before,
.modal-share .sns-share .addtoany_shortcode .addtoany_list a.a2a_button_x::before {background-color:#000000; background-image:url('/wp-content/themes/Cambodia/assets/images/sns/ico_share_x.svg')}
.modal-share .sns-share .addtoany_shortcode .addtoany_list a.a2a_button_email::before {background-color:#7D7D7D; background-image:url('/wp-content/themes/Cambodia/assets/images/sns/ico_share_mail.svg')}
.modal-share .sns-share .addtoany_shortcode .addtoany_list a.a2a_button_line::before {background-color:#21CD5B; background-image:url('/wp-content/themes/Cambodia/assets/images/sns/ico_share_line.svg')}
.modal-share .sns-share .addtoany_shortcode .addtoany_list a.a2a_button_kakao::before {background-color:#FDBF00; background-image:url('/wp-content/themes/Cambodia/assets/images/sns/ico_share_story.svg')}
.modal-share .sns-share .addtoany_shortcode .addtoany_list a.a2a_button_sms::before {background-color:#4F67ED; background-image:url('/wp-content/themes/Cambodia/assets/images/sns/ico_share_sms.svg')}
.modal-share .sns-share .addtoany_shortcode .addtoany_list a.a2a_button_copy_link::before {background-color:#FFFFFF; background-image:url('/wp-content/themes/Cambodia/assets/images/sns/ico_share_link.svg')}

/* 카카오톡 아이콘 */
.modal-share .sns-share .addtoany_shortcode .addtoany_list a.kakaotalk::before,
.modal-share .sns-share .kakaotalk::before {background-color:#FFE300; background-image:url('/wp-content/themes/Cambodia/assets/images/sns/ico_share_kakaotalk.svg')}

/* 아이콘 텍스트 설정 (title 속성 활용) */
.modal-share .sns-share .addtoany_shortcode .addtoany_list > a:after,
.modal-share .sns-share .kakaotalk:after {
    content:attr(title); 
    position:relative; display:block; text-align:center; font-size:11px; font-weight:500; color:var(--text-body, #333); margin-top:2px; line-height:1.2;
}

/* 하단 공유 / 뒤로가기 버튼 영역 레이아웃 */
.post-ui {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 40px;
    padding-top: 20px;
    width: 100%;
}

/* 공유 / 뒤로가기 버튼 공통 디자인*/
.post-ui .btn.style-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f5f7; /* 사진과 유사한 연한 회색 배경 */
    color: #444444;            /* 짙은 회색 텍스트 */
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;        /* 모서리 둥글게 */
    border: none;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* 마우스를 올렸을 때(Hover) 약간 더 진해지는 효과 */
.post-ui .btn.style-mini:hover {
    background-color: #e5e7eb;
    color: #111111;
}

/* 공유 버튼 안의 아이콘 정렬*/
.post-ui .btn-share .ico-share {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px; /* 아이콘과 '공유' 글씨 사이의 간격 */
    
    /* 만약 테마에 자체 아이콘이 안 나온다면 아래 주석(//)을 지우고 사용하세요 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23444444'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
