/* Teaching Page Styles */

/* Course container styling */
.teaching-course {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Reduce gap between columns */
.teaching-course .columns {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.teaching-course .columns:first-child {
    padding-left: 0;
}

.teaching-course .columns:last-child {
    padding-right: 0;
}

.teaching-course:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Image styling */
.teaching-course img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    max-width: 85%;
    height: auto;
}

.teaching-course img:hover {
    transform: scale(1.02);
}

/* Course title styling */
.teaching-course h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

/* Course description styling */
.teaching-course p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Button styling */
.teaching-course .button {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
}

.teaching-course .button:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Responsive adjustments */
@media #{$small-only} {
    .teaching-course {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .teaching-course h2 {
        font-size: 1.3rem;
        margin-top: 1rem;
    }
}

/* Page title styling */
.teaching-page-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.teaching-page-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.teaching-page-title .subheadline {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-style: italic;
}
