/* Shared ICCBD typography, spacing, and responsive rules */
html { font-size: 16px; }
body { font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif !important; color: #333; }
.ieee-stream { font-family: inherit !important; }
img, video, iframe { max-width: 100%; height: auto; }
table { max-width: 100%; }

.icbcd-current-notice {
  margin: 0 auto 28px;
  padding: 18px 22px;
  border-left: 4px solid #00629B;
  border-radius: 4px;
  background: #f2f7fa;
  color: #17324a;
  line-height: 1.7;
}
.icbcd-current-notice strong { display: block; margin-bottom: 5px; color: #002855; font-size: 20px; }
.icbcd-current-notice p { margin: 4px 0; }
.icbcd-current-notice .notice-archive { color: #566b7c; font-size: 14px; }
.conference-news { padding: 18px 0; border-bottom: 1px solid #e6edf2; }
.conference-news time { color: #b5473c; font-weight: 700; }
.conference-news p { margin: 8px 0 0; font-size: 16px; line-height: 1.75; }
.organizer-card { padding: 22px 15px; color: #334; }
.organizer-name { margin-bottom: 10px; color: #63778b; font-size: 13px; text-transform: uppercase; }
.history-page { max-width: 880px; margin: 8vh auto; padding: clamp(24px, 6vw, 64px); border: 1px solid #e2eaf0; border-radius: 20px; background: #fff; box-shadow: 0 18px 48px rgba(10,40,70,.08); color: #24384d; }
.history-page .eyebrow { margin-top: 48px; color: #078a9b; font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.history-page h1 { margin: 8px 0 12px; color: #092d50; font-size: clamp(36px, 7vw, 58px); }
.history-page p { font-size: 17px; line-height: 1.8; }
.history-page .event-summary { color: #456179; font-size: 21px; }
.history-page .back-link, .history-page .next-link { color: #087f96; font-weight: 700; }
.event-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.event-facts div { padding: 16px; border-radius: 12px; background: #f2f7fa; }
.event-facts dt { color: #678197; font-size: 12px; text-transform: uppercase; }
.event-facts dd { margin: 6px 0 0; font-weight: 700; }

@media (max-width: 767px) {
  .ieee-stream { padding-right: 16px !important; padding-left: 16px !important; }
  .ieee-stream table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .main-title-bar { padding: 12px 16px !important; font-size: clamp(22px, 6vw, 30px); line-height: 1.25; }
  .main-title-bar span, .stream-title span { display: inline; margin-left: 4px !important; font-size: .72em !important; }
  .p-main, .p-sub { font-size: 16px !important; line-height: 1.75; }
  .info-val { font-size: 18px; }
  .event-facts { grid-template-columns: 1fr; }
  .history-page { margin: 16px; padding: 24px; }
  .content-box { padding: 20px !important; }
  .icbcd-current-notice { padding: 15px 16px; font-size: 15px; }
}
.important-dates { width: 100%; border-collapse: collapse; margin: 16px 0; }
.important-dates th, .important-dates td { padding: 13px 16px; border-bottom: 1px solid #dfe7ee; text-align: left; }
.important-dates tr:nth-child(odd) { background: #f4f8fb; }
@media (max-width: 600px) { .important-dates th, .important-dates td { display:block; width:100%; padding:8px 12px; } .important-dates td { padding-top:0; } }

/* Keep the full 2027 banner artwork visible at every viewport width. */
.slider, .slider .bd, .slider .bd ul, .slider .bd li {
  height: auto !important;
  min-height: 0 !important;
}
.slider .bd li {
  aspect-ratio: auto !important;
  overflow: visible !important;
}
.slider .bd li img {
  display: block !important;
  width: 100% !important;
  max-width: 1920px;
  height: auto !important;
  margin: 0 auto;
  object-fit: contain !important;
}
/* Home layout: clear primary and supporting columns. */
@media (min-width: 992px) {
  .home-intro-row { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(270px, 1fr); gap: 32px; align-items: start; }
  .home-intro-row > .col-md-12 { grid-column: 1 / -1; }
  .home-intro-row > .col-md-8 { width: auto; padding-right: 0 !important; }
  .home-intro-row > .col-md-4 { width: auto; }
}
@media (max-width: 991px) {
  .home-intro-row > .col-md-8, .home-intro-row > .col-md-4 { width: 100%; }
}
.home-support-column { text-align: left; }
.home-support-column section { margin: 0 0 22px; padding: 18px; border: 1px solid #e3eaf0; border-radius: 8px; background: #fff; }
.home-support-column .stream-subtitle { margin: 0 0 14px; color: #002855; font-size: 19px; }
.home-flyer-link { display: block; margin: 8px 0; padding: 11px 14px; border-radius: 5px; background: #f1f6fa; color: #07517c; font-weight: 600; }
.home-awards-panel ul { margin: 0; padding-left: 20px; line-height: 1.9; }
.home-support-column .important-dates { font-size: 14px; }
.home-awards-panel { background: linear-gradient(145deg, #fffdf6, #fff8e8) !important; border-color: #f0dfb4 !important; }
.home-awards-panel .stream-subtitle { display: flex; align-items: center; gap: 9px; }
.home-awards-panel .stream-subtitle::before { content: "\f091"; font-family: FontAwesome; color: #c28b25; font-size: 20px; }
.award-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0 !important; list-style: none; }
.award-list li { position: relative; min-height: 67px; padding: 12px 12px 12px 38px; border: 1px solid #f0e2bf; border-radius: 7px; background: rgba(255,255,255,.86); box-shadow: 0 3px 9px rgba(126,91,28,.08); color: #59451f; font-size: 14px; font-weight: 700; line-height: 1.35; }
.award-list li::before { content: "\f091"; position: absolute; left: 13px; top: 14px; font-family: FontAwesome; color: #c28b25; font-size: 16px; }
.award-list li span { display: block; margin-top: 4px; color: #8b7650; font-size: 13px; font-weight: 500; }
@media (max-width: 540px) { .award-list { grid-template-columns: 1fr; } .award-list li { min-height: 0; } }
.important-dates .date-label-en { display: block; }
.important-dates .date-label-cn { display: block; white-space: nowrap; word-break: keep-all; }
.important-dates th { word-break: keep-all; }
.home-organizer-card { margin: 24px 0 8px; padding: 22px; border: 1px solid #dce7ef; border-radius: 12px; background: linear-gradient(135deg, #f7fbff 0%, #ffffff 70%); text-align: center; box-shadow: 0 8px 24px rgba(12,54,84,.08); }
.organizer-kicker, .patrons-heading { color: #54728a; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.cqust-logo { display: block; width: 116px; height: 116px !important; object-fit: contain; margin: 12px auto 8px; }
.home-organizer-card h3 { margin: 7px 0 3px; color: #173b59; font-size: 18px; font-weight: 700; }
.home-organizer-card p { margin: 0; color: #536b7e; font-size: 16px; }
.patrons-heading { margin: 20px 0 12px; padding-top: 14px; border-top: 1px solid #e5edf3; }
.patrons-logos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.patrons-logos > div { display: flex; min-height: 98px; align-items: center; justify-content: center; gap: 10px; padding: 12px; border: 1px solid #e7edf2; border-radius: 8px; background: #fff; color: #425a6d; font-size: 12px; line-height: 1.45; }
.patrons-logos img { width: 58px; height: 58px !important; object-fit: contain; flex: 0 0 auto; }
@media (max-width: 560px) { .home-organizer-card { padding: 18px 14px; } .patrons-logos { grid-template-columns: 1fr; } }
/* Organizer marks sit directly under the introduction, separated by fine rules. */
.home-organizer-card { margin: 24px 0 4px; padding: 22px 0 18px; border: 0; border-top: 1px solid #d7e2ea; border-bottom: 1px solid #d7e2ea; border-radius: 0; background: transparent; text-align: center; box-shadow: none; }
.organizer-kicker { display: flex; align-items: center; justify-content: center; gap: 12px; color: #567187; }
.organizer-kicker::before, .organizer-kicker::after { content: ""; width: 38px; height: 1px; background: #8da9bc; }
.cqust-logo { width: 102px; height: 102px !important; margin: 12px auto 7px; }
.home-organizer-card h3 { margin: 5px 0 2px; font-size: 17px; }
.patrons-heading { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 10px; padding-top: 0; border-top: 0; }
.patrons-heading::before, .patrons-heading::after { content: ""; width: 56px; height: 1px; background: #d7e2ea; }
.patrons-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.patrons-logos > div { display: flex; min-height: 0; align-items: center; justify-content: center; gap: 9px; padding: 4px 0; border: 0; border-radius: 0; background: transparent; }
@media (max-width: 560px) { .home-organizer-card { padding: 18px 0 14px; } .patrons-logos { grid-template-columns: none; gap: 12px 20px; } }
.home-organizer-card h3, .home-organizer-card > p { display: block; width: 100%; text-align: center; }
.home-organizer-card h3 { margin-bottom: 2px; line-height: 1.35; }
.home-organizer-card > p { margin-top: 0; line-height: 1.4; }
.publication-submission-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.publication-submission-row > .publication-panel, .publication-submission-row > .submission-panel { float: none; width: auto; padding: 0 22px !important; border: 0 !important; }
.publication-submission-row > .submission-panel { border-left: 1px solid #e3eaf0 !important; }
.publication-submission-row .stream-subtitle { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #e3eaf0; color: #123b5b; }
.publication-submission-row .stream-subtitle i { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #eaf3f8; color: #08789b; font-size: 16px; }
.publication-note, .submission-intro, .submission-note { font-size: 15px; line-height: 1.75; color: #4c6070; }
.submission-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 18px 0; }
.submission-options > div { display: grid; gap: 6px; padding: 15px; border: 1px solid #deebf2; border-radius: 8px; background: #f7fafc; }
.submission-options i { color: #08789b; font-size: 19px; }
.submission-options strong { color: #173b59; }
.submission-options span { color: #617485; font-size: 13px; line-height: 1.5; }
.submission-note { padding: 12px 14px; border-left: 3px solid #8bb9cb; background: #f5f9fb; }
@media (max-width: 767px) { .publication-submission-row { grid-template-columns: 1fr; gap: 24px; } .publication-submission-row > .publication-panel, .publication-submission-row > .submission-panel { padding: 0 !important; } .publication-submission-row > .submission-panel { border-left: 0 !important; border-top: 1px solid #e3eaf0 !important; padding-top: 22px !important; } }
.publication-submission-row { grid-auto-rows: 1fr; align-items: stretch; }
.publication-submission-row > .publication-panel, .publication-submission-row > .submission-panel { height: 100%; box-sizing: border-box; }
.site-footer { margin-top: 40px; padding: 32px 18px 28px; background: linear-gradient(115deg, #062846, #0b4567); color: #eef7fb; text-align: center; }
.site-footer-inner { max-width: 1120px; margin: 0 auto; }
.site-footer-title { color: #8ed7df; font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.site-footer-name { margin-top: 8px; font-size: 16px; font-weight: 600; }
.site-footer-name-cn { margin-top: 4px; color: #d6e6ed; font-size: 14px; }
.site-footer-rule { width: 52px; height: 2px; margin: 15px auto; background: #59b9c7; }
.site-footer-copy, .site-footer-copy-cn { color: #d6e6ed; font-size: 12px; line-height: 1.7; }
@media (max-width: 600px) { .site-footer { margin-top: 28px; padding: 26px 16px 22px; } .site-footer-name { font-size: 15px; } .site-footer-copy { font-size: 11px; } }
