/* Site-specific additions on top of the theme stylesheet (app.css / app-arabic.css). */

.notification-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-inline-start: 10px;
    padding: 3px 12px 3px 8px;
    border: 1px solid #d93025;
    border-radius: 4px;
    color: #d93025;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
    vertical-align: middle;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.notification-download:hover,
.notification-download:focus-visible {
    background-color: #d93025;
    color: #fff;
}

.notification-download:hover svg path:first-child,
.notification-download:focus-visible svg path:first-child {
    fill: #fff;
}

/* Policy pages (Terms and Conditions, Privacy & Refund Policy). */

.policy-highlights {
    margin-bottom: 50px;
}

.policy-highlight {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 24px 28px;
    border-top: 4px solid var(--color-primary, #1ab69d);
    border-radius: 6px;
    background: #f4fbfa;
}

.policy-highlight__value {
    color: var(--color-heading, #181818);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

.policy-highlight__label {
    font-size: 15px;
    line-height: 1.5;
}

.policy-toc {
    position: sticky;
    top: 120px;
    padding: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
}

.policy-toc__title {
    margin-bottom: 16px;
    font-size: 20px;
}

.policy-toc__group {
    margin: 18px 0 8px;
    color: var(--color-heading, #181818);
    font-size: 15px;
    font-weight: 700;
}

.policy-toc ol {
    margin: 0;
    padding-inline-start: 22px;
}

.policy-toc li {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.5;
}

.policy-toc a {
    color: inherit;
}

.policy-toc a:hover,
.policy-toc a:focus-visible {
    color: var(--color-primary, #1ab69d);
}

.policy-toc .policy-toc__related {
    display: inline-block;
    margin-top: 20px;
    color: var(--color-primary, #1ab69d);
    font-weight: 600;
}

.policy-content section {
    margin-bottom: 36px;
    scroll-margin-top: 120px;
}

.policy-content h2,
.policy-content h3 {
    margin-bottom: 14px;
}

.policy-content h2 {
    font-size: 28px;
}

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

.policy-content .policy-part {
    margin: 50px 0 28px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary, #1ab69d);
    font-size: 30px;
    scroll-margin-top: 120px;
}

.policy-content p,
.policy-content li {
    font-size: 17px;
    line-height: 1.75;
}

.policy-content ul {
    margin: 0 0 16px;
    padding-inline-start: 22px;
    list-style: disc;
}

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

.policy-content a {
    color: var(--color-primary, #1ab69d);
}

.policy-updated {
    color: #6b6b6b;
    font-style: italic;
}

.policy-contact {
    padding: 30px;
    border-radius: 6px;
    background: #f4fbfa;
}

.policy-contact__list {
    padding: 0 !important;
    list-style: none !important;
}

.policy-contact__label {
    display: inline-block;
    min-width: 90px;
    color: var(--color-heading, #181818);
    font-weight: 700;
}

.footer-policy-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 24px;
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}

.footer-policy-links li {
    margin: 0;
}

@media (max-width: 991px) {
    .policy-toc {
        position: static;
    }
}

/* Inner-page banner: keep the logo beside the title instead of behind it. The logo is pinned to the
   container edge and the title gets matching side space, so long titles wrap rather than overlap. */

@media only screen and (min-width: 992px) {
    .edu-breadcrumb-area .breadcrumb-inner {
        padding-inline: 170px;
    }

    .edu-breadcrumb-area .page-title .title {
        line-height: 1.25;
        text-wrap: balance;
    }

    .edu-breadcrumb-area .shape-group li.shape-2 {
        top: 50%;
        left: calc(50% - 465px);
        transform: translateY(-50%);
    }

    .edu-breadcrumb-area .shape-group li.shape-2 img {
        width: 130px;
        height: auto;
    }
}

@media only screen and (min-width: 1200px) {
    .edu-breadcrumb-area .shape-group li.shape-2 {
        left: calc(50% - 578px);
    }

    .edu-breadcrumb-area .shape-group li.shape-2 img {
        width: 150px;
    }
}
