/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #5b2c6f;
    --light-purple: #7b4a8f;
    --dark-purple: #4a1f5a;
    --primary-navy: #1a1a4e;
    --accent-green: #7ed957;
    --accent-orange: #e67e22;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --white: #ffffff;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-banner {
    background: var(--primary-navy);
    color: var(--white);
    padding: 8px 0;
    text-align: center;
    font-size: 0.85em;
}

.top-banner p {
    margin: 0;
}

.top-banner a {
    color: var(--accent-orange);
    text-decoration: none;
    margin-left: 10px;
    font-weight: 600;
}

.top-banner a:hover {
    text-decoration: underline;
}

.header-content {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

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

.logo-img {
    height: 50px;
    width: auto;
}

.logo {
    width: 50px;
    height: 60px;
}

.logo-stripes {
    display: flex;
    gap: 4px;
    height: 100%;
    align-items: stretch;
}

.stripe {
    flex: 1;
    border-radius: 3px;
}

.stripe.purple {
    background: var(--primary-purple);
}

.stripe.green {
    background: var(--accent-green);
}

.site-title h1 {
    font-size: 2em;
    color: var(--primary-purple);
    margin-bottom: 5px;
    font-weight: bold;
}

.subtitle {
    font-size: 0.85em;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.recognition {
    font-size: 0.7em;
    color: var(--text-light);
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.top-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.85em;
}

.top-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.top-links a:hover {
    color: var(--primary-navy);
}

.search-box {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.search-box input {
    padding: 8px 15px;
    border: none;
    outline: none;
    min-width: 200px;
    font-size: 0.9em;
}

.search-box button {
    padding: 8px 15px;
    background: var(--primary-navy);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #2a2a5e;
}

/* Navigation */
.main-nav {
    background: var(--primary-navy);
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

.nav-menu li a {
    display: block;
    padding: 15px 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.8em;
    transition: background 0.3s;
    white-space: nowrap;
}

.nav-menu li a:hover {
    background: var(--light-purple);
}

.nav-menu li a i {
    font-size: 0.7em;
    margin-left: 5px;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5em;
    cursor: pointer;
    padding: 10px;
}


/* Dropdown Menu Styles */
.nav-menu {
    position: relative;
}

.nav-menu li {
    position: relative;
}

.has-submenu {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2a2a5e;
    min-width: 200px;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.has-submenu:hover .submenu {
    display: block;
}

.submenu li {
    width: 100%;
}

.submenu li a {
    display: block;
    padding: 12px 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.85em;
    transition: background 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.submenu li:last-child a {
    border-bottom: none;
}

.submenu li a:hover {
    background: var(--primary-navy);
    padding-left: 25px;
}

.has-submenu > a i {
    margin-left: 5px;
    font-size: 0.7em;
    transition: transform 0.3s;
}

.has-submenu:hover > a i {
    transform: rotate(180deg);
}

/* Mobile Submenu Styles */
@media (max-width: 768px) {
    .submenu {
        position: static;
        display: none;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
    }

    .has-submenu.mobile-open .submenu {
        display: block;
    }

    .submenu li a {
        padding-left: 40px;
    }

    .submenu li a:hover {
        padding-left: 45px;
    }
}


/* ================================
   HERO SLIDER - IMPROVED & RESPONSIVE
   ================================ */

.hero-slider {
    position: relative;
    background: #1a1a2e;
    overflow: hidden;
    width: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.slide {
    display: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(30, 30, 60, 0.85) 0%,
        rgba(30, 30, 60, 0.6) 50%,
        rgba(30, 30, 60, 0.3) 100%
    );
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.slide-text {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.slide-overlay-image {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    margin-bottom: 10px;
}

.slide-overlay-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-title {
    font-size: 3em;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.slide-description {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.btn-learn-more {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary-purple);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s;
    font-weight: 700;
    font-size: 1.1em;
    align-self: flex-start;
    box-shadow: 0 8px 20px rgba(91, 44, 111, 0.4);
}

.btn-learn-more:hover {
    background: var(--light-purple);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(91, 44, 111, 0.6);
}

/* Navigation Arrows */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 26, 78, 0.8);
    color: var(--white);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    backdrop-filter: blur(10px);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary-navy);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.slider-dots .dot.active {
    background: var(--accent-green);
    transform: scale(1.3);
    border-color: var(--white);
    box-shadow: 0 4px 12px rgba(126, 217, 87, 0.5);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .slider-container {
        height: 550px;
    }

    .slide-title {
        font-size: 2.5em;
    }

    .slide-description {
        font-size: 1.15em;
    }

    .slide-text {
        max-width: 550px;
    }
}

@media (max-width: 992px) {
    .slider-container {
        height: 500px;
    }

    .slide-content {
        padding: 60px 0;
    }

    .slide-title {
        font-size: 2.2em;
    }

    .slide-description {
        font-size: 1.1em;
    }

    .slide-overlay-image {
        width: 160px;
        height: 160px;
    }

    .slider-prev,
    .slider-next {
        width: 50px;
        height: 50px;
        font-size: 1.2em;
    }

    .slider-prev {
        left: 20px;
    }

    .slider-next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .slider-container {
        height: 450px;
    }

    .slide-content {
        padding: 40px 0;
        text-align: center;
        justify-content: center;
    }

    .slide-text {
        max-width: 100%;
        align-items: center;
        gap: 20px;
    }

    .slide-overlay {
        background: linear-gradient(
            to bottom,
            rgba(30, 30, 60, 0.9) 0%,
            rgba(30, 30, 60, 0.75) 100%
        );
    }

    .slide-overlay-image {
        width: 140px;
        height: 140px;
        margin: 0 auto 10px;
    }

    .slide-title {
        font-size: 1.8em;
        text-align: center;
    }

    .slide-description {
        font-size: 1em;
        text-align: center;
    }

    .btn-learn-more {
        padding: 14px 32px;
        font-size: 1em;
        align-self: center;
    }

    .slider-prev,
    .slider-next {
        width: 45px;
        height: 45px;
        font-size: 1.1em;
    }

    .slider-prev {
        left: 15px;
    }

    .slider-next {
        right: 15px;
    }

    .slider-dots {
        bottom: 25px;
        gap: 10px;
    }

    .slider-dots .dot {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 576px) {
    .slider-container {
        height: 400px;
    }

    .slide-content {
        padding: 30px 0;
    }

    .slide-text {
        gap: 15px;
    }

    .slide-overlay-image {
        width: 120px;
        height: 120px;
    }

    .slide-title {
        font-size: 1.5em;
    }

    .slide-description {
        font-size: 0.95em;
    }

    .btn-learn-more {
        padding: 12px 28px;
        font-size: 0.95em;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .slider-dots {
        bottom: 20px;
        gap: 8px;
    }

    .slider-dots .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 400px) {
    .slider-container {
        height: 380px;
    }

    .slide-title {
        font-size: 1.3em;
    }

    .slide-description {
        font-size: 0.9em;
    }

    .slide-overlay-image {
        width: 100px;
        height: 100px;
    }
}

/* CESS at a Glance */
.cess-glance {
    background: #1a1a1a;
    padding: 60px 0;
}

.cess-glance h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
}

.gallery-slider {
    position: relative;
    padding: 0 60px;
}

.gallery-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-navy) #333;
}

.gallery-container::-webkit-scrollbar {
    height: 8px;
}

.gallery-container::-webkit-scrollbar-track {
    background: #333;
}

.gallery-container::-webkit-scrollbar-thumb {
    background: var(--primary-navy);
    border-radius: 4px;
}

.gallery-item {
    flex: 0 0 300px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 26, 78, 0.8);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.gallery-prev {
    left: 0;
}

.gallery-next {
    right: 0;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--primary-navy);
    transform: translateY(-50%) scale(1.1);
}

/* Events and Updates */
.events-updates {
    background: var(--primary-navy);
    padding: 80px 0;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.events-badge {
    display: inline-block;
    padding: 12px 40px;
    background: var(--accent-green);
    color: var(--text-dark);
    font-weight: bold;
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.updates-section {
    position: relative;
}

.updates-badge {
    background: var(--white);
    transform: rotate(-45deg);
    display: inline-block;
    padding: 50px;
    margin-bottom: 30px;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.updates-badge span {
    transform: rotate(45deg);
    display: block;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-dark);
}

.event-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-card h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3em;
    line-height: 1.4;
}

.event-meta {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95em;
}

.event-meta .date {
    font-weight: 600;
}

.event-link {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.event-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.updates-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.updates-list {
    list-style: none;
    padding: 0;
}

.updates-list li {
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.updates-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.updates-list a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.6;
}

.updates-list a:hover {
    color: var(--accent-green);
}

.more-link {
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
    transition: color 0.3s;
}

.more-link:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.blog-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2em;
    color: var(--text-dark);
}

.blog-featured {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    background: var(-- white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.blog-sidebar {
display: flex;
flex-direction: column;
}

.author-badge {
background: linear-gradient(135deg, var(--primary-navy) 0%, #2a2a5e 100%);
color: var(--white);
padding: 30px 20px;
border-radius: 15px;
text-align: center;
box-shadow: 0 5px 15px rgba(26, 26, 78, 0.3);
}

.author-initial {
width: 80px;
height: 80px;
background: rgba(255, 255, 255, 0.2);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 2.5em;
fo

nt-weight: bold;
margin: 0 auto 15px;
border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-info {
display: flex;
flex-direction: column;
gap: 5px;
}

.author-name {
font-weight: bold;
font-size: 1.1em;
}

.author-info small {
font-size: 0.85em;
opacity: 0.9;
}

.blog-content h3 {
color: var(--text-dark);
margin-bottom: 20px;
font-size: 1.6em;
line-height: 1.3;
}

.blog-content p {
color: var(--text-light);
margin-bottom: 25px;
line-height: 1.8;
font-size: 1.05em;
}

.blog-meta {
margin-bottom: 20px;
}

.category {
display: inline-block;
padding: 6px 18px;
background: var(--primary-navy);
color: var(--white);
border-radius: 20px;
font-size: 0.85em;
font-weight: 500;
}

.read-more {
color: var(--primary-navy);
text-decoration: none;
font-weight: bold;
font-size: 1.05em;
transition: color 0.3s;
}

.read-more:hover { color: #2a2a5e; text-decoration: underline; }

.more-blog-link {
display: block;
text-align: center;
color: var(--primary-navy);
text-decoration: none;
font-weight: bold;
font-size: 1.1em;
transition: color 0.3s;
}

.more-blog-link:hover { color: #2a2a5e; }

/* Footer */
.main-footer {
background: #d9d9d9;
padding: 50px 0 20px;
}

.footer-content {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 40px;
margin-bottom: 40px;
}

.footer-column h3 {
color: var(--text-dark);
margin-bottom: 20px;
font-size: 1.2em;
font-weight: 600;
}

.footer-column ul {
list-style: none;
}

.footer-column li {
margin-bottom: 12px;
}

.footer-column a {
color: var(--text-light);
text-decoration: none;
transition: color 0.3s;
font-size: 0.95em;
}

.footer-column a:hover { color: var(--primary-navy); }

.social-links {
display: flex;
gap: 12px;
margin-top: 15px;
}

.social-links a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: var(--primary-navy);
color: var(--white);
border-radius: 50%;
text-decoration: none;
transition: all 0.3s;
}

.social-links a:hover { background: #2a2a5e; transform: translateY(-3px); }

.footer-bottom {
text-align: center;
padding-top: 30px;
border-top: 2px solid #bbb;
color: var(--text-light);
}

.footer-bottom p {
margin: 5px 0;
font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 1024px) {
.nav-menu {
flex-wrap: wrap;
}

.nav-menu li a {
    font-size: 0.75em;
    padding: 12px 8px;
}

.diamond-shape {
    width: 350px;
    height: 350px;
}

}

@media (max-width: 768px) {
.header-wrapper {
flex-direction: column;
text-align: center;
}

.logo-section {
    flex-direction: column;
    text-align: center;
}

.header-right {
    align-items: center;
    width: 100%;
}

.top-links {
    justify-content: center;
}

.search-box input {
    min-width: 150px;
}

.main-nav {
    position: relative;
}

.nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-purple);
    z-index: 1000;
}

.nav-menu.active {
    display: flex;
}

.nav-menu li {
    width: 100%;
}

.nav-menu li a {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle {
    display: block;
    margin: 10px auto;
}

.slide-content {
    flex-direction: column;
    text-align: center;
}

.nep-title {
    font-size: 2.5em;
}

.diamond-shape {
    width: 300px;
    height: 300px;
}

.section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
}

.blog-featured {
    grid-template-columns: 1fr;
}

.footer-content {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-slider {
    padding: 0 40px;
}

}

@media (max-width: 480px) {
.site-title h1 {
font-size: 1.5em;
}

.subtitle {
    font-size: 0.75em;
}

.recognition {
    font-size: 0.65em;
}

.nep-title {
    font-size: 2em;
}

.diamond-shape {
    width: 250px;
    height: 250px;
}

.footer-content {
    grid-template-columns: 1fr;
}

.event-card,
.updates-content {
    padding: 20px;
}

.blog-featured {
    padding: 25px;
}

}


/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2a2a5e 100%);
    padding: 60px 0 40px;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95em;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.breadcrumb span:last-child {
    font-weight: 500;
}

/* Page Content Styles */
.page-content {
    padding: 60px 0;
    background: var(--white);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    color: var(--primary-navy);
    margin-bottom: 20px;
    font-size: 2em;
}

.content-wrapper p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05em;
}

.placeholder-content {
    margin-top: 30px;
}

.info-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-navy);
    margin-top: 30px;
}

.info-box h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 1.5em;
}

.info-box p {
    color: var(--text-dark);
    margin: 0;
}

/* Logo Link Styles */
.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.logo-link:hover .site-title h1 {
    color: var(--light-purple);
}

/* Active Menu Item */
.nav-menu li a.active {
    background: var(--light-purple);
}

/* Content Listing */
.content-listing {
    padding: 60px 0;
    background: #fff;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.content-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.content-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

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

.content-card:hover .content-image img {
    transform: scale(1.05);
}

.content-body {
    padding: 25px;
}

.content-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.content-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-article {
    background: #e3f2fd;
    color: #1976d2;
}

.badge-blog {
    background: #e8f5e9;
    color: #388e3c;
}

.badge-event {
    background: #fff3e0;
    color: #f57c00;
}

.content-date {
    font-size: 0.85em;
    color: #666;
}

.content-title {
    font-size: 1.4em;
    margin-bottom: 12px;
    line-height: 1.3;
}

.content-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.content-title a:hover {
    color: var(--primary-purple);
}

.content-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.content-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.content-author {
    font-size: 0.9em;
    color: var(--text-light);
}

.read-more {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--light-purple);
}

/* Single Content Page */
.content-single {
    background: #fff;
}

.content-header {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-bottom: 3px solid var(--primary-purple);
}

.content-header .content-meta {
    margin-bottom: 20px;
}

.content-header h1 {
    font-size: 2.8em;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.content-lead {
    font-size: 1.3em;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.event-details {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 25px;
    padding: 20px;
    background: rgba(91, 44, 111, 0.05);
    border-radius: 8px;
}

.event-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.event-info i {
    color: var(--primary-purple);
    font-size: 1.2em;
    margin-top: 2px;
}

.event-info strong {
    display: block;
    margin-bottom: 5px;
}

.content-featured-image {
    padding: 40px 0;
    background: #f9f9f9;
}

.content-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-body-wrapper {
    padding: 60px 0;
}

.content-main {
    max-width: 900px;
    margin: 0 auto;
}

.content-body-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.content-body-text h2 {
    font-size: 1.8em;
    margin: 40px 0 20px;
    color: var(--primary-purple);
}

.content-body-text h3 {
    font-size: 1.4em;
    margin: 30px 0 15px;
    color: var(--text-dark);
}

.content-body-text p {
    margin-bottom: 20px;
}

.content-body-text ul,
.content-body-text ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-body-text li {
    margin-bottom: 10px;
}

.content-body-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.content-body-text blockquote {
    border-left: 4px solid var(--primary-purple);
    padding: 20px;
    margin: 30px 0;
    background: #f9f9f9;
    font-style: italic;
}

.content-taxonomies {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 30px;
}

.content-taxonomies h3 {
    margin-bottom: 15px;
    font-size: 1.2em;
}

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

.taxonomy-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}

.taxonomy-category {
    background: #e3f2fd;
    color: #1976d2;
}

.taxonomy-tag {
    background: #fce4ec;
    color: #c2185b;
}

.content-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary {
    background: #f0f0f0;
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #e0e0e0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state p {
    font-size: 1.2em;
}

/* Responsive */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-header h1 {
        font-size: 2em;
    }

    .event-details {
        flex-direction: column;
        gap: 15px;
    }

    .content-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Search Page */
.search-results {
    padding: 60px 0;
    background: #fff;
}

.search-query {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: var(--text-light);
}

.result-count {
    font-size: 1em;
    color: var(--text-light);
}

.search-form-wrapper {
    max-width: 600px;
    margin: 0 auto 50px;
}

.search-form-page {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-form-page input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    background: #fff;
}

.search-form-page button {
    padding: 15px 30px;
    background: var(--primary-purple);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.search-form-page button:hover {
    background: var(--light-purple);
    transform: scale(1.05);
}

.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results i {
    font-size: 5em;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.no-results p {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 15px;
}

.browse-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary-purple);
    color: #fff;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--light-purple);
    transform: translateY(-2px);
}



/* ================================
   SEARCH RESULTS - LIST VIEW
   ================================ */

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.search-result-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.search-result-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    border-color: var(--primary-purple);
}

.result-row {
    display: flex;
    gap: 25px;
    padding: 25px;
}

.result-image {
    flex-shrink: 0;
    width: 280px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.search-result-item:hover .result-image img {
    transform: scale(1.08);
}

.result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0; /* Prevents flex items from overflowing */
}

.result-content.full-width {
    width: 100%;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.result-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.result-type {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-article {
    background: #e3f2fd;
    color: #1976d2;
}

.badge-blog {
    background: #e8f5e9;
    color: #388e3c;
}

.badge-event {
    background: #fff3e0;
    color: #f57c00;
}

.badge-section {
    background: #f3e5f5;
    color: #7b1fa2;
}

.result-date,
.result-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
    color: var(--text-light);
}

.result-date i,
.result-author i {
    font-size: 0.95em;
    color: var(--primary-purple);
}

.result-title {
    font-size: 1.6em;
    line-height: 1.3;
    margin: 0;
    font-weight: 700;
}

.result-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.result-title a:hover {
    color: var(--primary-purple);
}

.result-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    flex: 1;
    font-size: 1.05em;
}

.result-footer {
    display: flex;
    align-items: center;
    padding-top: 12px;
    border-top: 2px solid #f0f0f0;
}

.result-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.result-link:hover {
    color: var(--light-purple);
    gap: 12px;
}

.result-link i {
    transition: transform 0.3s;
    font-size: 0.9em;
}

.result-link:hover i {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .result-image {
        width: 220px;
        height: 160px;
    }

    .result-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .result-row {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .result-image {
        width: 100%;
        height: 220px;
    }

    .result-title {
        font-size: 1.35em;
    }

    .result-meta {
        gap: 10px;
    }

    .result-excerpt {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .search-result-item {
        border-radius: 8px;
    }

    .result-row {
        padding: 15px;
        gap: 15px;
    }

    .result-image {
        height: 180px;
        border-radius: 8px;
    }

    .result-title {
        font-size: 1.2em;
    }

    .result-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .result-date,
    .result-author {
        font-size: 0.85em;
    }

    .result-excerpt {
        font-size: 0.95em;
    }

    .result-link {
        font-size: 1em;
    }
}


/* Search Box in Header */
.search-box {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
}

.search-box input {
    padding: 10px 15px;
    border: none;
    outline: none;
    min-width: 200px;
}

.search-box button {
    padding: 10px 20px;
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: var(--light-purple);
}


/* ================================
   404 ERROR PAGE STYLES
   ================================ */

.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.error-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.error-illustration {
    position: relative;
    margin-bottom: 40px;
}

.error-code {
    font-size: 10em;
    font-weight: 900;
    color: var(--primary-purple);
    opacity: 0.15;
    line-height: 1;
    margin: 0;
    position: relative;
    z-index: 1;
}

.error-icon {
    font-size: 6em;
    color: var(--primary-purple);
    position: relative;
    z-index: 2;
    margin-top: -120px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.error-content h1 {
    font-size: 2.5em;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.error-message {
    font-size: 1.2em;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.error-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
}

.error-actions .btn-primary {
    background: var(--primary-purple);
    color: #fff;
}

.error-actions .btn-primary:hover {
    background: var(--light-purple);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(91, 44, 111, 0.4);
}

.error-actions .btn-secondary {
    background: #fff;
    color: var(--text-dark);
    border: 2px solid #e0e0e0;
}

.error-actions .btn-secondary:hover {
    background: #f5f5f5;
    border-color: var(--primary-purple);
    transform: translateY(-3px);
}

.helpful-links {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.helpful-links h3 {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: var(--text-dark);
    font-weight: 600;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.helpful-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.helpful-link:hover {
    background: var(--primary-purple);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(91, 44, 111, 0.3);
    border-color: var(--primary-purple);
}

.helpful-link i {
    font-size: 2.5em;
    transition: transform 0.3s;
}

.helpful-link:hover i {
    transform: scale(1.1);
}

.helpful-link span {
    font-weight: 600;
    font-size: 1em;
}

.search-suggestion {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.search-suggestion p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 500;
}

.search-form-404 {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 50px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-form-404 input {
    flex: 1;
    padding: 14px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    background: #fff;
    outline: none;
}

.search-form-404 input:focus {
    box-shadow: 0 0 0 3px rgba(91, 44, 111, 0.1);
}

.search-form-404 button {
    padding: 14px 30px;
    background: var(--primary-purple);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-weight: 600;
}

.search-form-404 button:hover {
    background: var(--light-purple);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(91, 44, 111, 0.4);
}

/* Responsive 404 Page */
@media (max-width: 768px) {
    .error-page {
        padding: 60px 20px;
    }

    .error-code {
        font-size: 6em;
    }

    .error-icon {
        font-size: 4em;
        margin-top: -80px;
    }

    .error-content h1 {
        font-size: 1.8em;
    }

    .error-message {
        font-size: 1em;
        padding: 0 20px;
    }

    .error-actions {
        flex-direction: column;
        padding: 0 20px;
    }

    .error-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .helpful-links {
        padding: 30px 20px;
    }

    .link-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .helpful-link {
        padding: 20px 15px;
    }

    .helpful-link i {
        font-size: 2em;
    }

    .search-suggestion {
        padding: 25px 20px;
    }

    .search-form-404 {
        flex-direction: column;
        border-radius: 15px;
        padding: 15px;
    }

    .search-form-404 input {
        border-radius: 10px;
    }

    .search-form-404 button {
        border-radius: 10px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .error-code {
        font-size: 4em;
    }

    .error-icon {
        font-size: 3em;
        margin-top: -60px;
    }

    .link-grid {
        grid-template-columns: 1fr;
    }
}


/* ================================
   HOMEPAGE SECTIONS
   ================================ */

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5em;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2em;
    color: var(--text-light);
}

.view-all {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.view-all:hover {
    color: var(--light-purple);
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

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

.slider-dots .dot.active {
    background: var(--primary-purple);
    width: 30px;
    border-radius: 10px;
}

/* Featured Section */
.featured-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.featured-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.featured-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

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

.featured-content {
    padding: 30px;
}

.featured-content h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.featured-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.featured-link:hover {
    color: var(--light-purple);
}

/* Content Grid Section */
.content-grid-section {
    padding: 80px 0;
    background: #fff;
}

/* Latest Section */
.latest-section {
    padding: 80px 0;
    background: #fff;
}

.latest-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

/* Events Section */
.events-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ebf0 100%);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-purple);
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(91, 44, 111, 0.4);
}

.event-date-badge .day {
    display: block;
    font-size: 1.8em;
    font-weight: bold;
    line-height: 1;
}

.event-date-badge .month {
    display: block;
    font-size: 0.9em;
    text-transform: uppercase;
}

.event-body {
    padding: 25px;
}

.event-title {
    font-size: 1.3em;
    margin-bottom: 15px;
}

.event-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.event-title a:hover {
    color: var(--primary-purple);
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: var(--text-light);
    margin-bottom: 10px;
}

.event-meta i {
    color: var(--primary-purple);
}

.event-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin: 15px 0;
}

.event-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.event-link:hover {
    color: var(--light-purple);
}

/* Custom HTML Section */
.custom-html-section {
    padding: 80px 0;
}

.custom-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .featured-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2em;
    }

    .latest-section .section-header {
        flex-direction: column;
        gap: 20px;
    }
}


/* ================================
   EVENTS & BLOG LISTING PAGES
   ================================ */

/* Filters Section */
.filters-section {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.filters-form {
    width: 100%;
}

.filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    font-size: 0.9em;
    color: var(--text-dark);
}

.filter-select,
.filter-input {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s;
    background: #fff;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(91, 44, 111, 0.1);
}

.filter-search {
    grid-column: span 2;
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: end;
}

.filter-actions .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.results-info {
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95em;
}

.filter-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-purple);
    color: #fff;
    border-radius: 20px;
    font-size: 0.85em;
    margin-left: 10px;
}

/* Events Grid Enhancements */
.events-grid .event-card {
    position: relative;
}

.event-status-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.event-status-upcoming {
    background: #4caf50;
    color: #fff;
}

.event-status-current {
    background: #ff9800;
    color: #fff;
}

.event-status-past {
    background: #9e9e9e;
    color: #fff;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 15px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.event-details .event-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95em;
    color: var(--text-dark);
}

.event-details .event-meta i {
    color: var(--primary-purple);
    width: 20px;
    text-align: center;
}

/* Blog Grid Enhancements */
.blog-grid .blog-card {
    display: flex;
    flex-direction: column;
}

.blog-grid .content-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-grid .content-footer {
    margin-top: auto;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination-wrapper nav {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Empty State Enhancement */
.empty-state {
    text-align: center;
    padding: 100px 20px;
    background: #fff;
    border-radius: 15px;
    margin: 40px 0;
}

.empty-state i {
    font-size: 5em;
    color: #ddd;
    margin-bottom: 25px;
    display: block;
}

.empty-state p {
    font-size: 1.2em;
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 768px) {
    .filters-row {
        grid-template-columns: 1fr;
    }

    .filter-search {
        grid-column: span 1;
    }

    .filter-actions {
        flex-direction: column;
        width: 100%;
    }

    .filter-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .results-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .event-details {
        gap: 10px;
        padding: 12px;
    }
}


/* ================================
   DYNAMIC FORMS
   ================================ */

.form-page {
    padding: 60px 0;
    background: #f9f9f9;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-description {
    font-size: 1.1em;
    color: var(--text-light);
    margin-top: 15px;
}

.alert {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.alert i {
    font-size: 1.5em;
    flex-shrink: 0;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.dynamic-form {
    margin-top: 30px;
}

.form-fields {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field.col-12 { grid-column: span 12; }
.form-field.col-6 { grid-column: span 6; }
.form-field.col-4 { grid-column: span 4; }
.form-field.col-3 { grid-column: span 3; }

.form-field label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95em;
}

.form-field label.required {
    display: flex;
    align-items: center;
    gap: 5px;
}

.required-mark {
    color: #dc3545;
    font-size: 1.2em;
}

.form-input {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(91, 44, 111, 0.1);
}

.form-input.error {
    border-color: #dc3545;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s;
}

.radio-label:hover,
.checkbox-label:hover {
    background: #f5f5f5;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.help-text {
    font-size: 0.85em;
    color: var(--text-light);
    font-style: italic;
}

.error-message {
    color: #dc3545;
    font-size: 0.85em;
    font-weight: 500;
}

.form-actions {
    display: flex;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.form-actions .btn {
    padding: 15px 40px;
    font-size: 1.05em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 30px 20px;
    }

    .form-fields {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-field.col-12,
    .form-field.col-6,
    .form-field.col-4,
    .form-field.col-3 {
        grid-column: span 1;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ================================
   EVENTS PAGE STYLING
   ================================ */

.events-listing .results-info {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ebf0 100%);
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 35px;
    border-left: 4px solid var(--primary-purple);
}

.events-listing .results-info p {
    margin: 0;
    font-size: 1.05em;
    color: var(--text-dark);
    font-weight: 500;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-purple);
}

.event-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

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

.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-purple);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(91, 44, 111, 0.4);
    min-width: 70px;
}

.event-date-badge .day {
    display: block;
    font-size: 2em;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2px;
}

.event-date-badge .month {
    display: block;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.event-status-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.event-status-upcoming {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: #fff;
}

.event-status-current {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: #fff;
    animation: pulse 2s infinite;
}

.event-status-past {
    background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%);
    color: #fff;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.event-body {
    padding: 25px;
}

.event-title {
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.event-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.event-title a:hover {
    color: var(--primary-purple);
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary-purple);
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95em;
    color: var(--text-dark);
}

.event-meta i {
    color: var(--primary-purple);
    width: 24px;
    text-align: center;
    font-size: 1.1em;
}

.event-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin: 15px 0;
    font-size: 1em;
}

.event-footer {
    padding-top: 18px;
    border-top: 2px solid #e0e0e0;
    margin-top: auto;
}

.event-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.event-link:hover {
    color: var(--light-purple);
    gap: 12px;
}

.event-link i {
    transition: transform 0.3s;
}

.event-link:hover i {
    transform: translateX(4px);
}

/* Empty State */
.events-grid + .empty-state {
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-details {
        gap: 12px;
        padding: 15px;
    }

    .event-body {
        padding: 20px;
    }
}


/* ================================
   HOMEPAGE UPCOMING EVENTS SECTION
   ================================ */

.upcoming-events-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ebf0 100%);
    position: relative;
    overflow: hidden;
}

.upcoming-events-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(91, 44, 111, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.upcoming-events-section .section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.upcoming-events-section .section-header h2 {
    font-size: 2.5em;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 800;
}

.upcoming-events-section .section-header .view-all {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.upcoming-events-section .section-header .view-all:hover {
    color: var(--light-purple);
    gap: 12px;
}

.upcoming-events-section .section-header .view-all i {
    transition: transform 0.3s;
}

.upcoming-events-section .section-header .view-all:hover i {
    transform: translateX(4px);
}

.upcoming-events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
}

.upcoming-event-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.upcoming-event-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(91, 44, 111, 0.25);
    border-color: var(--primary-purple);
}

.upcoming-event-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.upcoming-event-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

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

.upcoming-event-card:hover .upcoming-event-image img {
    transform: scale(1.15) rotate(2deg);
}

.upcoming-event-content {
    padding: 30px;
}

.upcoming-event-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.upcoming-event-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.upcoming-event-title a:hover {
    color: var(--primary-purple);
}

.upcoming-event-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.event-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 3px solid var(--primary-purple);
    transition: all 0.3s;
}

.event-info-row:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.event-info-row i {
    color: var(--primary-purple);
    font-size: 1.2em;
    width: 24px;
    text-align: center;
}

.event-info-row span {
    color: var(--text-dark);
    font-size: 0.95em;
    font-weight: 500;
}

.upcoming-event-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.upcoming-event-link:hover {
    color: var(--light-purple);
    gap: 15px;
}

.upcoming-event-link i {
    transition: transform 0.3s;
}

.upcoming-event-link:hover i {
    transform: translateX(5px);
}

/* No Events Message */
.no-upcoming-events {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    grid-column: 1 / -1;
}

.no-upcoming-events i {
    font-size: 4em;
    color: #ddd;
    margin-bottom: 20px;
}

.no-upcoming-events p {
    font-size: 1.2em;
    color: var(--text-light);
    margin-bottom: 25px;
}

.no-upcoming-events .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--primary-purple);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.no-upcoming-events .btn:hover {
    background: var(--light-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(91, 44, 111, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .upcoming-events-section {
        padding: 60px 0;
    }

    .upcoming-events-section .section-header h2 {
        font-size: 2em;
    }

    .upcoming-events-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .upcoming-event-content {
        padding: 25px 20px;
    }

    .upcoming-event-title {
        font-size: 1.3em;
    }
}


/* ================================
   CONTENT ATTACHMENTS
   ================================ */

.content-attachments {
    margin: 40px 0;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
    border-left: 4px solid var(--primary-purple);
}

.content-attachments h3 {
    font-size: 1.5em;
    color: var(--text-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-attachments h3 i {
    color: var(--primary-purple);
    font-size: 0.9em;
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.attachment-item:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 5px 15px rgba(91, 44, 111, 0.15);
    transform: translateY(-2px);
}

.attachment-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: #fff;
    position: relative;
}

.attachment-icon i {
    font-size: 2em;
    margin-bottom: 5px;
}

.file-extension {
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.attachment-details {
    flex: 1;
    min-width: 0;
}

.attachment-title {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    word-wrap: break-word;
}

.attachment-description {
    font-size: 0.9em;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.5;
}

.attachment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85em;
    color: var(--text-light);
}

.file-size {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.file-size i {
    color: var(--primary-purple);
}

.attachment-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-download,
.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-download {
    background: var(--primary-purple);
    color: #fff;
}

.btn-download:hover {
    background: var(--light-purple);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 44, 111, 0.3);
}

.btn-view {
    background: #fff;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

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

/* File Type Specific Colors */
.attachment-icon .fa-file-pdf {
    color: #fff;
}

.attachment-item:has(.fa-file-pdf) .attachment-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.attachment-item:has(.fa-file-word) .attachment-icon {
    background: linear-gradient(135deg, #2980b9 0%, #2c3e50 100%);
}

.attachment-item:has(.fa-file-excel) .attachment-icon {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.attachment-item:has(.fa-file-powerpoint) .attachment-icon {
    background: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
}

.attachment-item:has(.fa-file-archive) .attachment-icon {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .attachment-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .attachment-icon {
        width: 60px;
        height: 60px;
    }

    .attachment-icon i {
        font-size: 1.8em;
    }

    .attachment-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-download,
    .btn-view {
        width: 100%;
        justify-content: center;
    }
}


/* ================================
   EVENT REGISTRATION SECTION
   ================================ */

.event-registration-section {
    margin: 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ebf0 100%);
    border-radius: 15px;
    border: 2px solid var(--primary-purple);
}

.event-registration-section h3 {
    font-size: 1.8em;
    color: var(--text-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.event-registration-section h3 i {
    color: var(--primary-purple);
}

.recurring-info {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.recurring-info i {
    color: #856404;
    margin-right: 8px;
}

.upcoming-dates {
    margin-top: 15px;
}

.upcoming-dates ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.upcoming-dates li {
    padding: 8px 0;
    border-bottom: 1px solid #ffeaa7;
}

.upcoming-dates li:last-child {
    border-bottom: none;
}

.capacity-info {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    border: 2px solid #e0e0e0;
}

.spots-available {
    color: #27ae60;
    font-size: 1.1em;
}

.spots-available i {
    margin-right: 8px;
}

.unlimited-capacity {
    color: #3498db;
    font-size: 1.1em;
}

.unlimited-capacity i {
    margin-right: 8px;
}

.registration-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

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

.required {
    color: #e74c3c;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(91, 44, 111, 0.1);
}

.btn-register {
    width: 100%;
    padding: 15px;
    background: var(--primary-purple);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-register:hover {
    background: var(--light-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(91, 44, 111, 0.3);
}

.registration-closed {
    background: #fee;
    border: 2px solid #fcc;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.registration-closed i {
    font-size: 3em;
    color: #e74c3c;
    margin-bottom: 15px;
    display: block;
}

.registration-closed p {
    font-size: 1.2em;
    color: #c0392b;
    margin: 0;
}

/* ================================
   EVENT CALENDAR
   ================================ */

.calendar-page {
    padding: 60px 0;
    background: #f9f9f9;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.current-month {
    font-size: 2em;
    color: var(--primary-purple);
    margin: 0;
}

.nav-btn {
    padding: 10px 20px;
    background: var(--primary-purple);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 600;
}

.nav-btn:hover {
    background: var(--light-purple);
    transform: translateY(-2px);
}

.view-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.view-toggle a {
    padding: 12px 25px;
    background: white;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-toggle a.active,
.view-toggle a:hover {
    background: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

.calendar-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e0e0e0;
    margin-bottom: 1px;
}

.day-name {
    background: var(--primary-purple);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9em;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e0e0e0;
}

.calendar-day {
    background: white;
    min-height: 120px;
    padding: 10px;
    position: relative;
    transition: all 0.3s;
}

.calendar-day:hover:not(.empty) {
    background: #f8f9fa;
    transform: scale(1.02);
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.calendar-day.empty {
    background: #f5f5f5;
}

.calendar-day.today {
    background: #e3f2fd;
    border: 2px solid #2196f3;
}

.calendar-day.past:not(.today) {
    opacity: 0.6;
}

.calendar-day.has-events {
    background: #f3e5f5;
}

.day-number {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.calendar-day.today .day-number {
    color: #2196f3;
}

.day-events {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.event-item {
    display: flex;
    flex-direction: column;
    padding: 6px 8px;
    background: var(--primary-purple);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.75em;
    transition: all 0.3s;
    position: relative;
}

.event-item:hover {
    background: var(--light-purple);
    transform: translateX(3px);
}

.event-item.recurring {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.event-time {
    font-weight: 600;
    font-size: 0.9em;
    opacity: 0.9;
}

.event-title {
    font-size: 0.95em;
    line-height: 1.2;
}

.recurring-icon {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 0.8em;
}

.calendar-legend {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
}

.legend-color {
    width: 30px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #e0e0e0;
}

.legend-color.today {
    background: #e3f2fd;
    border-color: #2196f3;
}

.legend-color.has-events {
    background: #f3e5f5;
    border-color: var(--primary-purple);
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .calendar-nav {
        flex-direction: column;
        gap: 15px;
    }

    .current-month {
        font-size: 1.5em;
    }

    .calendar-day {
        min-height: 80px;
        padding: 5px;
    }

    .day-name {
        padding: 10px 5px;
        font-size: 0.8em;
    }

    .event-item {
        font-size: 0.65em;
        padding: 4px 6px;
    }

    .calendar-legend {
        flex-direction: column;
        gap: 10px;
    }
}



/* ================================
   VIDEO EMBED
   ================================ */

.content-video {
    padding: 40px 0;
    background: #000;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ================================
   PHOTO GALLERY
   ================================ */

.content-gallery {
    padding: 60px 0;
    background: #f9f9f9;
}

.content-gallery h3 {
    font-size: 2em;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.content-gallery h3 i {
    color: var(--primary-purple);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    color: white;
    padding: 30px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}


/* ================================
   GALLERIES PAGE
   ================================ */

.galleries-page {
    padding: 60px 0;
    background: #f9f9f9;
}

.galleries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.gallery-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-preview {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.gallery-card:hover .gallery-preview img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(91, 44, 111, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3em;
}

.gallery-overlay span {
    font-size: 1.2em;
    font-weight: 600;
}

.gallery-preview.no-images {
    background: #f0f0f0;
}

.no-images-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #999;
}

.no-images-placeholder i {
    font-size: 3em;
}

.gallery-info {
    padding: 25px;
}

.gallery-info h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.gallery-info h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.gallery-info h3 a:hover {
    color: var(--primary-purple);
}

.gallery-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.view-gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.view-gallery-btn:hover {
    gap: 12px;
    color: var(--light-purple);
}

/* ================================
   SINGLE GALLERY PAGE
   ================================ */

.gallery-single-page {
    padding: 60px 0;
    background: #f9f9f9;
}

.gallery-description {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-purple);
}

.gallery-description p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

.gallery-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.gallery-stats span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05em;
    color: var(--text-dark);
}

.gallery-stats i {
    color: var(--primary-purple);
    font-size: 1.2em;
}

.gallery-actions {
    margin-top: 40px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .galleries-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-stats {
        flex-direction: column;
        gap: 15px;
    }
}

/* ================================
   FAQ SECTION
   ================================ */

.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-section .section-header h2 {
    font-size: 2.2em;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.faq-section .section-header p {
    font-size: 1.1em;
    color: var(--text-light);
}

.faq-section__inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-group {
    margin-bottom: 40px;
}

.faq-group__title {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--primary-navy);
    border-left: 4px solid var(--primary-purple);
    padding-left: 15px;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9em;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    background: var(--white);
    margin-bottom: 5px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.faq-item__trigger {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 22px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    text-align: left;
}

.faq-item__question {
    font-size: 1.05em;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.45;
    flex: 1;
    transition: color 0.3s;
}

.faq-item__trigger:hover .faq-item__question {
    color: var(--primary-purple);
}

.faq-item__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.faq-item__icon svg {
    width: 12px;
    height: 12px;
    stroke: var(--text-light);
    transition: stroke 0.3s;
}

.faq-item.is-open .faq-item__icon {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: rotate(45deg);
}

.faq-item.is-open .faq-item__icon svg {
    stroke: var(--white);
}

.faq-item.is-open .faq-item__question {
    color: var(--primary-purple);
}

.faq-item__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-item__body {
    grid-template-rows: 1fr;
}

.faq-item__body-inner {
    overflow: hidden;
}

.faq-item__answer {
    padding: 0 25px 22px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1em;
}

.faq-item__answer p { margin: 0 0 12px; }
.faq-item__answer p:last-child { margin-bottom: 0; }
.faq-item__answer a { color: var(--primary-purple); text-decoration: underline; }
.faq-item__answer ul,
.faq-item__answer ol { padding-left: 20px; margin: 8px 0; }

@media (max-width: 768px) {
    .faq-section { padding: 60px 0; }
    .faq-item__trigger { padding: 18px 20px; }
    .faq-item__answer { padding: 0 20px 18px; }
    .faq-item__question { font-size: 0.97em; }
}

@media (max-width: 480px) {
    .faq-section { padding: 40px 0; }
}


/* ================================
   TEAM MEMBERS SECTION
   ================================ */

.team-section {
    padding: 80px 0;
    background: var(--white);
}

.team-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.team-section .section-header h2 {
    font-size: 2.2em;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.team-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-dept {
    margin-bottom: 50px;
}

.team-dept__title {
    font-size: 0.85em;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-left: 4px solid var(--primary-navy);
    padding-left: 14px;
    margin: 0 0 25px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.14);
}

.team-card__photo-wrap {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-light);
}

.team-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.team-card:hover .team-card__photo {
    transform: scale(1.05);
}

.team-card__body {
    padding: 20px;
}

.team-card__name {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 4px;
}

.team-card__role {
    font-size: 0.82em;
    color: var(--primary-purple);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 12px;
}

.team-card__bio {
    font-size: 0.9em;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-card__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.team-card__contact a {
    font-size: 0.82em;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.team-card__contact a:hover { color: var(--primary-navy); }

.team-card__social {
    display: flex;
    gap: 8px;
}

.team-card__social-link {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--bg-light);
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.75em;
    font-weight: 700;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.team-card__social-link:hover {
    background: var(--primary-navy);
    color: var(--white);
    border-color: var(--primary-navy);
}

/* Team Member Detail Page */
.member-page {
    padding: 60px 0 80px;
    background: var(--white);
}

.member-page__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.member-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--primary-purple);
    text-decoration: none;
    margin-bottom: 35px;
    transition: color 0.3s;
}

.member-back:hover { color: var(--light-purple); text-decoration: underline; }

.member-profile {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

.member-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.member-info__dept {
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-purple);
    margin: 0 0 8px;
}

.member-info__name {
    font-size: 2.2em;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 8px;
    line-height: 1.1;
}

.member-info__role {
    font-size: 1.1em;
    color: var(--text-light);
    margin: 0 0 22px;
}

.member-info__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 22px;
}

.member-info__contacts a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.95em;
    color: var(--primary-navy);
    text-decoration: none;
    transition: color 0.3s;
}

.member-info__contacts a:hover { color: var(--primary-purple); text-decoration: underline; }

.member-info__bio {
    font-size: 1.05em;
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0 0 25px;
}

.member-info__social {
    display: flex;
    gap: 10px;
}

.member-info__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--bg-light);
    border: 1px solid #e0e0e0;
    color: var(--text-light);
    font-size: 0.75em;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}

.member-info__social a:hover {
    background: var(--primary-navy);
    color: var(--white);
    border-color: var(--primary-navy);
}

@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .team-section { padding: 60px 0; }
    .team-grid { grid-template-columns: 1fr; }
    .member-profile { grid-template-columns: 1fr; }
    .member-photo { max-width: 280px; margin: 0 auto; }
    .member-info__name { font-size: 1.8em; }
}

@media (max-width: 480px) {
    .team-section { padding: 40px 0; }
    .member-info__name { font-size: 1.5em; }
}


/* ================================
   PRESS RELEASES SECTION
   ================================ */

.press-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.press-page-hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2a2a5e 100%);
    padding: 60px 20px;
    text-align: center;
    color: var(--white);
}

.press-page-hero h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--white);
}

.press-page-hero p {
    font-size: 1.1em;
    opacity: 0.85;
    margin: 0;
}

.press-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.press-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.press-section__heading {
    font-size: 2.2em;
    color: var(--text-dark);
    margin: 0 0 5px;
}

.press-section__all-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: color 0.3s;
    white-space: nowrap;
}

.press-section__all-link:hover { color: var(--light-purple); text-decoration: underline; }

.press-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.press-grid .press-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.press-grid .press-card:first-child .press-card__image-wrap {
    aspect-ratio: auto;
    height: 100%;
    min-height: 250px;
}

.press-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.press-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.13);
    border-color: var(--primary-purple);
}

.press-card__image-wrap {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-light);
}

.press-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.press-card:hover .press-card__image { transform: scale(1.05); }

.press-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e8f0;
    color: var(--primary-navy);
    opacity: 0.4;
}

.press-card__image-placeholder i {
    font-size: 3em;
}

.press-card__body {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.press-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.press-card__date {
    font-size: 0.8em;
    color: var(--text-light);
}

.press-card__source {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(26,26,78,0.08);
    color: var(--primary-navy);
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
}

.press-card__title {
    font-size: 1em;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0 0 10px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.press-card:hover .press-card__title { color: var(--primary-purple); }

.press-grid .press-card:first-child .press-card__title {
    font-size: 1.25em;
    -webkit-line-clamp: 4;
}

.press-card__excerpt {
    font-size: 0.875em;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.press-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #e0e0e0;
}

.press-card__read {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--primary-purple);
    transition: color 0.3s;
}

.press-card:hover .press-card__read { color: var(--light-purple); }

.press-card__pdf {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8em;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.press-card__pdf:hover { color: var(--primary-purple); }

/* Press Release Detail */
.pr-page {
    padding: 60px 0 80px;
    background: var(--white);
}

.pr-page__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.pr-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--primary-purple);
    text-decoration: none;
    margin-bottom: 35px;
    transition: color 0.3s;
}

.pr-back:hover { color: var(--light-purple); text-decoration: underline; }

.pr-header { margin-bottom: 30px; }

.pr-header__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.pr-header__date {
    font-size: 0.85em;
    color: var(--text-light);
}

.pr-header__source {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(26,26,78,0.08);
    color: var(--primary-navy);
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
}

.pr-header__title {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 12px;
    line-height: 1.15;
}

.pr-header__subtitle {
    font-size: 1.15em;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.pr-cover {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 40px;
    display: block;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.pr-body {
    font-size: 1.05em;
    color: var(--text-dark);
    line-height: 1.85;
    margin-bottom: 45px;
}

.pr-body h2 { font-size: 1.5em; font-weight: 700; margin: 2em 0 0.6em; color: var(--primary-navy); }
.pr-body h3 { font-size: 1.2em; font-weight: 700; margin: 1.8em 0 0.5em; color: var(--text-dark); }
.pr-body p { margin: 0 0 1.2em; }
.pr-body ul, .pr-body ol { padding-left: 1.6em; margin: 0 0 1.2em; }
.pr-body li { margin-bottom: 0.4em; }
.pr-body a { color: var(--primary-purple); }
.pr-body blockquote {
    border-left: 4px solid var(--primary-purple);
    padding: 10px 0 10px 20px;
    margin: 1.5em 0;
    color: var(--text-light);
    font-style: italic;
    background: var(--bg-light);
    border-radius: 0 8px 8px 0;
}

.pr-downloads {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.pr-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.pr-download-btn--pdf {
    background: var(--primary-purple);
    color: var(--white);
}

.pr-download-btn--pdf:hover {
    background: var(--light-purple);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91,44,111,0.3);
}

.pr-contact {
    background: var(--bg-light);
    border: 1px solid #e0e0e0;
    border-left: 4px solid var(--primary-navy);
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 40px;
}

.pr-contact__heading {
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin: 0 0 12px;
}

.pr-contact__name {
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px;
    font-size: 1.05em;
}

.pr-contact__links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.pr-contact__links a {
    font-size: 0.9em;
    color: var(--primary-purple);
    text-decoration: none;
    transition: color 0.3s;
}

.pr-contact__links a:hover { text-decoration: underline; }

.pr-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.pr-tag {
    display: inline-block;
    padding: 5px 14px;
    background: var(--bg-light);
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.8em;
    color: var(--text-light);
    transition: border-color 0.3s, color 0.3s;
}

.pr-tag:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.pr-related__heading {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 22px;
    padding-top: 35px;
    border-top: 2px solid #e0e0e0;
}

.pr-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pr-related-card {
    text-decoration: none;
    display: block;
    padding: 18px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: border-color 0.3s, background 0.3s;
}

.pr-related-card:hover {
    border-color: var(--primary-purple);
    background: #fff;
}

.pr-related-card__date {
    font-size: 0.78em;
    color: var(--text-light);
    display: block;
    margin-bottom: 6px;
}

.pr-related-card__title {
    font-size: 0.95em;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    transition: color 0.3s;
}

.pr-related-card:hover .pr-related-card__title { color: var(--primary-purple); }

/* Press Pagination */
.press-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .press-grid { grid-template-columns: repeat(2, 1fr); }
    .press-grid .press-card:first-child { grid-column: 1 / -1; }
    .pr-header__title { font-size: 2em; }
}

@media (max-width: 768px) {
    .press-section { padding: 60px 0; }
    .press-grid { grid-template-columns: 1fr; }
    .press-grid .press-card:first-child { display: flex; flex-direction: column; }
    .press-grid .press-card:first-child .press-card__image-wrap { min-height: 200px; height: 200px; }
    .pr-related-grid { grid-template-columns: 1fr; }
    .pr-header__title { font-size: 1.8em; }
    .pr-contact { padding: 20px; }
}

@media (max-width: 480px) {
    .press-section { padding: 40px 0; }
    .press-page-hero h1 { font-size: 1.8em; }
    .pr-header__title { font-size: 1.5em; }
}


/* ================================
   JOB LISTINGS SECTION
   ================================ */

.jobs-section {
    padding: 80px 0;
    background: var(--white);
}

.careers-hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2a2a5e 100%);
    padding: 70px 20px 60px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.careers-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(126,217,87,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.careers-hero h1 {
    font-size: 2.8em;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 15px;
    line-height: 1.1;
    position: relative;
}

.careers-hero p {
    font-size: 1.1em;
    opacity: 0.85;
    margin: 0 0 25px;
    position: relative;
}

.careers-hero__stat {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    padding: 8px 24px;
    font-size: 0.9em;
    color: var(--accent-green);
    font-weight: 700;
    position: relative;
}

.jobs-section__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.jobs-section__header {
    text-align: center;
    margin-bottom: 50px;
}

.jobs-section__header h2 {
    font-size: 2.2em;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.jobs-section__count {
    font-size: 1em;
    color: var(--text-light);
}

.jobs-section__count strong {
    color: var(--primary-purple);
}

.jobs-dept {
    margin-bottom: 45px;
}

.jobs-dept__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.jobs-dept__title {
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin: 0;
    white-space: nowrap;
}

.jobs-dept__divider {
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.jobs-dept__count {
    font-size: 0.8em;
    color: var(--text-light);
    white-space: nowrap;
}

.job-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.job-card:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 5px 20px rgba(91,44,111,0.1);
    background: #faf5ff;
}

.job-card--featured {
    border-left: 4px solid var(--accent-green);
}

.job-card__body {
    flex: 1;
    min-width: 0;
}

.job-card__title {
    font-size: 1.05em;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px;
    line-height: 1.3;
    transition: color 0.3s;
}

.job-card:hover .job-card__title { color: var(--primary-purple); }

.job-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.job-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75em;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid transparent;
}

.job-tag--type {
    background: #e8f5e9;
    color: #388e3c;
    border-color: #c8e6c9;
}

.job-tag--location {
    background: var(--bg-light);
    color: var(--text-light);
    border-color: #e0e0e0;
}

.job-tag--level {
    background: #fff8e1;
    color: #f57c00;
    border-color: #ffecb3;
}

.job-tag--salary {
    background: #f3e5f5;
    color: var(--primary-purple);
    border-color: #e1bee7;
}

.job-card__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.job-card__deadline {
    font-size: 0.75em;
    color: var(--text-light);
    white-space: nowrap;
}

.job-card__deadline--urgent { color: #e74c3c; font-weight: 600; }

.job-card__featured-badge {
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #388e3c;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    padding: 2px 8px;
    border-radius: 20px;
}

.job-card__apply {
    display: inline-block;
    padding: 9px 20px;
    background: var(--primary-navy);
    color: var(--white);
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s, transform 0.2s;
}

.job-card__apply:hover {
    background: #2a2a5e;
    transform: translateY(-2px);
}

/* Job Detail Page */
.job-page {
    padding: 60px 0 80px;
    background: var(--white);
}

.job-page__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.job-page__layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    align-items: start;
}

.job-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--primary-purple);
    text-decoration: none;
    margin-bottom: 35px;
    transition: color 0.3s;
}

.job-back:hover { color: var(--light-purple); text-decoration: underline; }

.job-header { margin-bottom: 30px; }

.job-header__dept {
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-purple);
    margin: 0 0 8px;
}

.job-header__title {
    font-size: 2.2em;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 18px;
    line-height: 1.15;
}

.job-header__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-section { margin-bottom: 35px; }

.job-section__title {
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-light);
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin: 0 0 18px;
}

.job-section__body {
    font-size: 1em;
    color: var(--text-dark);
    line-height: 1.8;
}

.job-section__body h2 { font-size: 1.1em; font-weight: 700; margin: 1.5em 0 0.5em; color: var(--primary-navy); }
.job-section__body p { margin: 0 0 1em; }
.job-section__body ul, .job-section__body ol { padding-left: 1.5em; margin: 0 0 1em; }
.job-section__body li { margin-bottom: 0.4em; }

/* Sidebar */
.job-sidebar { position: sticky; top: 24px; }

.job-apply-card {
    background: #e8f5e9;
    border: 2px solid #c8e6c9;
    border-radius: 12px;
    padding: 25px 22px;
    margin-bottom: 18px;
}

.job-apply-card__label {
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #388e3c;
    margin: 0 0 14px;
    display: block;
}

.job-apply-btn {
    display: block;
    width: 100%;
    padding: 13px;
    background: var(--primary-navy);
    color: var(--white);
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background 0.3s, transform 0.2s;
}

.job-apply-btn:hover {
    background: #2a2a5e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26,26,78,0.3);
}

.job-apply-email {
    display: block;
    text-align: center;
    font-size: 0.85em;
    color: var(--primary-purple);
    text-decoration: none;
    transition: color 0.3s;
}

.job-apply-email:hover { color: var(--light-purple); text-decoration: underline; }

.job-meta-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
}

.job-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 11px 0;
    border-bottom: 1px solid #e0e0e0;
    gap: 12px;
}

.job-meta-row:last-child { border-bottom: none; }

.job-meta-row__key {
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
}

.job-meta-row__val {
    font-size: 0.9em;
    color: var(--text-dark);
    font-weight: 600;
    text-align: right;
}

.job-meta-row__val--urgent { color: #e74c3c; }

/* Related Jobs */
.job-related {
    margin-top: 50px;
    padding-top: 35px;
    border-top: 2px solid #e0e0e0;
}

.job-related__title {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 18px;
}

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

.job-related-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--bg-light);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.3s, background 0.3s;
}

.job-related-item:hover {
    border-color: var(--primary-purple);
    background: #faf5ff;
}

.job-related-item__title {
    font-size: 0.95em;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s;
}

.job-related-item:hover .job-related-item__title { color: var(--primary-purple); }

.job-related-item__type {
    font-size: 0.78em;
    color: var(--text-light);
}

/* Empty state */
.jobs-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 1.05em;
    background: var(--bg-light);
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

@media (max-width: 900px) {
    .job-page__layout { grid-template-columns: 1fr; }
    .job-sidebar { position: static; }
    .job-header__title { font-size: 1.8em; }
}

@media (max-width: 768px) {
    .jobs-section { padding: 60px 0; }
    .careers-hero h1 { font-size: 2em; }
    .job-card { flex-direction: column; align-items: flex-start; }
    .job-card__right {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }
    .job-header__title { font-size: 1.5em; }
}

@media (max-width: 480px) {
    .jobs-section { padding: 40px 0; }
    .careers-hero { padding: 50px 20px 45px; }
    .careers-hero h1 { font-size: 1.7em; }
    .job-card { padding: 15px 18px; }
}


/* ================================
   SHARED PAGE HERO (FAQ, TEAM, etc.)
   ================================ */

.page-hero--simple {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8e8e8 100%);
    border-bottom: 3px solid var(--primary-purple);
    padding: 55px 20px 45px;
    text-align: center;
}

.page-hero__inner {
    max-width: 760px;
    margin: 0 auto;
}

.page-hero__label {
    display: inline-block;
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 10px;
}

.page-hero__title {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 12px;
    line-height: 1.1;
}

.page-hero__subtitle {
    font-size: 1.05em;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.page-hero__subtitle a {
    color: var(--primary-navy);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-hero--simple { padding: 40px 20px 35px; }
    .page-hero__title { font-size: 2em; }
}

@media (max-width: 480px) {
    .page-hero__title { font-size: 1.6em; }
}


/* ================================================================
   FAQ PAGE  —  custom URL FAQ pages with file attachments
   ================================================================ */

.faq-page-wrap {
    padding: 60px 0 80px;
    background: var(--bg-light);
}

/* Search bar */
.faq-search-wrap {
    max-width: 600px;
    margin: 0 auto 40px;
}

.faq-search-form {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-search-form:focus-within {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(91, 44, 111, 0.1);
}

.faq-search-input {
    flex: 1;
    padding: 13px 18px;
    border: none;
    outline: none;
    font-size: 1em;
    color: var(--text-dark);
    background: transparent;
}

.faq-search-btn {
    padding: 13px 20px;
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s;
}

.faq-search-btn:hover { background: var(--light-purple); }

.faq-search-clear {
    padding: 8px 14px;
    font-size: 0.85em;
    color: var(--text-light);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
}

.faq-search-clear:hover { color: var(--primary-purple); }

.faq-search-notice {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.95em;
}

/* FAQ group + items (shared with component, keep in sync) */
.faq-page-wrap .faq-group { margin-bottom: 40px; }

.faq-page-wrap .faq-group__title {
    font-size: 1em;
    font-weight: 700;
    color: var(--primary-navy);
    border-left: 4px solid var(--primary-purple);
    padding-left: 14px;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* File attachments inside FAQ answer */
.faq-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed #e0e0e0;
}

.faq-attachment-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875em;
    font-weight: 600;
    border: 1.5px solid transparent;
    transition: all 0.25s;
}

.faq-attachment-btn--pdf {
    background: #fef2f2;
    color: #c0392b;
    border-color: #fecaca;
}

.faq-attachment-btn--pdf:hover {
    background: #c0392b;
    color: var(--white);
    border-color: #c0392b;
}

.faq-attachment-btn--doc {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

.faq-attachment-btn--doc:hover {
    background: #2563eb;
    color: var(--white);
    border-color: #2563eb;
}

.faq-attachment-btn--xls {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #bbf7d0;
}

.faq-attachment-btn--xls:hover {
    background: #16a34a;
    color: var(--white);
    border-color: #16a34a;
}

.faq-attachment-btn--image {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}

.faq-attachment-btn--image:hover {
    background: #c2410c;
    color: var(--white);
    border-color: #c2410c;
}

.faq-attachment-btn--link,
.faq-attachment-btn--other {
    background: var(--bg-light);
    color: var(--primary-navy);
    border-color: #e0e0e0;
}

.faq-attachment-btn--link:hover,
.faq-attachment-btn--other:hover {
    background: var(--primary-navy);
    color: var(--white);
    border-color: var(--primary-navy);
}

.faq-attachment-btn__icon { font-size: 1em; }

.faq-attachment-btn__type {
    font-size: 0.7em;
    font-weight: 700;
    opacity: 0.6;
    letter-spacing: 0.06em;
}

/* Empty state */
.faq-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.faq-empty i {
    font-size: 4em;
    opacity: 0.2;
    display: block;
    margin-bottom: 18px;
}

.faq-empty p { font-size: 1.1em; }

/* Responsive */
@media (max-width: 768px) {
    .faq-page-wrap { padding: 40px 0 60px; }
    .faq-attachments { flex-direction: column; }
    .faq-attachment-btn { width: 100%; justify-content: flex-start; }
}

@media (max-width: 480px) {
    .faq-page-wrap { padding: 30px 0 50px; }
}


/* ================================================================
   PUBLICATION ARCHIVE  —  matches screenshot exactly
   Year accordion with 5-column grid of month/issue cards
   ================================================================ */

.pub-archive {
    padding: 40px 0 80px;
    background: var(--white);
}

.pub-archive__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top header row */
.pub-archive__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.pub-archive__title {
    font-size: 1.8em;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 6px;
}

.pub-archive__desc {
    font-size: 0.95em;
    color: var(--text-light);
    margin: 0;
}

/* Subscribe button — matches the purple pill in screenshot */
.pub-archive__subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--primary-purple);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875em;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
    max-width: 160px;
    transition: background 0.3s, transform 0.2s;
    flex-shrink: 0;
}

.pub-archive__subscribe-btn:hover {
    background: var(--dark-purple);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(91, 44, 111, 0.35);
}

/* ── Year accordion ── */
.pub-year {
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    margin-bottom: 12px;
    overflow: hidden;
}

/* Header bar — grey, like the screenshot */
.pub-year__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #d9d9d9;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
    gap: 10px;
}

.pub-year__header:hover { background: #cccccc; }

.pub-year__label {
    font-size: 0.95em;
    font-weight: 700;
    color: var(--text-dark);
}

.pub-year__toggle {
    font-size: 1.4em;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1;
    width: 22px;
    text-align: center;
    transition: transform 0.25s;
    flex-shrink: 0;
}

/* When collapsed, show + */
.pub-year:not(.is-open) .pub-year__toggle {
    transform: rotate(45deg); /* – rotated 45° = + visually */
}

/* Animated body */
.pub-year__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    background: var(--white);
}

.pub-year.is-open .pub-year__body {
    grid-template-rows: 1fr;
}

.pub-year__body-inner {
    overflow: hidden;
    padding: 0;
}

.pub-year.is-open .pub-year__body-inner {
    padding: 18px 20px 22px;
}

/* ── Items row (5 columns, matching screenshot grid) ── */
.pub-items-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.pub-items-row:last-child { margin-bottom: 0; }

/* ── Individual month card ── */
.pub-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
    background: #f0f0f0;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    min-height: 60px;
}

.pub-item:hover {
    background: var(--white);
    border-color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 44, 111, 0.12);
}

.pub-item__label {
    font-size: 0.82em;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 3px;
    transition: color 0.2s;
}

.pub-item:hover .pub-item__label { color: var(--primary-purple); }

.pub-item__issue {
    font-size: 0.75em;
    color: var(--text-light);
    line-height: 1.2;
}

/* Empty year */
.pub-year__empty {
    color: var(--text-light);
    font-size: 0.9em;
    padding: 10px 0;
    margin: 0;
}

/* Empty archive */
.pub-archive__empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.pub-archive__empty i {
    font-size: 4em;
    opacity: 0.2;
    display: block;
    margin-bottom: 18px;
}

.pub-archive__empty p { font-size: 1.1em; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .pub-items-row { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 700px) {
    .pub-items-row { grid-template-columns: repeat(3, 1fr); }
    .pub-archive__container { padding: 0 15px; }
}

@media (max-width: 520px) {
    .pub-items-row { grid-template-columns: repeat(2, 1fr); }
    .pub-archive__top { flex-direction: column; align-items: flex-start; }
    .pub-archive__subscribe-btn { max-width: 100%; }
    .pub-year__header { padding: 12px 15px; }
    .pub-year.is-open .pub-year__body-inner { padding: 15px; }
}

@media (max-width: 360px) {
    .pub-items-row { grid-template-columns: 1fr 1fr; }
}




/* ================================================================
   PUBLICATION ARCHIVE
   ================================================================ */

.pub-archive {
    padding: 40px 0 80px;
    background: var(--white);
}

/* ── Subscribe button ── */
.pub-archive__topbar {
    margin-bottom: 30px;
}

.pub-subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: var(--primary-purple);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875em;
    font-weight: 700;
    line-height: 1.35;
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
}

.pub-subscribe-btn:hover {
    background: var(--dark-purple);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(91, 44, 111, 0.35);
    color: var(--white);
}

/* ── Year block ── */
.pub-year {
    border: 1px solid #c8c8c8;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
}

/* ── Year header bar ── */
.pub-year__hd {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 18px;
    background: #d0d0d0;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 10px;
    transition: background 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.pub-year__hd:hover { background: #c4c4c4; }

.pub-year__hd-label {
    font-size: 0.9em;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

/* Pure-CSS +/– icon */
.pub-year__hd-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.pub-year__hd-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #555;
    transform: translateY(-50%);
}

.pub-year__hd-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #555;
    transform: translateX(-50%);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Open state → vertical bar disappears → shows – */
.pub-year.is-open .pub-year__hd-icon::after {
    transform: translateX(-50%) scaleY(0);
    opacity: 0;
}

/* ── Animated body ── */
.pub-year__bd {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    background: var(--white);
}

.pub-year.is-open .pub-year__bd {
    grid-template-rows: 1fr;
}

.pub-year__bd-inner {
    overflow: hidden;
    padding: 0 18px;
    transition: padding 0.3s ease;
}

.pub-year.is-open .pub-year__bd-inner {
    padding: 18px 18px 22px;
}

/* ── 5-column grid row ── */
.pub-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.pub-row:last-child { margin-bottom: 0; }

/* ── Month card (one per unique label, can hold multiple issues) ── */
.pub-card {
    display: flex;
    flex-direction: column;
    background: #f0f0f0;
    border-radius: 8px;
    border: 1px solid transparent;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 62px;
}

.pub-card:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 3px 12px rgba(91, 44, 111, 0.1);
}

/* ── Each issue link inside the card ── */
.pub-card__entry {
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
    text-decoration: none;
    transition: background 0.2s;
    /* Divider between multiple entries in same card */
    border-top: 1px solid rgba(0,0,0,0.06);
}

.pub-card__entry:first-child {
    border-top: none;
}

.pub-card__entry:hover {
    background: rgba(91, 44, 111, 0.06);
}

.pub-card__label {
    font-size: 0.82em;
    font-weight: 700;
    color: var(--primary-purple);
    line-height: 1.3;
    margin-bottom: 2px;
    transition: color 0.2s;
}

.pub-card__entry:hover .pub-card__label {
    color: var(--dark-purple);
}

.pub-card__issue {
    font-size: 0.72em;
    color: var(--text-light);
    line-height: 1.2;
}

/* ── Empty states ── */
.pub-year__empty {
    color: var(--text-light);
    font-size: 0.9em;
    padding: 8px 0;
    margin: 0;
}

.pub-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.pub-empty i {
    font-size: 4em;
    opacity: 0.2;
    display: block;
    margin-bottom: 18px;
}

.pub-empty p { font-size: 1.1em; margin: 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .pub-row { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .pub-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 520px) {
    .pub-row { grid-template-columns: repeat(2, 1fr); }
    .pub-year__hd { padding: 11px 14px; }
    .pub-year.is-open .pub-year__bd-inner { padding: 14px 14px 18px; }
    .pub-archive { padding: 25px 0 60px; }
}

@media (max-width: 360px) {
    .pub-row { grid-template-columns: 1fr 1fr; }
}



/* ================================================================
   FILE GATE MODAL
   ================================================================ */

/* ── Overlay ── */
.fg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 35, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: fg-fade-in 0.2s ease;
}

.fg-overlay[hidden] { display: none; }

@keyframes fg-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Modal box ── */
.fg-modal {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 460px;
    padding: 36px 36px 28px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0,0,0,0.06);
    animation: fg-slide-up 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fg-slide-up {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* ── Close button ── */
.fg-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: background 0.2s, color 0.2s;
}

.fg-modal__close svg { width: 12px; height: 12px; }

.fg-modal__close:hover {
    background: #e0e0e0;
    color: var(--text-dark);
}

/* ── Header ── */
.fg-modal__head {
    text-align: center;
    margin-bottom: 28px;
}

.fg-modal__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, rgba(91,44,111,0.1) 0%, rgba(26,26,78,0.1) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
}

.fg-modal__icon svg { width: 26px; height: 26px; }

.fg-modal__title {
    font-size: 1.35em;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 6px;
    line-height: 1.2;
}

.fg-modal__subtitle {
    font-size: 0.9em;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* ── Form fields ── */
.fg-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.fg-field { display: flex; flex-direction: column; gap: 5px; }

.fg-label {
    font-size: 0.85em;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 3px;
}

.fg-required { color: #e53935; font-size: 1.1em; line-height: 1; }

.fg-input {
    padding: 11px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95em;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    width: 100%;
}

.fg-input:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(91, 44, 111, 0.12);
}

.fg-input.is-error { border-color: #e53935; }
.fg-input.is-error:focus { box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12); }

.fg-error {
    font-size: 0.78em;
    color: #e53935;
    min-height: 1em;
    font-weight: 500;
}

/* ── Submit button ── */
.fg-submit {
    width: 100%;
    padding: 13px;
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.fg-submit:hover:not(:disabled) {
    background: var(--light-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(91, 44, 111, 0.35);
}

.fg-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.fg-submit__text,
.fg-submit__loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fg-submit__icon { width: 18px; height: 18px; }

/* Spinner */
.fg-spinner {
    width: 18px;
    height: 18px;
    animation: fg-spin 0.8s linear infinite;
}

.fg-spinner circle {
    animation: fg-dash 1.5s ease-in-out infinite;
}

@keyframes fg-spin  { to { transform: rotate(360deg); } }
@keyframes fg-dash  {
    0%   { stroke-dashoffset: 31.416; }
    50%  { stroke-dashoffset: 8; }
    100% { stroke-dashoffset: 31.416; }
}

/* ── Privacy note ── */
.fg-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.75em;
    color: var(--text-light);
    margin: 0;
    text-align: center;
}

/* ── Success state ── */
.fg-success {
    text-align: center;
    padding: 10px 0 8px;
}

.fg-success[hidden] { display: none; }

.fg-success__icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fg-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fg-pop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.fg-success__icon svg {
    width: 26px;
    height: 26px;
    stroke: #2e7d32;
    stroke-width: 2.5;
}

.fg-success__msg {
    font-size: 1em;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 520px) {
    .fg-modal {
        padding: 28px 22px 22px;
        border-radius: 12px;
    }

    .fg-modal__title { font-size: 1.2em; }
}
