/* İçerik sayfaları — premium ortak şablon */

.cpx-hero {
    position: relative;
    padding: 104px 0 32px;
    background: linear-gradient(135deg, #0b0f17 0%, #1a2235 52%, #2a1a14 100%);
    color: #fff;
    overflow: hidden;
}

.cpx-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.cpx-hero::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    top: -180px;
    right: -120px;
    background: radial-gradient(circle, rgba(239, 76, 35, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.cpx-hero .container {
    position: relative;
    z-index: 1;
}

.cpx-hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.cpx-hero-inner > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cpx-label {
    display: inline-block;
    align-self: flex-start;
    background: rgba(239, 76, 35, 0.18);
    color: #fdba74;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    margin: 0;
    border: 1px solid rgba(239, 76, 35, 0.28);
    line-height: 1.2;
}

.cpx-hero h1 {
    margin: 0;
    font-size: clamp(1.75rem, 3.6vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.cpx-hero-desc {
    margin: 2px 0 0;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.98rem;
    line-height: 1.55;
}

.cpx-breadcrumb {
    margin: 2px 0 0;
    background: transparent;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    gap: 0;
    align-self: flex-start;
    max-width: 360px;
    justify-content: flex-end;
}

.cpx-breadcrumb li {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.62);
}

.cpx-breadcrumb li + li::before {
    content: "/";
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
}

.cpx-breadcrumb li.active {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.cpx-breadcrumb a,
.cpx-breadcrumb li a {
    color: rgba(255, 255, 255, 0.62) !important;
    font-size: 13px;
    text-decoration: none;
}

.cpx-breadcrumb a:hover {
    color: #fdba74 !important;
}

.cpx-main {
    padding: 40px 0 88px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 48%, #f8fafc 100%);
}

.cpx-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.cpx-layout--full {
    grid-template-columns: 1fr;
}

.cpx-sidebar-wrap {
    position: sticky;
    top: 96px;
}

.cpx-content-card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 20px;
    padding: 32px 34px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.cpx-cover {
    margin: -8px -8px 24px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8edf3 0%, #d7dee8 100%);
}

.cpx-cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
}

.cpx-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cpx-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.cpx-meta-pill--accent {
    background: rgba(239, 76, 35, 0.1);
    color: #c2410c;
}

.cpx-prose {
    color: #475569;
    font-size: 15px;
    line-height: 1.85;
}

.cpx-prose h1,
.cpx-prose h2,
.cpx-prose h3,
.cpx-prose h4 {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 1.6em 0 0.65em;
    line-height: 1.3;
}

.cpx-prose h1 { font-size: 1.65rem; }
.cpx-prose h2 { font-size: 1.4rem; }
.cpx-prose h3 { font-size: 1.2rem; }

.cpx-prose p {
    margin: 0 0 1em;
}

.cpx-prose ul,
.cpx-prose ol {
    margin: 0 0 1em;
    padding-left: 1.35em;
}

.cpx-prose li {
    margin-bottom: 0.35em;
}

.cpx-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1em 0;
}

.cpx-prose a {
    color: #ef4c23;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cpx-prose a:hover {
    color: #c73a12;
}

.cpx-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: 14px;
}

.cpx-prose th,
.cpx-prose td {
    border: 1px solid #e2e8f0;
    padding: 10px 12px;
    text-align: left;
}

.cpx-prose th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
}

.cpx-back {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #e8edf3;
}

.cpx-back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ef4c23;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.cpx-back a:hover {
    color: #c73a12;
    gap: 12px;
}

/* Liste grid */
.cpx-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.cpx-list-toolbar strong {
    color: #0f172a;
    font-size: 14px;
}

.cpx-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.cpx-list-card {
    min-width: 0;
}

.cpx-list-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cpx-list-card__link:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.11);
}

.cpx-list-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #e8edf3 0%, #d7dee8 100%);
}

.cpx-list-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cpx-list-card__link:hover .cpx-list-card__media img {
    transform: scale(1.05);
}

.cpx-list-card__date {
    position: absolute;
    top: 14px;
    right: 14px;
    min-width: 52px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    text-align: center;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.cpx-list-card__date strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.cpx-list-card__date span {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
}

.cpx-list-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 20px 22px;
}

.cpx-list-card__title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.cpx-list-card__excerpt {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cpx-list-card__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ef4c23;
    font-size: 13px;
    font-weight: 700;
}

/* Galeri */
.cpx-gallery {
    margin-top: 28px;
}

.cpx-gallery__title {
    margin: 0 0 16px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
}

.cpx-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.cpx-gallery__item {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cpx-gallery__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.cpx-gallery__item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.cpx-gallery__caption {
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.cpx-empty {
    text-align: center;
    padding: 56px 24px;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    color: #64748b;
}

/* İletişim */
.cpx-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 28px;
    align-items: start;
}

.cpx-contact-info {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 20px;
    padding: 28px 30px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

@media (max-width: 1199px) {
    .cpx-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 22px;
    }
}

@media (max-width: 991px) {
    .cpx-hero {
        padding-top: 100px;
    }

    .cpx-layout {
        grid-template-columns: 1fr;
    }

    .cpx-sidebar-wrap {
        position: static;
    }

    .cpx-list-grid {
        grid-template-columns: 1fr;
    }

    .cpx-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cpx-content-card {
        padding: 24px 22px;
    }

    .cpx-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .cpx-hero {
        padding: 96px 0 28px;
    }

    .cpx-hero-inner {
        gap: 12px;
    }

    .cpx-breadcrumb {
        max-width: 100%;
        justify-content: flex-start;
    }

    .cpx-main {
        padding: 28px 0 64px;
    }

    .cpx-gallery__grid {
        grid-template-columns: 1fr;
    }
}
