/* Formal school styling matching homepage */
:root {
    --primary: #20246b;
    --secondary: #ebf5ff;
    --tertiary: #ffcf01;
    --muted: #6b7280;
    --border: rgba(32, 36, 107, 0.08);
}

.oer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.oer-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.oer-header h3 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.oer-header p {
    color: var(--muted);
    font-size: 1rem;
}

.oer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.oer-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
    background: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    cursor: pointer;
}

.oer-card:hover {
    box-shadow: 0 6px 18px rgba(15, 35, 71, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 207, 1, 0.3);
}

.oer-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.oer-img-box {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: #f9fafb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.oer-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.oer-title {
    flex: 1;
    margin: 0;
}

.oer-title a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
}

.oer-title a:hover {
    color: var(--tertiary);
    text-decoration: underline;
}

.oer-desc {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.oer-section-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: var(--primary);
    border-left: 4px solid var(--tertiary);
    padding-left: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.oer-list {
    background: var(--secondary);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.oer-list ul {
    margin: 0;
    padding-left: 1.25rem;
}

.oer-list li {
    margin-bottom: 0.75rem;
    color: #374151;
    line-height: 1.6;
}

.oer-list a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.oer-list a:hover {
    color: var(--tertiary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .oer-container {
        padding: 1.5rem 1rem;
    }

    .oer-header h3 {
        font-size: 1.6rem;
    }

    .oer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .oer-card {
        padding: 1rem;
    }

    .oer-img-box {
        width: 70px;
        height: 70px;
    }

    .oer-section-title {
        font-size: 1.3rem;
    }
}
