/* === IC-DAIS 2026 TECH TALKS FLYER (events.html) ===
   Classes are prefixed with fl- so they don't collide with styles.css. */

.fl {
    --fl-card: var(--bg-card);
    --fl-ink: var(--text-primary);
    --fl-sub: var(--text-secondary);
    --fl-muted: var(--text-muted);
    --fl-line: var(--border);
    --fl-heading: 'Space Grotesk', 'Inter', sans-serif;

    position: relative;
    max-width: 794px;
    margin: 0 auto;
    padding: 0 40px 24px;
    color: var(--fl-ink);
    background:
        radial-gradient(rgba(148, 163, 184, 0.10) 1px, transparent 1px) 0 0 / 16px 16px,
        var(--bg-primary);
    border: 1px solid var(--fl-line);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    scroll-margin-top: 130px;
}

/* Header */
.fl-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 0 10px;
    border-bottom: 2px solid var(--fl-line);
}

.fl-org {
    display: flex;
    gap: 14px;
    align-items: center;
}

.fl-logo {
    width: 78px;
    height: 78px;
    flex-shrink: 0;
    border: 1px solid var(--fl-line);
}

.fl-name {
    font-family: var(--fl-heading);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
}

.fl-tag {
    font-size: 9.5px;
    letter-spacing: 1.5px;
    color: var(--fl-sub);
    margin-top: 2px;
}

.fl-sponsor {
    text-align: right;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--fl-sub);
}

.fl-sponsor strong {
    display: block;
    font-family: var(--fl-heading);
    font-weight: 700;
    font-size: 17px;
    color: var(--fl-ink);
    margin: 2px 0;
}

/* Title */
.fl-hero {
    padding: 16px 0 4px;
}

.fl-kicker {
    display: block;
    font-family: var(--fl-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--fl-sub);
    margin-bottom: 8px;
}

.fl-title {
    font-family: var(--fl-heading);
    font-size: 44px;
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
}

.fl-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: var(--fl-sub);
    margin-top: 12px;
}

/* Date + location */
.fl-datebar {
    display: flex;
    margin-top: 14px;
    border: 1px solid var(--fl-line);
    border-radius: 10px;
    overflow: hidden;
}

.fl-cell {
    flex: 1;
    padding: 13px 20px;
    color: #fff;
}

.fl-cell:first-child {
    background: var(--accent);
}

a.fl-cell {
    background: var(--fl-card);
    color: var(--fl-ink);
}

a.fl-cell:hover .fl-b2 {
    color: var(--accent-light);
    text-decoration: underline;
}

.fl-b1 {
    font-family: var(--fl-heading);
    font-weight: 700;
    font-size: 17px;
}

.fl-b2 {
    font-size: 13px;
    opacity: 0.75;
    margin-top: 3px;
}

/* Call for speakers */
.fl-banner {
    margin: 16px 0 4px;
    padding: 16px 24px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--accent) 0%, #1E4F8F 100%);
    color: #fff;
}

.fl-banner-title {
    font-family: var(--fl-heading);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0.3px;
}

.fl-banner p {
    font-size: 14px;
    margin-top: 6px;
    color: #DBEAFE;
}

/* Section headings + numbered rows */
.fl-head {
    font-family: var(--fl-heading);
    font-size: 17px;
    font-weight: 700;
    margin: 16px 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--accent);
}

.fl-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 4px;
}

.fl-row.fl-topics {
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 10px;
}

.fl-item {
    padding: 0 12px;
    border-left: 2px solid var(--fl-line);
    font-size: 12px;
    line-height: 1.45;
    color: var(--fl-sub);
}

.fl-item:first-child {
    border-left: none;
    padding-left: 0;
}

.fl-n {
    display: block;
    font-family: var(--fl-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--accent-light);
    margin-bottom: 4px;
}

.fl-topics .fl-n {
    font-size: 16px;
}

.fl-item b {
    display: block;
    color: var(--fl-ink);
    font-size: 12px;
    margin-bottom: 3px;
}

/* Speaker submissions */
.fl-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 18px 0 12px;
    padding: 16px 24px;
    border: 1.5px solid var(--accent);
    border-radius: 10px;
    background: rgba(42, 115, 204, 0.10);
}

.fl-submit-title {
    font-family: var(--fl-heading);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
}

.fl-deadline {
    font-size: 14px;
    color: var(--fl-sub);
}

.fl-deadline strong {
    color: var(--fl-ink);
}

.fl-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-family: var(--fl-heading);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.3px;
}

.fl-btn {
    border: 1.5px solid var(--accent);
}

.fl-btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}

.fl-btn-outline {
    background: transparent;
    border-color: var(--accent-light);
    color: var(--fl-ink);
}

.fl-btn-outline:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: var(--accent-light);
    color: var(--fl-ink);
}

.fl-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Websites + contact */
.fl-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 4px;
}

.fl-info-card {
    background: var(--fl-card);
    border: 1px solid var(--fl-line);
    border-radius: 10px;
    padding: 14px 20px;
}

.fl-info-title {
    font-family: var(--fl-heading);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--fl-sub);
    margin-bottom: 8px;
}

.fl-info-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
}

.fl-info-title {
    grid-column: 1 / -1;
}

.fl-info-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 3px 0;
}

.fl-lbl {
    width: 70px;
    flex-shrink: 0;
    font-size: 11.5px;
    color: var(--fl-muted);
}

.fl-info a {
    font-family: var(--fl-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--accent-light);
    white-space: nowrap;
}

.fl-info a:hover {
    text-decoration: underline;
}

/* Phones */
@media (max-width: 640px) {
    .fl {
        padding: 0 18px 18px;
        border-radius: 12px;
    }

    .fl-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .fl-sponsor {
        text-align: left;
    }

    .fl-logo {
        width: 56px;
        height: 56px;
    }

    .fl-name {
        font-size: 15px;
    }

    .fl-title {
        font-size: 30px;
    }

    .fl-banner {
        padding: 14px 18px;
    }

    .fl-banner-title {
        font-size: 22px;
    }

    .fl-datebar {
        flex-direction: column;
    }

    .fl-row,
    .fl-row.fl-topics {
        grid-template-columns: 1fr 1fr;
        row-gap: 14px;
    }

    .fl-item,
    .fl-item:first-child {
        padding: 0 10px;
        border-left: 2px solid var(--fl-line);
    }

    .fl-actions,
    .fl-actions .fl-btn {
        width: 100%;
        text-align: center;
    }

    .fl-info {
        grid-template-columns: 1fr;
    }

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

    .fl-info-row {
        display: block;
    }

    .fl-lbl {
        display: block;
        width: auto;
    }

    .fl-info a {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}
