/* Source: app/Views/web/layout/header.php */

/* FULL WIDTH + ORTALI HEADER */
.encyclopedia-header .main-bar .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* İçeriği ortala */
.encyclopedia-header .header-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 12px;
}

/* LOGO */
.encyclopedia-header .logo-header {
    flex: 0 0 270px;
    display: flex;
    justify-content: flex-start;
    margin-right: auto;
}

.encyclopedia-header .logo-header-inner {
    width: 270px;
    max-width: 100%;
}

.encyclopedia-header .logo-header-inner a {
    display: flex;
    align-items: center;
    height: 62px;
    max-width: 100%;
}

.encyclopedia-header .logo-header img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

/* MENU */
.encyclopedia-header .header-nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.encyclopedia-header .header-nav.navbar-collapse {
    display: flex !important;
    justify-content: center !important;
}

.encyclopedia-header .header-nav .nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    min-width: max-content;
}

/* MENU ITEM */
.encyclopedia-header .header-nav .nav > li {
    margin: 0;
}

.encyclopedia-header .header-nav .nav > li > a {
    font-size: 14px;
    font-weight: 500;
    padding: 28px 0;
    white-space: nowrap;
}

/* RIGHT SIDE */
.encyclopedia-header .extra-nav {
    flex: 0 0 auto;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.encyclopedia-header .navbar-toggler {
    margin-left: auto;
}

/* SEARCH */
.encyclopedia-header .header-search a.header-search-icon {
    font-size: 18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* BUTTON */
.encyclopedia-header .twm-nav-post-a-job {
    padding: 12px 18px;
    font-size: 14px;
    border-radius: 12px;
    white-space: nowrap;
}

.encyclopedia-header.header-style-light .header-nav-btn-section .twm-nav-btn-right .twm-nav-post-a-job,
.encyclopedia-header .mobile-drawer-cta .twm-nav-post-a-job {
    background-color: #1967d2;
    color: #f0f6fe;
}

.encyclopedia-header .mobile-drawer-cta {
    display: none;
}

/* -------- RESPONSIVE -------- */

@media (max-width: 1400px) {
    .encyclopedia-header .header-inner {
        max-width: none;
    }

    .encyclopedia-header .header-nav .nav {
        gap: 16px;
    }

    .encyclopedia-header .header-nav .nav > li > a {
        font-size: 13px;
    }
}

@media (max-width: 1200px) {
    .encyclopedia-header .header-inner {
        max-width: none;
        padding: 0 12px;
    }

    .encyclopedia-header .logo-header {
        flex-basis: 240px;
    }

    .encyclopedia-header .header-nav .nav {
        gap: 12px;
    }

    .encyclopedia-header .header-nav .nav > li > a {
        font-size: 12px;
    }
}

/* MOBİL */
@media (max-width: 991px) {
    .encyclopedia-header .header-inner {
        display: block;
        position: relative;
    }

    .encyclopedia-header .logo-header {
        width: auto;
        flex: none;
    }

    .encyclopedia-header .extra-nav {
        margin-left: 0;
        justify-content: flex-start;
        margin-top: 16px;
    }

    .encyclopedia-header .header-nav .nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .encyclopedia-header .header-nav .nav > li > a {
        padding: 12px 0;
        font-size: 14px;
    }
}
    


/* Source: app/Views/web/partials/banner.php */

.web-shared-hero {
    position: relative;
    overflow: hidden;

    /* 🔥 ANA GRADIENT (premium görünüm) */
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
}

/* ✨ IŞIK EFEKTİ (derinlik verir) */
.web-shared-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 80% 30%,
        rgba(255, 255, 255, 0.12),
        transparent 60%
    );
    pointer-events: none;
}

/* (opsiyonel) hafif texture hissi */
.web-shared-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 20% 80%,
        rgba(255,255,255,0.05),
        transparent 60%
    );
    pointer-events: none;
}

.web-shared-hero-entry {
    position: relative;
    z-index: 2;
    padding-top: 32px;
    padding-bottom: 32px;
}

.web-shared-hero-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    min-height: 260px;
}

.web-shared-hero-copy {
    flex: 1 1 auto;
    text-align: left;
}

/* ✅ YAZI RENKLERİ DÜZELTİLDİ */
.web-shared-hero-title {
    margin-bottom: 14px;
    color: #ffffff;
    text-align: left;
}

.web-shared-hero-subtitle {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,0.85);
    font-size: 17px;
    line-height: 1.7;
    text-align: left;
}

.web-shared-hero-subtitle a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.web-shared-hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

/* BUTONLAR */
.web-shared-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.web-shared-hero-button-icon {
    min-width: 48px;
    width: 48px;
    padding: 0;
    border-radius: 12px;
    font-size: 18px;
}

/* PRIMARY */
.web-shared-hero-button-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    color: #ffffff !important;
}

/* SECONDARY */
.web-shared-hero-button-secondary {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff !important;
}

.web-shared-hero-button-secondary:hover {
    background: rgba(255,255,255,0.18);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .web-shared-hero-flex {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
    }

    .web-shared-hero-subtitle {
        font-size: 15px;
    }

    .web-shared-hero-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .web-shared-hero-button {
        flex: 1 1 220px;
    }
}



/* Source: app/Views/web/main/home.php */

        .ansiklopedi-card {
            position: relative;
            align-items: stretch;
            border: 1px solid #e9eef5;
            border-radius: 24px;
            padding: 28px 26px;
            background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
            box-shadow: 0 18px 45px rgba(16, 35, 63, 0.08);
            overflow: hidden;
        }

        .ansiklopedi-card::after {
            content: "";
            position: absolute;
            top: -40px;
            right: -40px;
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: rgba(63, 114, 255, 0.08);
        }

        .ansiklopedi-card .twm-media {
            margin-right: 20px;
            position: relative;
            z-index: 1;
            padding-top: 34px;
        }

        .ansiklopedi-avatar {
            width: 88px;
            height: 104px;
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(145deg, #173b7a 0%, #3366cc 100%);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 16px 30px rgba(51, 102, 204, 0.28);
            position: relative;
        }

        .ansiklopedi-avatar::before {
            content: "";
            position: absolute;
            inset: 10px;
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 18px;
        }

        .ansiklopedi-avatar span {
            position: relative;
            z-index: 1;
            color: #fff;
            font-size: 28px;
            font-weight: 800;
            letter-spacing: 1px;
        }

        .ansiklopedi-card .twm-mid-content {
            position: relative;
            z-index: 1;
            width: 100%;
            padding-right: 0;
            padding-bottom: 56px;
        }

        .ansiklopedi-title h4 {
            margin-bottom: 10px;
            color: #16243d;
            font-size: 22px;
            line-height: 1.3;
        }

        .ansiklopedi-desc {
            margin-bottom: 18px;
            color: #667085;
            line-height: 1.7;
        }

        .ansiklopedi-download {
            position: absolute;
            bottom: 0;
            right: 0;
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 0;
            padding: 10px 14px;
            border-radius: 999px;
            background: #eef4ff;
            color: #244a9b;
            font-size: 13px;
            font-weight: 700;
            white-space: nowrap;
        }

        .ansiklopedi-stat {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .home-rich-text p {
            margin-bottom: 1rem;
        }

        .home-rich-text ul,
        .home-rich-text ol {
            padding-left: 1.25rem;
            margin-bottom: 1rem;
        }

        @media (max-width: 767px) {
            .ansiklopedi-card {
                padding: 22px 20px;
            }

            .ansiklopedi-card .twm-mid-content {
                padding-right: 0;
            }

            .ansiklopedi-download {
                right: auto;
            }
        }
    


/* Source: app/Views/web/main/encyclopedia_list.php */

        .encyclopedia-list-summary {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 26px;
        }

        .encyclopedia-list-summary-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 18px;
            border-radius: 999px;
            background: #f4f7fb;
            border: 1px solid #e6edf7;
            color: #334155;
            font-size: 15px;
            font-weight: 700;
            text-align: center;
        }

        .encyclopedia-list-card {
            position: relative;
            display: block;
            border: 1px solid #e8eef7;
            border-radius: 18px;
            padding: 26px 30px;
            background: #ffffff;
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
            overflow: hidden;
        }

        .encyclopedia-list-card::after {
            content: "";
            position: absolute;
            top: -22px;
            right: -22px;
            width: 88px;
            height: 88px;
            border-radius: 50%;
            background: rgba(37, 99, 235, 0.06);
        }

        .encyclopedia-list-content {
            width: 100%;
            padding: 0 !important;
            margin: 0 !important;
        }

        .twm-mid-content.encyclopedia-list-content {
            margin-left: 0 !important;
            padding-left: 0 !important;
        }

        .encyclopedia-list-title {
            display: inline-block;
            text-decoration: none;
        }

        .encyclopedia-list-title h4 {
            margin-bottom: 10px;
            font-size: 22px;
            line-height: 1.3;
            color: #16243d;
        }

        .encyclopedia-list-description {
            color: #667085;
            line-height: 1.7;
            margin-bottom: 14px;
            font-size: 15px;
            max-width: 1000px;
        }

        .encyclopedia-list-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .encyclopedia-list-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            border-radius: 999px;
            padding: 8px 12px;
            background: #f3f6fb;
            color: #244a9b;
            font-size: 13px;
            font-weight: 700;
        }

        .encyclopedia-list-empty {
            border: 1px dashed #d6e0ef;
            border-radius: 18px;
            padding: 32px 26px;
            background: #fbfdff;
            text-align: center;
        }

        @media (max-width: 767px) {
            .encyclopedia-list-card {
                padding: 18px;
            }

            .encyclopedia-list-title h4 {
                font-size: 19px;
            }

            .encyclopedia-list-description {
                font-size: 14px;
            }

            .encyclopedia-list-summary {
                margin-bottom: 22px;
            }

            .encyclopedia-list-summary-badge {
                width: 100%;
            }
        }
    


/* Source: app/Views/web/main/page.php */

        .web-page-content-block {
            max-width: 920px;
            margin: 0 auto;
            background: #fff;
            border-radius: 24px;
            padding: 36px 34px;
            box-shadow: 0 18px 45px rgba(16, 35, 63, 0.08);
        }
    


/* Source: app/Views/web/main/item_about_detail.php */

    .item-language-switcher .nav {
        gap: 6px;
    }

    .item-language-switcher .nav-item {
        min-width: 0;
        flex: 0 0 auto;
    }

    .item-language-switcher .nav-link {
        padding: 0;
        border: 0;
        background: transparent;
    }

    .item-language-switcher .nav-link:focus {
        box-shadow: none;
    }

    .item-language-switcher .language-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: auto;
        padding: 6px 12px;
        border-radius: 999px;
        border: 1px solid #e5e7eb;
        background: #ffffff;
        color: #475569;
        transition: all .15s ease;
        box-shadow: none;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.2;
    }

    .item-language-switcher .language-pill-name {
        display: inline;
        margin-top: 0;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.2;
    }

    .item-language-switcher .language-pill-code,
    .item-language-switcher .language-pill-label {
        display: none;
    }

    .item-language-switcher .nav-link:hover .language-pill {
        background: #f8fafc;
        border-color: #cbd5e1;
        color: #334155;
    }

    .item-language-switcher .nav-link.active .language-pill {
        background: #f1f5f9;
        border-color: #cbd5e1;
        color: #0f172a;
        box-shadow: none;
    }

    .item-language-switcher .language-switcher-count {
        font-size: 12px;
    }

    .twm-job-self-info .cross-link-word {
        color: #0f172a !important;
        font-family: "Georgia", "Times New Roman", serif !important;
        font-weight: 700 !important;
        letter-spacing: 0.01em;
        background: #fff3bf;
        border-radius: 4px;
        padding: 0 2px;
        cursor: pointer;
    }




/* Source: app/Views/web/main/search_results.php */

        .search-results-form {
            margin-bottom: 32px;
            padding: 26px;
            border-radius: 22px;
            background: #ffffff;
            border: 1px solid #e6edf7;
            box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
        }

        .search-results-form .form-control {
            height: 58px;
            border-radius: 14px;
            border: 1px solid #d8e1ef;
            font-size: 16px;
            padding-left: 18px;
            padding-right: 18px;
        }

        .search-results-form .site-button {
            width: 100%;
            min-height: 58px;
            border-radius: 14px;
        }

        .search-results-summary {
            display: flex;
            justify-content: space-between;
            gap: 16px;
            align-items: center;
            margin-bottom: 28px;
            flex-wrap: wrap;
        }

        .search-results-layout {
            align-items: flex-start;
        }

        .search-filters-panel {
            position: sticky;
            top: 110px;
        }

        .search-filters-toolbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            margin-bottom: 14px;
        }

        .search-filters-title {
            margin: 0;
            color: #0f172a;
            font-size: 18px;
        }

        .search-filters-reset {
            color: #2563eb;
            font-size: 13px;
            font-weight: 700;
        }

        .search-filters-form {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .search-filter-group {
            border: 1px solid #e6edf7;
            border-radius: 18px;
            background: #fff;
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
            overflow: hidden;
        }

        .search-filter-group-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            width: 100%;
            padding: 18px 18px 16px;
            background: transparent;
            border: 0;
            border-bottom: 1px solid #edf2f7;
            text-align: left;
        }

        .search-filter-group-header::after {
            content: "\203A";
            color: #64748b;
            font-size: 18px;
            transition: transform 0.2s ease;
        }

        .search-filter-group-title {
            margin: 0;
            color: #1e293b;
            font-size: 15px;
            font-weight: 700;
        }

        .search-filter-group-body {
            padding: 16px 18px 18px;
        }

        .search-filter-search {
            margin-bottom: 14px;
        }

        .search-filter-search input {
            height: 42px;
            border-radius: 10px;
            border: 1px solid #d8e1ef;
            font-size: 14px;
        }

        .search-filter-options {
            display: flex;
            flex-direction: column;
            gap: 10px;
            max-height: 240px;
            overflow: hidden;
        }

        .search-filter-options.is-expanded {
            overflow-y: auto;
        }

        .search-filter-option {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 10px;
            color: #475569;
            font-size: 14px;
        }

        .search-filter-option label {
            display: flex;
            gap: 10px;
            margin: 0;
            cursor: pointer;
            line-height: 1.45;
        }

        .search-filter-option input {
            margin-top: 3px;
        }

        .search-filter-count {
            color: #94a3b8;
            font-size: 13px;
            font-weight: 700;
            white-space: nowrap;
        }

        .search-filter-option.is-hidden {
            display: none;
        }

        .search-filter-more {
            margin-top: 14px;
            padding: 11px 14px;
            border: 1px solid #d9e3f2;
            border-radius: 12px;
            background: #fff;
            color: #7c8aa5;
            font-size: 12px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            width: 100%;
        }

        .search-filters-submit {
            display: flex;
            gap: 10px;
            margin-top: 6px;
        }

        .search-filters-submit .site-button {
            width: calc(50% - 5px);
            border-radius: 10px;
            min-height: 40px;
            padding: 8px 12px;
            font-size: 13px;
            font-weight: 600;
            line-height: 1.2;
        }

        .search-results-summary-count {
            color: #334155;
            font-size: 16px;
            font-weight: 700;
        }

        .search-results-summary-query {
            color: #2563eb;
        }

        .search-result-list {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .search-result-list-item {
            border: 1px solid #e6edf7;
            border-radius: 20px;
            padding: 28px 30px;
            background: #fff;
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
        }

        .search-result-list-item .twm-mid-content {
            width: 100%;
            padding-left: 0;
            margin-left: 0;
        }

        .search-result-title {
            display: inline-block;
            margin-bottom: 10px;
            color: #0f172a;
        }

        .search-result-title h4 {
            margin-bottom: 0;
            color: inherit;
            line-height: 1.35;
        }

        .search-result-excerpt {
            margin-bottom: 16px;
            color: #64748b;
            line-height: 1.75;
            font-size: 15px;
        }

        .search-result-meta,
        .search-result-keywords {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .search-result-meta {
            margin-bottom: 16px;
        }

        .search-result-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border-radius: 999px;
            padding: 8px 12px;
            background: #f3f6fb;
            color: #244a9b;
            font-size: 13px;
            font-weight: 700;
        }

        .search-result-keyword {
            display: inline-flex;
            align-items: center;
            border-radius: 999px;
            padding: 7px 12px;
            background: #eef2ff;
            color: #334155;
            font-size: 13px;
            font-weight: 600;
        }

        .search-result-list-item mark {
            background: #fff1b8;
            color: inherit;
            padding: 0 2px;
            border-radius: 4px;
        }

        .search-results-empty {
            border: 1px solid #dde5f1;
            border-radius: 20px;
            padding: 34px 36px;
            background: #ffffff;
        }

        .search-results-empty-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 24px;
        }

        .search-results-empty-content {
            flex: 1;
        }

        .search-results-empty-title {
            margin-bottom: 18px;
            color: #1e293b;
            font-size: 18px;
            line-height: 1.6;
            font-weight: 600;
        }

        .search-results-empty-highlight {
            background: #fff1b8;
            padding: 0 4px;
            border-radius: 4px;
        }

        .search-results-empty-subtitle {
            margin-bottom: 14px;
            color: #334155;
            font-size: 14px;
            font-weight: 600;
        }

        .search-results-empty-list {
            margin: 0;
            padding-left: 18px;
            color: #475569;
            font-size: 14px;
            line-height: 1.7;
        }

        .search-results-empty-list li {
            margin-bottom: 8px;
        }

        .search-results-empty-icon {
            flex: 0 0 64px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #5b57c8;
        }

        .search-results-empty-icon svg {
            width: 52px;
            height: 52px;
        }

        @media (max-width: 767px) {
            .search-results-form {
                padding: 20px;
            }

            .search-result-list-item {
                padding: 20px;
            }

            .search-results-empty {
                padding: 24px 20px;
            }

            .search-results-empty-inner {
                flex-direction: column;
                align-items: flex-start;
            }

            .search-results-empty-title {
                font-size: 16px;
            }
        }

        @media (max-width: 991px) {
            .search-filters-panel {
                position: static;
                margin-bottom: 28px;
            }
        }
    


/* Source: app/Views/web/main/encyclopedia_detail.php */

.ansiklopedi-detail-top{
	background:#ffffff;
	border:1px solid #e8edf5;
	border-radius:20px;
	padding:32px;
	box-shadow:0 12px 35px rgba(16,35,63,0.06);
}
.ansiklopedi-detail-top-istatistik{
	background:#ffffff;
	border:1px solid #e8edf5;
	border-radius:20px;
	padding:24px 24px 10px;
	box-shadow:0 12px 35px rgba(16,35,63,0.06);
	margin-top:24px;
}

.ansiklopedi-detail-top-istatistik .twm-s-title{
	margin-bottom:20px;
}
.ansiklopedi-dynamic-content{
	font-size:17px;
	line-height:1.8;
	color:#667085;
	scroll-margin-top:120px;
}

.ansiklopedi-dynamic-content p{
	margin-bottom:16px;
}

.ansiklopedi-dynamic-content ul,
.ansiklopedi-dynamic-content ol{
	padding-left:22px;
	margin-bottom:16px;
}

.ansiklopedi-section-link.is-active{
	color:#1967d2 !important;
	font-weight:700;
}

.ansiklopedi-top-status{
	display:flex;
	align-items:center;
	gap:12px;
	margin-bottom:18px;
	flex-wrap:wrap;
}

.ansiklopedi-date{
	font-size:14px;
	color:#6b7280;
	font-weight:500;
}

.ansiklopedi-main-title{
	font-size:34px;
	line-height:1.25;
	margin-bottom:14px;
	color:#16243d;
	text-transform:none;
}

.ansiklopedi-subtitle{
	font-size:17px;
	line-height:1.8;
	color:#667085;
	margin-bottom:24px;
	max-width:900px;
}

.ansiklopedi-meta-list{
	display:grid;
	grid-template-columns:repeat(2, minmax(0, 1fr));
	gap:14px 20px;
	margin-bottom:28px;
}

.ansiklopedi-meta-item{
	padding:14px 16px;
	background:#f8fbff;
	border:1px solid #e7eef8;
	border-radius:14px;
}

.ansiklopedi-meta-item .meta-label{
	display:block;
	font-size:12px;
	color:#7b8794;
	margin-bottom:4px;
	letter-spacing:0.4px;
}

.ansiklopedi-meta-item .meta-value{
	display:block;
	font-size:15px;
	font-weight:600;
	color:#1f2a44;
}

.ansiklopedi-stat-row{
	display:grid;
	grid-template-columns:repeat(4, minmax(0, 1fr));
	gap:16px;
	margin-bottom:28px;
}

.ansiklopedi-stat-box{
	background:#fff;
	border:1px solid #e8edf5;
	border-radius:14px;
	padding:18px 16px;
	text-align:center;
}

.ansiklopedi-stat-box strong{
	display:block;
	font-size:24px;
	line-height:1;
	margin-bottom:8px;
	color:#244a9b;
}

.ansiklopedi-stat-box span{
	font-size:13px;
	color:#667085;
}

.ansiklopedi-action-row{
	display:flex;
	gap:12px;
	flex-wrap:wrap;
}

.site-button-outline{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:14px 28px;
	border-radius:10px;
	border:1px solid #244a9b;
	color:#244a9b;
	font-weight:600;
	background:transparent;
	text-decoration:none;
	transition:all 0.3s ease;
}

.site-button-outline:hover{
	background:#244a9b;
	color:#fff;
}

.ansiklopedi-explore-widget{
	padding-top:4px;
}

.ansiklopedi-explore-title{
	font-size:33px;
	line-height:1;
	font-weight:800;
	letter-spacing:0.02em;
	color:#17384b;
	margin:0 0 18px;
	position:relative;
	padding-bottom:14px;
}

.ansiklopedi-explore-title::after{
	content:'';
	position:absolute;
	left:0;
	bottom:0;
	width:72px;
	height:3px;
	border-radius:999px;
	background:#2f7fb0;
}

.ansiklopedi-explore-box{
	background:#fff;
	border:1px solid #9da8ae;
	border-radius:18px;
	padding:26px 20px;
}

.ansiklopedi-explore-list{
	margin:0;
	padding:0;
	list-style:none;
	display:flex;
	flex-direction:column;
	gap:12px;
}

.ansiklopedi-explore-list li{
	margin:0;
	display:block !important;
	padding:0 0 6px 0 !important;
}

.ansiklopedi-explore-list a{
	display:inline-block;
	font-size:16px;
	line-height:1.5;
	font-weight:700;
	color:#244a5e;
	text-decoration:underline;
	text-underline-offset:4px;
	transition:color 0.2s ease;
}

.ansiklopedi-explore-list > li::after{
	display:none !important;
}

.ansiklopedi-explore-sublist{
	list-style:none;
	margin:10px 0 2px 22px;
	padding:0;
}

.ansiklopedi-explore-sublist li{
	position:relative;
	padding:3px 0 3px 16px !important;
}

.ansiklopedi-explore-sublist li::after{
	content:"";
	width:4px;
	height:5px;
	border-radius:50%;
	background-color:#1967d2;
	position:absolute;
	left:0;
	top:13px;
}

.ansiklopedi-explore-sublist a{
	font-size:15px;
	font-weight:600;
}

.ansiklopedi-explore-list a:hover{
	color:#1b6d98;
}

.ansiklopedi-related-items ul{
	margin:0;
	padding:0;
	list-style:none;
}

.ansiklopedi-related-card{
	display:block;
	padding:28px 32px;
	border:1px solid #dbe4ee;
	border-radius:22px;
	background:#fff;
	box-shadow:0 10px 24px rgba(15, 23, 42, 0.04);
}

.ansiklopedi-related-header{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:18px;
	margin-bottom:14px;
}

.ansiklopedi-related-topline{
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	gap:12px;
}

.ansiklopedi-related-inline-actions{
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	justify-content:flex-end;
	gap:10px;
}

.ansiklopedi-related-link{
	display:inline-flex;
	align-items:center;
	min-height:40px;
	padding:0 4px;
	color:#234c78;
	font-size:14px;
	font-weight:700;
	letter-spacing:0.01em;
	text-decoration:none;
	white-space:nowrap;
}

.ansiklopedi-related-link:hover{
	color:#173657;
}

.ansiklopedi-item-favorite{
	width:40px;
	height:40px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border-radius:999px;
	border:1px solid #d8e0ea;
	background:#fff;
	color:#526273;
	text-decoration:none;
	transition:all 0.2s ease;
}

.ansiklopedi-item-favorite:hover{
	color:#8f6a12;
	border-color:#cdb67c;
	background:#fffcf5;
}

.ansiklopedi-item-favorite.is-active{
	color:#d4a017;
	border-color:#d9b458;
	background:#fff5d8;
}

.ansiklopedi-related-type{
	display:inline-flex;
	align-items:center;
	padding:0;
	border-radius:0;
	background:transparent;
	color:#274b69;
	font-size:11px;
	font-weight:800;
	letter-spacing:0.14em;
	text-transform:uppercase;
}

.ansiklopedi-related-date{
	font-size:13px;
	font-weight:500;
	color:#6d7a8c;
}

.ansiklopedi-related-main{
	flex:1 1 auto;
	min-width:0;
	padding-left:0 !important;
}

.ansiklopedi-related-main .twm-job-title{
	display:block;
	margin-bottom:14px;
}

.ansiklopedi-related-main .twm-job-title h4{
	margin-bottom:0;
	color:#1b2d45;
	font-size:22px;
	line-height:1.4;
	font-weight:700;
}

.ansiklopedi-related-main .twm-job-address{
	margin-bottom:18px;
	color:#66758a;
	line-height:1.82;
	max-width:780px;
	font-size:16px;
}

.ansiklopedi-related-meta{
	display:inline-flex;
	align-items:center;
	gap:8px;
	padding:10px 16px;
	border-radius:999px;
	border:1px solid #e1e8f0;
	background:#f7fafe;
	color:#35506f;
	font-size:14px;
	font-weight:600;
}

.ansiklopedi-related-inline-actions .twm-jobs-category{
	margin-bottom:0;
}

.ansiklopedi-related-inline-actions .twm-jobs-category span{
	display:inline-flex;
	align-items:center;
	min-height:34px;
	padding:6px 14px;
	border-radius:999px;
	font-weight:700;
}

.ansiklopedi-listing-header{
	display:flex;
	align-items:flex-end;
	justify-content:space-between;
	gap:20px;
	margin-bottom:26px;
	padding:26px 28px;
	border:1px solid #e7edf5;
	border-radius:20px;
	background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	box-shadow:0 14px 34px rgba(16,35,63,0.06);
}

/* sade istatistik alanı */
.ansiklopedi-statistics-header{
	display:block;
	margin:0;
	padding:0;
	border:none;
	border-radius:0;
	background:transparent;
	box-shadow:none;
}

.ansiklopedi-statistics-filter{
	min-width:0;
	max-width:180px;
	margin-top:18px;
}

.ansiklopedi-statistics-filter label{
	display:block;
	margin-bottom:8px;
	font-size:14px;
	font-weight:700;
	color:#344054;
}

.ansiklopedi-statistics-filter .form-control{
	height:52px;
	border-radius:14px;
	border:1px solid #e5e7eb;
	background:#f8fafc;
	box-shadow:none;
	font-size:15px;
	font-weight:600;
	color:#111827;
	padding:0 16px;
}

.ansiklopedi-statistics-panel{
	margin-top:20px;
	padding:0;
	border:none;
	border-radius:0;
	background:transparent;
	box-shadow:none;
}

.ansiklopedi-statistics-summary{
	display:flex;
	flex-wrap:wrap;
	gap:18px;
	margin-bottom:22px;
	padding-bottom:18px;
	border-bottom:1px solid #eef2f6;
}

.ansiklopedi-statistics-summary-card{
	display:inline-flex;
	align-items:baseline;
	gap:6px;
	padding:0;
	border:none;
	border-radius:0;
	background:transparent;
	text-align:left;
	box-shadow:none;
}

.ansiklopedi-statistics-summary-card strong{
	display:inline-block;
	font-size:18px;
	line-height:1;
	color:#17384b;
	margin:0;
}

.ansiklopedi-statistics-summary-card span{
	display:inline-block;
	font-size:15px;
	font-weight:500;
	color:#667085;
}

#ansiklopedi-statistics-empty,
#ansiklopedi-statistics-loading{
	margin-bottom:16px;
	padding:0;
	border:none;
	border-radius:0;
	background:transparent;
	color:#667085;
	font-size:14px;
	font-weight:500;
}

#ansiklopedi-statistics-chart{
	min-height:340px;
}

.ansiklopedi-listing-kicker{
	display:inline-block;
	margin-bottom:8px;
	font-size:12px;
	font-weight:800;
	letter-spacing:0.08em;
	text-transform:uppercase;
	color:#2f7fb0;
}

.ansiklopedi-listing-title{
	margin:0 0 10px;
	font-size:30px;
	line-height:1.2;
	color:#16243d;
}

.ansiklopedi-listing-subtitle{
	margin:0;
	color:#667085;
	line-height:1.7;
}

.ansiklopedi-listing-count{
	min-width:110px;
	text-align:center;
	padding:16px 18px;
	border-radius:18px;
	background:#eef4ff;
	color:#244a9b;
}

.ansiklopedi-listing-count strong{
	display:block;
	font-size:30px;
	line-height:1;
}

.ansiklopedi-listing-count span{
	display:block;
	margin-top:6px;
	font-size:13px;
	font-weight:700;
	text-transform:uppercase;
	letter-spacing:0.04em;
}

.ansiklopedi-az-item{
	display:flex;
	align-items:stretch;
	gap:22px;
	padding:24px 26px;
	border:1px solid #e7edf5;
	border-radius:20px;
	background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	box-shadow:0 14px 34px rgba(16,35,63,0.06);
}

.ansiklopedi-item-avatar{
	width:84px;
	height:84px;
	border-radius:24px;
	display:flex;
	align-items:center;
	justify-content:center;
	background:linear-gradient(145deg, #173b7a 0%, #3366cc 100%);
	box-shadow:inset 0 1px 0 rgba(255,255,255,0.24), 0 16px 30px rgba(51,102,204,0.22);
}

.ansiklopedi-item-avatar span{
	color:#fff;
	font-size:24px;
	font-weight:800;
	letter-spacing:0.08em;
}

.ansiklopedi-list-meta{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
}

.ansiklopedi-list-meta-chip{
	display:inline-flex;
	align-items:center;
	min-height:38px;
	padding:8px 14px;
	border-radius:999px;
	background:#eef4ff;
	color:#244a9b;
	font-size:13px;
	font-weight:700;
}

.ansiklopedi-alpha-nav{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	margin-bottom:36px;
}

.ansiklopedi-alpha-link{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:52px;
	height:48px;
	padding:0 16px;
	border:1px solid #d9e1ea;
	background:#fff;
	color:#2175a4;
	font-size:21px;
	font-weight:600;
	line-height:1;
	text-decoration:none;
	transition:all 0.2s ease;
}

.ansiklopedi-alpha-link:hover,
.ansiklopedi-alpha-link.is-active{
	border-color:#2175a4;
	background:#f4faff;
	color:#0f5f8d;
}

.ansiklopedi-alpha-link.is-disabled{
	color:#b5bcc3;
	background:#fafafa;
	cursor:default;
	pointer-events:none;
}

.ansiklopedi-alpha-groups{
	display:flex;
	flex-direction:column;
	gap:36px;
}

.ansiklopedi-alpha-group{
	scroll-margin-top:120px;
}

.ansiklopedi-alpha-heading{
	margin:0 0 18px;
	padding-bottom:10px;
	border-bottom:1px solid #1f2a37;
	font-size:42px;
	line-height:1;
	color:#1f2937;
}

.ansiklopedi-alpha-card-list{
	margin-bottom:0;
}

.ansiklopedi-search-highlight{
	color:#0f5f8d;
	font-weight:800;
}

.ansiklopedi-chrono-toggle{
	display:flex;
	flex-wrap:wrap;
	gap:12px;
	margin-bottom:24px;
}

.ansiklopedi-chrono-toggle-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:46px;
	padding:0 18px;
	border:1px solid #d9e1ea;
	border-radius:999px;
	background:#fff;
	color:#355070;
	font-size:14px;
	font-weight:700;
	cursor:pointer;
	transition:all 0.2s ease;
}

.ansiklopedi-chrono-toggle-btn.is-active{
	border-color:#2175a4;
	background:#f4faff;
	color:#0f5f8d;
}

.no-logo{
	justify-content:flex-start;
	padding-bottom:0;
}

@media (max-width:991px){
	.ansiklopedi-meta-list,
	.ansiklopedi-stat-row{
		grid-template-columns:1fr 1fr;
	}

	.ansiklopedi-az-item,
	.ansiklopedi-listing-header{
		flex-direction:column;
		align-items:flex-start;
	}

	.ansiklopedi-related-header{
		flex-direction:column;
		align-items:flex-start;
	}

	.ansiklopedi-related-inline-actions{
		justify-content:flex-start;
	}

	.ansiklopedi-explore-widget{
		margin-top:24px;
	}
}

@media (max-width:575px){
	.ansiklopedi-detail-top{
		padding:22px;
	}

	.ansiklopedi-related-card{
		padding:20px 18px;
		gap:16px;
	}

	.ansiklopedi-related-main .twm-job-title h4{
		font-size:19px;
	}
}

@media (max-width:768px){
	.ansiklopedi-statistics-filter{
		width:100%;
		max-width:100%;
	}

	.ansiklopedi-statistics-panel{
		padding:0;
	}

	.ansiklopedi-statistics-summary{
		gap:10px 16px;
	}

	.ansiklopedi-statistics-summary-card{
		width:100%;
	}
}

.ansiklopedi-statistics-toolbar{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:32px;
    margin-bottom:20px;
    padding-bottom:20px;
    border-bottom:1px solid #e7edf5;
}

.ansiklopedi-statistics-filter-wrap{
    flex:0 0 150px;
}

.ansiklopedi-statistics-filter-label{
    display:block;
    margin-bottom:8px;
    font-size:12px;
    font-weight:700;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:#667085;
}

.ansiklopedi-statistics-year-select{
    width:100%;
    height:48px;
    padding:0 16px;
    border:1px solid #d0d9e5;
    border-radius:12px;
    background:#fff;
    box-shadow:none;
    font-size:15px;
    font-weight:600;
    color:#1f2937;
}

.ansiklopedi-statistics-chart-box{
    padding-top:4px;
}

.ansiklopedi-related-section{
	margin-top:24px; /* ← bunu ekle */
	background:#ffffff;
	border:1px solid #e8edf5;
	border-radius:20px;
	padding:24px;
	box-shadow:0 12px 35px rgba(16,35,63,0.06);
}

.ansiklopedi-related-head{
	margin:0 0 20px;
	padding:0;
}

.ansiklopedi-related-head .wt-title{
	margin:0 0 8px;
	font-size:24px;
	line-height:1.3;
	color:#16243d;
}

.ansiklopedi-related-head p{
	margin:0;
	color:#667085;
	line-height:1.6;
}

.ansiklopedi-related-items ul{
	margin:0;
	padding:0;
	list-style:none;
}
@media (max-width:768px){
    .ansiklopedi-statistics-toolbar{
        flex-direction:column;
        align-items:stretch;
        gap:18px;
    }

    .ansiklopedi-statistics-filter-wrap{
        flex:1 1 auto;
        max-width:160px;
    }
}




/* Utilities migrated from inline style attributes */
.web-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.web-header-logo {
    flex: 0 0 270px;
    display: flex;
    justify-content: flex-start;
}

.web-header-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.web-header-extra-nav {
    flex: 0 0 auto;
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
}

.web-no-padding-left {
    padding-left: 0 !important;
}

.web-mt-40 {
    margin-top: 40px;
}

.web-about-candidate-bg {
    background-image: url('../images/candidates/candidate-bg2.jpg');
}

.footer-dark.web-footer-bg {
    background-image: url('../images/f-bg.webp');
}

.web-dynamic-bg {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Encyclopedia detail spacing + sidebar emphasis */
.ansiklopedi-detail-page-section {
    padding-top: 56px;
}

.ansiklopedi-side-bar {
    background: #ffffff;
    border: 1px solid #d7e2ee;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

/* Sprint 1: mobile baseline hardening */

/* Keep desktop centering without forcing collapse behavior on mobile */
.encyclopedia-header .header-nav.navbar-collapse {
    justify-content: center;
}

.encyclopedia-header .logo-header {
    flex: 0 1 270px;
    min-width: 160px;
}

.encyclopedia-header .logo-header-inner {
    width: 100%;
    max-width: 270px;
}

.encyclopedia-header .header-nav .nav {
    min-width: 0;
}

/* Rich content safety for CMS-driven pages */
.web-page-content-block,
.ansiklopedi-dynamic-content,
.home-rich-text,
.search-result-excerpt {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.web-page-content-block img,
.ansiklopedi-dynamic-content img,
.home-rich-text img {
    max-width: 100%;
    height: auto;
}

.web-page-content-block iframe,
.ansiklopedi-dynamic-content iframe,
.home-rich-text iframe {
    max-width: 100%;
}

.web-page-content-block table,
.ansiklopedi-dynamic-content table,
.home-rich-text table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 991px) {
    .encyclopedia-header .header-nav.navbar-collapse {
        display: block !important;
    }

    .encyclopedia-header .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 0 10px;
    }

    .encyclopedia-header .logo-header {
        flex: 1 1 auto;
        max-width: 210px;
        margin-right: 0;
    }

    .encyclopedia-header .extra-nav {
        display: none;
    }

    .encyclopedia-header .navbar-toggler {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-width: 44px;
        min-height: 44px;
        margin: 0;
        padding: 10px;
        border-radius: 12px;
        position: relative;
        z-index: 1301;
    }

    .encyclopedia-header .navbar-toggler .icon-bar {
        display: block;
        width: 22px;
        height: 2.5px;
        margin-top: 0 !important;
        border-radius: 3px;
        background: #ffffff;
        transition: transform .2s ease, opacity .2s ease;
        transform-origin: center;
    }

    .encyclopedia-header.mobile-sider-drawer-menu .header-nav {
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0;
        border: 0;
        background: #ffffff;
        box-shadow: 0 24px 48px rgba(15, 23, 42, 0.24);
        z-index: 1300;
        overflow-y: auto;
        padding: 90px 20px 24px;
        transition: left 0.25s ease;
    }

    .encyclopedia-header.mobile-sider-drawer-menu.active .header-nav {
        left: 0;
    }

    .encyclopedia-header.mobile-sider-drawer-menu.active::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        z-index: 1290;
        pointer-events: none;
    }

    .encyclopedia-header.mobile-sider-drawer-menu.active #mobile-side-drawer {
        position: fixed;
        top: 16px;
        right: 14px;
        background: #1e3a8a;
    }

    .encyclopedia-header.mobile-sider-drawer-menu.active #mobile-side-drawer .icon-bar.icon-bar-first {
        transform: translateY(6px) rotate(45deg);
    }

    .encyclopedia-header.mobile-sider-drawer-menu.active #mobile-side-drawer .icon-bar.icon-bar-two {
        position: static;
        right: auto;
        opacity: 0;
        transform: none;
    }

    .encyclopedia-header.mobile-sider-drawer-menu.active #mobile-side-drawer .icon-bar.icon-bar-three {
        transform: translateY(-6px) rotate(-45deg);
    }

    .encyclopedia-header .header-nav {
        justify-content: flex-start;
        z-index: 1302;
        pointer-events: auto;
    }

    .encyclopedia-header .header-nav .nav {
        display: block;
        width: 100%;
        min-width: 0;
        margin: 0;
        background: transparent;
    }

    .encyclopedia-header .header-nav .nav > li > a {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid #edf2f7;
        white-space: normal;
        font-size: 22px;
        line-height: 1.3;
        color: #0f172a;
        font-weight: 700;
        position: relative;
        z-index: 2;
        pointer-events: auto;
    }

    .encyclopedia-header .header-nav .nav > li:last-child > a {
        border-bottom: 0;
    }

    .encyclopedia-header .header-nav .nav > li .sub-menu {
        width: 100%;
        max-width: 100%;
        margin: 0 0 10px !important;
        border-radius: 12px;
        overflow: hidden;
    }

    .encyclopedia-header .header-nav .nav > li .sub-menu li a {
        padding: 12px 14px;
        font-size: 15px;
    }

    .encyclopedia-header .mobile-drawer-cta {
        display: block;
        margin-top: 18px;
        position: relative;
        z-index: 2;
    }

    .encyclopedia-header .mobile-drawer-cta .twm-nav-post-a-job {
        width: 100%;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .ansiklopedi-alpha-heading {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .web-shared-hero-button {
        min-width: 0;
    }

    .search-result-badge {
        max-width: 100%;
    }

    .ansiklopedi-main-title {
        font-size: 28px;
        line-height: 1.3;
    }
}

@media (max-width: 575px) {
    .encyclopedia-header .header-nav .nav > li > a {
        font-size: 19px;
    }

    .web-shared-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .web-shared-hero-button {
        width: 100%;
    }

    .search-filters-submit {
        flex-direction: column;
    }

    .search-filters-submit .site-button {
        width: 100%;
    }

    .ansiklopedi-alpha-heading {
        font-size: 28px;
    }

    .ansiklopedi-az-item {
        padding: 18px 16px;
        gap: 14px;
        border-radius: 16px;
    }

    .ansiklopedi-item-avatar {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .ansiklopedi-item-avatar span {
        font-size: 18px;
    }

    .ansiklopedi-related-link {
        white-space: normal;
        line-height: 1.4;
    }

    .ansiklopedi-list-meta-chip {
        min-height: 34px;
        font-size: 12px;
        padding: 6px 10px;
    }
}

@media (max-width: 767px) {
    .web-page-content-block {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .search-results-form .row {
        row-gap: 12px;
    }

    .search-filters-toolbar {
        flex-wrap: wrap;
    }

    .search-results-summary-count {
        font-size: 15px;
        line-height: 1.5;
    }
}

body.mobile-nav-open {
    overflow: hidden;
}
