/* ============================================================
   TREATMENT CATEGORY — tc-
   taxonomy-treatment_category.php için CSS
   ============================================================ */

/* ══ GENEL ═══════════════════════════════════════════════ */
.tc-page {
    background: var(--sps-gray-50, #f8f9fb);
}

.tc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ══ HERO ════════════════════════════════════════════════ */
.tc-hero {
    background: var(--sps-blue, #090a51);
    padding: 52px 0 56px;
    position: relative;
    overflow: hidden;
}

.tc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 80% 50%,
        rgba(56, 189, 248, 0.10) 0%,
        transparent 65%
    );
    pointer-events: none;
}

.tc-hero .tc-container {
    position: relative;
    z-index: 1;
}

.tc-hero__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.tc-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sps-accent, #38bdf8);
    margin-bottom: 14px;
}

.tc-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}

.tc-hero__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin: 0;
    max-width: 560px;
}

.tc-hero__count {
    text-align: right;
    flex-shrink: 0;
    line-height: 1;
}

.tc-count-num {
    display: block;
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 800;
    color: var(--sps-accent, #38bdf8);
    line-height: 1;
    letter-spacing: -0.03em;
}

.tc-count-label {
    display: block;
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 6px;
}

/* ══ TREATMENTS SECTION ══════════════════════════════════ */
.tc-treatments {
    padding: 48px 0 80px;
}

/* ══ GRID ════════════════════════════════════════════════ */
.tc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* ══ CARD ════════════════════════════════════════════════ */
.tc-card {
    background: #fff;
    border: 1px solid var(--sps-gray-200, #e5e7eb);
    border-radius: var(--sps-radius, 12px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--sps-shadow, 0 1px 4px rgba(0,0,0,0.06));
    transition:
        box-shadow 0.22s ease,
        transform 0.22s ease,
        border-color 0.22s ease;
    animation: tc-fade-up 0.45s both;
    animation-delay: var(--delay, 0s);
}

@keyframes tc-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tc-card:hover {
    box-shadow: 0 8px 32px rgba(9, 10, 81, 0.10);
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.4);
}

/* Thumbnail */
.tc-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--sps-gray-100, #f3f4f6);
}

.tc-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.tc-card:hover .tc-card__thumb img {
    transform: scale(1.05);
}

/* Body */
.tc-card__body {
    padding: 24px 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tc-card__num {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--sps-accent, #38bdf8);
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    display: block;
}

.tc-card__divider {
    width: 28px;
    height: 2px;
    background: var(--sps-gray-200, #e5e7eb);
    margin-bottom: 14px;
    border-radius: 2px;
}

.tc-card__title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--sps-blue, #090a51);
    line-height: 1.3;
    margin: 0 0 10px;
}

.tc-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tc-card:hover .tc-card__title a {
    color: var(--sps-accent, #38bdf8);
}

.tc-card__excerpt {
    font-size: 0.88rem;
    color: var(--sps-gray-600, #6b7280);
    line-height: 1.65;
    margin: 0 0 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta */
.tc-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.tc-card__duration {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sps-accent, #38bdf8);
    background: rgba(56, 189, 248, 0.10);
    padding: 3px 10px;
    border-radius: 50px;
}

.tc-card__price {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--sps-gray-400, #9ca3af);
}

.tc-card__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--sps-gray-200, #e5e7eb);
    flex-shrink: 0;
}

/* Link */
.tc-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sps-blue, #090a51);
    text-decoration: none;
    margin-top: auto;
    transition: color 0.2s ease;
}

.tc-card__link:hover {
    color: var(--sps-accent, #38bdf8);
}

.tc-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--sps-gray-50, #f8f9fb);
    border: 1px solid var(--sps-gray-200, #e5e7eb);
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.tc-card__link:hover .tc-card__arrow {
    background: var(--sps-blue, #090a51);
    color: #fff;
    border-color: var(--sps-blue, #090a51);
}

/* ══ CTA BAR ══════════════════════════════════════════════ */
.tc-cta-bar {
    background: #fff;
    border: 1px solid var(--sps-gray-200, #e5e7eb);
    border-radius: var(--sps-radius, 12px);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: var(--sps-shadow, 0 1px 4px rgba(0,0,0,0.06));
}

.tc-cta-bar__text {
    font-size: 0.95rem;
    color: var(--sps-gray-600, #6b7280);
    margin: 0;
}

.tc-cta-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    background: var(--sps-blue, #090a51);
    padding: 10px 22px;
    border-radius: var(--sps-radius-sm, 8px);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tc-cta-bar__link:hover {
    background: var(--sps-accent, #38bdf8);
    color: var(--sps-blue, #090a51);
}

/* ══ BOŞ DURUM ════════════════════════════════════════════ */
.tc-empty {
    background: #fff;
    border: 1px solid var(--sps-gray-200, #e5e7eb);
    border-radius: var(--sps-radius, 12px);
    padding: 48px 32px;
    text-align: center;
    color: var(--sps-gray-600, #6b7280);
    font-size: 0.95rem;
}

/* ══ RESPONSIVE ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .tc-hero { padding: 36px 0 40px; }
    .tc-treatments { padding: 32px 0 60px; }

    .tc-hero__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .tc-hero__count { text-align: left; }

    .tc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tc-cta-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .tc-cta-bar__link { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .tc-container { padding: 0 16px; }
    .tc-hero__title { font-size: 1.7rem; }
    .tc-card__body { padding: 18px 18px 16px; }
}