/*
 Theme Name:   Eduma Child
 Theme URI:    http://educationwp.thimpress.com/
 Description:  Eduma Child Theme
 Author:       ThimPress
 Author URI:   http://thimpress.com
 Template:     eduma
 Version:      1.0.0
 Text Domain:  eduma-child
*/


/* 播放器容器响应式 */
.player-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    background: #000;
}

/* 16:9比例 */
.player-container::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

#tcplayer-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 全屏按钮修复 */
.tcp-plugin-fullscreen {
    display: block !important;
}



/* 登录/注册弹窗标题顶部显示修复 */
#thim-popup-login .thim-login,
#thim-popup-login .thim-register {
    padding-top: 30px !important;
}

#thim-popup-login .thim-login > h4.title,
#thim-popup-login .thim-register > h4.title {
    margin: 0 0 30px !important;
    line-height: 1.35 !important;
    overflow: visible !important;
}





/* =========================================================
   AIMinEdu - LearnPress Previous / Next compact footer
   ========================================================= */

.course-item-nav,
#popup-content .course-item-nav,
#popup-content .lp-course-buttons,
#popup-content .course-nav,
#popup-content .item-navigation {
  min-height: 72px !important;
  padding: 8px 24px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(8px) !important;
  z-index: 50 !important;
}

/* Previous / Next 字体缩小 */
.course-item-nav *,
#popup-content .course-item-nav *,
#popup-content .lp-course-buttons *,
#popup-content .course-nav *,
#popup-content .item-navigation * {
  font-size: 15px !important;
  line-height: 1.35 !important;
}

/* 标题最多显示两行，避免撑高 */
.course-item-nav a,
#popup-content .course-item-nav a,
#popup-content .course-nav a,
#popup-content .item-navigation a {
  max-height: 44px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

/* 圆形箭头缩小 */
.course-item-nav .nav-link,
.course-item-nav button,
.course-item-nav .prev,
.course-item-nav .next,
#popup-content .course-item-nav button {
  transform: scale(0.85) !important;
}

/* 给正文底部留空间，避免被导航挡住 */
#popup-content {
  padding-bottom: 96px !important;
}