/* Tema detay sayfası */
.theme-detail-page {
    padding-bottom: 100px;
}

.theme-detail-page .theme-detail-breadcrumb {
    padding-top: 10px;
    margin-bottom: 24px;
}

/* Hero — background-image ile tam genişlik banner */
.theme-detail-page .theme-detail-hero {
    position: relative;
    min-height: 480px;
    margin-bottom: 48px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .theme-detail-page .theme-detail-hero {
        min-height: 360px;
        margin-bottom: 32px;
    }
}

.theme-detail-page .theme-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 33, 107, 0.2) 0%, rgba(7, 33, 107, 0.88) 68%, rgba(1, 0, 218, 0.96) 100%);
    pointer-events: none;
}

.theme-detail-page .theme-detail-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 48px 15px 56px;
    color: #fff;
}

.theme-detail-page .theme-detail-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.theme-detail-page .theme-detail-hero__category {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.8125rem;
    font-weight: 500;
}

.theme-detail-page .theme-detail-hero__title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 16px;
    max-width: 820px;
    color: #fff;
}

.theme-detail-page .theme-detail-hero__lead {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: 720px;
    margin: 0;
}

.theme-detail-page .theme-type-badge {
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
}

.theme-detail-page .theme-type-badge--temel {
    background: rgba(255, 255, 255, 0.92);
    color: #5a6573;
}

.theme-detail-page .theme-type-badge--profesyonel {
    background: #c9a227;
    color: #fff;
}

.theme-detail-page .theme-type-badge--kurumsal {
    background: #13d5ff;
    color: #07216b;
}

/* Tema galeri slider */
.theme-detail-page .theme-gallery-slider {
    margin-bottom: 32px;
}

.theme-detail-page .theme-gallery-slider__head {
    margin-bottom: 20px;
}

.theme-detail-page .theme-gallery-slider__title {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 700;
    color: #000;
    margin: 0 0 6px;
}

.theme-detail-page .theme-gallery-slider__subtitle {
    margin: 0;
    color: #808080;
    font-size: 0.9375rem;
}

.theme-detail-page .theme-gallery-slider__wrap {
    background: #fff;
    border-radius: 24px;
    padding: 24px 20px 16px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(7, 33, 107, 0.06);
}

.theme-detail-page .theme-gallery-slide {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eef1f4;
}

.theme-detail-page .theme-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.theme-detail-page .theme-gallery-slide:hover img {
    transform: scale(1.04);
}

.theme-detail-page .theme-gallery-slide__zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(7, 33, 107, 0.88);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.theme-detail-page .theme-gallery-slide:hover .theme-gallery-slide__zoom {
    opacity: 1;
    transform: translateY(0);
}

.theme-detail-page .theme-gallery-slide__caption {
    margin: 12px 4px 0;
    font-size: 0.875rem;
    color: #5a6573;
    line-height: 1.4;
}

.theme-detail-page .theme-gallery-carousel .owl-nav {
    margin-top: 8px;
}

.theme-detail-page .theme-gallery-carousel .owl-nav button.owl-prev,
.theme-detail-page .theme-gallery-carousel .owl-nav button.owl-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(7, 33, 107, 0.08) !important;
    color: #07216b !important;
    font-size: 1.1rem;
    margin: 0 6px;
}

.theme-detail-page .theme-gallery-carousel .owl-dots {
    margin-top: 12px;
}

.theme-detail-page .theme-gallery-carousel .owl-dot span {
    background: rgba(7, 33, 107, 0.2);
}

.theme-detail-page .theme-gallery-carousel .owl-dot.active span {
    background: #0100da;
}

/* İçerik kartı */
.theme-detail-page .theme-content-card {
    background: #fff;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(7, 33, 107, 0.06);
    margin-bottom: 32px;
    overflow: hidden;
}

.theme-detail-page .theme-content-card__head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 32px 40px 28px 52px;
    border-bottom: 1px solid #eef1f4;
    background: linear-gradient(180deg, #fbfcfd 0%, #fff 100%);
}

@media (max-width: 767.98px) {
    .theme-detail-page .theme-content-card__head {
        padding: 24px 20px 20px 28px;
    }
}

.theme-detail-page .theme-content-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(7, 33, 107, 0.08);
    color: #07216b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 6px;
}

.theme-detail-page .theme-content-card__head-text {
    flex: 1;
    min-width: 0;
}

.theme-detail-page .theme-content-card__title {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 700;
    color: #000;
    margin: 0 0 6px;
}

.theme-detail-page .theme-content-card__subtitle {
    margin: 0;
    color: #808080;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Açıklama metni — text-content sınıfı KULLANILMIYOR (page.css çakışmasını önler) */
.theme-detail-page .theme-article-content {
    padding: 36px 40px 40px;
    color: #333;
    font-size: 1.0625rem;
    line-height: 1.85;
}

@media (max-width: 767.98px) {
    .theme-detail-page .theme-article-content {
        padding: 24px 20px 28px;
    }
}

.theme-detail-page .theme-article-content > *:first-child {
    margin-top: 0;
}

.theme-detail-page .theme-article-content > *:last-child {
    margin-bottom: 0;
}

.theme-detail-page .theme-article-content p {
    margin-bottom: 1.35rem;
    color: #404040;
    font-size: 1.0625rem;
    line-height: 1.85;
}

.theme-detail-page .theme-article-content h2 {
    font-size: clamp(1.25rem, 2.2vw, 1.625rem);
    font-weight: 700;
    color: #000;
    margin: 2.5rem 0 1rem;
    padding-left: 16px;
    border-left: 4px solid #07216b;
}

.theme-detail-page .theme-article-content h2:first-child {
    margin-top: 0;
}

.theme-detail-page .theme-article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    margin: 1.75rem 0 0.75rem;
}

.theme-detail-page .theme-article-content strong,
.theme-detail-page .theme-article-content b {
    color: #07216b;
    font-weight: 700;
}

.theme-detail-page .theme-article-content ul,
.theme-detail-page .theme-article-content ol {
    margin: 0 0 1.5rem;
    padding-left: 0;
    list-style: none;
}

.theme-detail-page .theme-article-content ul li,
.theme-detail-page .theme-article-content ol li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: #404040;
    line-height: 1.7;
    list-style: none;
}

.theme-detail-page .theme-article-content ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #13d5ff;
}

.theme-detail-page .theme-article-content ol {
    counter-reset: theme-ol;
}

.theme-detail-page .theme-article-content ol li {
    counter-increment: theme-ol;
}

.theme-detail-page .theme-article-content ol li:before {
    content: counter(theme-ol);
    width: auto;
    height: auto;
    background: none;
    color: #07216b;
    font-weight: 700;
    top: 0;
}

.theme-detail-page .theme-article-content blockquote {
    margin: 2rem 0;
    padding: 24px 28px;
    border-left: 4px solid #07216b;
    background: linear-gradient(135deg, #f8f9fb 0%, #f1f4ff 100%);
    border-radius: 0 16px 16px 0;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #07216b;
    font-weight: 500;
}

.theme-detail-page .theme-article-content blockquote p:last-child {
    margin-bottom: 0;
}

.theme-detail-page .theme-article-content a {
    color: #07216b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.theme-detail-page .theme-article-content a:hover {
    color: #13d5ff;
}

.theme-detail-page .theme-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 1.5rem 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.theme-detail-page .theme-features-strip {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 32px;
    border: 1px solid #eef1f4;
}

.theme-detail-page .theme-features-strip__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.theme-detail-page .theme-features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 767.98px) {
    .theme-detail-page .theme-features-grid {
        grid-template-columns: 1fr;
    }
}

.theme-detail-page .theme-feature-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #f8f9fb;
    border: 1px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.theme-detail-page .theme-feature-chip:hover {
    border-color: rgba(7, 33, 107, 0.12);
    transform: translateY(-2px);
}

.theme-detail-page .theme-feature-chip__num {
    font-size: 0.8125rem;
    font-weight: 800;
    color: #07216b;
    opacity: 0.45;
    min-width: 28px;
}

.theme-detail-page .theme-feature-chip__text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #404040;
    line-height: 1.45;
}

.theme-detail-page .theme-detail-cta {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-top: 8px;
}

.theme-detail-page .theme-detail-cta__glow {
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 30% 20%, rgba(19, 213, 255, 0.25), transparent 55%);
    pointer-events: none;
}

.theme-detail-page .theme-detail-cta__inner {
    position: relative;
    background: linear-gradient(135deg, #07216b 0%, #0100da 100%);
    padding: 40px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .theme-detail-page .theme-detail-cta__inner {
        padding: 28px 24px;
    }
}

.theme-detail-page .theme-detail-cta__text {
    max-width: 520px;
}

.theme-detail-page .theme-detail-cta__text h3 {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.theme-detail-page .theme-detail-cta__text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.theme-detail-page .theme-detail-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.theme-detail-page .theme-detail-cta__link {
    color: #13d5ff;
    font-weight: 600;
    text-decoration: none;
}

.theme-detail-page .theme-detail-cta__link:hover {
    color: #fff;
}

.theme-detail-page .theme-detail-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 991.98px) {
    .theme-detail-page .theme-detail-sidebar {
        position: static;
    }
}

.theme-detail-page .theme-sidebar-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #eef1f4;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.theme-detail-page .theme-sidebar-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #000;
}

.theme-detail-page .theme-sidebar-card--action {
    background: linear-gradient(180deg, #fbfcfd 0%, #fff 100%);
}

.theme-detail-page .theme-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.theme-detail-page .theme-info-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #eef1f4;
    font-size: 0.9375rem;
    list-style: none;
}

.theme-detail-page .theme-info-list li span {
    color: #808080;
}

.theme-detail-page .theme-info-list li strong {
    color: #000;
    font-weight: 600;
    text-align: right;
}

.theme-detail-page .theme-info-list li:last-child {
    border-bottom: none;
}

.theme-detail-page .theme-related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.theme-detail-page .theme-related-item {
    display: flex;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    margin: 0 -10px;
    border-radius: 14px;
    transition: background-color 0.2s ease;
}

.theme-detail-page .theme-related-item:hover {
    background: #f8f9fb;
}

.theme-detail-page .theme-related-item:hover h4 {
    color: #07216b;
}

.theme-detail-page .theme-related-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    max-width: none;
}

.theme-detail-page .theme-related-item h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 4px;
    transition: color 0.2s ease;
}

.theme-detail-page .theme-related-item p {
    font-size: 0.8125rem;
    color: #808080;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.theme-detail-page .theme-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #07216b;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
}

.theme-detail-page .theme-back-link:hover {
    color: #13d5ff;
}
