/* banner */

.visual{
    position: relative;
    width: 100%;
    height: 900px;
    padding: 14px 24px 0;
}

.visual .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s ease-in-out;
}

.visual .slide.on {
    opacity: 1;
    z-index: 2;
}

.visual > ul{
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.img01, .img02{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.img01{
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/image01.png');
}

.img02{
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('/images/image02.png');
}

.visual .text{
    position: absolute;
    left: 50%;
    top: 43%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 1000px;
}

.visual .text .category{
    font-size: 1.3rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    color: #edeed6;
    font-weight: 700;
}

.visual .text .verse{
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

.visual .text .verse_ref{
    font-size: 1rem;
    font-style: normal;
    opacity: 0.9;
}

.visual_button{
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    padding: 0 20px;
}

.visual_button > ul{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.visual_button > ul > li{
    width: 130px;
    height: 130px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(1px);
    transition: all 0.4s ease;
}

.visual_button > ul > li > a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    transition: all 0.4s ease;
    padding: 10px;
}

.visual_button > ul > li > a h3 {
    font-size: 1.05rem;
}

.visual_button > ul > li:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.visual_button > ul > li:hover > a {
    color: #111111;
    font-weight: 700;
}

/*info*/

.info_wrap{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 60px;
    max-width: 1700px;
    margin: 80px auto;
    padding: 0 20px;
}

.info_box{
    flex: 1;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.box_header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 2px solid #333;
}

.info_box h3{
    font-size: 1.4rem;
    font-weight: 700;
    color: #222222;
}

.more_btn{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.5);
    color: rgba(0, 0, 0, 0.5);
    font-size: 1.4rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

.more_btn:hover {
    background-color: #000;
    color: #fff;
}

/* info_table */
.info_box table{
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.info_box.worship th,
.info_box.worship td {
    padding: 14px 10px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.info_box.worship th {
    background-color: #f9f9f9;
    color: #444444;
    font-weight: 600;
}

.info_box.worship td {
    color: #666666;
}

.info_box.worship tr:last-child td {
    border-bottom: none; 
}

/* info_location */

.info_box.location .map{
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.root_daum_roughmap {
    width: 100% !important;
}

.root_daum_roughmap .wrap_map {
    height: 260px !important;
}

.info_box.location address{
    font-style: normal;
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.6;
    margin-top: auto;
}

@media (max-width: 1024px) {
    .visual {
        height: 700px;
        padding: 0;
    }
    .visual .text .verse {
        font-size: 2rem;
    }

    .visual_button > ul {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }

    .visual_button > ul > li {
        width: 105px;
        height: 105px;
    }
    .visual_button > ul > li > a h3 {
        font-size: 0.85rem;
        letter-spacing: -0.5px;
    }
}

@media (max-width: 768px) {
    .info_wrap {
        flex-direction: column;
        gap: 25px;
        margin: 40px auto;
    }
    .info_box {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .visual {
        height: 650px;
    }
    
    .visual .text .category {
        font-size: 0.95rem;
    }
    
    .visual .text .verse {
        font-size: 1.35rem;
        line-height: 1.5;
    }
    
    .visual .text .verse_ref {
        font-size: 0.85rem;
    }
    
    /* 💡 원형 버튼 2x2 정렬 수정 */
    .visual_button {
        bottom: 40px;
    }
    
    .visual_button > ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        justify-items: center;
        gap: 16px;
        max-width: 240px;
        margin: 0 auto;
    }
    
    .visual_button > ul > li {
        width: 100px;
        height: 100px;
        border-width: 2px;
    }
    
    .visual_button > ul > li > a h3 {
        font-size: 0.8rem;
        letter-spacing: -0.5px;
        word-break: keep-all;
    }
}