/* =============================================================
   pages.css — Internal page styles
   Append/link alongside style.css
   ============================================================= */

/* ===== CFP HERO ===== */
.cfp-hero {
    min-height: 60vh;
    padding-top: 90px; /* clear fixed header */
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-left: 6%;
    overflow: hidden;
    position: relative;
}

/* Left column: title + breadcrumb */
.cfp-hero-left {
    flex: 0 0 auto;
    max-width: 380px;
    z-index: 2;
    animation: fadeInUp 0.7s ease-out both;
}

.cfp-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.breadcrumb a,
.breadcrumb span {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    text-transform: uppercase;
}

.breadcrumb a:hover { color: #1e40af; }

.breadcrumb .breadcrumb-current { color: #1e40af; }

.breadcrumb i {
    font-size: 0.6rem;
    color: #9ca3af;
}

/* Right column: oval image */
.cfp-hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    min-height: 60vh;
    overflow: hidden;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.oval-frame {
    width: 65vw;
    max-width: 820px;
    height: 58vh;
    min-height: 340px;
    /* Semi-oval: flat on right, curved on left */
    border-radius: 50% 0 0 50% / 50% 0 0 50%;
    overflow: hidden;
    box-shadow: -12px 16px 50px rgba(0,0,0,0.14);
}

.oval-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ===== ACTIVE NAV LINK ===== */
.active-link {
    color: #1e40af !important;
    font-weight: 600 !important;
}

/* ===== MAIN CONTENT ===== */
.cfp-main {
    background: #fff;
    padding: 4rem 0 5rem;
}

.cfp-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Intro */
.cfp-intro {
    margin-bottom: 3.5rem;
}

.cfp-intro h2 {
    font-size: 2rem;
    font-weight: 400;
    color: #111827;
    margin-bottom: 1rem;
}

.cfp-intro p {
    color: #4b5563;
    line-height: 1.85;
    font-size: 1rem;
    text-align: justify;
}

/* Generic section */
.cfp-section {
    margin-bottom: 3.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e7eb;
}

.cfp-section:last-of-type {
    border-bottom: none;
}

.cfp-section h2 {
    font-size: 1.7rem;
    font-weight: 400;
    color: #1e40af;
    margin-bottom: 1rem;
}

.cfp-section > p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Topics grid */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.topic-group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.topic-group h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topic-group h3 i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.topic-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.topic-group ul li {
    font-size: 0.875rem;
    color: #4b5563;
    padding: 0.3rem 0;
    padding-left: 0.9rem;
    position: relative;
    line-height: 1.5;
}

.topic-group ul li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #93c5fd;
}

/* Submission guidelines */
.guidelines-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.guideline-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.4rem 1.5rem;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s ease;
}

.guideline-item:hover {
    box-shadow: 0 4px 20px rgba(30,64,175,0.08);
}

.guideline-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

.guideline-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.35rem;
}

.guideline-item p {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* Important dates table */
.dates-table {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.date-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}

.date-row:last-child { border-bottom: none; }

.date-row:hover { background: #f8fafc; }

.date-row.highlight-row {
    background: #eff6ff;
}

.date-row.highlight-row:hover {
    background: #dbeafe;
}

.date-label {
    font-size: 0.92rem;
    color: #374151;
    font-weight: 500;
}

.date-value {
    font-size: 0.88rem;
    color: #1e40af;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.date-value i { font-size: 0.8rem; opacity: 0.7; }

/* CTA block */
.cfp-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: #f0f4ff;
    border-radius: 16px;
    margin-top: 1rem;
}

.cfp-cta p {
    color: #4b5563;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .topics-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .cfp-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 1.5rem 0;
        min-height: auto;
        gap: 1.5rem;
    }

    .cfp-hero-left {
        max-width: 100%;
    }

    .cfp-hero-image {
        width: 100%;
        min-height: 240px;
        justify-content: center;
    }

    .oval-frame {
        width: 100%;
        max-width: 100%;
        height: 240px;
        /* On mobile: rounded top, flat bottom */
        border-radius: 50% 50% 0 0 / 40% 40% 0 0;
    }

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

    .date-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}

@media (max-width: 480px) {
    .cfp-hero-title { font-size: 1.8rem; }
    .cfp-intro h2,
    .cfp-section h2 { font-size: 1.4rem; }
}

/* ===== PROCEEDINGS — external links list ===== */
.info-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
}
 
.info-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #1e40af;
    text-decoration: none;
    transition: color 0.2s ease;
}
 
.info-links a i {
    font-size: 0.75rem;
    opacity: 0.7;
}
 
.info-links a:hover { color: #1d4ed8; text-decoration: underline; }
 
/* ===== BEST PAPER — highlight box ===== */
.highlight-box {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-left: 4px solid #1e40af;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin-top: 0.5rem;
}
 
.highlight-box-icon {
    font-size: 2rem;
    color: #1e40af;
    flex-shrink: 0;
    opacity: 0.85;
}
 
.highlight-box p {
    font-size: 0.95rem;
    color: #1e3a8a;
    line-height: 1.7;
    margin: 0;
}
 
/* ===== SUBMISSION INSTRUCTIONS — inline links & code ===== */
.cfp-section h2 i {
    font-size: 1.2rem;
    margin-right: 0.4rem;
    opacity: 0.75;
}
 
.guideline-item a {
    color: #1e40af;
    text-decoration: none;
    border-bottom: 1px solid #bfdbfe;
    transition: border-color 0.2s ease, color 0.2s ease;
}
 
.guideline-item a:hover {
    color: #1d4ed8;
    border-color: #1d4ed8;
}
 
code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85em;
    background: #f1f5f9;
    color: #0f172a;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}
 
.code-block {
    display: block;
    margin-top: 0.75rem;
    background: #0f172a;
    color: #93c5fd;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    letter-spacing: 0.02em;
    overflow-x: auto;
    white-space: nowrap;
}
 
/* ===== CONFLICT OF INTEREST ===== */
.coi-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
 
.coi-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: #374151;
    line-height: 1.6;
}
 
.coi-list li i {
    font-size: 0.45rem;
    color: #1e40af;
    margin-top: 0.45rem;
    flex-shrink: 0;
}
 
.coi-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: #6b7280;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.9rem 1.1rem;
    line-height: 1.6;
    margin: 0;
}
 
.coi-note i {
    color: #1e40af;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* =============================================================
   ORGANIZATION PAGE
   ============================================================= */
 
.org-container {
    max-width: 1000px;
    padding-top: 1rem;
}
 
/* Hero sub-text */
.cfp-hero-sub {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.7;
}
 
/* ===== COMMITTEE GROUP ===== */
.org-group {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e5e7eb;
    animation: fadeInUp 0.5s ease-out both;
}
 
.org-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
 
.org-group-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}
 
.org-group-header i {
    font-size: 1rem;
    color: #1e40af;
    width: 32px;
    height: 32px;
    background: #eff6ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
 
.org-group-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0;
}
 
/* ===== MEMBER CARDS ===== */
.org-members {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
 
.org-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    flex: 1 1 260px;
    max-width: 340px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
 
.org-card:hover {
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.09);
    border-color: #bfdbfe;
}
 
.org-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
}
 
.org-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.2rem;
    line-height: 1.3;
}
 
.org-card p {
    font-size: 0.78rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}
 
/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .org-card {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

/* =============================================================
   PREVIOUS EDITIONS PAGE
   ============================================================= */
 
.editions-container {
    max-width: 1100px;
}
 
/* ===== STATS BAR ===== */
.editions-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.75rem 2rem;
    margin-bottom: 2.5rem;
}
 
.edition-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2.5rem;
}
 
.edition-stat-number {
    font-size: 2rem;
    font-weight: 600;
    color: #1e40af;
    line-height: 1;
    margin-bottom: 0.3rem;
}
 
.edition-stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
 
.edition-stat-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
    flex-shrink: 0;
}
 
/* ===== FILTER BUTTONS ===== */
.editions-filter {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
 
.filter-btn {
    padding: 0.45rem 1.1rem;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    background: #fff;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}
 
.filter-btn:hover {
    border-color: #bfdbfe;
    color: #1e40af;
    background: #eff6ff;
}
 
.filter-btn.active {
    background: #1e40af;
    border-color: #1e40af;
    color: #fff;
}
 
/* ===== EDITIONS GRID ===== */
.editions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
 
/* ===== EDITION CARD ===== */
.edition-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    animation: editionFadeIn 0.4s ease-out both;
}
 
.edition-card:hover {
    box-shadow: 0 8px 28px rgba(30, 64, 175, 0.1);
    transform: translateY(-3px);
    border-color: #bfdbfe;
}
 
.edition-year-badge {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.9rem 1.25rem;
    line-height: 1;
}
 
.edition-card-body {
    padding: 1rem 1.25rem 0.75rem;
    flex: 1;
}
 
.edition-card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.2rem;
}
 
.edition-edition {
    font-size: 0.75rem;
    color: #1e40af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}
 
.edition-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
 
.edition-meta span {
    font-size: 0.8rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
 
.edition-meta i {
    font-size: 0.7rem;
    color: #93c5fd;
    width: 12px;
    flex-shrink: 0;
}
 
.edition-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.25rem;
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e40af;
    text-decoration: none;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    transition: background 0.2s ease, color 0.2s ease;
}
 
.edition-link:hover {
    background: #eff6ff;
    color: #1d4ed8;
}
 
.edition-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}
 
.edition-link:hover i {
    transform: translateX(3px);
}
 
.edition-link-disabled {
    color: #9ca3af;
    cursor: default;
    pointer-events: none;
    background: #f8fafc;
}
 
.edition-link-disabled:hover {
    background: #f8fafc;
    color: #9ca3af;
}
 
/* ===== ANIMATION ===== */
@keyframes editionFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
 
/* Stagger cards */
.edition-card:nth-child(1)  { animation-delay: 0.03s; }
.edition-card:nth-child(2)  { animation-delay: 0.06s; }
.edition-card:nth-child(3)  { animation-delay: 0.09s; }
.edition-card:nth-child(4)  { animation-delay: 0.12s; }
.edition-card:nth-child(5)  { animation-delay: 0.15s; }
.edition-card:nth-child(6)  { animation-delay: 0.18s; }
.edition-card:nth-child(7)  { animation-delay: 0.21s; }
.edition-card:nth-child(8)  { animation-delay: 0.24s; }
.edition-card:nth-child(9)  { animation-delay: 0.27s; }
 
/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .editions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
 
@media (max-width: 600px) {
    .editions-grid {
        grid-template-columns: 1fr;
    }
 
    .editions-stats {
        gap: 1rem;
        justify-content: space-around;
    }
 
    .edition-stat {
        padding: 0 1rem;
    }
 
    .edition-stat-divider {
        display: none;
    }
 
    .editions-filter {
        gap: 0.4rem;
    }
 
    .filter-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.85rem;
    }
}
 
/* =============================================================
   VENUE PAGE
   ============================================================= */
 
.venue-container { max-width: 1000px; }
 
/* ===== ABOUT NITK ===== */
.venue-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 1rem;
    align-items: start;
}
 
.venue-about-text p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.85;
    margin-bottom: 1rem;
}
 
.venue-about-text p:last-child { margin-bottom: 0; }
 
.venue-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}
 
.venue-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
}
 
.venue-highlight-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    font-size: 0.85rem;
}
 
.venue-highlight-item h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.15rem;
}
 
.venue-highlight-item p {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}
 
/* ===== LIFE AT NITK ===== */
.life-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.25rem;
}
 
.life-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
 
.life-card:hover {
    box-shadow: 0 6px 20px rgba(30,64,175,0.08);
    border-color: #bfdbfe;
}
 
.life-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
 
.life-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}
 
.life-card p {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}
 
/* ===== TRAVEL CARDS ===== */
.travel-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.25rem;
}
 
.travel-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
}
 
.travel-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: #fff;
}
 
.travel-card-header.air   { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.travel-card-header.train { background: linear-gradient(135deg, #065f46, #059669); }
.travel-card-header.road  { background: linear-gradient(135deg, #92400e, #d97706); }
 
.travel-card-header i  { font-size: 1.2rem; }
.travel-card-header h3 { font-size: 1.05rem; font-weight: 600; margin: 0; }
 
.travel-card-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
 
.travel-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.3rem;
}
 
.travel-item p {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}
 
.travel-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
    color: #78350f;
    line-height: 1.6;
}
 
.travel-note i {
    color: #d97706;
    font-size: 0.85rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}
 
/* ===== LOCAL ATTRACTIONS ===== */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}
 
.attraction-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
 
.attraction-card:hover {
    box-shadow: 0 6px 20px rgba(30,64,175,0.09);
    transform: translateY(-3px);
    border-color: #bfdbfe;
}
 
.attraction-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
 
.attraction-card h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}
 
.attraction-card p {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}
 
.attraction-distance {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #1e40af;
    background: #eff6ff;
    border-radius: 50px;
    padding: 0.2rem 0.6rem;
    width: fit-content;
    margin-top: auto;
}
 
.attraction-distance i { font-size: 0.65rem; }
 
/* ===== GOOGLE MAP ===== */
.venue-map-wrapper {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
 
.map-address {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.6;
    flex-wrap: wrap;
}
 
.map-address > i {
    color: #1e40af;
    font-size: 1.2rem;
    flex-shrink: 0;
}
 
.map-address > div { flex: 1; min-width: 200px; }
 
.map-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: #1e40af;
    color: #fff;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}
 
.map-directions-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}
 
/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
    .attractions-grid { grid-template-columns: repeat(2, 1fr); }
}
 
@media (max-width: 900px) {
    .venue-about-grid { grid-template-columns: 1fr; }
    .venue-highlights  { grid-template-columns: repeat(3, 1fr); }
}
 
@media (max-width: 768px) {
    .life-grid         { grid-template-columns: 1fr; }
    .venue-highlights  { grid-template-columns: repeat(2, 1fr); }
}
 
@media (max-width: 600px) {
    .attractions-grid  { grid-template-columns: 1fr; }
    .venue-highlights  { grid-template-columns: 1fr 1fr; }
 
    .map-address {
        flex-direction: column;
        align-items: flex-start;
    }
 
    .map-directions-btn { width: 100%; justify-content: center; }
}

/* ===== VENUE GALLERY ===== */
.venue-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}

.venue-gallery-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
    background: #e2e8f0;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.venue-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.venue-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.venue-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,30,80,0.75) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.venue-gallery-item:hover .venue-gallery-overlay {
    opacity: 1;
}

.venue-gallery-overlay span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
}

.venue-gallery-overlay i {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
}

.gallery-hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .venue-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .venue-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== GALLERY FILTER — Segmented Control ===== */
.gallery-filter-bar {
    display: inline-flex;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 4px;
    gap: 2px;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.gal-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b7280;
    background: transparent;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.gal-filter-btn i {
    font-size: 0.72rem;
}

.gal-filter-btn:hover:not(.active) {
    color: #374151;
    background: rgba(255, 255, 255, 0.5);
}

.gal-filter-btn.active {
    background: #fff;
    color: #1e40af;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 0 0 0.5px rgba(0, 0, 0, 0.05);
}

/* Responsive — stack to full width on mobile */
@media (max-width: 600px) {
    .gallery-filter-bar {
        display: flex;
        width: 100%;
    }

    .gal-filter-btn {
        flex: 1;
        justify-content: center;
        padding: 7px 8px;
        font-size: 0.78rem;
    }
}