@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@400;500;600&display=swap');

:root {
    --eh-bg: #FDFDFD;
    --eh-paper: #FDFDFD;
    --eh-ink: #171511;
    --eh-muted: #6f6a60;
    --eh-line: rgba(23, 21, 17, 0.14);
}

body {
    background: var(--eh-bg);
}

body:has(.editorial-home),
body:has(.editorial-home) #sf-main-content,
body:has(.editorial-home) .editorial-home {
    background: var(--eh-bg);
}

.editorial-home {
    position: relative;
    min-height: 100vh;
    padding: 34px 0 128px;
    background: var(--eh-bg);
    color: var(--eh-ink);
    font-family: 'Inter', Arial, sans-serif;
    overflow-x: hidden;
}

.eh-shell {
    display: grid;
    grid-template-columns: minmax(0, 980px) minmax(260px, 320px);
    gap: clamp(30px, 4vw, 54px);
    width: min(1380px, calc(100vw - 150px));
    margin: 0 auto;
    align-items: start;
}

.eh-page {
    min-width: 0;
}

.eh-social-rail {
    position: fixed;
    top: 116px;
    left: max(24px, calc((100vw - 1380px) / 2 - 82px));
    z-index: 12;
    width: 54px;
    min-height: 680px;
    border-left: 1px solid var(--eh-line);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.eh-social-icons {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 188px;
    pointer-events: auto;
}

.eh-social-icons a {
    color: var(--eh-ink);
    font-size: 16px;
    line-height: 1;
    opacity: 0.92;
}

.eh-social-icons a:hover {
    color: #6b725c;
}

.eh-rail-caption {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    transform-origin: center;
    width: 150px;
    color: var(--eh-ink);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-style: italic;
    letter-spacing: 0;
    white-space: nowrap;
}

.eh-rail-caption::after {
    content: '↓';
    margin-left: 14px;
    font-style: normal;
}

.eh-hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(40px, 6vw, 72px);
    align-items: center;
    min-height: 520px;
    margin-bottom: 36px;
}

.eh-hero-copy {
    padding-left: 8px;
}

.eh-hero h1 {
    margin: 0;
    color: var(--eh-ink);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(52px, 5.1vw, 70px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: 0;
}

.eh-hero h1 em {
    display: block;
    font-style: italic;
    font-weight: 400;
}

.eh-star {
    display: block;
    margin: 34px 0 22px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
}

.eh-hero p {
    max-width: 300px;
    margin: 0;
    color: var(--eh-muted);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    line-height: 1.45;
}

.eh-hero-link {
    display: inline-flex;
    margin-top: 34px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--eh-line);
    color: var(--eh-muted);
    font-size: 13px;
    font-weight: 500;
}

.eh-hero-link:hover {
    color: var(--eh-ink);
}

.eh-hero-media {
    margin: 0;
    aspect-ratio: 0.84;
    background: #d9d4ca;
    border: 1px solid rgba(23, 21, 17, 0.08);
    overflow: hidden;
}

.eh-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(0.72) sepia(0.08) saturate(0.58) contrast(0.96) brightness(0.94);
}

.eh-section {
    margin-top: 52px;
    scroll-margin-top: 96px;
}

.eh-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.eh-section-head h2 {
    position: relative;
    margin: 0;
    padding-left: 46px;
    color: var(--eh-ink);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 31px;
    font-weight: 500;
    line-height: 1;
}

.eh-section-head h2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 28px;
    height: 1px;
    background: var(--eh-line);
}

.eh-section-head a {
    color: var(--eh-muted);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.eh-section-head a span {
    margin-left: 12px;
}

.eh-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 26px;
    align-items: start;
}

.eh-card {
    display: block;
    width: 100%;
    min-width: 0;
    color: var(--eh-ink);
    overflow: hidden;
}

.eh-card:hover {
    color: var(--eh-ink);
}

.eh-card,
.eh-card * {
    white-space: normal !important;
}

.eh-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 1.86;
    margin-bottom: 14px;
    background: #ddd7cc;
    border: 1px solid rgba(23, 21, 17, 0.08);
    overflow: hidden;
}

.eh-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(0.72) sepia(0.07) saturate(0.52) contrast(0.98) brightness(0.93);
    transition: transform 0.6s ease;
}

.eh-card--dusunce:nth-child(1) .eh-card__image img {
    object-position: center 42%;
}

.eh-card--dusunce:nth-child(2) .eh-card__image img {
    object-position: center 58%;
}

.eh-card--cinema .eh-card__image img {
    filter: grayscale(0.88) sepia(0.04) saturate(0.45) contrast(1.02) brightness(0.9);
}

.eh-card--books .eh-card__image img {
    filter: grayscale(0.55) sepia(0.15) saturate(0.55) contrast(0.98) brightness(0.92);
}

.eh-card:hover .eh-card__image img {
    transform: scale(1.035);
}

.eh-card h3 {
    display: -webkit-box;
    min-height: 40px;
    margin: 0 0 8px;
    overflow: hidden;
    max-width: 100%;
    color: var(--eh-ink);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.12;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow-wrap: anywhere;
    white-space: normal !important;
}

.eh-card p {
    display: -webkit-box;
    min-height: 36px;
    margin: 0 0 8px;
    overflow: hidden;
    max-width: 100%;
    color: var(--eh-muted);
    font-size: 12px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal !important;
}

.eh-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--eh-muted);
    font-size: 12px;
}

.eh-card__meta::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 1px solid currentColor;
    border-radius: 999px;
}

.eh-podcast {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    width: 100%;
    min-height: 250px;
    background: #e8e1d6;
    color: var(--eh-ink);
    overflow: hidden;
}

.eh-podcast__image {
    height: 250px;
    min-height: 250px;
    background: #d2cbc0;
}

.eh-podcast__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(1) contrast(1.04);
}

.eh-podcast__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 32px;
}

.eh-podcast__label {
    margin-bottom: 10px;
    color: var(--eh-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eh-podcast h3 {
    margin: 0 0 12px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
}

.eh-podcast p {
    max-width: 360px;
    margin: 0 0 18px;
    color: var(--eh-muted);
    font-size: 12px;
    line-height: 1.5;
}

.eh-podcast__actions {
    display: flex;
    gap: 28px;
    color: var(--eh-muted);
    font-size: 12px;
}

.eh-empty {
    grid-column: 1 / -1;
    padding: 30px;
    color: var(--eh-muted);
    border: 1px solid var(--eh-line);
}

.eh-skeleton {
    position: relative;
    display: block;
    overflow: hidden;
    background: rgba(23, 21, 17, 0.08);
}

.eh-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    animation: ehSkeletonSweep 1.35s ease-in-out infinite;
}

.eh-skeleton-card {
    pointer-events: none;
}

.eh-skeleton-card .eh-card__image {
    border: 0;
}

.eh-skeleton-line {
    width: 76%;
    height: 13px;
    margin: 0 0 10px;
    border-radius: 999px;
}

.eh-skeleton-line--title {
    width: 58%;
    height: 18px;
}

.eh-skeleton-line--kicker {
    width: 82px;
    height: 10px;
}

.eh-skeleton-line--heading {
    width: 170px;
    height: 30px;
    margin-top: 4px;
}

.eh-skeleton-line--short {
    width: 42%;
}

.eh-skeleton-dotline {
    width: 54px;
    height: 10px;
    margin-top: 8px;
    border-radius: 999px;
}

.eh-skeleton-podcast {
    pointer-events: none;
}

.eh-skeleton-time {
    width: 40px;
    height: 13px;
    margin-top: 2px;
    border-radius: 999px;
    background: rgba(246, 241, 232, 0.15);
}

.eh-skeleton-line--radio {
    width: 118px;
    height: 18px;
    background: rgba(246, 241, 232, 0.15);
}

.eh-radio-skeleton .eh-skeleton-line--short {
    width: 150px;
    background: rgba(246, 241, 232, 0.1);
}

@keyframes ehSkeletonSweep {
    100% {
        transform: translateX(100%);
    }
}

.eh-radio-panel {
    position: sticky;
    top: 0;
    min-height: calc(100vh - 92px);
    background: linear-gradient(180deg, #171812 0%, #171812 44%, #202019 44%, #22221b 100%);
    color: #f6f1e8;
    align-self: start;
}

.eh-radio-panel__inner {
    display: flex;
    min-height: calc(100vh - 92px);
    flex-direction: column;
    padding: clamp(36px, 4vw, 54px) clamp(28px, 3vw, 42px) 40px;
}

.eh-radio-brand {
    position: relative;
    display: grid;
    gap: 5px;
    margin-bottom: 38px;
}

.eh-radio-brand span {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 31px;
    line-height: 1;
    color: #f6f1e8;
    font-weight: 500;
}

.eh-radio-brand small {
    color: rgba(246, 241, 232, 0.62);
    font-size: 12px;
    font-weight: 500;
}

.eh-radio-orb {
    position: absolute;
    top: 75px;
    right: 40px;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #e7d4a6;
    box-shadow: 0 0 24px rgba(231, 212, 166, 0.78);
}

.eh-radio-art {
    position: relative;
    margin: 0 auto 34px;
    width: min(230px, 84%);
    aspect-ratio: 0.8;
    overflow: visible;
}

.eh-radio-art img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none;
    opacity: 1;
}

.eh-radio-art::after {
    content: '';
    position: absolute;
    inset: 10% -10% -4%;
    z-index: 0;
    background: radial-gradient(ellipse at center, rgba(231, 212, 166, 0.16), transparent 64%);
    filter: blur(10px);
    pointer-events: none;
}

.eh-radio-divider {
    width: 100%;
    height: 1px;
    margin-bottom: 30px;
    background: rgba(246, 241, 232, 0.16);
}

.eh-radio-flow {
    margin: 0 -14px;
    padding: 18px 14px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.eh-radio-label {
    display: block;
    margin-bottom: 18px;
    color: rgba(246, 241, 232, 0.72);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.eh-radio-list {
    display: grid;
    gap: 16px;
}

.eh-radio-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.eh-radio-time {
    color: rgba(246, 241, 232, 0.64);
    font-size: 13px;
    line-height: 1.4;
}

.eh-radio-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.eh-radio-copy strong {
    overflow: hidden;
    color: #f6f1e8;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eh-radio-copy small {
    overflow: hidden;
    color: rgba(246, 241, 232, 0.54);
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eh-radio-item:hover .eh-radio-copy strong,
.eh-radio-item.is-active .eh-radio-copy strong {
    color: #e7d4a6;
}

.eh-radio-all {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: auto;
    padding-top: 34px;
    color: rgba(246, 241, 232, 0.72);
    font-size: 12px;
    font-weight: 600;
}

.eh-radio-all:hover {
    color: #f6f1e8;
}

@media (max-width: 1180px) {
    .eh-social-rail {
        display: none;
    }

    .eh-shell {
        grid-template-columns: minmax(0, 1fr);
        width: min(980px, calc(100vw - 120px));
    }

    .eh-radio-panel {
        position: relative;
        min-height: 0;
    }

    .eh-radio-panel__inner {
        min-height: 0;
    }
}

@media (max-width: 991px) {
    body:has(.editorial-home) {
        background: var(--eh-bg);
    }

    body:has(.editorial-home) #site-header .header-bottom {
        background: rgba(248, 245, 238, 0.94);
        border-bottom-color: rgba(23, 21, 17, 0.08);
        box-shadow: 0 8px 24px rgba(23, 21, 17, 0.05);
    }

    body:has(.editorial-home) .mobile-nav-wrapper {
        min-height: 70px;
        padding: 0;
    }

    body:has(.editorial-home) #auth-button-mobile {
        display: none;
    }

    body:has(.editorial-home) .mobile-nav-right {
        gap: 0;
    }

    body:has(.editorial-home) .mobile-nav-wrapper .logo .text-logo {
        font-family: 'Cormorant Garamond', Georgia, serif;
        font-size: 36px;
        font-weight: 600;
        letter-spacing: 0;
    }

    body:has(.editorial-home) .mobile-nav-links-wrapper {
        display: none !important;
    }

    .editorial-home {
        padding-top: 32px;
    }

    .eh-shell {
        width: min(720px, calc(100vw - 32px));
    }

    .eh-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        min-height: 0;
        margin-bottom: 48px;
    }

    .eh-hero-copy {
        padding-left: 0;
    }

    .eh-hero-media {
        aspect-ratio: 1.08;
    }

    .eh-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 24px;
    }

    .eh-podcast {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .eh-podcast__image {
        max-height: none;
    }

    .eh-radio-panel {
        display: block;
        position: relative;
        top: auto;
        width: 100%;
        min-height: 0;
        margin: 8px 0 50px;
    }

    .eh-radio-panel__inner {
        min-height: 0;
        padding: 34px 28px 32px;
    }

    .eh-radio-brand {
        margin-bottom: 26px;
    }

    .eh-radio-art {
        width: min(300px, 76%);
        margin-bottom: 28px;
        aspect-ratio: 0.88;
    }

    .eh-radio-divider {
        margin-bottom: 20px;
    }

    .eh-radio-flow {
        margin: 0;
        padding: 18px 18px 20px;
    }

    .eh-radio-list {
        gap: 14px;
    }

    .eh-radio-all {
        margin-top: 20px;
        padding-top: 0;
    }
}

@media (max-width: 640px) {
    .editorial-home {
        padding-top: 28px;
        padding-bottom: 206px;
    }

    .eh-shell {
        width: calc(100vw - 32px);
    }

    .eh-hero h1 {
        max-width: 350px;
        font-size: clamp(42px, 12.2vw, 50px);
        line-height: 0.96;
    }

    .eh-star {
        margin: 28px 0 20px;
        font-size: 21px;
    }

    .eh-hero p {
        max-width: 310px;
        font-size: 18px;
        line-height: 1.5;
    }

    .eh-hero-link {
        margin-top: 30px;
    }

    .eh-hero-media {
        aspect-ratio: 0.96;
    }

    .eh-radio-panel {
        margin-bottom: 46px;
    }

    .eh-radio-panel__inner {
        padding: 32px 24px 30px;
    }

    .eh-radio-art {
        width: min(280px, 82%);
    }

    .eh-hero-media img {
        object-position: center 46%;
    }

    .eh-section {
        margin-top: 50px;
    }

    .eh-section-head {
        margin-bottom: 20px;
    }

    .eh-card-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .eh-card__image {
        aspect-ratio: 1.48;
        margin-bottom: 14px;
    }

    .eh-section-head h2 {
        font-size: 28px;
        padding-left: 46px;
    }

    .eh-section-head {
        align-items: flex-end;
        gap: 14px;
    }

    .eh-section-head h2 {
        flex: 1;
        min-width: 0;
    }

    .eh-section-head a {
        display: none;
    }

    .eh-podcast__body {
        padding: 24px 22px;
    }
}

@media (max-width: 420px) {
    .eh-hero h1 {
        max-width: 330px;
        font-size: clamp(40px, 11.5vw, 46px);
    }

    .eh-card__image {
        margin-bottom: 13px;
    }

    .eh-card h3 {
        min-height: 38px;
        font-size: 17px;
        line-height: 1.12;
    }

    .eh-card p {
        font-size: 12px;
    }
}
