/* Organization page specific styles */

/* Interview section */
.interview-section h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 1px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1px;
}

/* Interview card */
.interview-card {
  background: var(--item-bg);
  border-radius: 12px;
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease;
  margin-bottom: 10px;
}

.interview-card:hover {
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}


.interview-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color-light);
}

.interview-avatar {
  width: 250px;
  height: 250px;
  border-radius: 10px;
  margin-right: 15px;
  background: var(--border-color-light);
  object-fit: cover;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
}

.interview-info h4 {
  margin: 0 0 5px 0;
  color: var(--primary-color);
  font-size: 2em;
  font-weight: bold;
}

.interview-info .catchphrase {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  overflow-wrap: break-word;
}

.interview-info p {
  margin: 0;
  color: var(--text-color-subtle);
  font-size: 1em;
}

.interview-content p {
  margin-bottom: 5px;
  line-height: 1.7;
}


.interview-ask {
  font-size: 1.1em;
  font-weight: bold;
  padding-left: .5em;
  margin-bottom: .2em;
  border-left: 4px solid var(--interview-ask-border-color);
}


.interview-answer {
  padding-bottom: 10px;
}

.interview-content p strong {
  color: var(--primary-color);
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
}

.interview-content p:not(:has(strong)) {
  margin-left: 0;
  color: var(--text-color-dark);
}


/* Responsive design */
@media (max-width: 768px) {
  .interview-header {
    flex-direction: column;
    text-align: center;
  }
  
  .interview-avatar {
    margin: 0 0 15px 0;
  }
}

@media (max-width: 480px) {

  .interview-card {
    padding: 5px;
  }

}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Swiper styles */
.swiper-container {
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 5px;
  overflow: hidden;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: var(--section-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1 !important;
  animation: none !important;
}


.swiper-pagination-bullet {
  width: 20px !important;
  height: 20px !important;
  background: var(--swiper-pagination-bullet-bg);
  opacity: 0.8;
  transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
  height: 20px !important;
  width: 20px !important;
  border-radius: 6px;
  background: var(--swiper-pagination-bullet-active-bg);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--swiper-nav-color);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: var(--swiper-nav-hover-color);
}

.swiper-slide .department-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-light) 100%);
  color: var(--text-color-on-primary);
  padding: 40px 40px 30px;
  text-align: center;
}

.swiper-slide .department-header h2 {
  font-size: 2.2em;
  margin: 0 0 10px 0px;
  font-weight: bold;
  color: var(--text-color-on-primary);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.swiper-slide .department-subtitle {
  font-size: 1.1em;
  margin: 0;
  opacity: 0.9;
  font-weight: 300;
}


section[id] {
  scroll-margin-top: 80px;
}

.interview-avatar {
  background: linear-gradient(135deg, var(--border-color-light) 0%, #bbb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-color-subtle);
}

.interview-avatar::before {
  content: "👤";
}

.department-intro-slider .swiper-slide {
  width: 250px;
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  color: var(--text-color-on-primary);
}

.department-intro-slider .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.department-intro-slider .slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--slide-overlay-bg);
  padding: 10px 1px 10px 1px;
  text-align: center;
  transition: background 0.3s ease;
}

.department-intro-slider .swiper-slide:hover .slide-content {
  background: var(--slide-overlay-hover-bg);
}

.department-intro-slider .slide-content h3 {
  margin: 0 0 5px 0;
  font-size: 1.5em;
  font-weight: bold;
}

.department-intro-slider .slide-content p {
  margin: 0;
  font-size: 1em;
}

.department-intro-slider .swiper-container {
  padding-bottom: 60px;
}
