/* Bookim — İçerik Merkezi: News / Blog / Literature (yalnızca UI) */

.content-hub-page {
    --ch-theme: var(--theme, #ff7b6b);
    --ch-theme-strong: #ff3b3b;
    --ch-header: #0b1026;
    --ch-text: var(--text, #797979);
    --ch-border: #eef0f5;
    --ch-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
    --ch-paper: #fff;
    --ch-accent: #ff7b6b;
    --ch-accent-2: #5b9fd4;
    background: linear-gradient(180deg, #fffdf9 0%, #fff 28%, #f8fafc 100%);
    overflow: hidden;
}

.content-hub-page--news {
    --ch-accent: #ff3b3b;
    --ch-accent-2: #5b9fd4;
}

.content-hub-page--blog {
    --ch-accent: #ff8a00;
    --ch-accent-2: #ff7b6b;
    background: linear-gradient(180deg, #fffaf5 0%, #fff 28%, #faf8f5 100%);
}

.content-hub-page--literature {
    --ch-accent: #7c2d4a;
    --ch-accent-2: #c9a227;
    background: linear-gradient(180deg, #fdfcfa 0%, #fff 28%, #f5f3ef 100%);
}

.content-hub-page__bg-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background-image: radial-gradient(circle at 1px 1px, rgba(11, 16, 38, 0.05) 1px, transparent 0);
    background-size: 26px 26px;
}

.content-hub-page__bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
    opacity: 0.4;
}

.content-hub-page__bg-blob--1 {
    width: 300px;
    height: 300px;
    top: 8%;
    right: -50px;
    background: color-mix(in srgb, var(--ch-accent) 18%, transparent);
}

.content-hub-page__bg-blob--2 {
    width: 260px;
    height: 260px;
    left: -40px;
    bottom: 15%;
    background: color-mix(in srgb, var(--ch-accent-2) 16%, transparent);
}

/* Hero */

.content-hub-hero {
    position: relative;
    padding: 3.25rem 0 2rem;
}

.content-hub-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
    opacity: 0.45;
}

.content-hub-hero__blob--1 {
    width: 280px;
    height: 280px;
    top: -60px;
    left: -40px;
    background: color-mix(in srgb, var(--ch-accent) 14%, #fff);
}

.content-hub-hero__blob--2 {
    width: 240px;
    height: 240px;
    top: 20px;
    right: 8%;
    background: color-mix(in srgb, var(--ch-accent-2) 12%, #fff);
}

.content-hub-hero__inner {
    position: relative;
    z-index: 1;
}

.content-hub-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    background: color-mix(in srgb, var(--ch-accent) 11%, #fff);
    color: var(--ch-accent);
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.content-hub-hero__title {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    font-weight: 800;
    color: var(--ch-header);
    line-height: 1.15;
    margin-bottom: 0.85rem;
}

.content-hub-hero__title::after {
    content: "";
    display: block;
    width: 76px;
    height: 4px;
    margin-top: 0.85rem;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--ch-accent), var(--ch-accent-2));
}

.content-hub-hero__lead {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--ch-text);
    max-width: 34rem;
    margin: 0;
}

/* Hero illüstrasyon ortak */

.content-hub-illustration {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-hub-illustration__stage {
    position: relative;
    width: min(100%, 360px);
    height: 280px;
}

/* News illüstrasyon */

.content-hub-illustration--news .content-hub-illustration__paper {
    position: absolute;
    background: var(--ch-paper);
    border: 1px solid var(--ch-border);
    border-radius: 6px;
    box-shadow: var(--ch-shadow);
    padding: 10px;
    z-index: 2;
}

.content-hub-illustration--news .content-hub-illustration__paper--1 {
    width: 120px;
    height: 150px;
    left: 10%;
    top: 16%;
    transform: rotate(-8deg);
}

.content-hub-illustration--news .content-hub-illustration__paper--2 {
    width: 130px;
    height: 158px;
    right: 12%;
    top: 10%;
    transform: rotate(6deg);
    background: linear-gradient(145deg, #fff, #eff6ff);
}

.content-hub-illustration--news .content-hub-illustration__headline {
    display: block;
    height: 5px;
    margin-bottom: 6px;
    border-radius: 3px;
    background: #e2e8f0;
}

.content-hub-illustration--news .content-hub-illustration__headline:nth-child(1) { width: 90%; background: var(--ch-accent); opacity: 0.5; }
.content-hub-illustration--news .content-hub-illustration__headline:nth-child(2) { width: 75%; }
.content-hub-illustration--news .content-hub-illustration__headline:nth-child(3) { width: 82%; }
.content-hub-illustration--news .content-hub-illustration__headline:nth-child(4) { width: 60%; }

.content-hub-illustration--news .content-hub-illustration__megaphone {
    position: absolute;
    right: 6%;
    bottom: 16%;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--ch-header);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--ch-shadow);
    z-index: 5;
}

.content-hub-illustration--news .content-hub-illustration__calendar {
    position: absolute;
    left: 6%;
    bottom: 14%;
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--ch-border);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--ch-header);
    box-shadow: var(--ch-shadow);
    z-index: 4;
}

/* Blog illüstrasyon */

.content-hub-illustration--blog .content-hub-illustration__notebook {
    position: absolute;
    left: 12%;
    bottom: 14%;
    width: 130px;
    height: 158px;
    background: var(--ch-paper);
    border: 1px solid var(--ch-border);
    border-radius: 8px;
    box-shadow: var(--ch-shadow);
    padding: 12px;
    transform: rotate(-5deg);
    z-index: 2;
}

.content-hub-illustration--blog .content-hub-illustration__line {
    display: block;
    height: 5px;
    margin-bottom: 7px;
    border-radius: 3px;
    background: #f1e8dc;
}

.content-hub-illustration--blog .content-hub-illustration__line:nth-child(2) { width: 88%; }
.content-hub-illustration--blog .content-hub-illustration__line:nth-child(3) { width: 72%; }
.content-hub-illustration--blog .content-hub-illustration__line:nth-child(4) { width: 80%; }

.content-hub-illustration--blog .content-hub-illustration__pen {
    position: absolute;
    left: 32%;
    bottom: 10%;
    width: 50px;
    height: 10px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 4px;
    transform: rotate(-20deg);
    z-index: 4;
}

.content-hub-illustration--blog .content-hub-illustration__book {
    position: absolute;
    right: 10%;
    top: 14%;
    width: 56px;
    height: 72px;
    background: linear-gradient(145deg, #ff7b6b, #ff9f5a);
    border-radius: 4px 8px 8px 4px;
    box-shadow: var(--ch-shadow);
    z-index: 3;
}

.content-hub-illustration--blog .content-hub-illustration__coffee {
    position: absolute;
    right: 8%;
    bottom: 18%;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--ch-header);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--ch-shadow);
    z-index: 5;
}

.content-hub-illustration--blog .content-hub-illustration__bubble {
    position: absolute;
    top: 8%;
    left: 8%;
    padding: 0.45rem 0.7rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--ch-border);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--ch-header);
    box-shadow: var(--ch-shadow);
    z-index: 3;
}

/* Literature illüstrasyon */

.content-hub-illustration--literature .content-hub-illustration__quote {
    position: absolute;
    top: 8%;
    left: 36%;
    font-size: 4rem;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    color: color-mix(in srgb, var(--ch-accent) 20%, transparent);
    z-index: 1;
}

.content-hub-illustration--literature .content-hub-illustration__open-book {
    position: absolute;
    left: 50%;
    top: 28%;
    transform: translateX(-50%);
    width: 160px;
    height: 100px;
    z-index: 2;
}

.content-hub-illustration--literature .content-hub-illustration__page {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: var(--ch-paper);
    border: 1px solid var(--ch-border);
    box-shadow: var(--ch-shadow);
}

.content-hub-illustration--literature .content-hub-illustration__page--left {
    left: 0;
    border-radius: 6px 0 0 6px;
    transform: rotate(-3deg);
    background: linear-gradient(145deg, #fff, #faf6ef);
}

.content-hub-illustration--literature .content-hub-illustration__page--right {
    right: 0;
    border-radius: 0 6px 6px 0;
    transform: rotate(3deg);
    background: linear-gradient(145deg, #fff, #f5f0e6);
}

.content-hub-illustration--literature .content-hub-illustration__ink {
    position: absolute;
    right: 10%;
    bottom: 20%;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--ch-accent) 15%, #fff);
    border: 1px solid var(--ch-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ch-accent);
    font-size: 1.2rem;
    box-shadow: var(--ch-shadow);
    z-index: 4;
}

.content-hub-illustration--literature .content-hub-illustration__label {
    position: absolute;
    top: 12%;
    right: 8%;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    background: var(--ch-header);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    z-index: 5;
}

/* Bölüm başlığı */

.content-hub-section-head {
    margin-bottom: 1.75rem;
}

.content-hub-section-head h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: var(--ch-header);
    margin-bottom: 0.35rem;
}

.content-hub-section-head p {
    color: var(--ch-text);
    margin: 0;
    font-size: 0.9375rem;
}

/* Öne çıkan kart */

.content-hub-featured {
    margin-bottom: 2.75rem;
}

.content-hub-featured__card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1.75rem;
    align-items: center;
    background: var(--ch-paper);
    border: 1px solid var(--ch-border);
    border-radius: 24px;
    padding: 1.35rem;
    box-shadow: var(--ch-shadow);
    position: relative;
    overflow: hidden;
}

.content-hub-page--news .content-hub-featured__card {
    background: linear-gradient(135deg, #fff 0%, #fff9f8 50%, #f0f7ff 100%);
}

.content-hub-page--blog .content-hub-featured__card {
    background: linear-gradient(135deg, #fff 0%, #fff8f0 55%, #fff5f5 100%);
}

.content-hub-page--literature .content-hub-featured__card {
    background: linear-gradient(135deg, #fff 0%, #faf8f3 55%, #f5f0ea 100%);
}

.content-hub-page--literature .content-hub-featured__card::before {
    content: "\201C";
    position: absolute;
    top: -8px;
    right: 20px;
    font-size: 5.5rem;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    color: color-mix(in srgb, var(--ch-accent) 10%, transparent);
    pointer-events: none;
}

.content-hub-featured__visual {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.1);
}

.content-hub-featured__link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.content-hub-featured__link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.content-hub-featured__card:hover .content-hub-featured__link img {
    transform: scale(1.03);
}

.content-hub-featured__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(11, 16, 38, 0.35) 100%);
    pointer-events: none;
    z-index: 2;
}

.content-hub-featured__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.content-hub-featured__label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--ch-accent);
    margin-bottom: 0.65rem;
}

.content-hub-featured__title {
    font-size: clamp(1.3rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: var(--ch-header);
    line-height: 1.28;
    margin-bottom: 0.65rem;
}

.content-hub-page--literature .content-hub-featured__title {
    font-family: Georgia, "Times New Roman", serif;
}

.content-hub-featured__title a {
    color: inherit;
    text-decoration: none;
}

.content-hub-featured__title a:hover {
    color: var(--ch-accent);
}

.content-hub-featured__desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--ch-text);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-hub-featured__meta {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

/* Grid kartları */

.content-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.content-hub-card {
    --ch-card-accent: var(--ch-accent);
    display: flex;
    flex-direction: column;
    background: var(--ch-paper);
    border: 1px solid var(--ch-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--ch-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    animation: contentHubFadeUp 0.48s ease both;
    position: relative;
}

.content-hub-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ch-card-accent), transparent);
    opacity: 0.75;
    z-index: 2;
}

.content-hub-page--literature .content-hub-card::after {
    content: "\201D";
    position: absolute;
    bottom: 0.4rem;
    right: 0.75rem;
    font-size: 2rem;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    color: color-mix(in srgb, var(--ch-card-accent) 12%, transparent);
    pointer-events: none;
    z-index: 0;
}

.content-hub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
}

.content-hub-card__media {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    text-decoration: none;
    color: inherit;
}

.content-hub-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.content-hub-card:hover .content-hub-card__media img {
    transform: scale(1.04);
}

.content-hub-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 16, 38, 0.1) 0%, transparent 45%, rgba(11, 16, 38, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

.content-hub-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ch-header);
    border: 1px solid var(--ch-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.content-hub-card__badge i {
    color: var(--ch-card-accent);
    font-size: 0.6rem;
}

.content-hub-card__body {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 1;
}

.content-hub-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ch-header);
    line-height: 1.35;
    margin: 0 0 0.4rem;
}

.content-hub-page--literature .content-hub-card__title {
    font-family: Georgia, "Times New Roman", serif;
}

.content-hub-card__title a {
    color: inherit;
    text-decoration: none;
}

.content-hub-card__title a:hover {
    color: var(--ch-card-accent);
}

.content-hub-card__meta {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.45rem;
}

.content-hub-card__desc {
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--ch-text);
    margin: 0 0 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.content-hub-card__action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ch-card-accent);
    text-decoration: none;
    transition: gap 0.18s ease, color 0.18s ease;
}

.content-hub-card__action:hover {
    gap: 0.55rem;
    color: var(--ch-header);
}

/* Placeholder */

.content-hub-placeholder {
    width: 100%;
    height: 100%;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    text-align: center;
    padding: 1rem;
    color: #64748b;
}

.content-hub-page--news .content-hub-placeholder {
    background: linear-gradient(145deg, #f8fafc 0%, #eff6ff 55%, #fef2f2 100%);
}

.content-hub-page--blog .content-hub-placeholder {
    background: linear-gradient(145deg, #fffaf5 0%, #fef3c7 55%, #fff1f2 100%);
}

.content-hub-page--literature .content-hub-placeholder {
    background: linear-gradient(145deg, #faf8f3 0%, #f5f0e6 55%, #eef2ff 100%);
}

.content-hub-featured__visual .content-hub-placeholder,
.content-hub-card__media .content-hub-placeholder {
    min-height: 0;
}

.content-hub-placeholder__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ch-accent);
    font-size: 1.15rem;
    border: 1px solid var(--ch-border);
}

.content-hub-placeholder__text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    margin: 0;
}

/* Boş durum */

.content-hub-empty {
    text-align: center;
    padding: 3.5rem 1.5rem;
    border-radius: 24px;
    background: var(--ch-paper);
    border: 1px dashed var(--ch-border);
    box-shadow: var(--ch-shadow);
}

.content-hub-empty__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--ch-accent) 10%, #fff);
    color: var(--ch-accent);
    font-size: 1.75rem;
    border: 1px solid var(--ch-border);
}

.content-hub-empty__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ch-header);
    margin-bottom: 0.35rem;
}

.content-hub-empty__text {
    font-size: 0.9375rem;
    color: var(--ch-text);
    margin: 0;
}

@keyframes contentHubFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .content-hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-hub-featured__card {
        grid-template-columns: 1fr;
    }

    .content-hub-illustration {
        margin-top: 1.5rem;
        min-height: 260px;
    }
}

@media (max-width: 767.98px) {
    .content-hub-grid {
        grid-template-columns: 1fr;
    }

    .content-hub-hero {
        padding-top: 2.25rem;
    }
}
