/* Common */

.wonjo-post-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 70px;
    padding: 40px 0 85px;
}

.wonjo-post-column {
    width: 100%;
}

.wonjo-post-column.navigation {
    max-width: 300px;
    padding: 50px 0 50px;
}

.wonjo-post-column.content {
    flex: 1;
}

.wonjo-post-column.controls {
    max-width: 410px;
    padding-top: 50px;
}

.wonjo-post-sticky {
    position: sticky;
    top: calc(90px + 40px);
    max-height: calc(100dvh - 90px - 40px - 100px);
    overflow: auto;
}

/* Navigation */

.wonjo-post-navigation {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    opacity: 0;
    text-align: left;
    transition: opacity 0.6s ease;
}

.wonjo-post-data + .wonjo-post-navigation {
    display: none;
}

.wonjo-post-navigation.loaded {
    opacity: 1;
}

.wonjo-post-navigation-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: black;
    padding: 0 18px;
}

.wonjo-post-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.wonjo-post-navigation ul li {
    margin: 0;
}

.wonjo-post-navigation ul li.hidden {
    display: none;
}

.wonjo-post-navigation ul li.toggle {
    cursor: pointer;
    padding: 6px 18px;
}

.wonjo-post-navigation ul li.toggle svg {
    display: block;
    width: 32px;
}

.wonjo-post-navigation ul li.toggle svg path {
    transition: fill 0.4s ease;
}

.wonjo-post-navigation ul li.toggle:hover svg path {
    fill: black;
}

@media screen and (max-width: 767px) {
    .wonjo-post-navigation ul li.toggle:hover svg path {
        fill: #666666 !important;
    }
}

.wonjo-post-navigation ul li a {
    display: block;
    padding: 6px 18px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: #666666;
    text-decoration: none;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.wonjo-post-navigation ul li a:not(.active):hover,
.wonjo-post-navigation ul li a:not(.active):focus {
    color: black;
}

@media screen and (max-width: 767px) {
    .wonjo-post-navigation ul li a:not(.active):hover,
    .wonjo-post-navigation ul li a:not(.active):focus {
        color: #666666 !important;
    }
}

.wonjo-post-navigation ul li a.active {
    background-color: rgba(255, 103, 29, 0.15);
    color: #FF671D;
}

/* Content / Breadcrumbs */

.wonjo-post-column.content .post-single-page .post-title,
.wonjo-post-column.content .post-single-page.has-post-thumbnail .article-inner > .entry-header,
.wonjo-post-column.content .post-single-page .article-body-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.wonjo-post-breadcrumbs {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: #666666;
    margin-bottom: 25px;
}

.wonjo-post-breadcrumbs a {
    color: #C028B9;
    text-decoration: none;
    transition: opacity 0.4s ease;
}

.wonjo-post-breadcrumbs a:hover,
.wonjo-post-breadcrumbs a:focus {
    opacity: 0.75;
}

.wonjo-post-column.content .post-title {
    text-align: left;
    font-size: 50px !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em;
    color: black !important;
    font-weight: 700 !important;
}

.wonjo-post-data {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px 25px;
    margin-bottom: 40px;
}

.wonjo-post-data-author {
    display: none;
    align-items: center;
    column-gap: 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    color: #717171;
    width: max-content;
    max-width: 100%;
}

.wonjo-post-data-author span {
    flex: 1;
    display: block;
    padding-top: 3px;
}

.wonjo-post-date {
    display: flex;
    align-items: center;
    column-gap: 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    color: #717171;
    width: max-content;
    max-width: 100%;
}

.wonjo-post-date svg {
    display: block;
    width: 25px;
    height: auto;
}

.wonjo-post-date time {
    flex: 1;
    display: block;
    padding-top: 3px;
}

.wonjo-post-column.content .entry-header > figure,
.wonjo-post-column.content .entry-content > figure {
    border-radius: 40px;
    overflow: hidden;
}

.wonjo-post-column.content .entry-content > figure {
    margin: 40px 0 60px;
}

.wonjo-post-column.content .entry-header {
    margin: 0 0 40px !important;
}

.wonjo-post-column.content .entry-content > [class*="wp-block"] {
    color: black !important;
}

.wonjo-post-column.content .entry-content.wd-entry-content p,
.wonjo-post-column.content .entry-content > .wp-block-list,
.wonjo-post-column.content .entry-content.wd-entry-content a {
    color: #666666 !important;
}

.wonjo-post-column.content .entry-content.wd-entry-content a:hover,
.wonjo-post-column.content .entry-content.wd-entry-content a:focus {
    text-decoration: none;
}

.wonjo-post-column.content .entry-content h2,
.wonjo-post-column.content .entry-content h3,
.wonjo-post-column.content .entry-content h2 strong,
.wonjo-post-column.content .entry-content h3 strong {
    font-weight: 700 !important;
}

.wonjo-post-column.content .entry-content h2,
.wonjo-post-column.content .entry-content h3 {
    margin: 40px 0 !important;
    font-size: 24px !important;
}

.wonjo-post-column.content .entry-content h2 {
    position: relative;
}

.wonjo-post-column.content .entry-content h2 .wonjo-content-anchor {
    position: absolute;
    top: -50px;
    height: 0;
}

.wonjo-post-column.content .wpb_content_element {
    margin: 0 !important;
}

/* Controls */

.wonjo-post-author {
    display: flex;
    flex-direction: column;
    row-gap: 40px;
    background-color: #F8F8F8;
    border-radius: 40px;
    padding: 30px 35px 25px;
    margin-bottom: 30px;
}

.wonjo-post-author-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 15px;
    text-align: center;
}

.wonjo-post-author-image {
    width: 98px;
    height: 98px;
    border-radius: 50%;
    overflow: hidden;
}

.wonjo-post-author-image img,
.wonjo-post-author-image svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.wonjo-post-author-name {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    color: black;
}

.wonjo-post-author-job {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: #666666;
}

.wonjo-post-author-content {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.wonjo-post-author-description {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: #666666;
}

.wonjo-post-author-socials a {
    display: block;
    width: 30px;
    height: auto;
    text-decoration: none;
    transition: transform 0.4s ease;
}

.wonjo-post-author-socials a img,
.wonjo-post-author-socials a svg {
    display: block;
    width: 100%;
    height: auto;
}

.wonjo-post-author-socials a:hover,
.wonjo-post-author-socials a:focus {
    transform: scale(0.95);
}

.wonjo-post-sharing {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    padding: 0 30px;
}

.wonjo-post-sharing-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: black;
}

.wonjo-post-sharing .wd-social-icons {
    display: flex;
    align-items: center;
    column-gap: 10px !important;
    justify-content: space-between;
    max-width: 350px;
}

.wonjo-post-sharing .wd-social-icons > a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    padding-top: 2px !important;
    width: 46px !important;
    height: 46px !important;
    background-color: #F8F8F8 !important;
    border-radius: 16px;
    transition: background-color 0.4s ease !important;
}

.wonjo-post-sharing .wd-social-icons > a .wd-icon {
    font-size: 20px;
    color: #6F7387 !important;
    transition: color 0.4s ease;
}

.wonjo-post-sharing .wd-social-icons > a:hover,
.wonjo-post-sharing .wd-social-icons > a:focus {
    background-color: #6F7387 !important;
}

.wonjo-post-sharing .wd-social-icons > a:hover .wd-icon,
.wonjo-post-sharing .wd-social-icons > a:focus .wd-icon {
    color: #f8f8f8 !important;
}

/* Related Posts */

.wonjo-post-related {
    margin-bottom: 60px;
}

.wonjo-post-related-title {
    font-size: 40px;
    line-height: 1.3;
    font-weight: 700;
    color: black;
    text-align: center;
    margin: 0 0 60px;
}

.wonjo-post-related-slider {
    width: calc(100% + 80px);
    padding: 20px 40px;
    margin: -20px -40px;
}

.wonjo-post-related .posts-item__image {
    border-radius: 32px !important;
}

.wonjo-post-related .posts-item__image > a {
    aspect-ratio: 446 / 296;
    overflow: hidden;
}

.wonjo-post-related .posts-item__image > a > img {
    object-fit: cover;
    display: block;
    width: 100%;
    height: 100%;
}

.wonjo-post-related-slider-nav-prev,
.wonjo-post-related-slider-nav-next {
    position: absolute;
    top: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #C028B9;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 1;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.wonjo-post-related-slider-nav-prev svg,
.wonjo-post-related-slider-nav-next svg {
    display: block;
    width: 24px;
    height: auto;
}

.wonjo-post-related-slider-nav-prev {
    left: 12px;
}

.wonjo-post-related-slider-nav-next {
    right: 12px;
}

.wonjo-post-related-slider-nav-prev:hover,
.wonjo-post-related-slider-nav-next:hover {
    transform: scale(0.95);
}

.wonjo-post-related-slider-nav-prev.swiper-button-disabled,
.wonjo-post-related-slider-nav-next.swiper-button-disabled {
    pointer-events: none;
    cursor: auto;
    opacity: 0.35;
}

.wonjo-post-related .title.post-title {
    font-size: 24px !important;
    margin-top: 8px !important;
}

.wonjo-post-related .entry-header + .posts-item__content.article-body-container {
    padding-top: 16px !important;
}

.wonjo-post-related .entry-content {
    font-size: 16px;
}

/* Responsive */

@media screen and (max-width: 1440px) {
    .wonjo-post-grid {
        gap: 0 40px;
    }

    .wonjo-post-column.content .post-title {
        font-size: 36px !important;
    }

    .wonjo-post-related-slider {
        max-width: 100%;
        padding: 20px 28px;
        margin: -20px 0;
    }

    .wonjo-post-related-slider-nav-prev {
        left: 0;
        box-shadow: none;
    }

    .wonjo-post-related-slider-nav-next {
        right: 0;
        box-shadow: none;
    }
}

@media screen and (max-width: 1280px) {
    .wonjo-post-column.controls {
        max-width: 100%;
        padding: 0;
        padding-left: calc(300px + 40px);
        margin-top: 30px;
    }

    .wonjo-post-data-author {
        display: flex;
    }

    .wonjo-post-column.content .post-single-page .entry-content {
        margin-bottom: 60px !important;
    }

    .wonjo-post-related-slider {
        padding: 20px 24px;
    }

    .wonjo-post-related-slider-nav-prev,
    .wonjo-post-related-slider-nav-next {
        width: 48px;
        height: 48px;
    }

    .wonjo-post-related-slider-nav-prev svg,
    .wonjo-post-related-slider-nav-next svg {
        width: 20px;
    }
}

@media screen and (max-width: 1024px) {
    .wonjo-post-column.navigation {
        display: none;
    }

    .wonjo-post-data + .wonjo-post-navigation {
        display: flex;
    }

    .wonjo-post-column.controls {
        padding-left: 0;
    }

    .wonjo-post-column.content .post-title {
        margin-bottom: 25px;
    }

    .wonjo-post-data,
    .wonjo-post-navigation {
        margin-bottom: 60px;
    }
}

@media screen and (max-width: 767px) {
    .wonjo-post-grid {
        padding: 20px 0 75px;
    }

    .wonjo-post-breadcrumbs {
        margin: 0 auto 35px;
        width: max-content;
        max-width: 320px;
        font-size: 14px;
    }

    .wonjo-post-column.content .post-title {
        font-size: 28px !important;
        text-align: center;
    }

    .wonjo-post-data {
        justify-content: center;
    }

    .wonjo-post-navigation ul li.toggle svg {
        width: 28px;
    }

    .wonjo-post-column.content .entry-header > figure,
    .wonjo-post-column.content .entry-content > figure {
        border-radius: 20px;
    }

    .wonjo-post-column.content .entry-content.wd-entry-content p,
    .wonjo-post-column.content .entry-content > .wp-block-list,
    .wonjo-post-column.content .entry-content.wd-entry-content a {
        font-size: 16px !important;
    }

    .wonjo-post-column.content .entry-content h2,
    .wonjo-post-column.content .entry-content h3 {
        margin: 35px 0 !important;
        font-size: 20px !important;
    }

    .wonjo-post-column.content .entry-content h2 .wonjo-content-anchor {
        top: -20px;
    }

    .wonjo-post-column.controls {
        margin-top: 0;
    }

    .wonjo-post-column.content .entry-content > figure {
        margin: 35px 0;
    }

    .wonjo-post-author {
        row-gap: 30px;
        margin-bottom: 40px;
    }

    .wonjo-post-sharing {
        padding: 0;
    }

    .wonjo-post-related {
        margin-bottom: 20px;
    }

    .wonjo-post-related-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .wonjo-post-related-slider-nav-prev,
    .wonjo-post-related-slider-nav-next {
        top: 260px;
        transform: scale(1) !important;
    }
}

@media (max-width: 576px) {
    .wonjo-post-column.content .entry-content .vc_column_container > .vc_column-inner {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}