/* =========================
   GLOBAL
========================= */

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #111827;
    background: #ffffff;
}

html {
    scroll-behavior: smooth;
}
/* =========================
   NAVBAR
========================= */

.navbar {
    min-height: 64px;
    border-bottom: 1px solid #eeeeee;
}

.navbar-brand {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}

.brand-icon {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 8px;

    background: #4f46e5;
    color: white;

    border-radius: 50%;

    font-size: 14px;
}

.navbar-nav {
    gap: 8px;
}

.nav-link {
    font-size: 13px;
    color: #555f70;
    padding: 7px 12px !important;
    border-radius: 20px;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link.active {
    background: #eef4ff;
    color: #2563eb;
}

.join-btn {
    background: #2563eb;
    color: white;

    border-radius: 20px;

    padding: 8px 17px;

    font-size: 13px;
    font-weight: 600;
}

.join-btn:hover {
    background: #1d4ed8;
    color: white;
}

/* =========================
   PAGE HEADER
========================= */

.page-header {
    padding: 35px 0 42px;
}

.breadcrumb-text {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 18px;
}

.breadcrumb-text span {
    margin: 0 7px;
}

.semester-badge {
    display: inline-block;

    background: #eef4ff;
    color: #2563eb;

    border-radius: 20px;

    padding: 6px 12px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;

    margin-bottom: 18px;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header h1 span {
    color: #4f6df5;
}

.page-header p {
    max-width: 600px;

    color: #718096;

    font-size: 14px;
    line-height: 1.7;

    margin-bottom: 18px;
}

.header-tags {
    display: flex;
    gap: 8px;
}

.tag {
    padding: 6px 12px;
    border-radius: 15px;

    font-size: 11px;
    font-weight: 600;
}

.blue-tag {
    background: #eef4ff;
    color: #3568e8;
}

.purple-tag {
    background: #f0edff;
    color: #7357e8;
}

.green-tag {
    background: #dcfce7;
    color: #159447;
}

/* =========================
   FILTER SECTION
========================= */

.filter-section {
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #eeeeee;

    padding: 18px 0;
}

.filter-grid {
    display: grid;

    grid-template-columns:
        2.3fr
        0.8fr
        0.8fr
        0.8fr
        auto;

    gap: 10px;

    align-items: end;
}

.filter-item label {
    display: block;

    font-size: 9px;
    font-weight: 700;

    color: #9ca3af;

    letter-spacing: 1px;

    margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;

    left: 12px;
    top: 50%;

    transform: translateY(-50%);

    color: #a5afbf;
}

.input-wrapper input,
.filter-item select {
    width: 100%;

    height: 38px;

    border: 1px solid #e5eaf0;
    border-radius: 10px;

    background: #f8fafc;

    padding: 0 12px;

    font-size: 11px;

    outline: none;
}

.input-wrapper input {
    padding-left: 32px;
}

.input-wrapper input:focus,
.filter-item select:focus {
    border-color: #6b8cff;
    background: white;
}

.filter-buttons {
    display: flex;
    gap: 7px;
}

.search-btn,
.reset-btn {
    height: 38px;

    border-radius: 10px;

    padding: 0 15px;

    font-size: 11px;
    font-weight: 600;

    cursor: pointer;
}

.search-btn {
    border: none;

    background: #2563eb;
    color: white;
}

.reset-btn {
    border: 1px solid #e5e7eb;

    background: white;
    color: #6b7280;
}

/* =========================
   EVENT SECTIONS
========================= */

.events-section {
    padding: 24px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 16px;
}

.section-icon {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eaf1ff;
    color: #4073e9;

    border-radius: 7px;
}

.section-heading small {
    display: block;

    font-size: 9px;
    font-weight: 700;

    color: #4f7cf0;

    letter-spacing: 1px;
}

.section-heading h2 {
    margin: 0;

    font-size: 21px;
    font-weight: 700;
}

/* =========================
   EVENT CARD
========================= */

.event-card {
    overflow: hidden;

    background: white;

    border: 1px solid #e7ebf1;

    border-radius: 12px;

    box-shadow: 0 3px 10px rgba(30, 50, 80, 0.06);

    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(30, 50, 80, 0.10);
}

.event-image {
    height: 135px;

    position: relative;

    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.event-type,
.event-level {
    position: absolute;
    top: 8px;
    padding: 4px 7px;
    border-radius: 7px;
    background: white;
    color: #3c6ee9;
    font-size: 8px;
    font-weight: 700;
}

.event-type {
    left: 8px;
}

.event-level {
    left: 78px;
}

.event-content {
    padding: 12px;
}

.event-content h3 {
    font-size: 14px;
    font-weight: 700;

    margin-bottom: 10px;
}

.event-content p {
    margin: 5px 0;

    font-size: 10px;

    color: #718096;
}

.event-content p i {
    width: 18px;

    color: #5d84ee;
}

.register-btn {
    width: 100%;

    margin-top: 9px;

    border: none;

    background: #2563eb;
    color: white;

    border-radius: 9px;

    padding: 8px;

    font-size: 10px;
    font-weight: 600;

    cursor: pointer;
}

.register-btn:hover {
    background: #1d4ed8;
}

.hackathon-section {
    background: #f7f9fc;
    padding: 24px 0 30px;
}

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

.calendar-section {
    padding: 30px 0 45px;
}

.calendar-banner {
    height: 190px;

    position: relative;

    overflow: hidden;

    border-radius: 12px;
}

.calendar-banner img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.calendar-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 25px;

    background: rgba(30, 40, 100, 0.45);

    color: white;
}

.calendar-overlay span {
    font-size: 10px;
}

.calendar-overlay h3 {
    font-size: 20px;
    margin-top: 7px;
}

.calendar-btn {
    margin-top: 12px;

    background: white;

    border: 1px solid #e2e6eb;

    border-radius: 9px;

    padding: 8px 13px;

    font-size: 10px;

    color: #555f70;
}

/* Upcoming list */

.upcoming-box {
    background: #f8fafc;

    border: 1px solid #edf0f4;

    border-radius: 12px;

    padding: 18px;
}

.upcoming-box > h3 {
    font-size: 13px;

    margin-bottom: 10px;
}

.upcoming-event {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 9px 0;

    border-bottom: 1px solid #e8ecf1;
}

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

.date-box {
    width: 34px;
    min-width: 34px;

    text-align: center;

    background: white;

    border-radius: 7px;

    padding: 4px;

    border: 1px solid #edf0f4;
}

.date-box strong {
    display: block;

    font-size: 7px;

    color: #4f7cf0;
}

.date-box span {
    font-size: 12px;

    font-weight: 700;
}

.upcoming-info {
    flex: 1;
}

.upcoming-info strong {
    display: block;

    font-size: 9px;
}

.upcoming-info small {
    font-size: 8px;

    color: #5d84ee;
}

.upcoming-event button {
    border: none;

    background: transparent;

    color: #4f7cf0;

    font-size: 8px;

    cursor: pointer;
}
/* =========================
   FOOTER
========================= */

.site-footer {
    padding: 35px 0 15px;

    border-top: 1px solid #eeeeee;

    background: white;
}

.footer-brand {
    display: flex;
    align-items: center;

    gap: 8px;

    font-size: 12px;
}

.site-footer p {
    max-width: 300px;

    color: #7a8494;

    font-size: 10px;
    line-height: 1.7;
}

.site-footer h4 {
    font-size: 9px;

    letter-spacing: 1px;

    margin-bottom: 15px;
}

.site-footer a {
    display: block;

    color: #7a8494;

    text-decoration: none;

    font-size: 10px;

    margin-bottom: 9px;
}

.site-footer a:hover {
    color: #2563eb;
}

.newsletter {
    display: flex;

    gap: 5px;
}

.newsletter input {
    width: 150px;

    border: 1px solid #e5e7eb;

    border-radius: 8px;

    padding: 8px;

    font-size: 9px;
}

.newsletter button {
    border: none;

    background: #2563eb;

    color: white;

    border-radius: 8px;

    padding: 8px 12px;

    font-size: 9px;
}

.site-footer hr {
    border: none;

    border-top: 1px solid #eeeeee;

    margin: 20px 0 12px;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    color: #a0a8b5;

    font-size: 8px;
}

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

.calendar-container {
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-sizing: border-box;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.calendar-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.calendar-nav {
    width: 32px;
    height: 32px;

    border: none;
    border-radius: 50%;

    background: #f1f5f9;

    cursor: pointer;

    font-size: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav:hover {
    background: #e2e8f0;
}

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

.calendar-weekdays {
    margin-bottom: 8px;
}

.calendar-weekdays div {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.calendar-days {
    gap: 4px;
}

.calendar-day {
    min-height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    font-size: 13px;

    position: relative;
}

.calendar-day.empty {
    visibility: hidden;
}

.calendar-day.event-day {
    background: #eef2ff;
    font-weight: 600;
    cursor: pointer;
}

.calendar-day.event-day::after {
    content: "";

    position: absolute;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    bottom: 4px;
}

.calendar-day.event-day:hover {
    background: #e0e7ff;
}

.calendar-legend {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-top: 15px;

    font-size: 12px;
    color: #64748b;
}

.calendar-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;
}

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

.calendar-event-popup {
    display: none;

    position: relative;

    margin-top: 15px;

    padding: 20px;

    background: #ffffff;

    border-radius: 12px;

    border: 1px solid #e2e8f0;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.calendar-event-popup h3 {
    margin: 0 30px 15px 0;

    font-size: 18px;

    font-weight: 600;
}

.calendar-event-popup p {
    margin: 8px 0;

    font-size: 13px;

    color: #64748b;
}

.calendar-event-popup p i {
    margin-right: 7px;
}

.calendar-popup-close {
    position: absolute;

    top: 10px;
    right: 10px;

    width: 28px;
    height: 28px;

    border: none;

    border-radius: 50%;

    background: #f1f5f9;

    font-size: 20px;

    cursor: pointer;
}

.calendar-popup-close:hover {
    background: #e2e8f0;
}

.popup-event-type {
    display: inline-block;

    margin-top: 8px;

    padding: 5px 10px;

    border-radius: 20px;

    background: #eef2ff;

    font-size: 11px;

    font-weight: 600;
}

.upcoming-register-btn {
    border: none;
    background: transparent;
    color: #2563eb;
    font-size: 11px;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 4px;
}

.upcoming-register-btn:hover {
    background: #eff6ff;
}

/* Registered state */
.upcoming-register-btn.registered {
    background: #16a34a;
    color: #ffffff;
    font-weight: 600;
    cursor: default;
    padding: 5px 10px;
}

.social-share-section {
    padding: 40px 0;
    text-align: center;
    background: #ffffff;
}

.social-share-section small {
    color: #2563eb;
    font-weight: 600;
    letter-spacing: 2px;
}

.social-share-section h2 {
    margin: 8px 0;
}

.social-share-section p {
    color: #64748b;
    margin-bottom: 25px;
}

.social-share-section .a2a_kit {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.projects-header {
    padding: 55px 0 45px;
    background: #ffffff;
}

.projects-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.projects-header-text {
    max-width: 560px;
}

.projects-header-text small {
    display: block;

    color: #2563eb;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.projects-header-text h1 {
    margin: 0 0 12px;

    font-size: 42px;

    font-weight: 700;

    letter-spacing: -1px;

    color: #0f172a;
}

.projects-header-text p {
    margin: 0;

    color: #64748b;

    font-size: 14px;

    line-height: 1.7;
}

.projects-stats {
    display: flex;

    background: #ffffff;

    border-radius: 12px;

    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);

    overflow: hidden;

    min-width: 420px;
}

.stat-item {
    flex: 1;

    text-align: center;

    padding: 25px 20px;

    border-right: 1px solid #eef2f7;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item strong {
    display: block;

    font-size: 28px;

    font-weight: 700;

    color: #0f172a;

    margin-bottom: 5px;
}

.stat-item span {
    display: block;

    font-size: 8px;

    letter-spacing: 1.5px;

    color: #94a3b8;

    font-weight: 600;
}

/* ========================================
   FEATURED AI PROJECTS
======================================== */

.featured-projects {
    padding: 55px 0;
    background: #ffffff;
}

.projects-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 25px;
}

.projects-section-heading h2 {
    margin: 0;

    font-size: 24px;

    font-weight: 700;

    color: #0f172a;
}

.projects-section-heading a {
    color: #2563eb;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;
}

.projects-section-heading a:hover {
    text-decoration: underline;
}

.featured-project-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

/* ========================================
   INNOVATION SPOTLIGHT
======================================== */

.innovation-spotlight {
    padding: 55px 0;

    background: #ffffff;
}

.spotlight-card {
    display: grid;

    grid-template-columns: 1fr 1.25fr;

    min-height: 310px;

    overflow: hidden;

    border-radius: 12px;

    background: #17245b;

    box-shadow:
        0 8px 25px rgba(15, 23, 42, 0.10);
}

.spotlight-image {
    min-height: 310px;

    overflow: hidden;
}

.spotlight-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}

.spotlight-content {
    padding: 70px 55px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.spotlight-content small {
    display: block;

    margin-bottom: 12px;

    color: #60a5fa;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;
}

.spotlight-content h2 {
    margin: 0 0 15px;

    max-width: 850px;

    color: #ffffff;

    font-size: 28px;

    line-height: 1.8;

    font-weight: 700;
}

.spotlight-content p {
    margin: 0 0 22px;

    max-width: 520px;

    color: #cbd5e1;

    font-size: 12px;

    line-height: 1.7;
}

.spotlight-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}

.spotlight-primary,
.spotlight-secondary {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 9px 16px;

    border-radius: 6px;

    font-size: 10px;

    font-weight: 600;

    text-decoration: none;

    transition: 0.2s ease;
}

.spotlight-primary {
    background: #ffffff;

    color: #17245b;
}

.spotlight-primary:hover {
    background: #e2e8f0;
}

.spotlight-secondary {
    border: 1px solid #64748b;

    color: #ffffff;

    background: transparent;
}

.spotlight-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* =========================================
   AI PROJECT CARDS
========================================= */

.project-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.project-image {
    position: relative;
    height: 190px;
    overflow: hidden;
}

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

.project-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffffff;
    color: #2563eb;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-content p {
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 14px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.project-tags span {
    padding: 4px 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 10px;
    color: #64748b;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.project-author {
    display: flex;
    flex-direction: column;
}

.project-author strong {
    font-size: 12px;
}

.project-author small {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 3px;
}

.project-stats {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: #94a3b8;
}

.view-project-btn {
    width: 100%;
    padding: 10px;
    border: 2px solid #2563eb;
    background: #ffffff;
    color: #2563eb;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.view-project-btn:hover {
    background: #2563eb;
    color: #ffffff;
}

/* =========================================
   ALL AI PROJECTS
========================================= */

.all-projects {
    padding: 60px 0;
}

.all-projects .section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.all-projects .section-heading h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-container label {
    font-size: 12px;
    color: #64748b;
}

.sort-container select {
    padding: 8px 35px 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    font-size: 12px;
    cursor: pointer;
}

/* =========================================
   PROJECT PAGINATION
========================================= */

.project-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-btn,
.pagination-number {
    border: none;
    background: transparent;
    color: #64748b;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.pagination-number.active {
    background: #2563eb;
    color: white;
}

.pagination-btn:hover,
.pagination-number:hover {
    background: #eff6ff;
    color: #2563eb;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Featured Projects heading */
.featured-projects .section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.featured-projects .section-heading h2 {
    margin: 0;
}

.featured-projects .view-all-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.featured-projects .view-all-link:hover {
    text-decoration: underline;
}

/* =========================================
   PROJECT DETAIL MODAL
========================================= */

.project-modal {
    display: none;

    position: fixed;

    inset: 0;

    background: rgba(15, 23, 42, 0.55);

    z-index: 9999;

    justify-content: center;
    align-items: center;

    padding: 20px;
}

.project-modal.show {
    display: flex;
}

.project-modal-content {
    position: relative;

    width: 100%;
    max-width: 650px;

    max-height: 90vh;

    overflow-y: auto;

    background: white;

    border-radius: 14px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.project-modal-content > img {
    width: 100%;
    height: 260px;

    object-fit: cover;

    display: block;
}

.project-modal-body {
    padding: 30px;
}

.project-modal-body h2 {
    margin: 15px 0 10px;

    font-size: 26px;
}

.project-modal-body p {
    color: #64748b;

    line-height: 1.7;

    margin-bottom: 20px;
}

.project-modal-meta {
    display: flex;

    gap: 15px;

    margin-top: 20px;

    color: #64748b;

    font-size: 13px;
}

.close-project-modal {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 35px;
    height: 35px;

    border: none;

    border-radius: 50%;

    background: white;

    font-size: 22px;

    cursor: pointer;

    z-index: 2;
}

.close-project-modal:hover {
    background: #f1f5f9;
}

.footer-description {
    margin-top: 15px;
}

/* =========================
   DESKTOP CONTENT WIDTH
========================= */

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

/* ========================================
   AI PROJECTS HEADER
======================================== */
@media (max-width: 900px) {

    .projects-header-row {
        flex-direction: column;

        align-items: flex-start;
    }

    .projects-stats {
        width: 100%;

        min-width: 0;
    }

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

    .all-project-grid {
        grid-template-columns: 1fr 1fr;
    }

    .spotlight-card {
        grid-template-columns: 1fr;
    }

    .spotlight-image {
        min-height: 240px;
    }

    .spotlight-content {
        padding: 60px;
    }
}
/* Mobile */
@media (max-width: 600px) {

    .projects-header {
        padding: 40px 0;
    }

    .projects-stats {
        flex-direction: column;
    }

    .stat-item {
        border-right: none;

        border-bottom: 1px solid #eef2f7;
    }

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

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

    .projects-section-heading {
        align-items: flex-start;

        gap: 10px;
    }

    .all-project-grid {
        grid-template-columns: 1fr;
    }

    .project-pagination {
        flex-wrap: wrap;
    }

    .innovation-spotlight {
        padding: 40px 0;
    }

    .spotlight-image {
        min-height: 200px;
    }

    .spotlight-content {
        padding: 28px 22px;
    }

    .spotlight-content h2 {
        font-size: 23px;
    }

    .spotlight-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .spotlight-primary,
    .spotlight-secondary {
        width: 100%;
    }

}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 991px) {

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

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

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

    .page-header h1 {
        font-size: 36px;
    }

}

@media (max-width: 576px) {

    .page-header {
        padding: 25px 0 30px;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .header-tags {
        flex-wrap: wrap;
    }

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

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

    .filter-buttons {
        width: 100%;
    }

    .search-btn,
    .reset-btn {
        flex: 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

}

/* ========================================
   NEWSLETTER
======================================== */

.newsletter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

/* Email field */
.newsletter-email {
    flex: 1;
    min-width: 150px;
    height: 34px;
    box-sizing: border-box;
}

/* After subscription */
.newsletter-email:disabled {
    background: #f8fafc;
    color: #64748b;
    cursor: default;
    opacity: 1;
}

/* Subscribe button */
.newsletter-btn {
    height: 34px;
    min-width: 90px;
    padding: 0 12px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    font-size: 9px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease;
}

.newsletter-btn:hover:not(:disabled) {
    background: #1d4ed8;
}

/* Subscribed state */
.newsletter-btn:disabled {
    background: #16a34a;
    color: white;
    cursor: default;
    opacity: 1;
}

/* Confirmation message */
.newsletter-message {
    flex: 0 0 100%;
    display: block;
    box-sizing: border-box;

    margin-top: 4px;
    padding: 7px 10px;

    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 7px;

    color: #15803d;
    font-size: 9px;
    line-height: 1.4;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.newsletter-message.show {
    opacity: 1;
    visibility: visible;
}