
/* 嵌套折叠菜单样式 */
.blog-content {
  padding: 20px 0;
}

/* 访问生项目专用样式 */
.blog-accordion-content-section {
  max-width: 100%;
}

/* 项目亮点卡片样式 - 原网站的.content-cards样式 */
.content-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.content-cards--2plus .content-card {
  /* 基础样式会被响应式媒体查询覆盖 */
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
  min-width: 0;
}

.content-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 上下结构 - 上面是左右结构 */
.content-card__top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  padding: 20px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.content-card__image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
}

.content-card__title {
  font-size: 20px;
  color: #d4285b;
  margin: 0;
  font-weight: 600;
  flex: 1;
}

.content-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content-card__title {
  font-size: 20px;
  color: #0e8483;
  margin: 0 0 10px 0;
  font-weight: 200;
}

.content-card__text {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.content-card__stat {
  font-size: 32px;
  font-weight: 700;
  color: #d4285b;
  margin: 0;
}

.content-card__stat-label {
  font-size: 14px;
  color: #777;
  margin: 0 0 15px 0;
}

.content-card__button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #022169;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.content-card__button:hover {
  background-color: #d4285b;
  color: white;
}

.content-cards--no-button .content-card__button {
  display: none;
}

.content-cards--without-intro {
  margin-top: 20px;
}

/* 大屏 - 三个卡片并排展示 */
@media (min-width: 992px) {
  .content-cards--2plus .content-card {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
  }
}

/* 中屏 - 两个卡片并排展示 */
@media (min-width: 768px) and (max-width: 991px) {
  .content-cards--2plus .content-card {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

/* 小屏 - 单个卡片占满一行 */
@media (max-width: 767px) {
  .content-cards {
    flex-direction: column;
    gap: 20px;
  }
  
  .content-cards--2plus .content-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .content-card__stat {
    font-size: 28px;
  }
  
  .content-card__image {
    height: 160px;
  }
  
  .content-card__title {
    font-size: 18px;
  }
  
  .content-card__body {
    padding: 15px;
  }
}

/* 顶部图片样式 */
.alp-top-image {
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alp-hero-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.alp-hero-image:hover {
  transform: scale(1.02);
}

/* 项目头部样式 */
.alp-program-header {
  margin-bottom: 30px;
}

.alp-program-title {
  font-size: 32px;
  color: #022169;
  margin: 0 0 10px 0;
  font-weight: 700;
  text-align: left;
}

.alp-program-subtitle {
  font-size: 18px;
  color: #555;
  font-weight: 500;
}

/* 项目介绍横幅样式 */
.alp-hero-banner {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  text-align: center;
}

.alp-hero-text {
  font-size: 20px;
  color: #333;
  margin: 0;
  font-weight: 500;
  line-height: 1.6;
  padding-bottom: 20px;
}

/* 项目选项样式 */
.alp-program-options {
  margin-bottom: 50px;
}

.alp-section-title {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 700;
  padding: 0 15px;
}

.alp-section-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
  font-weight: 400;
}

.alp-program-description p {
  padding-bottom: 20px;
}

a svg.ext path, a svg.mailto path {
  stroke: #d4285b !important;
  stroke-width: 1;
}

/* 课程卡片网格 */
.alp-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

/* 课程卡片 */
.alp-course-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alp-course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.alp-course-title {
  font-size: 20px;
  color: #d4285b;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.alp-course-description {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.alp-learn-more-btn {
  display: inline-block;
  background-color: #d4285b;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.alp-learn-more-btn:hover {
  background-color: #022169;
  color: #fff;
}

/* 联系我们 */
.alp-contact-section {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.alp-contact-description {
  font-size: 16px;
  color: #444;
  margin-bottom: 25px;
  line-height: 1.6;
}

.alp-contact-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.alp-contact-btn {
  display: inline-block;
  background-color: #d4285b;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.alp-contact-btn:hover {
  background-color: #022169;
  color: #fff;
}

.alp-contact-info {
  gap: 30px;
  flex-wrap: wrap;
  line-height: 1.6;
}

.alp-contact-group {
  flex: 1;
  min-width: 250px;
}

.alp-contact-group-title {
  font-size: 18px;
  color: #022169;
  margin-bottom: 10px;
  font-weight: 600;
}

.alp-contact-phone,
.alp-contact-email {
  font-size: 15px;
  color: #333;
  margin-bottom: 8px;
}

/* 国际学生注意事项 */
.alp-international-notice {
  background-color: #fff2f0;
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
}

.alp-international-text {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 15px;
}

.alp-international-link {
  font-size: 15px;
}

.alp-international-link a {
  color: #d4285b;
  text-decoration: none;
  border-bottom: 1px solid #d4285b;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.alp-international-link a:hover {
  color: #022169;
  border-color: #022169;
}

/* 响应式设计调整 */
@media (max-width: 768px) {
  .program-highlights {
    flex-direction: column;
  }
  
  .highlight-item {
    min-width: 100%;
  }
  
  .alp-contact-info {
    flex-direction: column;
    gap: 20px;
  }
  
  .alp-contact-group {
    min-width: 100%;
  }
  
  .alp-contact-buttons {
    flex-direction: column;
  }
  
  .alp-contact-btn {
    width: 100%;
    text-align: center;
  }
  
  .alp-program-title {
    font-size: 28px;
  }
  
  .alp-hero-banner {
    padding: 20px;
  }
  
  .alp-hero-text {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .alp-program-title {
    font-size: 24px;
  }
  
  .alp-program-subtitle {
    font-size: 16px;
  }
  
  .alp-section-title {
    font-size: 24px;
  }
  
  .program-details {
    padding: 15px;
  }
  
  .alp-international-notice {
    padding: 15px;
  }
}

/* Full-Time English Programs 样式 */
.program-header {
  margin-bottom: 30px;
  border-bottom: 2px solid #022169;
  padding-bottom: 15px;
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

.program-term, .program-levels, .program-schedule {
  background-color: #fff2f0;
  color: #d4285b;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.program-intro {
  margin-bottom: 30px;
}

.program-intro p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.program-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 30px;
}

.highlight-item {
  flex: 1;
  min-width: 250px;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  transition: transform 0.2s ease;
}

.highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.highlight-icon {
  font-size: 28px;
  margin-right: 15px;
}

.highlight-content h3 {
  font-size: 18px;
  margin: 0 0 10px 0;
  color: #022169;
}

.highlight-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.program-details {
  background-color: #f0f4f8;
  padding: 20px;
  border-radius: 8px;
}

.program-details h2 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 15px;
  color: #d4285b;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-list li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #ddd;
}

.detail-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.detail-list strong {
  color: #d4285b;
}

/* 课程卡片布局样式 */
.curriculum-intro {
  margin-bottom: 30px;
}

.curriculum-section {
  margin-bottom: 40px;
}

.curriculum-section h2 {
  font-size: 24px;
  color: #d4285b;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d4285b;
}

.course-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 -10px;
}

.course-card {
  flex: 1 0 calc(33.333% - 20px);
  min-width: 280px;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0 10px;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.course-icon {
  font-size: 32px;
  margin-bottom: 15px;
  align-self: flex-start;
}

.course-card h3 {
  font-size: 18px;
  margin: 0 0 10px 0;
  color: #d4285b;
}

.course-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
}

/* 日程和学期卡片布局样式 */
.schedule-intro {
  margin-bottom: 30px;
}

.schedule-section, .terms-section {
  margin-bottom: 40px;
}

.schedule-section h2, .terms-section h2 {
  font-size: 24px;
  color: #d4285b;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d4285b;
}

.schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.time-block {
  display: flex;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.time-block:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.time {
  font-weight: bold;
  color: #d4285b;
  min-width: 150px;
  padding-right: 15px;
  border-right: 2px solid #e0e0e0;
  margin-right: 15px;
}

.activity {
  flex: 1;
}

.term-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 -10px;
}

.term-card {
  flex: 1 0 calc(50% - 20px);
  min-width: 250px;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0 10px;
}

.term-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.term-card.special {
  background-color: #ffebee;
  border-left: 4px solid #d4285b;
}

.term-name {
  font-size: 18px;
  font-weight: bold;
  color: #d4285b;
  margin-bottom: 10px;
}

.term-date {
  font-size: 16px;
  color: #555;
}

/* 新增样式支持Special Admission Courses页面 */
.eligibility-section, .benefits-grid, .testimonial-section, .faq-section {
  margin-bottom: 30px;
}

.eligibility-section h2, .benefits-grid h2, .testimonial-section h2, .faq-section h2 {
  font-size: 22px;
  color: #d4285b;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 -10px;
}

.benefit-card {
  flex: 1 0 calc(50% - 20px);
  min-width: 250px;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0 10px;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.benefit-icon {
  font-size: 32px;
  margin-bottom: 15px;
}

.benefit-card h3 {
  font-size: 18px;
  margin: 0 0 10px 0;
  color: #d4285b;
}

.benefit-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
}

.testimonial {
  background-color: #fff2f0;
  border-left: 4px solid #d4285b;
  padding: 20px;
  margin-bottom: 70px;
  border-radius: 0 8px 8px 0;
}

.testimonial p {
  margin: 0 0 10px 0;
  font-size: 22px;
}

.testimonial-author {
  text-align: right;
  font-weight: 500;
  color: #d4285b;
}

.faq-item {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #ddd;
}

.faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.faq-item h3 {
  font-size: 18px;
  color: #d4285b;
  margin: 0 0 10px 0;
}

.faq-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* 手风琴容器样式 */
.blog-accordion-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
}

/* 左侧菜单样式 */
.blog-accordion-menu {
  width: 240px;
  flex-shrink: 0;
  background-color: #f8f9fa;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.blog-accordion-menu-header {
  background-color: #022169;
  color: white;
  padding: 15px 20px;
  border-radius: 5px 5px 0 0;
  font-size: 18px;
  font-weight: bold;
}

.blog-accordion-menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-accordion-menu-item {
  border-bottom: 1px solid #dee2e6;
}

.blog-accordion-menu-item:last-child {
  border-bottom: none;
}

/* 菜单项链接样式 */
.blog-accordion-menu-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  transition: all 0.2s ease;
  cursor: pointer;
  margin-bottom: 8px;
  border-radius: 5px;
}
.blog-accordion-menu-link::before,
.blog-accordion-menu-link::after {
  display: none;
}

.blog-accordion-menu-link:hover {
  color: #d32f2f;
}

.blog-accordion-menu-link.active {
  background-color: #ffebee;
  color: #d4285b;
  font-weight: bold;
}

/* 折叠符号样式 */
.blog-accordion-menu-icon {
  font-size: 18px;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #d4285b;
  font-weight: bold;
}

/* 子菜单样式 - 不使用max-height和overflow，让JavaScript的slideToggle()方法控制显示/隐藏 */
.blog-accordion-submenu {
  background-color: #f1f1f1;
}

.blog-accordion-submenu-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-accordion-submenu-item {
  border-bottom: 1px solid #e0e0e0;
}

.blog-accordion-submenu-item:last-child {
  border-bottom: none;
}

/* 子菜单项链接样式 */
.blog-accordion-submenu-link {
  display: block;
  padding: 12px 20px 12px 40px;
  color: #555;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.6;
  transition: all 0.2s ease;
  margin-bottom: 5px;
  border-radius: 5px;
}

.blog-accordion-submenu-link:hover {
  color: #d32f2f;
}

.blog-accordion-submenu-link.active {
  background-color: #ffebee;
  color: #d4285b;
  font-weight: bold;
}

/* 右侧内容区域样式 */
.blog-accordion-content {
  flex: 1;
  overflow: hidden;
}

.blog-accordion-content-section {
  display: block; /* 默认显示内容区域 */
  animation: fadeIn 0.3s ease;
  padding: 20px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.blog-accordion-content-title {
  font-size: 28px;
  color: #d4285b;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d4285b;
}

.blog-accordion-content-subtitle {
  font-size: 20px;
  color: #333;
  margin: 25px 0 15px;
}

.blog-accordion-content-text {
  line-height: 1.8;
  margin-bottom: 20px;
}

.blog-accordion-content-list {
  margin-bottom: 20px;
  padding-left: 20px;
}

.blog-accordion-content-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* 响应式设计 - 中等屏幕 */
@media (max-width: 992px) {
  .blog-accordion-menu {
    width: 250px;
  }
  
  .blog-accordion-menu-link {
    padding: 12px 15px;
    font-size: 15px;
  }
  
  .blog-accordion-submenu-link {
    padding: 10px 15px 10px 30px;
    font-size: 14px;
  }
}

/* 响应式设计 - 移动设备 */
@media (max-width: 768px) {
  .blog-accordion-container {
    flex-direction: column;
  }

  .blog-accordion-menu {
    width: 100%;
    border-radius: 0;
    margin-bottom: 15px;
  }
  
  .blog-accordion-menu-header {
    padding: 12px 15px;
    background-color: #d4285b;
    color: white;
    margin: 0;
    border-radius: 5px 5px 0 0;
  }
  
  .blog-accordion-menu-header h3 {
    margin: 0;
    font-size: 18px;
  }
  
  .blog-accordion-menu-item {
    border-bottom: 1px solid #e0e0e0;
  }
  
  .blog-accordion-menu-link {
    padding: 15px;
    font-size: 16px;
    position: relative;
  }
  
  .blog-accordion-menu-link:after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-top: 2px solid #d4285b;
    border-right: 2px solid #d4285b;
  }
  
  .blog-accordion-menu-icon {
    display: none;
  }
  
  .blog-accordion-submenu {
    background-color: #f8f9fa;
    border-radius: 0 0 5px 5px;
  }
  
  .blog-accordion-submenu-link {
    padding: 12px 15px 12px 30px;
    font-size: 15px;
  }
  
  .blog-accordion-content {
    padding: 15px;
  }
  
  .blog-accordion-content-section {
    padding: 15px;
    border-radius: 5px;
  }
  
  .blog-accordion-content-title {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .program-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .benefits-grid {
    flex-direction: column;
  }
  
  .benefit-card {
    margin: 0 0 15px 0;
  }
  
  .testimonial {
    padding: 15px;
    margin-bottom: 15px;
  }
}

/* 响应式设计 - 小屏幕移动设备 */
@media (max-width: 576px) {
  .blog-accordion-menu-link {
    padding: 12px 15px;
    font-size: 15px;
  }
  
  .blog-accordion-submenu-link {
    padding: 10px 15px 10px 25px;
    font-size: 14px;
  }
  
  .blog-accordion-content-title {
    font-size: 22px;
  }
  
  .program-highlights {
    flex-direction: column;
  }
  
  .highlight-item {
    margin-bottom: 15px;
  }
}
