/* Shared category presentation, matching the approved Fashion layout. */
.category-editorial .category-title-section { margin-top: 12px; margin-bottom: 14px; }
.category-editorial .category-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 208px;
    padding: 28px 32px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid #e9dfd1;
    border-radius: 16px;
    background: #f1e5d4;
}
.category-editorial .category-hero-image {
    position: absolute;
    inset: 0 0 0 auto;
    width: 74%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    z-index: -2;
}
.category-editorial .category-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #f3e8d8 0%, rgba(243,232,216,.98) 31%, rgba(243,232,216,.65) 48%, rgba(243,232,216,0) 67%);
}
.category-editorial .category-hero .category-title-copy { min-width: 0; max-width: 61%; }
.category-editorial .category-hero h1 { max-width: 560px; margin: 0 0 12px; color: #222a30; font-size: clamp(1.6rem, 2.5vw, 2rem); line-height: 1.22; letter-spacing: -.025em; }
.category-editorial .category-hero p { max-width: 510px; color: #3d464d; font-size: .95rem; line-height: 1.55; }
.category-editorial .category-read-more { margin-bottom: 8px; }
.category-editorial .category-read-more summary { min-height: 50px; padding: 12px 16px; font-size: .88rem; }
.category-editorial .category-read-more summary:focus-visible { outline: 3px solid #0077b6; outline-offset: -3px; }
.category-editorial .category-departments-strip { max-width: 1200px; margin: 0 auto 8px; padding: 0 20px; }
.category-editorial .category-department-track {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 4px;
    margin: 0;
    padding: 4px 1px 7px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #bac4d0 transparent;
}
.category-editorial .category-department-chip {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 8px;
    white-space: nowrap;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.35;
    color: #284c63;
    background: #edf5fb;
    border-color: #d5e5f0;
    box-shadow: none;
}
.category-editorial .category-department-chip:nth-child(4n+2) { color: #674753; background: #f9eef3; border-color: #ecdce4; }
.category-editorial .category-department-chip:nth-child(4n+3) { color: #4c526d; background: #f0eff9; border-color: #e1def0; }
.category-editorial .category-department-chip:nth-child(4n+4) { color: #345e52; background: #edf6f0; border-color: #d4e7dc; }
.category-editorial .category-department-chip:hover { filter: brightness(.96); border-color: currentColor; transform: translateY(-1px); }
.category-editorial .category-department-chip:focus-visible { outline: 3px solid #0077b6; outline-offset: 1px; }
@media (max-width: 820px) {
    .category-editorial .category-hero { min-height: 200px; padding: 24px; }
    .category-editorial .category-hero .category-title-copy { max-width: 72%; }
    .category-editorial .category-hero::after { background: linear-gradient(90deg, #f3e8d8 0%, rgba(243,232,216,.95) 38%, rgba(243,232,216,.4) 80%, rgba(243,232,216,.15) 100%); }
}
@media (max-width: 540px) {
    .category-editorial .category-hero { min-height: 200px; padding: 22px 20px; border-radius: 12px; }
    .category-editorial .category-hero-image { width: 100%; }
    .category-editorial .category-hero .category-title-copy { max-width: 100%; }
    .category-editorial .category-hero::after { background: linear-gradient(90deg, rgba(243,232,216,.97) 0%, rgba(243,232,216,.9) 52%, rgba(243,232,216,.62) 100%); }
    .category-editorial .category-hero h1 { font-size: 1.55rem; }
    .category-editorial .category-hero p { font-size: .86rem; }
    .category-editorial .category-read-more summary { font-size: .8rem; }
    .category-editorial .category-read-more summary::after { flex-shrink: 0; }
    .category-editorial .category-department-chip { min-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
    .category-editorial .category-department-chip { transition: none; }
}
