/* Main Variables */
:root {
    --primary-color: #FF9F1F;
    --primary-hover: #e0850b;
    --bg-light: #ffffff;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    /* Slate 900 */
    --text-muted: #64748b;
    /* Slate 500 */
    --border-color: #e2e8f0;
    /* Slate 200 */
    --radius-lg: 0px;
    /* Sharp or very small radius */
    --radius-md: 4px;
    --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

/* Base Overrides */
#mainContent {
    padding: 0 !important;
    margin-top: 0 !important;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-sans);
}

.main-container {
    max-width: 1200px !important;
    padding: 0;
    margin: 0 auto;
}

/* Hero Section */
#banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
}

#banner img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.95);
    /* Slightly darker for better text contrast if overlay */
}

/* Typography & Utilities */
h2.section-title {
    font-size: 1.125rem;
    /* 18px */
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    opacity: 0.9;
}

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

.more-link {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.more-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Cards (Flat, Bordered) */
.content-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0;
    /* Removing internal padding wrapper */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-header-custom {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0 !important;
    background-color: #f8fafc;
    /* Very light slate */
}

.section-title {
    margin-bottom: 0 !important;
    font-size: 1rem;
}

/* Notice List */
.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-item {
    border-bottom: 1px solid var(--border-color);
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item a {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    transition: background-color 0.2s;
    text-decoration: none;
    font-size: 0.95rem;
}

.notice-item a:hover {
    background-color: #f1f5f9;
    /* Slate 100 */
}

.notice-title {
    font-weight: 500;
    color: #334155;
    /* Slate 700 */
}

.notice-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: monospace;
    /* Consolas-like for dates */
}

/* Location Content */
.location-card {
    /* Inherits content-card */
}

.location-content {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.place-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    letter-spacing: -0.025em;
}

.btn-outline-custom {
    color: var(--text-main);
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-outline-custom:hover {
    border-color: var(--text-muted);
    background-color: #f8fafc;
}

/* Quick Links Grid (Grid Layout with Borders) */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns fixed */
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: white;
}

.quick-link-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-right: 1px solid var(--border-color);
    transition: background-color 0.2s;
    background-color: transparent;
    box-shadow: none !important;
    /* Force remove shadow */
    border-radius: 0;
}

.quick-link-card:last-child {
    border-right: none;
}

.quick-link-card:hover {
    background-color: #f8fafc;
    transform: none !important;
    /* Remove lift effect */
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: color 0.2s;
    /* Plain icon, no background circle in strict flat design */
    background: transparent;
}

.quick-link-card:hover .icon-wrapper {
    color: var(--primary-color);
}

.quick-link-card i {
    font-size: 1.75rem;
}

.quick-link-card span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main-container {
        padding: 0 1rem;
    }

    #banner {
        margin-bottom: 2rem;
    }

    #banner img {
        height: 200px;
    }

    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
        border-radius: var(--radius-md);
    }

    .quick-link-card:nth-child(2) {
        border-right: none;
    }

    .quick-link-card:nth-child(1),
    .quick-link-card:nth-child(2) {
        border-bottom: 1px solid var(--border-color);
    }
}