/* ---------- news ---------- */
.news-section {
    padding: 96px 0;
    background: #f3fcfc;
    overflow: hidden;
}

.news-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    text-align: center;
}

.news-title {
    margin: 0;
}

.news-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.news-tab {
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid #006666;
    border-radius: 999px;
    background: transparent;
    color: #006666;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: 0.25s ease;
}

.news-tab.is-active,
.news-tab:hover {
    background: #006666;
    color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.news-featured {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-featured__image {
    display: block;
    aspect-ratio: 628 / 445;
    border-radius: 8px;
    overflow: hidden;
    background: #ddd;
}

.news-featured__image img,
.news-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.news-featured__image:hover img,
.news-card__image:hover img {
    transform: scale(1.04);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.news-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.news-meta__icon {
    width: 16px;
    height: 16px;
    color: #006666;
    flex-shrink: 0;
}

.news-meta__icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.news-meta__divider {
    width: 1px;
    height: 19px;
    background: #000;
    flex-shrink: 0;
}

.news-featured__title,
.news-card__title {
    margin: 0;
}

.news-featured__title a,
.news-card__title a {
    color: #353535;
    text-decoration: none;
    transition: color 0.25s ease;
}

.news-featured__title a:hover,
.news-card__title a:hover {
    color: #006666;
}

.news-featured__title {
    margin-top: -8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.news-featured__desc {
    margin: -16px 0 0;
    color: #353535;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-card {
    display: grid;
    grid-template-columns: 204px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.news-card__image {
    display: block;
    width: 204px;
    height: 144px;
    border-radius: 8px;
    overflow: hidden;
    background: #ddd;
}

.news-card__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.news-card__title {
    color: #353535;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.news-more {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.news-more__btn {
    min-height: 54px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: #006666;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: 0.25s ease;
}

.news-more__btn svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(-90deg);
}

.news-more__btn:hover {
    background: #006666;
    transform: translateY(-2px);
}

@media (max-width: 1727px) {
    .news-card__title {
        font-size: 1.8rem;
    }
}

@media (max-width: 1200px) {
    .news-section {
        padding: 6.8rem 0;
    }

    .news-grid,
    .news-list {
        gap: 1.6rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .news-featured__image {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 576px) {
    .news-section {
        padding: 4.8rem 0;
    }

    .news-tabs {
        gap: 1.2rem;
    }

    .news-tab {
        min-height: 4.4rem;
        padding: 1rem 1.8rem;
        font-size: 1.4rem;
    }

    .news-card {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .news-card__image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .news-meta {
        gap: 1rem;
        font-size: 1.3rem;
        flex-wrap: wrap;
    }

    .news-meta__divider {
        display: none;
    }

    .news-card__title,
    .news-featured__title {
        font-size: 1.7rem;
        line-height: 1.4;
    }

    .news-featured__desc {
        font-size: 1.5rem;
    }

    .news-more__btn {
        min-height: 4.8rem;
        font-size: 1.6rem;
    }
}



.p-post-detail .story-breadcrumb-section {
    background: var(--bg-cream);
}

.p-post-detail .story-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .8rem;
    min-height: 7.2rem;
    color: var(--text-color);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 2.4rem;
    letter-spacing: .032rem;
    text-transform: uppercase;
}

.p-post-detail .story-breadcrumb a,
.p-post-detail .story-breadcrumb span {
    display: inline-flex;
    align-items: center;
}

.p-post-detail .story-breadcrumb>span:last-child {
    max-width: 80rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.p-post-detail .breadcrumb-arrow {
    display: inline-flex;
    width: 2.4rem;
    height: 2.4rem;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    font-size: 2.6rem;
    line-height: 1;
}

/* =========================
   Layout
========================= */

.story-detail-main {
    padding: 2.4rem 0 9.6rem;
    background: #fff;
}

.story-detail-wrap {
    display: grid;
    grid-template-columns: 1fr 30.2rem;
    gap: 2.4rem;
    align-items: flex-start;
}

.story-detail-content {
    min-width: 0;
    max-width: 95.4rem;
}

.story-detail-thumb {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 954 / 534;
    border-radius: var(--radius);
    background: #ddd;
}

.story-detail-meta {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-top: 4rem;
    color: #000;
    font-size: 1.6rem;
    line-height: 1.4;
}

.story-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    white-space: nowrap;
}

.story-detail-meta img {
    width: 1.6rem;
    height: 1.6rem;
    object-fit: contain;
}

.story-detail-meta i {
    display: block;
    width: .1rem;
    height: 1.9rem;
    background: #000;
}

.story-detail-title {
    max-width: 96rem;
    margin: 1.6rem 0 0;
    color: #353535;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
}

/* =========================
   Body Content
========================= */

.story-detail-body {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    margin-top: 5.6rem;
    color: var(--text-color);
    font-size: 1.6rem;
    line-height: 2.4rem;
}

.story-detail-body .wp-caption {
    width: 100% !important;
}

.story-detail-body img {
    width: 100% !important;
}

.story-detail-body p {
    margin: 0;
}

.story-detail-body strong {
    font-weight: 700;
}

.story-detail-body h2 {
    margin: 1.6rem 0 0;
    color: #000;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.4;
}

.story-detail-body h3 {
    margin: 1.6rem 0 0;
    font-size: 2rem;
    color: #000;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
}

.wp-caption-text {
    text-align: center;
    font-style: italic;
    margin-top: 0.8rem;
}

.story-detail-body h4 {
    margin: 1.6rem 0 0;
    font-size: 1.8rem;
    color: #000;
    font-size: rem;
    font-weight: 700;
    line-height: 1.4;
}


.story-content-img {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 954 / 563;
    margin: 3.2rem 0 0;
    border-radius: var(--radius);
    background: #ddd;
}

/* =========================
   Quote
========================= */

.story-quote, blockquote {
    position: relative;
    margin: 3.2rem 0 1.6rem;
    padding: 4.8rem 7.8rem 4rem;
    border-radius: var(--radius);
    background: var(--bg-cream);
}

.quote-icon {
    display: block;
    width: 3.1rem;
    height: 3rem;
    margin-bottom: .8rem;
    position: relative;
}

.quote-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/common/quote.svg") no-repeat;
    background-size: contain;
}

.quote-icon img {
    object-fit: contain;
}

.story-quote p {
    color: #000;
    font-size: 1.6rem;
    line-height: 2.4rem;
}

.story-quote cite {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: 3.2rem;
    color: #000;
    font-size: 1.6rem;
    font-style: normal;
    line-height: 2.4rem;
}

.story-quote cite span {
    display: block;
    width: 6.1rem;
    height: .2rem;
    background: #f38831;
}

/* =========================
   Share
========================= */

.story-share {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .8rem;
    margin-top: 5.6rem;
    padding-top: .8rem;
    border-top: .1rem solid rgba(0, 0, 0, .3);
    color: #000;
    font-size: 1.6rem;
    line-height: 2.4rem;
}

.story-share a {
    display: inline-flex;
    width: 2.4rem;
    height: 2.4rem;
    align-items: center;
    justify-content: center;
}

.story-share img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================
   Sidebar
========================= */

.story-sidebar {
    position: sticky;
    top: 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.story-search {
    position: relative;
    width: 100%;
    height: 4.8rem;
}

.story-search input {
    width: 100%;
    height: 100%;
    padding: 0 5.6rem 0 1.6rem;
    border: .1rem solid var(--main-color);
    border-radius: 5rem;
    outline: none;
    background: var(--bg-blue);
    box-shadow: inset .2rem .2rem .4rem rgba(0, 0, 0, .16);
    color: #333;
    font-size: 1.6rem;
    font-style: italic;
}

.story-search input::placeholder {
    color: #acacac;
}

.story-search button {
    position: absolute;
    top: 50%;
    right: .8rem;
    display: flex;
    width: 3.2rem;
    height: 3.2rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--main-color);
    transform: translateY(-50%);
    cursor: pointer;
}

.story-search button img {
    object-fit: contain;
}

.story-category {
    padding: 2.1rem;
    border-radius: var(--radius);
    background: var(--bg-blue);
}

.story-category-head {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 2.4rem;
    color: #000;
    font-size: 2rem;
    font-weight: 700;
}

.story-category-head .icon {
    width: 2.4rem;
    height: 2.4rem;
    flex-shrink: 0;
}

.story-category-head img {
    object-fit: contain;
}

.story-category-list {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.story-category-list li {
    padding-bottom: .8rem;
    border-bottom: .1rem solid #d9d9d9;
}

.story-category-list a {
    display: block;
    color: #000;
    font-size: 1.6rem;
    line-height: 2.4rem;
    transition: .25s ease;
}

.story-category-list a:hover,
.story-category-list a.active {
    color: var(--main-color);
    font-weight: 700;
}

.res-sidebar,
.sidebar-close {
    display: none;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1200px) {

    .story-detail-wrap {
        grid-template-columns: 1fr 28rem;
    }

    .story-detail-title {
        font-size: 3.6rem;
    }

    .story-quote {
        padding: 4rem;
    }
}

@media (max-width: 992px) {
    .story-detail-main {
        padding: 2.4rem 0 7.2rem;
    }

    .story-detail-wrap {
        grid-template-columns: 1fr;
    }

    .story-sidebar {
        position: static;
        order: -1;
    }

    .story-category-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem 2.4rem;
    }

    .story-detail-content {
        max-width: 100%;
    }

    .story-detail-title {
        font-size: 3.2rem;
    }

    .story-detail-body {
        margin-top: 4rem;
    }

    .res-sidebar,
    .sidebar-close {
        display: block;
    }

    .sidebar-close {
        width: 5rem;
        height: 4.5rem;
        position: absolute;
        top: 0;
        right: 0;
        background: var(--main-color);
        z-index: 2;
        padding: .8rem;
        border-radius: 0 0 0 5rem;
    }

    .sidebar-close img {
        filter: brightness(0) invert(1);
        transform: translate(.6rem, -.4rem);
        object-fit: contain;
    }

    .story-search {
        width: calc(100% - 5rem);
    }

    .story-sidebar {
        position: fixed;
        top: 50%;
        right: 0;
        transform: translate(110%, -50%);
        width: 80%;
        max-width: 32rem;
        height: auto;
        transition: .45s ease-in-out;
        padding-right: 0;
        background-color: white;
        padding: 1.6rem 1.6rem 2.6rem 1.6rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 999;
    }

    .open-res-sidebar .bg-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .open-res-sidebar .story-sidebar {
        transform: translate(0%, -50%);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .open-res-sidebar .hd-bar,
    .open-res-sidebar .language-select {
        z-index: 12;
    }

    .story-breadcrumb {
        font-weight: 600;

    }

}

@media (max-width: 768px) {
    .story-breadcrumb {
        min-height: auto;
        padding: 1.6rem 0;
        font-size: 1.4rem;
        line-height: 2.2rem;
    }

    .story-breadcrumb>span:last-child {
        max-width: 100%;
        white-space: normal;
    }

    .story-detail-main {
        padding: 1.6rem 0 5.6rem;
    }

    .story-detail-meta {
        flex-wrap: wrap;
        gap: .8rem 1.2rem;
        margin-top: 2.4rem;
        font-size: 1.4rem;
    }

    .story-detail-meta i {
        display: none;
    }

    .story-detail-title {
        font-size: 2.8rem;
    }

    .story-detail-body {
        gap: 1.8rem;
        margin-top: 3.2rem;
    }

    .story-quote {
        margin: 2.4rem 0 1.2rem;
        padding: 2.4rem;
    }

    .story-content-img {
        margin-top: 2.4rem;
    }

    .story-category-list {
        grid-template-columns: 1fr;
    }

    .story-share {
        justify-content: flex-start;
        margin-top: 4rem;
    }
}

@media (max-width: 576px) {
    .p-post-detail .story-breadcrumb {
        display: block;
    }

    .p-post-detail .breadcrumb-arrow {
        width: 1.6rem;
        height: 1.6rem;
    }

    .story-detail-thumb {
        aspect-ratio: 343 / 220;
    }

    .story-detail-title {
        font-size: 2.4rem;
    }

    .story-detail-body,
    .story-quote p,
    .story-category-list a {
        font-size: 1.5rem;
        line-height: 2.3rem;
    }

    .story-quote {
        padding: 2rem;
    }

    .story-quote cite {
        margin-top: 2.4rem;
    }

    .story-content-img {
        aspect-ratio: 343 / 240;
    }
}