/* News index and post-category pages — scoped to the 2027 storefront. */

.r27-news-breadcrumb {
    background: #f7f7f5;
    border-bottom: 1px solid var(--r27-line);
}

.r27-news-breadcrumb ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 52px;
    padding: 11px 0;
}

.r27-news-breadcrumb li {
    display: flex;
    align-items: center;
    min-width: 0;
    color: var(--r27-muted);
    font-size: .75rem;
    line-height: 1.55;
}

.r27-news-breadcrumb li + li::before {
    content: '';
    width: 5px;
    height: 5px;
    margin: 0 12px;
    border-top: 1px solid #a8a49d;
    border-right: 1px solid #a8a49d;
    transform: rotate(45deg);
    flex: none;
}

.r27-news-breadcrumb a {
    transition: color .2s ease;
}

.r27-news-breadcrumb a:hover {
    color: var(--r27-gold-dark);
}

.r27-news-breadcrumb li:last-child {
    color: var(--r27-ink);
    font-weight: 500;
}

.r27-news-page {
    display: block;
    background: var(--r27-soft);
}

.r27-news-hero {
    position: relative;
    overflow: hidden;
    padding: 62px 0 58px;
    border-bottom: 1px solid var(--r27-line);
    background:
        radial-gradient(circle at 82% 24%, rgba(176, 151, 109, .17), transparent 29%),
        linear-gradient(135deg, #fff 0%, #f5f1ea 100%);
}

.r27-news-hero::after {
    content: 'JOURNAL';
    position: absolute;
    top: 50%;
    right: max(48px, calc((100vw - var(--r27-container)) / 2));
    color: rgba(176, 151, 109, .075);
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 600;
    letter-spacing: -.07em;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: none;
    white-space: nowrap;
}

.r27-news-hero .r27-container {
    position: relative;
    z-index: 1;
}

.r27-news-eyebrow {
    margin: 0 0 11px !important;
    color: var(--r27-gold-dark);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.r27-news-hero h1 {
    position: relative;
    max-width: 720px;
    margin: 0 0 18px;
    padding: 0 0 18px;
    color: var(--r27-ink);
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: 1.15;
}

.r27-news-hero h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 2px;
    background: var(--r27-gold);
}

.r27-news-hero > .r27-container > p:last-child {
    max-width: 680px;
    color: var(--r27-muted);
    font-size: .9375rem;
    line-height: 1.85;
}

.r27-news-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    padding-top: 42px;
    padding-bottom: 72px;
}

.r27-news-sidebar {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.r27-news-sidebar-card {
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--r27-line);
    border-radius: var(--r27-radius);
    background: #fff;
}

.r27-news-page .r27-news-main {
    padding: 0;
}

.r27-news-page .r27-news-sidebar-card > h2 {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    margin: 0;
    padding: 0 16px 0 27px;
    border-bottom: 1px solid var(--r27-line);
    color: var(--r27-ink);
    font-family: 'Be Vietnam Pro', Arial, sans-serif;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    text-transform: none;
    box-sizing: border-box;
}

.r27-news-page .r27-news-sidebar-card > h2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 16px;
    width: 3px;
    height: 15px;
    background: var(--r27-gold);
    transform: translateY(-50%);
}

.r27-news-categories ul {
    padding: 5px 8px 7px;
}

.r27-news-categories li + li {
    border-top: 1px solid #f0eee9;
}

.r27-news-categories a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 25px 7px 10px;
    color: #4d4b47;
    font-family: 'Be Vietnam Pro', Arial, sans-serif;
    font-size: .68rem;
    font-weight: 500;
    line-height: 1.45;
    text-transform: none;
    transition: color .2s ease, background-color .2s ease;
}

.r27-news-categories a::after {
    content: '';
    position: absolute;
    right: 11px;
    width: 5px;
    height: 5px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

.r27-news-categories a:hover,
.r27-news-categories a.active {
    background: var(--r27-soft);
    color: var(--r27-gold-dark);
}

.r27-news-popular-list {
    padding: 3px 13px 7px;
}

.r27-news-popular-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 11px 0;
}

.r27-news-popular-item + .r27-news-popular-item {
    border-top: 1px solid var(--r27-line);
}

.r27-news-popular-image {
    display: block;
    overflow: hidden;
    border-radius: 3px;
    background: #eeece7;
    aspect-ratio: 1.25;
}

.r27-news-popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.r27-news-popular-item:hover img {
    transform: scale(1.04);
}

.r27-news-popular-item h3 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--r27-ink);
    font-family: 'Be Vietnam Pro', Arial, sans-serif;
    font-size: .66rem;
    font-weight: 500;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.r27-news-popular-item h3 a:hover {
    color: var(--r27-gold-dark);
}

.r27-news-main {
    min-width: 0;
}

.r27-news-list-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid #d9d5cd;
}

.r27-news-list-heading p {
    margin: 0 0 4px !important;
    color: var(--r27-gold-dark);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.r27-news-list-heading h2 {
    margin: 0;
    color: var(--r27-ink);
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.4;
}

.r27-news-list-heading > span {
    padding-bottom: 4px;
    color: var(--r27-muted);
    font-size: .7rem;
    white-space: nowrap;
}

.r27-news-list {
    display: grid;
    gap: 16px;
}

.r27-news-list-item {
    display: grid;
    grid-template-columns: minmax(230px, 34%) minmax(0, 1fr);
    height: 240px;
    min-height: 240px;
    overflow: hidden;
    border: 1px solid var(--r27-line);
    border-radius: var(--r27-radius);
    background: #fff;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.r27-news-list-item:hover {
    border-color: var(--r27-gold-light);
    box-shadow: 0 10px 28px rgba(36, 37, 41, .07);
    transform: translateY(-2px);
}

.r27-news-list-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: #eeece7;
}

.r27-news-list-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.r27-news-list-item:hover .r27-news-list-image img {
    transform: scale(1.025);
}

.r27-news-list-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 25px 28px;
}

.r27-news-list-body h3 {
    display: -webkit-box;
    margin: 0 0 11px;
    overflow: hidden;
    color: var(--r27-ink);
    font-size: 1.16rem;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.r27-news-list-body h3 a:hover {
    color: var(--r27-gold-dark);
}

.r27-news-list-body > p {
    display: -webkit-box;
    margin: 0 0 17px;
    overflow: hidden;
    color: var(--r27-muted);
    font-size: .8125rem;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.r27-news-list-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-bottom: 3px;
    border-bottom: 1px solid #c7b38f;
    color: var(--r27-gold-dark);
    font-size: .75rem;
    font-weight: 500;
}

.r27-news-list-more span:last-child {
    transition: transform .2s ease;
}

.r27-news-list-more:hover span:last-child {
    transform: translateX(3px);
}

.r27-news-pagination .pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    float: none;
    margin: 32px 0 0;
}

.r27-news-pagination .page-item {
    margin: 0;
}

.r27-news-pagination .page-link {
    display: grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    padding: 5px 10px;
    border: 1px solid var(--r27-line);
    border-radius: 3px;
    background: #fff;
    color: var(--r27-ink);
    font-size: .75rem;
    box-shadow: none;
}

.r27-news-pagination .page-link:hover {
    border-color: var(--r27-gold);
    color: var(--r27-gold-dark);
}

.r27-news-pagination .page-item.active .page-link {
    border-color: var(--r27-gold);
    background: var(--r27-gold);
    color: var(--r27-ink);
}

.r27-news-pagination .page-item.disabled .page-link {
    background: #f2f1ee;
    color: #aaa7a1;
}

@media (max-width: 1050px) {
    .r27-news-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 24px;
    }

    .r27-news-list-item {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .r27-news-list-body {
        padding: 21px 22px;
    }
}

@media (max-width: 800px) {
    .r27-news-hero {
        padding: 50px 0 46px;
    }

    .r27-news-hero::after {
        right: 24px;
        font-size: 4.5rem;
    }

    .r27-news-layout {
        grid-template-columns: 1fr;
        padding-top: 28px;
        padding-bottom: 56px;
    }

    .r27-news-sidebar {
        grid-template-columns: 1fr 1fr;
    }

    .r27-news-popular-list {
        max-height: 344px;
        overflow: auto;
    }
}

@media (max-width: 600px) {
    .r27-news-breadcrumb ul {
        min-height: 46px;
        padding: 9px 0;
    }

    .r27-news-hero {
        padding: 39px 0 37px;
    }

    .r27-news-hero::after {
        display: none;
    }

    .r27-news-hero h1 {
        margin-bottom: 14px;
        padding-bottom: 15px;
        font-size: 1.8rem;
    }

    .r27-news-hero > .r27-container > p:last-child {
        font-size: .8125rem;
        line-height: 1.75;
    }

    .r27-news-sidebar {
        grid-template-columns: 1fr;
    }

    .r27-news-list-heading {
        align-items: start;
    }

    .r27-news-list-heading h2 {
        font-size: 1.3rem;
    }

    .r27-news-list-item {
        display: block;
        height: auto;
        min-height: 0;
    }

    .r27-news-list-image {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 1.55;
    }

    .r27-news-list-body {
        padding: 19px 18px 21px;
    }

    .r27-news-list-body h3 {
        font-size: 1rem;
    }

    .r27-news-list-body > p {
        -webkit-line-clamp: 2;
    }
}
