.ug-course-learn-box {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0eaf3;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.ug-course-learn-header {
    background: #f9fbfd;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ug-course-learn-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2a2a2a;
    margin: 0;
}

.ug-preview-btn {
    background: #fff;
    border: 1px solid #d0e2f2;
    color: #1e88e5;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.ug-preview-btn i {
    margin-left: 4px;
}

.ug-course-learn-points {
    padding: 20px 30px;
}

.ug-course-learn-points ul {
    column-count: 2;
    column-gap: 60px;
    padding-left: 20px;
    margin: 0;
}

.ug-course-learn-points li {
    font-size: 14px;
    color: #444;
    margin-bottom: 10px;
    line-height: 1.6;
}

.ug-benefits-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background: #f4f9ff;
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    padding: 25px 30px;
    max-width: 100%;
    box-sizing: border-box;
}

.ug-benefit-item {
    color: #2a2a2a;
}

.ug-benefit-item i {
    font-size: 26px;
    color: #1e88e5;
    display: block;
    margin-bottom: 12px;
}

.ug-benefit-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e88e5;
    margin-bottom: 10px;
}

.ug-benefit-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Optional: mobile responsive fallback */
@media (max-width: 768px) {
    .ug-benefits-3col {
        grid-template-columns: 1fr;
    }
}

.ug-card {
    background: #ffffff;
    width: 360px;
    padding: 25px 25px 30px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    color: #111;
}

.ug-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2a2a2a;
}

.ug-pricing-row {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.ug-price {
    font-size: 32px;
    font-weight: 700;
    color: #1e88e5;
}

.ug-original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.ug-timer {
    color: #d32f2f;
    font-size: 14px;
    margin: 5px 0 20px;
}

.ug-buy-button {
    display: block;
    background: #1e88e5;
    color: #fff;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 16px;
}

.ug-refund {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.ug-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 20px 0;
}

.ug-section {
    text-align: left;
}

.ug-section-title {
    font-weight: 600;
    font-size: 14px;
    color: #222;
    margin-bottom: 12px;
}

.ug-features {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 14px;
    color: #333;
}

.ug-features li {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.ug-features i {
    color: #1e88e5;
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.ug-share {
    margin-top: 15px;
    text-align: center;
}

.ug-social-icons {
    margin-top: 10px;
}

.ug-social-icons a {
    display: inline-block;
    margin: 0 6px;
    width: 36px;
    height: 36px;
    background: #f1f1f1;
    border-radius: 50%;
    color: #555;
    line-height: 36px;
    text-align: center;
    font-size: 14px;
    transition: 0.3s ease;
}

.ug-social-icons a:hover {
    background: #1e88e5;
    color: #fff;
}

.ug-course-hero {
    background-size: cover;
    background-position: center;
    padding: 50px 20px 30px;
    color: #fff;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.ug-course-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.ug-hero-left .ug-video-preview {
    position: relative;
    width: 320px;
    border-radius: 8px;
    overflow: hidden;
}

.ug-video-preview img {
    width: 100%;
    display: block;
}

.ug-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.85);
    color: #000;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
}

.ug-hero-right {
    flex: 1;
}

.ug-author {
    font-size: 14px;
    color: #ccc;
}

.ug-author span {
    color: #fff;
    font-weight: 600;
}

.ug-title {
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0;
    color: white;
}

.ug-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #facc15;
}

.ug-reviews {
    color: #aaa;
    margin-left: 10px;
}

.ug-description {
    color: #eee;
    font-size: 15px;
    margin-top: 10px;
    line-height: 1.6;
}

.ug-description a {
    color: #3aa6ff;
    text-decoration: none;
}

.ug-course-meta {
    background: #000;
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    border-radius: 0 0 10px 10px;
    margin-top: 30px;
}

.ug-course-meta i {
    margin-right: 6px;
    color: #fff;
}

/* //////////////////////////////////////////////// */

.cg-card-wrapper {
    background: white;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    font-size: 14px;
    color: #333;
}

/* Video Section */
.cg-card-video {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.cg-card-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cg-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 14px;
    color: #007bff;
    font-size: 18px;
    text-align: center;
}

.cg-free-label {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    text-align: right;
}

.cg-free-label span {
    background: white;
    color: #333;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 2px;
    display: block;
}

.cg-badge-category {
    background-color: #96c93d;
    color: white;
    font-weight: bold;
    padding: 2px 6px;
    margin-top: 2px;
    border-radius: 2px;
}

.cg-brand-logo {
    position: absolute;
    top: 8px;
    left: 12px;
    background: white;
    font-weight: bold;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 3px;
    color: #1c5aa6;
}

/* Content */
.cg-card-content {
    padding: 16px;
}

.cg-card-badge {
    background-color: #e9e4fc;
    color: #6b46c1;
    font-size: 11px;
    font-weight: 600;
    padding: 0px 8px;
    display: inline-block;
    border-radius: 4px;
    margin-bottom: 10px;
}

.cg-card-badge i {
    margin-right: 5px;
}

.cg-card-title {
    font-size: 17px;
    margin: 0 0 8px;
    text-transform: capitalize;
    font-weight: bold;
}

.cg-card-enrolled {
    color: #555;
    margin-bottom: 12px;
}

.cg-card-enrolled i {
    color: #007bff;
    margin-right: 5px;
}

.cg-card-highlight {
    color: #007bff;
    font-weight: 600;
}

.cg-card-reactions {
    display: flex;
    justify-content: space-between;
    background-color: #ebf7ff;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 14px;
    color: #333;
}
.cg-card-price {
    display: flex;
    justify-content: space-between;
    background-color: #f8f7f7;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 14px;
}
.cg-card-amount {
    font-size: 17px;
    margin: 4px 0 4px;
    text-transform: capitalize;
    color: #333;
}

.cg-card-reactions span {
    display: flex;
    align-items: center;
}

.cg-card-reactions i {
    margin-right: 5px;
    color: #666;
}

.cg-card-info {
    margin-bottom: 16px;
}

.cg-card-info div {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.cg-card-info i {
    color: #888;
    margin-right: 8px;
}

.cg-card-button {
    display: flex;
    justify-content: center;
    background-color: #00b386;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cg-card-button:hover {
    background-color: #009973;
    text-decoration: none !important;
    color: #e4e4e4;
}

.cr-review-container {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.cr-header h2 {
    font-size: 20px;
    margin: 0;
    color: #222;
}

.cr-header h3 {
    font-size: 16px;
    color: #333;
    margin: 8px 0;
}

.cr-meta {
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.cr-dot {
    font-size: 6px;
    color: #999;
}

.cr-review-list {
    margin-top: 24px;
}

.cr-review-card {
    background: #fafafa;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #eee;
}

.cr-review-top {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.cr-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.cr-reviewer-info {
    flex: 1;
}

.cr-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.cr-flag {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

.cr-badge {
    background: #eef3ff;
    color: #3a57e8;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cr-reaction {
    font-size: 14px;
    margin-top: 4px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cr-loved {
    color: #007bff;
}

.cr-liked {
    color: #0d9488;
}

.cr-comment {
    font-size: 14px;
    margin-top: 10px;
    color: #444;
}

.cr-footer {
    margin-top: 12px;
    font-size: 13px;
    color: #555;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cr-help-actions i {
    margin-right: 8px;
    cursor: pointer;
    color: #888;
}

.cr-more-reviews {
    text-align: left;
    font-size: 14px;
    color: #007bff;
    font-weight: 500;
    cursor: pointer;
    padding-top: 8px;
    border-top: 1px solid #eee;
}
