/* ========================================
   艺术设计学院 · 教学机构补充样式
   ======================================== */

.ad-college-home .about-banner {
  display: none;
}

/* 全屏响应式轮播 */
.ad-fullscreen-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  max-height: 900px;
  overflow: hidden;
  background: #1a1410;
}

.ad-hero-track {
  position: absolute;
  inset: 0;
}

.ad-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  background-size: cover;
  background-position: center;
}

.ad-hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.ad-hero-top {
  position: absolute;
  top: 24px;
  left: clamp(24px, 5vw, 48px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ad-hero-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.ad-hero-college-name {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(18px, 3vw, 26px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  letter-spacing: 4px;
}

.ad-hero-motto {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--color-gold);
}

.ad-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 10, 8, 0.85) 0%,
    rgba(15, 10, 8, 0.35) 45%,
    rgba(15, 10, 8, 0.15) 100%
  );
}

.ad-hero-slide--creative::after {
  background: linear-gradient(
    135deg,
    rgba(80, 40, 20, 0.7) 0%,
    rgba(20, 12, 8, 0.5) 50%,
    rgba(10, 8, 6, 0.6) 100%
  );
}

.ad-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: clamp(24px, 5vw, 60px);
  color: #fff;
}

.ad-hero-dept-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 14px;
  font-size: 12px;
  letter-spacing: 0.15em;
  border: 1px solid rgba(212, 175, 95, 0.65);
  color: var(--color-gold);
}

.ad-hero-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.ad-hero-content p {
  font-size: clamp(14px, 2vw, 18px);
  opacity: 0.9;
  max-width: 600px;
}

.ad-hero-nav {
  position: absolute;
  bottom: clamp(24px, 5vw, 60px);
  right: clamp(24px, 5vw, 60px);
  z-index: 4;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 50%;
}

.ad-hero-thumb {
  width: 72px;
  height: 48px;
  border-radius: 3px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: none;
  opacity: 0.65;
  transition: opacity 0.2s, border-color 0.2s;
}

.ad-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ad-hero-thumb.active,
.ad-hero-thumb:hover {
  opacity: 1;
  border-color: var(--color-gold);
}

.ad-hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.15);
}

.ad-hero-progress-bar {
  height: 100%;
  width: 0;
  background: var(--color-gold);
  transition: width 0.1s linear;
}

.ad-home-body {
  max-width: var(--content-max, 1200px);
  margin: 0 auto;
  padding: 32px 24px 48px;
}

/* 学院概况 · 网格 */
.ad-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ad-rich-text {
  font-size: 14px;
  color: #555;
  line-height: 1.85;
}

.ad-rich-text h4 {
  font-size: 15px;
  color: var(--color-primary);
  margin: 20px 0 10px;
}

.ad-rich-text ul {
  padding-left: 20px;
}

.ad-rich-text li {
  margin-bottom: 6px;
}

.ad-leader-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ad-leader-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  padding: 18px;
  background: #faf8f7;
  border: 1px solid #eee5e2;
  border-radius: 4px;
}

.ad-leader-card img {
  width: 100px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}

.ad-leader-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.ad-leader-role {
  font-size: 13px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.ad-leader-card p {
  font-size: 12px;
  color: #666;
  line-height: 1.65;
}

/* 新闻 */
.ad-news-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eee5e2;
  text-decoration: none;
  color: inherit;
}

.ad-news-item:hover .ad-news-title {
  color: var(--color-primary);
}

.ad-news-thumb {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.ad-news-body {
  flex: 1;
  min-width: 0;
}

.ad-news-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(140, 28, 28, 0.08);
  color: var(--color-primary);
  border-radius: 2px;
  margin-bottom: 6px;
}

.ad-news-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.ad-notice-item {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #eee5e2;
  text-decoration: none;
  color: inherit;
}

.ad-notice-pin {
  display: inline-block;
  font-size: 11px;
  padding: 2px 6px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 2px;
  margin-right: 8px;
}

/* 院系设置 */
.ad-dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ad-dept-card {
  border: 1px solid #eee5e2;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
  background: #fff;
}

.ad-dept-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.ad-dept-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ad-dept-card-body {
  padding: 14px 16px;
}

.ad-dept-card-body h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.ad-dept-card-body p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.ad-dept-detail-hero {
  width: 100%;
  aspect-ratio: 21 / 7;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
}

.ad-course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ad-course-tag {
  padding: 5px 12px;
  font-size: 12px;
  background: #faf8f7;
  border: 1px solid #eee5e2;
  border-radius: 2px;
}

/* 学团建设 */
.ad-club-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.ad-club-card {
  padding: 16px;
  background: #faf8f7;
  border: 1px solid #eee5e2;
  border-radius: 4px;
}

.ad-club-card h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.ad-club-meta {
  font-size: 12px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.ad-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ad-highlight-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.ad-highlight-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-highlight-item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}

/* 作品瀑布流 */
.ad-gallery-masonry {
  column-count: 3;
  column-gap: 18px;
}

.ad-work-item {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #eee5e2;
  background: #fff;
  cursor: zoom-in;
  transition: transform 0.2s;
}

.ad-work-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ad-work-item img {
  width: 100%;
  display: block;
}

.ad-work-caption {
  padding: 12px 14px;
}

.ad-work-caption h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.ad-work-caption p {
  font-size: 12px;
  color: #888;
}

/* 灯箱预览 */
.ad-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.ad-lightbox.open {
  display: flex;
}

.ad-lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ad-lightbox-img-wrap {
  overflow: auto;
  max-width: 90vw;
  max-height: 75vh;
}

.ad-lightbox-img {
  max-width: 100%;
  transition: transform 0.2s;
  transform-origin: center center;
}

.ad-lightbox-info {
  margin-top: 16px;
  color: #fff;
  text-align: center;
  max-width: 600px;
}

.ad-lightbox-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.ad-lightbox-info p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.7;
}

.ad-lightbox-tools {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: center;
}

.ad-lightbox-btn {
  padding: 8px 18px;
  font-size: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  cursor: pointer;
}

.ad-lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.ad-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* 校企合作 */
.ad-coop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.ad-coop-card {
  border: 1px solid #eee5e2;
  border-radius: 4px;
  overflow: hidden;
}

.ad-coop-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ad-coop-card-body {
  padding: 14px;
}

.ad-coop-type {
  font-size: 11px;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.ad-partner-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.ad-partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: #fff;
  border: 1px solid #eee5e2;
  border-radius: 4px;
}

.ad-partner-logo img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
}

.ad-partner-logo span {
  font-size: 11px;
  color: #666;
  text-align: center;
}

.ad-case-list .ad-research-item {
  padding: 14px 18px;
  margin-bottom: 10px;
  background: #faf8f7;
  border-left: 3px solid var(--color-primary);
}

/* 分享按钮 */
.ad-share-bar {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eee5e2;
}

.ad-share-btn {
  padding: 6px 14px;
  font-size: 13px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  color: #555;
}

.ad-share-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .ad-dept-grid,
  .ad-coop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ad-gallery-masonry {
    column-count: 2;
  }
  .ad-partner-wall {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .ad-fullscreen-hero {
    height: 70vh;
    min-height: 400px;
  }
  .ad-hero-nav {
    display: none;
  }
  .ad-overview-grid,
  .ad-leader-grid,
  .ad-club-grid,
  .ad-highlight-grid {
    grid-template-columns: 1fr;
  }
  .ad-dept-grid,
  .ad-coop-grid {
    grid-template-columns: 1fr;
  }
  .ad-leader-card {
    grid-template-columns: 80px 1fr;
  }
  .ad-leader-card img {
    width: 80px;
    height: 96px;
  }
  .ad-news-item {
    flex-direction: column;
  }
  .ad-news-thumb {
    width: 100%;
    height: 140px;
  }
  .ad-gallery-masonry {
    column-count: 1;
  }
  .ad-partner-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}
