/* Communities of Practice Page Styles */

.cop-page {
    --cop-primary: #3a6b4a;
    --cop-primary-hover: #4a7c59;
    --cop-accent: #d4a373;
    --cop-bg: #f5f4ef;
    --cop-bg-light: #fafaf7;
    --cop-white: #ffffff;
    --cop-text-primary: #333;
    --cop-text-secondary: #666;
    --cop-text-muted: #777;
    --cop-border-light: rgba(0, 0, 0, 0.08);
    --cop-radius-lg: 16px;
    --cop-radius-md: 10px;
    --cop-radius-full: 100px;
    --cop-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: var(--cop-bg);
}

/* ── Hero Section ── */
.cop-hero {
    padding: 160px 10% 60px;
    text-align: center;
    background-color: transparent;
}

.cop-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 5rem;
    color: var(--cop-primary);
    margin-bottom: 20px;
    font-weight: 400;
}

.cop-hero-subtitle {
    font-size: 1.3rem;
    color: var(--cop-text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-style: italic;
}

/* ── About Section ── */
.cop-about-section {
    padding: 40px 5% 60px;
}

.cop-about-card {
    max-width: 900px;
    margin: 0 auto;
}

.cop-about-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--cop-text-secondary);
    margin-bottom: 24px;
}

.cop-about-content a {
    color: var(--cop-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s;
}

.cop-about-content a:hover {
    color: var(--cop-primary-hover);
}

/* ── Sessions Section ── */
.cop-sessions-section {
    padding: 60px 5% 80px;
    background: #fdfcf9;
    border-top: 1px solid var(--cop-border-light);
}

.cop-sessions-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cop-session-row {
    display: flex;
    gap: 30px;
}

.cop-session-row-single {
    justify-content: center;
}

.cop-session-card {
    flex: 1;
    background: var(--cop-white);
    border-radius: var(--cop-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: var(--cop-transition);
}

.cop-session-row-single .cop-session-card {
    flex: 0 1 calc(50% - 15px);
}

.cop-session-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(74, 124, 89, 0.1);
}

.cop-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

.cop-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cop-session-title {
    padding: 18px 22px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cop-text-primary);
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* ── Explore More Section ── */
.cop-explore-more {
    text-align: center;
    padding: 60px 5% 80px;
    background-color: transparent;
}

.cop-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--cop-primary);
    color: #ffffff !important;
    border-radius: var(--cop-radius-full);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--cop-transition);
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.2);
}

.cop-explore-btn:hover {
    background: var(--cop-primary-hover);
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.3);
    transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .cop-hero {
        padding: 120px 6% 40px;
    }

    .cop-hero h1 {
        font-size: 3.2rem;
    }

    .cop-hero-subtitle {
        font-size: 1.1rem;
    }

    .cop-about-section {
        padding: 30px 6% 40px;
    }

    .cop-session-row {
        flex-direction: column;
        gap: 20px;
    }

    .cop-session-row-single .cop-session-card {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .cop-hero h1 {
        font-size: 2.4rem;
    }
}