/**
 * TerfiGYS - Kurumlar Detay Sayfası Modüler CSS
 */

/* Kompakt Kurum Detay Hero Kartı (Kompakt İnce Görünüm) */
.gd-inst-hero-compact {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 14px 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0 !important;
}

.gd-inst-hero-compact .gd-page-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gd-inst-hero-compact .gd-page-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.gd-inst-hero-compact .gd-page-subtitle {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* ── Sayfa Gövdesi ─────────────────────────────────────────────── */
/* ── Premium Hero Kartı ────────────────────────────────────────── */
.premium-hero-inst {
    padding: 16px 28px;
    border-radius: 20px;
    box-shadow: 0 10px 20px -5px rgba(55, 48, 163, 0.4);
    background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 100%);
    border: 1px solid #4f46e5;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    color: #ffffff;
    z-index: 10;
    width: 100%;
}

@media (min-width: 993px) {
    .premium-hero-inst.has-branches {
        min-height: 160px;
        display: flex;
        align-items: center;
    }
    .premium-hero-inst.no-branches {
        min-height: 140px;
        display: flex;
        align-items: center;
    }
    .inst-hero-logo-area {
        width: 120px;
        max-width: 120px;
        flex: 0 0 120px;
    }
    .inst-hero-logo-box {
        width: 85px !important;
        height: 85px !important;
        padding: 6px !important;
    }
    .inst-hero-logo-box img {
        max-width: 73px !important;
        max-height: 73px !important;
    }
    .inst-hero-text { flex: 1; }
}

/* Shimmer Animasyonu */
.premium-hero-inst::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg);
    animation: premiumShimmer 3.5s infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes premiumShimmer {
    0% { left: -100%; }
    50% { left: 200%; }
    100% { left: 200%; }
}

.premium-hero-inst.highlight-today {
    border: 2.5px solid #fbbf24;
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.4);
    animation: heroPulse 3s infinite;
}

@keyframes heroPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.005); }
    100% { transform: scale(1); }
}

/* Hero İçerik Yapısı */
.inst-hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
}

.inst-hero-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    flex-wrap: wrap;
}

.inst-hero-logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin: 0;
}

.inst-hero-logo-box {
    background: #ffffff;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    width: 105px;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.inst-hero-logo-box:hover { transform: translateY(-2px); }

.inst-hero-logo-box img {
    max-width: 88px;
    max-height: 88px;
    object-fit: contain;
}

.inst-hero-text {
    flex: 1 1 350px;
    text-align: left;
}

.inst-hero-text h1,
.inst-description {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 6px 0;
    line-height: 1.4;
    color: #ffffff;
}

.inst-description {
    font-size: 18px;
    max-width: 720px;
    margin: 0 0 12px 0;
}

.inst-description span { color: #fbbf24; }

/* Meta Etiketler */
.inst-hero-meta-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 140px;
    margin: 0;
}

.inst-hero-meta-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    box-sizing: border-box;
}

.inst-hero-meta-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Branch Pills */
.inst-hero-branch-pill {
    font-size: 11.5px;
    color: #fbbf24;
    font-weight: 700;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.25);
    padding: 4px 10px;
    border-radius: 99px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.inst-hero-branch-pill:hover {
    background: rgba(251, 191, 36, 0.22);
    border-color: rgba(251, 191, 36, 0.45);
}

/* Hero Branches Grid */
.inst-hero-branches {
    flex: 1 1 320px;
    max-width: 440px;
    z-index: 5;
}

.hero-branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    width: 100%;
}

/* ── Sleek Dark Game-Style Branch Cards (Görsel Tasarımı) ─────────── */
.branch-dark-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.branch-dark-card {
    background: linear-gradient(135deg, #334155 0%, #0f172a 100%);
    border: 1.5px solid #475569;
    border-radius: 22px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.branch-dark-card.border-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    border-color: rgba(59, 130, 246, 0.5);
}
.branch-dark-card.border-blue:hover {
    background: linear-gradient(135deg, #2563eb 0%, #0f172a 100%);
    border-color: #60a5fa;
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.3);
}

.branch-dark-card.border-emerald {
    background: linear-gradient(135deg, #065f46 0%, #0f172a 100%);
    border-color: rgba(16, 185, 129, 0.5);
}
.branch-dark-card.border-emerald:hover {
    background: linear-gradient(135deg, #059669 0%, #0f172a 100%);
    border-color: #34d399;
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.3);
}

.branch-dark-card.border-amber {
    background: linear-gradient(135deg, #78350f 0%, #0f172a 100%);
    border-color: rgba(245, 158, 11, 0.5);
}
.branch-dark-card.border-amber:hover {
    background: linear-gradient(135deg, #d97706 0%, #0f172a 100%);
    border-color: #fbbf24;
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.3);
}

.branch-dark-card.border-purple {
    background: linear-gradient(135deg, #4c1d95 0%, #0f172a 100%);
    border-color: rgba(139, 92, 246, 0.5);
}
.branch-dark-card.border-purple:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #0f172a 100%);
    border-color: #a78bfa;
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.3);
}

.branch-dark-card:hover {
    transform: translateY(-3px);
}

.branch-dark-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
    max-width: 65%;
}

.branch-dark-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.branch-dark-sub {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    margin: 0;
}

.branch-dark-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #38bdf8;
    margin-top: 6px;
}

.branch-dark-media {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.branch-dark-media img {
    max-width: 68px;
    max-height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: transform 0.25s ease;
}

.branch-dark-card:hover .branch-dark-media img {
    transform: scale(1.08);
}

/* ── Müfredat / Konu Filtre Çubuğu ────────────────────────────── */
.gd-inst-filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: #f8fafc;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.gd-inst-filter-btn {
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
}

.gd-inst-filter-btn:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.gd-inst-filter-btn.active {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2);
}

/* ── Kategori Listesi ──────────────────────────────────────────── */
.gd-inst-cat-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 30px;
}

.gd-inst-cat-link {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #374151;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    gap: 10px;
    border: 1px solid transparent;
}

.gd-inst-cat-link:hover {
    background: #f0f9ff;
    border-color: #bae6fd;
    color: #0369a1;
}

.gd-inst-cat-link .cat-name {
    border-bottom: 1px dotted #e5e7eb;
    flex: 1;
}

/* ── İstatistik Rozetleri & Kartları ────────────────────────────── */
.gd-inst-stats {
    display: flex;
    justify-content: center;
    margin: 20px 0 30px;
    width: 100%;
}

.gd-inst-stats-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.gd-inst-stat-badge {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

.gd-inst-stat-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}

.gd-inst-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gd-inst-stat-icon.icon-indigo {
    background: #eef2ff;
    color: #4f46e5;
}

.gd-inst-stat-icon.icon-blue {
    background: #eff6ff;
    color: #0284c7;
}

.gd-inst-stat-icon.icon-emerald {
    background: #ecfdf5;
    color: #059669;
}

.gd-inst-stat-info {
    display: flex;
    flex-direction: column;
}

.gd-inst-stat-val {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.gd-inst-stat-lbl {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .gd-inst-stats-inner {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ── Sayfa Başlıkları ──────────────────────────────────────────── */
.gd-inst-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.gd-inst-section-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* ── Sınav Duyurusu Bölümü ─────────────────────────────────────── */
.gd-inst-announcement {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    margin-bottom: 12px;
}

.gd-inst-ann-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

/* ── SEO İçerik Bölümü ─────────────────────────────────────────── */
.inst-seo-section {
    margin-bottom: 12px;
}

.seo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    overflow: hidden;
}

.seo-card h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 20px;
}

.seo-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.seo-body {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

.seo-body.seo-collapsed {
    max-height: 400px;
    overflow: hidden;
    position: relative;
}

.seo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, #ffffff);
    pointer-events: none;
}

.seo-expand-btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: 0.2s;
}

.seo-expand-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
}

/* ── SSS (FAQ) Bölümü ──────────────────────────────────────────── */
.faq-section {
    margin-top: 12px;
    position: relative;
}

.faq-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item.active {
    border-color: #bfdbfe;
}

.faq-question {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    font-weight: 400;
    color: #94a3b8;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 10px;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    color: #3b82f6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 20px 16px 20px;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

/* ── Timeline (Sınav Takvimi) ──────────────────────────────────── */
.exam-timeline {
    position: relative;
    margin: 30px 0;
}

.timeline-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.step-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-align: center;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 14px;
    transition: all 0.2s;
}

.timeline-step.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.timeline-step.active .step-circle {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.step-date {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

/* ── Şık Müfredat Başlık Kartı ─────────────────────────────────── */
.gd-inst-heading-block {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-left: 5px solid #4f46e5;
    border-radius: 0 16px 16px 0;
    padding: 22px 26px;
    margin: 16px 0 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-sizing: border-box;
}

.gd-inst-heading-main {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.gd-inst-heading-icon {
    width: 46px;
    height: 46px;
    border-radius: 0;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.12);
    flex-shrink: 0;
}

.gd-inst-heading-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gd-inst-section-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.gd-inst-section-desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
    max-width: 780px;
}

.gd-inst-heading-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 6px 14px;
    border-radius: 99px;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .gd-inst-heading-block {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 20px;
        gap: 14px;
    }
    .gd-inst-heading-badge {
        align-self: flex-start;
    }
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 992px) {
    .premium-hero-inst { padding: 30px 24px; border-radius: 20px; }
    .inst-hero-info { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
    .inst-hero-logo-area { width: 100%; }
    .inst-hero-logo-box { width: 80px !important; height: 80px !important; margin: 0 auto !important; }
    .inst-hero-logo-box img { max-width: 66px !important; max-height: 66px !important; }
    .inst-hero-meta-column { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 10px; }
    .inst-hero-meta-item { width: auto; }
    .inst-hero-text { text-align: center; flex: 1 1 100%; }
    .inst-description { margin: 15px auto 0; }
    .inst-hero-branches { width: 100%; max-width: 100%; flex: 1 1 100%; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 25px; }
    .hero-branches-grid { grid-template-columns: repeat(2, 1fr); }
    .branch-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; justify-content: center; }
}

@media (max-width: 768px) {
    .premium-hero-inst {
        padding: 24px 15px;
        border-radius: 0;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        width: 100vw;
        max-width: 100vw;
        border-left: none;
        border-right: none;
    }
    .inst-hero-meta-column { flex-direction: column; align-items: center; width: 100%; }
    .inst-hero-meta-item { width: 100%; }
    .inst-hero-text h1, .inst-description { font-size: 15px !important; line-height: 22px !important; text-align: center !important; margin: 0 auto 12px auto !important; }
    .gd-inst-announcement { padding: 20px 15px; border-radius: 14px; }
    .timeline-items { flex-wrap: wrap; gap: 20px; }
    .timeline-track { display: none; }
    .seo-card { padding: 20px 15px; border-radius: 14px; }
}

@media (max-width: 480px) {
    .hero-branches-grid { grid-template-columns: 1fr; }
    .branch-cards-grid { grid-template-columns: 1fr; }
    .gd-inst-stats-inner { gap: 8px; }
    .gd-inst-filter-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
    .gd-inst-filter-bar::-webkit-scrollbar { display: none; }
}

/* ── Kategori ve Konu Listesi (2'li Grid Yapısı) ───────────────── */
.gd-inst-cat-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    margin-bottom: 24px;
}

.gd-inst-cat-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: #1e293b;
    font-size: 13.5px;
    font-weight: 700;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.gd-inst-cat-link:hover {
    background: #f8fafc;
    border-color: #2563eb;
    color: #2563eb;
    transform: translateX(2px);
}

.gd-inst-cat-link .cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    flex-shrink: 0;
}

.gd-inst-cat-link .cat-name {
    flex: 1;
    line-height: 1.4;
    word-break: break-word;
}

.gd-inst-cat-link .cat-sub-count {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    flex-shrink: 0;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 99px;
}

@media (max-width: 768px) {
    .gd-inst-cat-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ── Hero Kart Watermark Logo ──────────────────────────────────── */
.gd-page-header {
    position: relative;
    overflow: hidden;
}

.inst-hero-watermark {
    position: absolute;
    right: -24px;
    bottom: -24px;
    width: 160px;
    height: 160px;
    object-fit: contain;
    opacity: 0.1;
    transform: rotate(-15deg);
    pointer-events: none;
    user-select: none;
}

@media (max-width: 480px) {
    .inst-hero-watermark {
        width: 110px;
        height: 110px;
        right: -16px;
        bottom: -16px;
    }
}

/* ── SEO ve SSS Header / Admin AI Buton Hizalamaları ─────────── */
.seo-content-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 16px !important;
}

.seo-content-header h2 {
    margin: 0 !important;
}

.faq-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.faq-title {
    margin: 0 !important;
}

.inst-admin-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gd-btn-ai-seo {
    background: #f0f9ff !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
}

.gd-btn-ai-seo:hover {
    background: #e0f2fe !important;
    color: #0284c7 !important;
}

.gd-btn-ai-faq {
    background: #f0fdf4 !important;
    color: #166534 !important;
    border: 1px solid #bbf7d0 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
}

.gd-btn-ai-faq:hover {
    background: #dcfce7 !important;
    color: #15803d !important;
}

/* ── FAQ ve SEO Admin Editör Paneli ────────────────────────────── */
#seo-editor-wrap,
#faq-editor-wrap {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-top: 16px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

.faq-editor-row {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-editor-remove-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fee2e2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: bold;
}

.faq-editor-remove-btn:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

.faq-q-input,
.faq-a-input {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    background: #ffffff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
}

.faq-q-input:focus,
.faq-a-input:focus {
    outline: none !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.faq-a-input {
    min-height: 80px !important;
    resize: vertical !important;
    line-height: 1.5 !important;
}

.faq-editor-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    gap: 12px;
    flex-wrap: wrap;
}

/* Quill Rich Text Editor Styles */
.ql-toolbar.ql-snow {
    border-radius: 12px 12px 0 0 !important;
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

.ql-container.ql-snow {
    border-radius: 0 0 12px 12px !important;
    border-color: #cbd5e1 !important;
    font-size: 15px !important;
    min-height: 220px !important;
}

