/* Events and Colloquia Styles */
.colloquium-section {
    background: transparent !important;
    margin-bottom: 3rem;
}

.section-heading {
    color: #27435a;
    font-weight: 400;
    font-size: 1.65rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e9ec;
}

.colloquium-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1.5rem;
}

.colloquium-row {
    padding: 1.2rem 0;
    border-bottom: 1px solid #f0f3f6;
    background: transparent !important;
}

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

.colloquium-date {
    color: #494949;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

.colloquium-title {
    color: #27435a;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    display: block;
    margin-bottom: 0.35rem;
    text-decoration: none;
}

.colloquium-title:hover {
    color: #6091ba;
    text-decoration: underline;
}

.speakers-wrap {
    margin-top: 0.25rem;
    font-size: 0.95rem;
}

.speaker-link {
    color: #6091ba;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.speaker-link:hover {
    color: #27435a;
    text-decoration: underline;
}

.event-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    margin-right: 1.2rem;
}

.btn-register-modal {
    background-color: #6091ba;
    border-color: #6091ba;
    color: #fff;
    padding: 5px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-register-modal:hover {
    background-color: #4678a1;
    border-color: #4678a1;
    color: #fff;
}

/* Speaker Modal Styling: Uniform dimensions and bold visibility */
.speaker-avatar-wrap {
    width: 130px;
    height: 165px;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f4f8;
    display: block;
    position: relative;
    border: 3px solid #6091ba;
    box-shadow: 0 4px 14px rgba(39, 67, 90, 0.16);
    flex-shrink: 0;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.speaker-avatar-wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 67, 90, 0.22);
}

.speaker-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.speaker-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #6091ba;
    background: #f0f4f8;
}

.modal-header-theme {
    background: #6091ba;
    color: #ffffff;
    border-bottom: 2px solid #6091ba;
}

.modal-header-theme .btn-close {
    filter: invert(1);
}

.speaker-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f0f4f8;
    color: #27435a;
    transition: all 0.2s ease;
    margin-right: 6px;
    text-decoration: none;
}

.speaker-social-btn:hover {
    background: #6091ba;
    color: #ffffff;
}

/* Google Form Embed Frame */
.google-form-frame-wrap {
    position: relative;
    width: 100%;
    background: #ffffff;
    min-height: 550px;
}

.google-form-frame {
    width: 100%;
    height: 650px;
    border: 0;
    display: block;
    background: #ffffff;
}
