/* ==========================================================================
   OIT AWARDS · 获奖名单页  —  页面专属样式
   公用：css/style.css（导航 / 页脚 / container）
   设计稿基准：1920px（PSD 2560 / 1.3333 倍图），px 数值 = @1920 1:1 尺寸
   ========================================================================== */

/* ---------- 滚动淡入（与 organization.css 同一套动画） ---------- */
.fade-in{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .7s ease, transform .7s ease;
}
.fade-in.visible{ opacity:1; transform:none; }

/* ---------- 年份切换条（设计稿：高 106，底色 #305FA7） ---------- */
.aw-yearbar{
  background:#305fa7;
}
.aw-yearbar__inner{
  height:clamp(56px, 5.52vw, 106px);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(38px, 5vw, 96px);
}
.aw-year{
  font-size:clamp(15px, 1.17vw, 22.5px);
  font-weight:600;
  letter-spacing:.02em;
  color:#fff;
  transition:color .18s;
  text-decoration:none;
}
.aw-year:hover{ color:var(--cyan); }
.aw-year.is-muted{ color:rgba(255,255,255,.55); }
.aw-year.is-muted:hover{ color:var(--cyan); }
.aw-year.is-active{
  font-size:clamp(21px, 1.72vw, 33px);
  font-weight:800;
  color:var(--orange);
}
.aw-year.is-active:hover{ color:var(--orange); }
.aw-arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  min-height:24px;
  margin:0 clamp(20px, 3.1vw, 60px);
  padding:0;
  background:none;
  border:0;
  font-size:clamp(16px, 1.15vw, 22px);
  line-height:1;
  color:rgba(255,255,255,.75);
  cursor:pointer;
  text-decoration:none;
  -webkit-tap-highlight-color:transparent;
  transition:color .18s;
}
.aw-arrow:hover{ color:#fff; }

/* ---------- 顶部横幅（PSD 2560×990：视频花絮） ----------
   底板 aw_banner_bg.jpg = PSD x0..2560 / y209..1199 区域（2560×990），
   视频框、半透明面板、文字均已从图里拆出来，由下面的定位元素还原。
   设计坐标（PSD 2560 基准，换算成百分比后随图片等比缩放）：
     面板 / 视频框：x 396..2166 / x 396..1356，y 330..870，圆角 20
     播放按钮：120×60 圆角胶囊，居中于视频框
     文字右边缘：x 2116；三行墨迹顶：y 418 / 498 / 629
   ------------------------------------------------ */
.aw-hero{
  position:relative;
  background:#0e5c86;
}
.aw-hero__bg{
  display:block;
  width:100%;
  height:auto;
}
/* 覆盖层：与底板同尺寸，内部元素全部按百分比定位 */
.aw-hero__stage{
  position:absolute;
  inset:0;
}
/* 半透明衬底（黑 20%，圆角 20） */
.aw-hero__panel{
  position:absolute;
  left:15.4688%;            /* 396/2560 */
  top:12.1212%;             /* 120/990 */
  width:69.1406%;           /* 1770/2560 */
  height:54.6465%;          /* 541/990 */
  background:rgba(0,0,0,.2);
  border-radius:clamp(5px, .7813vw, 15px);
}
/* 视频框：设计稿左侧黑色圆角块，尺寸与设计稿一致 */
.aw-hero__video{
  position:absolute;
  left:15.4688%;
  top:12.1212%;
  width:37.5%;              /* 960/2560 */
  height:54.6465%;
  background:#000;
  border-radius:clamp(5px, .7813vw, 15px);
  overflow:hidden;
  cursor:pointer;
}
.aw-hero__media{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#000;
}
/* 播放按钮：120×60 胶囊（相对视频框宽度 12.5%） */
.aw-hero__play{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%) scale(1);
  width:12.5%;
  aspect-ratio:2 / 1;
  padding:0;
  border:0;
  border-radius:999px;
  background:var(--orange);
  cursor:pointer;
  transition:opacity .25s ease, transform .25s ease, background .18s;
}
.aw-hero__play:hover{
  background:#ff8524;
  transform:translate(-50%, -50%) scale(1.06);
}
.aw-hero__play:focus-visible{
  outline:2px solid #fff;
  outline-offset:3px;
}
/* 三角形（设计稿 31×35 白色实心，居中于胶囊） */
.aw-hero__play i{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  width:0;
  height:0;
  border-style:solid;
  border-width:.72em 0 .72em 1.28em;
  border-color:transparent transparent transparent #fff;
  font-size:clamp(2px, .9492vw, 18.2px);
}
/* 播放后隐藏按钮 */
.aw-hero.is-playing .aw-hero__play{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate(-50%, -50%) scale(.86);
}
/* 文字区：整幅铺满，逐行绝对定位以贴合设计稿行距；文字右边缘 x=2116 */
.aw-hero__caption{
  position:absolute;
  inset:0;
  color:#fff;
  pointer-events:none;
}
.aw-hero__caption p{
  position:absolute;
  right:17.2656%;           /* 442/2560（墨迹右缘对齐设计稿 x=2114） */
  line-height:1;
  text-align:right;
  white-space:nowrap;
}
.aw-hero__year,
.aw-hero__name{
  font-size:clamp(8px, 2.2656vw, 43.5px);    /* 设计稿 58 → @1920 43.5；下限仅为防过小，随图等比缩放 */
  font-weight:500;
  letter-spacing:0;
}
.aw-hero__year{
  top:21.01%;
}
.aw-hero__name{
  top:29.09%;
}
.aw-hero__label{
  top:42.29%;
  font-size:clamp(8px, 2.7344vw, 52.5px);    /* 设计稿 70 → @1920 52.5 */
  font-weight:700;
  letter-spacing:.14em;
  margin-right:-.14em;      /* 抵消末字右侧多出的字距，保证右边缘与设计稿对齐 */
}

/* ---------- 内容区底色 ---------- */
.aw-main{
  background:linear-gradient(180deg, #284799 0%, #203b82 9%, #203b82 100%);
  padding-top:clamp(48px, 4.7vw, 90px);
  padding-bottom:clamp(28px, 2.5vw, 48px);
}

/* ---------- 区块标题（橙色圆环 + 白色粗体，左对齐） ---------- */
.aw-title{
  display:flex;
  align-items:center;
  gap:clamp(10px, .78vw, 15px);
  font-size:clamp(21px, 1.72vw, 33px);
  line-height:1.2;
  font-weight:700;
  letter-spacing:.02em;
  color:#fff;
}
.aw-title i{
  flex:none;
  width:clamp(16px, 1.4vw, 27px);
  height:clamp(16px, 1.4vw, 27px);
  border-radius:50%;
  border:clamp(4px, .36vw, 7px) solid var(--orange);
}
.aw-title--gap{ margin-top:clamp(36px, 3.35vw, 64px); }

/* ---------- 历届获奖情况图表 ---------- */
.aw-chart{
  display:block;
  width:100%;
  height:auto;
  margin-top:clamp(12px, 1.05vw, 20px);
}

/* ---------- 奖项缎带（PSD 切片 840 宽 → 630 @1920） ---------- */
.aw-ribbon{
  display:block;
  width:min(630px, 86%);
  height:auto;
  padding:15px 0;
  font-size:24px;
  font-weight:bold;
  text-align:center;
  margin:clamp(20px, 1.35vw, 26px) auto clamp(44px, 3.65vw, 70px);
}
.aw-ribbon--first{ margin-top:clamp(24px, 1.9vw, 36px); }

/* ---------- 获奖名单卡片（半透明蓝玻璃外卡 + 白色内表） ---------- */
.aw-card{
  width:min(1271px, 100%);
  margin:0 auto;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.30);
  border-radius:clamp(10px, .94vw, 18px);
  padding:0 clamp(28px, 3.02vw, 58px) clamp(24px, 2.3vw, 44px);
}
.aw-card__head{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  height:clamp(32px, 2.4vw, 46px);
  font-size:clamp(14px, 1.17vw, 22.5px);
  font-weight:700;
  letter-spacing:.05em;
  text-align:center;
  color:#fff;
}
.aw-card__table{
  background:#fff;
  border-radius:clamp(6px, .52vw, 10px);
  padding:0 clamp(16px, 1.72vw, 33px);
}
.aw-card__table li{
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:clamp(20px, 2vw, 40px);
  align-items:center;
  padding:clamp(14px, 1.5vw, 29px) 4px;
  border-bottom:1px dashed #b9b9b9;
  font-size:clamp(13px, 1.09vw, 21px);
  line-height:1.6;
  color:#333;
}
.aw-card__table li:first-child{ padding-top:clamp(10px, 1.2vw, 23px); }
.aw-card__table li:last-child{ border-bottom:0; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width:1100px){
  .aw-yearbar__inner{ gap:32px; }
  .aw-arrow{ margin:0 24px; }
}

/* —— 手机 —— */
@media (max-width:900px){
  /* 横幅改竖排：标题文字在上，视频满宽在下（原来并排导致视频只有百来 px 宽） */
  .aw-hero{
    background:
      linear-gradient(180deg, rgba(4,42,70,.58) 0%, rgba(4,42,70,.20) 46%, rgba(4,42,70,.62) 100%),
      #0e5c86 url(../assets/aw_banner_bg.jpg) center bottom / cover no-repeat;
    padding:22px 16px 26px;
  }
  .aw-hero__bg{ display:none; }

  .aw-hero__stage{
    position:relative;
    inset:auto;
    display:flex;
    flex-direction:column;
    gap:14px;
  }
  .aw-hero__panel{ display:none; }   /* 竖排下不再需要那块半透明衬底 */

  .aw-hero__caption{
    position:static;
    inset:auto;
    order:-1;                        /* 文字提到视频上方 */
    text-align:center;
  }
  .aw-hero__caption p{
    position:static;
    right:auto;
    left:auto;
    text-align:center;
    white-space:normal;
    line-height:1.2;
  }
  .aw-hero__year{
    font-size:14px;
    font-weight:500;
    opacity:.9;
  }
  .aw-hero__name{
    margin-top:5px;
    font-size:17px;
    font-weight:600;
    letter-spacing:.04em;
  }
  .aw-hero__label{
    margin-top:7px;
    margin-right:0;
    font-size:26px;
    font-weight:700;
    letter-spacing:.16em;
  }

  .aw-hero__video{
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:auto;
    aspect-ratio:16 / 9;
    border-radius:10px;
  }
  .aw-hero__play{ width:clamp(52px, 15%, 84px); }
  .aw-hero__play i{ font-size:9px; }

  .aw-yearbar__inner{ height:56px; gap:26px; }
  .aw-year{ font-size:14px; }
  .aw-year.is-active{ font-size:18px; }
  .aw-arrow{ margin:0 14px; font-size:15px; }

  .aw-main{ padding-top:44px; }
  .aw-title{ font-size:20px; }
  .aw-title--gap{ margin-top:40px; }

  .aw-ribbon{ width:min(480px, 92%); margin:20px auto 36px; }

  .aw-card{ padding:0 16px 18px; }
  .aw-card__head{ height:36px; font-size:13px; }
  .aw-card__table{ padding:0 12px; }
  .aw-card__table li{
    grid-template-columns:1fr;
    row-gap:4px;
    padding:14px 2px;
    font-size:14px;
  }
  .aw-card__table li:first-child{ padding-top:12px; }
}
