/* Admissions Page Styles */

/* Hero Section */
.admission-hero {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    position: relative;
}

.admission-hero .hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.admission-hero .hero-text p {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Main Content Layout */
.admission-main {
    background: #f8f9fa;
    padding: 60px 0;
    background-image: url('../images/pattern-background.png');
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 25% auto; /* 1/6 ของหน้าจอ */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-section {
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.sidebar-button {
    background: #8B0000;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;

    font-weight: 600;
    font-size: 1.1rem;
}

.sidebar-button i:first-child {
    margin-right: 12px;
}

.sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-nav li:last-child {
    border-bottom: none;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover {
    background: #f8f9fa;
    color: #8B0000;
    padding-left: 25px;
}

.sidebar-nav i {
    margin-right: 12px;
    color: #8B0000;
    font-size: 0.9rem;
}

/* Main Content */
.main-content {
    /* background: white; */
    border-radius: 12px;
    padding: 0 40px 40px 40px;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.1); */
}

.content-header h2 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
    position: relative;
}

.content-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 200px;
    height: 4px;
    background: #FFD700;
    border-radius: 2px;
}

.content-intro {
    margin-bottom: 40px;
    padding: 20px;
    /* background: #f8f9fa; */
    /* border-radius: 8px; */
    border-left: 4px solid #8B0000;
}

.content-intro p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Content Sections */
.accreditations-section,
.local-relations-section,
.international-relations-section {
    margin-bottom: 40px;
    padding: 25px;
    /* background: #f8f9fa; */
    background: white;
    /* border-radius: 8px; */
    border-left: 4px solid #8B0000;
}

.accreditations-section h3,
.local-relations-section h3,
.international-relations-section h3 {
    color: #8B0000;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.accreditations-section ul,
.local-relations-section ul,
.international-relations-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.accreditations-section li,
.local-relations-section li,
.international-relations-section li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    line-height: 1.6;
    color: #555;
}

.accreditations-section li:last-child,
.local-relations-section li:last-child,
.international-relations-section li:last-child {
    border-bottom: none;
}

.accreditations-section li strong,
.local-relations-section li strong,
.international-relations-section li strong {
    color: #8B0000;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sidebar {
        position: static;
        order: 2;
    }
    
    .main-content {
        order: 1;
        padding: 30px 20px;
    }
    
    .admission-hero .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .admission-hero .hero-text p {
        font-size: 1.2rem;
    }
    
    .content-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .admission-hero {
        padding: 60px 15px;
    }
    
    .admission-hero .hero-text h1 {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 20px 15px;
    }
    
    .container {
        padding: 0 15px;
    }
}
