﻿/* Kutby site page CSS — terms (split from site-pages.css) */
/* Do not edit site-pages.css for page styles; edit this file. */

/* ---- terms ---- */

.home-panel {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8eaed;
    padding: 16px 16px 14px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .05);
    width: 100%;
}

.home-cards-grid {
    display: grid;
    gap: 12px;
}

.home-cards-grid.cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-cards-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-cards-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-cards-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-cards-grid > * {
    min-width: 0;
}

.home-cards-grid .phv2-item,
.home-cards-grid > a {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-cards-grid .phv2-item > a,
.home-cards-grid > a {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-cards-grid .phv2-card {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1024px) {
    .home-cards-grid.cols-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .home-cards-grid.cols-3,
    .home-cards-grid.cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-cards-grid.cols-5,
    .home-cards-grid.cols-3,
    .home-cards-grid.cols-4,
    .home-cards-grid.cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}



.edu-home-page,
.blog-page {
    font-family: 'Tajawal', 'Inter', system-ui, sans-serif;
}

.edu-home-page .edu-page-title,
.blog-page .blog-hero-title,
.blog-page .blog-article-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
    line-height: 1.4;
}

.blog-page .blog-hero-title {
    font-size: 28px;
}

.blog-page .blog-article-title {
    font-size: clamp(18px, 3vw, 22px);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-page .blog-article-lead {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.75;
}

.blog-page .blog-article-body {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    color: #475569;
}

.blog-page .blog-article-body h2 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
}

.blog-page .blog-article-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.45;
}

.blog-page .blog-article-body h4 {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    line-height: 1.45;
}

.blog-page .blog-article-body h5 {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.5;
}

.edu-home-page .edu-page-kicker {
    font-size: 11px;
    font-weight: 600;
    color: #2563eb;
    margin: 0 0 6px;
    line-height: 1.3;
}

.edu-home-page .edu-page-desc,
.blog-page .blog-hero-desc {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
    line-height: 1.7;
}

.blog-page .blog-hero-desc {
    font-size: 15px;
    color: #475569;
    margin-bottom: 16px;
}

.edu-home-page .edu-section-title,
.blog-page .blog-feed-title h2,
.blog-page .blog-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.edu-home-page .edu-section-link,
.blog-page .blog-feed-count {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.edu-home-page .edu-empty-text {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
    text-align: center;
    padding: 24px 0;
}

.blog-page .blog-breadcrumb {
    font-weight: 500;
}

@media (max-width: 640px) {
    .blog-page .blog-hero-title {
        font-size: 22px;
    }

    .blog-page .blog-hero-desc {
        font-size: 13px;
    }
}



.edu-static-page {
    font-family: 'Tajawal', 'Inter', system-ui, sans-serif;
}

.edu-static-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f4f8ff 0%, #fafbff 100%);
    border: 1px solid #e5edf8;
    border-radius: 20px;
    padding: 24px 28px 22px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .05);
    text-align: center;
}

.edu-static-hero-deco {
    position: absolute;
    color: #2563eb;
    opacity: .07;
    pointer-events: none;
}

.edu-static-hero-deco--left {
    top: 14px;
    left: 20px;
}

.edu-static-hero-deco--right {
    bottom: 10px;
    right: 24px;
}

.edu-static-hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.edu-static-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #eff6ff;
    color: #2563eb;
    margin-bottom: 12px;
}

.edu-static-hero .edu-page-title {
    font-size: 22px;
    margin-bottom: 8px;
}

.edu-static-hero .edu-page-desc {
    font-size: 14px;
    color: #475569;
}

.edu-static-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    font-size: 11px;
    font-weight: 600;
    color: #059669;
}

.edu-static-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.edu-static-alert--success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.edu-static-alert--error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.edu-static-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.edu-static-info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 16px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.edu-static-info-card:hover {
    border-color: #dbeafe;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .06);
}

.edu-static-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.edu-static-info-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    margin: 0;
}

.edu-static-info-value {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.5;
    word-break: break-word;
}

.edu-static-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.edu-static-panel-stick {
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(#2563eb, #7c3aed);
    flex-shrink: 0;
}

.edu-static-panel-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.edu-static-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.edu-static-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.edu-static-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
}

.edu-static-field input,
.edu-static-field textarea,
.edu-static-field select {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
    background: #fff;
    font-family: inherit;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    box-sizing: border-box;
}

.edu-static-field input:focus,
.edu-static-field textarea:focus,
.edu-static-field select:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.edu-static-field input.is-error,
.edu-static-field textarea.is-error {
    border-color: #fca5a5;
}

.edu-static-field textarea {
    resize: vertical;
    min-height: 120px;
}

.edu-static-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    align-self: flex-start;
    transition: opacity .15s ease, transform .15s ease;
}

.edu-static-submit:hover {
    opacity: .92;
    transform: translateY(-1px);
}

.edu-static-errors {
    padding: 12px 14px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    font-size: 12px;
    font-weight: 600;
    color: #991b1b;
    line-height: 1.7;
}

.edu-static-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.edu-static-toc a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all .15s ease;
}

.edu-static-toc a:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
}

.edu-static-sections {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.edu-static-section {
    padding: 16px 18px;
    border-radius: 12px;
    background: #fafbff;
    border: 1px solid #f1f5f9;
}

.edu-static-section h2 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
}

.edu-static-section p {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.85;
}

.edu-static-section p + p {
    margin-top: 10px;
}

.edu-static-section ul {
    margin: 8px 0 0;
    padding: 0 18px 0 0;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.85;
}

.edu-static-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    border: 1px solid #dbeafe;
}

.edu-static-cta-text {
    flex: 1;
    min-width: 200px;
}

.edu-static-cta-text h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.edu-static-cta-text p {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.6;
}

.edu-static-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s ease;
}

.edu-static-cta-btn:hover {
    background: #1d4ed8;
    color: #fff;
}

.edu-static-help {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-right: 4px solid #2563eb;
    border-radius: 14px;
}

.edu-static-help-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edu-static-help-content h2 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.edu-static-help-content p {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.75;
}

.edu-static-help-content a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 768px) {
    .edu-static-info-grid {
        grid-template-columns: 1fr;
    }

    .edu-static-form-row {
        grid-template-columns: 1fr;
    }

    .edu-static-hero {
        padding: 20px 18px 18px;
        border-radius: 16px;
    }

    .edu-static-hero .edu-page-title {
        font-size: 18px;
    }

    .edu-static-hero .edu-page-desc {
        font-size: 13px;
    }
}



.edu-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    direction: rtl;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    line-height: 1.4;
}

.edu-breadcrumb::-webkit-scrollbar {
    display: none;
}

.edu-breadcrumb-link,
.edu-breadcrumb-current,
.edu-breadcrumb-sep {
    flex-shrink: 0;
    white-space: nowrap;
}

.edu-breadcrumb-link {
    color: #2563eb;
    text-decoration: none;
}

.edu-breadcrumb-link:hover {
    text-decoration: underline;
}

.edu-breadcrumb-sep {
    color: #94a3b8;
    font-size: 11px;
    line-height: 1;
}

.edu-breadcrumb-current {
    color: #64748b;
}

.edu-breadcrumb-current.is-current {
    color: #334155;
    font-weight: 600;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}



.site-search-field {
    position: relative;
    width: 100%;
}

.site-search-suggest {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 200;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
    max-height: 320px;
    overflow-y: auto;
    padding: 6px;
}

.site-search-suggest-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background-color .12s ease;
}

.site-search-suggest-item:hover,
.site-search-suggest-item.is-active {
    background: #eff6ff;
}

.site-search-suggest-label {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}

.site-search-suggest-meta {
    font-size: 11px;
    color: #64748b;
}

.site-search-suggest-empty {
    padding: 10px 12px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

.header-search-container {
    position: relative;
}

.header-search-container .site-search-suggest {
    top: calc(100% + 8px);
}

.hero-search-form .site-search-field {
    flex: 1;
    min-width: 0;
}


