/* 2025可持续发展论坛 - 页面内容样式 */

/* 引入Google Fonts - Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* 全局字体设置 */
* {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* 强制HTML Widget突破Elementor容器限制 */
.elementor-html-widget,
.elementor-html-widget .forum-content,
.elementor-widget-html .elementor-widget-container,
.elementor-widget-html {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* 页面内容样式 */
.forum-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Key Visual Section */
.key-visual-section {
    height: 95vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.key-visual-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Key Visual Content Overlay */
.key-visual-content {
    position: absolute !important;
    top: -50px !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding: 0 10% !important;
    color: white !important;
}

/* Logo */
.kv-logo {
    margin-bottom: 45px !important;
}

.kv-logo img {
    height: 140px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* Title Section */
.kv-title-section {
    text-align: left !important;
}

/* Year - Large */
.kv-year {
    font-size: 7rem !important;
    font-weight: 900 !important;
    color: white !important;
    margin-bottom: 8px !important;
    line-height: 1.0 !important;
}

/* Title Main Section */
.kv-title-main {
    margin-bottom: 15px !important;
    line-height: 1.0 !important;
}

.kv-sustainability {
    font-size: 7rem !important;
    font-weight: 900 !important;
    color: white !important;
}

.kv-forum {
    font-size: 7rem !important;
    font-weight: 900 !important;
    color: white !important;
}

.kv-and {
    font-size: 7rem !important;
    font-weight: 300 !important;
    color: white !important;
}

/* Subtitle */
.kv-subtitle {
    font-size: 2.4rem !important;
    font-weight: 300 !important;
    color: white !important;
    line-height: 1.0 !important;
    margin-bottom: 40px !important;
}

/* Date Badge */
.kv-date-badge {
    background: #B09732 !important;
    color: white !important;
    padding: 6px 36px !important;
    font-size: 2rem !important;
    font-weight: 600 !important;
    display: inline-block !important;
    margin-top: 20px !important;
}

/* Combined Date and Register Button */
.kv-combined-button {
    display: inline-block !important;
    text-decoration: none !important;
    color: white !important;
    text-align: left !important;
}

.kv-combined-button div {
    margin: 0 !important;
    line-height: 1.2 !important;
}

.kv-combined-button:hover {
    opacity: 0.8 !important;
    color: white !important;
}

/* Venue Location - appears below the button */
.kv-location {
    color: white !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    display: block !important;
    margin-top: 15px !important;
}

.kv-location .location-icon {
    width: 28px !important;
    height: 28px !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
    display: inline-block !important;
}


/* Stats Highlight Section */
.stats-highlight-section {
    background: #0E142C;
    padding: 8px 0;
    color: white;
}

.anniversary-text {
    text-align: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem;
    text-align: center;
}

.stat-icon {
    color: rgba(255, 255, 255, 0.9);
}

.stat-icon svg {
    width: 120px;
    height: 120px;
}

.stat-icon img {
    width: 120px;
    height: 120px;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    justify-content: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}


.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.highlight-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
}

.highlight-icon img {
    width: 40px;
    height: 40px;
}

.register-section {
    text-align: center;
}

.btn-register {
    background: #FFA726;
    color: white;
    font-size: 1.2rem;
    padding: 15px 40px;
}

/* Background Info Section */
.background-info-section {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

/* Featured Programs Section */
.programs-section {
    padding: 100px 0;
    background: #0E142C;
    color: white;
}

.programs-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.programs-title {
    flex: 0 0 auto;
    min-width: 250px;
}

.programs-title h2 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.1;
    text-transform: capitalize;
}

.programs-carousel {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
}

.programs-scroll-container {
    max-width: 1080px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    height: auto;
    transition: height 0.3s ease;
}

.programs-scroll-content {
    display: flex;
    gap: 0;
    transition: transform 0.3s ease;
    padding: 1rem 0;
    align-items: flex-start;
}

.program-card {
    flex: 0 0 540px;
    background: transparent;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-right: 20px;
}

/* Program Carousel Navigation Buttons */
.program-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
}

#programsCarouselPrev {
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
}

.program-carousel-btn-next {
    right: -25px;
}

.program-carousel-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.program-carousel-btn:active:not(:disabled) {
    background: rgba(255, 255, 255, 0.3);
}

.program-carousel-btn:disabled {
    display: none;
}

.program-carousel-btn span {
    user-select: none;
    line-height: 1;
    pointer-events: none;
    margin: 0;
    padding: 0;
}

.program-image {
    width: 100%;
    aspect-ratio: 1.55;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-content {
    padding: 1.5rem;
}

.program-content h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.program-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-program {
    background: #367F54;
    color: white;
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Agenda Section */
.agenda-section {
    padding: 80px 0;
    background: #0E142C;
}

.agenda-item.agenda-title-row {
    border-bottom: none;
}

.agenda-item.agenda-title-row .title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0;
}

.agenda-content {
    max-width: 1200px;
    margin: 0 auto;
}

.agenda-table {
    display: flex;
    flex-direction: column;
}

.agenda-separator-only {
    padding: 0;
    height: 1px;
}

.agenda-item {
    background: transparent;
    border-bottom: 1px solid white;
    padding: 1rem 0;
}

.agenda-item:last-child {
    border-bottom: none;
}

.agenda-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
}

.agenda-item .time {
    font-weight: 700;
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.agenda-item .title {
    color: white;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}


.agenda-details {
    padding: 0;
    margin-top: 0.5rem;
}

.agenda-details .subtitle {
    color: #ffffff;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0.5rem 0;
}

.agenda-details h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.agenda-details h5 {
    color: white;
    font-size: 0.9rem;
    margin: 1rem 0 0.5rem 0;
    font-weight: 600;
}

.speaker-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.speaker-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f5f5;
    color: #555;
    line-height: 1.4;
}

.speaker-list li:last-child {
    border-bottom: none;
}

.speaker-list li:before {
    content: '•';
    color: #367F54;
    margin-right: 0.75rem;
    font-weight: bold;
}

/* Agenda Speakers Grid */
.agenda-speakers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.agenda-speaker-card {
    width: 180px;
    flex-shrink: 0;
}

.agenda-speakers-grid.single-speaker {
    max-width: none;
}

/* Closing Remarks - single speaker card styling */
.agenda-details > .agenda-speaker-card {
    max-width: 180px;
}

/* Single Row Layout (Zhang Xiang, Cai Hongbin, Gabriel Leung in one row) */
.agenda-speakers-grid.agenda-speakers-single-row {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    max-width: none;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* 2x2 Layout (He Guojun & Roni in first row, Jeffrey & Uta in second row) */
.agenda-speakers-grid.agenda-speakers-2x2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: none;
}

.agenda-speakers-grid.agenda-speakers-2x2 .agenda-speaker-row {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

/* Four Even Layout (Research Presentations) - REMOVED SPACE-BETWEEN, NOW USES NORMAL FLEX-START LAYOUT */
.agenda-item .agenda-details .agenda-speakers-grid.agenda-speakers-four-even {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    max-width: none !important;
    width: 100% !important;
    flex-wrap: wrap !important;
    margin-top: 1rem !important;
}

/* Backup selector: target agenda-speakers-grid that has exactly 3 speaker cards (Research Presentations) */
.agenda-speakers-grid:has(.agenda-speaker-card:nth-child(3):last-child) {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    max-width: none !important;
    width: 100% !important;
    flex-wrap: wrap !important;
    margin-top: 1rem !important;
}

.agenda-speaker-card {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* Override width for special layouts to maintain consistent size */
.agenda-speakers-grid.agenda-speakers-single-row .agenda-speaker-card {
    width: 180px !important;
    max-width: 180px !important;
    flex: 0 0 180px !important;
}

.agenda-speakers-grid.agenda-speakers-2x2 .agenda-speaker-card {
    width: 180px !important;
    max-width: 180px !important;
    flex: 0 0 180px !important;
}

.agenda-item .agenda-details .agenda-speakers-grid.agenda-speakers-four-even .agenda-speaker-card,
.agenda-speakers-grid:has(.agenda-speaker-card:nth-child(3):last-child) .agenda-speaker-card {
    width: 180px !important;
    max-width: 180px !important;
    flex: 0 0 180px !important;
}

.agenda-speaker-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.agenda-speaker-photo {
    width: 100%;
    aspect-ratio: 1;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agenda-speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agenda-speaker-info {
    padding: 0.75rem 0.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.agenda-speaker-info h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.agenda-speaker-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    line-height: 1.1;
    margin-bottom: 0.1rem;
}

.agenda-cta {
    margin-top: 3rem;
}

/* Keynote Layout */
.keynote-layout {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.keynote-speaker {
    flex: 0.25;
}

.keynote-content {
    flex: 0.75;
}

.keynote-content h3 {
    color: white;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.keynote-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Horizontal Layout for Simple Items */
.agenda-item.horizontal .agenda-header {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.agenda-item.horizontal .time {
    margin-bottom: 0;
    min-width: 140px;
    flex-shrink: 0;
}

.agenda-item.horizontal .title {
    margin-bottom: 0;
}

/* Agenda Note */
.agenda-item.agenda-note {
    border-bottom: none !important;
    padding: 1.5rem 0 0.5rem 0 !important;
    text-align: center;
}

.agenda-note-text {
    font-size: 0.9rem !important;
    color: #cccccc !important;
    line-height: 1.4 !important;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* Roundtable Single Row Layout */
.roundtable-single-row {
    flex-wrap: nowrap;
    overflow-x: auto;
}

/* New Roundtable Structure with Labels */
.roundtable-speakers-container {
    display: flex;
    gap: 30px;
    width: 100%;
}

.roundtable-moderator-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 200px;
}

.roundtable-panellists-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.roundtable-role-label {
    color: white;
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 15px;
    text-align: left;
}

.roundtable-panellists-grid {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
}

.roundtable-moderator-section .agenda-speaker-card,
.roundtable-panellists-grid .agenda-speaker-card {
    flex: 0 0 auto;
    min-width: 180px;
}

.agenda-separator {
    height: 1px;
    background: white;
    width: 100%;
}

.moderator-card .agenda-speaker-info p:first-of-type {
    font-weight: 600;
    color: rgba(255, 255, 255, 1);
}

/* Morning Sessions Layout */
.morning-layout {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.morning-left {
    flex: 0.55;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-right: 2rem;
    border-right: 1px solid white;
    min-height: 100%;
    justify-content: flex-start;
}

.morning-right {
    flex: 0.45;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ceremony-top {
    align-self: flex-start;
}

.ceremony-top .time {
    font-weight: 700;
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.ceremony-top .title {
    color: white;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.ceremony-top .subtitle {
    color: #ffffff;
    font-size: 1rem;
    margin: 0.5rem 0;
}

.ceremony-bottom {
    align-self: flex-start;
    margin-top: auto;
}

.morning-session {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid white;
}

.morning-session:last-child {
    border-bottom: none;
}

.morning-session .time {
    font-weight: 700;
    color: white;
    font-size: 2rem;
}

.morning-session .title {
    color: white;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.4;
}

.morning-session .subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0.5rem 0;
}

.btn-outline-green {
    background: transparent;
    color: #367F54;
    border: 2px solid #367F54;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline-green:hover {
    background: #367F54;
    color: white;
    text-decoration: none;
}

/* Section Separator */
.section-separator {
    background: #0E142C;
    padding: 0;
}

.separator-line {
    height: 1px;
    background: white;
    margin: 0 10px;
}

/* Speakers Section */
.speakers-section {
    padding: 80px 0;
    background: #0E142C;
}

/* Speakers Layout */
.speakers-layout {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.speakers-title-container {
    min-width: 250px;
    text-align: left;
}

.speakers-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.1;
}

.speakers-line {
    display: block;
}

.speakers-content-container {
    flex: 1;
    max-width: 1200px;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.speaker-card {
    width: 227px;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: transparent;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.speaker-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

.speaker-photo {
    width: 100%;
    aspect-ratio: 1;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-info {
    padding: 0.75rem 0.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.speaker-info h3 {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
    line-height: 1.2;
}

.speaker-info .title,
.speaker-info .company {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    margin-bottom: 0.1rem;
    line-height: 1.1;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: #ffffff;
}

.partners-grid {
    display: grid !important;
    grid-template-columns: repeat(20, 1fr) !important;
    gap: 2rem !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
}

/* First row: 4 items (HKUBS, HKJC, 第一财经两个logo) - using 8 columns out of 20 */
.partner-item:nth-child(1) {
    grid-column: 1 / 6;
}

.partner-item:nth-child(2) {
    grid-column: 6 / 11;
}

.partner-item:nth-child(3) {
    grid-column: 11 / 16;
}

.partner-item:nth-child(4) {
    grid-column: 16 / 21;
}

/* Second row: Shared title spanning full width */
.partner-row-title-top {
    grid-column: 1 / 21;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.partner-row-title-top .partner-title {
    margin: 0 0 15px 0 !important;
}

.partner-row-title-top .partner-divider {
    width: 100% !important;
}

/* Second row: 10 Supporting Organizations (5 per row) - using 10 columns out of 20 */
/* Row 1: Items 6-10 */
.partner-item:nth-child(6) {
    grid-column: 1 / 5;
}

.partner-item:nth-child(7) {
    grid-column: 5 / 9;
}

.partner-item:nth-child(8) {
    grid-column: 9 / 13;
}

.partner-item:nth-child(9) {
    grid-column: 13 / 17;
}

.partner-item:nth-child(10) {
    grid-column: 17 / 21;
}

/* Row 2: Items 11-15 */
.partner-item:nth-child(11) {
    grid-column: 1 / 5;
}

.partner-item:nth-child(12) {
    grid-column: 5 / 9;
}

.partner-item:nth-child(13) {
    grid-column: 9 / 13;
}

.partner-item:nth-child(14) {
    grid-column: 13 / 17;
}

.partner-item:nth-child(15) {
    grid-column: 17 / 21;
}

.partner-item-no-title {
    gap: 0;
}

.partner-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

h4.partner-title {
    font-size: 1rem;
    font-weight: 600;
    color: #367F54;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 多行标题样式 */
.partner-title-multiline {
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-subtitle {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-top: 2px;
}

hr.partner-divider {
    width: 100% !important;
    height: 1px !important;
    border: none !important;
    background: #367F54 !important;
    margin: 0 !important;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.partner-logo img {
    max-height: 100px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
}

/* HKJC logo special sizing */
.partner-logo img[alt="HKJCCT Logo"] {
    max-width: 300px;
}

/* Supporting Organization logos - larger sizing */
.partner-item:nth-child(n+6):nth-child(-n+15) .partner-logo {
    min-height: 150px;
}

.partner-item:nth-child(n+6):nth-child(-n+15) .partner-logo img {
    max-height: 140px;
    max-width: 280px;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.8rem;
    color: #666;
    font-weight: 400;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.carousel-btn-prev {
    left: -25px;
}

.carousel-btn-next {
    right: -25px;
}


/* Floating next button within Programs section */
.programs-section {
    position: relative;
}

#programsCarouselNext {
    position: absolute !important;
    right: 50px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
}

#programsCarouselNext:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.05) !important;
}

/* Programs Indicators */
.programs-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.programs-indicators .indicator {
    width: 40px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.programs-indicators .indicator.active {
    background-color: #ffffff;
}

.programs-indicators .indicator:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.carousel-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn:active:not(:disabled) {
    background: rgba(0, 0, 0, 0.3);
}

.carousel-btn:disabled {
    display: none;
}

.carousel-btn span {
    user-select: none;
    line-height: 1;
    pointer-events: none;
    margin: 0;
    padding: 0;
}



/* Endowed Professorship Section */
.endowed-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.endowed-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Register Section */
.register-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #367F54 0%, #2d6843 100%);
    text-align: center;
}

.register-section .section-title {
    color: #ffffff;
    margin-bottom: 2rem;
}

.register-info h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.register-info p {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.register-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-register-main {
    background: #ffffff;
    color: #367F54;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-register-main:hover {
    background: #f5f5f5;
    color: #367F54;
    text-decoration: none;
}

/* Register Badge - same style as date badge */
.kv-register-badge {
    text-decoration: none !important;
    transition: opacity 0.3s ease !important;
}

.kv-register-badge:hover {
    opacity: 0.8 !important;
    text-decoration: none !important;
}

.btn-register-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 13px 30px;
    border-radius: 5px;
}


/* 响应式设计 */
@media (max-width: 1024px) {
    .speakers-layout {
        gap: 2rem;
    }
    
    .speakers-title-container {
        min-width: 200px;
    }
    
    .speakers-main-title {
        font-size: 3rem;
    }
    
    .speakers-content-container {
        max-width: calc(100% - 200px - 2rem);
    }
    
    .speakers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }
    
    .supporting-logos {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    /* KV字体移动端适配 */
    .kv-year, .kv-sustainability, .kv-forum, .kv-and {
        font-size: 12vw !important;
    }
    
    .kv-date-badge {
        font-size: 4vw !important;
        padding: 6px 20px !important;
    }

    
    .key-visual-section {
        height: 30vh !important;
    }

    /* Mobile video - using dedicated mobile video source, no position adjustment needed */

    /* Hide KV logo on mobile */
    .kv-logo {
        display: none !important;
    }

    /* Adjust content position after hiding logo */
    .key-visual-content {
        top: 0 !important;
        justify-content: space-between !important;
        padding-top: 15% !important;
        padding-bottom: 10% !important;
    }

    .kv-title-section {
        margin-top: auto !important;
        margin-bottom: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .kv-date-badge {
        margin-top: auto !important;
    }

    .kv-location {
        font-size: 3.5vw !important;
        margin-top: 10px !important;
    }

    .kv-location .location-icon {
        width: 20px !important;
        height: 20px !important;
        margin-right: 6px !important;
    }

    .anniversary-text {
        font-size: 1.2rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .programs-layout {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }

    .programs-carousel {
        flex: 0 0 auto;
        align-self: stretch;
    }

    .programs-scroll-container {
        width: 100%;
    }
    
    .programs-title {
        min-width: auto;
        text-align: center;
    }
    
    .programs-title h2 {
        font-size: 2.5rem;
    }
    
    .programs-scroll-container {
        max-width: 100%;
    }
    
    .program-card {
        flex: 0 0 100%;
        margin-right: 0 !important;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* 移动端Programs轮播按钮对称布局 */
    .programs-scroll-container {
        position: relative;
    }
    
    .program-carousel-btn {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.5rem !important;
        background: rgba(255, 255, 255, 0.8) !important;
        border: none !important;
        color: #333 !important;
    }
    
    #programsCarouselPrev {
        left: 15px !important;
    }
    
    #programsCarouselNext {
        right: 15px !important;
    }
    
    .program-carousel-btn:hover:not(:disabled) {
        background: rgba(255, 255, 255, 0.95) !important;
        color: #333 !important;
        transform: translateY(-50%) scale(1.05) !important;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .speakers-layout {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        align-items: stretch;
    }
    
    .speakers-title-container {
        min-width: auto;
        text-align: center;
    }
    
    .speakers-main-title {
        font-size: 2.5rem;
    }
    
    .speakers-content-container {
        max-width: 100%;
    }
    
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .speaker-card {
        width: 100%;
        max-width: none;
    }
    
    .speaker-photo {
        width: 80%;
        margin: 0 auto;
    }
    
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .key-visual-section {
        padding: 100px 0 60px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    
    .partners-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .partner-separator {
        margin: 3rem 0;
    }
    
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    
    .speaker-info {
        padding: 0.5rem 0.4rem;
    }
    
    .speaker-info h3 {
        font-size: 0.75rem;
    }
    
    .speaker-info .title,
    .speaker-info .company {
        font-size: 0.65rem;
    }
    
    
    .agenda-item {
        flex-direction: column;
        text-align: left !important;
    }
    
    .agenda-item .time {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 0.5rem;
        text-align: left !important;
    }
    
    .agenda-item .title {
        text-align: left !important;
    }
    
    .agenda-header {
        text-align: left !important;
    }
    
    .agenda-details {
        text-align: left !important;
    }
    
    .agenda-details .subtitle {
        text-align: left !important;
    }
    
    .morning-session .time,
    .morning-session .title {
        text-align: left !important;
    }
    
    .ceremony-top .time,
    .ceremony-top .title,
    .ceremony-top .subtitle {
        text-align: left !important;
    }
    
    .keynote-content {
        text-align: left !important;
    }
    
    .keynote-content h3,
    .keynote-content p {
        text-align: left !important;
    }
    
    /* Agenda移动端适配 */
    .agenda-section {
        padding: 60px 0;
    }
    
    /* Agenda标题格式 - 参考Speaker样式 */
    .agenda-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .agenda-item.agenda-title-row {
        text-align: center !important;
        margin-bottom: 2rem;
    }
    
    .agenda-item.agenda-title-row .agenda-header {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .agenda-item.agenda-title-row .title {
        font-size: 2.5rem !important;
        margin-bottom: 0;
        text-align: center;
    }
    
    /* 禁用Morning Layout特殊布局，改为顺序垂直排列 */
    .morning-layout {
        display: block !important;
        flex-direction: unset !important;
        gap: unset !important;
        align-items: unset !important;
    }
    
    .morning-left, .morning-right {
        display: block !important;
        flex: unset !important;
        width: 100% !important;
        padding: 0 !important;
        border: none !important;
        margin-bottom: 2rem;
    }

    .morning-left {
        border-right: none !important;
        padding-right: 0 !important;
        border-bottom: 1px solid white !important;
        padding-bottom: 2rem !important;
    }
    
    .morning-session {
        margin-bottom: 2rem;
    }
    
    .ceremony-top, .ceremony-bottom {
        margin-bottom: 2rem;
    }
    
    /* Agenda Speaker Cards移动端调整 - 统一使用2列网格布局 */
    .agenda-speakers-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
        margin-top: 1rem !important;
    }

    /* Single Row Layout Mobile Adaptation - 改为2列网格 */
    .agenda-speakers-grid.agenda-speakers-single-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
        margin-top: 1rem !important;
    }

    .agenda-speakers-grid.agenda-speakers-single-row .agenda-speaker-card {
        width: 100% !important;
        max-width: none !important;
        flex: unset !important;
    }

    /* Research Presentations (3 professors) - 改为2列网格 */
    .agenda-speakers-grid:has(.agenda-speaker-card:nth-child(3):last-child) {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
        margin-top: 1rem !important;
    }

    .agenda-speakers-grid:has(.agenda-speaker-card:nth-child(3):last-child) .agenda-speaker-card {
        width: 100% !important;
        max-width: none !important;
        flex: unset !important;
    }

    /* 2x2 Layout Mobile Adaptation */
    .agenda-speakers-grid.agenda-speakers-2x2 {
        display: flex !important;
        flex-direction: column;
        gap: 0.8rem;
    }

    .agenda-speakers-grid.agenda-speakers-2x2 .agenda-speaker-row {
        display: flex;
        justify-content: space-evenly;
        gap: 0.6rem;
    }

    .agenda-speakers-grid.agenda-speakers-2x2 .agenda-speaker-row .agenda-speaker-card {
        flex: 1;
        max-width: 45%;
    }
    
    .agenda-speaker-card {
        width: 100%;
        max-width: none;
        min-width: auto;
    }
    
    .agenda-speaker-photo {
        width: 80%;
        margin: 0 auto;
    }
    
    .agenda-speaker-info h4 {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    .agenda-speaker-info p {
        font-size: 0.65rem;
        line-height: 1.1;
    }
    
    /* Keynote Layout移动端调整 - 上下布局 */
    .keynote-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: flex-start !important;
    }

    .keynote-speaker {
        width: 100% !important;
        flex: none !important;
        display: block !important;
    }

    /* Speaker卡片内部左右布局 */
    .keynote-speaker .agenda-speaker-card {
        width: 100% !important;
        max-width: none !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    .keynote-speaker .agenda-speaker-photo {
        width: 40% !important;
        flex: 0 0 40% !important;
        margin: 0 !important;
    }

    .keynote-speaker .agenda-speaker-info {
        width: 60% !important;
        flex: 0 0 60% !important;
        padding-left: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        margin-left: -0.5rem !important;
        text-align: left !important;
    }

    .keynote-speaker .agenda-speaker-info h4,
    .keynote-speaker .agenda-speaker-info p {
        text-align: left !important;
        margin-left: 0 !important;
    }

    .keynote-content {
        width: 100% !important;
        flex: none !important;
        margin-top: 0 !important;
        padding-left: 0 !important;
    }
    
    .keynote-content h3 {
        font-size: 1.2rem;
    }
    
    .keynote-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Agenda时间和标题调整 */
    .agenda-item .time {
        font-size: 1.4rem;
    }
    
    .agenda-item .title {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    /* Mobile agenda note */
    .agenda-note-text {
        font-size: 0.8rem !important;
        padding: 0 1rem;
    }
    
    /* Roundtable移动端调整 - 统一网格布局 */
    .roundtable-speakers-container {
        display: block !important;
        gap: unset !important;
    }
    
    .roundtable-moderator-section,
    .roundtable-panellists-section {
        width: 100% !important;
        display: block !important;
        flex-direction: unset !important;
        align-items: unset !important;
        min-width: unset !important;
        flex: unset !important;
    }
    
    .roundtable-role-label {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        text-align: left;
    }
    
    /* 将所有speaker卡片放在一个统一的网格中 */
    .roundtable-moderator-section .agenda-speaker-card {
        display: inline-block;
        width: calc(50% - 0.3rem);
        margin-right: 0.6rem;
        margin-bottom: 0.6rem;
        vertical-align: top;
    }
    
    .roundtable-panellists-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
        flex-wrap: unset !important;
        overflow-x: visible !important;
        width: 100% !important;
        margin-top: 0;
    }
    
    .roundtable-panellists-grid .agenda-speaker-card {
        width: 100% !important;
        max-width: none !important;
        min-width: auto !important;
        flex: unset !important;
    }
    
}

/* Floating Registration Popup */
.floating-register-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    height: 139px;
    z-index: 9999;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease;
}

.floating-register-popup.minimized {
    width: 320px;
    height: 50px;
    border-radius: 25px;
}

.popup-toggle {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.popup-toggle:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.toggle-icon {
    color: white;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

.popup-full-content {
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.floating-register-popup.minimized .popup-full-content {
    opacity: 0;
    pointer-events: none;
}

.popup-full-content a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10 !important;
    cursor: pointer !important;
}

.popup-full-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.popup-minimized-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2240, #2c4a68);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px 0 15px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border-radius: 25px;
}

.floating-register-popup.minimized .popup-minimized-content {
    opacity: 1;
    pointer-events: auto;
}

.minimized-text {
    color: white;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.floating-register-popup:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* 隐藏回到顶部按钮 */
.aux-goto-top-btn {
    display: none !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .floating-register-popup {
        width: 280px;
        height: 122px;
        bottom: 15px;
        right: 15px;
    }
    
    .floating-register-popup.minimized {
        width: 280px;
        height: 45px;
    }
    
    .minimized-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .floating-register-popup {
        width: 250px;
        height: 109px;
        bottom: 10px;
        left: 10px;
    }
    
    .floating-register-popup.minimized {
        width: 250px;
        height: 40px;
    }
    
    .minimized-text {
        font-size: 11px;
        padding: 0 40px 0 10px;
    }
    
    .popup-toggle {
        top: 5px;
        right: 10px;
        width: 25px;
        height: 25px;
    }
    
    .toggle-icon {
        font-size: 16px;
    }
}

/* ===== SPEAKER BIO MODAL STYLES ===== */

/* Modal Container */
.speaker-bio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.speaker-bio-modal.active {
    display: block;
    opacity: 1;
}

/* Modal Overlay */
.bio-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

/* Modal Content Container */
.bio-modal-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    width: 90%;
    max-width: 1000px;
    max-height: 85vh;
    border-radius: 0;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Close Button */
.bio-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: #666;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bio-modal-close:hover {
    color: #000;
    transform: rotate(90deg);
}

/* Modal Inner Container */
.bio-modal-inner {
    display: flex;
    height: 100%;
    max-height: 85vh;
}

/* Left Side - Speaker Info */
.bio-modal-left {
    flex: 0 0 320px;
    background: #f8f9fa;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #e0e0e0;
}

.bio-speaker-photo {
    width: 200px;
    height: 200px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.bio-speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-speaker-basic {
    text-align: left;
    width: 100%;
}

.bio-speaker-basic h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.3;
}

.bio-speaker-title {
    font-size: 0.85rem;
    color: #000;
    margin-bottom: 6px;
    line-height: 1.4;
    font-weight: 400;
}

.bio-speaker-company {
    font-size: 0.85rem;
    color: #000;
    font-weight: 400;
    margin-bottom: 15px;
}

/* Speaker Social Links */
.bio-speaker-links {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 15px;
}

.bio-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.bio-social-link:hover {
    opacity: 0.7;
}

.bio-social-link svg {
    display: block;
    transition: all 0.3s ease;
}

.bio-social-link:hover svg {
    transform: scale(1.1);
}

/* Hide links if no URL is set - TEMPORARILY DISABLED FOR TESTING */
/* .bio-social-link[href="#"],
.bio-social-link[href=""] {
    display: none;
} */

/* Right Side - Biography Content */
.bio-modal-right {
    flex: 1;
    padding: 50px 40px;
    overflow-y: auto;
}

.bio-section-title {
    display: none;
}

.bio-content {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.7;
}

.bio-content p {
    margin-bottom: 1rem;
}

.bio-content p:last-child {
    margin-bottom: 0;
}

/* Clickable Speaker Cards */
.speaker-card,
.agenda-speaker-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.speaker-card:hover,
.agenda-speaker-card:hover {
    transform: translateY(-5px);
}

/* Responsive Design for Bio Modal */
@media (max-width: 768px) {
    .bio-modal-content {
        width: 95%;
        max-width: 600px;
        max-height: 80vh;
        border-radius: 0;
    }

    .bio-modal-inner {
        flex-direction: column;
    }

    .bio-modal-left {
        flex: 0 0 auto;
        padding: 30px 20px;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .bio-speaker-photo {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
        border-radius: 0;
    }

    .bio-speaker-basic h3 {
        font-size: 1.4rem;
    }

    .bio-modal-right {
        padding: 30px 25px;
        max-height: 45vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .bio-section-title {
        font-size: 1.5rem;
    }

    .bio-modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .bio-modal-content {
        width: 95%;
        max-width: 450px;
        max-height: 75vh;
        border-radius: 0;
    }

    .bio-modal-left {
        padding: 25px 15px;
    }

    .bio-speaker-photo {
        width: 120px;
        height: 120px;
        border-radius: 0;
    }

    .bio-speaker-basic h3 {
        font-size: 1.3rem;
    }

    .bio-speaker-title,
    .bio-speaker-company {
        font-size: 0.8rem;
    }

    .bio-modal-right {
        padding: 25px 20px;
        max-height: 35vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .bio-section-title {
        font-size: 1.3rem;
    }

    .bio-content {
        font-size: 0.85rem;
        padding-bottom: 20px;
    }
}

/* ===== CUSTOM FOOTER STYLES ===== */

/* 主要容器样式 */
.custom-footer-section {
    background: #1a1a1a !important;
    color: #ffffff !important;
    padding: 60px 0 30px !important;
    margin-top: 0 !important;
    width: 100% !important;
}

/* Logo区域 - 四列布局 */
.footer-logos {
    display: grid !important;
    grid-template-columns: 1fr 1.5fr 1fr 1.5fr !important;
    gap: 30px !important;
    margin-bottom: 50px !important;
    text-align: center !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.footer-logo-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 140px !important;
}

.footer-logo-item a {
    text-decoration: none !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
}

.footer-logo-item img {
    width: auto !important;
    margin: 15px auto 0 !important;
    display: block !important;
    transition: opacity 0.3s ease !important;
    vertical-align: top !important;
}

/* Direct img without a tag - for Media Partner */
.footer-logo-item > img {
    margin: 15px auto 0 !important;
    align-self: flex-start !important;
}

/* Individual logo sizing for visual balance */
.footer-logo-item img[alt="HKU Business School"] {
    height: 95px !important;
}

.footer-logo-item img[alt="HKJC"] {
    height: 120px !important;
    margin-top: 0px !important;
}

.footer-logo-item img[alt="Media Partner"] {
    height: 60px !important;
    margin-top: 30px !important;
}

.footer-logo-item img[alt="Content Partner"] {
    height: 60px !important;
    margin-top: 30px !important;
}

.footer-logo-item a:hover img {
    opacity: 0.8 !important;
}

.footer-logo-title {
    font-size: 14px !important;
    font-weight: 400 !important;
    margin: 0 0 15px 0 !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    text-align: center !important;
}

/* 社交媒体图标 */
.footer-social {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-bottom: 40px !important;
    padding: 30px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.footer-social a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.footer-social a:hover {
    transform: translateY(-3px) !important;
}

.footer-social a img {
    width: 32px !important;
    height: 32px !important;
    object-fit: contain !important;
    transition: opacity 0.3s ease !important;
}

.footer-social a:hover img {
    opacity: 0.8 !important;
}

/* 底部区域 */
.footer-bottom {
    text-align: center !important;
    padding-top: 20px !important;
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.footer-links {
    margin-bottom: 20px !important;
    font-size: 14px !important;
}

.footer-links a {
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none !important;
    margin: 0 10px !important;
    transition: color 0.3s ease !important;
    font-family: 'Montserrat', sans-serif !important;
}

.footer-links a:hover {
    color: #ffffff !important;
}

.footer-links span {
    color: rgba(255,255,255,0.4) !important;
    margin: 0 5px !important;
}

.footer-copyright {
    font-size: 12px !important;
    color: rgba(255,255,255,0.6) !important;
    margin: 15px 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    line-height: 1.5 !important;
}

.footer-disclaimer {
    font-size: 10px !important;
    color: rgba(255,255,255,0.4) !important;
    margin: 15px 0 0 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    text-align: center !important;
    width: 100% !important;
}

.footer-disclaimer small {
    font-size: inherit !important;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .footer-logos {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
    
    .footer-logo-item:last-child {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
    }
}

@media (max-width: 768px) {
    /* Partners Section - Mobile: One logo per row */
    .partners-grid .partner-item:nth-child(1),
    .partners-grid .partner-item:nth-child(2),
    .partners-grid .partner-item:nth-child(3),
    .partners-grid .partner-item:nth-child(4),
    .partners-grid .partner-row-title-top,
    .partners-grid .partner-item:nth-child(6),
    .partners-grid .partner-item:nth-child(7),
    .partners-grid .partner-item:nth-child(8),
    .partners-grid .partner-item:nth-child(9),
    .partners-grid .partner-item:nth-child(10),
    .partners-grid .partner-item:nth-child(11),
    .partners-grid .partner-item:nth-child(12),
    .partners-grid .partner-item:nth-child(13),
    .partners-grid .partner-item:nth-child(14),
    .partners-grid .partner-item:nth-child(15) {
        grid-column: auto !important;
    }

    /* 移动端共同标题行样式 */
    .partner-row-title-top {
        margin: 15px 0 !important;
    }

    .partner-row-title-top .partner-title {
        font-size: 0.9rem !important;
    }

    /* Supporting Organization间距调整 - 移动端 */
    .partners-grid .partner-item:nth-child(n+6):nth-child(-n+15) {
        margin-bottom: -5rem !important;
    }

    .custom-footer-section {
        padding: 40px 0 20px !important;
        margin-top: 0 !important;
    }

    .footer-logos {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        margin-bottom: 30px !important;
    }

    .footer-logo-item {
        min-height: auto !important;
    }

    .footer-logo-item img {
        max-height: 60px !important;
    }

    /* HKUBS和HKJC logo在移动端可以更大 */
    .footer-logo-item img[alt="HKU Business School"] {
        max-height: 80px !important;
    }

    .footer-logo-item img[alt="HKJC"] {
        max-height: 100px !important;
    }

    .footer-social {
        gap: 10px !important;
        padding: 20px 0 !important;
        flex-wrap: wrap !important;
    }


    .footer-social a img {
        width: 28px !important;
        height: 28px !important;
    }

    .footer-links a {
        display: inline-block !important;
        margin: 5px 10px !important;
    }
}

@media (max-width: 480px) {
    .custom-footer-section {
        padding: 30px 15px 15px !important;
        margin-top: 0 !important;
    }
    
    .footer-logo-title {
        font-size: 12px !important;
    }
    
    .footer-logo-item img {
        max-height: 50px !important;
    }

    /* HKUBS和HKJC logo在小屏移动端也可以更大 */
    .footer-logo-item img[alt="HKU Business School"] {
        max-height: 70px !important;
    }

    .footer-logo-item img[alt="HKJC"] {
        max-height: 90px !important;
    }


    .footer-social a img {
        width: 24px !important;
        height: 24px !important;
    }
}

/* ===== VENUE SECTION STYLES ===== */

/* Venue Section */
.venue-section {
    padding: 80px 0;
    background: #ffffff;
    color: #000000;
}

.venue-section .container {
    max-width: 1200px;
}

.venue-title {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    text-align: left;
}

.venue-info {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0;
    padding-bottom: 2rem;
    text-align: left;
}

.venue-pin {
    width: 24px !important;
    height: 24px !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

/* Google Map Container */
.venue-map-container {
    width: 100%;
    margin: 0;
    border: 1px solid #000000;
}

.venue-map-container iframe {
    display: block;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .venue-section {
        padding: 60px 0;
    }

    .venue-title {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .venue-info {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .venue-pin {
        width: 20px !important;
        height: 20px !important;
        margin-right: 6px !important;
    }

    .venue-map-container iframe {
        height: 350px !important;
    }
}

@media (max-width: 480px) {
    .venue-title {
        font-size: 2rem;
    }

    .venue-info {
        font-size: 1rem;
    }

    .venue-pin {
        width: 18px !important;
        height: 18px !important;
        margin-right: 5px !important;
    }

    .venue-map-container iframe {
        height: 300px !important;
    }
}