/* ==========================================================
   Block: Sved Section — frontend styles
   ========================================================== */

.sved-page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sved-section {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 140px;
}

.sved-section:last-of-type {
    border-bottom: none;
}

.sved-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.sved-section-num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
}
.sved-section-num.red    { background: var(--red); }
.sved-section-num.green  { background: #16a34a; }
.sved-section-num.yellow { background: #d97706; }
.sved-section-num.purple { background: #7c3aed; }
.sved-section-num.teal   { background: #0891b2; }

.sved-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
}

/* Таблица */
.sved-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 20px;
}
.sved-table tr { border-bottom: 1px solid var(--border); }
.sved-table tr:last-child { border-bottom: none; }
.sved-table th {
    width: 35%;
    padding: 14px 16px 14px 0;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    vertical-align: top;
}
.sved-table td {
    padding: 14px 0;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.6;
    vertical-align: top;
}
.sved-table td a { color: var(--blue); text-decoration: none; }
.sved-table td a:hover { text-decoration: underline; }

/* Info box */
.sved-info-box {
    background: var(--blue-light);
    border-left: 4px solid var(--blue);
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    font-size: 14px;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 20px;
}
.sved-info-box.green { background: #f0fdf4; border-color: #16a34a; }
.sved-info-box.gray  { background: var(--bg); border-color: var(--muted); }

/* Link card */
.sved-link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s;
    color: var(--dark);
    margin-bottom: 16px;
}
.sved-link-card:hover {
    border-color: var(--blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26, 86, 219, 0.12);
}
.sved-link-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.sved-link-card-icon.blue { background: var(--blue-light); color: var(--blue); }
.sved-link-card-icon.red  { background: var(--red-light);  color: var(--red); }
.sved-link-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 3px;
}
.sved-link-card-sub   { font-size: 13px; color: var(--muted); font-weight: 600; }
.sved-link-card-arrow { margin-left: auto; color: var(--blue); font-size: 18px; flex-shrink: 0; }

/* Enroll block */
.sved-enroll-block {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #f0f5ff, var(--blue-light));
    border: 2px solid rgba(26, 86, 219, 0.15);
    border-radius: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.sved-enroll-text { flex: 1; min-width: 200px; }
.sved-enroll-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}
.sved-enroll-sub { font-size: 13px; color: var(--muted); font-weight: 600; }

@media (max-width: 768px) {
    .sved-page-wrap { padding: 0 16px; }
    .sved-section-title { font-size: 18px; }
    .sved-table th { width: 40%; font-size: 12px; }
    .sved-enroll-block { flex-direction: column; align-items: flex-start; }
}
