.location_section {
    /* Add specific section styles if needed */
}

.location-content {
    max-width: 900px;
    margin: 20px auto;
    padding: 0px; /* No padding here, handled by inner elements */
}

.map-container {
    width: 100%;
    height: 450px; /* Adjust map height as needed */
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.location-info {
    padding: 25px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
}

.location-info h2 {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.location-info p {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.6;
    display: flex; /* Align icon and text */
    align-items: center;
}

.location-info p i.fas {
    width: 25px; /* Fixed width for icons */
    margin-right: 10px;
    color: #007bff; /* Icon color */
    text-align: center;
}

.location-info strong {
    color: #333;
    margin-right: 5px;
}

.btn-map-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #FFCD00; /* Kakao yellow */
    color: #3C1E1E; /* Kakao brown */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
}

.btn-map-link i.fas {
    margin-right: 8px;
}

.btn-map-link:hover {
    background-color: #e6b800;
    color: #3C1E1E;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .map-container {
        height: 350px;
    }
    .location-info {
        padding: 20px;
    }
    .location-info h2 {
        font-size: 1.4em;
    }
}

.location-section {
    /* Inherits sub_section styles */
}

.location_text_box {
    display: flex; /* Arrange map and table side-by-side */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 30px; /* Space between map and table */
    margin-top: 30px; /* Space below potential sub-title line */
}

.sub_map {
    flex: 1 1 500px; /* Allow map to grow, base size 500px */
    min-width: 280px; /* Minimum width */
    /* The map script controls the height */
}

/* Ensure the map container div takes space */
.root_daum_roughmap {
    width: 100% !important; /* Force width */
    max-width: 100%;
    border: 1px solid #dee2e6; /* Add a light border */
}

.location_table {
    flex: 1 1 300px; /* Allow table to grow, base size 300px */
    min-width: 280px;
}

.location_table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.location_table th, 
.location_table td {
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
}

.location_table th {
    background-color: #f8f9fa;
    font-weight: 600;
    width: 100px; /* Fixed width for headers */
    color: #495057;
    white-space: nowrap;
}

.location_table td a {
    color: var(--primary-color);
    text-decoration: none;
}

.location_table td a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .location_text_box {
        flex-direction: column; /* Stack map and table */
    }
    .sub_map, .location_table {
        flex-basis: auto; /* Reset flex basis */
    }
    .location_table th {
        width: 80px; /* Adjust header width for smaller screens */
        white-space: normal; /* Allow header text to wrap */
    }
    .location_table td {
        word-break: break-all; /* Allow long words/addresses to break */
        word-wrap: break-word; /* Ensure wrapping */
    }
} 