/* Extracted from Home/ViewKhoaHoc.cshtml. */
.course-detail-page {
        padding: 18px 0 36px;
        background: linear-gradient(135deg, #f5f9ff 0%, #ffffff 52%, #eef5ff 100%);
        color: #24324a;
    }

    .course-detail-container {
        margin: 0 auto !important;
        padding: 0 24px;
    }

    .course-detail-page .single-post,
    .course-detail-page .sidebar,
    .course-detail-page .tagline,
    .course-detail-page .comments-area,
    .course-detail-page .comment-box {
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 26px rgba(34, 78, 145, .12);
    }

    .course-detail-page .single-post {
        overflow: hidden;
    }

    .course-detail-page .post-thumb {
        overflow: hidden;
        background: #dce9fb;
    }

    .course-detail-page .post-thumb img {
        display: block;
        width: 100% !important;
        height: clamp(260px, 32vw, 480px) !important;
        object-fit: cover;
        transition: transform .35s ease;
    }

    .course-detail-page .post-thumb:hover img {
        transform: scale(1.025);
    }

    .course-detail-page .entry-content {
        padding: 22px 26px 26px;
    }

    .course-detail-page .entry-title {
        padding: 14px 18px;
        border-radius: 10px;
        background: linear-gradient(135deg, #2457c5, #4385ed);
        box-shadow: 0 6px 16px rgba(36, 87, 197, .25);
        font-size: clamp(20px, 2.2vw, 30px);
        line-height: 1.3;
    }

    .course-detail-page .entry-title a { color: #fff; }
    .course-detail-page blockquote {
        margin: 22px 0;
        padding: 18px 22px !important;
        border: 0;
        border-left: 5px solid #3978e8;
        border-radius: 0 12px 12px 0;
        background: #f1f6ff;
        box-shadow: inset 0 0 0 1px #dce9fb;
    }

    .course-detail-page blockquote a {
        display: block;
        padding: 7px 0;
        color: #2457c5 !important;
        transition: color .2s ease, transform .2s ease;
    }

    .course-detail-page blockquote a:hover {
        color: #e05252 !important;
        transform: translateX(4px);
        text-decoration: none;
    }

    .course-detail-page .sidebar {
        padding: 18px;
    }

    .course-detail-page .widget-title {
        color: #173b78;
        font-weight: 700;
    }

    .course-detail-page .latest-posts .post {
        margin-bottom: 14px;
        padding: 10px;
        border-radius: 12px;
        background: #f7faff;
        box-shadow: 0 4px 12px rgba(34, 78, 145, .09);
        transition: transform .2s ease, box-shadow .2s ease;
    }

    .course-detail-page .latest-posts .post:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 18px rgba(34, 78, 145, .16);
    }

    .course-detail-page .latest-posts img {
        display: block;
        width: 100%;
        height: 150px !important;
        border-radius: 9px;
        object-fit: cover;
    }

    .course-detail-page .post-title { color: #2457c5 !important; line-height: 1.35; }
    .course-detail-page .comments-area,
    .course-detail-page .comment-box,
    .course-detail-page .tagline { margin-top: 20px; padding: 20px; }
    .course-detail-page .comment-author { padding: 14px 0; border-bottom: 1px solid #e8eef8; }
    .course-detail-page .comment-heading { color: #2457c5; font-weight: 700; }
    .course-detail-page textarea { border: 1px solid #cbdaf2; border-radius: 10px; resize: vertical; }

    @media (max-width: 991px) {
        .course-detail-container { padding: 0 14px; }
        .course-detail-page .entry-content { padding: 18px; }
    }

    @media (max-width: 575px) {
        .course-detail-page { padding-top: 8px; }
        .course-detail-container { padding: 0 8px; }
        .course-detail-page .post-thumb img { height: clamp(190px, 58vw, 300px) !important; }
        .course-detail-page .entry-content { padding: 14px; }
        .course-detail-page .entry-title { font-size: 20px; padding: 11px 13px; }
        .course-detail-page blockquote { padding: 12px 14px !important; }
        .course-detail-page blockquote b,
        .course-detail-page blockquote p { font-size: 16px !important; }
        .course-detail-page .sidebar { margin-top: 20px; padding: 14px; }
    }

    .media {
        color: #1f3eb7;
        font-family: 'Times New Roman', Times, serif;
        font-size: 16px;
    }
