/* Shared conference-page stylesheet: ICAIBIDS, ICARAIM and compatible conference pages. */
:root {
    --icireaat-navy: #3f3a64;
    --icireaat-orange: #f5c542;
    --icireaat-green: #1b75bb;
    --icireaat-muted: #64748b;
    --icireaat-border: #e5eaf1;
    --icireaat-soft: #f6f8fb;
}

body { color: #344256; background: #fff; }
.breadcrumb-content { text-align: center; }

/* Conference title banner */
.page-title-section.section {
    position: relative; overflow: hidden; padding: 76px 0 66px;
    background: radial-gradient(circle at 88% 15%, rgba(245,197,66,.22), transparent 27%),
                radial-gradient(circle at 8% 90%, rgba(27,117,187,.22), transparent 30%),
                linear-gradient(125deg, #2c2849 0%, #3f3a64 60%, #1b75bb 100%);
}
.page-title-section .page-title { position: relative; z-index: 1; }
.page-title-section .page-title .container { max-width: 1180px; text-align: center; }
.page-title-section .title {
    max-width: 1000px; margin: 0 auto 22px; color: #fff;
    font-size: clamp(28px, 3.4vw, 46px); font-weight: 800; line-height: 1.2;
    letter-spacing: -.7px; text-align: center; text-shadow: 0 3px 18px rgba(0,0,0,.16);
}
.page-title-section .breadcrumb-content { margin: 0 0 24px; text-align: center; }
.page-title-section .breadcrumb_item {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 9px 16px; color: #fff; background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.22); border-radius: 30px;
    font-size: 13px; font-weight: 700; text-decoration: none;
}
.page-title-section .crumb_title,
.page-title-section .crumb_title2 {
    display: inline-flex; float: none !important; align-items: center; justify-content: center;
    margin: 8px 6px; padding: 12px 16px; max-width: 100%; white-space: normal;
    border: 1px solid rgba(255,255,255,.18); border-radius: 10px;
    background: rgba(255,255,255,.10); color: #fff; font-size: 13px; line-height: 1.6;
    text-align: center; vertical-align: middle; overflow-wrap: anywhere;
    box-shadow: 0 8px 20px rgba(0,0,0,.10);
}
.page-title-section .conference-meta-buttons {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
    gap: 12px; width: 100%; margin: 8px auto 0; text-align: center;
}
.page-title-section .conference-meta-buttons .crumb_title,
.page-title-section .conference-meta-buttons .crumb_title2 { margin: 0; }
.page-title-section .crumb_title2 a { color: #ffd36e !important; font-weight: 700; overflow-wrap: anywhere; }

/* Main content */
.section.section-padding-50 {
    padding-top: 58px; padding-bottom: 70px;
    background: linear-gradient(180deg, #f7f9fc 0%, #fff 36%);
}
.course-details-wrapper {
    max-width: 1160px; margin: 0 auto; padding: clamp(20px, 4vw, 44px);
    background: #fff; border: 1px solid #edf0f5; border-radius: 22px;
    box-shadow: 0 18px 55px rgba(63,58,100,.08);
}
.course-overview > h6,
.course-overview > h6 strong {
    color: var(--icireaat-navy); font-size: 21px; font-weight: 800; line-height: 1.35;
}
.course-overview > h6 {
    display: flex; align-items: center; gap: 12px; margin: 28px 0 14px;
}
.course-overview > h6:first-child { margin-top: 0; }
.course-overview > h6:before {
    content: ""; display: inline-block; width: 5px; height: 25px; flex: 0 0 5px;
    border-radius: 6px; background: linear-gradient(180deg, var(--icireaat-orange), var(--icireaat-green));
}
.course-overview > p:not(.blink-email) { color: #536174; font-size: 15px; line-height: 1.9; margin: 0 0 22px; }

/* Keynote speakers and judges: headings are stacked; two cards per desktop row. */
.course-overview .speaker-reviewer-layout {
    display: flex !important; flex-direction: column !important; gap: 28px;
    width: 100%; margin: 32px 0 !important; padding: 0 !important;
    background: transparent !important; border: 0 !important; border-radius: 0 !important;
}
.course-overview .speaker-reviewer-layout > .speaker-reviewer-group {
    display: block; width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important;
    min-width: 0; margin: 0 !important; padding: 24px 20px !important;
    background: var(--icireaat-soft) !important; border: 1px solid var(--icireaat-border) !important;
    border-radius: 18px !important; box-sizing: border-box;
}
.course-overview .speaker-reviewer-heading {
    display: flex; align-items: center; gap: 10px; margin: 0 0 18px !important;
    padding: 0 4px 15px; color: var(--icireaat-navy); font-size: 18px; font-weight: 800;
    line-height: 1.5; text-align: left !important; border-bottom: 2px solid #e5ebf2;
}
.course-overview .speaker-reviewer-heading:before {
    content: ""; width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%;
    background: var(--icireaat-orange); box-shadow: 0 0 0 5px rgba(245,197,66,.20);
}
.course-overview .speaker-card-list {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch; gap: 16px !important; width: 100%; margin: 0 !important; padding: 0 !important;
}
.course-overview .speaker-reviewer-card {
    display: flex !important; flex-direction: row !important; align-items: flex-start !important;
    gap: 14px; min-width: 0; min-height: 120px; height: 100%; margin: 0; padding: 16px;
    box-sizing: border-box; background: #fff; border: 1px solid #e3e9f1; border-radius: 15px;
    box-shadow: 0 5px 18px rgba(63,58,100,.05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.course-overview .speaker-reviewer-card:hover {
    transform: translateY(-3px); border-color: rgba(245,197,66,.75);
    box-shadow: 0 14px 28px rgba(63,58,100,.12);
}
.course-overview .speaker-reviewer-photo { flex: 0 0 82px; width: 82px; max-width: 82px; margin: 0; }
.course-overview .speaker-reviewer-photo img {
    display: block; width: 82px; height: 92px; object-fit: cover; object-position: center top;
    border: 3px solid #fff; border-radius: 12px; box-shadow: 0 0 0 2px rgba(245,197,66,.55);
}
.course-overview .speaker-reviewer-info { flex: 1 1 auto; min-width: 0; padding: 0; text-align: left !important; }
.course-overview .speaker-reviewer-info .title {
    margin: 0 0 7px; color: #2c2849; font-size: 16px; font-weight: 800;
    line-height: 1.4; text-align: left !important; overflow-wrap: anywhere;
}
.course-overview .speaker-reviewer-info p {
    margin: 0; color: var(--icireaat-muted); font-size: 12px; line-height: 1.65;
    text-align: left !important; overflow-wrap: anywhere;
}

/* Legacy conference-card classes remain supported for pages not yet converted. */
.course-overview .row > .col-lg-6 { min-width: 0; }
.course-overview .row > .col-lg-6 > .col-12 { width: 100%; max-width: 100%; }
.course-overview .row > .col-lg-6 > h6.keynote {
    display: flex; align-items: center; gap: 10px; padding: 0 4px 15px; margin: 0 0 18px;
    color: var(--icireaat-navy); font-size: 18px; font-weight: 800; line-height: 1.5;
    border-bottom: 2px solid #e5ebf2; text-align: left;
}
.course-overview .row > .col-lg-6 > h6.keynote:before {
    content: ""; width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%;
    background: var(--icireaat-orange); box-shadow: 0 0 0 5px rgba(245,197,66,.20);
}
.course-overview .row > .col-lg-6 .course-3 {
    display: flex; align-items: center; gap: 14px; min-height: 120px; height: auto;
    padding: 14px; background: #fff; border: 1px solid #e3e9f1; border-radius: 15px;
    box-shadow: 0 5px 18px rgba(63,58,100,.05); transition: .25s ease;
}
.course-overview .row > .col-lg-6 .course-3 .thumbnail {
    flex: 0 0 82px; width: 82px; max-width: 82px; height: 82px; margin: 0;
    overflow: hidden; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px rgba(245,197,66,.55);
}
.course-overview .row > .col-lg-6 .course-3 .thumbnail .image,
.course-overview .row > .col-lg-6 .course-3 .thumbnail img {
    display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.course-overview .row > .col-lg-6 .course-3 .info { flex: 1 1 auto; min-width: 0; padding: 0; text-align: left; }
.course-overview .row > .col-lg-6 .course-3 .info .title {
    margin: 0 0 5px; color: #2c2849; font-size: 16px; font-weight: 800; line-height: 1.4; text-align: left;
    overflow-wrap: anywhere;
}
.course-overview .row > .col-lg-6 .course-3 .info p { margin: 0; color: var(--icireaat-muted); font-size: 12px; line-height: 1.65; text-align: left; overflow-wrap: anywhere; }

/* Conference email */
.course-overview .blink-email {
    margin: 28px 0 30px; padding: 17px 20px; color: #3f3a64; background: #eff6ff;
    border: 1px solid #dbeafe; border-left: 5px solid var(--icireaat-green); border-radius: 12px; overflow-wrap: anywhere;
}
.course-overview .blink-email a { color: #1b75bb; font-weight: 800; }

/* Deadlines table */
.course-overview .table {
    width: 100%; overflow: hidden; margin: 18px 0 34px; border: 1px solid var(--icireaat-border);
    border-radius: 12px; border-collapse: separate; border-spacing: 0; box-shadow: 0 8px 22px rgba(63,58,100,.05);
}
.course-overview .table tbody tr td { padding: 15px 18px; color: #46566b; border-color: var(--icireaat-border); vertical-align: middle; }
.course-overview .table tbody tr td:first-child { width: 42%; color: var(--icireaat-navy); font-weight: 700; background: #f5f8fc; }
.course-overview .table tbody tr td:last-child { font-weight: 700; }

/* Downloads: center the three-button group and the contents of each button. */
.course-overview .lp-course-buttons {
    display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch !important;
    gap: 12px; width: 100%; margin: 20px auto 30px !important; padding: 0; text-align: center !important;
}
.course-overview .lp-course-buttons a.downloads-btn {
    display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important;
    gap: 9px; width: 100% !important; min-width: 0; min-height: 48px; max-width: 100%; margin: 0 !important;
    padding: 12px 16px; box-sizing: border-box; float: none !important; position: relative;
    color: #fff !important; background: var(--icireaat-navy); border: 1px solid var(--icireaat-navy);
    border-radius: 10px; font-size: 13px; font-weight: 700; line-height: 1.4; text-align: center !important;
    text-indent: 0 !important; text-decoration: none; white-space: normal; transition: .2s ease;
}
.course-overview .lp-course-buttons a.downloads-btn:first-child { background: var(--icireaat-orange); border-color: var(--icireaat-orange); color: #2c2849 !important; }
.course-overview .lp-course-buttons a.downloads-btn i { display: inline-block !important; position: static !important; flex: 0 0 auto; float: none !important; margin: 0 !important; padding: 0 !important; line-height: 1; }
.course-overview .lp-course-buttons a.downloads-btn span { display: inline-block !important; flex: 0 1 auto; margin: 0 !important; padding: 0 !important; text-align: center !important; float: none !important; }
.course-overview .lp-course-buttons a.downloads-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(63,58,100,.16); background: var(--icireaat-green); border-color: var(--icireaat-green); color: #fff !important; }
.course-overview > p:last-child { margin-top: 24px; padding: 16px 18px; background: #f7f9fc; border: 1px solid #e8edf4; border-radius: 12px; line-height: 1.8; }
.course-overview > p:last-child a { color: var(--icireaat-green); font-weight: 800; }

@media (max-width: 991px) {
    .course-overview .speaker-card-list { gap: 12px !important; }
    .course-overview .speaker-reviewer-card { padding: 12px; gap: 11px; }
    .course-overview .speaker-reviewer-photo, .course-overview .speaker-reviewer-photo img { flex-basis: 70px; width: 70px; max-width: 70px; }
    .course-overview .speaker-reviewer-photo img { height: 78px; }
}
@media (max-width: 767px) {
    .page-title-section.section { padding: 48px 0 42px; }
    .page-title-section .title { font-size: 28px; letter-spacing: -.3px; line-height: 1.3; }
    .page-title-section .conference-meta-buttons { flex-direction: column; align-items: center; gap: 10px; }
    .page-title-section .page-title .container > .crumb_title,
    .page-title-section .page-title .container > .crumb_title2,
    .page-title-section .conference-meta-buttons .crumb_title,
    .page-title-section .conference-meta-buttons .crumb_title2 { display: flex; width: 100%; max-width: 100%; margin: 8px 0; justify-content: center; text-align: center; }
    .section.section-padding-50 { padding-top: 28px; padding-bottom: 42px; }
    .course-details-wrapper { padding: 20px 14px; border-radius: 16px; }
    .course-overview > h6, .course-overview > h6 strong { font-size: 18px; }
    .course-overview > p:not(.blink-email) { font-size: 14px; line-height: 1.8; }
    .course-overview .speaker-reviewer-layout { gap: 22px; margin: 24px 0 !important; }
    .course-overview .speaker-reviewer-layout > .speaker-reviewer-group { padding: 18px 12px !important; border-radius: 15px !important; }
    .course-overview .speaker-reviewer-heading { font-size: 16px; }
    .course-overview .speaker-card-list { grid-template-columns: minmax(0, 1fr) !important; gap: 12px !important; }
    .course-overview .speaker-reviewer-card { align-items: flex-start !important; gap: 12px; min-height: 0; padding: 12px; }
    .course-overview .speaker-reviewer-photo { flex: 0 0 68px; width: 68px; max-width: 68px; }
    .course-overview .speaker-reviewer-photo img { width: 68px; height: 76px; }
    .course-overview .speaker-reviewer-info .title { font-size: 14px; }
    .course-overview .speaker-reviewer-info p { font-size: 11px; }
    .course-overview .row > .col-lg-6 .course-3 { gap: 11px; min-height: 0; padding: 10px; }
    .course-overview .row > .col-lg-6 .course-3 .thumbnail { flex-basis: 70px; width: 70px; max-width: 70px; height: 70px; }
    .course-overview .row > .col-lg-6 .course-3 .info .title { font-size: 14px; }
    .course-overview .row > .col-lg-6 .course-3 .info p { font-size: 11px; }
    .course-overview .table tbody tr td { padding: 12px 10px; font-size: 13px; }
    .course-overview .lp-course-buttons { grid-template-columns: minmax(0, 1fr); justify-content: stretch !important; align-items: stretch !important; gap: 12px; }
    .course-overview .lp-course-buttons a.downloads-btn { width: 100% !important; max-width: 360px; margin: 0 auto !important; justify-content: center !important; text-align: center !important; }
}
@media (max-width: 420px) {
    .course-overview .speaker-reviewer-card { gap: 10px; padding: 10px; }
    .course-overview .speaker-reviewer-photo { flex-basis: 60px; width: 60px; max-width: 60px; }
    .course-overview .speaker-reviewer-photo img { width: 60px; height: 68px; }
    .course-overview .speaker-reviewer-info .title { font-size: 13px; }
    .course-overview .speaker-reviewer-info p { font-size: 10px; }
}
