@charset "utf-8";
/* CSS Document */
.description {
    background-color: #1f1f1f;
    padding: 1.5rem 2rem;
    border-left: 1px solid var(--thm-primary);
    margin-bottom: 2rem;
    color: #fff;
}
.categories {
    position: relative;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}
.categories:after {
    content: '';
    position: absolute;
    background-image: url("../images/academic_policies/line.svg");
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 3rem;
    top: 100%;
    opacity: 0;
}
.category {
    flex: 1;
    padding: 1.5rem 1rem;
    text-align: center;
    border: 1px solid #444;
  color:#fff;
}
.flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.box {
    position: relative;
    flex: 1;
    background-color: #1e1e1e;
    padding: 1.5rem;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.box:after {
    content: '\f0a9';
    position: absolute;
    right: -20px;
    top: 45%;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 25px;
    color: var(--thm-primary);
    z-index: 5;
}
.box:last-child:after {
    display: none
}
.postech {
    background-color: rgba(255, 255, 255, .1);
}
.oversea {
    background-color: var(--thm-primary);
    color:rgba(210, 210, 208, 0.9);
}
.box-title {
    font-weight: 500;
    color: #fff;
}
.arrow-svg {
    position: absolute;
    top: 270px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}


@media (min-width: 1921px) {
  .categories:after {
      opacity: 0;
  }

}
@media (max-width: 1439px) {
    .categories:after {
        display: none;
    }
}

@media (max-width: 767px) {
    .description {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    .categories {
        margin-bottom: 1rem;
    }
    .categories, .flow {
        flex-direction: row;
        align-items: center;
        font-size: .8em
    }
    .category {
        display: flex;
        min-width: 0;
        padding: 1rem .5rem;
        min-height: 90px;
        align-items: center;
        justify-content: center;
    }
    .box {
        min-width: 100%;
        padding: 1rem;
        font-size: 1em;
    }
    .box-title {
        font-size: 1em
    }
    .box:after {
        right: auto;
        top: auto;
        bottom: -21px;
        left: 50%;
        transform: translateX(-50%) rotate(90deg) scale(.8);
    }
}