:root {
    /* Akademik renk paleti */
    --primary-dark: #1a2332;
    --primary-blue: #2c4875;
    --accent-gold: #c9a961;
    --accent-amber: #d4a574;
    --text-dark: #252525;
    --text-light: #5a5a5a;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-subtle: #e0e0e0;

    /* Typography */
    --font-serif: 'Crimson Pro', serif;
    --font-sans: 'Work Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Main content: no extra bottom gap, flex child */
#main-content {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ============ TOPBAR ============ */
.topbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.topbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 0L100 100M100 0L0 100" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>');
    opacity: 0.5;
}

.announcements-container {
    position: relative;
    height: 30px;
    overflow: hidden;
}

.announcement-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.announcement-item.active {
    opacity: 1;
    transform: translateY(0);
}

.announcement-item.exit {
    opacity: 0;
    transform: translateY(100%);
}

.announcement-icon {
    color: var(--accent-gold);
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.announcement-modal-text {
    white-space: pre-line;
}

.announcement-modal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.announcement-modal-content a {
    word-break: break-word;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.lang-selector {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-btn {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover, .lang-btn.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Topbar: mobilde duyuru metni kesilmesin, dil seçici alt satıra insin */
@media (max-width: 767.98px) {
    .topbar {
        overflow: visible;
        padding: 12px 0;
        font-size: 0.85rem;
    }

    .topbar-inner {
        row-gap: 0.25rem;
    }

    .announcements-container {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .announcement-item {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        opacity: 0;
        transform: none;
        display: none;
        align-items: flex-start;
        gap: 0.5rem;
        line-height: 1.45;
    }

    .announcement-item.active {
        display: flex;
        opacity: 1;
        transform: none;
    }

    .announcement-item.exit {
        display: none;
        opacity: 0;
        transform: none;
    }

    .announcement-item span {
        flex: 1;
        min-width: 0;
        word-break: break-word;
        overflow-wrap: anywhere;
        hyphens: auto;
    }

    .announcement-icon {
        flex-shrink: 0;
        margin-top: 0.15rem;
    }
}

/* ============ NAVBAR ============ */
.navbar-custom {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-placeholder {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(44, 72, 117, 0.3);
    transition: transform 0.3s ease;
}

.logo-placeholder:hover {
    transform: rotate(5deg) scale(1.05);
}

.academic-info h1 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.2;
}

.academic-info .specialization {
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 500;
    margin: 2px 0;
}

.academic-info .slogan {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    font-family: var(--font-serif);
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 18px;
    margin: 0 4px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-dark);
    background: rgba(201, 169, 97, 0.08);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 8px;
    margin-top: 8px;
}

.dropdown-item {
    border-radius: 6px;
    padding: 10px 16px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--accent-gold);
    color: var(--white);
    transform: translateX(5px);
}

/* ============ HERO SECTION ============ */
.hero-section {
    padding: 40px 0;
}

.slider-container {
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.85) 0%, rgba(44, 72, 117, 0.75) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 40px;
    max-width: 700px;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content h2 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.slide-btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.4);
}

.slide-btn:hover {
    background: var(--accent-amber);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(201, 169, 97, 0.6);
    color: var(--primary-dark);
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--accent-gold);
    width: 30px;
    border-radius: 6px;
}

/* ============ SIDEBAR (Recent Posts) - TAB STYLE ============ */
.sidebar-section {
    height: 500px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.recent-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-subtle);
    background: var(--bg-light);
}

.tab-button {
    flex: 1;
    padding: 16px 12px;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-button:hover {
    color: var(--primary-dark);
    background: rgba(201, 169, 97, 0.08);
}

.tab-button.active {
    color: var(--primary-dark);
    background: var(--white);
}

.tab-button.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
    padding: 20px;
    height: calc(500px - 56px);
    overflow-y: auto;
    animation: fadeInTab 0.4s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-content li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: start;
    gap: 10px;
}

.tab-content li:last-child {
    border-bottom: none;
}

.tab-content li:hover {
    color: var(--primary-dark);
    padding-left: 8px;
}

.tab-content li .item-icon {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.tab-content li .item-text {
    flex: 1;
}

.tab-content li .item-date {
    font-size: 0.75rem;
    color: var(--text-light);
    display: block;
    margin-top: 4px;
}

/* Custom scrollbar */
.tab-content::-webkit-scrollbar {
    width: 6px;
}

.tab-content::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.tab-content::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 10px;
}

/* ============ FEATURES SECTION ============ */
.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.feature-box {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-amber));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-box:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    transition: all 0.4s ease;
}

.feature-box:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
}

.feature-box h4 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============ CONTACT SECTION ============ */
.contact-section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-amber));
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-control, .form-select {
    border: 2px solid var(--border-subtle);
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.25);
}

textarea.form-control {
    min-height: 120px;
}

.btn-submit {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.4);
}

.btn-submit:hover {
    background: var(--accent-amber);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(201, 169, 97, 0.5);
    color: var(--primary-dark);
}

/* Frontend: tüm primary butonlar altın (#c9a961) */
.btn-primary {
    background-color: var(--accent-gold) !important;
    border-color: var(--accent-gold) !important;
    color: var(--primary-dark) !important;
}

.btn-primary:hover {
    background-color: var(--accent-amber) !important;
    border-color: var(--accent-amber) !important;
    color: var(--primary-dark) !important;
}

.btn-outline-primary {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.btn-outline-primary:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--bg-light);
    transform: translateX(5px);
}

.contact-item i {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-top: 3px;
}

.contact-item-content h5 {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.contact-item-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.social-links {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-subtle);
}

.social-category {
    margin-bottom: 25px;
}

.social-category:last-child {
    margin-bottom: 0;
}

.social-category h6 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-category h6 i {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.social-icons-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-5px);
}

.social-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.map-container {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* ============ İÇ SAYFALAR (Hakkımda, Makaleler, Duyurular, Soru-Cevap) ============ */
.content-page {
    padding: 50px 0 60px;
}

.content-page .page-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    position: relative;
}

.content-page .page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-amber));
}

.content-page .card-content-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-subtle);
}

.content-page .stats-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--accent-gold);
}

.content-page .stats-card .stat-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.content-page .stats-card .stat-item:last-child {
    border-bottom: none;
}

.content-page .stats-card .stat-value {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.content-page .list-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}

.content-page .list-card .list-item {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.2s ease;
}

.content-page .list-card .list-item:last-child {
    border-bottom: none;
}

.content-page .list-card .list-item:hover {
    background: var(--bg-light);
}

.content-page .list-card .list-item h6 {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.35rem;
}

.content-page .accordion-item {
    border: 1px solid var(--border-subtle);
    border-radius: 8px !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.content-page .accordion-button {
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--bg-light) !important;
}

.content-page .accordion-button:not(.collapsed) {
    background: rgba(201, 169, 97, 0.12) !important;
    color: var(--primary-dark);
}

.content-page .accordion-button:focus {
    box-shadow: none;
    border-color: var(--accent-gold);
}

.content-page .qa-form-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-subtle);
}

.content-page .qa-form-card .card-title {
    font-family: var(--font-serif);
    color: var(--primary-dark);
    font-weight: 600;
}

/* ============ FOOTER (sadece sayfa sonu; içerikteki <footer> etkilenmesin) ============ */
body > footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 30px 0 20px;
    margin-top: 0;
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-links a:hover::after {
    transform: scaleX(1);
}

.footer-nav-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 140px;
}

.footer-nav-parent {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-nav-group span.footer-nav-parent {
    cursor: default;
}

.footer-nav-child {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-child:hover {
    color: var(--accent-gold);
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
    .content-page .page-title {
        font-size: 1.65rem;
    }
    .content-page {
        padding: 40px 0 50px;
    }
    .content-page .card-content-box,
    .content-page .stats-card,
    .content-page .qa-form-card {
        padding: 1.5rem;
    }
    .content-page .stats-card .stat-value {
        font-size: 1.65rem;
    }
}

@media (max-width: 768px) {
    .topbar {
        font-size: 0.8rem;
    }

    .lang-btn {
        padding: 3px 8px;
        font-size: 0.75rem;
    }

    .logo-placeholder {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .academic-info h1 {
        font-size: 1.1rem;
    }

    .academic-info .specialization {
        font-size: 0.85rem;
    }

    .academic-info .slogan {
        font-size: 0.75rem;
    }

    .slider-container {
        height: 350px;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .sidebar-section {
        margin-top: 20px;
        height: auto;
    }

    .tab-button {
        font-size: 0.8rem;
        padding: 12px 8px;
    }

    .tab-button span {
        display: none;
    }

    .tab-content {
        height: auto;
        max-height: 400px;
    }

    .social-category h6 {
        font-size: 0.9rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .features-section {
        padding: 50px 0;
    }

    .feature-box {
        margin-bottom: 20px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    /* İç sayfalar mobil */
    .content-page {
        padding: 30px 0 40px;
    }
    .content-page .page-title {
        font-size: 1.5rem;
    }
    .content-page .card-content-box,
    .content-page .stats-card,
    .content-page .list-card .list-item,
    .content-page .qa-form-card {
        padding: 1.25rem;
    }
    .content-page .stats-card .stat-value {
        font-size: 1.5rem;
    }
    .content-page .list-card .list-item {
        flex-direction: column;
        align-items: stretch;
    }
    .content-page .accordion-button {
        font-size: 0.95rem;
        padding: 0.85rem 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .navbar-custom .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .content-page .page-title::after {
        width: 40px;
    }
    body > footer .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .footer-links a {
        font-size: 0.85rem;
    }
    .copyright {
        font-size: 0.8rem;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    animation: fadeIn 0.5s ease-in;
}

/* ============ YAZI / HABER DETAY (Medium tarzı okuma) ============ */
.post-reading {
    background: linear-gradient(180deg, #f7f7f5 0%, #ffffff 140px);
    min-height: 60vh;
}

.post-reading-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.post-reading-breadcrumb {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 1.75rem;
}

.post-reading-breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-reading-breadcrumb a:hover {
    color: var(--primary-blue);
}

.post-reading-bc-sep {
    margin: 0 0.5rem;
    color: #ccc;
    font-weight: 300;
}

.post-reading-kicker {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.post-reading-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 2.875rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.post-reading-lead {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    line-height: 1.55;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.post-reading-meta {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.post-reading-meta-dot {
    opacity: 0.5;
}

.post-reading-hero {
    margin: 0 0 2.75rem;
    padding: 0;
}

.post-reading-hero img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(26, 35, 50, 0.12);
}

/* İçerik: görsel + metin akışı */
.post-reading-body {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.78;
    color: #292929;
    font-weight: 400;
}

.post-reading-body > *:first-child {
    margin-top: 0;
}

.post-reading-body p {
    margin-bottom: 1.65em;
}

.post-reading-body h2,
.post-reading-body h3,
.post-reading-body h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
    margin-top: 2.25em;
    margin-bottom: 0.65em;
    letter-spacing: -0.015em;
}

.post-reading-body h2 {
    font-size: 1.65rem;
}

.post-reading-body h3 {
    font-size: 1.35rem;
}

.post-reading-body h4 {
    font-size: 1.2rem;
}

.post-reading-body ul,
.post-reading-body ol {
    margin: 0 0 1.65em 1.25em;
    padding-left: 0.5em;
}

.post-reading-body li {
    margin-bottom: 0.5em;
}

.post-reading-body blockquote {
    margin: 2em 0;
    padding: 0.25em 0 0.25em 1.25rem;
    border-left: 4px solid var(--accent-gold);
    font-style: italic;
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.65;
}

.post-reading-body a {
    color: var(--primary-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-reading-body a:hover {
    color: var(--accent-gold);
}

.post-reading-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2.25em auto;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.post-reading-body figure {
    margin: 2.25em 0;
}

.post-reading-body figcaption {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.65rem;
}

.post-reading-body pre,
.post-reading-body code {
    font-family: ui-monospace, monospace;
    font-size: 0.9em;
}

.post-reading-body pre {
    background: #f4f4f2;
    padding: 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.65em;
}

/* div kullanılır: <footer> site footer stillerini (koyu arka plan) miras alırdı */
.post-reading-footer {
    margin-top: 3.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-subtle);
    background: transparent;
}

.post-reading-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
    padding: 0.55rem 1.15rem;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.post-reading-back:hover {
    color: var(--primary-blue);
    border-color: var(--accent-gold);
    box-shadow: 0 4px 14px rgba(44, 72, 117, 0.12);
    transform: translateX(-3px);
}

[dir="rtl"] .post-reading-body blockquote {
    border-left: none;
    border-right: 4px solid var(--accent-gold);
    padding-left: 0;
    padding-right: 1.25rem;
}

[dir="rtl"] .post-reading-back:hover {
    transform: translateX(3px);
}

@media (max-width: 767px) {
    .post-reading-inner {
        padding: 1.5rem 1rem 3rem;
    }
    .post-reading-title {
        font-size: 1.85rem;
    }
    .post-reading-lead {
        font-size: 1.15rem;
    }
    .post-reading-body {
        font-size: 1.125rem;
        line-height: 1.72;
    }
    .post-reading-hero img {
        border-radius: 8px;
    }
}

/* ============ KİTAPLAR (grid, satış linki, eşit kart yüksekliği) ============ */
.books-page .books-page__row {
    align-items: stretch;
}

.books-page .book-tile-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    color: inherit;
    border-radius: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.books-page .book-tile-link:not(.book-tile-link--static):hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(26, 35, 50, 0.12) !important;
}

.books-page .book-tile-link--static {
    cursor: default;
}

.books-page .book-tile {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 100%;
}

.books-page .book-tile .card-body {
    flex: 1 1 auto;
    min-height: 0;
}

.books-page .book-tile .btn.disabled {
    pointer-events: none;
    opacity: 0.75;
}

/* Sabit kapak yüksekliği — tüm kartlarda aynı */
.books-page .book-tile-cover {
    flex-shrink: 0;
    height: 240px;
    overflow: hidden;
    background: var(--bg-light);
}

.books-page .book-tile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.books-page .book-tile-cover--placeholder {
    background: linear-gradient(145deg, #eef1f5 0%, #e2e6ec 100%);
}

.books-page .book-tile-cover-icon {
    font-size: 3rem;
}

/* Tarih satırı yoksa bile yer kaplasın, butonlar hizalansın */
.books-page .book-tile-meta {
    min-height: 2.625rem;
    margin-bottom: 0.5rem !important;
}

/* Özet alanı sabit satır yüksekliği */
.books-page .book-tile-desc {
    flex: 1 1 auto;
    min-height: 6.75rem;
    max-height: 6.75rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    line-height: 1.45;
}

.books-page .book-tile-actions {
    flex-shrink: 0;
}

/* ============ GÖREVLER (liste, detay yok) ============ */
.duties-page .duties-card {
    padding: 1.75rem 2rem;
}

.duties-page .duties-list-item {
    position: relative;
    padding: 0.65rem 0 0.65rem 1.35rem;
    border-bottom: 1px solid var(--border-subtle);
    line-height: 1.55;
    color: var(--text-dark);
}

.duties-page .duties-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.duties-page .duties-list-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 700;
}

[dir="rtl"] .duties-page .duties-list-item {
    padding-left: 0;
    padding-right: 1.35rem;
}

[dir="rtl"] .duties-page .duties-list-item::before {
    left: auto;
    right: 0;
}
