/* ===================================
   Custom CSS for ABU Kariyer Ofisi
   =================================== */

:root {
    --primary-color: #003366;
    --secondary-color: #00A9CE;
    --accent-color: #17a2b8;
    --dark-blue: #001f3f;
    --light-gray: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
}

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

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

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* ===================================
   Header Styles
   =================================== */

.header-section {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.top-header {
    background: var(--white);
}

.header-logo {
    width: 108px;
    height: 108px;
    object-fit: contain;
}

.header-text {
    flex: 1;
}

.university-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1b66b0;
    margin-bottom: 0;
    line-height: 1.2;
}

.department-name {
    font-size: 2.25rem;
    color: #003366;
    font-weight: 700;
    line-height: 1.2;
}

.header-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    margin: 0 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-social .social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Navigation Styles */
.main-nav {
    background: var(--primary-color) !important;
    padding: 0;
}

.main-nav .navbar-nav {
    flex-wrap: wrap;
}

/* Desktop nav list — full width, space-between */
.desktop-nav-list {
    justify-content: space-between !important;
    gap: 0;
    flex-wrap: nowrap;
}

.main-nav .nav-link {
    color: var(--white) !important;
    padding: 0.83rem 0.75rem !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.main-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav .nav-link:hover::before,
.main-nav .nav-link.active::before {
    width: 80%;
}

.main-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.main-nav .dropdown-menu {
    /* Override Bootstrap 5 CSS variables */
    --bs-dropdown-bg: var(--primary-color);
    --bs-dropdown-border-color: transparent;
    --bs-dropdown-color: rgba(255, 255, 255, 0.9);
    --bs-dropdown-link-color: rgba(255, 255, 255, 0.9);
    --bs-dropdown-link-hover-color: #fff;
    --bs-dropdown-link-hover-bg: var(--secondary-color);
    --bs-dropdown-link-active-bg: var(--secondary-color);
    background-color: var(--primary-color);
    border: none;
    border-radius: 0;
    margin-top: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    min-width: 200px;
    width: auto;
    /* Force static positioning — no Popper stretching */
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    top: 100% !important;
}

/* Prevent nav-item from growing taller when dropdown opens */
.main-nav .nav-item.dropdown.show > .nav-link,
.main-nav .nav-item.dropdown:focus-within > .nav-link {
    background: rgba(255, 255, 255, 0.1);
}

.main-nav .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.7rem 1.25rem;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    background-color: transparent;
}

.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus {
    background-color: var(--secondary-color);
    color: #fff;
    padding-left: 1.6rem;
}

.btn-lang-top {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.btn-lang-top:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lang {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-lang:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* ===================================
   Main Content Styles
   =================================== */

.main-content {
    min-height: calc(100vh - 400px);
    padding: 0;
    background: var(--light-gray);
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
}

/* Widget Card Styles */
.widget-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.widget-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.widget-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
}

.widget-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.widget-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.widget-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

/* Announcement Item */
.announcement-item,
.news-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.announcement-item:last-child,
.news-item:last-child {
    border-bottom: none;
}

.announcement-item:hover,
.news-item:hover {
    padding-left: 1rem;
    background: rgba(0, 169, 206, 0.05);
}

.announcement-date,
.news-date {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.announcement-title,
.news-title {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.announcement-excerpt,
.news-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Event Card */
.event-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.event-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    min-width: 70px;
}

.event-day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.event-month {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.event-info {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.event-info i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    width: 20px;
}

.btn-view-more {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-view-more:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

/* ===================================
   Footer Styles
   =================================== */

.footer-section {
    background: var(--primary-color);
    color: var(--white);
     
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-about h5,
.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social .social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ===================================
   Responsive Styles
   =================================== */

@media (max-width: 991.98px) {
    .university-name {
        font-size: 1rem;
    }

    .department-name {
        font-size: 1.6rem;
    }

    .header-logo {
        width: 70px;
        height: 70px;
    }

    .main-nav .nav-link {
        padding: 0.8rem 1rem !important;
    }

    .main-nav .nav-link::before {
        display: none;
    }

    .main-nav .dropdown-menu {
        --bs-dropdown-bg: rgba(0, 31, 63, 0.98);
        background-color: rgba(0, 31, 63, 0.98);
    }

    .btn-lang {
        margin: 1rem 0;
    }

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

@media (max-width: 767.98px) {
    /* Mobile header — compact single row */
    .top-header .row > div {
        text-align: left !important;
    }

    .top-header .d-flex {
        justify-content: flex-start;
    }

    .header-brand {
        flex-wrap: nowrap;
        align-items: center;
    }

    .header-logo {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .header-text {
        margin-top: 0;
        min-width: 0;
        overflow: hidden;
    }

    .university-name {
        font-size: 0.72rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .department-name {
        font-size: 0.9rem;
        font-weight: 700;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .top-header {
        padding: 0;
    }

    .top-header .py-3 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    .widget-card {
        padding: 1.5rem;
    }

    .widget-title {
        font-size: 1.2rem;
    }

    .event-image {
        height: 180px;
    }

    /* Sticky header on mobile */
    .header-section {
        position: sticky;
        top: 0;
        z-index: 1020;
    }
}

@media (max-width: 575.98px) {
    .main-content {
        padding: 2rem 0;
    }
    
    .widget-card {
        padding: 1rem;
    }
    
    .widget-icon {
        width: 40px;
        height: 40px;
    }
    
    .widget-icon i {
        font-size: 1.2rem;
    }
    
    .event-image {
        height: 150px;
    }
    
    .event-date-badge {
        padding: 0.8rem;
        min-width: 60px;
    }
    
    .event-day {
        font-size: 1.5rem;
    }
    
    .event-month {
        font-size: 0.8rem;
    }
}

/* ===================================
   Animation Classes
   =================================== */

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===================================
   News Section - Homepage
   =================================== */

.news-main-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

.news-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
}

.section-top-btn {
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.section-top-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* News Main Card */
.news-main-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    background: var(--white);
}

.news-card-image {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-main-card:hover .news-card-image img {
    transform: scale(1.03);
}

/* Nav overlay buttons on image */
.news-nav-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    pointer-events: none;
    z-index: 5;
}

.news-card-nav-btn {
    pointer-events: all;
    width: 40px;
    height: 40px;
    background: rgba(0, 51, 102, 0.5);
    border: 2px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-nav-btn:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* News Card Content (below image) */
.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-card-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--primary-color);
    color: var(--white);
}

.news-date-badge-white {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
}

.news-day-large {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.news-month-small {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.news-content-text {
    flex: 1;
    min-width: 0;
}

.news-category-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.news-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.3rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-excerpt {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.news-arrow {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

/* ===================================
   Announcements Section - Homepage
   =================================== */

.announcements-section {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.announcements-section-header {
    margin-bottom: 0.8rem;
}

.announcements-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: var(--primary-color);
}

.announcement-list-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    transition: background 0.2s ease;
    cursor: pointer;
}

.announcement-list-item:last-child {
    border-bottom: none;
}

.announcement-list-item:hover {
    background: #004080;
    color: var(--white);
    text-decoration: none;
}

.announcement-date-badge-white {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 0.4rem 0.5rem;
}

.announcement-list-item .news-day-large {
    font-size: 1.3rem;
    color: var(--white);
}

.announcement-list-item .news-month-small {
    color: rgba(255,255,255,0.85);
}

.announcement-text-content {
    flex: 1;
    min-width: 0;
}

.announcement-text {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--white);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.announcement-arrow {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--secondary-color);
}

/* ===================================
   Events Home Section - Homepage
   =================================== */

.events-home-section {
    background: #f3f3f3;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.events-home-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.events-home-left {
    flex: 1;
    min-width: 200px;
}

.events-home-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.3rem;
}

.events-home-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

.events-home-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
}

.events-home-nav {
    display: flex;
    gap: 0.4rem;
}

.events-home-nav-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.events-home-nav-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.events-home-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}

.events-home-btn-outline {
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 0.45rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.events-home-btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.events-home-btn-primary {
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--white);
    background: var(--primary-color);
    padding: 0.45rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.events-home-btn-primary:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
}

@media (max-width: 575.98px) {
    .events-home-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    .events-home-title-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .events-home-title {
        font-size: 1.3rem;
    }
    .events-home-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }
    .events-home-actions {
        width: 100%;
    }
}

/* Events Home Cards Grid */
.events-home-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 12px;
}

.events-home-scroll::-webkit-scrollbar {
    display: none;
}

.events-home-grid {
    display: flex;
    gap: 1rem;
    min-width: max-content;
}

.events-home-card {
    width: 300px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.events-home-card:hover {
}

.events-home-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #e8eef5;
}

.events-home-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.events-home-card:hover .events-home-image img {
}

.events-home-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,0.95);
    color: var(--primary-color);
    border-radius: 10px;
    padding: 0.45rem 0.7rem;
    text-align: center;
    min-width: 54px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.events-home-date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
}

.events-home-date-month {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: capitalize;
    margin-top: 2px;
    color: var(--secondary-color);
}

.events-home-content {
    padding: 1rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.events-home-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.events-home-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.9rem;
    flex: 1;
}

.events-home-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.35;
}

.events-home-meta-item i {
    color: var(--secondary-color);
    font-size: 0.8rem;
    width: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.events-home-detail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 7px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
    letter-spacing: 0.03em;
    width: 100%;
    text-align: center;
}

.events-home-detail-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* ===================================
   News List Page (haberler.php)
   =================================== */

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.06);
}

.news-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.news-content {
    padding: 1.2rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 0.7rem;
    flex-wrap: wrap;
}

.news-meta i {
    color: var(--secondary-color);
    margin-right: 3px;
}

.news-content .news-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.news-content .news-card-excerpt {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.btn-read-more:hover {
    color: var(--primary-color);
}

/* ===================================
   Announcements List Page
   =================================== */

.announcement-date-large {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    text-align: center;
    display: inline-block;
}

.date-day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.date-month {
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
    margin-top: 4px;
}

.announcement-detail-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.announcement-detail-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.6rem;
}

.announcement-detail-meta i {
    color: var(--secondary-color);
}

.announcement-detail-text {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* ===================================
   Events List Page (etkinlikler.php)
   =================================== */

.events-header {
    margin-bottom: 1.5rem;
}

.events-main-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

.events-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
}

.events-header-buttons {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-events-outline {
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 0.45rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-events-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-events-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    padding: 0.45rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-events-primary:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
}

.events-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 2rem;
}

.events-scroll-container::-webkit-scrollbar {
    display: none;
}

.events-scroll-wrapper {
    display: flex;
    gap: 1rem;
    min-width: max-content;
}

.event-horizontal-card {
    width: 300px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.event-horizontal-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.event-horizontal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-horizontal-card:hover .event-horizontal-image img {
    transform: scale(1.06);
}

.event-date-badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    text-align: center;
    min-width: 50px;
}

.date-top .date-day {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    display: block;
    background: none;
    padding: 0;
    border-radius: 0;
    text-align: center;
    color: inherit;
}

.date-bottom .date-month {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
    color: inherit;
    text-align: center;
}

.event-horizontal-content {
    padding: 0.9rem 1rem;
}

.event-category-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.event-horizontal-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

.event-horizontal-location {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.event-horizontal-meta {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.event-horizontal-meta i {
    color: var(--secondary-color);
    margin-right: 4px;
}

.event-horizontal-desc {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.event-location-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.75rem;
}

/* ===================================
   Section Header / Breadcrumb Styles
   =================================== */

.news-section-header .section-top-btn,
.announcements-section-header .section-top-btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.9rem;
}


/* ===================================
   Page Header & Breadcrumb
   =================================== */

.page-header-section {
    background: #ffffff;
    padding: 1.4rem 0 1.2rem;
    margin-bottom: 0;
    border-bottom: 1px solid #e8edf2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.page-header-section .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
    padding-bottom: 0;
    border-left: 4px solid var(--secondary-color);
    padding-left: 0.75rem;
}

.page-header-section .section-title::after {
    display: none;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0 0 0 1.1rem;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    font-size: 0.8rem;
    font-weight: 500;
}

.breadcrumb-item a {
    color: #6c90b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-size: 1rem;
    font-weight: 400;
    color: #b0c4d8;
    padding: 0 0.4rem;
    line-height: 1;
}

/* Content area spacing after page header */
.main-content > .container:first-child {
    padding-top: 2rem;
}


/* ===================================
   Announcement List Row
   =================================== */

.announcement-list-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--white);
    border-radius: 10px;
    padding: 1.2rem 1.4rem;
    margin-bottom: 0.75rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border-left: 4px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.announcement-list-row:hover {
    border-left-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateX(4px);
    color: inherit;
    text-decoration: none;
}

.alr-date {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    min-width: 56px;
    text-align: center;
}

.alr-day {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.alr-month {
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,0.85);
}

.alr-year {
    font-size: 0.65rem;
    font-weight: 400;
    display: block;
    color: rgba(255,255,255,0.7);
}

.alr-image {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}

.alr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.announcement-list-row:hover .alr-image img {
    transform: scale(1.06);
}

.alr-body {
    flex: 1;
    min-width: 0;
}

.alr-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.3rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.alr-excerpt {
    font-size: 0.82rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.alr-arrow {
    flex-shrink: 0;
    color: var(--secondary-color);
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.announcement-list-row:hover .alr-arrow {
    transform: translateX(4px);
}

/* ===================================
   Detail Article (duyuru/haber detay)
   =================================== */

.detail-article {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.detail-article-image {
    width: 100%;
    max-height: 420px;
    overflow: hidden;
}

.detail-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-article-body {
    padding: 2rem 2.5rem;
}

.detail-article-meta {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.detail-article-meta i {
    color: var(--secondary-color);
}

.detail-article-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.detail-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.detail-article-content h1,
.detail-article-content h2,
.detail-article-content h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-back:hover {
    background: var(--primary-color);
    color: var(--white);
}

@media (max-width: 576px) {
    .detail-article-body {
        padding: 1.2rem 1rem;
    }

    .announcement-list-row {
        gap: 0.8rem;
        padding: 0.9rem 1rem;
    }

    .alr-day { font-size: 1.3rem; }
}


/* ===================================
   Detail Page - Sidebar Layout
   =================================== */

/* Sol sidebar - resim */
.detail-sidebar-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
    background: #f0f4f8;
    border: 1px solid rgba(0,51,102,0.08);
}

.detail-sidebar-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.detail-sidebar-image:hover img {
    transform: scale(1.02);
}

/* Sol sidebar - diğer duyurular listesi */
.detail-sidebar-list {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.detail-sidebar-list-header {
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.85rem 1.1rem;
    border-bottom: 3px solid var(--secondary-color);
}

.detail-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f4f8;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.detail-sidebar-item:last-of-type {
    border-bottom: none;
}

.detail-sidebar-item:hover,
.detail-sidebar-item.active {
    background: #f0f6ff;
    color: inherit;
    text-decoration: none;
}

.detail-sidebar-item.active .dsi-title {
    color: var(--secondary-color);
    font-weight: 600;
}

.dsi-date {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 6px;
    padding: 0.3rem 0.5rem;
    min-width: 36px;
    text-align: center;
}

.dsi-day {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.dsi-month {
    font-size: 0.58rem;
    font-weight: 500;
    text-transform: uppercase;
    display: block;
    color: rgba(255,255,255,0.85);
}

.dsi-title {
    flex: 1;
    font-size: 0.8rem;
    color: var(--text-dark);
    line-height: 1.35;
    min-width: 0;
}

.dsi-arrow {
    flex-shrink: 0;
    font-size: 0.65rem;
    color: var(--secondary-color);
    opacity: 0.6;
}

.detail-sidebar-item:hover .dsi-arrow {
    opacity: 1;
}

.detail-sidebar-all {
    padding: 0.75rem 1rem;
    border-top: 1px solid #e8edf2;
    text-align: center;
}

/* Sağ içerik kartı */
.detail-content-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    min-height: 300px;
}

@media (max-width: 991px) {
    .detail-sidebar-image img {
        object-fit: contain;
    }
    .detail-content-card {
        padding: 1.2rem 1rem;
    }
}


/* ===================================
   Lightbox
   =================================== */

.detail-sidebar-image img {
    cursor: zoom-in;
}

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: lbFadeIn 0.2s ease;
}

.lightbox-overlay.active {
    display: flex;
}

@keyframes lbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox-container {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-container img {
    max-width: 90vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: lbZoomIn 0.25s ease;
}

@keyframes lbZoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.lightbox-close {
    position: fixed;
    top: 18px;
    right: 24px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.3);
}


/* ===================================
   Announcements Card Grid
   =================================== */

.ann-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ann-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
    color: inherit;
    text-decoration: none;
}

.ann-card-image {
    position: relative;
    background: #eef2f7;
}

.ann-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.ann-card:hover .ann-card-image img {
    transform: scale(1.02);
}

.ann-card-no-image {
    font-size: 3rem;
    color: #c4d0e0;
    padding: 2.5rem;
}

.ann-card-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 7px;
    padding: 0.35rem 0.6rem;
    text-align: center;
    min-width: 44px;
}

.ann-day {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.ann-month {
    font-size: 0.62rem;
    font-weight: 500;
    text-transform: uppercase;
    display: block;
    color: rgba(255,255,255,0.85);
}

.ann-card-body {
    padding: 1.1rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ann-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ann-card-excerpt {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.55;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.ann-card-read {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: auto;
}

.ann-card:hover .ann-card-read {
    color: var(--primary-color);
}


/* ===================================
   Empty / No Content State
   =================================== */

.detail-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-light);
}

.detail-empty-state i {
    font-size: 3.5rem;
    color: #cdd5e0;
    margin-bottom: 1rem;
}

.detail-empty-state p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 440px;
    margin: 0;
    color: #6b7a90;
}

/* ===================================
   Events List Page - Grid Cards
   =================================== */

.event-grid-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,0.09);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

.event-grid-image-wrap {
    position: relative;
    display: block;
    height: 200px;
    overflow: hidden;
}

.event-grid-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-grid-card:hover .event-grid-image-wrap img {
    transform: scale(1.06);
}

.event-grid-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    text-align: center;
    min-width: 56px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

.event-grid-day {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
}

.event-grid-month {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1px;
    color: var(--secondary-color);
}

.event-grid-year {
    display: block;
    font-size: 0.6rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    margin-top: 1px;
}

.event-grid-body {
    padding: 1rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-grid-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.6rem;
}

.event-grid-meta-item {
    font-size: 0.78rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.event-grid-meta-item i {
    color: var(--secondary-color);
    font-size: 0.75rem;
}

.event-grid-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.event-grid-title a {
    color: var(--primary-color);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-grid-title a:hover {
    color: var(--secondary-color);
}

.event-grid-desc {
    font-size: 0.83rem;
    color: var(--text-light);
    line-height: 1.55;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

/* ===================================
   Event Detail - Info Box (Takvim)
   =================================== */

.event-info-box {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.event-info-calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 1.5rem;
    background: var(--secondary-color);
    min-width: 90px;
    text-align: center;
    gap: 0;
}

.eic-month {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.85);
}

.eic-day {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--white);
    margin: 0.1rem 0;
}

.eic-year {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
}

.event-info-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    flex: 1;
}

.event-info-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.9);
}

.event-info-row i {
    color: var(--secondary-color);
    font-size: 0.9rem;
    width: 16px;
    flex-shrink: 0;
}

/* ===================================
   Events Calendar Page
   =================================== */

.cal-wrapper {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 1.5rem;
}

.cal-nav-btn {
    color: var(--white);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    text-decoration: none;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.cal-nav-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.cal-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
    text-align: center;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.cal-grid-header {
    background: #0d2a57;
}

.cal-day-name {
    text-align: center;
    padding: 0.55rem 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cal-grid-body {
    padding: 0.6rem;
    gap: 5px;
    background: #f4f7fb;
}

.cal-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: default;
    position: relative;
    transition: all 0.2s ease;
    background: var(--white);
    gap: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.cal-cell.cal-empty {
    background: transparent;
    box-shadow: none;
}

.cal-day-num {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1;
}

.cal-cell.is-today {
    background: rgba(0, 180, 216, 0.1);
    border: 2px solid var(--secondary-color);
}

.cal-cell.is-today .cal-day-num {
    color: var(--secondary-color);
    font-weight: 700;
}

.cal-cell.has-event {
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(1,56,110,0.3);
}

.cal-cell.has-event .cal-day-num {
    color: var(--white);
    font-weight: 700;
}

.cal-cell.has-event:hover {
    background: var(--secondary-color);
    transform: scale(1.12);
    z-index: 2;
    box-shadow: 0 4px 14px rgba(0,180,216,0.45);
}

.cal-event-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    display: block;
}

.cal-footer {
    padding: 0.75rem 1.5rem;
    font-size: 0.82rem;
    color: var(--text-light);
    border-top: 1px solid #e8edf2;
    background: var(--white);
}

/* ===================================
   Event Preview Panel (Calendar Hover)
   =================================== */

.event-preview-panel {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    min-height: 320px;
    position: sticky;
    top: 20px;
}

.epp-placeholder {
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--text-light);
}

.epp-placeholder > i {
    font-size: 2.5rem;
    color: #cdd5e0;
    margin-bottom: 0.8rem;
    display: block;
}

.epp-placeholder > p {
    font-size: 0.85rem;
    color: #8a97a8;
    margin-bottom: 0;
}

.epp-list {
    text-align: left;
    border-top: 1px solid #e8edf2;
    padding-top: 0.75rem;
}

.epp-list-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f4f8;
    color: var(--text-dark);
    transition: color 0.2s;
}

.epp-list-item:last-child {
    border-bottom: none;
}

.epp-list-item:hover .epp-list-title {
    color: var(--secondary-color);
}

.epp-list-day {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
}

.epp-list-title {
    font-size: 0.8rem;
    color: var(--text-dark);
    line-height: 1.3;
    flex: 1;
    transition: color 0.2s;
}

.epp-list-arrow {
    font-size: 0.65rem;
    color: var(--secondary-color);
    opacity: 0.5;
    flex-shrink: 0;
}

.epp-card {
    padding: 0;
}

.epp-event-item + .epp-event-item {
    border-top: 1px solid #f0f4f8;
}

.epp-image {
    height: 190px;
    overflow: hidden;
}

.epp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.epp-event-item:hover .epp-image img {
    transform: scale(1.04);
}

.epp-body {
    padding: 1rem 1.2rem 1.2rem;
}

.epp-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.epp-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.7rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.epp-meta i {
    color: var(--secondary-color);
    width: 14px;
    margin-right: 4px;
}

.epp-desc {
    font-size: 0.83rem;
    color: var(--text-light);
    line-height: 1.55;
    margin-bottom: 0;
}

/* ===================================
   Events List (Timeline Style)
   =================================== */

.evl-month-group {
    margin-bottom: 1.5rem;
}

.evl-month-pill {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 1.2rem;
    border-radius: 20px;
    margin-bottom: 0.6rem;
    letter-spacing: 0.04em;
}

.evl-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    border: 1px solid #edf2f7;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.evl-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 16px rgba(0,180,216,0.15);
    transform: translateX(4px);
}

.evl-item.evl-past {
    opacity: 0.65;
    border-color: #dde3ec;
}

.evl-item.evl-past:hover {
    opacity: 0.85;
}

.evl-date-badge {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
    min-width: 56px;
    text-align: center;
}

.evl-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.evl-month {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary-color);
    margin-top: 2px;
}

.evl-year {
    display: block;
    font-size: 0.58rem;
    color: rgba(255,255,255,0.65);
}

.evl-body {
    flex: 1;
    min-width: 0;
}

.evl-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
    line-height: 1.35;
}

.evl-item:hover .evl-title {
    color: var(--secondary-color);
}

.evl-desc {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.evl-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1rem;
    font-size: 0.78rem;
    color: var(--text-light);
}

.evl-meta i {
    color: var(--secondary-color);
    margin-right: 3px;
}

.evl-arrow {
    font-size: 0.7rem;
    color: #cdd5e0;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}

.evl-item:hover .evl-arrow {
    color: var(--secondary-color);
    transform: translateX(3px);
}

/* ===================================
   Mini Calendar (Sidebar)
   =================================== */

.mini-cal-today-bar {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.mini-cal-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}

.mcf-btn {
    border: 1px solid #dde3ec;
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
}

.mcf-btn:hover,
.mcf-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.mini-cal-search .form-control {
    border-radius: 6px;
    font-size: 0.83rem;
}

.mini-cal-wrapper {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,0.09);
}

.mini-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #edf2f7;
}

.mini-cal-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.04em;
}

.mini-cal-nav {
    color: var(--text-light);
    font-size: 0.75rem;
    text-decoration: none;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #dde3ec;
    transition: all 0.2s ease;
}

.mini-cal-nav:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.mini-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.mini-cal-grid-header {
    background: #f4f7fb;
    padding: 0.3rem 0.5rem 0.2rem;
}

.mini-cal-dname {
    font-size: 0.62rem;
    font-weight: 700;
    color: #8a97a8;
    text-transform: uppercase;
    padding: 0.2rem 0;
}

.mini-cal-grid-body {
    padding: 0.5rem;
    gap: 3px;
    background: #f4f7fb;
}

.mini-cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-dark);
    background: var(--white);
    transition: all 0.2s ease;
    position: relative;
    cursor: default;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.mini-cal-day.is-today {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    font-weight: 800;
    background: rgba(0,180,216,0.06);
}

.mini-cal-day.has-event {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(1,56,110,0.25);
}

.mini-cal-day.has-event:hover {
    background: var(--secondary-color);
    transform: scale(1.15);
    z-index: 2;
}

.mini-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    display: block;
    margin-top: 1px;
}

/* ===================================
   Contact Page
   =================================== */

.contact-info-card {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,51,102,0.18);
}

.contact-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-info-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    line-height: 1.35;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.contact-info-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.contact-info-item a,
.contact-info-item span {
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.contact-info-item a:hover {
    color: var(--secondary-color);
}

.contact-directions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.contact-directions-btn:hover {
    background: #00a0c2;
    color: var(--white);
    transform: translateY(-2px);
}

/* Form Kartı */
.contact-form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 1px solid #edf2f7;
}

.contact-form-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
}

.cf-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cf-field label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cf-field input,
.cf-field textarea {
    width: 100%;
    border: 1.5px solid #dde3ec;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    font-family: inherit;
    resize: vertical;
}

.cf-field input:focus,
.cf-field textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0,180,216,0.12);
    background: var(--white);
}

.cf-field input::placeholder,
.cf-field textarea::placeholder {
    color: #b0bec5;
}

.cf-submit-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 0.8rem 2rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.cf-submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,180,216,0.3);
}

/* ===== Contact Map ===== */
.contact-map-section {
    width: 100%;
    line-height: 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.contact-map-section iframe {
    display: block;
    width: 100%;
}

/* contact-card-map */
.contact-card-map {
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
    line-height: 0;
    flex-shrink: 0;
}
.contact-card-map iframe {
    display: block;
    width: 100%;
}

/* ===================================
   Mobile Hamburger Button
   =================================== */

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Language Button (header, xs only) */
.btn-lang-mobile {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.3rem 0.65rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
    line-height: 1.4;
}

.btn-lang-mobile:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* ===================================
   Mobile Sidebar
   =================================== */

.mobile-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9990;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-sidebar-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: var(--primary-color);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-sidebar.open {
    transform: translateX(0);
}

/* Sidebar Header */
.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    gap: 0.75rem;
}

.mobile-sidebar-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.mobile-sidebar-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 2px;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.mobile-sidebar-close:hover {
    color: var(--white);
    transform: rotate(90deg);
}

/* Sidebar Nav List */
.mobile-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-link-wrapper {
    display: flex;
    align-items: stretch;
}

.mobile-nav-link {
    flex: 1;
    display: block;
    padding: 0.85rem 1.25rem;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    line-height: 1.4;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* Toggle arrow button */
.mobile-nav-toggle {
    background: none;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    padding: 0 1.1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.mobile-nav-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.mobile-nav-toggle.active i {
    transform: rotate(180deg);
}

/* Submenu */
.mobile-nav-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.18);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-nav-submenu.open {
    max-height: 1000px;
}

.mobile-nav-submenu .mobile-nav-link {
    padding-left: 2.25rem;
    font-size: 0.85rem;
    font-weight: 400;
}

.mobile-nav-submenu .mobile-nav-submenu .mobile-nav-link {
    padding-left: 3.25rem;
}

/* Sidebar Footer */
.mobile-sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-lang-sidebar {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.35rem 0.9rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-lang-sidebar:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.mobile-sidebar-social {
    display: flex;
    gap: 0.4rem;
    width: 100%;
}

.sidebar-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background 0.2s, color 0.2s;
}

.sidebar-social-icon:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Body lock when sidebar open */
body.sidebar-open {
    overflow: hidden;
}

/* Desktop: hide sidebar elements always */
@media (min-width: 768px) {
    .mobile-sidebar-overlay,
    .mobile-sidebar {
        display: none !important;
    }
}

/* ===== announcements_full widget ===== */
.af-section {
    margin-bottom: 48px;
}
.af-header {
    margin-bottom: 24px;
}
.af-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a2342;
}
.af-card {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.af-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.14);
}
.af-image-wrap {
    width: 100%;
    overflow: hidden;
    max-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}
.af-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.af-body {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
}
.af-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 44px;
    background: #0a2342;
    border-radius: 8px;
    padding: 8px 6px;
    flex-shrink: 0;
}
.af-day {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.af-month {
    font-size: 0.7rem;
    font-weight: 600;
    color: #7ec8e3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.af-year {
    font-size: 0.65rem;
    color: #aaa;
    margin-top: 2px;
}
.af-text {
    flex: 1;
}
.af-item-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0a2342;
    margin-bottom: 6px;
    line-height: 1.4;
}
.af-card:hover .af-item-title {
    color: #1a6ea8;
}
.af-summary {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ===== announcements_full — sol önizleme + sağ liste hover widget ===== */
.apv-section {
    margin-bottom: 48px;
}
.apv-header {
    margin-bottom: 20px;
}
.apv-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a2342;
}
.apv-layout {
    display: flex;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    background: #fff;
    min-height: 420px;
}
.apv-preview-col {
    flex: 0 0 55%;
    position: relative;
    background: #eee;
    overflow: hidden;
}
.apv-preview-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}
.apv-preview-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #f5f5f5;
    transition: opacity .3s;
    min-height: 420px;
}
.apv-preview-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
}
.apv-preview-badge {
    display: inline-block;
    background: #1a6ea8;
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.apv-preview-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 8px 0 0;
    line-height: 1.4;
}
.apv-list-col {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #f0f0f0;
    overflow-y: auto;
}
.apv-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
    border-left: 3px solid transparent;
}
.apv-list-item:last-child {
    border-bottom: none;
}
.apv-list-item:hover,
.apv-list-item.apv-active {
    background: #f4f8ff;
    border-left-color: #1a6ea8;
}
.apv-item-date {
    flex-shrink: 0;
    background: #0a2342;
    border-radius: 8px;
    padding: 8px 6px;
    text-align: center;
    min-width: 44px;
}
.apv-item-day {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.apv-item-month {
    display: block;
    font-size: .65rem;
    font-weight: 600;
    color: #7ec8e3;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.apv-item-text {
    flex: 1;
    overflow: hidden;
}
.apv-item-title {
    font-size: .9rem;
    font-weight: 700;
    color: #0a2342;
    margin: 0 0 3px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.apv-list-item:hover .apv-item-title,
.apv-list-item.apv-active .apv-item-title {
    color: #1a6ea8;
}
.apv-item-summary {
    font-size: .78rem;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.apv-item-arrow {
    color: #ccc;
    font-size: .8rem;
    flex-shrink: 0;
    transition: color .15s, transform .15s;
}
.apv-list-item:hover .apv-item-arrow,
.apv-list-item.apv-active .apv-item-arrow {
    color: #1a6ea8;
    transform: translateX(3px);
}
@media (max-width: 767px) {
    .apv-layout {
        flex-direction: column;
    }
    .apv-preview-col {
        flex: none;
        min-height: 240px;
    }
    .apv-preview-img {
        min-height: 240px;
    }
    .apv-list-col {
        flex: none;
    }
}

/* ===================================
   Announcements Full Slider (afs)
   =================================== */
.afs-section {
    width: 100%;
    margin-bottom: 2rem;
}

.afs-inner {
    position: relative;
    overflow: hidden;
}

.afs-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 40px;
    background: #f0f2f5;
    border-radius: 0 0 0 18px;
    z-index: 0;
}

.afs-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    gap: 2rem;
    padding: 2.5rem 2rem 0 2rem;
}

.afs-text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 40px;
    min-width: 0;
}

.afs-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 1rem;
    width: fit-content;
}

.afs-date {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.afs-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.afs-summary {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.afs-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}

.afs-link:hover {
    color: var(--primary-color);
}

.afs-arrows {
    display: flex;
    gap: 0.8rem;
}

.afs-arrow-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.afs-arrow-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.afs-img-col {
    flex-shrink: 0;
    width: 400px;
    display: flex;
    align-items: flex-end;
}

.afs-img-col a {
    display: block;
    width: 100%;
}

.afs-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: contain;
}

.afs-img-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
}

.afs-title-link {
    display: block;
    color: inherit;
}

.afs-title-link:hover .afs-title {
    color: var(--secondary-color);
}

/* Animasyon */
.afs-text-col.afs-animate {
    animation: afsFadeInLeft 0.4s ease;
}

.afs-img-col.afs-animate {
    animation: afsFadeInRight 0.4s ease;
}

@keyframes afsFadeInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes afsFadeInRight {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 991px) {
    .afs-content {
        flex-direction: column;
        padding: 1.5rem 1.2rem 0 1.2rem;
    }
    .afs-img-col {
        width: 100%;
    }
    .afs-title {
        font-size: 1.25rem;
    }
    .afs-bg {
        bottom: 0;
        border-radius: 0 0 12px 0;
    }
    .afs-text-col {
        padding-bottom: 1rem;
    }
    .afs-img {
        border-radius: 12px 12px 0 0;
    }
}

@media (max-width: 575px) {
    .afs-content {
        padding: 1.2rem 1rem 0 1rem;
    }
    .afs-title {
        font-size: 1.1rem;
    }
    .afs-arrow-btn {
        width: 44px;
        height: 44px;
        font-size: 0.95rem;
    }
}

/* ===================================
   Events v2 — Sol liste + Orta resim + Sağ takvim
   =================================== */
/* ===================================
   News Full Width Slider (nf-)
   =================================== */
.nf-section {
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.nf-inner {
    position: relative;
}

.nf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.nf-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nf-main-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    text-transform: uppercase;
}

.nf-arrows {
    display: flex;
    gap: 0.5rem;
}

.nf-slider {
    position: relative;
}

.nf-slider.nf-animate {
    animation: nfFadeIn 0.4s ease;
}

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

.nf-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: var(--primary-color);
    transition: box-shadow 0.3s ease;
}

.nf-card:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,0.18);
    color: inherit;
    text-decoration: none;
}

.nf-img-wrap {
    width: 100%;
    aspect-ratio: 1300 / 400;
    overflow: hidden;
}

.nf-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nf-card:hover .nf-img {
    transform: scale(1.03);
}

.nf-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
}

.nf-date-badge {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
}

.nf-day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
}

.nf-month {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-top: 2px;
}

.nf-text {
    flex: 1;
    min-width: 0;
}

.nf-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.25rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nf-summary {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nf-arrow {
    flex-shrink: 0;
    color: var(--secondary-color);
    font-size: 1rem;
    transition: transform 0.2s;
}

.nf-card:hover .nf-arrow {
    transform: translateX(3px);
}

@media (max-width: 767px) {
    .nf-img-wrap {
        aspect-ratio: 16 / 9;
    }
    .nf-info {
        padding: 0.8rem 1rem;
    }
    .nf-title {
        font-size: 0.95rem;
    }
}

/* ===================================
   Events V2 Section (ev2-)
   =================================== */
.ev2-section {
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 2rem;
    margin-top: 1rem;
}

.ev2-inner {
    position: relative;
    overflow: hidden;
}

.ev2-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 40px;
    background: #f0f2f5;
    border-radius: 0 0 0 18px;
    z-index: 0;
}

.ev2-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem 0.5rem 2rem;
}

.ev2-main-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    text-transform: uppercase;
}

.ev2-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ev2-see-all {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 24px;
    padding: 0.4rem 1.2rem;
    transition: background 0.2s, color 0.2s;
}

.ev2-see-all:hover {
    background: var(--primary-color);
    color: #fff;
}

.ev2-arrows {
    display: flex;
    gap: 0.5rem;
}

.ev2-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1rem 2rem 0 2rem;
}

/* Sol: Liste */
.ev2-list-col {
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-bottom: 40px;
    overflow-y: auto;
    max-height: 420px;
}

.ev2-list-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.8rem;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    background: rgba(0, 169, 206, 0.08);
}

.ev2-list-item:hover {
    background: rgba(0, 169, 206, 0.18);
}

.ev2-list-dot {
    display: none;
}

.ev2-list-item.ev2-active {
    color: #fff;
    background: var(--primary-color);
}

.ev2-list-item.ev2-active .ev2-list-dot {
    display: none;
}

.ev2-list-text {
    flex: 1;
    min-width: 0;
}

/* Orta: Resim */
.ev2-img-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    margin-top: -50px;
}

.ev2-img-link {
    display: block;
    width: 90%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.ev2-img {
    width: 100%;
    height: auto;
    display: block;
}

.ev2-img-date {
    display: block;
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.ev2-img-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.35;
}

/* Animasyon */
.ev2-img-col.ev2-animate {
    animation: ev2FadeIn 0.35s ease;
}

@keyframes ev2FadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to   { opacity: 1; transform: scale(1); }
}

/* Sağ: Takvim */
.ev2-cal-col {
    flex: 0 0 260px;
    padding-bottom: 40px;
}

.ev2-cal-wrapper {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,0.09);
}

.ev2-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #edf2f7;
}

.ev2-cal-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.04em;
}

.ev2-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.ev2-cal-grid-header {
    background: #f4f7fb;
    padding: 0.3rem 0.5rem 0.2rem;
}

.ev2-cal-dname {
    font-size: 0.62rem;
    font-weight: 700;
    color: #8a97a8;
    text-transform: uppercase;
    padding: 0.2rem 0;
}

.ev2-cal-grid-body {
    padding: 0.5rem;
    gap: 3px;
    background: #f4f7fb;
}

.ev2-cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-dark);
    background: var(--white);
    border-radius: 6px;
    position: relative;
    cursor: default;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.ev2-cal-day.has-event {
    background: rgba(0,180,216,0.12);
    color: var(--secondary-color);
    font-weight: 700;
    cursor: pointer;
}

.ev2-cal-day.has-event:hover {
    background: rgba(0,180,216,0.25);
    transform: scale(1.1);
    z-index: 2;
}

.ev2-cal-day.is-today {
    border: 2px solid #f39c12;
    color: #f39c12;
    font-weight: 800;
    background: rgba(243,156,18,0.08);
}

.ev2-cal-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: block;
    margin-top: 1px;
}

.ev2-cal-day.is-today .ev2-cal-dot {
    background: var(--secondary-color);
}

.ev2-cal-day.ev2-cal-selected {
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(1,56,110,0.25);
    transform: scale(1.1);
    z-index: 2;
}

.ev2-cal-day.ev2-cal-selected .ev2-cal-dot {
    background: #fff;
}

.ev2-cal-arrows {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

/* Responsive */
@media (max-width: 1199px) {
    .ev2-list-col {
        flex: 0 0 220px;
    }
    .ev2-cal-col {
        flex: 0 0 210px;
    }
}

@media (max-width: 991px) {
    .ev2-content {
        flex-direction: column;
        padding: 1rem 1.2rem 0 1.2rem;
    }
    .ev2-list-col {
        flex: none;
        max-height: none;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.3rem;
        padding-bottom: 0.5rem;
    }
    .ev2-list-item {
        flex: 0 0 auto;
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }
    .ev2-img-col {
        order: -1;
        margin-top: 0;
    }
    .ev2-cal-col {
        flex: none;
        padding-bottom: 1rem;
    }
    .ev2-bg {
        bottom: 0;
        border-radius: 0 0 0 12px;
    }
    .ev2-header {
        padding: 1.2rem 1.2rem 0.5rem 1.2rem;
    }
}

@media (max-width: 575px) {
    .ev2-content {
        padding: 0.8rem 1rem 0 1rem;
    }
    .ev2-header {
        padding: 1rem 1rem 0.5rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .ev2-main-title {
        font-size: 1.15rem;
    }
    .ev2-img-col {
        margin-top: 0;
    }
    .ev2-img-link {
        width: 100%;
    }
}
