/* ========================================
   DIRECTIONS PAGE
   ======================================== */
.directions {
  padding: 60px 0;
  background-color: var(--color-white);
}

.directions--bachelor {
  margin-top: -45px;
  padding-top: 80px;
}

.directions--master {
  padding-top: 0;
  padding-bottom: 80px;
}

.directions .container {
  max-width: 1080px;
}

.directions__title {
  font-family: var(--font-semibold);
  font-weight: 600;
  color: var(--color-black);
  font-size: 40px;
  letter-spacing: 0;
  line-height: 48px;
  text-align: center;
  margin-bottom: 50px;
}

.directions__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  column-gap: 30px;
}

.directions__column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Direction Card */
.direction-card {
  background-color: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  transition: all 0.3s ease;
  cursor: pointer;
}

.direction-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 25px;
  min-height: 70px;
  background-color: #F4F3F2;
  border: 1px solid #DBA174;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.direction-card:hover .direction-card__header {
  background-color: rgba(219, 161, 116, 0.1);
  box-shadow: 0px 4px 12px rgba(219, 161, 116, 0.2);
}

.direction-card--active .direction-card__header {
  border-radius: 10px 10px 0 0;
}

.direction-card__title {
  font-family: var(--font-medium);
  font-weight: 500;
  color: var(--color-black);
  font-size: 18px;
  letter-spacing: 0;
  line-height: 24px;
  flex: 1;
}

.direction-card__icon {
  font-family: var(--font-medium);
  font-weight: 200;
  color: #DBA174;
  font-size: 48px;
  line-height: 0.8;
  margin-left: 15px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  margin-top: -4px;
}

.direction-card--active .direction-card__icon {
  transform: rotate(45deg);
}

.direction-card__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #F4F3F2;
  border: none;
  border-radius: 0 0 10px 10px;
}

.direction-card__content-inner {
  padding: 0 25px 25px;
  font-family: var(--font-regular);
  font-weight: 400;
  color: var(--color-text);
  font-size: 15px;
  letter-spacing: 0;
  line-height: 22px;
}

.direction-card--active .direction-card__content {
  max-height: 500px;
  border: 1px solid #DBA174;
  border-top: none;
}

/* Direction Table */
.direction-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

.direction-table__row {
  border-bottom: 1px solid #CACACA;
}

.direction-table__row:first-child {
  border-top: none;
}

.direction-table__row--header .direction-table__cell {
  font-weight: 600;
}

.direction-table__row:last-child {
  border-bottom: 1px solid #CACACA;
}

.direction-table__cell {
  padding: 12px 0;
  font-family: 'Montserrat', var(--font-regular);
  font-size: 18px;
  line-height: 140%;
  font-weight: 400;
}

.direction-table__label {
  color: #000000;
  text-align: left;
  padding-right: 20px;
}

.direction-table__value {
  color: #000000;
  font-family: 'Montserrat', var(--font-semibold);
  text-align: center;
  line-height: 120%;
}

/* ========================================
   DIRECTION DETAIL PAGE
   ======================================== */

/* Direction Detail Hero */
.dir-detail-hero {
  padding: 60px 0;
  margin-top: -45px;
  background-color: var(--color-white);
}

.dir-detail-hero .container {
  max-width: 1080px;
}

.dir-detail-hero__card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.08);
}

.dir-detail-hero__top {
  position: relative;
  width: 100%;
  height: 552px;
  overflow: hidden;
  border-radius: 28px;
}

.dir-detail-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.dir-detail-hero__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 221px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 13.06%, #000000 131.96%);
  border-radius: 0px 0px 28px 28px;
  padding: 80px 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.dir-detail-hero__title {
  font-family: var(--font-bold);
  font-weight: 700;
  color: var(--color-white);
  font-size: 70px;
  letter-spacing: 0;
  line-height: 80px;
  text-align: center;
  margin-bottom: 8px;
}

.dir-detail-hero__subtitle {
  font-family: var(--font-semibold);
  font-weight: 600;
  font-size: 30px;
  line-height: 120%;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 0;
}

.dir-detail-hero__body {
  background-color: #F4F3F2;
  padding: 41px 100px 40px;
  border-radius: 28px;
}

/* Direction Detail Table */
.dir-detail-table {
  width: 100%;
  border-collapse: collapse;
}

.dir-detail-table tbody tr {
  border-bottom: 2px solid #CACACA;
}

.dir-detail-table tbody tr:last-child {
  border-bottom: 2px solid #CACACA;
}

.dir-detail-table td {
  padding: 20px 30px;
  font-family: var(--font-regular);
  font-size: 27px;
  line-height: 140%;
  font-weight: 400;
  color: var(--color-black);
}

.dir-detail-table__label {
  text-align: left;
  width: 40%;
  padding-left: 0;
  font-family: var(--font-regular);
  font-weight: 400;
}

.dir-detail-table__value {
  text-align: left;
  font-family: var(--font-semibold);
  font-weight: 600;
  width: 30%;
}

.dir-detail-table__header-row .dir-detail-table__label {
  font-family: var(--font-medium);
  font-weight: 500;
}

.dir-detail-table__header-row .dir-detail-table__value {
  font-family: var(--font-semibold);
  font-weight: 600;
}

.dir-detail-hero__note {
  font-family: var(--font-regular);
  font-weight: 400;
  color: var(--color-black);
  font-size: 18px;
  letter-spacing: 0;
  line-height: 145%;
  text-align: center;
  margin-top: 46px;
  margin-bottom: 0;
}

/* Careers Section */
.careers {
  padding: 60px 0 80px;
  background-color: var(--color-white);
}

.careers .container {
  max-width: 1080px;
}

.careers__title {
  font-family: var(--font-bold);
  font-weight: 700;
  color: var(--color-black);
  font-size: 36px;
  letter-spacing: 0;
  line-height: 44px;
  text-align: center;
  margin-bottom: 50px;
}

.careers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

.career-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.career-card__icon-wrapper {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.career-card__icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.career-card__title {
  font-family: var(--font-semibold);
  font-weight: 600;
  color: var(--color-black);
  font-size: 20px;
  letter-spacing: 0;
  line-height: 26px;
  margin-bottom: 10px;
}

.career-card__description {
  font-family: var(--font-regular);
  font-weight: 400;
  color: var(--color-text);
  font-size: 14px;
  letter-spacing: 0;
  line-height: 21px;
  margin: 0;
}

/* Direction CTA Section */
.dir-cta {
  padding: 40px 0 80px;
  background-color: var(--color-white);
}

.dir-cta .container {
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dir-cta__title {
  font-family: var(--font-bold);
  font-weight: 700;
  color: var(--color-black);
  font-size: 36px;
  letter-spacing: 0;
  line-height: 46px;
  text-align: center;
  margin-bottom: 35px;
  font-style: italic;
}
