html {
    scrollbar-gutter: stable;
}
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(120deg, #4e73df, #1cc88a);
    color: white;
    min-height: 100vh;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* HEADER + NAVBAR */
.site-header {
    width: 100%;
}

.navbar {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
}

.logo a {
    text-decoration: none;
    color: white;
    font-size: 26px;
    font-weight: bold;
    white-space: nowrap;
}

.menu {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 17px;
    transition: 0.3s;
    white-space: nowrap;
}

.menu a:hover {
    opacity: 0.85;
}

.teacher-link {
    font-weight: 600;
}

.user-badge {
    font-size: 17px;
    white-space: nowrap;
}

.login-btn {
    background: white;
    color: #4e73df !important;
    padding: 9px 18px;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
}

.login-btn:hover {
    background: #f8f9fc;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    position: relative;
    z-index: 1200;
}

/* PAGE LAYOUT */
.page-shell {
    width: 100%;
    padding: 0 16px 40px;
}

.page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.page-container-narrow {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* INTERNAL PAGE PANELS */
.page-panel {
    width: 100%;
    background: white;
    color: #333;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}

.page-panel + .page-panel {
    margin-top: 24px;
}

.page-title {
    margin: 0 0 20px;
    font-size: 32px;
    line-height: 1.2;
    color: #222;
}

.page-subtitle {
    margin: 0 0 24px;
    font-size: 17px;
    color: #666;
    opacity: 1;
    line-height: 1.5;
}

/* HERO */
.hero {
    text-align: center;
    margin-top: 100px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 22px;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.5;
}

.btn {
    padding: 15px 35px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    background: white;
    color: #4e73df;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #f8f9fc;
    transform: scale(1.05);
}

/* GENERIC BOXES */
.card,
.form-card,
.section-box,
.dashboard-card,
.stats-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 20px;
    backdrop-filter: blur(8px);
}

/* STANDARD GRIDS */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* DASHBOARD */
.dashboard-grid,
.dashboard-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.dashboard-action {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
    padding: 22px;
    border-radius: 16px;
    text-decoration: none;
    color: #222;
    background: #f8f9fc;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
    opacity: 1;
}

.dashboard-action h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #222;
}

.dashboard-action p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #666;
    opacity: 1;
}

.dashboard-action-relative {
    position: relative;
}

.dashboard-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: #dc2626;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

/* TABLES */
table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 10px;
    text-align: left;
}

/* FORMS */
input,
select,
textarea,
button {
    font: inherit;
    max-width: 100%;
}

/* TABLET */
@media (max-width: 992px) {
    .grid-4,
    .dashboard-grid,
    .dashboard-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 20px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px;
    }

    .logo a {
        font-size: 22px;
    }

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        position: absolute;
        top: 72px;
        right: 20px;
        width: min(260px, calc(100vw - 40px));
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        background: rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(10px);
        padding: 16px;
        border-radius: 14px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
        z-index: 1100;
    }

    .menu.show {
        display: flex;
    }

    .menu a,
    .teacher-link,
    .login-btn,
    .user-badge {
        width: 100%;
        text-align: center;
    }

    .menu a {
        font-size: 16px;
        display: block;
    }

    .user-badge {
        display: block;
        font-size: 16px;
        padding: 6px 0;
    }

    .page-shell {
        padding: 0 12px 28px;
    }

    .page-panel {
        padding: 18px;
    }

    .page-title {
        font-size: 26px;
    }

    .page-subtitle {
        font-size: 15px;
    }

    .hero {
        margin-top: 50px;
        padding: 0 8px;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 17px;
        line-height: 1.5;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 16px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .dashboard-grid,
    .dashboard-actions {
        grid-template-columns: 1fr;
    }

    .dashboard-action {
        min-height: auto;
    }
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.app-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    color: #333;
}

.app-table thead th {
    background: #f3f4f6;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.app-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
    vertical-align: middle;
}

.app-table tbody tr:hover {
    background: #f9fafb;
}

.table-btn {
    display: inline-block;
    text-decoration: none;
    background: #4e73df;
    color: white !important;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.table-btn:hover {
    opacity: 0.92;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #555;
}

.empty-state h3 {
    margin: 0 0 10px;
    color: #222;
}

.empty-state p {
    margin: 0;
    color: #666;
}

@media (max-width: 768px) {
    .app-table thead th,
    .app-table tbody td {
        padding: 12px 10px;
        font-size: 14px;
    }

    .table-btn {
        padding: 7px 12px;
        font-size: 13px;
    }
}

.teacher-students-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.teacher-students-back {
    margin-bottom: 18px;
}

.teacher-back-link {
    text-decoration: none;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.teacher-back-link:hover {
    color: #111827;
}

.teacher-section-title {
    margin: 0 0 6px 0;
    font-size: 22px;
    color: #111827;
}

.teacher-section-subtitle {
    margin: 0 0 20px 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.students-top-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.students-stat-card {
    background: #f8f9fc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
}

.students-stat-label {
    font-size: 13px;
    color: #667085;
    margin-bottom: 8px;
    font-weight: 600;
}

.students-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

.students-filters-box {
    background: #f8f9fc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 24px;
}

.students-filters-form {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.students-filters-form--top {
    grid-template-columns: minmax(180px, 220px) minmax(220px, 280px) auto;
}

.students-filters-form--assign {
    grid-template-columns: minmax(220px, 280px) minmax(260px, 340px) auto;
}

.students-filter-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.students-filter-item label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.students-filter-item input,
.students-filter-item select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: white;
    color: #222;
}

.students-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.students-primary-btn,
.students-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.students-primary-btn {
    background: #4e73df;
    color: white;
}

.students-secondary-btn {
    background: white;
    color: #333;
    border: 1px solid #d0d5dd;
}

.teacher-students-list-panel {
    padding: 0;
    overflow: hidden;
    background: #f8f9fc;
}

.student-list-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.student-list-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    background: transparent;
    transition: background 0.2s ease;
}

.student-list-card:hover {
    background: #eef2ff;
}

.student-list-card--border {
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.student-list-main {
    min-width: 0;
}

.student-list-name {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.student-list-subtitle {
    font-size: 14px;
    color: #6b7280;
}

.student-list-meta {
    display: flex;
    gap: 30px;
    align-items: center;
    text-align: right;
    flex-shrink: 0;
}

.student-meta-box {
    min-width: 90px;
}

.student-meta-box--group {
    min-width: 160px;
}

.student-meta-label {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 4px;
}

.student-meta-value {
    font-size: 15px;
    font-weight: 500;
    color: #111827;
}

.student-main-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.student-name {
    font-weight: 600;
    color: #222;
}

.student-subline {
    font-size: 13px;
    color: #667085;
}

@media (max-width: 992px) {
    .students-top-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .students-filters-form {
        grid-template-columns: 1fr 1fr;
    }

    .students-filters-form--top,
    .students-filters-form--assign {
        grid-template-columns: 1fr 1fr;
    }

    .students-filter-search,
    .students-filters-form--top .students-filter-actions,
    .students-filters-form--assign .students-filter-actions {
        grid-column: span 2;
    }
}

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

    .students-filters-form,
    .students-filters-form--top,
    .students-filters-form--assign {
        grid-template-columns: 1fr;
    }

    .students-filter-search,
    .students-filters-form--top .students-filter-actions,
    .students-filters-form--assign .students-filter-actions {
        grid-column: span 1;
    }

    .students-filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .students-primary-btn,
    .students-secondary-btn {
        width: 100%;
    }

    .student-list-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .student-list-meta {
        width: 100%;
        justify-content: space-between;
        gap: 16px;
        text-align: left;
        flex-wrap: wrap;
    }

    .student-meta-box,
    .student-meta-box--group {
        min-width: 120px;
    }
}
.student-detail-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.student-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.student-summary-card {
    padding: 20px;
    background: #f8f9fc;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.student-summary-card h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #374151;
}

.student-summary-card p {
    margin: 0;
    color: #111827;
    font-size: 18px;
    font-weight: 600;
}

.student-detail-top-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 22px;
}

.student-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.student-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.student-info-label {
    font-size: 13px;
    color: #9ca3af;
}

.student-info-value {
    font-size: 16px;
    color: #111827;
    font-weight: 500;
}

.student-edit-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.student-course-form {
    margin-bottom: 22px;
}

.student-list-rows {
    background: #f8f9fc;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.student-course-actions {
    display: flex;
    align-items: center;
}

.student-inline-form {
    margin: 0;
}

.danger-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 10px;
    background: #fee2e2;
    color: #991b1b;
    cursor: pointer;
    font-weight: 600;
}

.danger-btn:hover {
    opacity: 0.92;
}

.student-progress-status {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.status-badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge--success {
    background: #dcfce7;
    color: #166534;
}

.status-badge--warning {
    background: #fef3c7;
    color: #92400e;
}

@media (max-width: 992px) {
    .student-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .student-detail-top-grid {
        grid-template-columns: 1fr;
    }
}

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

    .student-list-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .student-course-actions,
    .student-progress-status {
        width: 100%;
        justify-content: flex-start;
    }
}
.teacher-essays-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.essay-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.essay-stat-link {
    text-decoration: none;
    color: inherit;
}

.essay-stat-card {
    padding: 20px;
    background: #f8f9fc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.essay-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.essay-stat-card h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #374151;
}

.essay-stat-card p {
    margin: 0;
    color: #111827;
    font-size: 22px;
    font-weight: 700;
}

.essay-stat-card--active {
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.04) inset;
}

.essay-stat-card--pending {
    background: #eef2ff;
}

.essay-stat-card--reviewed {
    background: #ecfdf5;
}

.essay-stat-card--all {
    background: #f3f4f6;
}

.essay-filters-form {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(180px, 220px) minmax(180px, 220px) minmax(220px, 1fr) auto;
    gap: 14px;
    align-items: end;
}

.teacher-essays-list-panel {
    padding: 0;
    overflow: hidden;
    background: #f8f9fc;
}

.essay-response-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.essay-response-card {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: background 0.2s ease;
}

.essay-response-card:hover {
    background: #eef2ff;
}

.essay-response-card--border {
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.essay-response-main {
    flex: 1;
    min-width: 0;
}

.essay-response-student {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.essay-response-course {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
}

.essay-response-module {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 4px;
}

.essay-response-group {
    font-size: 13px;
    color: #9ca3af;
}

.essay-response-meta {
    text-align: right;
    min-width: 180px;
    flex-shrink: 0;
}

.essay-response-date {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.status-badge--resubmitted {
    background: #ede9fe;
    color: #5b21b6;
}

@media (max-width: 992px) {
    .essay-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .essay-filters-form {
        grid-template-columns: 1fr 1fr;
    }

    .essay-filter-search,
    .essay-filters-form .students-filter-actions {
        grid-column: span 2;
    }
}

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

    .essay-filters-form {
        grid-template-columns: 1fr;
    }

    .essay-filter-search,
    .essay-filters-form .students-filter-actions {
        grid-column: span 1;
    }

    .essay-response-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .essay-response-meta {
        text-align: left;
        min-width: 0;
        width: 100%;
    }
}
.teacher-essay-detail-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.teacher-essay-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.content-box {
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    color: #374151;
    line-height: 1.7;
}

.content-box--soft {
    background: #f8f9fc;
}

.essay-detail-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.essay-detail-title {
    margin-bottom: 0;
}

.teacher-feedback-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.teacher-feedback-textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    resize: vertical;
    box-sizing: border-box;
    font: inherit;
    color: #111827;
    background: #ffffff;
}

.teacher-feedback-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
    font-size: 14px;
}

.status-badge--neutral {
    background: #f3f4f6;
    color: #4b5563;
}

@media (max-width: 992px) {
    .teacher-essay-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .essay-detail-header-row {
        align-items: flex-start;
    }
}
.teacher-progress-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.progress-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.progress-stat-card {
    padding: 20px;
    background: #f8f9fc;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.progress-stat-card h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #374151;
}

.progress-stat-card p {
    margin: 0;
    color: #111827;
    font-size: 22px;
    font-weight: 700;
}

.progress-filters-form {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(180px, 220px) minmax(220px, 280px) minmax(180px, 220px) auto;
    gap: 14px;
    align-items: end;
}

.teacher-progress-list-panel {
    padding: 0;
    overflow: hidden;
    background: #f8f9fc;
}

.progress-row {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: background 0.2s ease;
}

.progress-row:hover {
    background: #eef2ff;
}

.progress-row--border {
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.progress-row-main {
    flex: 1;
    min-width: 0;
}

.progress-row-student {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.progress-row-course {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
}

.progress-row-group {
    font-size: 13px;
    color: #9ca3af;
}

.progress-row-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 992px) {
    .progress-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .progress-filters-form {
        grid-template-columns: 1fr 1fr;
    }

    .progress-filters-form .students-filter-actions {
        grid-column: span 2;
    }
}

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

    .progress-filters-form {
        grid-template-columns: 1fr;
    }

    .progress-filters-form .students-filter-actions {
        grid-column: span 1;
    }

    .progress-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .progress-row-actions {
        width: 100%;
        justify-content: flex-start;
    }
}
.student-detail-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.student-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.student-summary-card {
    padding: 20px;
    background: #f8f9fc;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.student-summary-card h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #374151;
}

.student-summary-card p {
    margin: 0;
    color: #111827;
    font-size: 18px;
    font-weight: 600;
}

.student-detail-top-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 22px;
}

.student-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.student-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.student-info-label {
    font-size: 13px;
    color: #9ca3af;
}

.student-info-value {
    font-size: 16px;
    color: #111827;
    font-weight: 500;
}

.student-edit-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.student-course-form {
    margin-bottom: 22px;
}

.student-list-rows {
    background: #f8f9fc;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.student-course-actions {
    display: flex;
    align-items: center;
}

.student-inline-form {
    margin: 0;
}

.danger-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 10px;
    background: #fee2e2;
    color: #991b1b;
    cursor: pointer;
    font-weight: 600;
}

.danger-btn:hover {
    opacity: 0.92;
}

.student-progress-status {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.status-badge--neutral {
    background: #f3f4f6;
    color: #4b5563;
}

@media (max-width: 992px) {
    .student-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .student-detail-top-grid {
        grid-template-columns: 1fr;
    }
}

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

    .student-list-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .student-course-actions,
    .student-progress-status {
        width: 100%;
        justify-content: flex-start;
    }
}

.builder-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.builder-actions {
    margin-top: 24px;
}

.builder-primary-link {
    text-decoration: none;
}

.builder-course-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.builder-course-link {
    text-decoration: none;
    color: inherit;
}

.builder-course-card {
    padding: 20px;
    background: #f8f9fc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.builder-course-card:hover {
    background: #eef2ff;
    transform: translateY(-2px);
}

.builder-course-card h3 {
    margin: 0 0 8px 0;
    color: #111827;
    font-size: 20px;
}

.builder-course-card p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.builder-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.builder-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.builder-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.builder-form input,
.builder-form textarea,
.builder-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: white;
    color: #222;
    font: inherit;
}

.builder-form textarea {
    min-height: 120px;
    resize: vertical;
}

.builder-header-top {
    margin-bottom: 20px;
}

.builder-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.builder-detail-main {
    min-width: 0;
    flex: 1;
}

.builder-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.builder-secondary-btn,
.builder-warning-btn,
.builder-danger-btn,
.builder-success-btn,
.builder-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.builder-secondary-btn {
    background: #858796;
    color: white;
}

.builder-warning-btn {
    background: #f6c23e;
    color: white;
}

.builder-danger-btn {
    background: #e74a3b;
    color: white;
}

.builder-success-btn {
    background: #1cc88a;
    color: white;
}

.builder-info-btn {
    background: #36b9cc;
    color: white;
}

.builder-lesson-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.builder-lesson-card {
    padding: 18px;
    background: #f8f9fc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.builder-lesson-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
}

.builder-lesson-title {
    color: #111827;
    line-height: 1.5;
}

.builder-lesson-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: 12px;
}

.builder-icon-btn {
    min-width: 42px;
    padding: 8px 12px;
}

@media (max-width: 768px) {
    .builder-detail-actions {
        width: 100%;
    }

    .builder-secondary-btn,
    .builder-warning-btn,
    .builder-danger-btn,
    .builder-success-btn {
        width: 100%;
    }

    .builder-lesson-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .builder-lesson-actions {
        width: 100%;
        margin-left: 0;
    }
}

.builder-module-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.builder-module-card {
    padding: 18px;
    background: #f8f9fc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.builder-module-main {
    flex: 1;
    min-width: 0;
}

.builder-module-title {
    color: #111827;
    line-height: 1.5;
}

.builder-module-link {
    text-decoration: none;
    color: inherit;
    line-height: 1.5;
    display: inline-block;
}

.builder-module-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: 12px;
}

@media (max-width: 768px) {
    .builder-module-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .builder-module-actions {
        width: 100%;
        margin-left: 0;
    }
}

.builder-module-link {
    text-decoration: none;
    color: inherit;
    line-height: 1.5;
    display: inline-block;
}

.builder-module-link--quiz {
    color: #4e73df;
    font-weight: 600;
}

.builder-form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .builder-form-actions {
        flex-direction: column;
    }

    .builder-form-actions .students-primary-btn,
    .builder-form-actions .builder-secondary-btn {
        width: 100%;
    }
}

.builder-actions-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.builder-question-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.builder-question-link {
    text-decoration: none;
    color: inherit;
}

.builder-question-card {
    padding: 18px;
    background: #f8f9fc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.builder-question-card:hover {
    background: #eef2ff;
    transform: translateY(-2px);
}

.builder-question-title {
    color: #111827;
    line-height: 1.5;
}

.builder-answer-list {
    margin-top: 14px;
    padding-left: 10px;
}

.builder-answer-item {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.5;
}

.builder-answer-item--correct {
    color: #166534;
}

.builder-answer-empty {
    color: #999;
}

@media (max-width: 768px) {
    .builder-actions-row {
        flex-direction: column;
    }

    .builder-actions-row .students-primary-btn,
    .builder-actions-row .builder-danger-btn {
        width: 100%;
    }
}

.builder-divider {
    margin: 8px 0 4px;
    border: none;
    border-top: 1px solid #e5e7eb;
}

.builder-vocab-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.builder-vocab-card {
    padding: 18px;
    background: #f8f9fc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.builder-vocab-word {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.builder-vocab-translation {
    font-size: 16px;
    color: #374151;
    margin-bottom: 6px;
}

.builder-vocab-transcription {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}

.builder-vocab-audio {
    width: 100%;
    max-width: 320px;
}

.vocab-audio-mini {
    width: 160px;
    max-width: 100%;
    height: 36px;
}

.vocab-empty-cell {
    text-align: center;
    color: #666;
    padding: 20px;
}

@media (max-width: 768px) {
    .vocab-audio-mini {
        width: 130px;
    }
}

.vocab-delete-form {
    margin: 0;
}

.builder-small-btn {
    padding: 8px 12px;
    font-size: 13px;
    min-width: auto;
}

.student-vocab-block {
    margin-top: 20px;
}

.student-module-title {
    margin: 0 0 16px;
    color: #111827;
    font-size: 20px;
}

.student-vocab-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.student-vocab-card {
    padding: 18px;
    background: #f8f9fc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #111827;
}

.student-vocab-word {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.student-vocab-translation {
    font-size: 17px;
    color: #374151;
    margin-bottom: 6px;
}

.student-vocab-transcription {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
}

.student-vocab-audio {
    width: 100%;
    max-width: 320px;
    height: 36px;
}

.student-vocab-empty {
    color: #666;
    padding: 10px 0;
}

@media (max-width: 768px) {
    .student-vocab-word {
        font-size: 20px;
    }

    .student-vocab-translation {
        font-size: 16px;
    }

    .student-vocab-audio {
        max-width: 100%;
    }
}

/* =========================
   HOMEPAGE SAFE BLOCKS
   ========================= */

.home-safe {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-bottom: 20px;
}

.home-safe-hero-panel {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 22px 26px;
    box-shadow: 0 18px 40px rgba(18, 38, 88, 0.10);
    margin-bottom: 0;
}

.home-safe-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 32px;
    padding: 8px 0;
}

.home-safe-hero-text h1 {
    margin: 0 0 18px;
    font-size: 64px;
    line-height: 1.05;
    color: #ffffff;
}

.home-safe-hero-text p {
    margin: 0 0 28px;
    font-size: 22px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    max-width: 560px;
}

.home-safe-main-btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    background: #ffffff;
    color: #4e73df !important;
    border: none;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.home-safe-main-btn:hover {
    transform: translateY(-2px);
    background: #f8f9fc;
    opacity: 1;
}

.home-safe-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-safe-hero-image img {
    width: 100%;
    max-width: 500px;
    display: block;
}

.home-safe-white-block {
    background: #f7f7fb;
    color: #243b5a;
    border-radius: 34px;
    padding: 48px 28px;
    margin-top: 0;
    box-shadow: 0 12px 30px rgba(24, 46, 102, 0.08);
}

.home-safe-section-title {
    text-align: center;
    margin-bottom: 34px;
}

.home-safe-section-title h2 {
    margin: 0 0 12px;
    font-size: 48px;
    line-height: 1.15;
    color: #243b5a;
}

.home-safe-section-title p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #6f7c90;
}

.home-safe-section-title-light h2,
.home-safe-section-title-light p {
    color: #ffffff;
}

.home-safe-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-safe-feature-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px 22px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(24, 46, 102, 0.06);
}

.home-safe-feature-card img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    margin: 0 auto 18px;
}

.home-safe-feature-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.25;
    color: #243b5a;
}

.home-safe-feature-card p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #6f7c90;
}

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

.home-safe-course-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(24, 46, 102, 0.06);
}

.home-safe-course-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.home-safe-course-body {
    padding: 22px 20px 24px;
    display: flex;
    flex-direction: column;
    min-height: 210px;
}

.home-safe-course-body h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.25;
    color: #243b5a;
}

.home-safe-course-body p {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.6;
    color: #6f7c90;
    flex-grow: 1;
}

.home-safe-card-btn {
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(120deg, #4e73df, #36b9cc);
    color: white !important;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    margin-top: auto;
    align-self: flex-start;
}

.home-safe-testimonials {
    margin-top: 0;
    padding: 40px 0 10px;
}

.home-safe-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-safe-testimonial-card {
    background: #ffffff;
    color: #243b5a;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(24, 46, 102, 0.12);
}

.home-safe-testimonial-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.home-safe-testimonial-body {
    padding: 22px 20px 24px;
}

.home-safe-stars {
    color: #f4c430;
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.home-safe-testimonial-body h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.25;
    color: #243b5a;
}

.home-safe-testimonial-body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #6f7c90;
}

@media (max-width: 992px) {
    .home-safe-hero,
    .home-safe-features,
    .home-safe-courses,
    .home-safe-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .home-safe-hero-text {
        text-align: center;
    }

    .home-safe-hero-text p {
        max-width: 100%;
    }

    .home-safe-hero-image img {
        max-width: 420px;
    }

    .home-safe-section-title h2 {
        font-size: 38px;
    }

    .home-safe-hero-text h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .home-safe {
        gap: 20px;
    }

    .home-safe-hero-panel {
        padding: 16px;
        border-radius: 20px;
        margin-bottom: 0;
    }

    .home-safe-hero {
        padding-top: 6px;
        gap: 22px;
    }

    .home-safe-hero-text h1 {
        font-size: 34px;
    }

    .home-safe-hero-text p {
        font-size: 18px;
    }

    .home-safe-white-block {
        padding: 28px 18px;
        border-radius: 24px;
    }

    .home-safe-section-title h2 {
        font-size: 30px;
    }

    .home-safe-section-title p,
    .home-safe-feature-card p,
    .home-safe-course-body p,
    .home-safe-testimonial-body p {
        font-size: 15px;
    }

    .home-safe-feature-card h3,
    .home-safe-course-body h3,
    .home-safe-testimonial-body h3 {
        font-size: 22px;
    }

    .home-safe-course-card img,
    .home-safe-testimonial-card img {
        height: 210px;
    }

    .home-safe-main-btn {
        width: 100%;
        max-width: 280px;
    }
}

.about-page {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-bottom: 24px;
}

.about-hero-panel {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 22px 26px;
    box-shadow: 0 18px 40px rgba(18, 38, 88, 0.10);
    margin-bottom: 0;
}

.about-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
    padding: 8px 0;
}

.about-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.about-hero-copy h1 {
    margin: 0 0 16px;
    font-size: 56px;
    line-height: 1.08;
    color: #ffffff;
}

.about-hero-copy p {
    margin: 0 0 24px;
    max-width: 620px;
    font-size: 20px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.about-btn-primary,
.about-btn-secondary {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    background: #ffffff;
    color: #4e73df;
    border: none;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.about-btn-primary:hover,
.about-btn-secondary:hover {
    transform: translateY(-2px);
    background: #f8f9fc;
    opacity: 1;
}

.about-mini-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-mini-points span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.about-hero-visual {
    display: flex;
    justify-content: center;
}

.about-hero-card {
    width: 100%;
    max-width: 520px;
    padding: 0;
    border-radius: 28px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 22px;
}

.about-panel {
    background: #f7f9fe;
    border-radius: 28px;
    padding: 42px 30px;
    box-shadow: 0 14px 30px rgba(57, 84, 126, 0.08);
}

.about-section-heading {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 34px;
}

.about-section-heading h2 {
    margin: 0 0 12px;
    font-size: 40px;
    line-height: 1.15;
    color: #243b5a;
}

.about-section-heading p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #6b7a90;
}

.about-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.about-info-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 28px 22px;
    box-shadow: 0 10px 24px rgba(57, 84, 126, 0.06);
    text-align: center;
}

.about-info-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #e6f0ff 0%, #e4fbf3 100%);
    font-size: 32px;
}

.about-info-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.25;
    color: #243b5a;
}

.about-info-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #6b7a90;
}

.about-two-col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.about-story-box,
.about-stats-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 10px 24px rgba(57, 84, 126, 0.06);
}

.about-story-box h2 {
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.15;
    color: #243b5a;
}

.about-story-box p {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.75;
    color: #6b7a90;
}

.about-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.about-check-list li {
    position: relative;
    padding-left: 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #243b5a;
}

.about-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(120deg, #4e73df 0%, #5cc7d8 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-stats-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.about-stat-card {
    background: #f7f9fe;
    border-radius: 18px;
    padding: 20px 18px;
    text-align: center;
    border: 1px solid rgba(78, 115, 223, 0.08);
}

.about-stat-number {
    display: block;
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 800;
    color: #4e73df;
}

.about-stat-label {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7a90;
}

.about-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.about-step-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 26px 20px;
    box-shadow: 0 10px 24px rgba(57, 84, 126, 0.06);
}

.about-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: linear-gradient(120deg, #4e73df 0%, #5cc7d8 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}

.about-step-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.25;
    color: #243b5a;
}

.about-step-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #6b7a90;
}

.about-cta-panel {
    padding-top: 6px;
}

.about-cta-box {
    text-align: center;
    padding: 42px 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 32px rgba(57, 84, 126, 0.08);
    backdrop-filter: blur(8px);
}

.about-cta-box h2 {
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 1.15;
    color: #ffffff;
}

.about-cta-box p {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.about-cta-box .about-hero-actions {
    justify-content: center;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .about-hero,
    .about-info-grid,
    .about-two-col,
    .about-steps-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-copy {
        text-align: center;
    }

    .about-hero-copy p {
        max-width: 100%;
    }

    .about-mini-points,
    .about-hero-actions {
        justify-content: center;
    }

    .about-stats-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-hero-copy h1 {
        font-size: 44px;
    }

    .about-section-heading h2,
    .about-story-box h2,
    .about-cta-box h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .about-page {
        gap: 20px;
    }

    .about-hero-panel {
        padding: 16px;
        border-radius: 20px;
        margin-bottom: 0;
    }

    .about-hero {
        padding-top: 6px;
    }

    .about-hero-copy h1 {
        font-size: 34px;
    }

    .about-hero-copy p,
    .about-section-heading p,
    .about-info-card p,
    .about-story-box p,
    .about-step-card p,
    .about-cta-box p {
        font-size: 16px;
    }

    .about-panel {
        padding: 28px 18px;
        border-radius: 22px;
    }

    .about-section-heading h2,
    .about-story-box h2,
    .about-cta-box h2 {
        font-size: 28px;
    }

    .about-info-card h3,
    .about-step-card h3 {
        font-size: 22px;
    }

    .about-hero-card {
        border-radius: 22px;
    }

    .about-stats-box {
        grid-template-columns: 1fr;
    }

    .about-hero-actions {
        flex-direction: column;
    }

    .about-btn-secondary,
    .about-btn-primary {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* =========================
   BLOG PAGE
   ========================= */

.blog-page {
    padding-bottom: 30px;
}

.blog-hero {
    padding: 24px 0 20px;
}

.blog-hero-inner {
    max-width: 820px;
}

.blog-hero-subtitle {
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 500;
}

/* TOP PANEL */

.blog-top-panel {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 18px;
    margin-bottom: 24px;
}

.blog-top-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* BIG CARDS */

.blog-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(24, 46, 102, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

.blog-card-image-wrap {
    position: relative;
}

.blog-card-image {
    display: block;
}

.blog-card-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.blog-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #dff4ec;
    color: #356a59;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(24, 46, 102, 0.08);
}

.blog-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-pill {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e7efff;
    color: #446cc8;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    align-self: flex-start;
}

.blog-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.3;
    color: #1f3761;
    min-height: 62px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card h3 a {
    text-decoration: none;
    color: #1f3761;
}

.blog-card p {
    margin: 0 0 14px;
    color: #617089;
    line-height: 1.7;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: #7f8aa0;
    font-size: 14px;
    margin: 14px 0 18px;
}

.blog-card-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.blog-read-link {
    display: inline-block;
    text-decoration: none;
    color: #3a5cb8;
    font-weight: 700;
    line-height: 1.2;
}

.blog-read-link:hover {
    opacity: 0.85;
}

/* MINI COLUMN */

.blog-mini-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.blog-mini-column-header {
    padding: 4px 2px 2px;
}

.blog-mini-column-header h3 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #ffffff;
}

.blog-mini-column-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.6;
}

.blog-mini-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.blog-mini-card {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 10px 24px rgba(24, 46, 102, 0.06);
    padding: 18px;
    min-width: 0;
}

.blog-mini-pill {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: #446cc8;
    font-size: 12px;
    font-weight: 700;
}

.blog-mini-title {
    display: block;
    text-decoration: none;
    color: #1f3761;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.42;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-mini-excerpt {
    margin: 0;
    color: #617089;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #7f8aa0;
    font-size: 13px;
    line-height: 1.45;
}

/* MAIN PANEL */

.blog-main-panel {
    background: rgba(255, 255, 255, 0.82);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 18px 40px rgba(18, 38, 88, 0.10);
}

.blog-filters-bar {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    box-shadow: 0 10px 24px rgba(24, 46, 102, 0.04);
}

.blog-filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-filter-group label {
    font-weight: 700;
    color: #1f3761;
    white-space: nowrap;
}

.blog-filter-group select {
    min-width: 180px;
    border: 1px solid #d5def0;
    border-radius: 10px;
    padding: 10px 12px;
    background: #f7faff;
    color: #1f3761;
    outline: none;
}

.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.blog-empty-text {
    color: #617089;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* =========================
   BLOG PAGE
   ========================= */

.blog-page {
    padding-bottom: 30px;
}

.blog-hero {
    padding: 24px 0 20px;
}

.blog-hero-inner {
    max-width: 820px;
}

.blog-hero-subtitle {
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 500;
}

/* TOP PANEL */

.blog-top-panel {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 18px;
    margin-bottom: 24px;
}

.blog-top-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* BIG CARDS */

.blog-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(24, 46, 102, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

.blog-card-image-wrap {
    position: relative;
}

.blog-card-image {
    display: block;
}

.blog-card-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.blog-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #dff4ec;
    color: #356a59;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(24, 46, 102, 0.08);
}

.blog-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.blog-card-category {
    color: #3a5cb8;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.blog-card-meta-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    color: #8b94a8;
    font-size: 12px;
    line-height: 1.3;
    margin-left: auto;
}

.blog-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.3;
    color: #1f3761;
    min-height: 62px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card h3 a {
    text-decoration: none;
    color: #1f3761;
}

.blog-card p {
    margin: 0 0 14px;
    color: #617089;
    line-height: 1.7;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.blog-read-link {
    display: inline-block;
    text-decoration: none;
    color: #3a5cb8;
    font-weight: 700;
    line-height: 1.2;
}

.blog-read-link:hover {
    opacity: 0.85;
}

/* MINI COLUMN */

.blog-mini-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.blog-mini-column-header {
    padding: 4px 2px 2px;
}

.blog-mini-column-header h3 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #ffffff;
}

.blog-mini-column-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.6;
}

.blog-mini-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.blog-mini-card {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 10px 24px rgba(24, 46, 102, 0.06);
    padding: 18px;
    min-width: 0;
}

.blog-mini-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.blog-mini-category {
    color: #3a5cb8;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.blog-mini-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    color: #8b94a8;
    font-size: 12px;
    line-height: 1.3;
    margin-left: auto;
}

.blog-mini-title {
    display: block;
    text-decoration: none;
    color: #1f3761;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.42;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-mini-excerpt {
    margin: 0;
    color: #617089;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* MAIN PANEL */

.blog-main-panel {
    background: rgba(255, 255, 255, 0.82);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 18px 40px rgba(18, 38, 88, 0.10);
}

.blog-filters-bar {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    box-shadow: 0 10px 24px rgba(24, 46, 102, 0.04);
}

.blog-filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-filter-group label {
    font-weight: 700;
    color: #1f3761;
    white-space: nowrap;
}

.blog-filter-group select {
    min-width: 180px;
    border: 1px solid #d5def0;
    border-radius: 10px;
    padding: 10px 12px;
    background: #f7faff;
    color: #1f3761;
    outline: none;
}

.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.blog-empty-text {
    color: #617089;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .blog-top-grid,
    .blog-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-mini-column {
        grid-column: 1 / -1;
    }

    .blog-mini-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 20px 0 16px;
    }

    .blog-hero-subtitle {
        font-size: 18px;
    }

    .blog-top-panel {
        padding: 14px;
        border-radius: 20px;
    }

    .blog-main-panel {
        padding: 16px;
        border-radius: 20px;
    }

    .blog-top-grid,
    .blog-cards-grid,
    .blog-mini-list {
        grid-template-columns: 1fr;
    }

    .blog-filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-filter-group {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-filter-group select {
        width: 100%;
        min-width: 100%;
    }

    .blog-card-image img {
        height: 220px;
    }

    .blog-card h3 {
        font-size: 22px;
        min-height: auto;
    }

    .blog-mini-column-header h3 {
        font-size: 22px;
    }

    .blog-mini-title {
        font-size: 17px;
    }

    .blog-card-topline,
    .blog-mini-topline {
        align-items: flex-start;
    }

    .blog-card-meta-inline,
    .blog-mini-meta {
        margin-left: 0;
    }
}

.blog-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.blog-filter-btn,
.blog-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #d5def0;
}

.blog-filter-btn {
    background: #3a5cb8;
    color: #ffffff;
    cursor: pointer;
}

.blog-filter-reset {
    background: #ffffff;
    color: #3a5cb8;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.blog-page-link {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #d5def0;
    background: #ffffff;
    color: #1f3761;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.blog-page-link.is-active {
    background: #3a5cb8;
    color: #ffffff;
    border-color: #3a5cb8;
}

@media (max-width: 768px) {
    .blog-filter-actions {
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .blog-filter-btn,
    .blog-filter-reset {
        width: 100%;
    }
}
/* =========================
   TEACHER BLOG
   ========================= */

.teacher-page {
    padding: 20px 0;
}

.teacher-hero {
    background: rgba(255,255,255,0.85);
    padding: 24px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.teacher-hero h1 {
    margin: 10px 0;
    font-size: 32px;
    color: #1f3761;
}

.teacher-hero p {
    color: #5f6f8f;
    margin-bottom: 16px;
}

.back-link {
    text-decoration: none;
    color: #5f6f8f;
    font-size: 14px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(120deg, #4e73df, #36b9cc);
    color: white;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
}

/* LISTĂ */

.teacher-section {
    background: rgba(255,255,255,0.85);
    padding: 24px;
    border-radius: 20px;
}

.teacher-section h2 {
    margin-bottom: 16px;
    color: #1f3761;
}

/* CARD */

.teacher-card {
    background: #f5f7fb;
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 14px;
}

.teacher-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.teacher-card-left {
    max-width: 60%;
}

.teacher-card-title {
    font-weight: 700;
    font-size: 18px;
    color: #1f3761;
}

.teacher-card-desc {
    color: #6b7a99;
    font-size: 14px;
}

.teacher-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* META */

.teacher-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
}

.teacher-meta .category {
    background: #e7efff;
    color: #446cc8;
    padding: 4px 10px;
    border-radius: 999px;
}

.status {
    padding: 4px 10px;
    border-radius: 999px;
}

.status.published {
    background: #e0f7ec;
    color: #2e7d5b;
}

.status.draft {
    background: #fff4e5;
    color: #a86b00;
}

.teacher-meta .date {
    color: #7f8aa0;
}

/* ACTIONS */

.teacher-actions .btn-edit {
    text-decoration: none;
    color: #3a5cb8;
    font-weight: 600;
}

/* CREATE ARTICLE FORM */

.blog-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.blog-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-form-group label {
    font-weight: 700;
    color: #1f3761;
}

.blog-form-input,
.blog-form-textarea,
.blog-form-group select,
.blog-form-group input[type="file"] {
    width: 100%;
    border: 1px solid #d9e2f2;
    border-radius: 12px;
    padding: 12px 14px;
    background: #ffffff;
    color: #1f3761;
    font-size: 15px;
    box-sizing: border-box;
}

.blog-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.blog-form-checkbox-row {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.blog-form-checkbox {
    width: 18px;
    height: 18px;
}

.blog-form-actions {
    margin-top: 8px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-error {
    color: #b42318;
    font-size: 14px;
    margin-top: 4px;
}

/* =========================
   BLOG TEACHER BLOCKS FINAL
   ========================= */

.blog-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.blog-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-form-group label {
    font-weight: 700;
    color: #1f3761;
}

.blog-form-input,
.blog-form-textarea,
.blog-form-group select,
.blog-form-group input[type="file"] {
    width: 100%;
    border: 1px solid #d9e2f2;
    border-radius: 12px;
    padding: 12px 14px;
    background: #ffffff;
    color: #1f3761;
    font-size: 15px;
    box-sizing: border-box;
}

.blog-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.blog-form-checkbox-row {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.blog-form-checkbox {
    width: 18px;
    height: 18px;
}

.blog-form-actions {
    margin-top: 8px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-error {
    color: #b42318;
    font-size: 14px;
    margin-top: 4px;
}

/* Teacher article cards / blocks actions */
.teacher-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.teacher-actions .btn-edit {
    text-decoration: none;
    color: #3a5cb8;
    font-weight: 600;
}

.btn-delete {
    text-decoration: none;
    color: #c62828;
    font-weight: 600;
}

/* blocuri: mai mult loc pentru continut */
.teacher-card-left {
    max-width: 70%;
}

.teacher-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

@media (max-width: 768px) {
    .teacher-card-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .teacher-card-left {
        max-width: 100%;
    }

    .teacher-card-right {
        width: 100%;
        align-items: flex-start;
    }

    .teacher-actions {
        justify-content: flex-start;
    }

    .blog-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-form-actions .btn-primary {
        width: 100%;
        text-align: center;
    }
}

/* CKEditor */
.django_ckeditor_5 {
    color: #1f3761;
}

.ck-editor__editable {
    min-height: 220px;
    color: #1f3761;
}

.ck.ck-editor {
    width: 100%;
}

.ck.ck-content {
    color: #1f3761;
    line-height: 1.7;
}

/* =========================
   BLOG DETAIL CLEAN
   ========================= */

.blog-detail-page {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 18px 0 24px;
}

.blog-detail-unified-panel {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 30px;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(18, 38, 88, 0.12);
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(210px, 0.78fr);
    gap: 18px;
    align-items: start;
}

.blog-detail-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.blog-detail-sidebar {
    min-width: 0;
    position: sticky;
    top: 20px;
}

.blog-detail-hero-card,
.blog-detail-content-card,
.blog-detail-cta,
.blog-detail-sidebar-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(18, 38, 88, 0.08);
}

/* HERO */
.blog-detail-hero-card {
    padding: 28px;
}

.blog-detail-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.blog-detail-category {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #e7efff;
    color: #446cc8;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 0;
}

.blog-detail-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin: 0 0 0 auto;
}

.blog-detail-share-label {
    color: #6f7c90;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.blog-share-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #f4f7ff;
    color: #3a5cb8 !important;
    border: 1px solid #d7e1f5;
    box-shadow: 0 6px 16px rgba(24, 46, 102, 0.05);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    flex: 0 0 auto;
}

.blog-share-icon:hover {
    transform: translateY(-1px);
    background: #eef3ff;
    border-color: #c8d7f3;
}

.blog-share-icon svg {
    width: 15px;
    height: 15px;
    display: block;
    fill: currentColor;
}

.blog-detail-hero-body {
    display: block;
}

.blog-detail-hero-body--with-image {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 380px);
    gap: 28px;
    align-items: start;
}

.blog-detail-hero-copy {
    min-width: 0;
}

.blog-detail-title {
    margin: 0 0 14px;
    font-size: 40px;
    line-height: 1.12;
    color: #1f3761;
}

.blog-detail-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: #7f8aa0;
    font-size: 14px;
    margin-bottom: 16px;
}

.blog-detail-excerpt {
    margin: 0;
    font-size: 18px;
    line-height: 1.75;
    color: #5b6b8c;
    max-width: 100%;
}

.blog-detail-cover-wrap {
    width: 100%;
    align-self: start;
}

.blog-detail-cover {
    width: 100%;
    display: block;
    border-radius: 22px;
    min-height: 260px;
    max-height: 360px;
    object-fit: cover;
    box-shadow: 0 14px 28px rgba(24, 46, 102, 0.10);
}

/* CONTENT */
.blog-detail-content-card {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
}

.blog-content {
    color: #1f3761;
    font-size: 17px;
    line-height: 1.85;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
    color: #1f3761;
    margin-top: 24px;
    margin-bottom: 12px;
    line-height: 1.25;
}

.blog-content h1 {
    font-size: 30px;
}

.blog-content h2 {
    font-size: 26px;
}

.blog-content h3 {
    font-size: 22px;
}

.blog-content p {
    margin: 0 0 14px;
    white-space: normal;
}

.blog-content ul,
.blog-content ol {
    margin: 0 0 14px;
    padding-left: 24px;
}

.blog-content li {
    margin-bottom: 8px;
}

.blog-content a {
    color: #3a5cb8;
    text-decoration: underline;
}

.blog-content strong {
    color: #17305d;
}

.blog-content blockquote {
    margin: 20px 0;
    padding: 16px 18px;
    border-left: 4px solid #4e73df;
    background: #f6f9ff;
    border-radius: 12px;
    color: #3c4f74;
}

.blog-image-block,
.blog-video-block {
    min-width: 0;
}

.blog-image-block img {
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(24, 46, 102, 0.08);
}

.blog-video-block {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(24, 46, 102, 0.08);
    background: #000;
}

.blog-video-block iframe {
    width: 100%;
    height: 420px;
    display: block;
}

/* CTA */
.blog-detail-cta {
    padding: 28px 24px;
    text-align: center;
}

.blog-detail-cta h2 {
    margin: 0 0 10px;
    color: #1f3761;
    font-size: 30px;
}

.blog-detail-cta p {
    margin: 0 auto 18px;
    max-width: 620px;
    color: #617089;
    line-height: 1.7;
}

.blog-detail-cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* SIDEBAR */
.blog-detail-sidebar-card {
    padding: 22px 18px;
}

.blog-detail-sidebar-card h3 {
    margin: 0 0 16px;
    color: #1f3761;
    font-size: 22px;
}

.blog-detail-popular-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-detail-popular-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: start;
}

.blog-detail-popular-thumb img {
    width: 100%;
    height: 78px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.blog-detail-popular-content {
    min-width: 0;
}

.blog-detail-popular-category {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: #446cc8;
    font-size: 12px;
    font-weight: 700;
}

.blog-detail-popular-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    color: #1f3761;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 6px;
}

.blog-detail-popular-meta {
    color: #7f8aa0;
    font-size: 13px;
}

.blog-empty-text {
    margin: 0;
    color: #617089;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .blog-detail-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-detail-sidebar {
        position: static;
    }
}

@media (max-width: 992px) {
    .blog-detail-hero-body--with-image {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-detail-cover {
        min-height: 220px;
        max-height: 320px;
    }

    .blog-video-block iframe {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .blog-detail-page {
        gap: 20px;
        padding: 10px 0 24px;
    }

    .blog-detail-unified-panel {
        padding: 12px;
        border-radius: 22px;
    }

    .blog-detail-hero-card,
    .blog-detail-content-card,
    .blog-detail-cta,
    .blog-detail-sidebar-card {
        border-radius: 18px;
    }

    .blog-detail-hero-card,
    .blog-detail-content-card,
    .blog-detail-cta {
        padding: 20px;
    }

    .blog-detail-sidebar-card {
        padding: 18px;
    }

    .blog-detail-hero-top {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 18px;
    }

    .blog-detail-share {
        gap: 6px;
    }

    .blog-detail-share-label {
        font-size: 11px;
    }

    .blog-share-icon {
        width: 30px;
        height: 30px;
    }

    .blog-share-icon svg {
        width: 13px;
        height: 13px;
    }

    .blog-detail-title {
        font-size: 30px;
    }

    .blog-detail-excerpt {
        font-size: 16px;
        line-height: 1.65;
    }

    .blog-detail-cover {
        min-height: 200px;
        max-height: 260px;
    }

    .blog-content {
        font-size: 16px;
        line-height: 1.75;
    }

    .blog-content h1 {
        font-size: 26px;
    }

    .blog-content h2 {
        font-size: 23px;
    }

    .blog-content h3 {
        font-size: 20px;
    }

    .blog-video-block iframe {
        height: 240px;
    }

    .blog-detail-cta h2 {
        font-size: 26px;
    }

    .blog-detail-popular-item {
        grid-template-columns: 88px 1fr;
    }

    .blog-detail-popular-thumb img {
        height: 72px;
    }
}

@media (max-width: 520px) {
    .blog-detail-share {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }

    .blog-detail-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-detail-cta-actions a {
        width: 100%;
        text-align: center;
    }
}

/* =========================
   CONTACTS PAGE
   ========================= */

.contacts-page {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-bottom: 24px;
}

.contacts-hero-panel {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 24px 26px 26px;
    box-shadow: 0 18px 40px rgba(18, 38, 88, 0.10);
}

.contacts-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: stretch;
    padding: 4px 0;
}

.contacts-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.contacts-hero-copy h1 {
    margin: 0 0 16px;
    font-size: 56px;
    line-height: 1.08;
    color: #ffffff;
}

.contacts-hero-copy p {
    margin: 0 0 24px;
    max-width: 620px;
    font-size: 20px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.contacts-mini-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contacts-mini-points span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.contacts-hero-side {
    display: flex;
    align-items: stretch;
}

.contacts-side-box {
    width: 100%;
    padding: 24px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 28px rgba(18, 38, 88, 0.08);
}

.contacts-side-list {
    display: grid;
    gap: 14px;
}

.contacts-side-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contacts-side-item:first-child {
    padding-top: 0;
}

.contacts-side-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contacts-side-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.contacts-side-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.contacts-side-item span {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}

.contacts-side-item strong {
    display: block;
    font-size: 17px;
    line-height: 1.5;
    color: #ffffff;
    font-weight: 700;
}

.contacts-socials {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.contacts-social-btn {
    width: 48px;
    height: 48px;
    background: transparent;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.contacts-social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    background: transparent;
}

.contacts-social-btn img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.contacts-panel {
    background: #f7f9fe;
    border-radius: 28px;
    padding: 42px 30px;
    box-shadow: 0 14px 30px rgba(57, 84, 126, 0.08);
}

.contacts-section-heading {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 34px;
}

.contacts-section-heading--left {
    text-align: left;
    max-width: none;
    margin: 0 0 24px;
}

.contacts-section-heading h2 {
    margin: 0 0 12px;
    font-size: 40px;
    line-height: 1.15;
    color: #243b5a;
}

.contacts-section-heading p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #6b7a90;
}

.contacts-form-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.contacts-form-wrap--single {
    grid-template-columns: 1fr;
}

.contacts-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 10px 24px rgba(57, 84, 126, 0.06);
}

.contacts-form-card--wide {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.contacts-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contacts-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contacts-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contacts-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.contacts-form-group input,
.contacts-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #ffffff;
    color: #222;
    font: inherit;
    box-sizing: border-box;
}

.contacts-form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.contacts-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(120deg, #4e73df, #36b9cc);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.contacts-submit-btn:hover {
    transform: translateY(-2px);
    opacity: 0.96;
}

.contacts-field-error {
    font-size: 13px;
    color: #b42318;
}

.contacts-success-box {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
    font-weight: 600;
}

.contacts-error-box {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    font-weight: 600;
}

.contacts-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.contacts-faq-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 26px 22px;
    box-shadow: 0 10px 24px rgba(57, 84, 126, 0.06);
}

.contacts-faq-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.25;
    color: #243b5a;
}

.contacts-faq-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #6b7a90;
}

@media (max-width: 992px) {
    .contacts-hero {
        grid-template-columns: 1fr;
    }

    .contacts-faq-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contacts-hero-copy {
        text-align: center;
    }

    .contacts-hero-copy p {
        max-width: 100%;
    }

    .contacts-mini-points,
    .about-hero-actions {
        justify-content: center;
    }

    .contacts-hero-copy h1 {
        font-size: 44px;
    }

    .contacts-section-heading h2 {
        font-size: 32px;
    }

    .contacts-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contacts-page {
        gap: 20px;
    }

    .contacts-hero-panel {
        padding: 16px;
        border-radius: 20px;
    }

    .contacts-hero {
        padding-top: 6px;
        gap: 22px;
    }

    .contacts-hero-copy h1 {
        font-size: 34px;
    }

    .contacts-hero-copy p,
    .contacts-section-heading p,
    .contacts-faq-card p,
    .contacts-side-item strong {
        font-size: 16px;
    }

    .contacts-panel {
        padding: 28px 18px;
        border-radius: 22px;
    }

    .contacts-section-heading h2 {
        font-size: 28px;
    }

    .contacts-faq-grid {
        grid-template-columns: 1fr;
    }

    .contacts-faq-card h3 {
        font-size: 22px;
    }

    .contacts-submit-btn {
        width: 100%;
    }

    .contacts-socials {
        justify-content: flex-start;
    }
}

/* =========================
   CURSES PAGE
   ========================= */

/* =========================
   COURSES PUBLIC PAGE - COMMERCIAL
   ========================= */

.courses-public-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 30px;
}

.courses-public-hero {
    padding: 24px 0 0;
    margin: 0;
}

.courses-public-hero h1 {
    margin: 0;
    font-size: 48px;
    line-height: 1.1;
    color: #ffffff;
}

.courses-main-panel {
    margin: 0;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 18px 40px rgba(18, 38, 88, 0.10);
}

.courses-sales-strip {
    text-align: center;
    margin: 0 0 18px;
    padding: 6px 10px 0;
}

.courses-sales-strip h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.2;
}

.courses-sales-strip p {
    margin: 0 auto;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    line-height: 1.65;
}

.courses-cards-grid {
    display: grid;
    gap: 24px;
}

.courses-cards-grid--centered {
    grid-template-columns: repeat(auto-fit, minmax(320px, 360px));
    justify-content: center;
}

.course-public-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(24, 46, 102, 0.10);
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-public-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 42px rgba(24, 46, 102, 0.16);
}

.course-public-image-wrap {
    position: relative;
}

.course-public-image {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
    background: #edf3ff;
}

.course-public-image--placeholder {
    background: linear-gradient(120deg, #dbeafe, #e0f2fe);
}

.course-public-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #3a5cb8;
    font-size: 12px;
    font-weight: 700;
}

.course-public-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-public-kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.course-public-kicker--sales {
    color: #11a36a;
}

.course-public-body h3 {
    margin: 0 0 8px;
    color: #1f3761;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    min-height: 58px;
}

.course-public-excerpt {
    margin: 0 0 14px;
    color: #617089;
    font-size: 15px;
    line-height: 1.7;
    min-height: 76px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-public-points {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.course-public-points span {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f6f8fc;
    color: #334a70;
    font-size: 14px;
    font-weight: 600;
}

.course-public-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
}

.course-public-btn--sales {
    min-height: 48px;
    background: linear-gradient(120deg, #4e73df, #36b9cc);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(78, 115, 223, 0.18);
}

.course-public-btn--sales:hover {
    opacity: 0.95;
}

.courses-empty-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .courses-public-page {
        gap: 22px;
    }

    .courses-public-hero {
        padding: 20px 0 0;
    }

    .courses-public-hero h1 {
        font-size: 36px;
    }

    .courses-main-panel {
        padding: 14px;
        border-radius: 20px;
    }

    .courses-sales-strip {
        margin-bottom: 16px;
        padding-top: 2px;
    }

    .courses-sales-strip h2 {
        font-size: 24px;
    }

    .courses-sales-strip p {
        font-size: 16px;
    }

    .courses-cards-grid--centered {
        grid-template-columns: 1fr;
    }

    .course-public-image {
        height: 220px;
    }

    .course-public-body h3 {
        font-size: 22px;
        min-height: auto;
    }

    .course-public-excerpt {
        min-height: auto;
    }
}

/* =========================
   PUBLIC COURSE DETAIL PAGE
   ========================= */

.public-course-detail-page {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-bottom: 30px;
}

.public-course-hero-panel {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 18px 40px rgba(18, 38, 88, 0.10);
}

.public-course-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: center;
}

.public-course-hero-copy {
    min-width: 0;
}

.public-course-hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #3a5cb8;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.public-course-hero-copy h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 48px;
    line-height: 1.08;
}

.public-course-hero-subtitle {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 22px;
    line-height: 1.5;
    max-width: 720px;
}

.public-course-hero-points {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: grid;
    gap: 10px;
}

.public-course-hero-points li {
    position: relative;
    padding-left: 28px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.5;
}

.public-course-hero-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #b6f3d3;
    font-weight: 700;
}

.public-course-hero-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.public-course-hero-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.public-course-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.public-course-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.public-course-btn:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.public-course-btn--primary {
    background: linear-gradient(120deg, #10b981, #14b8a6);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.18);
}

.public-course-btn--secondary {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.public-course-hero-image-wrap {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(18, 38, 88, 0.14);
}

.public-course-hero-image {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
    background: #edf3ff;
}

.public-course-hero-image--placeholder {
    background: linear-gradient(120deg, #dbeafe, #e0f2fe);
}

.public-course-detail-panel {
    background: #ffffff;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(18, 38, 88, 0.10);
}

.public-course-detail-panel h2 {
    margin: 0 0 14px;
    color: #1f3761;
    font-size: 30px;
    line-height: 1.2;
}

.public-course-detail-panel > p {
    margin: 0;
    color: #617089;
    font-size: 17px;
    line-height: 1.8;
}

.public-course-detail-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #e7ecf5;
}

.public-course-detail-highlight {
    background: #f8fbff;
    border-radius: 18px;
    padding: 18px;
}

.public-course-detail-highlight h3 {
    margin: 0 0 8px;
    color: #1f3761;
    font-size: 18px;
    line-height: 1.3;
}

.public-course-detail-highlight p {
    margin: 0;
    color: #617089;
    font-size: 15px;
    line-height: 1.6;
}

.public-course-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.public-course-detail-info-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 14px 30px rgba(24, 46, 102, 0.10);
}

.public-course-detail-info-card h3 {
    margin: 0 0 12px;
    color: #1f3761;
    font-size: 24px;
    line-height: 1.25;
}

.public-course-detail-info-card p {
    margin: 0;
    color: #617089;
    font-size: 16px;
    line-height: 1.75;
}

@media (max-width: 1100px) {
    .public-course-hero-grid {
        grid-template-columns: 1fr;
    }

    .public-course-detail-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-course-detail-info-grid {
        grid-template-columns: 1fr;
    }

    .public-course-hero-copy h1 {
        font-size: 40px;
    }

    .public-course-hero-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .public-course-detail-page {
        gap: 22px;
    }

    .public-course-hero-panel,
    .public-course-detail-panel,
    .public-course-detail-info-card {
        padding: 18px;
        border-radius: 20px;
    }

    .public-course-hero-image-wrap {
        border-radius: 20px;
    }

    .public-course-hero-copy h1 {
        font-size: 32px;
    }

    .public-course-hero-subtitle {
        font-size: 18px;
    }

    .public-course-hero-points li {
        font-size: 16px;
    }

    .public-course-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .public-course-btn {
        width: 100%;
    }

    .public-course-detail-highlights {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 20px;
        padding-top: 18px;
    }

    .public-course-detail-highlight {
        padding: 16px;
        border-radius: 16px;
    }

    .public-course-detail-highlight h3 {
        font-size: 17px;
    }

    .public-course-detail-highlight p,
    .public-course-detail-panel > p,
    .public-course-detail-info-card p {
        font-size: 16px;
    }

    .public-course-detail-panel h2,
    .public-course-detail-info-card h3 {
        font-size: 24px;
    }
}