/* SOSE V2 isolated styling; does not change page content or menus */
.sose-v2-shell{--ink:#143441;--teal:#007f83;--deep:#064c60;--sea:#12a8a1;--gold:#d8aa64;color:#143441;font-family:Inter,"Segoe UI",Arial,sans-serif}
.sose-v2-shell *{box-sizing:border-box}
.sose-v2-shell .wrap{max-width:1240px;margin:auto;padding:0 38px}
.sose-v2-stripe{height:5px;background:linear-gradient(90deg,#064b60 0 31%,#15b0a6 31% 66%,#d9ae69 66% 100%)}
body.sose-v2-active header.wp-block-template-part,body.sose-v2-active #masthead{background:#fff;box-shadow:0 8px 28px rgba(16,65,70,.065);border-bottom:1px solid #e6eeee}
body.sose-v2-active header.wp-block-template-part a,body.sose-v2-active #masthead a{transition:color .2s}
body.sose-v2-active header.wp-block-template-part a:hover,body.sose-v2-active #masthead a:hover{color:#008c89}
body.sose-v2-active footer.wp-block-template-part,body.sose-v2-active #colophon{background:#073b4d;color:#c8e0e2;border-top:4px solid #0a8888}
body.sose-v2-active footer.wp-block-template-part a,body.sose-v2-active #colophon a{color:#c8e0e2}
body.sose-v2-active footer.wp-block-template-part a:hover,body.sose-v2-active #colophon a:hover{color:#fff}
.sose-v2-shell .hero{min-height:466px;overflow:hidden;position:relative;background:linear-gradient(110deg,#eff8f7 0%,#f9fcfb 48%,#d7f0ee 100%)}
.sose-v2-shell .hero:after{content:"";position:absolute;bottom:0;left:0;right:0;height:5px;background:linear-gradient(90deg,#087f83,#0ab6aa,#d7a661)}
.sose-v2-shell .hero .wrap{position:relative;min-height:466px;display:flex;align-items:center}
.sose-v2-shell .hero-copy{position:relative;z-index:1;width:55%;padding:46px 0 50px}
.sose-v2-shell .eyebrow{display:flex;align-items:center;gap:10px;color:#087f83;font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.sose-v2-shell .eyebrow:before{content:"";height:2px;width:30px;background:#d4a35e}
.sose-v2-shell .hero h1{font-size:clamp(44px,5.3vw,73px);line-height:1.01;letter-spacing:-.065em;margin:24px 0 15px;color:#0a4658;font-weight:800}
.sose-v2-shell .hero h1 span{color:#079c98}
.sose-v2-shell .hero h2{font-size:clamp(17px,2vw,23px);font-weight:500;letter-spacing:-.025em;line-height:1.45;color:#315968;margin:0 0 22px;max-width:620px}
.sose-v2-shell .hero p{color:#69858a;font-size:13px;line-height:1.8;max-width:450px}
.sose-v2-shell .hero-tag{display:inline-flex;gap:9px;align-items:center;margin-top:18px;padding:11px 15px;border:1px solid #a7d6d2;background:#ffffffa6;border-radius:6px;color:#087e80;font-size:11px;letter-spacing:.08em;font-weight:800}
.sose-v2-shell .hero-art{position:absolute;width:60%;height:100%;right:-8%;top:0}
.sose-v2-shell .hero-art svg{height:100%;width:100%}
.sose-v2-shell .float{animation:float 7s ease-in-out infinite;transform-origin:center}
.sose-v2-shell .hero-art{right:-17%}
.sose-v2-shell .hero,.sose-v2-shell .hero .wrap{min-height:540px}
.sose-v2-shell .hero .wrap{align-items:flex-start}
.sose-v2-shell .hero-copy{width:100%;padding-top:49px}
.sose-v2-shell .hero h1{font-size:56px}
.sose-v2-shell .hero h2{font-size:19px;max-width:420px}
.sose-v2-shell .hero-art{width:110%;height:64%;top:auto;bottom:-10%;right:-37%;opacity:.6}
.sose-v2-shell .float{animation:none}
@keyframes soseFloat{50%{transform:translateY(-10px)}}
.sose-v2-shell .float{animation:soseFloat 7s ease-in-out infinite}
@media(max-width:780px){.sose-v2-shell .wrap{padding:0 22px}.sose-v2-shell .hero,.sose-v2-shell .hero .wrap{min-height:540px}.sose-v2-shell .hero .wrap{align-items:flex-start}.sose-v2-shell .hero-copy{width:100%;padding-top:49px}.sose-v2-shell .hero h1{font-size:clamp(42px,9vw,56px)}.sose-v2-shell .hero h2{font-size:19px;max-width:420px}.sose-v2-shell .hero-art{width:110%;height:64%;top:auto;bottom:-10%;right:-37%;opacity:.6}}
@media(prefers-reduced-motion:reduce){.sose-v2-shell .float{animation:none}}

/* CISOSE 2027 UNIFIED BANNER V1
   Reference: JCC 2048 x 462
   Scope: SOSE only
*/
@media (min-width: 781px) {
  .sose-v2-shell .hero,
  .sose-v2-shell .hero .wrap {
    height: auto;
    min-height: 0;
    aspect-ratio: 2048 / 462;
  }

  .sose-v2-shell .hero-copy {
    position: relative;
    z-index: 2;
  }

  .sose-v2-shell .hero-art {
    height: 100%;
  }
}

@media (max-width: 780px) {
  .sose-v2-shell .hero,
  .sose-v2-shell .hero .wrap {
    min-height: 0;
    height: auto;
  }

  .sose-v2-shell .hero .wrap {
    padding-top: 35px;
    padding-bottom: 110px;
  }
}


/* CISOSE SOSE V3.1 ORIGINAL BANNER
   SOSE only - no changes to other conferences
*/

/* 1. 横幅：统一 JCC 宽高比例 */
@media (min-width: 781px) {
  .sose-v2-shell .hero {
    aspect-ratio: 2048 / 462 !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .sose-v2-shell .hero .wrap {
    min-height: 0 !important;
    height: 100% !important;
  }
}

/* 2. 原始科技背景 */
.sose-v2-shell .hero {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(
      90deg,
      rgba(3, 34, 54, .72) 0%,
      rgba(3, 39, 57, .48) 38%,
      rgba(3, 39, 57, .04) 72%
    ),
    url("sose-original.png") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* 3. 保留可编辑网页文字 */
.sose-v2-shell .hero-copy {
  position: relative;
  z-index: 3;
  width: 60%;
}

.sose-v2-shell .hero h1,
.sose-v2-shell .hero h2,
.sose-v2-shell .hero p {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 25, 40, .35);
}

.sose-v2-shell .hero h1 {
  font-size: clamp(30px, 3.4vw, 52px);
  letter-spacing: -.045em;
  margin: 10px 0;
}

.sose-v2-shell .hero h2 {
  font-size: clamp(15px, 1.5vw, 20px);
  margin-bottom: 10px;
}

/* 4. 隐藏旧 SVG 图案 */
.sose-v2-shell .hero-art {
  display: none !important;
}

/* 5. 导航栏：深青色 + 金色分隔线 */
.sose-v2-shell .site-header,
.sose-v2-shell > header {
  background: #075969 !important;
  border-bottom: 3px solid #D8A84D !important;
}

.sose-v2-shell .site-header a,
.sose-v2-shell > header a {
  color: #ffffff !important;
}

.sose-v2-shell .site-header a:hover,
.sose-v2-shell > header a:hover {
  color: #F4D58B !important;
}

/* 6. 手机端：保留文字可读性 */
@media (max-width: 780px) {
  .sose-v2-shell .hero {
    aspect-ratio: auto !important;
    min-height: 420px !important;
    background-position: 65% center !important;
  }

  .sose-v2-shell .hero .wrap {
    min-height: 420px !important;
    height: auto !important;
    padding: 36px 22px !important;
    align-items: flex-start !important;
  }

  .sose-v2-shell .hero-copy {
    width: 100% !important;
    padding-top: 0 !important;
  }

  .sose-v2-shell .hero h1 {
    font-size: clamp(30px, 8vw, 44px);
  }
}


/* CISOSE SOSE V3.2 NAVIGATION COLORS */

/* SOSE 导航背景 */
body.sose-v2-active header.wp-block-template-part,
body.sose-v2-active #masthead {
    background: #075969 !important;
    border-bottom: 3px solid #D8A84D !important;
    box-shadow: 0 5px 18px rgba(0, 50, 60, .12);
}

/* 导航 Logo 与菜单文字 */
body.sose-v2-active header.wp-block-template-part a,
body.sose-v2-active #masthead a {
    color: #FFFFFF !important;
}

/* 鼠标悬停 */
body.sose-v2-active header.wp-block-template-part a:hover,
body.sose-v2-active #masthead a:hover {
    color: #F4D58B !important;
}

/* WordPress 菜单及下拉菜单 */
body.sose-v2-active header.wp-block-template-part .wp-block-navigation-item__content,
body.sose-v2-active #masthead .wp-block-navigation-item__content {
    color: #FFFFFF !important;
}

/* 下拉菜单保持清晰 */
body.sose-v2-active header.wp-block-template-part .wp-block-navigation__submenu-container {
    background: #075969 !important;
    border: 1px solid #D8A84D !important;
}

body.sose-v2-active header.wp-block-template-part .wp-block-navigation__submenu-container a {
    color: #FFFFFF !important;
}

/* 下拉箭头 */
body.sose-v2-active header.wp-block-template-part .wp-block-navigation__submenu-icon {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}


/* CISOSE SOSE V3.3 FINAL POLISH */

/* 导航栏与横幅紧密衔接 */
body.sose-v2-active header.wp-block-template-part,
body.sose-v2-active #masthead {
    margin-bottom: 0 !important;
}

/* 清除横幅外侧多余的顶部间距 */
body.sose-v2-active .sose-v2-shell {
    margin-top: 0 !important;
}

body.sose-v2-active .sose-v2-shell .hero {
    margin-top: 0 !important;
}

/* 横幅左上角会议标识：浅金色 */
body.sose-v2-active .sose-v2-shell .hero-copy .eyebrow,
body.sose-v2-active .sose-v2-shell .hero-copy .kicker,
body.sose-v2-active .sose-v2-shell .hero-copy .overline {
    color: #F4D58B !important;
}
