/* ==================================================
   AYAT ABOUT PAGE
================================================== */

.ayat-about {
    background: #f5f6f1;
    color: #262b20;
}

.ayat-about-profile {
    background: #fff;
    border-bottom: 1px solid #e4e7dd;
}

.ayat-about-cover-wrap {
    width: min(1320px, 100%);
    margin: 0 auto;
    padding: 0 18px;
}

.ayat-about-cover {
    display: block;
    width: 100%;
    height: clamp(280px, 41vw, 520px);
    object-fit: cover;
    border-radius: 0 0 22px 22px;
}

.ayat-about-profile-body {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding: 0 0 27px;
}

.ayat-about-profile-main {
    display: flex;
    align-items: flex-end;
    gap: 22px;
    min-width: 0;
}

.ayat-about-avatar {
    width: 150px;
    height: 150px;
    margin-top: -65px;
    flex: 0 0 150px;
    border-radius: 50%;
    padding: 7px;
    background: #fff;
    box-shadow: 0 7px 28px rgba(31, 39, 15, .11);
    position: relative;
    z-index: 3;
}

.ayat-about-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 50%;
}

.ayat-about-profile-copy {
    padding-top: 18px;
    max-width: 720px;
}

.ayat-about-eyebrow,
.ayat-about-section-label {
    display: inline-block;
    color: #70801b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.ayat-about-profile-copy h1 {
    margin: 6px 0 8px;
    color: #253015;
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.08;
    font-weight: 650;
    letter-spacing: -.025em;
}

.ayat-about-profile-copy p {
    margin: 0;
    max-width: 690px;
    color: #626958;
    font-size: 16px;
    line-height: 1.75;
}

.ayat-about-profile-label {
    display: inline-block;
    margin-top: 11px;
    color: #7b806f;
    font-size: 13px;
}

.ayat-about-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-bottom: 3px;
}

.ayat-about-btn {
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease;
}

.ayat-about-btn:hover {
    transform: translateY(-1px);
}

.ayat-about-btn-primary {
    background: #a4b61f;
    color: #1e260a;
    box-shadow: 0 7px 18px rgba(121, 139, 23, .15);
}

.ayat-about-btn-light {
    background: #f0f2eb;
    color: #39421e;
}

.ayat-about-shell {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 24px 0 70px;
}

.ayat-about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 2px 19px;
    color: #838978;
    font-size: 13px;
}

.ayat-about-breadcrumb a {
    color: #69751f;
    text-decoration: none;
}

.ayat-about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
    gap: 22px;
}

.ayat-about-feed {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.ayat-about-card {
    background: #fff;
    border: 1px solid #e5e8df;
    border-radius: 17px;
    padding: clamp(24px, 4vw, 38px);
    box-shadow: 0 6px 23px rgba(31, 39, 15, .035);
}

.ayat-about-card > h2,
.ayat-about-media-copy h2,
.ayat-about-final h2 {
    margin: 7px 0 15px;
    color: #283116;
    font-size: clamp(25px, 3vw, 35px);
    line-height: 1.18;
    font-weight: 650;
    letter-spacing: -.02em;
}

.ayat-about-card > p,
.ayat-about-media-copy p {
    color: #646b5b;
    font-size: 15.5px;
    line-height: 1.85;
}

.ayat-about-intro > p:first-of-type {
    color: #424938;
    font-size: 17px;
}

.ayat-about-media-card {
    padding: 0;
    overflow: hidden;
}

.ayat-about-media-image img {
    width: 100%;
    height: clamp(280px, 39vw, 475px);
    display: block;
    object-fit: cover;
}

.ayat-about-media-copy {
    padding: clamp(25px, 4vw, 38px);
}

.ayat-about-text-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 5px;
    color: #687719;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.ayat-about-values {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.ayat-about-value {
    padding: 20px;
    background: #f7f8f3;
    border: 1px solid #e7e9e0;
    border-radius: 13px;
}

.ayat-about-value > span {
    color: #99aa23;
    font-size: 12px;
    font-weight: 800;
}

.ayat-about-value h3 {
    margin: 6px 0;
    color: #303821;
    font-size: 17px;
}

.ayat-about-value p {
    margin: 0;
    color: #727866;
    font-size: 14px;
    line-height: 1.65;
}

.ayat-about-steps {
    display: grid;
    gap: 5px;
}

.ayat-about-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: start;
    padding: 17px 0;
    border-bottom: 1px solid #eaede5;
}

.ayat-about-step:first-child {
    padding-top: 0;
}

.ayat-about-step:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ayat-about-step > span {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef2d8;
    color: #5f7016;
    font-weight: 800;
}

.ayat-about-step h3 {
    margin: 0 0 4px;
    color: #303821;
    font-size: 17px;
}

.ayat-about-step p {
    margin: 0;
    color: #717765;
    font-size: 14px;
    line-height: 1.7;
}

.ayat-about-subjects {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

.ayat-about-subjects article {
    padding: 19px;
    border: 1px solid #e5e8df;
    border-radius: 13px;
    background: #fafbf7;
}

.ayat-about-subjects h3 {
    margin: 0 0 6px;
    color: #30391e;
    font-size: 16px;
}

.ayat-about-subjects p {
    margin: 0;
    color: #737967;
    font-size: 13.5px;
    line-height: 1.65;
}

.ayat-about-global {
    border-inline-start: 4px solid #a4b61f;
}

.ayat-about-faq {
    margin-top: 24px;
}

.ayat-about-faq details {
    border-top: 1px solid #e5e8df;
}

.ayat-about-faq details:last-child {
    border-bottom: 1px solid #e5e8df;
}

.ayat-about-faq summary {
    padding: 17px 2px;
    color: #343c25;
    font-size: 15px;
    font-weight: 650;
    cursor: pointer;
}

.ayat-about-faq details p {
    margin: -4px 0 18px;
    color: #6a715f;
    font-size: 14px;
    line-height: 1.75;
}

.ayat-about-final {
    padding: clamp(30px, 5vw, 52px);
    background: #536119;
    color: #fff;
    border-radius: 17px;
}

.ayat-about-final > span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .77;
}

.ayat-about-final h2 {
    color: #fff;
    max-width: 650px;
}

.ayat-about-final > p {
    max-width: 680px;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.75;
}

.ayat-about-final > div {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.ayat-about-final .ayat-about-btn-primary {
    background: #dce77d;
}

.ayat-about-final .ayat-about-btn-light {
    background: #fff;
}

.ayat-about-sidebar {
    position: sticky;
    top: 96px;
}

.ayat-about-side-card {
    padding: 23px;
    background: #fff;
    border: 1px solid #e5e8df;
    border-radius: 17px;
    box-shadow: 0 6px 23px rgba(31, 39, 15, .04);
}

.ayat-about-side-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 11px;
}

.ayat-about-side-card strong {
    display: block;
    color: #293216;
    font-size: 17px;
}

.ayat-about-side-card p {
    margin: 7px 0 17px;
    color: #777d6b;
    font-size: 13px;
    line-height: 1.6;
}

.ayat-about-side-card a {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #a4b61f;
    color: #1e2708;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}


/* ==================================================
   RTL
================================================== */

html[dir="rtl"] .ayat-about {
    direction: rtl;
}

html[dir="rtl"] .ayat-about-actions {
    justify-content: flex-start;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 960px) {

    .ayat-about-layout {
        grid-template-columns: 1fr;
    }

    .ayat-about-sidebar {
        display: none;
    }

    .ayat-about-profile-body {
        align-items: flex-start;
        flex-direction: column;
    }

    .ayat-about-actions {
        padding-inline-start: 172px;
    }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 650px) {

    .ayat-about-cover-wrap {
        padding: 0;
    }

    .ayat-about-cover {
        height: 270px;
        border-radius: 0;
    }

    .ayat-about-profile-body {
        width: calc(100% - 28px);
        gap: 10px;
        padding-bottom: 22px;
    }

    .ayat-about-profile-main {
        display: block;
    }

    .ayat-about-avatar {
        width: 108px;
        height: 108px;
        margin-top: -51px;
        margin-bottom: 7px;
        flex-basis: 108px;
    }

    .ayat-about-profile-copy {
        padding-top: 0;
    }

    .ayat-about-profile-copy h1 {
        font-size: 31px;
    }

    .ayat-about-profile-copy p {
        font-size: 14.5px;
    }

    .ayat-about-actions {
        width: 100%;
        padding-inline-start: 0;
        justify-content: stretch;
    }

    .ayat-about-actions .ayat-about-btn {
        flex: 1;
    }

    .ayat-about-shell {
        width: calc(100% - 24px);
        padding-top: 17px;
        padding-bottom: 48px;
    }

    .ayat-about-card {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .ayat-about-media-card {
        padding: 0;
    }

    .ayat-about-media-copy {
        padding: 23px 18px;
    }

    .ayat-about-media-image img {
        height: 270px;
    }

    .ayat-about-values,
    .ayat-about-subjects {
        grid-template-columns: 1fr;
    }

    .ayat-about-step {
        grid-template-columns: 42px 1fr;
        gap: 12px;
    }

    .ayat-about-final {
        padding: 28px 20px;
        border-radius: 14px;
    }

    .ayat-about-final > div {
        display: grid;
    }

    .ayat-about-final .ayat-about-btn {
        width: 100%;
    }
}
