/* 그누보드 테마 레이아웃 맞춤 교정 (1단 Full Wide) */
#aside {
    display: none !important;
}
#container {
    width: 1200px !important;
    float: none !important;
    margin: 20px auto !important;
}
#container_title {
    display: none !important;
}
@media (max-width: 1200px) {
    #container {
        width: 100% !important;
        padding: 0 15px !important;
    }
}

/* Premium Tour Common CSS - HSL Forest/Nature Palette */
:root {
    --tour-primary: hsl(152, 60%, 25%);
    --tour-primary-hover: hsl(152, 65%, 20%);
    --tour-primary-light: hsl(152, 20%, 95%);
    --tour-accent: hsl(28, 90%, 55%);
    --tour-bg-glass: rgba(255, 255, 255, 0.85);
    --tour-border: hsl(210, 14%, 90%);
    --tour-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 8px -1px rgba(0, 0, 0, 0.03);
    --tour-card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --tour-font-sans: 'Outfit', 'Inter', 'Noto Sans KR', sans-serif;
}

.tour-wrapper {
    font-family: var(--tour-font-sans);
    color: hsl(210, 10%, 20%);
    margin: 20px 0 50px;
}

.tour-hero {
    background: linear-gradient(135deg, hsl(152, 65%, 15%) 0%, hsl(152, 60%, 30%) 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--tour-shadow);
}

.tour-hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    top: -100px;
    right: -50px;
    border-radius: 50%;
}

.tour-hero h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.tour-hero p {
    font-size: 14px;
    opacity: 0.85;
    margin: 0;
    line-height: 1.6;
}

/* Filter Bar Glassmorphic Style */
.tour-filter-bar {
    background: var(--tour-bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--tour-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: var(--tour-shadow);
}

.filter-section-title {
    font-size: 13px;
    font-weight: 700;
    color: hsl(152, 60%, 20%);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.filter-tag {
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid var(--tour-border);
    background: #ffffff;
    color: hsl(210, 10%, 45%);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-tag:hover {
    background: var(--tour-primary-light);
    border-color: var(--tour-primary);
    color: var(--tour-primary);
}

.filter-tag.active {
    background: var(--tour-primary);
    border-color: var(--tour-primary);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(30, 70, 32, 0.25);
}

/* Search & Toggle Box */
.search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    border-top: 1px solid var(--tour-border);
    padding-top: 20px;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.search-input-wrapper input {
    width: 100%;
    height: 42px;
    padding: 0 16px 0 40px;
    border-radius: 8px;
    border: 1px solid var(--tour-border);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.search-input-wrapper input:focus {
    border-color: var(--tour-primary);
}

.search-input-wrapper i {
    position: absolute;
    left: 14px;
    top: 14px;
    color: hsl(210, 10%, 60%);
}

.pet-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid var(--tour-border);
    background: #ffffff;
    color: hsl(210, 10%, 35%);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.pet-toggle-btn.active {
    background: hsl(152, 10%, 93%);
    border-color: hsl(152, 60%, 40%);
    color: hsl(152, 60%, 20%);
}

.pet-toggle-btn i {
    color: #2e7d32;
}

.search-submit-btn {
    height: 42px;
    padding: 0 24px;
    background: var(--tour-primary);
    color: #ffffff;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.search-submit-btn:hover {
    background: var(--tour-primary-hover);
}

/* Listing Grid & Cards */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

@media (min-width: 640px) {
    .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .tour-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.tour-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--tour-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--tour-shadow);
    position: relative;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--tour-card-shadow-hover);
    border-color: hsl(152, 30%, 80%);
}

.card-img-wr {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: hsl(210, 15%, 95%);
}

.card-img-wr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card:hover .card-img-wr img {
    transform: scale(1.06);
}

/* Badges */
.type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
    z-index: 2;
}

.pet-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: hsl(152, 60%, 93%);
    border: 1px solid hsl(152, 60%, 80%);
    color: hsl(152, 60%, 25%);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: hsl(210, 10%, 15%);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.card-title a:hover {
    color: var(--tour-primary);
}

.card-addr {
    font-size: 12px;
    color: hsl(210, 10%, 45%);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.card-footer {
    border-top: 1px solid var(--tour-border);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-region {
    font-size: 11px;
    color: hsl(152, 50%, 30%);
    font-weight: 600;
}

.card-btn {
    font-size: 11px;
    font-weight: 700;
    color: var(--tour-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s;
}

.card-btn:hover {
    transform: translateX(3px);
}

/* Custom Pagination Style */
.tour-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.tour-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 36px;
    padding: 0 6px;
    border-radius: 8px;
    border: 1px solid var(--tour-border);
    background: #ffffff;
    color: hsl(210, 10%, 40%);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.tour-page-link:hover {
    background: var(--tour-primary-light);
    color: var(--tour-primary);
    border-color: var(--tour-primary);
}

.tour-page-link.active {
    background: var(--tour-primary);
    color: #ffffff;
    border-color: var(--tour-primary);
}

/* Premium Detail Page CSS */
.detail-wrapper {
    font-family: 'Outfit', 'Inter', 'Noto Sans KR', sans-serif;
    margin: 20px 0 60px;
}

/* Breadcrumbs */
.detail-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: hsl(210, 10%, 55%);
    margin-bottom: 20px;
}

.detail-nav a {
    color: inherit;
    text-decoration: none;
}

.detail-nav a:hover {
    color: hsl(152, 60%, 25%);
}

/* Page Header */
.detail-header {
    margin-bottom: 30px;
    border-bottom: 1px solid hsl(210, 14%, 90%);
    padding-bottom: 20px;
}

.detail-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.detail-badge {
    font-size: 11px;
    font-weight: 700;
    background: hsl(152, 60%, 25%);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 30px;
}

.detail-region-badge {
    font-size: 11px;
    font-weight: 700;
    background: hsl(210, 10%, 93%);
    color: hsl(210, 10%, 35%);
    padding: 4px 12px;
    border-radius: 30px;
}

.detail-title {
    font-size: 28px;
    font-weight: 850;
    color: hsl(210, 10%, 15%);
    margin: 0;
    letter-spacing: -0.8px;
    line-height: 1.3;
    width: 100%;
}

.detail-meta {
    font-size: 13px;
    color: hsl(210, 10%, 50%);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
}

.detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Visual Grid Layout: Left Gallery / Right Metadata */
.detail-visual-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 1024px) {
    .detail-visual-grid {
        grid-template-columns: 3fr 2fr;
    }
}

/* Premium Image Slideshow */
.gallery-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 380px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    background: #f8fafc;
}

.gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.gallery-slide.active {
    display: block;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s;
}

.gallery-nav-btn:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.gallery-nav-prev { left: 16px; }
.gallery-nav-next { right: 16px; }

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.thumb-item {
    width: 70px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    opacity: 0.6;
    transition: all 0.2s;
}

.thumb-item.active, .thumb-item:hover {
    border-color: hsl(152, 60%, 25%);
    opacity: 1;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact & Properties Table Box */
.metadata-card {
    background: #ffffff;
    border: 1px solid hsl(210, 14%, 88%);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.metadata-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: hsl(210, 10%, 15%);
    border-left: 4px solid hsl(152, 60%, 25%);
    padding-left: 10px;
}

.meta-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.meta-table tr {
    border-bottom: 1px solid hsl(210, 14%, 93%);
}

.meta-table tr:last-child {
    border-bottom: none;
}

.meta-table th {
    text-align: left;
    color: hsl(210, 10%, 50%);
    font-weight: 700;
    padding: 14px 16px 14px 0;
    width: 130px;
    vertical-align: top;
}

.meta-table td {
    padding: 14px 0;
    color: hsl(210, 10%, 20%);
    line-height: 1.6;
    vertical-align: top;
}

.meta-table td a {
    color: hsl(152, 60%, 25%);
    font-weight: 600;
    text-decoration: underline;
}

/* Pet Friendly Special Box */
.pet-box {
    background: hsl(152, 22%, 96%);
    border: 1px dashed hsl(152, 40%, 75%);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 40px;
}

.pet-box-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: hsl(152, 60%, 20%);
    margin-bottom: 12px;
}

.pet-box-header i {
    font-size: 18px;
}

.pet-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .pet-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pet-meta-item {
    font-size: 13px;
    line-height: 1.6;
}

.pet-meta-item strong {
    color: hsl(152, 60%, 15%);
    display: block;
    margin-bottom: 4px;
}

/* Content Layout */
.detail-body-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 18px;
    font-weight: 800;
    color: hsl(210, 10%, 15%);
    border-bottom: 2px solid hsl(210, 10%, 15%);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.overview-text {
    font-size: 14px;
    line-height: 1.8;
    color: hsl(210, 10%, 25%);
    white-space: pre-wrap;
}

/* Dynamic Kakao Map */
.map-container {
    width: 100%;
    height: 350px;
    border-radius: 14px;
    border: 1px solid hsl(210, 14%, 88%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    background: #f8fafc;
    margin-bottom: 15px;
}

.map-warning {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: hsl(210, 10%, 55%);
    text-align: center;
    padding: 20px;
}

.map-warning i {
    font-size: 28px;
    margin-bottom: 10px;
}
