/*

TemplateMo 590 topic listing

https://templatemo.com/tm-590-topic-listing

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #13547a;
  --secondary-color: rgb(52, 205, 239);
  --section-bg-color:             #f0f8ff;
  --custom-btn-bg-color:          #80d0c7;
  --custom-btn-bg-hover-color:    #13547a;
  --dark-color:                   #000000;
  --p-color: #434344;
  --border-color:                 #7fffd4;
  --link-hover-color:             #13547a;

  --body-font-family:             'Open Sans', sans-serif;
  --title-font-family:            'Montserrat', sans-serif;

  --h1-font-size:                 58px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  20px;
  --menu-font-size:               14px;
  --btn-font-size:                18px;
  --copyright-font-size:          16px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-normal:           400;
  --font-weight-medium:           500;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}
/* 设置所有em标签为蓝色高亮 */
/*em {
  color: #0066ff; !* 亮蓝色 *!
  font-style: normal; !* 可选：移除斜体效果 *!
  background-color: #e6f0ff; !* 浅蓝色背景 *!
  padding: 0 2px; !* 增加内边距 *!
  border-radius: 3px; !* 圆角效果 *!
}*/
/* 全浏览器兼容方案 */
em {
  color: #0066ff;
  background-color: #e6f0ff;
  font-style: normal;
  padding: 0 2px;
  border-radius: 3px;
  /* Safari 优化 */
  -webkit-text-fill-color: #0066ff;
  -webkit-font-smoothing: antialiased;
}
body {
  background-color: var(--white-color);
  font-family: var(--body-font-family); 
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font-family); 
  font-weight: var(--font-weight-semibold);
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  color: var(--primary-color);
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 80px;
  padding-bottom: 100px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.section-overlay + .container {
  position: relative;
}

.tab-content {
 /* background-color: var(--white-color);*/
  border-radius: var(--border-radius-medium);
}

.nav-tabs {
  border-bottom: 1px solid #ecf3f2;
  margin-bottom: 40px;
  justify-content: center;
}

.nav-tabs .nav-link {
  border-radius: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  color: var(--p-color);
  font-family: var(--title-font-family);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-medium);
  padding: 15px 25px;
  transition: all 0.3s;
}

.nav-tabs .nav-link:first-child {
  margin-right: 20px;
  border-radius: 17px;
}

.nav-tabs .nav-item.show .nav-link, 
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus, 
.nav-tabs .nav-link:hover {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}


/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-semibold);
  line-height: normal;
  transition: all 0.3s;
  padding: 5px 30px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.custom-border-btn:hover {
  background: var(--custom-btn-bg-color);
  border-color: transparent;
  color: var(--white-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
  padding-top: 150px;
  padding-bottom: 80px;
}

.site-header .container {
  height: 100%;
}

.breadcrumb-item+.breadcrumb-item::before,
.breadcrumb-item a:hover,
.breadcrumb-item.active {
  color: var(--white-color);
}

.site-header .custom-icon {
  color: var(--white-color);
  font-size: var(--h4-font-size);
}

.site-header .custom-icon:hover {
  color: var(--secondary-color);
}


/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper.is-sticky .navbar {
  /*background-color: var(--secondary-color);*/
  background-image: linear-gradient(15deg, #00D2FFFF 0%, #d2cf26 100%);
}

.navbar {
  background: transparent;
  border-bottom: 1px solid rgba(128, 208, 199, 0.35);
  z-index: 9;
}

.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
  display: block;
}

.navbar-brand span {
  font-family: var(--title-font-family);
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-family: var(--title-font-family); 
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.navbar .dropdown-item {
  display: inline-block;
  color: var(--p-bg-color);
  font-family: var(--title-font-family); 
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.navbar .dropdown-item.active, 
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus, 
.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--primary-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}

.navbar-icon {
  background: var(--white-color);
  border-radius: var(--border-radius-large);
  display: inline-block;
  font-size: var(--h5-font-size);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.navbar-icon:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  HERO        
-----------------------------------------*/
.footercolor {
  background-color: white;
}
.bodycolor {
  /*background-image: linear-gradient(15deg, #ea783a 0%, #34cdef 100%);*/
  /* 橙红活力渐变 */
/*  background-image: linear-gradient(15deg, #ff7e5f 0%, #feb47b 100%);

  /* 霓虹紫粉渐变 */
  /*background-image: linear-gradient(15deg, #c471f5 0%, #fa71cd 100%);*/
  /* 森林绿渐变 */
  /*background-image: linear-gradient(15deg, #11998e 0%, #38ef7d 100%);*/

  /* 海水蓝绿渐变 */
  /*background-image: linear-gradient(15deg, #00b4db 0%, #0083b0 100%);*/
  /* 原配色调整（提高对比度） */
  background-image: linear-gradient(15deg, #53e543 0%, #d26327 50%, #34cdef 100%);

  /* 补充方案：添加中间色阶 */
  /*background-image: linear-gradient(15deg, #ea783a 0%, #ff9a44 50%, #34cdef 100%);*/

}
.hero-section {
  /*background-image: linear-gradient(15deg, #34cdef 0%, #059393 100%);*/
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 150px;
}
.hero-section2-list {
  /*background-image: linear-gradient(15deg, #34cdef 0%, #059393 100%);*/
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 14px;
}

.hero-section .input-group {
  background-color: var(--white-color);
  border-radius: var(--border-radius-large);
  padding: 10px 15px;
}
.hero-section2-list .input-group {
  background-color: var(--white-color);
  border-radius: var(--border-radius-large);
  padding: 10px 15px;
}

.hero-section .input-group-text {
  background-color: transparent;
  border: 0;
}
.hero-section2-list .input-group-text {
  background-color: transparent;
  border: 0;
}

.hero-section input[type="search"] {
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
  padding-left: 0;
}
.hero-section2-list input[type="search"] {
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
  padding-left: 0;
}

.hero-section button[type="submit"] {
  background-color: var(--primary-color);
  border: 0;
  border-radius: var(--border-radius-large) !important;
  color: var(--white-color);
  max-width: 150px;
}
.hero-section2-list button[type="submit"] {
  background-color: var(--primary-color);
  border: 0;
  border-radius: var(--border-radius-large) !important;
  color: var(--white-color);
  max-width: 150px;
}


/*---------------------------------------
  TOPICS              
-----------------------------------------*/
.featured-section {
  /*background-color: var(--secondary-color);*/
  /*border-radius: 0 0 100px 100px;*/
  padding-bottom: 100px;
}

.featured-section .row {
  position: relative;
  bottom: 100px;
  margin-bottom: -100px;
}

.custom-block {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
}
.custom-block2-list {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 0px 0px 10px 10px;
  transition: all 0.3s ease;
  height: 100%;
}

.custom-block:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}
.custom-block2-list:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.custom-block > a {
  width: 100%;
}
.custom-block2-list > a {
  width: 100%;
}

.custom-block-image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-top: 35px;
}
.custom-block-image2-list {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-top: 35px;
}

.custom-block .rounded-pill {
  border-radius: 5px !important;
  display: flex;
  justify-content: center;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 20px;
}
.custom-block2-list .rounded-pill {
  border-radius: 5px !important;
  display: flex;
  justify-content: center;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 20px;
}

.custom-block-overlay {
  height: 100%;
  min-height: 350px;
  padding: 0;
}
.custom-block-overlay2-list {
  height: 100%;
  min-height: 350px;
  padding: 0;
}

.custom-block-overlay > a {
  height: 100%;
}
.custom-block-overlay2-list > a {
  height: 100%;
}

.custom-block-overlay .custom-block-image {
  border-radius: var(--border-radius-medium);
  display: block;
  height: 100%;
  margin-top: 0;
}
.custom-block-overlay2-list .custom-block-image {
  border-radius: var(--border-radius-medium);
  display: block;
  height: 100%;
  margin-top: 0;
}

.custom-block-overlay-text {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  padding: 30px;
}
.custom-block-overlay-text2-list {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  padding: 30px;
}

.social-share {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 2;
  padding: 20px 35px;
}

.social-share .bi-bookmark {
  color: var(--white-color);
  font-size: var(--h5-font-size);
}

.social-share .bi-bookmark:hover {
  color: var(--secondary-color);
}

.bg-design {
  background-color: #00B0FF;
}

.bg-graphic {
  background-color: #00BFA6;
}

.bg-advertising {
  background-color: #F50057;
}

.bg-finance {
  background-color: #536DFE;
}

.bg-music {
  background-color: #F9A826;
}

.bg-education {
  background-color: #00BFA6;
}


/*---------------------------------------
  TOPICS               
-----------------------------------------*/
.topics-detail-block {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.topics-detail-block-image {
  display: block;
  border-radius: var(--border-radius-medium);
}

blockquote {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  font-family: var(--title-font-family);
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
  display: inline-block;
  text-align: center;
  margin: 30px;
  padding: 40px;
}

.topics-listing-page .site-header {
  padding-bottom: 65px;
}

.custom-block-topics-listing-info {
  margin: 30px 20px 20px 30px;
}
.custom-block-topics-listing-info2-list {
  margin: 30px 20px 20px 30px;
}

.custom-block-topics-listing {
  height: inherit;
}
.custom-block-topics-listing2-list {
  height: inherit;
}

.custom-block-topics-listing .custom-block-image {
  width: 200px;
}
.custom-block-topics-listing2-list .custom-block-image {
  width: 200px;
}


/*---------------------------------------
  PAGINATION              
-----------------------------------------*/
.pagination {
  margin-top: 40px;
}

.page-link {
  border: 0;
  border-radius: var(--border-radius-small);
  color: var(--p-color);
  font-family: var(--title-font-family);
  margin: 0 5px;
  padding: 10px 20px;
}

.page-link:hover,
.page-item:first-child .page-link:hover,
.page-item:last-child .page-link:hover {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.page-item:first-child .page-link {
  margin-right: 10px;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-small);
}

.active>.page-link, .page-link.active {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}


/*---------------------------------------
  TIMELINE              
-----------------------------------------*/
.timeline-section {
  background-image: url('../images/colleagues-working-cozy-office-medium-shot.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.timeline-container .vertical-scrollable-timeline {
  list-style-type: none;
  position: relative;
  padding-left: 0;
}

.timeline-container .vertical-scrollable-timeline .list-progress {
  width: 8px;
  height: 87%;
  background-color: var(--primary-color);
  position: absolute;
  left: 52px;
  top: 0;
  overflow: hidden;
}

.timeline-container .vertical-scrollable-timeline .list-progress .inner {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  background-color: var(--secondary-color);
  width: 100%;
}

.timeline-container .vertical-scrollable-timeline li {
  position: relative;
  padding: 20px 0px 65px 145px;
}

.timeline-container .vertical-scrollable-timeline li:last-child {
  padding-bottom: 0;
}

.timeline-container .vertical-scrollable-timeline li p {
  line-height: 40px;
}

.timeline-container .vertical-scrollable-timeline li p:last-child {
  margin-bottom: 0;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder {
  position: absolute;
  left: 0;
  top: 0;
  width: 104px;
  height: 104px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-color);
  border-radius: 50%;
  z-index: 1;
  transition: 0.4s all;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder::before {
  content: "";
  width: 80px;
  height: 80px;
  border: 4px solid #fff;
  position: absolute;
  background-color: var(--secondary-color);
  border-radius: 50%;
  z-index: -1;
  transition: 0.4s all;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder i {
  font-size: 25px;
  color: var(--white-color);
}

.timeline-container .vertical-scrollable-timeline li::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 8px;
  background-color: transparent;
  left: 52px;
  z-index: 0;
}

.timeline-container .vertical-scrollable-timeline li.active .icon-holder {
  background-color: var(--primary-color);
}

.timeline-container .vertical-scrollable-timeline li.active .icon-holder::before {
  background-color: var(--primary-color);
}


/*---------------------------------------
  FAQs              
-----------------------------------------*/
.faq-section .accordion-item {
  border: 0;
}

.faq-section .accordion-button {
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-semibold);
}

.faq-section .accordion-item:first-of-type .accordion-button {
  border-radius: var(--border-radius-large);
}

.faq-section .accordion-button:not(.collapsed) {
  border-radius: var(--border-radius-large);
  box-shadow: none;
  color: var(--primary-color);
}

.faq-section .accordion-body {
  color: var(--p-color);
  font-size: var(--btn-font-size);
  line-height: 40px;
}

/*---------------------------------------
  NEWSLETTER               
-----------------------------------------*/
.newsletter-image {
  border-radius: var(--border-radius-medium);
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.google-map {
  border-radius: var(--border-radius-medium);
}

.contact-form .form-floating>textarea {
  border-radius: var(--border-radius-medium);
  height: 150px;
}


/*---------------------------------------
  SUBSCRIBE FORM               
-----------------------------------------*/
.subscribe-form-wrap {
  padding: 50px;
}

.subscribe-form {
  width: 95%;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  border-radius: var(--border-radius-large);
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-left: 20px;
  outline: none;
}

.form-floating>label {
  padding-left: 20px;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-family: var(--title-font-family);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  border-bottom: 10px solid var(--secondary-color);
  position: relative;
}

.site-footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 200px 200px;
  border-color: transparent transparent var(--secondary-color) transparent;
  pointer-events: none;
}

.site-footer-title {
  color: var(--primary-color); 
}

.site-footer .dropdown-menu {
  padding: 0;
}

.site-footer .dropdown-item {
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  padding: 4px 18px;
}

.site-footer .dropdown-item:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.site-footer .dropdown-menu li:first-child .dropdown-item {
  padding-top: 10px;
}

.site-footer .dropdown-menu li:last-child .dropdown-item {
  padding-bottom: 12px;
}

.site-footer .dropdown-toggle {
  background-color: var(--secondary-color);
  border-color: var(--white-color);
}

.site-footer .dropdown-toggle:hover {
  background-color: var(--primary-color);
  border-color: transparent;
}

.site-footer-links {
  padding-left: 0;
}

.site-footer-link-item {
  display: block;
  list-style: none;
  line-height: normal;
}

.site-footer-link {
  color: var(--secondary-color);
  font-size: var(--copyright-font-size);
  font-weight: var(--font-weight-medium);
  line-height: normal;
}

.copyright-text {
  font-size: var(--copyright-font-size);
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  display: block;
  margin-right: 10px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 36px;
  transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .section-padding2-list {
    /*padding-top: 50px;*/
    padding-bottom: 50px;
  }
  
  .navbar {
    /*background-color: var(--secondary-color);*/
    background-image: linear-gradient(15deg, #00D2FFFF 0%, #d2cf26 100%);
  }

  .navbar-nav .dropdown-menu {
    position: relative;
    left: 10px;
    opacity: 1;
    pointer-events: auto;
    max-width: 155px;
    margin-top: 10px;
    margin-bottom: 15px;
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
  }

  .nav-tabs .nav-link:first-child {
    margin-right: 5px;
  }

  .nav-tabs .nav-link {
    font-size: var(--copyright-font-size);
    padding: 10px;
  }

  .featured-section {
    border-radius: 0px 0px 0px 0px;
    padding-bottom: 50px;
  }

  .custom-block-topics-listing .custom-block-image {
    width: auto;
  }
  .custom-block-topics-listing2-list .custom-block-image {
    width: auto;
  }

  .custom-block-topics-listing > .d-flex,
  .custom-block-topics-listing-info,
  .custom-block-topics-listing a {
    flex-direction: column;
  }
  .custom-block-topics-listing2-list > .d-flex,
  .custom-block-topics-listing-info2-list,
  .custom-block-topics-listing2-list a {
    flex-direction: column;
  }

  .timeline-container .vertical-scrollable-timeline .list-progress {
    height: 75%;
  }

  .timeline-container .vertical-scrollable-timeline li {
    padding-left: 135px;
  }

  .subscribe-form-wrap {
    padding-top: 30px;
    padding-bottom: 0;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }
}

/**
以下是自己添加的两个页面共用
 */
.body-container {
  transition: background 0.5s ease;
  min-height: 100vh;
}
/* 预定义所有渐变方案 */
.gradient-2 { background-image: linear-gradient(15deg, #3a7bd5 0%, #1295b0 100%); }
.gradient-1 { background-image: linear-gradient(15deg, #2AC5E6FF 0%, #0f8fa9 100%); }
.gradient-3 { background-image: linear-gradient(15deg, #136e7a 0%, #136e7a 0%); }
.gradient-4 { background-image: linear-gradient(15deg, rgb(229, 172, 67) 100% , #bd710d 0% ); }
.gradient-5 { background-image: linear-gradient(15deg, #136e7a 0%, #136e7a 100%); }
.gradient-6 { background-image: linear-gradient(15deg, #11998e 0%, #098f3c 100%); }
.gradient-7 { background-image: linear-gradient(15deg, #bdc3c7 0%, #136e7a 100%); }
.gradient-8 { background-image: linear-gradient(15deg, #e86b35 0%, #2ac5e6 100%); }

.b-example-divider {
  height: 0.25rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}
.text-xs {
  font-size: 0.75rem !important; /* 12px */
}
.text-small {
  font-size: 1rem !important; /* 12px */
}
.alert-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgb(239, 9, 9) 0%, #f60606 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(47, 199, 229, 0.3), 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1050;
  display: none; /* 初始隐藏 */
  opacity: 0; /* 初始透明 */
  border-radius: 26px;
  font-size: clamp(14px, 2vw, 18px);
  padding: clamp(8px, 1.5vw, 12px) clamp(12px, 2.5vw, 32px);
  backdrop-filter: blur(4px);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.2);
  min-width: 200px;
  max-width: 90vw;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.3s ease; /* 只保留透明度过渡 */
}

/* 移动端适配 */
@media (max-width: 200px) {
  .alert-toast {
    width: 90%;
    padding: 12px 20px;
    font-size: 15px;
    white-space: normal;
    backdrop-filter: none;
  }
}
.navbar-icon.bi-palette {
  background-color: transparent !important;
}
/* 自定义开关样式 */
/* 大号开关样式 (保持原有) */
.form-switch .form-check-input {
  width: 3.8rem;
  height: 1.8rem;
  /*margin-left: 0.75rem;*/
  background-color: rgba(255,255,255,0.25);
  border: 2px solid #a8e6ff;
  box-shadow: 0 0 8px rgba(168, 230, 255, 0.4);
}

/* 提示文字样式修正 */
.form-switch span.small {
  font-size: 0.75rem !important;
  min-width: 120px;
  opacity: 0.8;
  transform: translateX(45%);
  pointer-events: none; /* 防止干扰开关操作 */
  transition: opacity 0.3s ease;
  margin-left: 0rem;
}

/* 移动端适配优化 */
@media (max-width: 576px) {
  .form-switch .form-check-input {
    width: 3.8rem;
    height: 1.8rem;
    margin-left: -6.25rem;
    background-color: rgba(255,255,255,0.25);
    border: 2px solid #a8e6ff;
    box-shadow: 0 0 8px rgba(168, 230, 255, 0.4);
  }
  .d-inline-flex {
    flex-direction: column;
    align-items: center;
  }
  .form-switch span.small {
    position: static;
    transform: none;
    /*display: block;*/
    margin-left: 0.3rem;
  }
}

/* 精准模式激活时的特殊样式 */
.bg-precise {
  background: linear-gradient(135deg, #3a7bd5 0%, #00d2ff 100%);
}

/* 开关标签动画 */
label[for="preciseSearch"] {
  transition: all 0.3s ease;
}

/* 精准模式下的图标颜色 */
.bi-magic {
  color: #ffcc00;
  text-shadow: 0 0 8px rgba(255, 204, 0, 0.6);
}

/* 自定义开关样式结束 */
/*以下是搜索时蒙版的css*/
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  border: 4px solid rgba(0, 0, 0, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: relative;
  animation: spin 2s linear infinite;
}

.loader::before,
.loader::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 4px solid transparent;
  box-shadow: inset 0 0 0 4px #3498db;
  animation: animate 2s ease-in-out infinite;
}

.loader::before {
  animation-delay: -1s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes animate {
  0% {
    box-shadow: inset 0 0 0 4px #3498db;
  }
  50% {
    box-shadow: inset 0 0 0 20px rgba(52, 152, 219, 0.2);
  }
  100% {
    box-shadow: inset 0 0 0 4px #3498db;
  }
}
/*以上是搜索时蒙版的css*/
/* 自定义二维码样式 */
/* 半透明弹窗主样式 */
#qrCodeModal.modal {
  --bs-backdrop-opacity: 0.6; /* 控制背景遮罩透明度 */
}

/* 弹窗背景层 - 半透明+模糊 */
#qrCodeModal .modal-backdrop {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* 弹窗内容容器 - 半透明玻璃效果 */
#qrCodeModal .modal-content {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* 内容区域 - 保持内容不透明 */
#qrCodeModal .modal-body {
  background-color: transparent;
  padding: 2rem;
  text-align: center;
}

/* 标题样式 */
#qrCodeModal .modal-body h5 {
  color: #333;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* 二维码图片 - 完全不透明 */
#qrCodeModal .modal-body img {
  background-color: white;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 200px;
  width: 100%;
  opacity: 1 !important;
  margin: 0 auto 1.5rem;
  display: block;
  border: 1px solid #eee;
}

/* 描述文字 */
#qrCodeModal .modal-body p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* 底部按钮区域 */
#qrCodeModal .modal-footer {
  background: linear-gradient(to bottom,
  rgba(255,255,255,0.7) 0%,
  rgba(255,255,255,0.9) 100%);
  border-top: 1px solid rgba(0,0,0,0.05);
  justify-content: center;
  padding: 1rem;
}

/* 关闭按钮 */
#qrCodeModal .modal-footer .btn {
  min-width: 100px;
  background-color: rgba(0,0,0,0.08);
  border: none;
  color: #333;
  transition: all 0.3s;
}

#qrCodeModal .modal-footer .btn:hover {
  background-color: rgba(0,0,0,0.15);
}

/* 手机端适配 */
@media (max-width: 576px) {
  #qrCodeModal .modal-dialog {
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }

  #qrCodeModal .modal-content {
    background-color: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
  }

  #qrCodeModal .modal-body {
    padding: 1.5rem;
  }

  #qrCodeModal .modal-body img {
    max-width: 180px;
    padding: 10px;
  }
}

/* 问号图标样式 */
#helpIcon {
  transition: all 0.3s;
  font-size: 1.1rem;
  vertical-align: middle;
  margin-left: 10px
}
@media (max-width: 576px) {
  #helpIcon {
    transition: all 0.3s;
    font-size: 1.1rem;
    vertical-align: middle;
    margin-left: -50px
  }
}

#helpIcon:hover {
  color: var(--bs-primary) !important;
  transform: scale(1.1);
}

/* 动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

#qrCodeModal .modal-content {
  animation: fadeIn 0.3s ease-out;
}

/* 自定义二维码样式结束 */
/*以下是中药提示和通告弹窗的样式*/
/* 确保弹窗在loading层上方 */
#resourceTipModal {
  z-index: 99999;
}
/* loading蒙层样式微调 */
#loadingOverlay {
  z-index: 9999;
}
/* 弹窗内容样式优化 */
#resourceTipModal .modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
#resourceTipModal .alert-warning {
  background-color: #fff8e6;
  border-left: 4px solid #ffc107;
}
/* 弹窗整体缩小样式 */
#resourceTipModal .modal-dialog {
  max-width: 420px;
}
#resourceTipModal .modal-content {
  border-radius: 10px;
}
#resourceTipModal .modal-body {
  padding: 1rem;
}
/* 图标和标题缩小 */
#resourceTipModal .bi-exclamation-circle-fill {
  font-size: 1.8rem !important;
}
#resourceTipModal h5 {
  font-size: 1.1rem !important;
}
/* 内容区域缩小 */
#resourceTipModal .alert {
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
}
/* 按钮缩小 */
#resourceTipModal .btn {
  font-size: 0.9rem;
  padding: 0.25rem 0.75rem;
}
/*以上是中药提示弹窗的样式*/
/* 暗黑模式适配 */
@media (prefers-color-scheme: dark) {
  body {
    background: #1a1a1a;
    color: #e0e0e0;
  }

  /* 卡片样式适配 */
  .drama-card {
    background-color: #2d2d2d !important;
    box-shadow: 0 3px 8px rgba(255,255,255,0.1) !important;
  }

  .drama-title {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  }

  .drama-desc {
    color: #b0b0b0 !important;
  }

  /* 搜索框适配 */
  .search-input {
    background: #333;
    border-color: #444;
    color: #fff;
  }

  #searchBtn {
    color: #aaa !important;
  }

  /* 分页适配 */
  .pagination a {
    background: #333 !important;
    border-color: #444 !important;
    color: #e0e0e0 !important;
  }

  /* 弹窗适配 */
  .custom-modal {
    background: rgba(40,40,40,0.95) !important;
    color: #e0e0e0 !important;
  }

  /* 导航栏适配 */
  .nav-item span.nav-link {
    background: rgba(50,50,50,0.9) !important;
    color: #e0e0e0 !important;
  }
}