@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}


/* 공통 스타일 */
:root {
    --user-bar-height: 34px;
    --navbar-height: 89.5px;
    --header-height: calc(var(--user-bar-height) + var(--navbar-height));
    --footer-height: 110px;
    --primary-color: #FF007F;
    --primary-color-dark: #D10068;
    --primary-color-darker: #B5005A;
    --secondary-color: #00F5D4;
    --secondary-color-hover: #00C4AA;
    --bs-font-sans-serif: "Pretendard", sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
}

html {
    scroll-padding-top: var(--header-height);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.link-primary:hover,
.link-primary:focus,
.link-primary:active {
    color: var(--primary-color) !important;
    -webkit-text-decoration-color: var(--primary-color) !important;
    text-decoration-color: var(--primary-color) !important;
    text-decoration: underline !important;
}

.mb-6 {
  margin-bottom: 4.5rem !important;
}
.my-6 {
  margin-top: 4.5rem !important;
  margin-bottom: 4.5rem !important;
}
.mb-7 {
  margin-bottom: 6rem !important;
}

.btn {
    border-radius: 0;
}

.btn:not(.btn-sm) {
    --bs-btn-font-size: 1.0625rem;
    --bs-btn-line-height: 1.65;
    --bs-btn-padding-y: 0.6rem;
    --bs-btn-padding-x: 1.2rem;
}

.btn-primary {
    color: var(--primary-color);
    background-color: #fff;
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #fff !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary.w-100 {
    --bs-btn-padding-y: 0.375rem;
}

.btn-outline-secondary {
    --bs-btn-color: #718096;
    --bs-btn-border-color: #a0aec0;
    --bs-btn-hover-bg: #a0aec0;
    --bs-btn-hover-border-color: #a0aec0;
    --bs-btn-active-bg: #a0aec0;
    --bs-btn-active-border-color: #a0aec0;
}

.btn.btn-duplicate-check {
    font-size: .8em;
    --bs-btn-padding-y: 0.4rem;
    --bs-btn-padding-x: 0.8rem;
}

.list-style-vertical {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.list-style-vertical li {
    position: relative;
    padding-left: 0.5rem;
}

.list-style-vertical li+li {
    margin-top: .25rem;
}

.list-style-vertical li::before {
    content: "";
    top: 5px;
    left: 0;
    width: 2px;
    height: 14px;
    position: absolute;
    background-color: var(--primary-color);
}

.list-style-vertical li span {
    width: 70px;
    flex-shrink: 0;
    flex-grow: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

label.fw-bold {
    font-weight: 600 !important;
}

.form-control,
.form-select-sm {
    border-radius: 0;
}

body {
    letter-spacing: -0.02rem;
    font-size: 1.0625rem;
}

/* 상단 메뉴바 */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.navbar {
    padding: 0;
}

.navbar .container {
    position: relative;
}

.navbar-brand {
    position: absolute;
}

.navbar-nav#menu {
    margin: 0 0 0 auto;
}

/* 본문 바로가기 */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 1050;
    background: #fff;
    color: #212529;
}
.skip-link:focus {
    left: 0;
    top: 0;
}


/* 회원 메뉴 바 */
.user-bar {
    height: var(--user-bar-height);
}

.user-bar .container {
    display: flex;
    justify-content: flex-end;
    height: 100%;
}

.user-bar .user-menu {
    flex-direction: row;
    align-items: center;
    height: 100%;
    margin: 0;
}

.user-bar .user-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0 0.5rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8rem;
    line-height: 1;
}

.user-bar .user-menu .nav-item:last-child .nav-link {
    padding-right: 0;
}

.user-bar .user-menu .nav-link i {
    font-size: 0.85rem;
}

.user-bar .user-menu .nav-link:hover,
.user-bar .user-menu .nav-link:focus,
.user-bar .user-menu .nav-link:active {
    color: #fff;
}


/* 로고 */
.navbar-brand img {
    width: 180px;
}


/* 메인 메뉴 */
.navbar-nav#menu .nav-link {
    padding: 2rem;
    color: var(--bs-dark-rgb);
}

.navbar-nav#menu .nav-link:hover,
.navbar-nav#menu .nav-link:focus,
.navbar-nav#menu .nav-link:active {
    color: #fff;
    background-color: var(--primary-color);
}


/* 본문 */
main {
    padding-top: var(--header-height);
}


/* 푸터 */
footer {
    padding: 2.5rem 0;
}
footer .logo img {
    width: 150px;
}
footer .copyright {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.01rem;
}


/* 메인 */
/* 슬라이드 */
#mainSlide .carousel-item img {
    width: 100%;
    height: calc(100vh - var(--header-height) - var(--footer-height));
    object-fit: cover;
}
.slide-pattern {
    position: absolute;
    inset: 0;
    background-image:
        url("/img/main/pattern_slash.svg"),
        linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35));
    background-repeat: repeat, no-repeat;
    pointer-events: none;
}
.slide-pattern--dark {
    background-image:
        url("/img/main/pattern_slash.svg"),
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55));
}
#mainSlide .carousel-caption {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    font-family: 'GMarketSans';
    opacity: 0;
}
#mainSlide .carousel-item.active .carousel-caption {
    animation: caption-fade-in 1.5s ease 0.3s forwards;
}
@keyframes caption-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
#mainSlide .carousel-caption p {
    margin-bottom: 0;
}
#mainSlide .carousel-caption .slide-sm {
    margin-bottom: 0.85rem;
    font-size: 1rem;
    letter-spacing: 0.14rem;
}
#mainSlide .carousel-caption .slide-title {
    margin: 0;
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 1.2;
}
#mainSlide .carousel-caption .slide-desc {
    font-size: 1.35rem;
    font-weight: 300;
}
#mainSlide .carousel-caption .btn-group {
    gap: .5rem;
    margin-top: 2rem;
}
#mainSlide .carousel-caption .btn {
    width: 130px;
    font-family: "Pretendard", sans-serif;
    font-weight: 300;
    color: #fff;
    border-color: #fff;
}
#mainSlide .carousel-caption .btn:hover,
#mainSlide .carousel-caption .btn:focus,
#mainSlide .carousel-caption .btn:active {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}


.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}


/* 회원 페이지 공통 */
.user__header .title {
    margin-bottom: 0;
    font-size: 2rem;
    font-weight: 600;
}


/* 회원가입 */
.register-container #registerForm {
    max-width: 550px;
    margin: 0 auto;
}


/* 로그인 */
.login-container .text-danger,
.login-container #loginForm {
    max-width: 550px;
    margin: 0 auto;
}
.login-find {
    text-align: center;
    font-size: 0.9rem;
}
.login-find a {
    position: relative;
    color: var(--bs-body-color);
}
.login-find a:hover,
.login-find a:focus,
.login-find a:active {
    color: var(--primary-color);
}
.login-find a + a {
    margin-left: 20px;
}
.login-find a + a::before {
    content: "";
    height: 13px;
    position: absolute;
    top: 3px;
    left: -12px;
    border-left: 1px solid var(--bs-body-color);
}


/* 아이디 찾기 */
.user-find-id-container {
    max-width: 424px;
    margin: 0 auto;
}


/* 비밀번호 찾기 */
.password-find-container #findPasswordForm {
    max-width: 400px;
    margin: 0 auto;
}


/* 비밀번호 변경 */
.password-reset-container {
    max-width: 500px;
    margin: 0 auto;
}


/* 마이페이지 */
.mypage-container .list-style-vertical li {
    display: flex;
    align-items: center;
}

.profile-img img {
    width: 110px;
}

.mypage-nickname {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}


/* 회원정보 변경 */
.user-edit-container #userEditForm {
    max-width: 550px;
    margin: 0 auto;
}


.nav-pills {
    --bs-nav-pills-link-active-bg: var(--primary-color);
}
.nav-fill .nav-item .nav-link:hover {
    background-color: rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity));
}
.nav-fill .nav-item .nav-link.active {
    color: var(--bs-nav-pills-link-active-color) !important;
    background-color: var(--bs-nav-pills-link-active-bg) !important;
}

/* 필수 입력 란 라벨 우측 별표 */
.form-label.required::after {
    content: " *";
    color: #dc3545;
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.2rem;
    font-weight: bold;
    line-height: 1em;
}

/* 입력 란 플레이스 홀더 */
.form-control::placeholder {
    color: #adb5bd;
}

/* 안내 문구 */
.form-text::before {
    font-family: "bootstrap-icons";
    content: "\f431";
    display: inline-block;
    vertical-align: middle;
    margin-top: -3px;
    margin-right: 0.3rem;
    font-size: 1em;
    line-height: 1;
}



/* 비밀번호 보이기 버튼 */
.input-group .toggle-password {
    border: none;
    background: none;
    z-index: 5;
    padding: 0;
}
.input-group .toggle-password i {
    font-size: 1.15rem;
}

/* 프로필 이미지 */
#userEditForm img.profile {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* 프로필 이미지 삭제 버튼 */
.btn-profile-delete {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(10%, -10%); 
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 10;
}
.btn-profile-delete .bi {
    font-size: 1.5rem;
    color: #333;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    line-height: 1;
    transition: color 0.2s ease-in-out;
}
.btn-profile-delete:hover .bi {
    color: #0d6efd;
}

/* 토스트 팝업 */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.toast-message {
    background-color: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-size: 14px;
    font-family: sans-serif;
    text-align: center;
    animation: fadeInOutCenter 2.8s forwards; 
}

@keyframes fadeInOutCenter {
    0% { opacity: 0; transform: translateY(-20px); }
    15% { opacity: 1; transform: translateY(0); }
    85% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}


/* 서브 페이지 공통 */
.sub__header .title {
    margin-bottom: 0;
    font-size: 2.2rem;
    font-weight: 600;
}


/* 게시판 목록 */
.board-container .badge {
    font-weight: 600;
}
.board-container .badge.bg-dark {
    font-weight: 500;
}

.board-container .card .ratio {
    overflow: hidden;
}
.board-container .card .card-img-top {
    transition: transform 0.3s ease;
}
.board-container .card > a:hover .card-img-top {
    transform: scale(1.1);
}
.board-container .card-body .card-title {
    font-size: 1.4rem;
}
.board-container .card > a:hover .card-title {
    color: var(--primary-color);
}



.board-container table {
    width: 100%;
    font-size: 0.95rem;
    table-layout: fixed;
}
.board-container table th:first-child {
    width: 90px;
}
.board-container table th:nth-child(3),
.board-container table th:nth-child(4) {
    width: 130px;
}
.board-container table th.hit {
    width: 90px;
}
.board-container table .comment_count {
    font-weight: 600;
}
.board-search form {
    max-width: 500px;
    width: 100%;
}

/* 게시글 좋아요 */
.like-count {
    font-size: 0.7rem;
}

/* 페이지네이션 */
.page-num-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    color: #212529;
    border: 1px solid #fff;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out;
}
.page-num-link:hover {
    background-color: #e5e7ea;
}
.page-num-link.active {
    font-weight: 600;
    color: #212529;
    background-color: #e5e7ea;
    border-color: #e5e7ea;
    cursor: default;
}

/* 블로그형 게시판 목록 */
.board-blog-container .card > .row > .col {
    min-width: 0;
}

.board-blog-container .card-body .badge.category-6 { background-color: #3498db !important; }
.board-blog-container .card-body .badge.category-7 { background-color: #2ecc71 !important; }
.board-blog-container .card-body .badge.category-8 { background-color: #f1c40f !important; }

.board-blog-container .card-body > a:focus,
.board-blog-container .card-body > a:hover {
    color: initial !important;
    text-decoration: none !important;
}
.board-blog-container .card-body .card-title,
.board-blog-container .card-body .card-title {
    font-size: 1.2rem;
}
.board-blog-container .card-body > a:focus .card-title,
.board-blog-container .card-body > a:hover .card-title {
    color: var(--primary-color);
    text-decoration: underline !important;
}
.board-blog-container .card-body .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1;
    text-overflow: ellipsis;
}
.board-blog-container .card .col-auto {
    width: 130px;
    max-width: 130px;
}
.board-blog-container .card #thumb {
    overflow: hidden;
}
.board-blog-container .card #thumb img {
    transition: transform 0.3s ease;
}
.board-blog-container .card .col-auto > a:hover #thumb img {
    transform: scale(1.1);
}


/* 게시글 쓰기 에디터 */
.editor-wrapper #editor {
    height: 400px;
    font-size: 16px;
}


/* 게시글 상세 */
.board-view__board .title,
.board-write__board .title,
.board-edit__board .title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6c757d;
}
.board-view__header .title,
.board-write__header .title,
.board-edit__header .title {
    font-size: 2rem;
    line-height: 1.3;
}
.board-view__header .bottom {
    color: #6c757d;
}

/* 게시글 본문 영역 */
.board-view__content p {
    margin-bottom: 0;
    padding-bottom: 0.6rem;
}
.board-view__content p:empty + p:empty,
.board-view__content p:has(> br:only-child) + p:has(> br:only-child) {
    padding-bottom: 1.2rem;
}

/* 블로그형 게시글 상세 */
.board-blog-view-container .board-view__header .title {
    font-size: 1.6rem;
}


/* 게시글 댓글 */
.board-view__comment_list .profile_image {
    width: 48px;
    height: 48px;
}
.board-view__comment_list .regdate {
    font-size: 0.75rem;
}
.board-view__comment_list .comment-edited {
    margin-left: 0.35rem;
}
.board-view__comment_list button {
    font-size: 0.75rem;
    text-decoration: none;
}
.board-view__comment_list .comment-item.is-editing .btn-group {
    display: none;
}
.board-view__comment_list .edit-comment-form {
    width: 100%;
}
.board-view__comment_list .edit-comment-count {
    margin-bottom: 6px;
    text-align: right;
}
.board-view__comment_list .edit-comment-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 0.875rem;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-width: 2px;
    outline: none;
}
.board-view__comment_list .edit-comment-form textarea:focus {
    border-color: var(--bs-border-color);
    outline: none;
    box-shadow: none;
}
.board-view__comment_list .edit-comment-form__actions {
    margin-top: 5px;
    text-align: right;
}

/* 댓글 입력 */
.board-view__comment_insert .comment-inbox {
    position: relative;
    padding: 35px 55px 15px 15px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-width: 2px;
}
.board-view__comment_insert .nickname {
    top: 12px;
    left: 15px;
    position: absolute;
    font-weight: 600;
}
.board-view__comment_insert #commentCount {
    top: 12px;
    right: 20px;
    position: absolute;
    display: none;
}
.board-view__comment_insert textarea {
    height: 63px;
    padding: 0;
    font-size: 0.875rem;
    border: none;
}
.board-view__comment_insert textarea:focus {
    box-shadow: none;
}
.board-view__comment_insert #btnWriteComment {
    right: 20px;
    bottom: 15px;
    position: absolute;
    padding: 0;
    font-size: .875em;
    font-weight: 600;
}


/* 카카오맵 */
.board-view__map #map {
    width: 100%;
    aspect-ratio: 3 / 1;
}

.board-view__address p {
    font-size: 1.05rem;
    font-weight: 600;
    color: #4a5568;
}
.board-view-container .board-view__content {
    min-height: 300px;
    line-height: 1.7;
    white-space: pre-wrap;
}
.board-view-container .board-view__content :is(h1, h2, h3) {
    margin-bottom: 1rem;
}
.board-view-container .board-view__content h3 {
    font-size: 1.5rem;
}
.board-view-container .board-view__content :is(h1, h2, h3) strong {
    font-weight: 600;
}
.board-view-container .board-view__content table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: normal;
}
.board-view-container .board-view__content th,
.board-view-container .board-view__content td {
    padding: 0.6rem 0.75rem;
    border: 1px solid #e2e8f0;
    vertical-align: top;
    white-space: normal;
}
.board-view-container .board-view__content th {
    background-color: #f7f8fa;
    font-weight: 600;
    text-align: left;
}
.board-view-container .board-view__content img,
.ql-editor img {
    max-width: 100%;
    height: auto;
}

/* 이미지 슬라이드 */
.board-view__image .carousel-item img {
    width: 100%;
    aspect-ratio: 16 / 9; 
    object-fit: cover; 
    object-position: center;
}
.board-view__image .custom-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    border: none !important;
    margin: 0 5px !important;
    transition: all 0.3s ease;
}
.board-view__image .custom-indicators button:hover {
    background-color: rgba(255, 255, 255, 1) !important;
}
.board-view__image .custom-indicators .active {
    background-color: rgba(255, 255, 255, 1) !important;
}


/* 이미지 업로드 공통 스타일 */
.upload-box,
#detailAddBox {
    width: calc((100% - (20px * 2)) / 5);
    aspect-ratio: 1 / 1;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    font-size: 2em;
    color: #ccc;
}
.upload-box:hover,
#detailAddBox:hover {
    border-color:#999;
    color:#999;
}
#thumbnailPreview img,
#detailPreview .detail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#thumbnailPreview .delete-btn,
#detailPreview .detail-item .detail-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #FF007F;
    color: white;
    cursor: pointer;
    font-size: 15px;
}
#thumbnailPreview .delete-btn:hover,
#detailPreview .detail-item .detail-remove:hover {
    background: #D10068;
}

/* 대표 이미지 */
#thumbnailPreview {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* 상세 이미지 */
.image-count {
    margin-top: 10px;
    margin-left: 10px;
    font-size: 14px;
    color: #666;
}
#detailPreview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
#detailPreview .detail-item {
    flex: 0 0 calc((100% - (20px * 2)) / 5);
    aspect-ratio: 1 / 1;
    position: relative;
}


/* 태블릿 이하 */
@media (max-width: 991px) {
    :root {
        --navbar-height: 64px;
    }

    .navbar .container {
        display: flex;
        align-items: center;
        min-height: var(--navbar-height);
    }

    .navbar-brand {
        position: static;
    }

    .navbar-brand img {
        width: 140px;
    }

    .navbar-toggler {
        margin-left: auto;
        border: 0;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-color: var(--primary-color);
        background-image: none;
        -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") center / contain no-repeat;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    }

    .navbar-nav#menu {
        width: 100%;
        margin: 0;
    }

    .navbar-nav#menu .nav-link {
        padding: 0.9rem 1.25rem;
    }

    #mainSlide .carousel-caption .slide-title {
        font-size: 3.4rem;
    }

    #mainSlide .carousel-caption .slide-desc {
        font-size: 1.15rem;
    }
}

/* 모바일 */
@media (max-width: 767px) {
    .mb-3 {
        margin-bottom: 0.85rem !important;
    }

    .mb-4 {
        margin-bottom: 1.25rem !important;
    }

    .my-4 {
        margin-top: 1.25rem !important;
        margin-bottom: 1.25rem !important;
    }

    .pt-4 {
        padding-top: 1.25rem !important;
    }

    .pb-4 {
        padding-bottom: 1.25rem !important;
    }

    .mt-4 {
        margin-top: 1.25rem !important;
    }

    .p-4 {
        padding: 1.25rem !important;
    }

    .py-3 {
        padding-top: 0.85rem !important;
        padding-bottom: 0.85rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .mt-5 {
        margin-top: 2rem !important;
    }

    .my-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .p-5 {
        padding: 2rem !important;
    }

    .mb-6,
    .my-6 {
        margin-bottom: 3rem !important;
    }

    .my-6 {
        margin-top: 3rem !important;
    }

    .gy-5 {
        --bs-gutter-y: 2rem;
    }

    #mainSlide .carousel-item img {
        height: calc(100svh - var(--header-height));
        min-height: 460px;
    }

    #mainSlide .carousel-caption {
        left: 1.25rem;
        right: 1.25rem;
    }

    #mainSlide .carousel-caption .slide-sm {
        margin-bottom: 0.55rem;
        font-size: 0.85rem;
        letter-spacing: 0.08rem;
    }

    #mainSlide .carousel-caption .slide-title {
        font-size: 2.6rem;
    }

    #mainSlide .carousel-caption .slide-desc {
        font-size: 1rem;
        line-height: 1.45;
    }

    #mainSlide .carousel-caption .btn-group {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 1.35rem;
    }

    #mainSlide .carousel-caption .btn {
        width: 100px;
        font-size: 0.9rem;
    }

    #mainSlide .carousel-control-prev,
    #mainSlide .carousel-control-next {
        display: none;
    }

    footer {
        padding: 1.75rem 0;
    }

    footer .container {
        flex-direction: column;
        align-items: center !important;
        gap: 0.75rem;
        text-align: center;
    }

    footer .logo img {
        width: 120px;
    }

    footer .copyright {
        font-size: 0.8rem;
    }


    /* 마이페이지 */
    .mypage-container .profile-box {
        flex-direction: column;
        gap: 1rem;
    }
    .mypage-container .profile-box .profile-details {
        margin-left: 0 !important;
    }


    /* 게시판 공통 */
    .board-search {
        flex-direction: column;
        gap: 1rem;
    }

    nav:has(.page-num-link) {
        flex-wrap: wrap;
        row-gap: 0.5rem !important;
    }

    .board-container table th:nth-child(1),
    .board-container table td:nth-child(1),
    .board-container table th:nth-child(3),
    .board-container table td:nth-child(3) {
        display: none;
    }

    .board-container table th:nth-child(4) {
        width: 100px;
    }

    .notice-pin {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }

    .upload-box,
    #detailAddBox {
        width: calc((100% - 20px) / 3);
    }

    #detailPreview .detail-item {
        flex: 0 0 calc((100% - 20px) / 3);
    }

    .board-search form {
        max-width: none;
    }

    .board-search > a.btn {
        position: relative !important;
        right: auto !important;
        width: 100%;
    }

    .board-write__footer > .btn,
    .board-edit__footer > .btn {
        flex: 1 1 50%;
    }

    .board-blog-container .card > .row {
        flex-wrap: wrap !important;
        flex-direction: column;
    }

    .board-blog-container .card > .row > .col-auto {
        flex: 0 0 100%;
        width: 100%;
        max-width: none;
        order: -1;
    }

    .board-blog-container .card #thumb {
        --bs-aspect-ratio: 50%;
        margin-bottom: 1rem;
    }

    .board-blog-container .card .card-body {
        padding-right: 0 !important;
    }


    /* 게임소개 */
    #boardgameTab .nav-item {
        flex: 1 1 calc(50% - 0.25rem);
    }


    /* 지점소개 */
    .board-view__map #map {
        aspect-ratio: 16 / 9;
    }
}
