
* {
    word-break: keep-all;
}
.wp-block-social-links .wp-block-social-link.wp-social-link {
    margin-top: 15px !important;
    margin-right: 10px !important;
}
.flex-column {
    flex-direction: column;
}
.wp-block-embed__wrapper iframe, .twitter-tweet{
    margin-left: auto;
    margin-right: auto;
}

.d-flex {
    display: flex;
}
body.no-scroll {
    overflow: hidden;
}
li {
    list-style: none !important;
}
.align-items-center {
    align-items: center;
}
::marker {
    display: none;
}
.main-spacer {
    height: 200px;
    width: 100%;
    background: #F1F1F1;
}
:root {
    --primary-black: #1d1d1d;
    --sub-black: #606060;
    --wp--preset--font-size--normal: 18px !important; /* Replace 18px with your desired font size */
    --primary-white: #FAF7F2;
}

.eng {
    font-family: "Satoshi", sans-serif !important;
}
.ko {
    font-family: "Pretendard", sans-serif;
}
a { color: inherit !important; text-decoration: none !important;} 
.navmenu {
    display: flex;
   
}
header {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: fixed;
    z-index: 9999999999999999999999;
    background-color: #fff;
}
.navmenu {
    width: 500px;
    justify-content: space-between;
}
/* mobile */
.nav-links {
    display: flex;
    gap: 50px;
}
/* Add to styles.css */
#searchBar.open {
    display: flex !important;
    justify-content: center;
}
#nav-links.open {
    display: flex !important;
    height: 30vh;
    background: #fff;
    z-index: 999999999;
    overflow: hidden;
}
.logo {
    font-size: 1.5em;
}

b, strong {
    font-weight: bold !important;
}
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .line {
    width: 25px;
    height: 2px;
    background: var(--primary-black);
    transition: all 0.3s ease;
}
.hamburger.open .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open .line:nth-child(2) {
    opacity: 0;
}

.hamburger.open .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media screen and (min-width: 1015px) and (max-width: 1600px) {
    .blog {
        width: 800px !important;
    }
    .large-post {
        width: 800px !important;
    }
    .inner.title {
        width: 330px !important;
    }
    .medium-post .description {
        width: 380px !important;
    }
    .medium-post .post-thumbnail img {
    width: 380px !important;
    }

}


@media (max-width: 1015px) {
    .hero-wrapper .hero-wrapper__text-block__left h3.eng {
        font-size: 13.33px !important;
    }
    .hero-wrapper .hero-wrapper__text-block__left .verse {
        font-size: 13.33px !important;
    }
    header {
        flex-direction: column;
    }
    .nav-links {
        gap: 0;
    }
    .sidebar {
        display: none !important;
    }
    .main-spacer {
        height: 120px !important;
    }
    .container-main {
        padding: 15px !important;
    }
    .single, .breadcrumbs {
        width: 100% !important;
        padding-left: 15px !important;
    }
    #searchBar {
        display: none;
    }
    #nav-links {
        display: none;
    }
    .nav-links {
        margin-top: 70px;
        left: 0;
                width: 100%;
        flex-direction: column;
        padding-left: 15px;
        font-size: 24px;
    }
    nav {
        width: 100vw;
    }
    .navmenu {
        width: 100vw;
    }
    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }
    .navbar {
        padding: 15px !important;
    }
    .navmenu {
        flex-direction: column;
    }
    .searchform input[type="text"] {
        width: 90vw !important;
    }

    /* body */
    .inner.title {
        width: calc(100%) !IMPORTANT;
        margin: 0px !important;
    }
    .blog {
        width: 100% !important;
    }
    .size-large.wp-post-image {
        object-fit: cover;
        height: 320px;
        width: calc(100vw - 30px);
    }
    .size-medium.wp-post-image {
        object-fit: cover;
        height: 230px;
        width: calc(100vw - 30px);
    }
    .posttitle {
        font-size: 24px !important;
        margin-bottom: 0px !important;
    }
    .postauthor {
        margin-top: 7px !important;
        font-size: smaller !important;
    }
    .inner.excerpt {
        width: calc(100%) !important;
        margin-top: 15px;
    }
    .large-post .description {
        flex-direction: column;
    }
    .description {
        width: 100% !important;
    }
    .medium-post:nth-of-type(2),.medium-post:nth-of-type(5), .medium-post:nth-of-type(8), .medium-post:nth-of-type(11){
        margin-right: 0px !important;
    }
    .container-main .has-medium-font-size {
        font-size: 21px !important;
    }
    .excerpt {
        margin-left: 0px !important;
    }
    .medium-post .description {
        margin-top: 30px !important;
    }
    .hero-wrapper__bg {
        height: 80vh;
    }
    .hero-wrapper__bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 50%;
    }
    .hero-wrapper .hero-wrapper__text-block__left .verse-detail {
        width: 100% !important;
    }
    .hero-wrapper__text-block__left {
        width: 100% !important;
    }
    .hero-wrapper__text-block {
        width: 100%;
        transform: translate(0, -50%) !important;
        padding: 15px !important;
    }
    .scroll-to-top {
        margin-top: 15px !important;
    }

    footer {
        padding: 0 0 30px 0 !important;
    }



    .footer-main .col:nth-child(2) {
        margin-top: 0px;
    }
    .footer-box {
        padding: 0px !important;
        font-size: small !important;
    }
}
.footer-box {
    margin-top: 30px !important;
}


/* sidebar */
#block-11 {
    margin-top: 80px;
}
.sidebar {
    width: 288px;
    position: fixed;
    top: 0;
    margin-top: 81px;
}
    
.wp-block-latest-posts__list img{  
    width: 120px !important; 
    height: 80px !important;
    object-fit: cover;

}

.wp-block-latest-posts__list li {
    height: 80px !important;
    margin-bottom: 30px;
}
/* Header */

.navbar .logo span {
    font-weight: 600 !important;
    color: #e91b1b !important;
}

.searchform {
    display: flex;
    align-items: center;
    margin: 20px 0;
    position: relative;
}

.searchform input[type="text"] {
    padding: 5px;
    font-size: 16px;
    flex: 1;
    margin-right: 10px;
    width: 200px;
    height: 40px;
    border-radius: 50px;
    border: solid 1px var(--primary-black);
    opacity: 0.4;
    padding-left: 15px;
}
#searchsubmit {
    position: absolute;
    right: 10px;
    top: 7px;
    margin-right: 10px;
}

.searchform button.search-icon {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.searchform button.search-icon svg {
    width: 25px;
    height: 25px;
    stroke: black;
    transition: stroke 0.3s;
}

.searchform button.search-icon:hover svg {
    stroke: #0073aa;
}


header p {
    margin-bottom: 0px !important;
}
.navbar ul {
    text-decoration: none;
    color: var(--primary-black);
    list-style-type: none;
    margin-bottom: 0px !important;
    padding: 0px !important;
}
.navbar ul li:first-child {
    margin-left: 0px !important;
}
.navbar ul li {
    margin-left: 50px !important;
}
.navbar ul li .active {
    font-weight: 700 !important;
}
.logo {
    
}
.logo-main {
    font-size: 16px;
    color: var(--primary-black);
}
.logo-sub {
    font-family: "Pretendard", sans-serif;
    font-size: 12px;
    color: var(--sub-black);
}

.search {
    font-size: 20px;
    font-family: "Pretendard", sans-serif;
    color: var(--primary-black);
    padding-right: 25px;
}

@media (min-width: 840px) {
    nav {
        background-color: white;
        height: 74px;

        overflow: hidden;
        position: relative;
        padding: 0 16px !important;
    }
}

.page-wrap {
    width: 100%;
    min-height: 1100px;
    overflow: hidden; /* Ensure content doesn't overflow */
    max-width: 1560px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 150px;
    padding-top: 74px !important;
}

.container-main {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
}


/* Body */
.has-medium-font-size {
    font-size: 32px !important;
    font-weight: 500 !important;
}
.content {
    font-family: 'Pretendard', sans-serif;
}
.content p {
    font-size: 18px;
    line-height: calc(16 / 10 * 1em);
    font-weight: 400;
}
@media (min-width: 840px) {
    .container-main {
        padding: 0 72px;
    }

}

.hero-wrapper .hero-wrapper__text-block__left h3.eng {
    font-size: 32px;
    font-weight: 400;
    color: var(--primary-white);
    line-height: 1.3;
    margin-bottom: 15px;
}
.hero-wrapper .hero-wrapper__text-block__left h3.ko {
    font-size: 32px;
    color: var(--primary-white);
    font-weight: 300;
    line-height: 1.3;
}

.hero-wrapper .hero-wrapper__text-block__left p {
    font-size: 18px;
    color: var(--primary-white);
    font-style: normal;
    font-weight: 200;
    line-height: calc(16 / 10 * 1em);
}

.hero-wrapper .hero-wrapper__text-block__left .verse {
    margin-top: 15px;

}
.hero-wrapper .hero-wrapper__text-block__left .verse-detail {
    width: 600px;
    margin-top: 22px;
    margin-bottom: 42px;
}

.hero-wrapper__text-block {
    width: 100%;
    padding: 0 72px;
    position: absolute;
    top: 50%;
    transform: translate(0px, -50%);;
}
.hero-wrapper__text-block__left {
    width: 1024px;
    margin-right: 0;
    margin-left: auto;

}

.button-link-sub {
    width: 220px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 29px;
    background: var(--primary-white) !important;
    
}
.button-link-sub-black {
    width: 220px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 29px;
    background: var(--primary-black) !important;

}

.read-more  {
    margin: auto;
    padding-bottom: 100px;
}
.button-link-sub-black .ko {
    color: var(--primary-white) !important;
    font-weight: 300;
}
button .eng {
    font-weight: 500 !important;
    color: var(--primary-black);
}


/* blog */
.newest {
    margin: 50px 0 12px 0;
}
.blog {
    width: 1024px;
    margin-right: 0;
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
}

.post-item {
    margin-bottom: 100px;
}

.large-post {
    flex: 1 1 100%;
}
.large-post .description {
    justify-content: space-between;
    margin-top: 30px;
}
.large-post .description .excerpt{
    width: 600px;
    margin-left: 0px !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4; /* Limit to 3 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    height: calc(1.6em* 4); /* Adjust height based on line height and number of lines */
}
.medium-post .description {
    width: 492px;
}
.medium-post:nth-of-type(1) {
    margin-right: 0;
}

.medium-post:nth-of-type(2),.medium-post:nth-of-type(5), .medium-post:nth-of-type(8), .medium-post:nth-of-type(11){
    margin-right: 40px;
}


.post-thumbnail {
    margin-bottom: 15px;
    
}
.post-thumbnail img {
    width: -webkit-fill-available !important;
    object-fit: cover;

}

.medium-post .post-thumbnail a img {
    height: 320px !important;
    width: 492px !important;
}

.inner.title a {
    word-break: keep-all;
    font-weight: 500;
}

.inner.title {
    display: block;
    overflow: hidden;
    width: 384px;
    flex-shrink: 0;
    word-break: keep-all;
    margin-left: 10px;
}

.posttitle {
    color: var(--primary-black);
    font-family: "Pretendard", sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 15px;
}

.postauthor {
    font-size: smaller;
    color: var(--primary-black);
    font-family: "Pretendard", sans-serif;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: calc(4 / 3);
}

.postdates {
    font-size: 18px;
    color: var(--primary-black);
    font-family: "Pretendard", sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: calc(4 / 3);
}

.excerpt {
    font-size: 18px;
    color: var(--primary-black);
    font-family: "Pretendard", sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: calc(16 / 10 * 1em);
    margin-left: 10px;
    width: fit-content;
}

.post-item:nth-child(6n+3) .description,
.post-item:nth-child(6n+4) .description,
.post-item:nth-child(6n+6) .description,
.post-item:nth-child(6n+7) .description  {
    flex-direction: column;
}

.wp-block-latest-posts__post-title {
    font-weight: 400;
    font-family: 'Pretendard', sans-serif;
}
.wp-block-latest-posts__post-author {
    font-family: 'Pretendard', sans-serif;
}


/* single.php */

    .scroll-to-top {
        position: -webkit-sticky; /* For Safari */
        position: sticky;
        float: right;
        margin-top: 20px;
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        background-color: var(--primary-white);
        color: var(--primary-black);
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1000;
    }

    .scroll-to-top svg {
        fill: var(--primary-black);
        width: 24px;
        height: 24px;
        transform: rotate(-90deg); /* Rotate the SVG to point upwards */
      
    }
    
    /* archive */

    .archive-container {
        width: 100%;
        box-sizing: border-box;
    }
    
    .archive-posts {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }
    
    .archive-post {
    box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }
    
    .archive-post-thumbnail img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    .archive-post-title {
        font-size: 24px !important;
        margin-top: 15px;
        margin-bottom: 7px !important;
    }
    .archive-post-excerpt {
        margin-left: 0px !important;
    }

    @media (max-width: 1015px) {
        .archive-posts {
            grid-template-columns: 1fr;
        }
    }

