/* =========================================================
   CDRI-CHEM-FEST 2027 - PREMIUM VENUE CSS (LARGE BOLD FONT & COMPACT)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --cf-primary: #0b63ce;
    --cf-primary-dark: #084d9e;
    --cf-secondary: #00a896;
    --cf-orange: #f59e0b;
    --cf-text: #26364a;
    --cf-heading: #12365a;
    --cf-muted: #64748b;
    --cf-bg: #f7fbff;
    --cf-white: #ffffff;
    --cf-border: #e2edf7;
    --cf-shadow: 0 10px 30px rgba(21, 71, 112, 0.08);
    --cf-shadow-hover: 0 16px 40px rgba(21, 71, 112, 0.12);
    --cf-radius: 16px;
    --cf-hero-gradient: linear-gradient(135deg, #0b63ce 0%, #0a74d6 55%, #0b8fcb 100%);
    --cf-hero-accent: #8ff0dc;
}

/* Base Reset & Layout */
.cf-venue-page,
.cf-venue-page *,
.cf-venue-page *::before,
.cf-venue-page *::after {
    box-sizing: border-box;
}

.cf-venue-page {
    padding-top: 24px;
    padding-bottom: 50px;
    background-color: transparent;
    color: var(--cf-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.cf-venue-shell {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

.cf-title-blue {
    color: var(--cf-heading);
}

.cf-title-teal {
    color: var(--cf-primary);
}

/* Hero Section (Compact) */
.cf-venue-hero {
    position: relative;
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto 24px;
    padding: 32px 30px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--cf-hero-gradient);
    box-shadow: 0 12px 30px rgba(18, 54, 90, 0.15);
    color: #fff;
}

    .cf-venue-hero::before {
        content: '';
        position: absolute;
        right: -80px;
        top: -80px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 70%);
        pointer-events: none;
        z-index: 1;
    }

    .cf-venue-hero > .cf-venue-shell {
        position: relative;
        z-index: 2;
        width: 100%;
    }

.cf-venue-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--cf-hero-accent);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cf-venue-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.3rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
}

    .cf-venue-hero h1 .cf-title-blue,
    .cf-venue-hero h1 .cf-title-teal {
        color: #fff;
    }

.cf-venue-hero-mark {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.08);
    font-size: 8rem;
    pointer-events: none;
}

/* Content Container & Clean Grid */
.cf-venue-content {
    padding-top: 0;
}

.cf-venue-grid-clean {
    max-width: 1200px;
    margin: 0 auto 30px auto;
}

/* Main Venue Card */
.cf-venue-main-card {
    overflow: hidden;
    border: 1px solid var(--cf-border);
    border-radius: 20px;
    background: var(--cf-white);
    box-shadow: var(--cf-shadow);
}

.cf-venue-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid var(--cf-border);
    background: #edf5ff;
}

    .cf-venue-card-header .cf-section-label {
        display: block;
        margin-bottom: 6px;
        color: var(--cf-primary-dark);
        font-size: 1rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .cf-venue-card-header h2 {
        margin: 0;
        color: var(--cf-heading);
        font-size: clamp(1.6rem, 2.5vw, 2.1rem);
        font-weight: 900;
        line-height: 1.25;
    }

.cf-venue-header-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--cf-hero-gradient);
    box-shadow: 0 6px 14px rgba(11, 99, 206, 0.25);
    color: #fff;
    font-size: 1.8rem;
}

.cf-venue-card-body {
    padding: 30px;
}

/* Vertical 1-Up, 1-Down Cards Structure */
.cf-venue-vertical-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 26px;
}

.cf-venue-info-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 22px 26px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .cf-venue-info-box:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    }

    .cf-venue-info-box .cf-section-label {
        font-size: 0.95rem;
        font-weight: 900;
        letter-spacing: 1.2px;
        color: var(--cf-primary);
        margin-bottom: 6px;
        display: block;
        text-transform: uppercase;
    }

    .cf-venue-info-box strong {
        font-size: 1.6rem;
        color: var(--cf-heading);
        font-weight: 900;
        display: block;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .cf-venue-info-box p {
        font-size: 1.2rem;
        color: var(--cf-text);
        margin: 0;
        line-height: 1.65;
        font-weight: 600;
    }

.cf-venue-location-icon,
.cf-venue-conference-icon {
    font-size: 2rem;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
}

.cf-venue-location-icon {
    background: #fff6e5;
    color: #d97706;
}

.cf-venue-conference-icon {
    background: #eaf4ff;
    color: #0b63ce;
}

/* Action Button */
.cf-venue-address-action {
    text-align: center;
    margin-top: 12px;
}

.cf-venue-directions-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 38px;
    border-radius: 50px;
    background: linear-gradient(135deg, #0b63ce, #0a74d6);
    color: #fff !important;
    font-size: 1.25rem;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(11, 99, 206, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .cf-venue-directions-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(11, 99, 206, 0.45);
    }

/* Map Section */
.cf-venue-map-section {
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid var(--cf-border);
    border-radius: 20px;
    background: var(--cf-white);
    box-shadow: var(--cf-shadow);
}

.cf-venue-map-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 30px;
    border-bottom: 1px solid var(--cf-border);
}

    .cf-venue-map-header .cf-section-label {
        display: block;
        margin-bottom: 6px;
        color: var(--cf-primary-dark);
        font-size: 1rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .cf-venue-map-header h2 {
        margin: 0;
        color: var(--cf-heading);
        font-size: 2.1rem;
        font-weight: 900;
    }

.cf-venue-map-icon {
    color: var(--cf-primary);
    font-size: 2.5rem;
}

.cf-venue-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

/* Navigation Actions */
.cf-venue-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 2px solid var(--cf-border);
}

.cf-venue-secondary,
.cf-venue-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 34px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 900;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.cf-venue-secondary {
    border: 2px solid var(--cf-border);
    background: var(--cf-white);
    color: var(--cf-heading) !important;
}

    .cf-venue-secondary:hover {
        border-color: var(--cf-primary);
        background: #eaf3ff;
        color: var(--cf-primary-dark) !important;
    }

.cf-venue-primary {
    border: 2px solid var(--cf-primary);
    background: var(--cf-primary);
    box-shadow: 0 6px 18px rgba(11, 99, 206, 0.25);
    color: #fff !important;
}

    .cf-venue-primary:hover {
        transform: translateY(-2px);
        border-color: var(--cf-primary-dark);
        background: var(--cf-primary-dark);
        box-shadow: 0 8px 22px rgba(11, 99, 206, 0.35);
    }

/* Responsive */
@media (max-width: 768px) {
    .cf-venue-shell {
        width: calc(100% - 24px);
    }

    .cf-venue-hero {
        width: calc(100% - 24px);
        padding: 24px 18px;
        border-radius: 16px;
    }

    .cf-venue-card-header,
    .cf-venue-map-header {
        padding: 18px 20px;
    }

    .cf-venue-card-body {
        padding: 20px;
    }

    .cf-venue-info-box {
        padding: 16px;
        gap: 14px;
    }

        .cf-venue-info-box strong {
            font-size: 1.3rem;
        }

        .cf-venue-info-box p {
            font-size: 1.05rem;
        }

    .cf-venue-location-icon,
    .cf-venue-conference-icon {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .cf-venue-actions {
        flex-direction: row;
        gap: 10px;
    }

    .cf-venue-secondary,
    .cf-venue-primary {
        flex: 1;
        padding: 12px 14px;
        font-size: 1rem;
    }
}
/* =========================================================
   VENUE ACTION BUTTONS - equal size on mobile
   ========================================================= */
@media (max-width: 767px) {

    .cf-venue-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .cf-venue-secondary,
    .cf-venue-primary {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        width: auto !important;
        min-height: 46px !important;
        height: 46px !important;
        padding: 0 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-size: 14px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        border-radius: 12px !important;
    }

        .cf-venue-secondary i,
        .cf-venue-primary i {
            font-size: 15px !important;
            flex: 0 0 auto;
        }

        .cf-venue-secondary span,
        .cf-venue-primary span {
            white-space: nowrap;
        }
}

/* very small phones: stack full width */
@media (max-width: 340px) {
    .cf-venue-actions {
        flex-direction: column !important;
    }
}