/* board.css 배포일:2026.03.10 12:57:28 */ 
@charset "utf-8";

/* ========================================
   공통 뱃지 스타일
======================================== */
.badge-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    min-width: 60px;
    padding: 10px 3px;
    border-radius: 24px;
    border: 1px solid rgba(102, 193, 191, 0.20);
    background: rgba(102, 193, 191, 0.10);
    font-size: 16px;
    color: #16A6A3;
}

/* ========================================
   공통 버튼 스타일
======================================== */
.detail-btn-wrap {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.list-btn-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 60px;
}

.btn-write {
    display: flex;
    width: 160px;
    padding: 10px 0;
    justify-content: center;
    align-items: center;
    gap: 11px;
    border-radius: 28px;
    background: var(--_, #01375A);
    color: #fff;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* ========================================
   게시판 상단 (총 건수 + 검색)
======================================== */
.board-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 8px 16px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.board-top:not(:has(.search-area)) {
    padding: 24px 16px;
}

.board-top .total-count {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: #222;
    letter-spacing: -0.64px;
}

.board-top .search-area {
    display: flex;
    align-items: center;
    gap: 25px;
}

.board-top .search-select {
    position: relative;
}

.board-top .search-select-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 8px 8px 24px;
    font-size: 20px;
    font-weight: 400;
    color: #222;
    letter-spacing: -0.8px;
}

.board-top .search-select-btn img {
    width: 10.54px;
    aspect-ratio: 10.54 / 6.493;
}

.board-top .search-select-options {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 5px);
    min-width: 120px;
    padding: 10px 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 100;
}

.board-top .search-select.is-open .search-select-options {
    display: block;
}

.board-top .search-select-options button {
    display: block;
    width: 100%;
    padding: 10px 20px;
    font-size: 16px;
    color: #333;
    text-align: left;
}

.board-top .search-select-options button:hover {
    background: #f5f5f5;
}

.board-top .search-select-options button.is-selected {
    color: #1C3456;
    font-weight: 500;
}

.board-top .divider {
    width: 1px;
    height: 24px;
    background: #000;
}

.board-top .search-input {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 430px;
    padding: 8px;
}

.board-top .search-input input {
    flex: 1;
    border: none;
    font-size: 20px;
    font-weight: 400;
    color: #222;
    letter-spacing: -0.8px;
}

.board-top .search-input input::placeholder {
    color: #b2b2b2;
}

.board-top .search-input button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.board-top .search-input button img {
    width: 40px;
    aspect-ratio: 1 / 1;
}

/* ========================================
   게시판 리스트
======================================== */
.board-list .board-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid #ccc;
    white-space: nowrap;
}

.board-list .board-header span {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    text-align: center;
    letter-spacing: -0.64px;
}

.board-list .board-body {
    list-style: none;
}

.board-list .board-item {
    display: flex;
    align-items: center;
    gap:16px;
    padding: 24px 16px;
    text-align: center;
    border-bottom: 1px solid #ccc;
}

.board-list .board-item.is-last {
    border-bottom: 1px solid #333;
}

.board-list .board-item.is-fixed {
    background: #F6FAFE;
}

.board-list .col-number {
    width: 54px;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    letter-spacing: -0.64px;
}

.board-list .col-title {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    word-break: keep-all;
}

.board-list .board-header .col-title {
    justify-content: center;
}

.board-list .col-title .pin-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.board-list .col-title a {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    letter-spacing: -0.8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.board-list .col-title a:hover {
    color: #1C3456;
    text-decoration: underline;
}

.board-list .col-writer {
    width: 140px;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    letter-spacing: -0.64px;
}

.board-list .col-date {
    width: 100px;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    letter-spacing: -0.64px;
}

.board-list .col-hit {
    width: 60px;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    letter-spacing: -0.64px;
}

.board-list .col-attach {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    padding: 0 8px;
}

.board-list .col-attach img {
    width: 20px;
    height: 20px;
}

/* ========================================
   게시판 상세
======================================== */
.board-detail {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 150px;
}

.board-detail .detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 16px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.board-detail .detail-header .col-number {
    width: 54px;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    letter-spacing: -0.64px;
    text-align: center;
}

.board-detail .detail-header .col-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    font-size: 20px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.8px;
}

.board-detail .detail-header .col-writer {
    width: 140px;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    letter-spacing: -0.64px;
}

.board-detail .detail-header .col-date {
    width: 100px;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    letter-spacing: -0.64px;
}

.board-detail .detail-header .col-hit {
    width: 60px;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    letter-spacing: -0.64px;
}

.board-detail .detail-header .col-attach {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    padding: 0 8px;
}

.board-detail .detail-header .col-attach img {
    width: 20px;
    height: 20px;
}

.board-detail .detail-contents {
    display: flex;
    flex-direction: column;
    padding: 0 86px;
}

.board-detail .detail-contents img {
	max-width: 100%;
    height: auto !important;
    margin: 10px 0;
}

.board-detail .detail-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 880px;
}

.board-detail .detail-text .text-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.8px;
}

.board-detail .detail-text p {
    font-size: 16px;
    font-weight: 400;
    color: #222;
    letter-spacing: -0.72px;
}

.board-detail .detail-text .text-notice {
    font-size: 16px;
    font-weight: 500;
    color: #1C3456;
    letter-spacing: -0.72px;
}

.board-detail .detail-text ol {
    padding-left: 27px;
    font-size: 16px;
    font-weight: 400;
    color: #222;
    letter-spacing: -0.72px;
}

.board-detail .detail-text ol li {
    list-style: decimal;
    margin-bottom: 0;
}

.board-detail .detail-text ul {
    padding-left: 27px;
    margin: 0;
}

.board-detail .detail-text ul li {
    list-style: disc;
}

.board-detail .qna-answer-block {
    display: flex;
    flex-direction: column;
}

.board-detail .qna-answer-block .detail-header {
    background: #eef5fc;
}

.board-detail .qna-answer-block .detail-contents {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 86px;
}

.board-detail .qna-answer-block .detail-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 880px;
}

.board-detail .qna-answer-block:not(:has(.detail-attach)) .detail-contents {
    padding-bottom: 40px;
}

.board-detail .qna-answer-block .detail-header .col-title {
    gap: 0;
}

.board-detail .detail-image {
    max-width: 880px;
}

.board-detail .detail-image img {
    width: 100%;
    border-radius: 24px;
    margin: 10px 0;
}

.board-detail .detail-attach {
    display: flex;
    gap: 16px;
    padding: 24px 16px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.board-detail .attach-label {
    min-width: 54px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.64px;
}

.board-detail .attach-list {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
}

.board-detail .attach-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.board-detail .attach-item .file-name {
    font-size: 16px;
    font-weight: 400;
    color: #222;
    letter-spacing: -0.64px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.board-detail .attach-item .file-size {
    font-size: 14px;
    font-weight: 500;
    color: #999;
    letter-spacing: -0.56px;
}

.board-detail .attach-item:hover .file-name {
    text-decoration: underline;
}

.board-detail img {
    border-radius: 24px;
}

/* ========================================
   게시판 - 갤러리형
======================================== */
.board-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 60px 40px;
    padding-top: 40px;
}

.board-gallery:has(.empty-text) {
    display: block;
    padding: 30px 0;
    border-bottom: 1px solid #D9D9D9;
}

.board-gallery .gallery-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.board-gallery .gallery-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    overflow: hidden;
}

.board-gallery .gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.board-gallery .gallery-item:hover .gallery-thumb img {
    transform: scale(1.05);
}

.board-gallery .gallery-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.board-gallery .gallery-title {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.96px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    min-width: 0;
}

.board-gallery .gallery-date {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    letter-spacing: -0.64px;
}

/* ========================================
   게시판 - 매거진형
======================================== */
.board-magazine {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-bottom: 1px solid #D9D9D9;
    padding: 40px 0;
}

.board-magazine:has(.empty-text) {
    display: block;
    padding: 30px 0;
}

.board-magazine .magazine-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
    padding: 5%;
    border: 2px solid #D9D9D9;
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.board-magazine .magazine-item:hover {
    border-color: #01375A;
}

.board-magazine .magazine-thumb {
    width: 100%;
    aspect-ratio: 290 / 360;
    border-radius: 20px;
    overflow: hidden;
}

.board-magazine .magazine-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-magazine .magazine-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
    background: #fff;
    text-align: center;
}

.board-magazine .magazine-title {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    text-align: left;
}

.board-magazine .magazine-date {
    font-size: 14px;
    color: #666;
}

/* ========================================
   게시판 - 뉴스형
======================================== */
.board-news {
    border-bottom: 1px solid #D9D9D9;
}

.board-news:has(.empty-text) {
    padding: 30px 0;
}

.board-news .news-item {
    display: flex;
    gap: 60px;
    height: 400px;
    padding: 40px 0;
    border-bottom: 1px solid #D9D9D9;
}

.board-news .news-item:last-child {
    border-bottom: unset;
}

.board-news .news-thumb {
    flex-shrink: 0;
    width: 450px;
    aspect-ratio: 450 / 320;
    border-radius: 20px;
    overflow: hidden;
}

.board-news .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    border-radius: 20px;
}

.board-news .news-thumb:hover img {
    transform: scale(1.05);
}

.board-news .news-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    flex: 1;
}

.board-news .news-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    word-break: keep-all;
    transition: color 0.2s;
}

.board-news .news-title:hover {
    color: #01375A;
}

.board-news .news-item:hover .news-title {
    color: #01375A;
}

.board-news .news-desc {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.board-news .news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #666;
}

.board-news .news-meta img {
    width: 20px;
    height: 20px;
}

.board-news .news-meta span {
    display: flex;
    align-items: center;
}

.board-news .news-meta span::after {
    content: '|';
    margin-left: 10px;
    color: #666;
}

.board-news .news-meta span:last-child::after {
    display: none;
}

/* ========================================
   게시판 - FAQ
======================================== */
.faq-list {
    border-bottom: 1px solid #333;
}

.faq-item {
    border-bottom: 1px solid #CCC;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item[open] .faq-question::after {
    transform: rotate(180deg);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 16px;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.8px;
    cursor: pointer;
    position: relative;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: url(/home/image/common/images/icn_arrow_down_gray.svg') no-repeat center;
    background-size: 14px 7px;
    transition: transform 0.3s;
}

.faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 48px;
    background: #F6FAFE;
    font-size: 16px;
    font-weight: 400;
    color: #222;
    letter-spacing: -0.72px;

    ul {
        padding-left: 20px;
    }

    ul li {
        list-style: disc;
    }

    p + p {
        margin-top: 15px;
    }

    p + ul {
        margin-top: 5px;
    }

    ul + p {
        margin-top: 15px;
    }
}

.faq-icon {
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.8px;
    color: #94C22F;
}

.faq-answer .faq-icon {
    color: #173557;
    line-height: 1.2;
}

.faq-answer-content {
    flex: 1;

    strong + ul,
    p:has(strong) + ul {
        margin-inline-start: 20px;
    }
}

/* ========================================
   반응형 - 모바일
======================================== */
@media screen and (max-width: 750px) {
    .badge {
        height: 28px;
        min-width: 44px;
        padding: 0 10px;
        font-size: 13px;
    }

    .list-btn-wrap {
        margin: 40px 0;
    }

    .board-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        border-bottom: 1px solid #000;
    }

    .board-top .total-count {
        display: none;
    }

    .board-top .search-area {
        width: 100%;
        padding: 0;
        border-radius: 24px;
    }

    .board-top .search-select {
        min-width: auto;
        white-space: nowrap;
    }

    .board-top .search-select-btn {
        gap: 8px;
        padding: 0;
    }

    .board-top .search-select-btn span {
        font-size: 14px;
        color: #222;
    }

    .board-top .search-select-btn img {
        width: 6px;
    }

    .board-top .divider {
        height: 20px;
    }

    .board-top .search-input {
        flex: 1;
        width: auto;
        padding: 4px;
    }

    .board-top .search-input input {
        width: 100%;
        font-size: 14px;
    }

    .board-top .search-input button {
        width: 24px;
        height: 24px;
    }

    .board-top .search-input button img {
        width: 24px;
    }

    .board-list .board-header {
        display: none;
    }

    .board-list .board-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px 12px;
        border-bottom: 1px solid #ccc;
    }

    .board-list .board-item.is-fixed {
        background: #F6FAFE;
        padding: 16px 12px;
        width: 100%;
    }

    .board-list .col-number,
    .board-list .col-writer,
    .board-list .col-hit,
    .board-list .col-attach {
        display: none;
    }

    .board-list .col-title {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0;
    }

    .board-list .col-title .pin-icon {
        float: left;
        width: 16px;
        height: 16px;
        margin-right: 6px;
        margin-top: 5px;
    }

    .board-list .col-title a {
        display: block;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -0.72px;
        text-align: left;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .board-list .col-date {
        width: auto;
        font-size: 14px;
        color: #666;
        letter-spacing: -0.56px;
    }

    .board-detail {
        gap: 40px;
        padding-bottom: 75px;
    }

    .board-detail .detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 12px;
    }

    .board-detail .detail-header .col-number,
    .board-detail .detail-header .col-writer,
    .board-detail .detail-header .col-hit,
    .board-detail .detail-header .col-attach {
        display: none;
    }

    .board-detail .detail-header .col-date {
        width: 100px;
    }

    .board-detail .detail-header .col-title {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        font-size: 20px;
        width: 100%;
    }

    .board-detail .detail-contents {
        padding: 0 12px;
    }

    .board-detail .detail-text {
        max-width: 100%;
    }

    .board-detail .qna-answer-block .detail-contents {
        gap: 40px;
        padding: 0 12px;
    }

    .board-detail .qna-answer-block .detail-text {
        max-width: 100%;
    }

    .board-detail .qna-answer-block:not(:has(.detail-attach)) .detail-contents {
        padding-bottom: 24px;
    }

    .board-detail .detail-image {
        max-width: 100%;
    }

    .board-detail .detail-attach {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }

    .board-detail .attach-label {
        width: auto;
    }

    .board-detail .attach-list {
        gap: 0;
    }

    .board-detail .attach-item {
        padding: 10px 0;
        border-top: 1px solid #ccc;
    }

    .board-detail .attach-item .file-name {
        flex: 1;
    }

    .board-detail .attach-item .file-size {
        flex-shrink: 0;
    }

    .detail-btn-wrap {
        margin-top: 40px;
        margin-bottom: 60px;
    }

    .board-gallery {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .board-gallery .gallery-item {
        gap: 20px;
    }

    .board-gallery .gallery-thumb {
        border-radius: 24px;
    }

    .board-gallery .gallery-title {
        font-size: 20px;
        letter-spacing: -0.8px;
    }

    .board-gallery .gallery-date {
        font-size: 16px;
        letter-spacing: -0.64px;
    }

    .faq-list {
        border-top: 1px solid #333;
    }

    .faq-question {
        gap: 12px;
        padding: 12px 44px 12px 12px;
        font-size: 20px;
    }

    .faq-question::after {
        right: 12px;
    }

    .faq-answer {
        gap: 12px;
        padding: 24px 12px;
        font-size: 18px;
    }

    .faq-icon {
        font-size: 20px;
    }

    .board-news .news-item {
        flex-direction: column;
        height: auto;
        gap: 20px;
        padding: 25px 0;
    }

    .board-news .news-thumb {
        width: 100%;
        aspect-ratio: 450 / 320;
    }

    .board-news .news-info {
        gap: 15px;
    }

    .board-news .news-title {
        font-size: 20px;
    }

    .board-news .news-desc {
        font-size: 15px;
    }

    .board-news .news-meta {
        font-size: 14px;
    }

    .board-news .news-meta img {
        width: 16px;
        height: 16px;
    }

    .board-magazine {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .board-magazine .magazine-info {
        padding: 10px;
        gap: 5px;
    }

    .board-magazine .magazine-title {
        font-size: 14px;
    }

    .board-magazine .magazine-date {
        font-size: 12px;
    }
}

.empty-text {
    font-size: 18px;
    text-align: center;
	flex:1;
}


.media-featured {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-top: 40px;
    padding-bottom: 40px;
}

.media-featured .media-featured-thumb {
    position: relative;
    flex: 0 0 60%;
    max-width: 968px;
    aspect-ratio: 968.22 / 544;
    border-radius: 20px;
    overflow: hidden;
}

.media-featured .media-featured-thumb img,
.media-featured .media-featured-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-featured .media-featured-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 40px;
}

.media-featured .media-featured-title {
    font-size: 30px;
    font-weight: 700;
    color: #000;
}

.media-featured .media-featured-desc p {
    font-size: 18px;
    color: #6A6A6A;
}

@media screen and (max-width: 1200px) {
    .media-featured {
        flex-direction: column;
        gap: 25px;
    }

    .media-featured .media-featured-thumb {
        width: 100%;
    }

    .media-featured .media-featured-info {
        padding-top: 0;
        gap: 20px;
    }
}

@media screen and (max-width: 750px) {
    .media-featured {
        padding-bottom: 25px;
    }

    .media-featured .media-featured-thumb {
        border-radius: 10px;
    }

    .media-featured .media-featured-thumb::after {
        border-width: 20px 0 20px 35px;
    }

    .media-featured .media-featured-title {
        font-size: 22px;
    }

    .media-featured .media-featured-desc p {
        font-size: 14px;
    }
}

/* ========================================
   게시판 글쓰기
======================================== */
.required-info {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.required-info .required {
    color: #DD4508;
}

.board-write {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 12px;
}

.board-write .write-row {
    display: flex;
    align-items: center;
}

.board-write .write-row.row-content {
    align-items: flex-start;
}

.board-write .write-label {
    flex-shrink: 0;
    width: 140px;
    margin-right: 50px;
    font-size: 18px;
    font-weight: 400;
    color: #000;
    white-space: nowrap;
}

.board-write .write-label .required {
    color: #DD4508;
    margin-left: 4px;
}

.board-write .write-content {
    flex: 1;
}

.board-write .write-text {
    font-size: 18px;
    font-weight: 400;
    color: #333;
}

.board-write .select-wrap select {
    width: 280px;
    height: 48px;
    padding: 0 40px 0 15px;
    border: 1px solid #D4D4D4;
    border-radius: 16px;
    font-size: 16px;
    color: #333;
    background: #fff url(/home/image/common/images/icn_arrow_down.svg') no-repeat right 15px center;
    appearance: none;
}

.board-write .custom-select .select-trigger {
    min-width: 340px;
    border-radius: 16px;
}

.board-write .input-wrap {
    position: relative;
}

.board-write .input-wrap input {
    width: 100%;
    height: 48px;
    padding: 0 80px 0 15px;
    border: 1px solid #D4D4D4;
    border-radius: 16px;
    font-size: 16px;
    color: #333;
}

.board-write .input-wrap input::placeholder {
    color: #999;
}

.board-write .input-wrap .char-count {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
}

.board-write .textarea-wrap {
    position: relative;
}

.board-write .textarea-wrap textarea {
    width: 100%;
    height: 300px;
    padding: 15px 50px 15px 15px;
    border: 1px solid #D4D4D4;
    border-radius: 16px;
    font-size: 16px;
    color: #333;
    resize: none;
}

.board-write .textarea-wrap textarea::placeholder {
    color: #999;
}

.board-write .textarea-wrap .char-count {
    position: absolute;
    right: 15px;
    bottom: 15px;
    font-size: 14px;
    color: #999;
}

.board-write .file-wrap {
    display: flex;
    gap: 10px;
}

.board-write .file-wrap .file-name {
    width: 340px;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #D9D9D9;
    border-radius: 16px;
    font-size: 16px;
    color: #333;
    background: #fff;
}

.board-write .file-wrap .file-name::placeholder {
    color: #999;
}

.board-write .btn-file {
    display: flex;
    height: 48px;
    padding: 10px 24px;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background: #B2B2B2;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
}

.board-write .file-info {
    margin-top: 10px;
    font-size: 14px;
    color: #999;
}

.write-btn-wrap {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 80px 0;
}

@media screen and (max-width: 750px) {
    .board-write-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .board-write {
        padding-top: 0;
    }

    .board-write .write-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px 0;
    }

    .board-write .write-row.row-content .write-label {
        padding-top: 0;
    }

    .board-write .write-label {
        width: 100%;
    }

    .board-write .write-content {
        width: 100%;
    }

    .board-write .select-wrap select {
        width: 100%;
    }

    .board-write .file-wrap {
        flex-direction: column;
    }

    .board-write .file-wrap .file-name {
        width: 100%;
    }

    .write-btn-wrap {
        margin: 40px 0;
    }

    .write-btn-wrap .btn-cancel,
    .write-btn-wrap .btn-gradient {
        flex: 1;
    }
}

/* ========================================
   카테고리 탭
======================================== */
.border-category-tab {
    margin-bottom: 40px;
}

.category-tab {
    display: flex;
    gap: 4px;
    align-items: center;
}

.category-tab-item {
    flex-shrink: 0;
}

.category-tab-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 36px;
    border-radius: 12px 12px 0 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.72px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    background: #F7F7F7;
    border-bottom: 1px solid #E5E5E5;
}

.category-tab-item.is-active .category-tab-link {
    background: #fff;
    color: #0064A2;
    border: 2px solid #0064A2;
    border-bottom: 1px solid transparent;
}

.category-tab-link:hover {
    color: #0064A2;
}

@media screen and (max-width: 750px) {
    .border-category-tab {
        margin-bottom: 20px;
    }

    .category-tab {
        gap: 4px;
        overflow-x: auto;
    }

    .category-tab-link {
        padding: 8px 20px;
        font-size: 16px;
        letter-spacing: -0.64px;
    }
}



/* ========================================
   학사일정 캘린더
======================================== */
.calendar-month-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
}

.calendar-month-nav .btn-month-prev,
.calendar-month-nav .btn-month-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.calendar-month-nav .month-text {
    width: 180px;
    font-size: 44px;
    font-weight: 600;
    color: #222;
    text-align: center;
    letter-spacing: -1.76px;
}

.calendar-layout {
    display: flex;
    gap: 60px;
}

.calendar-col {
    flex-shrink: 0;
    width: 460px;
}

.schedule-col {
    flex: 1;
    min-width: 0;
}

.calendar-wrap {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.calendar-header {
    display: flex;
    height: 58px;
    border-bottom: 1px solid #CCC;
}

.calendar-header span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% / 7);
    font-size: 18px;
    font-weight: 500;
    color: #222;
    letter-spacing: -0.72px;
}

.calendar-body {
    display: flex;
    flex-wrap: wrap;
}

.calendar-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: calc(100% / 7);
    aspect-ratio: 1 / 0.974;
}

.calendar-date span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 16px;
    font-weight: 500;
    color: #222;
    text-align: center;
    letter-spacing: -0.64px;
    border-radius: 50%;
}

.calendar-date.today span {
    background: #173557;
    color: #fff;
}

.calendar-date.empty span {
    visibility: hidden;
}

.calendar-date::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
}

.calendar-date.has-event::after {
    background: #89C200;
}

.tbl-schedule tbody tr td:nth-of-type(2) {
    text-align: left;
}

@media screen and (max-width: 750px) {
    
    .calendar-month-nav {
        gap: 16px;
        margin-bottom: 24px;
    }

    .calendar-month-nav .month-text {
        width: auto;
        font-size: 28px;
    }

    .calendar-layout {
        flex-direction: column;
        gap: 40px;
    }

    .calendar-col {
        width: 100%;
    }

    .calendar-header {
        height: 44px;
    }

    .calendar-header span {
        font-size: 14px;
    }

    .calendar-date span {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .calendar-date::after {
        width: 5px;
        height: 5px;
    }

    [data-panel="regulation"] .info-box b.w-75 {
        width: 50px !important;
    }
}