/* Study site skin (FastAdmin frontend) */

:root{
  --study-red:#e52a2a;
  --study-blue:#0a6fb2;
  --study-bg:#f5f6f8;
  --study-text:#222;
  --study-muted:#888;
  --study-border:#e9e9e9;
  --study-card:#fff;
}

.study-body{
  background: var(--study-bg);
  color: var(--study-text);
  padding-top:0;
}

/* Layout width: other modules use Bootstrap `.container` (override to 1200px on large screens) */
@media (min-width: 1200px){
  .study-body .container{ width:1200px; }
}

.study-topbar{
  background:#fafafa;
  border-bottom:1px solid #f0f0f0;
  font-size:12px;
  color:#666;
  line-height:42px;
}
.study-topbar a{ color:#666; }
.study-topbar a:hover{ color:var(--study-red); text-decoration:none; }

.study-navbar{
  border-radius:0;
  border:0;
  border-bottom:0;
  margin-bottom:0;
  background:#fff;
}
.study-navbar .container{
  padding-top:18px;
  padding-bottom:2px;
}
.study-logo{ padding:10px 15px; height:auto; }
.study-logo-img{
  height:56px;
  width:auto;
  display:block;
}
.study-logo-text{
  font-weight:800;
  font-size:34px;
  letter-spacing:1px;
  color:#111;
}
.study-nav > li > a{
  padding:22px 16px 26px;
  color:#222;
  font-size:14px;
  height:80px !important;
}
.study-nav > li.active > a{
  /* 设计图：默认选中为黑字 + 红色下划线 */
  color:#EC3131 !important;
  background:transparent;
  position:relative;
}
.study-nav > li > a:hover{
  color:var(--study-red);
  background:transparent;
  position:relative;
}
.study-navbar .study-nav > li.active > a,
.study-navbar .study-nav > li > a:hover{
  /* 覆盖 Bootstrap navbar 默认的 active 背景色 */
  background-color:transparent !important;
}
.study-nav > li.active > a:after{
  content:none;
}
.study-nav > li{ position:relative; }
.study-nav > li.active:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0px; /* 压住 navbar 底边，确保与下方内容无缝 */
  height:2px;
  background:var(--study-red);
}
.study-search{ margin-top:14px; }
.study-search .form-control{
  width:260px;
  border-radius:18px;
  padding-left:34px;
}
.study-search .form-control-feedback{
  left:10px;
  right:auto;
  color:#aaa;
}
.study-search .study-search-submit{
  position:absolute;
  left:0;
  top:0;
  width:34px;
  height:34px;
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
}
.study-search .study-search-submit .form-control-feedback{
  position:static;
  display:block;
  line-height:34px;
}

.study-main{ min-height: calc(100vh - 220px); }

.study-footer{
  background:#666;
  color:#eee;
  padding:22px 0;
  margin-top:0px;
  font-size:12px;
}
.study-footer a{ color:#fff; }

/* Sections */
.study-section{ padding:28px 0; }
.study-section-white{ background:#fff; }
.study-section-title{
  font-size:28px;
  font-weight:700;
  margin:0 0 16px;
}

/* Study note (首页“学习须知”): 去掉背景图，改为干净卡片 */
.study-note{
  background:#fff;
  background-image:none !important;
  border:1px solid rgba(16,24,40,.08);
  border-radius:14px;
  padding:22px 24px;
  box-shadow:0 14px 34px rgba(16,24,40,.08);
  color:#111827;
  line-height:2;
}
.study-note > div{ margin:0 0 6px; }
.study-note > div:last-child{ margin-bottom:0; }

/* Hero */
.study-hero{
  color:#fff;
  padding:0;
}
.study-hero-carousel{
  margin-bottom:0;
  border-radius:0;
  overflow:hidden;
}
.study-hero-slide{
  height:calc(100vw * 470 / 1920);
  max-height:470px;
  min-height:260px;
  position:relative;
  overflow:hidden;
}
.study-hero-slide > img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.study-hero-slide:before{
  /* subtle dark mask for text readability */
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.10) 45%, rgba(0,0,0,0) 70%);
}
.study-hero-caption{
  position:relative;
  height:calc(100vw * 470 / 1920);
  max-height:470px;
  min-height:260px;
  display:flex;
  align-items:center;
}
.study-hero-title{
  max-width:720px;
  color:#fff;
}
.study-hero-title-main{ font-size:38px; font-weight:800; line-height:1.2; }
.study-hero-title-sub{ font-size:20px; margin-top:10px; opacity:.95; }
.study-hero-title-tips{ margin-top:14px; opacity:.9; }
.study-hero-control{
  width:10%;
  background-image:none !important;
  opacity:.75;
}
.study-hero-control:hover{ opacity:1; }
.study-hero-carousel .carousel-indicators{
  bottom:12px;
}
.study-hero-carousel .carousel-indicators li{
  border-color:rgba(255,255,255,.85);
}
.study-hero-carousel .carousel-indicators .active{
  background:#fff;
}

/* Cards */
.study-card{
  background:var(--study-card);
  border:1px solid var(--study-border);
  border-radius:4px;
  overflow:hidden;
  margin-bottom:16px;
}
.study-card-link{
  display:block;
  text-decoration:none;
}
.study-card-link:hover,
.study-card-link:focus{
  text-decoration:none;
}
.study-card-thumb{
  background:#f1f1f1;
  height:180px;
  overflow:hidden;
}
.study-card-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.study-card-body{
  background:#fff;
  padding:12px 12px 14px;
}
.study-card-title{
  font-size:16px;
  line-height:1.3;
  font-weight:400;
  color:#222;
}
.study-card-meta{
  margin-top:8px;
  font-size:15px;
  line-height:1.2;
  color:#b0b0b0;
}

/* About */
.study-about-section{
  background:linear-gradient(135deg, #0a66af 0%, #0e78c8 100%);
  padding:48px 0;
  color:#fff;
}
.study-about-container{ width:1200px; max-width:100%; }
.study-about-title{
  font-size:48px;
  line-height:1.2;
  font-weight:800;
  margin:0 0 26px;
}
.study-about-panel{
  margin:0;
  display:flex;
  align-items:center;
}
.study-about-panel > [class*="col-"]{
  padding-left:0;
  padding-right:0;
}
.study-about-img{
  width:400px;
  height:280px;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.22);
  border-radius:8px;
  padding:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    linear-gradient(rgba(18,46,87,.2), rgba(18,46,87,.2)),
    linear-gradient(145deg, #93b9d8, #557ea4);
}
.study-about-img img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain; /* 设计稿：完整展示，不裁剪 */
  object-position:center;
}

/* Xueyuan detail */
.study-xueyuan-hero2{
  position:relative;
  padding:44px 0 34px;
  color:#fff;
  overflow:hidden;
  background:linear-gradient(135deg, #0a66af 0%, #0e78c8 100%);
}
.study-xueyuan-hero2:before{
  content:"";
  position:absolute;
  inset:0;
  background-image:var(--xy-cover);
  background-size:cover;
  background-position:center;
  opacity:.22;
  transform:scale(1.08);
  filter:saturate(1.05) contrast(1.05);
}
.study-xueyuan-hero2-bg{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(7,34,74,.92) 0%, rgba(10,102,175,.82) 50%, rgba(14,120,200,.86) 100%);
}
.study-xueyuan-hero2-glow{
  position:absolute;
  width:640px;
  height:640px;
  left:-220px;
  top:-320px;
  background:radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,0) 60%);
  transform:rotate(18deg);
}
.study-xueyuan-hero2-inner{
  position:relative;
  max-width:1100px;
}
.study-xueyuan-hero2-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.78);
  margin-bottom:10px;
}
.study-xueyuan-hero2-title{
  font-size:42px;
  line-height:1.18;
  font-weight:900;
  margin:0 0 14px;
  text-shadow:0 10px 30px rgba(0,0,0,.25);
}
.study-xueyuan-hero2-desc{
  font-size:16px;
  line-height:1.9;
  color:rgba(255,255,255,.92);
  margin:0;
  max-width:920px;
}
.study-xueyuan-hero2-actions{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.study-xueyuan-wrap{
  max-width:1100px;
  margin:0 auto;
}
.study-xueyuan-paper{
  background:rgba(255,255,255,.98);
  border-radius:18px;
  box-shadow:0 16px 44px rgba(16,24,40,.10);
  border:1px solid rgba(16,24,40,.06);
  overflow:hidden;
}
.study-xueyuan-paper-head{
  padding:18px 24px;
  background:linear-gradient(180deg, rgba(248,250,252,1) 0%, rgba(255,255,255,1) 100%);
  border-bottom:1px solid rgba(16,24,40,.06);
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}
.study-xueyuan-paper-title{
  font-size:18px;
  font-weight:800;
  color:#0f172a;
}
.study-xueyuan-paper-meta{
  font-size:12px;
}
.study-xueyuan-content{
  padding:22px 24px 28px;
  font-size:15px;
  line-height:2.05;
  color:#1f2937;
}
.study-xueyuan-content p{
  margin:0 0 12px;
}
.study-xueyuan-content img{
  max-width:100%;
  height:auto;
  border-radius:12px;
}
.study-xueyuan-content h1,
.study-xueyuan-content h2,
.study-xueyuan-content h3{
  color:#0f172a;
  font-weight:800;
  margin:18px 0 10px;
}
.study-xueyuan-content a{
  color:#0b76c6;
}
.study-about-text{
  font-size:18px;
  line-height:2;
  margin-bottom:28px;
  color:rgba(255,255,255,.95);
}
.study-about-text p{ margin:0 0 10px; }
.study-about-btn{
  min-width:120px;
  height:40px;
  line-height:24px;
  font-size:16px;
}

/* Teachers */
.study-teachers{
  position:relative;
  padding:0 54px;
}
.study-teachers-viewport{
  overflow:hidden;
}
.study-teachers-track{
  display:flex;
  gap:18px;
  transition:transform .35s ease;
  will-change:transform;
}
.study-teacher{
  flex:0 0 calc((100% - 72px) / 5);
  min-width:0;
  text-align:center;
  background:#fff;
  border:1px solid var(--study-border);
  border-radius:2px;
  padding:35px 12px 12px;
}
.study-teacher-thumb{
  width:106px;
  height:106px;
  border-radius:50%;
  margin:0 auto;
  overflow:hidden;
  display:block;
  cursor:pointer;
}
.study-teacher-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.study-teacher-body{
  margin-top:14px;
}
.study-teacher-name{
  font-size:16px;
  line-height:1.2;
  font-weight:700;
  color:#111;
}
.study-teacher-job{
  margin-top:8px;
  font-size:15px;
  line-height:1.2;
  color:#999;
}
.study-teachers-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid #dfe3ea;
  background:#fff;
  color:#5b7df1;
  line-height:38px;
  font-size:28px;
  font-weight:300;
  text-align:center;
  text-decoration:none;
  z-index:2;
}
.study-teachers-arrow:hover{ color:#2f5be9; text-decoration:none; }
.study-teachers-arrow.is-disabled{
  color:#cfd5dd;
  cursor:not-allowed;
}
.study-teachers-arrow-left{ left:0; }
.study-teachers-arrow-right{ right:0; }

.study-image-preview{
  position:fixed;
  inset:0;
  z-index:2000;
}
.study-image-preview-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.65);
}
.study-image-preview-dialog{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  max-width:94vw;
  max-height:92vh;
}
.study-image-preview-img{
  display:block;
  max-width:94vw;
  max-height:92vh;
  border-radius:4px;
  box-shadow:0 10px 36px rgba(0,0,0,.35);
}
.study-image-preview-close{
  position:absolute;
  right:-14px;
  top:-14px;
  width:32px;
  height:32px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#333;
  font-size:24px;
  line-height:32px;
  padding:0;
}

/* Products */
.study-product{
  background:#fff;
  border:1px solid var(--study-border);
  border-radius:4px;
  overflow:hidden;
  margin-bottom:16px;
}
.study-product-thumb{ height:150px; background:#eee; }
.study-product-body{ padding:12px; }
.study-product-title{ font-weight:700; }
.study-product-meta{ margin-top:6px; font-size:12px; }

/* Home news */
.study-news-home-col{
  padding:0 14px 8px;
}
.study-news-home-title{
  font-size:24px;
  font-weight:700;
  color:#222;
  border-bottom:1px solid #d8d8d8;
  padding-bottom:14px;
}
.study-news-home-title .glyphicon{
  color:#ff2a2a;
  margin-right:8px;
}
.study-news-home-list{
  list-style:none;
  margin:18px 0 10px;
  padding:0;
}
.study-news-home-list li{
  margin:0 0 14px;
}
.study-news-home-list li a{
  color:#333;
  text-decoration:none;
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.study-news-home-list li a:hover{ color:var(--study-red); }
.study-news-home-more{ text-align:right; }
.study-news-home-more a{
  color:#ff2a2a;
  text-decoration:none;
}

/* News list/detail */
.study-news-tabs{
  display:flex;
  gap:34px;
  margin-bottom:14px;
}
.study-news-tab{
  font-size:18px;
  color:#222;
  text-decoration:none;
  padding-bottom:12px;
  border-bottom:3px solid transparent;
}
.study-news-tab.active{
  color:#ef3b3b;
  border-bottom-color:#ef3b3b;
}
.study-news-list-box{
  border:1px solid #ddd;
  background:#fff;
  padding:18px 20px 24px;
}
.study-news-list{
  list-style:none;
  margin:0;
  padding:0;
}
.study-news-list li{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  border-bottom:1px dashed #e4e4e4;
  padding:16px 0;
}
.study-news-list li a{
  color:#333;
  text-decoration:none;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.study-news-list li a:hover{ color:#ef3b3b; }
.study-news-list li span{
  color:#999;
  white-space:nowrap;
}
.study-news-pagination{
  margin-top:26px;
}
.study-news-detail{
  border:1px solid #ddd;
  background:#fff;
  padding:24px 50px 34px;
  min-height:760px;
}
.study-news-detail-title{
  text-align:center;
  font-size:20px;
  line-height:1.35;
  font-weight:700;
  color:#111;
}
.study-news-detail-time{
  text-align:center;
  margin:14px 0 26px;
  color:#b2b2b2;
}
.study-news-detail-content{
  font-size:16px;
  line-height:2;
  color:#333;
}
.study-news-detail-nav{
  margin-top:44px;
  line-height:2;
}
.study-news-detail-nav a{
  color:#333;
  text-decoration:none;
}
.study-news-detail-nav a:hover{
  color:#ef3b3b;
}
.study-news-side{
  border:1px solid #ddd;
  background:#fff;
  padding:14px;
}
.study-news-side-title{
  font-size:20px;
  font-weight:700;
  color:#111;
  margin:0 0 14px;
}
.study-news-hot-item{
  display:block;
  text-decoration:none;
  margin-bottom:18px;
}
.study-news-hot-thumb{
  height:120px;
  overflow:hidden;
  background:#f0f0f0;
}
.study-news-hot-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.study-news-hot-name{
  margin-top:8px;
  color:#222;
}
.study-news-hot-meta{
  color:#b4b4b4;
  margin-top:4px;
}

/* Consultation */
.study-consult-section{
  position:relative;
  background-color:#f6f8fb;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  overflow:hidden;
  padding:78px 0 94px;
}
.study-consult-section:before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(255,255,255,.72);
  pointer-events:none;
}
.study-consult-section .container{
  position:relative;
}
.study-consult-section .study-section-title{
  margin-bottom:48px;
  font-size:32px;
  font-weight:700;
  color:#000;
}
.study-consult{
  max-width:520px;
}
.study-consult-item{
  margin-bottom:40px;
}
.study-consult-item:last-child{
  margin-bottom:0;
}
.study-consult-label{
  font-size:24px;
  line-height:1.25;
  color:#222;
}
.study-consult-value{
  margin-top:16px;
  font-size:26px;
  line-height:1.2;
  color:#111;
}
@media (max-width:767px){
  .study-consult-section{
    padding:44px 0 56px;
    background-position:68% center;
  }
  .study-consult-section .study-section-title{
    font-size:34px;
    margin-bottom:26px;
  }
  .study-consult{
    max-width:100%;
  }
  .study-consult-item{
    margin-bottom:24px;
  }
  .study-consult-label{
    font-size:24px;
  }
  .study-consult-value{
    margin-top:8px;
    font-size:36px;
  }
}

/* Common UI */
.study-btn-outline{
  border-color:var(--study-red);
  color:var(--study-red);
  background:#fff;
}
.study-btn-outline:hover{ background:var(--study-red); color:#fff; }
.study-btn-pill{ border-radius:18px; padding:8px 18px; }
.study-btn-wide{ width:220px; }
.study-btn-submit{ padding-left:72px; padding-right:72px; }

.study-tag{ font-weight:700; }

.study-avatar{
  width:56px; height:56px;
  border-radius:50%;
  background:#e9e9e9;
  overflow:hidden;
  display:inline-block;
}
.study-avatar img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.study-avatar-lg{ width:84px; height:84px; }

/* Banner */
.study-banner{ padding:22px 0; }
.study-banner-blue{ background:var(--study-blue); color:#fff; }
.study-course-hero{
  position:relative;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  padding:44px 0;
}
.study-course-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(8,98,166,.62);
}
.study-course-hero .container{
  position:relative;
}
.study-banner-inner{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  border-radius:6px;
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.study-banner-user{ display:flex; align-items:center; gap:14px; }
.study-banner-name{ font-size:22px; font-weight:800; }
.study-banner-id{ opacity:.9; margin-top:4px; }
.study-banner-stats{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.study-stat-box{
  background:rgba(0,0,0,.12);
  border:1px solid rgba(255,255,255,.18);
  border-radius:6px;
  padding:12px 14px;
  min-width:150px;
}
.study-stat-box-label{ opacity:.9; font-size:12px; }
.study-stat-box-value{ font-size:20px; font-weight:800; margin-top:6px; }

/* Course list rows */
.study-course-row{
  display:flex;
  gap:14px;
  padding:14px;
  border:1px solid var(--study-border);
  background:#fff;
  border-radius:4px;
  margin-bottom:12px;
  align-items:center;
}
.study-course-thumb{ width:140px; height:84px; background:#eee; border-radius:4px; flex:0 0 auto; }
.study-course-thumb img{ width:100%; height:100%; object-fit:cover; display:block; border-radius:4px; }
.study-course-main{ flex:1 1 auto; }
.study-course-title{ font-size:18px; font-weight:800; }
.study-course-meta{ font-size:12px; margin-top:6px; }
.study-course-desc{ font-size:12px; margin-top:6px; }

.study-side{
  background:#fff;
  border:1px solid var(--study-border);
  border-radius:4px;
  padding:14px;
}
.study-side-title{ font-size:18px; font-weight:800; margin-bottom:12px; }
.study-hot-item{ display:flex; gap:10px; padding:10px 0; border-top:1px solid #f2f2f2; }
.study-hot-item:first-child{ border-top:0; padding-top:0; }
.study-hot-thumb{ width:80px; height:60px; background:#eee; border-radius:4px; }
.study-hot-name{ font-weight:700; }
.study-hot-meta{ font-size:12px; margin-top:6px; }

/* Course detail */
.study-course-detail-card{
  background:#f5f5f5;
  border:1px solid rgba(0,0,0,.08);
  border-radius:6px;
  padding:38px 44px;
  display:flex;
  gap:34px;
  align-items:center;
}
.study-course-detail-thumb{ width:310px; height:184px; background:#eee; border-radius:2px; flex:0 0 auto; }
.study-course-detail-thumb img{ width:100%; height:100%; object-fit:cover; display:block; border-radius:4px; }
.study-course-detail-main{ flex:1 1 auto; min-width:0; }
.study-course-detail-title{ font-size:28px; line-height:1.2; font-weight:700; color:#222; }
.study-course-detail-meta{ margin-top:22px; font-size:18px; color:#9a9a9a; }
.study-course-detail-desc{ margin-top:14px; font-size:16px; line-height:1.35; color:#666; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.study-course-progress{
  margin-top:36px;
  background:#e8e8e8;
  border:1px solid #dfdfdf;
  border-radius:4px;
  padding:10px 12px;
  min-height:60px;
  display:flex;
  align-items:center;
  gap:18px;
}
.study-course-progress-tag{
  display:inline-block;
  background:var(--study-red);
  color:#fff;
  padding:8px 14px;
  border-radius:2px;
  font-size:16px;
  line-height:1;
}
.study-course-progress-info{
  font-size:14px;
  color:#666;
}
.study-course-progress-btn{
  margin-left:auto;
  border:1px solid #efb5b5;
  background:#fff;
  color:#ef4e4e;
  font-size:16px;
  line-height:1;
  padding:10px 16px;
}
.study-course-progress-btn:hover,
.study-course-progress-btn:focus{
  color:#fff;
  background:#ef4e4e;
  border-color:#ef4e4e;
}

.study-outline{
  background:#fff;
  border:1px solid var(--study-border);
  border-radius:4px;
  overflow:hidden;
}
.study-outline-header{ padding:12px 14px; border-bottom:1px solid #f2f2f2; }
.study-outline-item{ display:flex; justify-content:space-between; gap:10px; padding:12px 14px; border-top:1px solid #f6f6f6; }
.study-outline-item:first-of-type{ border-top:0; }
.study-outline-left{ font-weight:700; }
.study-outline-left .text-muted{ font-weight:400; margin-left:10px; }

/* Video player placeholder */
.study-breadcrumb{ padding:10px 0 14px; font-weight:700; }
.study-player{
  background:#fff;
  border:1px solid var(--study-border);
  border-radius:4px;
  padding:18px;
}
.study-player-inner{
  background:#111;
  height:460px;
  border-radius:4px;
  position:relative;
  overflow:hidden;
}
.study-player-overlay{
  position:absolute; inset:0;
  background:rgba(255,255,255,.05);
  display:flex;
  align-items:center;
  justify-content:center;
}
.study-player-play{
  width:74px; height:74px;
  border-radius:50%;
  border:4px solid rgba(255,255,255,.85);
  position:relative;
}
.study-player-play:after{
  content:"";
  position:absolute;
  left:30px; top:18px;
  border-style:solid;
  border-width:18px 0 18px 26px;
  border-color:transparent transparent transparent rgba(255,255,255,.85);
}

/* Practice */
.study-page-title{ font-size:26px; font-weight:900; text-align:center; margin:0 0 18px; }
.study-paper{
  background:#fff;
  border:1px solid var(--study-border);
  border-radius:4px;
  padding:18px;
}
.study-q{ padding:14px 0; border-top:1px solid #f2f2f2; }
.study-q:first-child{ border-top:0; padding-top:0; }
.study-q-title{ font-weight:700; }
.study-q-options{ margin-top:10px; display:flex; gap:14px; flex-wrap:wrap; }
.study-radio{ font-weight:400; cursor:pointer; margin-right:14px; }
.study-paper-actions{ text-align:center; padding:18px 0 0; }
.study-submit-wrap{ text-align:center; padding:18px 0 0; }

/* Sign page */
.study-sign-banner{ background:var(--study-blue); padding:22px 0; }
.study-sign-card{
  background:#fff;
  border-radius:6px;
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.study-sign-head{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:2px 0 12px;
  border-bottom:1px solid #f2f2f2;
}
.study-sign-greet{ color:#333; font-size:13px; }
.study-sign-greet-name{ color:var(--study-red); margin-left:6px; }
.study-sign-head-right{ display:flex; align-items:center; gap:10px; }
.study-sign-lasttime{ font-size:12px; }
.study-sign-head-right .btn.disabled{
  pointer-events:none;
  opacity:.65;
}
.study-sign-body{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.study-sign-user{
  display:flex;
  gap:14px;
  align-items:center;
  padding-right:18px;
  border-right:1px solid #f2f2f2;
  min-width:260px;
}
.study-sign-user .study-avatar{ width:84px; height:84px; }
.study-sign-name{ font-size:30px; font-weight:900; line-height:1.1; }
.study-sign-id{ margin-top:6px; }
.study-sign-stats{
  display:flex;
  align-items:stretch;
  gap:18px;
  flex:1 1 auto;
  justify-content:flex-end;
  flex-wrap:nowrap;
}
.study-stat{
  background:#f7f8fa;
  border:1px solid #eef0f3;
  border-radius:6px;
  padding:14px 18px;
  min-width:170px;
  text-align:center;
  flex:0 0 auto;
}
.study-stat-label{ font-size:12px; color:#666; }
.study-stat-value{ font-size:24px; font-weight:900; color:var(--study-red); margin-top:8px; }

@media (max-width: 768px){
  .study-sign-body{ flex-direction:column; align-items:flex-start; }
  .study-sign-user{ border-right:0; padding-right:0; min-width:0; width:100%; }
  .study-sign-stats{ width:100%; justify-content:space-between; flex-wrap:wrap; }
  .study-stat{ flex:1 1 30%; min-width:0; }
}
.study-foot-filter{ text-align:right; margin-top:-38px; }
.study-foot-filter .study-foot-select{
  display:inline-block;
  width:auto;
  min-width:190px;
  padding-right:30px;
}

/* Sign effect */
.study-sign-effect{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.18);
  z-index:9999;
  animation:studyFadeOut .9s ease forwards;
}
.study-sign-effect-card{
  width:240px;
  padding:22px 18px;
  background:#fff;
  border-radius:12px;
  text-align:center;
  box-shadow:0 16px 42px rgba(0,0,0,.18);
  animation:studyPop .45s ease-out;
  position:relative;
  overflow:hidden;
}
.study-sign-effect-title{ font-size:18px; font-weight:900; color:var(--study-red); }
.study-sign-effect-sub{ margin-top:6px; color:#666; font-size:12px; }
.study-sign-effect-burst{
  position:absolute; left:50%; top:50%;
  width:6px; height:6px; border-radius:50%;
  background:var(--study-red);
  transform:translate(-50%,-50%);
  opacity:.0;
}
.study-sign-effect.is-show .study-sign-effect-burst{
  animation:studyBurst .6s ease-out;
}
@keyframes studyPop{
  0%{ transform:scale(.86); opacity:.0; }
  100%{ transform:scale(1); opacity:1; }
}
@keyframes studyBurst{
  0%{ opacity:0; transform:translate(-50%,-50%) scale(1); }
  30%{ opacity:1; }
  100%{ opacity:0; transform:translate(-50%,-50%) scale(36); }
}
@keyframes studyFadeOut{
  0%{ opacity:0; }
  20%{ opacity:1; }
  80%{ opacity:1; }
  100%{ opacity:0; }
}
.study-foot{ margin-top:16px; }
.study-foot-date{ text-align:center; color:#bbb; margin:8px 0 10px; }
.study-foot-list{
  background:#fff;
  border:1px solid var(--study-border);
  border-radius:4px;
}
.study-foot-item{ padding:14px; border-top:1px solid #f2f2f2; }
.study-foot-item:first-child{ border-top:0; }
.study-foot-text{ margin-left:10px; }

/* Certificate */
.study-chip{
  display:inline-block;
  padding:6px 12px;
  border:1px solid var(--study-border);
  border-radius:3px;
  margin-right:10px;
  color:#333;
  text-decoration:none;
}
.study-chip.active{ border-color:var(--study-red); color:var(--study-red); }
.study-cert-paper{
  border:1px solid var(--study-border);
  border-radius:4px;
  background:#fff;
  padding:16px;
  margin:14px 0;
}
.study-cert-img{
  height:420px;
  background:#efefef;
  border-radius:4px;
}

/* Center */
.study-sidemenu{
  background:#fff;
  border:1px solid var(--study-border);
  border-radius:4px;
  overflow:hidden;
}
.study-sidemenu-item{
  display:block;
  padding:16px 14px;
  border-top:1px solid #f2f2f2;
  color:#333;
  text-decoration:none;
  position:relative;
}
.study-sidemenu-item:after{
  content:">";
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  color:#bbb;
  font-size:14px;
}
.study-sidemenu-item:first-child{ border-top:0; }
.study-sidemenu-item.active{
  color:var(--study-red);
  background:#fff7f7;
}
.study-sidemenu-item.active:after{
  color:var(--study-red);
}
.study-sidemenu-item.active:before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:3px;
  background:var(--study-red);
}
.study-center-card{
  background:#fff;
  border:1px solid var(--study-border);
  border-radius:4px;
  padding:18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
}
.study-center-card{
  border-bottom-left-radius:0;
  border-bottom-right-radius:0;
}
.study-center-user{ display:flex; gap:14px; align-items:center; }
.study-center-name{ font-size:26px; font-weight:900; }
.study-center-action{
  /* 设计图：个人资料右侧“立即学习”区域需要外层边框 */
  border:1px solid var(--study-red);
  border-radius:4px;
  padding:6px 16px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.study-center-action .study-btn-outline{
  /* 避免按钮自己再画一层边框导致“双层边框” */
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
  box-shadow:none !important;
}
.study-center-action .study-btn-outline:hover{
  background:transparent !important;
  color:var(--study-red) !important;
}
.study-center-form{
  margin-top:0;
  background:#fff;
  border:0;
  border-radius:0;
  border-bottom-left-radius:4px;
  border-bottom-right-radius:4px;
  border: 1px solid var(--study-border);
  border-radius: 4px;
  margin-top: 10px;
}
.study-center-row{
  display:flex;
  align-items:center;
  gap:10px;
  padding:16px 14px;
}
.study-center-label{ color:#666; width:110px; }
.study-center-value{ flex:1 1 auto; text-align:right; color:#333; }
.study-center-arrow{ color:#bbb; margin-left:10px; }
.study-mycourse{
  background:#fff;
  border:1px solid var(--study-border);
  border-radius:4px;
  padding:16px 14px;
  margin-bottom:12px;
  position:relative;
  min-height:72px;
}
.study-mycourse-simple{
  /* 设计图：右侧每条“我的课程”是一行卡片，按钮与标题同一行水平布局 */
  background:#fff;
  border:1px solid #f0f0f0;
  border-radius:4px;
  min-height:auto;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.study-mycourse-left{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.study-mycourse-simple .study-mycourse-title{
  flex:1 1 auto;
  font-weight:900;
  font-size:16px;
  line-height:1.3;
  margin-right:8px;
}
.study-mycourse-simple .study-mycourse-sub{
  margin-top:0;
  font-size:13px;
  color:#b0b0b0;
  line-height:1.4;
}
.study-mycourse-simple .study-mycourse-action{
  position:static;
  right:auto;
  top:auto;
  transform:none;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.study-mycourse-simple .study-btn-outline{
  /* 设计图：按钮更紧凑 */
  border-radius:3px;
  padding:4px 12px;
  font-size:12px;
  border-width:1px;
}
.study-mycourse-title{ font-weight:900; }
.study-mycourse-sub{ margin-top:8px; }
.study-mycourse-action{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
}

/* Personal center - My courses (design overrides) */
.study-center-mycourse-banner{
  padding:0;
  border-radius:6px;
  overflow:hidden;
}
.study-center-mycourse-banner .study-banner-inner{
  /* 设计图：顶部蓝色条为整体圆角，内部不再套一层描边底板 */
  background:transparent;
  border:0;
}
.study-center-mycourse-banner .study-banner-user{
  position:relative;
  padding-right:28px;
}
.study-center-mycourse-banner .study-banner-user:after{
  content:"";
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  width:1px;
  height:56px;
  background:rgba(255,255,255,.35);
}
.study-center-mycourse-stats{
  gap:22px;
  flex-wrap:nowrap;
}
.study-center-mycourse-stats .study-stat-box{
  background:rgba(0,0,0,.12);
  border:1px solid rgba(255,255,255,.18);
  border-radius:6px;
  padding:14px 16px;
  min-width:190px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:78px;
}
.study-center-mycourse-stats .study-stat-box-label{
  color:rgba(255,255,255,.95);
  font-size:13px;
  opacity:1;
  line-height:1.1;
}
.study-center-mycourse-stats .study-stat-box-value{
  color:#fff !important;
  font-size:22px;
  font-weight:900;
  margin-top:8px;
}

/* Empty */
.study-empty{
  background:#fff;
  border:1px dashed #ddd;
  border-radius:6px;
  padding:40px 16px;
  text-align:center;
}
.study-empty-title{ font-size:18px; font-weight:800; margin-bottom:10px; }

/* Login modal */
#studyLoginModal .modal-dialog.study-login-dialog{
  width:540px;
  margin-top:80px;
}
#studyLoginModal .modal-content.study-login-content{
  border:0;
  border-radius:16px;
  box-shadow:0 18px 46px rgba(0,0,0,.28);
  overflow:hidden;
}
.study-login-head{
  position:relative;
  padding:26px 32px 10px;
}
.study-login-head .modal-title{
  text-align:center;
  font-size:40px;
  color:#222;
  font-weight:700;
}
.study-login-close{
  position:absolute;
  right:20px;
  top:16px;
  border:0;
  background:transparent;
  color:#888;
  font-size:40px;
  line-height:1;
  padding:0;
}
.study-login-body{
  padding:16px 40px 34px;
}
.study-login-form .form-group{
  margin-bottom:14px;
}
.study-login-form .form-control{
  height:44px;
  border:1px solid #e5e5e5;
  border-radius:4px;
  box-shadow:none;
  font-size:16px;
}
.study-login-code-row{
  display:flex;
  gap:10px;
}
.study-login-code-row .form-control{
  flex:1 1 auto;
}
.study-login-captcha{
  width:120px;
  height:44px;
  border:1px solid #e5e5e5;
  border-radius:4px;
  background:#fff;
  color:#f04444;
}
.study-login-captcha[disabled]{
  color:#aaa;
  background:#f7f7f7;
}
.study-login-submit{
  height:44px;
  border:0;
  border-radius:4px;
  background:#eb3a3a;
  color:#fff;
  font-size:18px;
}
.study-login-submit:hover,
.study-login-submit:focus{
  color:#fff;
  background:#db2d2d;
}

/* Responsive */
@media (max-width: 767px){
  .study-navbar .container{ padding-top:0; padding-bottom:0; }
  .study-nav > li > a{ padding:12px 12px; }
  .study-search .form-control{ width:100%; }
  .study-banner-inner, .study-course-detail-card, .study-course-row, .study-sign-card, .study-center-card, .study-about-panel{
    flex-direction:column;
    align-items:flex-start;
  }
  .study-course-hero{ padding:20px 0; }
  .study-course-detail-card{ padding:16px; gap:12px; }
  .study-course-detail-thumb{ width:100%; height:180px; }
  .study-course-detail-title{ font-size:28px; }
  .study-course-detail-meta{ margin-top:10px; font-size:14px; }
  .study-course-detail-desc{ margin-top:8px; font-size:14px; white-space:normal; }
  .study-course-progress{ margin-top:14px; min-height:0; gap:10px; flex-wrap:wrap; }
  .study-course-progress-tag{ font-size:12px; padding:5px 8px; }
  .study-course-progress-info{ font-size:13px; }
  .study-course-progress-btn{
    margin-left:0;
    width:100%;
    text-align:center;
    font-size:14px;
    padding:8px 10px;
  }
  .study-course-actions{ width:100%; }
  .study-course-actions .btn{ width:100%; }
  .study-player-inner{ height:220px; }
  .study-hero-slide{ height:240px; }
  .study-hero-caption{ height:240px; }
  .study-hero-title-main{ font-size:24px; }
  .study-hero-title-sub{ font-size:14px; }
  .study-about-section{ padding:26px 0; }
  .study-about-title{ font-size:30px; margin-bottom:16px; }
  .study-about-img{ width:100%; height:220px; margin-bottom:14px; }
  .study-about-text{ font-size:14px; line-height:1.75; margin-bottom:16px; }
  .study-xueyuan-hero2{ padding:30px 0 22px; }
  .study-xueyuan-hero2-title{ font-size:28px; }
  .study-xueyuan-content{ padding:16px 16px 18px; font-size:14px; }
  .study-xueyuan-paper-head{ padding:14px 16px; }
  .study-teachers{ padding:0 36px; }
  .study-teacher{ flex-basis:100%; }
  .study-teacher-name{ font-size:22px; }
  .study-teacher-job{ font-size:16px; }
  .study-teachers-arrow{
    width:30px;
    height:30px;
    line-height:26px;
    font-size:20px;
  }
  .study-news-home-col{ padding:0 0 16px; }
  .study-news-home-title{ font-size:24px; }
  .study-news-tabs{ gap:16px; }
  .study-news-tab{ font-size:22px; }
  .study-news-list li{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
  .study-news-side-title{ font-size:30px; }
  .study-news-detail{ min-height:auto; padding:16px; }
  .study-news-detail-title{ font-size:26px; }
  #studyLoginModal .modal-dialog.study-login-dialog{
    width:auto;
    margin:20px 12px;
  }
  .study-login-body{
    padding:12px 18px 20px;
  }
  .study-login-head .modal-title{
    font-size:30px;
  }
  .study-login-close{
    right:14px;
    top:10px;
    font-size:32px;
  }
}

