.ccm-course-browser {
    margin: 40px 0;
    position: relative;
}

.ccm-course-toolbar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.ccm-search-wrap input {
    width: 100%;
    min-height: 54px;
    padding: 0 20px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    font-size: 16px;
    outline: none;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.ccm-filter-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ccm-filter-button {
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    background: rgba(0, 0, 0, 0.06);
    color: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ccm-filter-button:hover,
.ccm-filter-button.active {
    background: #111;
    color: #fff;
    transform: translateY(-1px);
}

.ccm-courses-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.ccm-course-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ccm-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.14);
}

.ccm-course-image {
    display: block;
    min-height: 230px;
    background: #f4f4f4;
    overflow: hidden;
}

.ccm-course-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.ccm-course-card:hover .ccm-course-image img {
    transform: scale(1.05);
}

.ccm-placeholder-image {
    height: 240px;
    display: grid;
    place-items: center;
    font-weight: 800;
    opacity: 0.45;
}

.ccm-course-content {
    padding: 28px;
}

.ccm-course-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ccm-course-content h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.2;
}

.ccm-course-content h3 a {
    color: inherit;
    text-decoration: none;
}

.ccm-course-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 18px;
}

.ccm-course-meta {
    margin-bottom: 18px;
    font-size: 13px;
    color: #777;
}

.ccm-course-button,
.ccm-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 999px;
    background: #111;
    color: #fff !important;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.ccm-course-button:hover,
.ccm-download-button:hover {
    transform: translateY(-2px);
    opacity: 0.88;
}

.ccm-download-list {
    margin-top: 35px;
    padding: 30px;
    border-radius: 24px;
    background: #f8f8f8;
}

.ccm-download-list h3 {
    margin-top: 0;
}

.ccm-download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ccm-download-item:last-child {
    border-bottom: 0;
}

.ccm-download-item span {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #777;
}

.ccm-empty-state,
.ccm-no-files {
    padding: 24px;
    border-radius: 18px;
    background: #f7f7f7;
}

.ccm-loading .ccm-courses-results {
    opacity: 0.45;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .ccm-courses-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ccm-courses-grid {
        grid-template-columns: 1fr;
    }

    .ccm-download-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

.ccm-module-downloads {
    margin-top: 40px;
}

.ccm-module-downloads-header {
    margin-bottom: 18px;
}

.ccm-module-downloads-header h3 {
    margin: 0 0 6px;
    font-size: 28px;
}

.ccm-module-downloads-header p,
.ccm-download-note {
    color: #667085;
    margin: 0;
}

.ccm-module-card {
    margin-bottom: 24px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06);
}

.ccm-module-toggle {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 18px 20px;
    border: 0;
    background: #0f5b6b;
    color: #fff;
    cursor: pointer;
    text-align: left;
    font-weight: 800;
    font-size: 16px;
}

.ccm-module-toggle small {
    opacity: 0.8;
    font-size: 12px;
}

.ccm-module-chevron {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    transition: transform 0.2s ease;
}

.ccm-module-card.is-collapsed .ccm-module-chevron {
    transform: rotate(-90deg);
}

.ccm-module-items {
    background: #fff;
}

.ccm-module-item {
    display: grid;
    grid-template-columns: 90px 32px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 20px;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.ccm-module-item-label {
    color: #0f5b6b;
    font-weight: 800;
}

.ccm-module-item-icon {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: #f2f4f7;
    color: #344054;
    font-weight: 800;
}

.ccm-module-item-title strong {
    display: block;
    color: #0f5b6b;
    line-height: 1.35;
}

.ccm-module-item-title span {
    display: block;
    margin-top: 3px;
    color: #667085;
    font-size: 13px;
}

.ccm-download-note {
    margin-top: 12px;
    font-size: 13px;
}

@media (max-width: 700px) {
    .ccm-module-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ccm-module-item-icon {
        display: none;
    }

    .ccm-module-toggle {
        grid-template-columns: auto 1fr;
    }

    .ccm-module-toggle small {
        grid-column: 2;
    }
}
