@charset "UTF-8";

.p-typographyFv {
  position: relative;
  width: 100%;
  height: 400px; 
  background-color: #f8fafc;
  overflow: hidden;
}

.p-typographyFv__bgText {
  position: absolute;
  width: 100%;
  font-size: 95px;
  font-weight: 900;
  color: rgba(0, 92, 175, 0.035);
  user-select: none;
  pointer-events: none;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  overflow: hidden;
  z-index: 1;
}

.p-typographyFv__bgText.left-text {
  top: 20%; 
}

.p-typographyFv__bgText.right-text {
  bottom: 0%; 
}

.p-typographyFv__marqueeTrack {
  display: flex;
  width: max-content;
  white-space: nowrap;
}

.p-typographyFv__marqueeTrack span {
  display: block;
  padding-right: 0.5em;
}

.left-text .p-typographyFv__marqueeTrack { animation: marqueeLeft 35s linear infinite; }
.right-text .p-typographyFv__marqueeTrack { animation: marqueeRight 45s linear infinite; }

.p-typographyFv__content {
  position: absolute;
  top: 65%; 
  left: 50%;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
  animation: advancedTextIn 0.55s ease-out forwards;
  animation-delay: 0.1s; 
  opacity: 0;
}

@keyframes advancedTextIn {
  0% {
    transform: translate(-50%, calc(-50% - 15px)); 
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%); 
    opacity: 1;
  }
}

.p-typographyFv__subTitle {
  display: block;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: #2b435c;
  font-weight: 700;
  margin-bottom: 12px;
}

.p-typographyFv__mainTitle {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #142638;
  margin: 0 0 16px 0; 
}

.p-typographyFv__lead {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.15em;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media screen and (max-width: 768px) {
  .p-typographyFv {
    height: 280px; 
  }
  .p-typographyFv__bgText {
    font-size: 60px; 
  }
  .p-typographyFv__bgText.left-text { top: 25%; }
  .p-typographyFv__bgText.right-text { bottom: 0%; }
  
  .p-typographyFv__mainTitle { font-size: 32px; }
  .p-typographyFv__lead { font-size: 13px; }

  .p-typographyFv__content {
    position: absolute;
    top: 65%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 20px;
    margin-top: 0;
  }
}

.interview-card-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  grid-template-rows: auto !important;
  grid-auto-rows: 1fr !important;
  gap: 40px 20px !important;
  max-width: 1200px;
  margin: 0 auto 100px;
}

.interview-grid-item {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interview-grid-item[style*="display: none"],
.interview-grid-item.is-hidden {
  display: none !important;
}

.interview-grid-item:hover {
  transform: translateY(-5px);
}

.item-photo-wrap img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 12px;
}

.item-info-wrap {
  padding: 15px 5px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.item-year {
  font-size: 12px;
  color: #888;
  font-weight: bold;
  margin-bottom: 8px;
}

.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}

.item-tags span {
  font-size: 11px;
  color: #1e4461;
  background-color: #f0f4f8;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.item-name {
  font-size: 20px;
  font-weight: 800;
  color: #333;
  margin-bottom: 15px;
}

.item-more-btn {
  font-size: 12px;
  font-weight: 800;
  color: #1e4461;
  border-bottom: 2px solid #1e4461;
  padding-bottom: 2px;
}

.c-topBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
}

.c-topBtn__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #1e4461;
  color: #fff !important;
  font-weight: bold;
  font-size: 12px;
  border-radius: 50%;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media screen and (max-width: 1000px) {
  .c-underFv {
    height: auto;
    padding: 110px 0 50px !important;
    margin-top: 70px !important;
  }
  .c-underFv__inner {
    flex-direction: column-reverse;
    gap: 25px;
    padding: 0 20px;
  }
  .c-underFv__photo {
    width: 100%;
    flex: none;
    height: 280px;
  }
  .c-underFv__photo img {
    height: 220px;
  }
  .c-underFv__ttlCont {
    width: 100%;
    flex: none;
    text-align: center;
  }
  .interview-card-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px 15px !important;
    padding: 0 15px;
  }
  .item-photo-wrap img { 
    height: auto !important; 
    aspect-ratio: 3 / 4 !important;
  }
}

@media screen and (max-width: 600px) {
  .interview-card-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

.filter-group-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px auto 50px auto;
  max-width: 1000px;
  justify-content: center;
}

.filter-btn {
  background-color: #ffffff;
  color: #444444;
  border: 1px solid #dddddd;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.filter-btn .count {
  color: #888888;
  font-size: 0.85rem;
  transition: color 0.25s ease;
}

.filter-btn:hover {
  border-color: #333333;
  background-color: #fcfcfc;
  transform: translateY(-1px);
}

.filter-btn.active {
  background-color: #333333 !important;
  color: #ffffff !important;
  border-color: #333333 !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.filter-btn.active .count {
  color: rgba(255,255,255,0.7) !important;
}

@media screen and (max-width: 768px) {
  .filter-group-container {
    padding: 0 15px;
    gap: 8px;
    margin-bottom: 35px;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .filter-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
    flex-shrink: 0;
  }
}

.interview-item-tags .tag-dept,
.item-tags .tag-dept {
  background-color: #fff3e0 !important;
  color: #c06c00 !important;
  border: 1px solid #ffe0b2 !important;
  font-weight: 800 !important;
}

body .interview-card-grid .interview-grid-item.js-card-fade {
  opacity: 0 !important;
  transform: translateY(45px) !important;
  transition: opacity 0.55s ease-out !important, 
              transform 0.55s ease-out !important;
  will-change: opacity, transform !important;
}

body .interview-card-grid .interview-grid-item.js-card-fade.is-active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}