/* =========================
   Hero (PC base)
========================= */

/* ¼öÁ¤ Àü */
/* .hero {
    background: var(--primary-gradient);
    padding: 80px 0;
    color: #fff;
}

.hero,
.hero .container {
    position: relative;
}

.hero-inner {
    text-align: center;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.hero-desc {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 48px;
}

.hero-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-card {
    width: 100%;
    min-height: 170px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 45px 30px 30px 30px;
    text-align: left;
    color: #fff;
}

.hero-card .icon {
    font-size: 24px;
    display: inline-block;
    margin-bottom: 12px;
}

.hero-card h3 {
    font-size: 18px;
    margin-bottom: 3px;
    font-weight: 600;
}

.hero-card p {
    font-size: 15px;
    line-height: 1.5;
}

.hero-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    display: block;
} */




/* =========================
   Hero (PC base)
========================= */
.hero {
    background: var(--primary-gradient);
    padding: 55px 0 40px;
    color: #fff;
}

.hero,
.hero .container {
    position: relative;
}

.hero-inner {
    text-align: left;
}

.hero-sub {
    font-size: 13px;
    font-weight: 700;
    color: #CDF1EE;
    letter-spacing: 0.08em;
}

.hero-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.hero-desc {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 48px;
}

.hero-cards {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.hero-card {
    width: 100%;
    min-height: 170px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 35px 25px 30px 33px;
    text-align: left;
    color: #fff;
}

.hero-card .icon {
    font-size: 24px;
    display: inline-block;
    margin-bottom: 12px;
}

.hero-card h3 {
    font-size: 18px;
    margin-bottom: 3px;
    font-weight: 500;
}

.hero-card p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 330px;
    word-break: keep-all;
}

.hero-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    display: block;
}

.hero-card .material-symbols-outlined {
    display: inline-flex;
    margin-bottom: 20px;
    font-size: 44px;
    color: #fff;
}

.hero-card .material-icons {
    display: inline-flex;
    margin-bottom: 20px;
    font-size: 44px;
    color: #fff;
}

/* È÷¾î·Î ¼öÁ¤ 26.04.06 */
.hero-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
}

/* .hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
} */

.hero-card::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: #0f766e;
  border-radius: 2px;
  margin-bottom: 16px;
}

.hero-card .material-icons,
.hero-card .material-symbols-outlined {
  font-size: 32px;
  color: #0f766e;
  margin: 0 0 12px 4px;
}

.hero-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin-bottom: 5px;
}

.hero-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.hero-cards {
  display: flex;
  gap: 20px;
}


/* =========================
   Tabs
========================= */
.board {
    background: #f7f8fa;
    padding: 35px 0 80px;
}

/* =========================
   Search Box Card
========================= */
.search-box {
    background: #fff;
    border-radius: 10px;
    padding: 24px 22px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-box-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.post-count {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

.post-count strong {
    font-weight: 700;
    color: #111;
}

.search-row {
    position: relative;
    max-width: 900px;
    margin: 0 auto 18px;
}

.search-input {
    width: 100%;
    height: 46px;
    border: 1px solid #dfe3e8;
    border-radius: 10px;
    padding: 0 52px 0 18px;
    font-size: 16px;
    outline: none;
}

.search-input::placeholder {
    color: #9aa1a9;
}

.search-input:focus {
    border-color: #06b7aa;
    box-shadow: 0 0 0 3px rgba(6, 183, 170, 0.15);
}

.search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex; /* ? Ãß°¡ */
    align-items: center; /* ? Ãß°¡ */
    justify-content: center; /* ? Ãß°¡ */
}

.search-btn svg {
    fill: #111;
    display: block;
}

/* =========================
   Filters
========================= */
.filter-row {
    display: flex;
    justify-content: flex-start;
    gap: 15px 32px;
    margin: 0 auto;
    align-items: center;
    flex-wrap: wrap;
    max-width: 900px;
    font-size: 15px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-label {
    font-weight: 700;
    color: #111;
}

.select-wrap {
    position: relative;
}

.select-icon.material-symbols-rounded {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 20px;
    line-height: 1;
    color: #666;
    display: inline-block;
}

.select {
    height: 40px;
    border: 1px solid #dfe3e8;
    border-radius: 10px;
    padding: 0 40px 0 14px;
    background-color: transparent;
    outline: none;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* background-image: url('/project/84_sv/nesin.co.kr/admissions/images/mdi_chevron-down.svg'); */
    background-position: right 10px center;
    background-repeat: no-repeat;
    padding-right: 30px;
}
.select:focus {
    border-color: #06b7aa;
    box-shadow: 0 0 0 3px rgba(6, 183, 170, 0.12);
}

.section-divider {
    height: 1px;
    background: #e7eaee;
    margin: 22px 0 18px;
}

/* =========================
   Crab Visual
========================= */
.crab {
    /* display: none; */
    opacity: 80%;
    position: absolute;
    width: 100px;
    top: 0px;
    right: 40px;
    /* transform: rotate(-15deg); */
    text-align: center;
    line-height: 1.2;
    z-index: 1;
}

.crab-text {
    position: absolute;
    top: 55px;
    left: -90%;
    transform: translateX(-60%);
    font-size: 14px;
    font-weight: 700;
    color: #0f3a37;
    white-space: nowrap;
}
.crab-text img {
    display: inline-block;
    height: 36px;
}

.claw-left,
.claw-right {
    position: absolute;
    width: 28px;
    top: 8px;
}

.claw-left {
    left: 1px;
    transform-origin: right bottom;
    animation: clawLeft 6s infinite ease-in-out;
}

.claw-right {
    right: 1px;
    transform-origin: left bottom;
    animation: clawRight 6s infinite ease-in-out;
}

@keyframes clawLeft {
    0% {
        transform: rotate(0deg);
    }
    3% {
        transform: rotate(-12deg);
    }
    6% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(0deg);
    }
    53% {
        transform: rotate(-12deg);
    }
    56% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes clawRight {
    0% {
        transform: rotate(0deg);
    }
    3% {
        transform: rotate(12deg);
    }
    6% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(0deg);
    }
    53% {
        transform: rotate(12deg);
    }
    56% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}
.crab-brand {
    margin-top: -15px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
}

.crab-brand strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f3a37;
}

.crab-brand span {
    display: block;
    font-size: 11px;
    color: #0f3a37;
}

/* ======================================================
   Responsive
====================================================== */
@media (max-width: 1200px) {
    .hero-title{
        font-size: 28px;
    }
    .hero-desc {
        font-size: 18px;
    }

    /* =========================
   Crab Visual
========================= */
    .crab {
        width: 90px;
        top: 5px;
        right: 30px;
    }

    .claw-left,
    .claw-right {
        width: 22px;
        top: 10px;
    }

    .crab-text {
        top: 50px;
        left: -100%;
    }
    .crab-brand {
        margin-top: -15px;
    }
    .crab-brand strong {
        font-size: 12px;
    }
    .crab-brand span {
        font-size: 10px;
    }
}

@media (max-width: 940px) {
    /* .hero-title {
        font-size: 38px;
    } */

    .hero-title {
       font-size: 26px;
    }

    .hero-desc {
        font-size: 18px;
    }

    .hero-card h3 {
        font-size: 16px;
    }
    .hero-card p {
        font-size: 14px;
    }
    .hero-icon {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 860px) {
    .hero {
        padding: 40px 0 30px;
    }
    .hero-title {
        font-size: 24px;
        max-width: 310px;
        line-height: 1.5;
    }
    .hero-desc {
        font-size: 16px;
    }
    .hero-card h3 {
        font-size: 16px;
    }
    .hero-card p {
        font-size: 14px;
        max-width: 390px;
    }
    .hero-cards {
        flex-wrap: wrap;
    }

    .hero-card {      
        padding: 28px 30px 25px 30px;
    }

    .hero-card .material-icons {
        margin-bottom: 10px;
        font-size: 32px;
    }
    .hero-card .material-symbols-outlined {
        margin-bottom: 10px;
        font-size: 32px;
    }

    /* crab */
    .crab {
        width: 90px;
        top: 33px;
        right: 35px;
    }
}


@media (max-width: 768px) {
    .hero {
        /* padding: 70px 0 30px; */
    }

    .hero-sub {
        font-size: 11px;
    }
    .hero-title {
        font-size: 20px;
        max-width: 260px;
    }

    .hero-desc {
        font-size: 14px;
    }

     .hero-card {
        transition: none;
    }
     .hero-card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }
    .hero-card::before {
        margin-bottom: 10px;
    }
    .hero-card h3 {
        font-size: 15px;
        margin-bottom: 3px;
    }
    .hero-card p {
        font-size: 13px;
    }
    .hero-cards {
        flex-wrap: wrap;
    }

    .hero-card {
        min-height: auto;
        /* background: rgba(255, 255, 255, 0.15); */
        padding: 20px 30px 15px 25px
    }

    .crab {
        top: 43px;
        width: 60px;
    }

    .claw-left, .claw-right {
        width: 16px;
        top: 5px;
    }

    .crab-text {
        display: none;
    }

    .crab-brand {
        margin-top: -5px;
    }

    /* =========================
   Filters
========================= */
    .filter-row {
        font-size: 14px;
    }

    /* =========================
   Search Box Card
========================= */
    .search-input {
        font-size: 14px;
    }

    .search-box-top {
        margin-bottom: 12px;
    }

    .post-count {
        font-size: 13px;
    }
}

@media (max-width: 470px) {
    .hero {
        padding: 30px 0 30px;
    }
    .hero-title {
        font-size: 18px;
        max-width: 230px;

    }
    .hero-desc {
        font-size: 14px;
    }

    .hero-card .material-icons {
        margin-bottom: 10px;
        font-size: 30px;
    }

    .hero-card .material-symbols-outlined {
        margin-bottom: 10px;
        font-size: 30px;
    }

   

    /* =========================
   Tabs
========================= */
    .board {
        padding: 25px 0 45px;
    }

    /* =========================
   Search Box Card
========================= */
    .search-input {
        height: 35px;
        font-size: 14px;
    }

    /* =========================
   Filters
========================= */
    .filter-row {
        font-size: 13px;
        gap: 15px;
    }
    .select {
        height: 35px;
    }

    /* =========================
   Crab Visual
========================= */
    .crab {
        top: 35px;
        width: 60px;
    }
    .crab-text img {
        height: 30px;
    }
    .claw-left, .claw-right {
        width: 13px;
        top: 8px;
    }
    .crab-brand span {
        font-size: 9px;
    }
}

@media (max-width: 336px) {
    /* =========================
   Crab Visual
========================= */
    .crab {
        display: none;
    }
}
