/* Modern Responsive Design - Style 2 - Bootstrap Integration */

/* Hero Slide and Video Hero Content - Center Alignment */
.hero-content-inner {
    text-align: center !important;
}

.video-hero-content {
    text-align: center !important;
}

.hero-title {
    text-align: center !important;
}

.hero-description {
    text-align: center !important;
}

.hero-slide.active .hero-title {
    transform: translateY(0px);
    opacity: 1;
}

/* ============================================
   CSS Variables & Base Styles
   ============================================ */
:root {
    /* Dynamic colors from settings - fallback to defaults if not set */
    --oxford-blue: var(--primary-light-color, #f78db3);
    --oxford-light-blue: var(--primary-light-color, #f78db3);
    --oxford-gold: var(--primary-dark-color, #b51768);
    --oxford-cream: #f5f5f0;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Light mode (default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f0;
    --bg-tertiary: #fafafa;
    --text-primary: #333;
    --text-secondary: #666;
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #252525;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --border-color: #404040;
    --card-bg: #2d2d2d;
    --shadow-color: rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    padding-top: 76px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ============================================
   Bootstrap Navbar Customization
   ============================================ */
.navbar {
    background: linear-gradient(135deg, var(--oxford-blue) 0%, #e67ba3 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
}

.navbar-brand {
    padding: 0;
}

.logo-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05) rotate(2deg);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem !important;
    border-radius: 8px;
    transition: var(--transition);
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--white) !important;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 0.75rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Header Controls */
.theme-toggle-desktop {
    display: block;
}

/* Mobile Controls */
.mobile-controls {
    width: 100%;
}

.mobile-controls label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.theme-toggle-mobile {
    width: 100%;
}

.theme-toggle-btn-mobile {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    width: 100%;
}

.theme-toggle-btn-mobile:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.theme-toggle-btn-mobile .theme-icon {
    font-size: 1.2rem;
}

.theme-toggle-btn-mobile .theme-text {
    font-size: 0.9rem;
}

.language-selector-mobile {
    width: 100%;
}

.language-dropdown-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.language-option-mobile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.language-option-mobile:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    transform: translateX(5px);
}

.language-option-mobile.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--oxford-gold);
    color: var(--white);
}

.language-option-mobile .language-flag {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.language-option-mobile span {
    flex: 1;
}

.language-option-mobile .language-check {
    color: var(--oxford-gold);
    flex-shrink: 0;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white);
    font-size: 1.3rem;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1) rotate(15deg);
}

/* Language Selector */
.language-selector-desktop {
    position: relative;
}

.language-dropdown-btn {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
}

.language-dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.language-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    overflow: hidden;
}

.language-dropdown:hover .language-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover,
.language-option.active {
    background: var(--bg-secondary);
    color: var(--oxford-blue);
}

.language-flag {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
}

/* ============================================
   Simple Hero Box with Gradient
   ============================================ */
.simple-hero-box {
    background-color: var(--bg-primary);
    padding: 4rem 0;
    transition: background-color 0.3s ease;
}

.hero-gradient-box {
    background: linear-gradient(180deg, var(--oxford-blue) 0%, var(--oxford-gold) 100%);
    border-radius: 16px;
    padding: 4rem 3rem;
    box-shadow: 0 8px 30px color-mix(in srgb, var(--oxford-blue) 30%, transparent);
    transition: var(--transition);
}

.hero-gradient-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px color-mix(in srgb, var(--oxford-blue) 40%, transparent);
}

.hero-box-content {
    text-align: center;
    color: var(--white);
}

.hero-box-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-box-text {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
}

.hero-box-button {
    display: inline-block;
    background-color: var(--oxford-gold);
    color: var(--white);
    padding: 0.875rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px color-mix(in srgb, var(--oxford-gold) 30%, transparent);
}

.hero-box-button:hover {
    background-color: color-mix(in srgb, var(--oxford-gold) 90%, black);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--oxford-gold) 40%, transparent);
    color: var(--white);
}

/* Responsive adjustments for hero box */
@media (max-width: 768px) {
    .simple-hero-box {
        padding: 2.5rem 0;
    }
    
    .hero-gradient-box {
        padding: 2.5rem 1.5rem;
        border-radius: 12px;
    }
    
    .hero-box-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-box-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-box-button {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-gradient-box {
        padding: 2rem 1.25rem;
    }
    
    .hero-box-title {
        font-size: 1.5rem;
    }
    
    .hero-box-text {
        font-size: 0.95rem;
    }
}

/* ============================================
   Page Header Text - About Us
   ============================================ */
.page-header-text p {
    color: #000000 !important;
}

[data-theme="dark"] .page-header-text p {
    color: var(--text-primary) !important;
}

/* ============================================
   Modern Categories & Posts Section
   ============================================ */
.categories-section {
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.categories-sidebar-modern {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px var(--shadow-color);
    position: sticky;
    top: 100px;
    transition: var(--transition);
}

.categories-sidebar-modern:hover {
    box-shadow: 0 4px 20px var(--shadow-color);
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--oxford-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--oxford-gold);
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--oxford-gold);
}

.category-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item-modern {
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.category-item-modern:last-child {
    margin-bottom: 0;
}

.category-item-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.category-item-header-modern:hover {
    background-color: color-mix(in srgb, var(--oxford-blue) 10%, transparent);
    border-color: var(--oxford-blue);
}

.category-item-modern.active .category-item-header-modern {
    background-color: var(--oxford-blue);
    color: var(--white);
    border-color: var(--oxford-blue);
}

.category-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.category-item-modern.active .category-name {
    color: var(--white);
}

.list-arrow-modern {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.category-item-modern.active .list-arrow-modern {
    color: var(--white);
}

.list-arrow-modern svg {
    transition: transform 0.3s ease;
}

.subcategory-list-modern {
    list-style: none;
    padding: 0.5rem 0 0 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.category-item-modern.active .subcategory-list-modern {
    max-height: 1000px;
    padding: 0.5rem 0 0.5rem 1rem;
}

.subcategory-item-modern {
    margin-bottom: 0.25rem;
}

.subcategory-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
    padding-left: 2rem;
}

.subcategory-link::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--oxford-gold);
    opacity: 0;
    transition: var(--transition);
}

.subcategory-link:hover {
    background-color: color-mix(in srgb, var(--oxford-blue) 10%, transparent);
    color: var(--oxford-blue);
    padding-left: 2.25rem;
}

.subcategory-link:hover::before {
    opacity: 1;
}

.subcategory-link.active {
    background-color: color-mix(in srgb, var(--oxford-gold) 15%, transparent);
    color: var(--oxford-gold);
    font-weight: 600;
    padding-left: 2.25rem;
}

.subcategory-link.active::before {
    opacity: 1;
    background-color: var(--oxford-gold);
}

/* Posts Grid Modern */
.posts-main-content-modern {
    min-height: 400px;
}

.posts-grid-modern {
    width: 100%;
}

.post-group-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card-modern {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
}

.post-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow-color);
}

.post-image-wrapper-modern {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--oxford-blue) 0%, var(--oxford-light-blue) 100%);
}

.post-image-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card-modern:hover .post-image-modern {
    transform: scale(1.15);
}

.post-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: var(--transition);
}

.post-card-modern:hover .post-overlay-modern {
    opacity: 1;
}

.post-content-modern {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-meta-modern {
    margin-bottom: 0.75rem;
}

.post-date-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.post-date-modern svg {
    width: 14px;
    height: 14px;
    color: var(--oxford-gold);
}

.post-title-modern {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--oxford-blue);
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.post-card-modern:hover .post-title-modern {
    color: var(--oxford-gold);
}

.read-more-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--oxford-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.read-more-btn-modern svg {
    transition: transform 0.3s ease;
}

.read-more-btn-modern:hover {
    color: var(--oxford-blue);
    gap: 0.75rem;
}

.read-more-btn-modern:hover svg {
    transform: translateX(4px);
}

.empty-state-modern {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state-modern svg {
    margin: 0 auto 1.5rem;
    color: var(--oxford-blue);
    opacity: 0.5;
}

.empty-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .categories-sidebar-modern {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
    
    .post-group-modern {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .categories-sidebar-modern {
        padding: 1.5rem;
    }
    
    .post-group-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-image-wrapper-modern {
        height: 200px;
    }
    
    .post-content-modern {
        padding: 1.25rem;
    }
}

/* Dark Mode Support */
[data-theme="dark"] .categories-sidebar-modern {
    background-color: var(--card-bg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .category-item-header-modern {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .category-item-header-modern:hover {
    background-color: color-mix(in srgb, var(--oxford-blue) 15%, transparent);
}

[data-theme="dark"] .post-card-modern {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .subcategory-link:hover {
    background-color: color-mix(in srgb, var(--oxford-blue) 15%, transparent);
}

/* ============================================
   Posts Section - Bootstrap Cards
   ============================================ */
.latest-section {
    padding: 5rem 0;
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.latest-section:nth-child(even) {
    background-color: var(--bg-secondary);
}

.section-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--oxford-blue);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    text-align: left;
    padding-bottom: 1rem;
    order: 2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: auto;
    transform: none;
    width: 80px;
    height: 4px;
    background: var(--oxford-blue);
    border-radius: 2px;
    box-shadow: 0 0 10px color-mix(in srgb, var(--oxford-blue) 50%, transparent);
}

[data-theme="dark"] .section-title {
    color: var(--white);
}

[data-theme="dark"] .section-title::after {
    background: linear-gradient(90deg, transparent, var(--oxford-blue), transparent);
}

.view-all-link {
    color: var(--oxford-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid transparent;
    order: 1;
}

.view-all-link:hover {
    color: var(--oxford-gold);
    transform: translateX(5px);
    border-color: var(--oxford-gold);
}

[data-theme="dark"] .view-all-link {
    color: var(--white);
}

[data-theme="dark"] .view-all-link:hover {
    color: var(--oxford-gold);
}

/* Bootstrap Card Customization */
.latest-post-card {
    background-color: var(--card-bg) !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-color) !important;
    transition: var(--transition);
    border: 1px solid var(--border-color) !important;
    height: 100%;
}

.latest-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2) !important;
    border-color: var(--oxford-gold) !important;
}

.latest-post-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.latest-post-card:hover .latest-post-image {
    transform: scale(1.1);
}

.latest-post-image-placeholder {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 3rem;
}

.latest-post-content {
    padding: 2rem;
}

.latest-post-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.latest-post-title {
    color: var(--oxford-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

[data-theme="dark"] .latest-post-title {
    color: var(--white);
}

.latest-post-card:hover .latest-post-title {
    color: var(--oxford-gold);
}

.latest-post-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.latest-read-more {
    display: inline-block;
    color: var(--oxford-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    padding-bottom: 0.25rem;
    font-size: 0.95rem;
}

.latest-read-more:hover {
    color: var(--oxford-gold);
    border-bottom-color: var(--oxford-gold);
    transform: translateX(5px);
}

[data-theme="dark"] .latest-read-more {
    color: var(--white);
}

.no-posts-message {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ============================================
   Responsive Breakpoints
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
        left: 0;
        right: auto;
        transform: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem !important;
        text-align: center;
    }
    
    .latest-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-title::after {
        width: 50px;
        height: 3px;
        left: 0;
        right: auto;
        transform: none;
    }
    
    .section-header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-title {
        order: 1;
        width: 100%;
    }
    
    .view-all-link {
        order: 2;
        align-self: flex-end;
    }
    
    .latest-post-image {
        height: 200px;
    }
    
    .latest-post-content {
        padding: 1.5rem;
    }
    
    .latest-post-title {
        font-size: 1.25rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    body {
        padding-top: 65px;
    }
    
    .logo-image {
        width: 45px;
        height: 45px;
    }
    
    .latest-section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title::after {
        width: 40px;
        height: 2px;
        left: 0;
        right: auto;
        transform: none;
    }
    
    .latest-post-content {
        padding: 1.25rem;
    }
    
    .latest-post-title {
        font-size: 1.1rem;
    }
    
    .latest-post-text {
        font-size: 0.9rem;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.latest-post-card {
    animation: fadeInUp 0.6s ease-out both;
}

.latest-post-card:nth-child(1) { animation-delay: 0.1s; }
.latest-post-card:nth-child(2) { animation-delay: 0.2s; }
.latest-post-card:nth-child(3) { animation-delay: 0.3s; }
.latest-post-card:nth-child(4) { animation-delay: 0.4s; }
.latest-post-card:nth-child(5) { animation-delay: 0.5s; }
.latest-post-card:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   Contact Page Styles
   ============================================ */
.contact-page-header {
    background: linear-gradient(135deg, var(--oxford-blue) 0%, var(--oxford-gold) 100%);
    padding: 6rem 0 4rem 0;
    margin-top: 0;
    padding-top: calc(76px + 6rem);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
    filter: brightness(0.5);
}

.contact-page-header .container {
    position: relative;
    z-index: 2;
}

.contact-page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-page-subtitle {
    font-size: 1.25rem;
    color: var(--white);
    opacity: 0.9;
}

.contact-page-subtitle.description-text.description-visible {
    text-align: center;
}

[data-theme="dark"] .contact-page-title,
[data-theme="dark"] .contact-page-subtitle {
    color: var(--white);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

/* Contact Info Card */
.contact-info-card {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px var(--shadow-color) !important;
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-5px);
}

.contact-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--oxford-blue);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.contact-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: auto;
    width: 50px;
    height: 3px;
    background: var(--oxford-blue);
    border-radius: 2px;
}

[data-theme="dark"] .contact-section-title {
    color: var(--white);
}

.contact-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Contact Info Items */
.contact-info-items {
    margin-top: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--oxford-blue) 0%, var(--oxford-gold) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--oxford-blue) 30%, transparent);
}

.contact-info-content {
    flex: 1;
}

.contact-info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--oxford-blue);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .contact-info-label {
    color: var(--oxford-gold);
}

.contact-info-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-info-text a {
    color: var(--oxford-blue);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-text a:hover {
    color: var(--oxford-gold);
    text-decoration: underline;
}

[data-theme="dark"] .contact-info-text a {
    color: var(--white);
}

.contact-social-media {
    flex-wrap: wrap;
}

.contact-social-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--oxford-blue);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.contact-social-icon:hover {
    background: var(--oxford-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px color-mix(in srgb, var(--oxford-blue) 40%, transparent);
    border-color: var(--oxford-blue);
}

/* Contact Form Card */
.contact-form-card {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px var(--shadow-color) !important;
    transition: var(--transition);
}

.contact-form-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-5px);
}

.contact-form-card .form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form-card .form-control {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    transition: var(--transition);
    font-size: 0.95rem;
}

.contact-form-card .form-control:focus {
    background-color: var(--bg-primary);
    border-color: var(--oxford-blue);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--oxford-blue) 25%, transparent);
}

.contact-form-card .form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.contact-form-card textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    background: linear-gradient(135deg, var(--oxford-blue) 0%, var(--oxford-gold) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px color-mix(in srgb, var(--oxford-blue) 30%, transparent);
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, var(--oxford-gold) 0%, var(--oxford-blue) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--oxford-blue) 40%, transparent);
    color: var(--white);
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-form-card .is-invalid {
    border-color: #dc3545;
}

/* Map Section */
.map-section {
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.map-card {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px var(--shadow-color) !important;
    overflow: hidden;
}

.map-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--oxford-blue);
}

[data-theme="dark"] .map-title {
    color: var(--white);
}

.map-iframe-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 0 0 16px 16px;
}

.map-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.map-iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.map-address {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.map-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Contact Responsive */
@media (max-width: 768px) {
    .contact-page-header {
        padding: 5rem 0 3rem 0;
        padding-top: calc(70px + 5rem);
        margin-top: 0;
    }
    
    .contact-page-title {
        font-size: 2rem;
    }
    
    .contact-page-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-section-title {
        font-size: 1.5rem;
    }
    
    .contact-info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .map-title {
        font-size: 1.5rem;
    }
    
    .map-iframe-container,
    .map-iframe {
        height: 350px;
    }
    
    /* Footer Responsive */
    .footer-section h3 {
        text-align: center;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contact-page-header {
        padding: 4rem 0 2.5rem 0;
        padding-top: calc(65px + 4rem);
        margin-top: 0;
    }
    
    .contact-page-title {
        font-size: 1.75rem;
    }
    
    .contact-section-title {
        font-size: 1.25rem;
    }
    
    .contact-info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .map-iframe-container,
    .map-iframe {
        height: 300px;
    }
}

/* ============================================
   Modern Featured Events Section - Expandable Cards
   ============================================ */
.events-highlight-modern {
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.events-carousel-modern {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 2rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.events-carousel-modern::-webkit-scrollbar {
    display: none;
}

.event-card-expandable {
    flex: 0 0 250px;
    min-height: 500px;
    background: #000000;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.6s ease,
                color 0.6s ease,
                box-shadow 0.6s ease;
    box-shadow: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.event-card-expandable:last-child {
    border-right: none;
}

.event-card-expandable.active {
    flex: 0 0 400px;
    background: #ffffff;
    color: #000000 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.event-card-expandable.active * {
    color: #000000 !important;
}

.event-number-expandable {
    position: absolute;
    top: 2.5rem;
    right: 3rem;
    font-size: 8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    font-family: 'Bebas Neue', 'Arial Black', sans-serif;
    letter-spacing: -0.02em;
    z-index: 0;
    pointer-events: none;
    transition: color 0.6s ease;
}

.event-card-expandable.active .event-number-expandable {
    color: #00000030 !important;
}

.event-content-expandable {
    position: relative;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-title-expandable {
    font-size: 2.5rem;
    line-height: 1.1;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Bebas Neue', 'Arial Black', sans-serif;
    letter-spacing: 0.02em;
    margin-top: 1rem;
    text-transform: uppercase;
    transition: color 0.6s ease;
}

.event-card-expandable.active .event-title-expandable {
    color: #000000 !important;
}

.event-description-expandable {
    flex-grow: 1;
}

.event-text-expandable {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    transition: color 0.6s ease;
}

.event-text-expandable.event-text-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-text-expandable.event-text-expanded {
    display: block;
    -webkit-line-clamp: none;
    line-clamp: none;
    overflow: visible;
}

.event-card-expandable.active .event-text-expandable {
    color: #000000 !important;
}

.event-btn-expandable {
    margin-top: auto;
    align-self: flex-start;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
    overflow: hidden;
    z-index: 2;
    cursor: pointer;
    font-family: inherit;
}

.event-btn-expandable.event-toggle-desc-btn {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}

.event-card-expandable.active .event-btn-expandable {
    color: #000000 !important;
    border-color: rgba(0, 0, 0, 0.3);
}

.event-card-expandable.active .event-btn-expandable span {
    color: #000000 !important;
}

.event-btn-expandable:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.event-card-expandable.active .event-btn-expandable:hover {
    border-color: rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.05);
}

.event-link-btn {
    margin-top: 0.5rem;
}

/* Events Expandable Responsive */
@media (max-width: 992px) {
    .event-card-expandable {
        flex: 0 0 220px;
        min-height: 450px;
        padding: 2.5rem 2rem;
    }
    
    .event-card-expandable.active {
        flex: 0 0 350px;
    }
    
    .event-title-expandable {
        font-size: 2rem;
    }
    
    .event-number-expandable {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .events-carousel-modern {
        flex-direction: column;
        gap: 1rem;
    }
    
    .event-card-expandable {
        flex: 1 1 100% !important;
        width: 100%;
        min-height: 400px;
        padding: 2rem 1.75rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .event-card-expandable.active {
        flex: 1 1 100% !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .event-title-expandable {
        font-size: 1.75rem;
    }
    
    .event-text-expandable {
        font-size: 0.95rem;
    }
    
    .event-number-expandable {
        font-size: 5rem;
        top: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 576px) {
    .event-card-expandable {
        min-height: 380px;
        padding: 1.75rem 1.5rem;
    }
    
    .event-title-expandable {
        font-size: 1.5rem;
    }
    
    .event-number-expandable {
        font-size: 4rem;
    }
    
    .event-btn-expandable {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }
}

/* Dark Mode Support for Expandable Cards */
[data-theme="dark"] .event-card-expandable {
    background: #000000;
}

[data-theme="dark"] .event-card-expandable.active {
    background: #ffffff;
    color: #000000 !important;
}

[data-theme="dark"] .event-card-expandable.active * {
    color: #000000 !important;
}

[data-theme="dark"] .event-card-expandable.active .event-title-expandable {
    color: #000000 !important;
}

[data-theme="dark"] .event-card-expandable.active .event-text-expandable {
    color: #000000 !important;
}

[data-theme="dark"] .event-card-expandable.active .event-btn-expandable {
    color: #000000 !important;
}

[data-theme="dark"] .event-card-expandable.active .event-btn-expandable span {
    color: #000000 !important;
}

.events-header-modern {
    margin-bottom: 1rem;
}

.events-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--oxford-gold);
    margin-bottom: 0.75rem;
}

.events-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--oxford-blue);
    margin: 0;
    line-height: 1.2;
}

.events-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    padding-top: 2.5rem;
}

.event-card-modern {
    background: linear-gradient(135deg, var(--oxford-blue) 0%, var(--oxford-gold) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--oxford-blue) 20%, transparent);
    cursor: pointer;
}

.event-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.event-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px color-mix(in srgb, var(--oxford-blue) 40%, transparent);
}

.event-card-modern:hover::before {
    opacity: 1;
}

.event-number-modern {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    font-family: 'Bebas Neue', 'Arial Black', sans-serif;
    letter-spacing: -0.02em;
    z-index: 0;
    pointer-events: none;
}

.event-content-modern {
    position: relative;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.3;
    flex-grow: 0;
}

.event-text-modern {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.event-description-wrapper {
    flex-grow: 1;
}

.event-text-short,
.event-text-full {
    margin-bottom: 1.5rem;
    transition: opacity 0.3s ease;
}

.event-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: auto;
    align-self: flex-start;
    cursor: pointer;
    font-family: inherit;
}

.event-btn-modern.event-toggle-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.event-btn-modern svg,
.event-btn-modern .btn-icon {
    transition: transform 0.3s ease;
}

.event-btn-modern:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    gap: 0.75rem;
}

.event-btn-modern:hover svg,
.event-btn-modern:hover .btn-icon {
    transform: translateX(4px);
}

.empty-events-modern {
    color: var(--text-secondary);
}

.empty-events-modern svg {
    margin: 0 auto;
    color: var(--oxford-blue);
    opacity: 0.5;
}

.empty-message-modern {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Events Responsive */
@media (max-width: 992px) {
    .events-title {
        font-size: 2rem;
    }
    
    .events-description {
        padding-top: 1.5rem;
        font-size: 1rem;
    }
    
    .event-card-modern {
        min-height: 380px;
        padding: 2rem;
    }
    
    .event-title-modern {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .events-highlight-modern {
        padding: 3rem 0 !important;
    }
    
    .events-title {
        font-size: 1.75rem;
    }
    
    .events-description {
        padding-top: 1rem;
        font-size: 0.95rem;
    }
    
    .event-card-modern {
        min-height: 350px;
        padding: 1.75rem;
    }
    
    .event-number-modern {
        font-size: 4rem;
        top: 1rem;
        right: 1rem;
    }
    
    .event-title-modern {
        font-size: 1.25rem;
    }
    
    .event-text-modern {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .event-card-modern {
        min-height: 320px;
        padding: 1.5rem;
    }
    
    .event-number-modern {
        font-size: 3.5rem;
    }
}

/* Dark Mode Support */
[data-theme="dark"] .events-highlight-modern {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .event-card-modern {
    background: linear-gradient(135deg, var(--oxford-blue) 0%, var(--oxford-gold) 100%);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--oxford-blue) 30%, transparent);
}

[data-theme="dark"] .event-card-modern:hover {
    box-shadow: 0 12px 40px color-mix(in srgb, var(--oxford-blue) 50%, transparent);
}

/* Related Posts Section */
.related-posts-section {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
}

.related-posts-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.related-posts-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light-color, #f78db3) 0%, var(--primary-dark-color, #b51768) 100%);
    border-radius: 2px;
}

.related-post-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.related-post-card-link:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.related-post-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-post-card-link:hover .related-post-card {
    box-shadow: 0 8px 25px color-mix(in srgb, var(--primary-light-color, #f78db3) 30%, transparent);
}

.related-post-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.related-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card-link:hover .related-post-image {
    transform: scale(1.1);
}

.related-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-post-card-link:hover .related-post-overlay {
    opacity: 1;
}

.related-post-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-post-meta {
    margin-bottom: 0.75rem;
}

.related-post-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.related-post-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.related-post-card-link:hover .related-post-title {
    color: var(--primary-dark-color, #b51768);
}

.related-post-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.related-post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark-color, #b51768);
    transition: gap 0.3s ease;
}

.related-post-card-link:hover .related-post-read-more {
    gap: 0.75rem;
}

.related-post-read-more svg {
    transition: transform 0.3s ease;
}

.related-post-card-link:hover .related-post-read-more svg {
    transform: translateX(4px);
}

/* Post Card Link Styles */
.post-card-link-modern {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.post-card-link-modern:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.post-card-link-modern:hover .post-card-modern {
    box-shadow: 0 12px 30px color-mix(in srgb, var(--primary-light-color, #f78db3) 30%, transparent);
}

/* Latest Post Link Styles */
.latest-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.latest-post-link:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.latest-post-link:hover .latest-post-card {
    box-shadow: 0 8px 25px color-mix(in srgb, var(--primary-light-color, #f78db3) 30%, transparent);
    border-color: var(--primary-light-color, #f78db3);
}

.latest-post-link:hover .latest-post-title {
    color: var(--primary-dark-color, #b51768);
}

/* Dark Mode Support */
[data-theme="dark"] .related-posts-section {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .related-post-card {
    background: var(--card-bg);
}

/* Description Text Styles */
.description-text.description-visible {
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .related-posts-title {
        font-size: 2rem;
    }
    
    .related-post-image-wrapper {
        height: 200px;
    }
    
    .related-post-content {
        padding: 1.25rem;
    }
    
    .related-post-title {
        font-size: 1.15rem;
    }
    
    .description-text.description-visible {
        text-align: center;
    }
}

/* Partners Section Modern */
.partners-section-modern {
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.partners-header-modern {
    margin-bottom: 3rem;
}

.partners-title-modern {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.partners-title-modern::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--oxford-blue), var(--oxford-gold));
    border-radius: 2px;
}

.partners-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.partner-item-modern {
    position: relative;
    cursor: pointer;
}

.partner-logo-wrapper-modern {
    position: relative;
    width: 100%;
    height: 150px;
    background-color: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.partner-logo-wrapper-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--oxford-blue);
}

.partner-logo-modern {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: grayscale(30%);
}

.partner-logo-wrapper-modern:hover .partner-logo-modern {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.partner-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.partner-logo-wrapper-modern:hover .partner-overlay-modern {
    opacity: 1;
}

.partner-name-modern {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

/* Partner Modal */
.partner-modal-content {
    background-color: var(--bg-primary);
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.partner-modal-header {
    background: linear-gradient(135deg, var(--oxford-blue), var(--oxford-gold));
    border-bottom: none;
    padding: 1.5rem;
}

.partner-modal-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.partner-modal-close {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    opacity: 1;
    transition: all 0.3s ease;
}

.partner-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.partner-modal-body {
    padding: 2rem;
    background-color: var(--bg-primary);
}

.partner-zoom-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Dark Mode */
[data-theme="dark"] .partner-logo-wrapper-modern {
    background-color: var(--dark-bg-secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .partner-logo-wrapper-modern:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .partners-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .partner-logo-wrapper-modern {
        height: 120px;
        padding: 1rem;
    }
    
    .partners-title-modern {
        font-size: 2rem;
    }
    
    .partner-modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .partners-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .partner-logo-wrapper-modern {
        height: 100px;
        padding: 0.75rem;
    }
    
    .partners-title-modern {
        font-size: 1.75rem;
    }
}
