/* Group Curriculum Styles */

.gc-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: sans-serif;
    color: #292929;
}

.gc-title {
    color: #292929;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.5em;
    line-height: 1.2;
}

.gc-meta {
    color: #808F88;
    /* Sage Green */
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 1px;
}

.gc-video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
    background: #000;
    border-radius: 8px;
}

.gc-container {
    margin-bottom: 60px;
    /* Space between items in list */
    padding-bottom: 40px;
    border-bottom: 1px solid #ddd;
}

.gc-video-container iframe,
.gc-video-facade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    background-repeat: no-repeat;
}

.gc-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(33, 33, 33, 0.9);
    border-radius: 12px;
    transition: background-color 0.2s ease;
    z-index: 2;
}

.gc-play-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 2px;
}

.gc-video-facade:hover .gc-play-button {
    background-color: #EA4B21;
    /* Accent Color on hover */
}

.gc-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
    flex-wrap: wrap;
}

.gc-button {
    flex: 1;
    min-width: 140px;
    padding: 10px 15px;
    text-decoration: none !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9em;
    text-align: center;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.gc-button:hover {
    opacity: 0.9;
}

/* Primary Color: Orange/Red */
.gc-btn-curriculum {
    background-color: #EA4B21;
    color: #fff !important;
}

.gc-btn-curriculum:hover {
    background-color: #c93e1b;
    /* Darken slightly */
    color: #ffffff;
}

/* Secondary Color: Sage Green */
.gc-btn-notes {
    background-color: #808F88;
    color: #fff !important;
}

.gc-btn-notes:hover {
    background-color: #6a7872;
    /* Darken slightly */
    color: #ffffff;
}

/* Group Curriculum Grid Styles */

.gc-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 20px 0;
}

.gc-item-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gc-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.gc-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .gc-buttons {
        flex-direction: column;
    }

    .gc-button {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .gc-grid-container {
        grid-template-columns: 1fr;
    }
}