/* Destek merkezi — hub */
.help-hub-wrap,
.help-hub-guest {
    max-width: 1360px;
    margin: 0 auto;
    padding: 20px 16px 56px;
}

.help-hub-wrap--ov {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 4px 0 40px;
}

/* Kampüs nav ile aynı hat: logo solu ↔ menü sağı */
body.lp-campus .help-hub-guest,
.help-hub-guest {
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    padding: 20px var(--lp-campus-gutter, 64px) 56px;
}

.help-hub {
    --hub-accent: #0284c7;
    --hub-accent-soft: #e0f2fe;
    --hub-accent-deep: #0369a1;
}

.help-hub[data-help-role="student"] {
    --hub-accent: #059669;
    --hub-accent-soft: #d1fae5;
    --hub-accent-deep: #047857;
}

.help-hub[data-help-role="parent"] {
    --hub-accent: #ea580c;
    --hub-accent-soft: #ffedd5;
    --hub-accent-deep: #c2410c;
}

/* ---------- Hero — koyu lacivert, ince şerit ---------- */
.help-hero,
.help-hero--teacher,
.help-hero--student,
.help-hero--parent {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 0 16px;
    padding: 10px 22px;
    border-radius: 12px;
    border: 1px solid #0a1f4d;
    background: linear-gradient(90deg, #061433 0%, #0a2458 55%, #0c2d6b 100%);
    box-shadow: none;
}

.help-hero-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.help-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.35;
}

.help-hero-blob--lilac {
    width: 140px;
    height: 140px;
    top: -70px;
    right: 8%;
    background: rgba(59, 130, 246, 0.28);
}

.help-hero-blob--mint {
    display: none;
}

.help-hero-blob--peach {
    width: 90px;
    height: 90px;
    bottom: -50px;
    left: -20px;
    background: rgba(30, 64, 175, 0.45);
}

.help-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
}

.help-hero-copy {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
}

.help-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 22px;
    padding: 0 9px;
    margin: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #bfdbfe;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: none;
}

.help-hero-copy h1 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 750;
    color: #f8fafc;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.help-hero-copy h1 i {
    font-size: 0.92rem;
    color: #bfdbfe;
}

.help-hero-copy p {
    margin: 0;
    flex-basis: 100%;
    color: #93c5fd;
    font-size: 0.8rem;
    line-height: 1.35;
}

.help-hero-side {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.help-hero-stats {
    display: flex;
    gap: 6px;
}

.help-hero-stat {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 5px;
    min-width: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(191, 219, 254, 0.18);
    box-shadow: none;
}

.help-hero-stat strong {
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1;
    color: #fff;
}

.help-hero-stat span {
    font-size: 0.68rem;
    font-weight: 600;
    color: #93c5fd;
    text-transform: none;
    letter-spacing: 0;
}

.help-hero-manage {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff!important;
    border: 1px solid rgba(226, 232, 240, 0.22);
    font-size: 0.78rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.help-hero-manage i {
    color: #fff;
}

.help-hero-manage:hover,
.help-hero-manage:focus {
    background: #fff;
    color: #0a1f4d;
    border-color: #fff;
    outline: none;
}

.help-hero-manage--ticket {
    background: #fff;
    color: #0a1f4d!important;
    border-color: #fff;
    font-weight: 750;
}

.help-hero-manage--ticket i {
    color: #0a1f4d;
}

.help-hero-manage--ticket:hover,
.help-hero-manage--ticket:focus {
    background: #dbeafe;
    color: #0a1f4d;
    border-color: #dbeafe;
}

.help-hub-ticket {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 16px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid #bfdbfe;
    background: linear-gradient(100deg, #eff6ff 0%, #fff 48%);
}

.help-hub-ticket__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    background: #0a1f4d;
    color: #fff;
    font-size: 1.1rem;
}

.help-hub-ticket__copy {
    min-width: 0;
    flex: 1 1 auto;
}

.help-hub-ticket__copy h2 {
    margin: 0;
    color: #0a1f4d;
    font-size: 1.02rem;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.help-hub-ticket__copy p {
    margin: 4px 0 0;
    max-width: 52rem;
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.5;
}

.help-hub-ticket__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.help-hub-ticket__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #0a1f4d;
    color: #fff!important;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.help-hub-ticket__btn:hover,
.help-hub-ticket__btn:focus {
    background: #061433;
    outline: none;
}

.help-hub-ticket__btn--ghost {
    background: #fff;
    color: #0a1f4d!important;
    border: 1px solid #cbd5e1;
}

.help-hub-ticket__btn--ghost:hover,
.help-hub-ticket__btn--ghost:focus {
    background: #f8fafc;
    border-color: #94a3b8;
}

/* ---------- Kitle sekmeleri ---------- */
.help-hub-roles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.help-hub-roles--single {
    grid-template-columns: minmax(0, 360px);
}

.help-hub-role {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    color: #475569;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.help-hub-role:hover,
.help-hub-role:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
    border-color: #cbd5e1;
    outline: none;
}

.help-hub-role-ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.help-hub-role-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.help-hub-role-text strong {
    font-size: 0.92rem;
    font-weight: 750;
    color: #0f172a;
}

.help-hub-role-text span {
    font-size: 0.74rem;
    color: #94a3b8;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.help-hub-role.is-active {
    border-color: transparent;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.help-hub-role[data-help-role="teacher"].is-active {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
}

.help-hub-role[data-help-role="teacher"].is-active .help-hub-role-ico {
    background: #0284c7;
    color: #fff;
}

.help-hub-role[data-help-role="teacher"].is-active .help-hub-role-text span {
    color: #0369a1;
}

.help-hub-role[data-help-role="student"].is-active {
    background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%);
}

.help-hub-role[data-help-role="student"].is-active .help-hub-role-ico {
    background: #059669;
    color: #fff;
}

.help-hub-role[data-help-role="student"].is-active .help-hub-role-text span {
    color: #047857;
}

.help-hub-role[data-help-role="parent"].is-active {
    background: linear-gradient(135deg, #ffedd5 0%, #fff7ed 100%);
}

.help-hub-role[data-help-role="parent"].is-active .help-hub-role-ico {
    background: #ea580c;
    color: #fff;
}

.help-hub-role[data-help-role="parent"].is-active .help-hub-role-text span {
    color: #c2410c;
}

/* ---------- Bloklar ---------- */
.help-hub-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.help-hub-block {
    padding: 18px;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 20px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.04);
}

.help-hub-block-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.help-hub-block-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.help-hub-block-ico--guide {
    background: var(--hub-accent-soft);
    color: var(--hub-accent-deep);
}

.help-hub-block-ico--video {
    background: #e8eef6;
    color: #334155;
    box-shadow: none;
}

.help-hub-block-text {
    min-width: 0;
    flex: 0 1 auto;
}

.help-hub-block-text h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.help-hub-block-text p {
    margin: 2px 0 0;
    font-size: 0.8rem;
    color: #94a3b8;
}

.help-hub-block-count {
    min-width: 24px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #e8eef6;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Arama */
.help-hub-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 260px;
    max-width: 100%;
    height: 38px;
    padding: 0 10px 0 12px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #94a3b8;
    flex-shrink: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.help-hub-search:focus-within {
    border-color: #94a3b8;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.help-hub-search i {
    font-size: 0.8rem;
    flex-shrink: 0;
}

.help-hub-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    margin: 0 6px;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-size: 0.84rem;
    font-family: inherit;
    outline: none;
}

.help-hub-search input::-webkit-search-cancel-button {
    display: none;
}

.help-hub-search-clear {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-size: 0.72rem;
    cursor: pointer;
    flex-shrink: 0;
}

.help-hub-search-clear[hidden] {
    display: none;
}

/* ---------- Kılavuzlar (video başlığı satırında) ---------- */
.help-hub-guides {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 220px;
}

.help-hub-guide {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 320px;
    padding: 6px 10px 6px 6px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.help-hub-guide:hover,
.help-hub-guide:focus-visible {
    transform: translateY(-1px);
    background: #fff;
    border-color: var(--hub-accent);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
    outline: none;
}

.help-hub-guide-ico {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8eef6;
    color: #334155;
    flex-shrink: 0;
    font-size: 0.85rem;
    box-shadow: none;
}

.help-hub-guide--teacher .help-hub-guide-ico,
.help-hub-guide--student .help-hub-guide-ico,
.help-hub-guide--parent .help-hub-guide-ico {
    background: #e8eef6;
    color: #334155;
    box-shadow: none;
}

.help-hub-guide-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.help-hub-guide-copy strong {
    font-size: 0.82rem;
    font-weight: 750;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.help-hub-guide-copy span {
    font-size: 0.7rem;
    font-weight: 500;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.help-hub-guide-go {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--hub-accent);
    border: 1px solid #e2e8f0;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.help-hub-guide:hover .help-hub-guide-go {
    background: var(--hub-accent);
    color: #fff;
    border-color: var(--hub-accent);
}

.help-hub-guide[hidden] {
    display: none !important;
}

.help-hub-missing {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #94a3b8;
    font-size: 0.78rem;
}

.help-hub-missing[hidden] {
    display: none;
}

/* ---------- Videolar ---------- */
.help-hub-block--videos {
    background: #fff;
}

.help-hub-video[hidden],
.help-hub-acc[hidden],
.help-hub-empty[hidden] {
    display: none !important;
}

.help-hub-empty {
    text-align: center;
    padding: 40px 16px;
    color: #64748b;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
}

.help-hub-empty-ico {
    width: 52px;
    height: 52px;
    margin: 0 auto 10px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8eef6;
    color: #475569;
    font-size: 1.3rem;
}

.help-hub-empty p {
    margin: 0;
    font-size: 0.88rem;
}

/* Kategori akordeonu */
.help-hub-acc {
    --acc-a: #475569;
    --acc-b: #334155;
    --acc-soft: #f1f5f9;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.help-hub-acc.is-open {
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.help-hub-acc--tone-1,
.help-hub-acc--tone-2,
.help-hub-acc--tone-3,
.help-hub-acc--tone-4,
.help-hub-acc--tone-5 {
    --acc-a: #475569;
    --acc-b: #334155;
    --acc-soft: #f1f5f9;
}

.help-hub-acc-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 0;
    background: #f1f5f9;
    color: #334155;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.help-hub-acc-head:hover,
.help-hub-acc.is-open .help-hub-acc-head {
    background: #e8edf3;
}

.help-hub-acc-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8eef6;
    color: #334155;
    flex-shrink: 0;
    font-size: 0.85rem;
    box-shadow: none;
}

.help-hub-acc-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}

.help-hub-acc-text strong {
    font-size: 0.92rem;
    font-weight: 750;
    color: #0f172a;
}

.help-hub-acc-text span {
    color: #94a3b8;
    font-size: 0.74rem;
}

.help-hub-acc-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.help-hub-acc-chevron {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.72rem;
    transition: transform 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.help-hub-acc.is-open .help-hub-acc-chevron {
    transform: rotate(180deg);
    background: #e8eef6;
    color: #334155;
}

.help-hub-acc-body {
    padding: 12px 14px 14px;
    border-top: 1px solid #eef2f7;
    background: #f8fafc;
}

.help-hub-acc-body[hidden] {
    display: none;
}

.help-hub-acc-empty {
    margin: 4px 0 0;
    color: #94a3b8;
    font-size: 0.86rem;
}

/* Video kartları — ızgara */
.help-hub-vgrid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
}

.help-hub-video {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.help-hub-video:hover,
.help-hub-video:focus-visible {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    outline: none;
}

.help-hub-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1e293b;
}

.help-hub-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1e293b;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.help-hub-thumb img[hidden] {
    display: none;
}

.help-hub-video:hover .help-hub-thumb img {
    transform: scale(1.04);
}

.help-hub-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0.28) 55%, rgba(15, 23, 42, 0.48) 100%);
    pointer-events: none;
}

.help-hub-thumb-ico {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.28);
    font-size: 3.2rem;
}

.help-hub-playico {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.help-hub-playico i {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    padding-left: 3px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.28);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.help-hub-video:hover .help-hub-playico i {
    transform: scale(1.08);
    background: #0f172a;
    color: #fff;
}

.help-hub-thumb-num {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    height: 22px;
    min-width: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.help-hub-vbody {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px 6px;
    min-width: 0;
    flex: 1 1 auto;
}

.help-hub-vbody h4 {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.help-hub-vtag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #94a3b8;
    font-size: 0.7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.help-hub-vtag i {
    color: #64748b;
}

.help-hub-play {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 12px 12px;
    height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    width: fit-content;
    transition: background 0.18s ease, color 0.18s ease;
}

.help-hub-video:hover .help-hub-play {
    background: #0f172a;
    color: #fff;
}

/* ---------- Oynatıcı ---------- */
.help-hub-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(3px);
}

.help-hub-modal[hidden] {
    display: none;
}

.help-hub-modal-card {
    width: min(880px, 100%);
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.35);
}

.help-hub-modal-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 10px 14px;
    background: linear-gradient(90deg, #f5f3ff 0%, #fdf2f8 100%);
    border-bottom: 1px solid #f1e9ff;
}

.help-hub-modal-ico {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    color: #fff;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.help-hub-modal-head h3 {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #3b0764;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.help-hub-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #6d28d9;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
    flex-shrink: 0;
}

.help-hub-modal-close:hover,
.help-hub-modal-close:focus-visible {
    background: #6d28d9;
    color: #fff;
    outline: none;
}

.help-hub-modal-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #0f172a;
}

.help-hub-modal-embed iframe,
.help-hub-modal-embed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #0f172a;
}

body.help-hub-lock {
    overflow: hidden;
}

/* ---------- Duyarlı ---------- */
@media (max-width: 900px) {
    .help-hero,
    .help-hero--teacher,
    .help-hero--student,
    .help-hero--parent {
        padding: 10px 14px;
        border-radius: 10px;
    }

    .help-hero-inner {
        flex-wrap: wrap;
        align-items: center;
    }

    .help-hero-side {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }

    .help-hero-copy h1 {
        font-size: 1.05rem;
    }

    .help-hub-block-head {
        flex-wrap: wrap;
    }

    .help-hub-guides {
        flex: 1 1 100%;
        order: 3;
    }

    .help-hub-search {
        width: 100%;
        order: 4;
    }
}

@media (max-width: 640px) {
    .help-hub-wrap {
        padding: 16px 12px 40px;
    }

    .help-hub-guest {
        padding-top: 16px;
        padding-bottom: 40px;
    }

    .help-hub-roles {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .help-hub-role {
        padding: 10px 12px;
        border-radius: 14px;
    }

    .help-hub-role-ico {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .help-hub-block {
        padding: 14px;
        border-radius: 16px;
    }

    .help-hub-guide {
        max-width: none;
        flex: 1 1 100%;
    }

    .help-hub-vgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .help-hub-play span {
        display: none;
    }

    .help-hub-play {
        width: 28px;
        padding: 0;
        justify-content: center;
    }

    .help-hero-stats {
        gap: 6px;
    }

    .help-hero-stat {
        min-width: 64px;
        padding: 6px 10px;
    }

    .help-hero-manage {
        height: 32px;
        padding: 0 12px;
        font-size: 0.76rem;
    }

    .help-hub-ticket {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px;
    }

    .help-hub-ticket__actions {
        width: 100%;
    }

    .help-hub-ticket__btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .help-hub-guest {
        padding-left: var(--lp-campus-gutter, 24px);
        padding-right: var(--lp-campus-gutter, 24px);
    }
}

@media (max-width: 420px) {
    .help-hub-vgrid {
        grid-template-columns: 1fr;
    }

    .help-hub-acc-count {
        display: none;
    }
}

.help-ticket-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1180;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.help-ticket-widget__fab {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: #0a1f4d;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 10px 28px -10px rgba(6, 20, 51, 0.65);
    cursor: pointer;
}

.help-ticket-widget__fab:hover,
.help-ticket-widget__fab:focus {
    background: #061433;
    outline: none;
}

.help-ticket-widget__panel {
    display: flex;
    flex-direction: column;
    width: min(400px, calc(100vw - 24px));
    max-height: min(640px, calc(100vh - 100px));
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 18px 50px -20px rgba(15, 23, 42, 0.45);
}

.help-ticket-widget__panel[hidden] {
    display: none;
}

.help-ticket-widget__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 14px;
    background: #0a1f4d;
    color: #fff;
}

.help-ticket-widget__kicker {
    margin: 0 0 2px;
    color: #93c5fd;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.help-ticket-widget__head h2 {
    margin: 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 750;
}

.help-ticket-widget__x {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
}

.help-ticket-widget__x:hover,
.help-ticket-widget__x:focus {
    background: #fff;
    color: #0a1f4d;
    outline: none;
}

.help-ticket-widget__body {
    flex: 1 1 auto;
    overflow: auto;
    padding: 14px 16px 16px;
}

.help-ticket-widget .help-ticket-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}

.help-ticket-widget .help-ticket-field textarea {
    min-height: 88px;
}

.help-ticket-widget .help-ticket-hint {
    font-size: 0.78rem;
}

@media (max-width: 640px) {
    .help-ticket-widget {
        right: 12px;
        bottom: 12px;
    }

    .help-ticket-widget__panel {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 88px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .help-hub-role,
    .help-hub-guide,
    .help-hub-video,
    .help-hub-thumb img,
    .help-hub-playico i {
        transition: none;
    }
}
