/* ========================================
   Core Life News
======================================== */


/* ----------------------------------------
   Page Hero
---------------------------------------- */

.news-page-hero {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-base);
    text-align: center;
}

.page-hero-inner {
    width: 100%;
    max-width: 1200px;
    padding: 80px 20px;
    margin: 0 auto;
}

.page-hero-en {
    margin: 0 0 14px;
    color: var(--color-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.page-hero h1 {
    margin: 0;
    color: var(--color-black);
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.page-hero-description {
    margin: 20px 0 0;
    color: var(--color-text-light);
    font-size: 15px;
    letter-spacing: 0.08em;
}


/* ----------------------------------------
   Breadcrumb
---------------------------------------- */

.breadcrumb {
    padding: 20px 0;

    border-bottom: 1px solid var(--color-border);

    font-size: 11px;

    color: var(--color-text-muted);
}

.breadcrumb .container {
    display: flex;

    gap: 15px;
}

.breadcrumb a {
    color: var(--color-text);
}


/* ----------------------------------------
   Main
---------------------------------------- */

.news-main {
    background: var(--color-white);
}


/* ----------------------------------------
   Header Navigation
---------------------------------------- */

.header-inner {
    gap: 24px;
}

.header .logo {
    flex: 0 1 180px;
}

.header .logo-text {
    display: block;
    width: 100%;
}

.header .logo img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
}

.global-nav {
    flex: 0 1 auto;
    min-width: 0;
}

.global-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 2vw, 28px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.global-nav li {
    flex: 0 0 auto;
}

.global-nav a {
    display: block;
    white-space: nowrap;
    font-size: clamp(11px, 1.1vw, 13px);
}

.global-nav a.active {
    color: var(--color-green);
}

.global-nav a.active::after {
    width: 100%;
}

.header-reservation {
    flex: 0 0 auto;
    white-space: nowrap;
}

.news-section {
    padding: 100px 0 120px;
}


/* ----------------------------------------
   Section Heading
---------------------------------------- */

.section-heading {
    margin-bottom: 50px;
    text-align: center;
}

.section-heading-en {
    margin: 0 0 12px;
    color: var(--color-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.section-heading h2 {
    margin: 0;
    color: var(--color-black);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.section-heading-description {
    margin: 18px 0 0;
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.8;
}


/* ----------------------------------------
   Filter
---------------------------------------- */

.news-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.news-filter-button {
    min-width: 120px;
    padding: 12px 24px;

    border: 1px solid var(--color-border);
    border-radius: 999px;

    background: var(--color-white);
    color: var(--color-text-light);

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.news-filter-button:hover {
    border-color: var(--color-green);
    color: var(--color-green);
}

.news-filter-button.active {
    border-color: var(--color-green);
    background: var(--color-green);
    color: var(--color-white);
}


/* ----------------------------------------
   News List
---------------------------------------- */

.news-list {
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid var(--color-border);
}


/* ----------------------------------------
   News Item
---------------------------------------- */

.news-item {
    display: block;
    width: 100%;
    padding: 0;
    border-bottom: 1px solid var(--color-border);
}

.news-item > a {
    position: relative;

    display: grid;
    width: 100%;
    box-sizing: border-box;
    grid-template-columns: 120px 120px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 24px;

    min-height: 92px;
    padding: 18px 20px;

    color: inherit;

    transition:
        background 0.3s ease,
        padding 0.3s ease;
}

.news-item > a:hover {
    background: var(--color-base-light);
    padding-left: 28px;
    padding-right: 28px;
}


/* ----------------------------------------
   Date
---------------------------------------- */

.news-date {
    color: var(--color-text-muted);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.news-date time {
    white-space: nowrap;
}


/* ----------------------------------------
   Category
---------------------------------------- */

.news-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;
    min-width: 92px;

    padding: 6px 12px;

    border-radius: 4px;

    background: var(--color-green-light);
    color: var(--color-green);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}


/* ----------------------------------------
   Title
---------------------------------------- */

.news-title {
    min-width: 0;
    margin: 0;

    color: var(--color-black);

    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
}

.news-item > a:hover .news-title {
    color: var(--color-green-dark);
}


/* ----------------------------------------
   Arrow
---------------------------------------- */

.news-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-green);

    font-size: 20px;

    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.news-item > a:hover .news-arrow {
    transform: translateX(5px);
    color: var(--color-green-dark);
}


/* ----------------------------------------
   No Result
---------------------------------------- */

.news-no-result {
    display: none;

    max-width: 1000px;
    margin: 40px auto 0;
    padding: 50px 20px;

    background: var(--color-base-light);

    text-align: center;
}

.news-no-result.show {
    display: block;
}

.news-no-result p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 14px;
}


/* ----------------------------------------
   Pagination
---------------------------------------- */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    margin-top: 60px;
}

.pagination-number,
.pagination-next {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 1px solid var(--color-border);
    border-radius: 50%;

    background: var(--color-white);
    color: var(--color-text-light);

    font-size: 13px;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

.pagination-number:hover,
.pagination-next:hover {
    border-color: var(--color-green);
    color: var(--color-green);
}

.pagination-number.active {
    border-color: var(--color-green);
    background: var(--color-green);
    color: var(--color-white);
}


/* ----------------------------------------
   CTA
---------------------------------------- */

.news-cta {
    padding: 90px 0;
    background: var(--color-green);
}

.news-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    max-width: 1100px;
    margin: 0 auto;

    gap: 50px;
}

.news-cta-content {
    color: var(--color-white);
}

.news-cta-en {
    margin: 0 0 14px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.news-cta h2 {
    margin: 0;

    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.6;
    letter-spacing: 0.06em;
}

.news-cta-content > p:last-child {
    margin: 20px 0 0;

    color: rgba(255, 255, 255, 0.85);

    font-size: 14px;
    line-height: 1.9;
}


/* ----------------------------------------
   CTA Button
---------------------------------------- */

.news-cta-button {
    flex-shrink: 0;
}

.button-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;

    min-width: 250px;
    padding: 18px 28px;

    background: var(--color-white);
    color: var(--color-green);

    border-radius: 4px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.button-white span {
    font-size: 20px;
}

.button-white:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.12);
}


/* ----------------------------------------
   Footer
---------------------------------------- */

.footer {
    background: var(--color-black);
    color: var(--color-white);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 80px;

    padding: 70px 0;
}

.footer-brand {
    min-width: 250px;
}

.footer-logo {
    display: inline-block;

    color: var(--color-white);

    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.footer-brand > p:not(.footer-description) {
    margin: 8px 0 30px;

    color: var(--color-green-light);

    font-size: 11px;
    letter-spacing: 0.15em;
}

.footer-description {
    margin: 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 13px;
    line-height: 2;
}

.footer-nav {
    display: flex;
    gap: 100px;
}

.footer-nav-title {
    margin: 0 0 20px;

    color: var(--color-green-light);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.footer-nav ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.75);

    font-size: 13px;

    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-white);
}

.footer-bottom {
    padding: 20px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.45);

    font-size: 10px;
    letter-spacing: 0.08em;
}


/* ----------------------------------------
   Mobile Fixed Buttons
---------------------------------------- */

.mobile-fixed-buttons {
    display: none;
}


/* ========================================
   Responsive
======================================== */

@media (max-width: 900px) {

    .global-nav,
    .header-reservation {
        display: none;
    }

    .menu-button {
        display: flex;
        flex: 0 0 42px;
        margin-left: auto;
    }

    .news-section {
        padding: 80px 0 90px;
    }

    .news-item > a {
        grid-template-columns: 110px 105px 1fr 25px;
        gap: 15px;
    }

    .news-cta-inner {
        gap: 35px;
    }

    .footer-inner {
        gap: 40px;
    }

    .footer-nav {
        gap: 50px;
    }

}


@media (max-width: 700px) {

    .news-page-hero {
        min-height: 240px;
    }

    .page-hero-inner {
        padding: 60px 20px;
    }

    .page-hero h1 {
        font-size: 34px;
    }

    .page-hero-description {
        font-size: 13px;
    }


    /* Breadcrumb */

    .breadcrumb .container {
        min-height: 48px;
        padding: 0 20px;
    }


    /* Section */

    .news-section {
        padding: 65px 0 75px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .section-heading-description {
        font-size: 13px;
    }


    /* Filter */

    .news-filter {
        gap: 7px;
        margin-bottom: 35px;
    }

    .news-filter-button {
        min-width: auto;
        padding: 9px 17px;
        font-size: 11px;
    }


    /* News Item */

    .news-item > a {
        display: grid;

        grid-template-columns: 1fr auto;
        grid-template-areas:
            "date category"
            "title arrow";

        gap: 8px 12px;

        min-height: auto;
        padding: 20px 5px;
    }

    .news-item > a:hover {
        padding-left: 10px;
        padding-right: 10px;
    }

    .news-date {
        grid-area: date;
        font-size: 11px;
    }

    .news-category {
        grid-area: category;

        justify-self: end;

        min-width: auto;
        padding: 5px 9px;

        font-size: 9px;
    }

    .news-title {
        grid-area: title;

        font-size: 13px;
        line-height: 1.7;
    }

    .news-arrow {
        grid-area: arrow;

        align-self: center;

        font-size: 17px;
    }


    /* Pagination */

    .pagination {
        margin-top: 45px;
    }

    .pagination-number,
    .pagination-next {
        width: 38px;
        height: 38px;

        font-size: 11px;
    }


    /* CTA */

    .news-cta {
        padding: 65px 0;
    }

    .news-cta-inner {
        display: block;
        text-align: center;
    }

    .news-cta h2 {
        font-size: 27px;
    }

    .news-cta-content > p:last-child {
        font-size: 12px;
    }

    .news-cta-button {
        margin-top: 35px;
    }

    .button-white {
        width: 100%;
        min-width: 0;
        max-width: 320px;
    }


    /* Footer */

    .footer-inner {
        display: block;
        padding: 55px 0 40px;
    }

    .footer-brand {
        margin-bottom: 45px;
    }

    .footer-nav {
        gap: 40px;
    }

    .footer-nav-title {
        margin-bottom: 15px;
    }

    .footer-nav a {
        font-size: 12px;
    }

    .footer-bottom {
        padding: 18px 0;
    }

    .footer-bottom p {
        font-size: 9px;
    }


    /* Mobile Fixed */

    .mobile-fixed-buttons {
        position: fixed;
        z-index: 999;

        right: 0;
        bottom: 0;
        left: 0;

        display: grid;
        grid-template-columns: 1fr 1fr;

        height: 60px;
    }

    .mobile-fixed-buttons a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;

        font-size: 13px;
        font-weight: 700;
    }

    .mobile-fixed-buttons span {
        font-size: 16px;
    }

    .mobile-phone-button {
        background: var(--color-white);
        color: var(--color-green);

        border-top: 1px solid var(--color-border);
    }

    .mobile-reservation-button {
        background: var(--color-green);
        color: var(--color-white);
    }

    body {
        padding-bottom: 60px;
    }

}