/* =========================================
   Sidi Ifni City Page
========================================= */

.sidi-ifni-page {
    width: 100%;
    padding: 32px 20px 95px;

    direction: rtl;
}

.sidi-ifni-page-hero {
    position: relative;

    width: 100%;
    max-width: 1260px;
    min-height: 620px;

    margin: 0 auto;
    padding: 65px 55px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-image:
        linear-gradient(
            135deg,
            rgba(2, 14, 53, 0.86),
            rgba(8, 51, 132, 0.72)
        ),
        url("https://pharma-garde24.com/wp-content/themes/PharmaGarde24/assets/images/sidi-ifni.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 34px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 30px 70px rgba(0, 10, 45, 0.35);
}

.sidi-ifni-page-hero::before {
    content: "";

    position: absolute;
    top: -180px;
    right: -140px;

    width: 430px;
    height: 430px;

    background: rgba(44, 221, 150, 0.18);
    filter: blur(100px);
    border-radius: 50%;

    pointer-events: none;
}

.sidi-ifni-page-hero::after {
    content: "";

    position: absolute;
    bottom: -220px;
    left: -150px;

    width: 470px;
    height: 470px;

    background: rgba(63, 135, 255, 0.22);
    filter: blur(110px);
    border-radius: 50%;

    pointer-events: none;
}


/* الحاوية الداخلية */

.sidi-ifni-page-container {
    position: relative;
    z-index: 2;

    width: 100%;

    display: grid;
    gap: 40px;
}


/* عنوان الصفحة */

.sidi-ifni-page-heading {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;
    padding: 38px 40px;

    text-align: center;

    background: rgba(2, 17, 61, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 28px;

    backdrop-filter: blur(22px) saturate(155%);
    -webkit-backdrop-filter: blur(22px) saturate(155%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 24px 55px rgba(0, 8, 35, 0.25);
}

.sidi-ifni-page-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;
    padding: 8px 17px;

    color: #9effd1;
    font-size: 14px;
    font-weight: 700;

    background: rgba(70, 220, 155, 0.14);
    border: 1px solid rgba(70, 220, 155, 0.32);
    border-radius: 999px;
}

.sidi-ifni-page-heading h1 {
    margin: 0 0 18px;

    color: #ffffff;
    font-size: clamp(37px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.3;
}

.sidi-ifni-page-heading p {
    max-width: 760px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.80);
    font-size: 17px;
    line-height: 1.9;
}


/* نتيجة صيدلية الحراسة */

.sidi-ifni-page-result {
    width: 100%;
    max-width: 780px;

    margin: 0 auto;
}

.sidi-ifni-page-result
#sidi-ifni-pharmacy-results {
    width: 100%;
    grid-template-columns: 1fr;
}

.sidi-ifni-page-result
.live-pharmacy-card {
    width: 100%;
    max-width: none;
}


/* رسالة التحميل أو الخطأ */

.sidi-ifni-page-result
.pharmacy-results-loading,
.sidi-ifni-page-result
.pharmacy-results-error {
    min-height: 260px;
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 1000px) {

    .sidi-ifni-page {
        padding-right: 16px;
        padding-left: 16px;
    }

    .sidi-ifni-page-hero {
        min-height: auto;
        padding: 50px 35px;
    }

    .sidi-ifni-page-heading {
        padding: 34px 30px;
    }
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 600px) {

    .sidi-ifni-page {
        padding: 20px 12px 65px;
    }

    .sidi-ifni-page-hero {
        padding: 24px 14px 30px;
        border-radius: 24px;
    }

    .sidi-ifni-page-container {
        gap: 24px;
    }

    .sidi-ifni-page-heading {
        padding: 27px 18px;
        border-radius: 22px;
    }

    .sidi-ifni-page-label {
        margin-bottom: 15px;
        font-size: 13px;
    }

    .sidi-ifni-page-heading h1 {
        margin-bottom: 15px;
        font-size: 33px;
    }

    .sidi-ifni-page-heading p {
        font-size: 15px;
        line-height: 1.8;
    }

    .sidi-ifni-page-result {
        max-width: none;
    }
}


/* الشاشات الصغيرة جداً */

@media (max-width: 380px) {

    .sidi-ifni-page {
        padding-right: 9px;
        padding-left: 9px;
    }

    .sidi-ifni-page-hero {
        padding-right: 10px;
        padding-left: 10px;
    }

    .sidi-ifni-page-heading {
        padding-right: 15px;
        padding-left: 15px;
    }

    .sidi-ifni-page-heading h1 {
        font-size: 29px;
    }
}


/* =========================================
   Tiznit City Page
========================================= */

.tiznit-page {
    width: 100%;
    padding: 32px 20px 95px;

    direction: rtl;
}

.tiznit-page-hero {
    position: relative;

    width: 100%;
    max-width: 1260px;
    min-height: 620px;

    margin: 0 auto;
    padding: 65px 55px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-image:
        linear-gradient(
            135deg,
            rgba(2, 14, 53, 0.86),
            rgba(8, 51, 132, 0.72)
        ),
        url("https://pharma-garde24.com/wp-content/themes/PharmaGarde24/assets/images/tiznit.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 34px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 30px 70px rgba(0, 10, 45, 0.35);
}

.tiznit-page-hero::before {
    content: "";

    position: absolute;
    top: -180px;
    right: -140px;

    width: 430px;
    height: 430px;

    background: rgba(44, 221, 150, 0.18);
    filter: blur(100px);
    border-radius: 50%;

    pointer-events: none;
}

.tiznit-page-hero::after {
    content: "";

    position: absolute;
    bottom: -220px;
    left: -150px;

    width: 470px;
    height: 470px;

    background: rgba(63, 135, 255, 0.22);
    filter: blur(110px);
    border-radius: 50%;

    pointer-events: none;
}


/* الحاوية الداخلية */

.tiznit-page-container {
    position: relative;
    z-index: 2;

    width: 100%;

    display: grid;
    gap: 40px;
}


/* عنوان الصفحة */

.tiznit-page-heading {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;
    padding: 38px 40px;

    text-align: center;

    background: rgba(2, 17, 61, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 28px;

    backdrop-filter: blur(22px) saturate(155%);
    -webkit-backdrop-filter: blur(22px) saturate(155%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 24px 55px rgba(0, 8, 35, 0.25);
}

.tiznit-page-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;
    padding: 8px 17px;

    color: #9effd1;
    font-size: 14px;
    font-weight: 700;

    background: rgba(70, 220, 155, 0.14);
    border: 1px solid rgba(70, 220, 155, 0.32);
    border-radius: 999px;
}

.tiznit-page-heading h1 {
    margin: 0 0 18px;

    color: #ffffff;
    font-size: clamp(37px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.3;
}

.tiznit-page-heading p {
    max-width: 760px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.80);
    font-size: 17px;
    line-height: 1.9;
}


/* نتائج الصيدليات */

.tiznit-page-result {
    width: 100%;
    max-width: 1120px;

    margin: 0 auto;
}

#tiznit-pharmacy-results {
    width: 100%;
}

#tiznit-pharmacy-results.is-single {
    display: grid;
    grid-template-columns: minmax(0, 780px);
    justify-content: center;
}

#tiznit-pharmacy-results.is-multiple {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.tiznit-page-result
.live-pharmacy-card {
    width: 100%;
    max-width: none;
}

.tiznit-page-result
.pharmacy-results-loading,
.tiznit-page-result
.pharmacy-results-error {
    min-height: 260px;
}


/* تثبيت الأزرار أسفل البطاقات المتعددة */

@media (min-width: 1001px) {

    #tiznit-pharmacy-results.is-multiple
    .live-pharmacy-card {
        display: flex;
        flex-direction: column;
    }

    #tiznit-pharmacy-results.is-multiple
    .live-pharmacy-card__body {
        flex: 1;
    }

    #tiznit-pharmacy-results.is-multiple
    .live-pharmacy-card__content h3 {
        min-height: 2.7em;
        font-size: clamp(22px, 1.7vw, 27px);
        line-height: 1.35;
    }

    #tiznit-pharmacy-results.is-multiple
    .live-pharmacy-card__address,
    #tiznit-pharmacy-results.is-multiple
    .live-pharmacy-card__period {
        font-size: 13px;
    }

    #tiznit-pharmacy-results.is-multiple
    .live-pharmacy-card__actions {
        margin-top: auto;
        padding-top: 26px;
    }
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 1000px) {

    .tiznit-page {
        padding-right: 16px;
        padding-left: 16px;
    }

    .tiznit-page-hero {
        min-height: auto;
        padding: 50px 35px;
    }

    .tiznit-page-heading {
        padding: 34px 30px;
    }

    #tiznit-pharmacy-results.is-multiple {
        grid-template-columns: 1fr;
        max-width: 780px;
        margin: 0 auto;
    }
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 600px) {

    .tiznit-page {
        padding: 20px 12px 65px;
    }

    .tiznit-page-hero {
        padding: 24px 14px 30px;
        border-radius: 24px;
    }

    .tiznit-page-container {
        gap: 24px;
    }

    .tiznit-page-heading {
        padding: 27px 18px;
        border-radius: 22px;
    }

    .tiznit-page-label {
        margin-bottom: 15px;
        font-size: 13px;
    }

    .tiznit-page-heading h1 {
        margin-bottom: 15px;
        font-size: 33px;
    }

    .tiznit-page-heading p {
        font-size: 15px;
        line-height: 1.8;
    }

    .tiznit-page-result {
        max-width: none;
    }

    #tiznit-pharmacy-results.is-single,
    #tiznit-pharmacy-results.is-multiple {
        grid-template-columns: 1fr;
    }
}


/* الشاشات الصغيرة جداً */

@media (max-width: 380px) {

    .tiznit-page {
        padding-right: 9px;
        padding-left: 9px;
    }

    .tiznit-page-hero {
        padding-right: 10px;
        padding-left: 10px;
    }

    .tiznit-page-heading {
        padding-right: 15px;
        padding-left: 15px;
    }

    .tiznit-page-heading h1 {
        font-size: 29px;
    }
}

/* =========================================
   Guelmim City Page
========================================= */

.guelmim-page {
    width: 100%;
    padding: 32px 20px 95px;
    direction: rtl;
}

.guelmim-page-hero {
    position: relative;

    width: 100%;
    max-width: 1260px;
    min-height: 620px;

    margin: 0 auto;
    padding: 65px 45px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-image:
        linear-gradient(
            135deg,
            rgba(2, 14, 53, 0.86),
            rgba(8, 51, 132, 0.72)
        ),
        url("https://pharma-garde24.com/wp-content/themes/PharmaGarde24/assets/images/guelmim.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 34px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 30px 70px rgba(0, 10, 45, 0.35);
}

.guelmim-page-hero::before {
    content: "";

    position: absolute;
    top: -180px;
    right: -140px;

    width: 430px;
    height: 430px;

    background: rgba(44, 221, 150, 0.18);
    filter: blur(100px);
    border-radius: 50%;

    pointer-events: none;
}

.guelmim-page-hero::after {
    content: "";

    position: absolute;
    bottom: -220px;
    left: -150px;

    width: 470px;
    height: 470px;

    background: rgba(63, 135, 255, 0.22);
    filter: blur(110px);
    border-radius: 50%;

    pointer-events: none;
}


/* الحاوية الداخلية */

.guelmim-page-container {
    position: relative;
    z-index: 2;

    width: 100%;

    display: grid;
    gap: 40px;
}


/* عنوان الصفحة */

.guelmim-page-heading {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;
    padding: 38px 40px;

    text-align: center;

    background: rgba(2, 17, 61, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 28px;

    backdrop-filter: blur(22px) saturate(155%);
    -webkit-backdrop-filter: blur(22px) saturate(155%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 24px 55px rgba(0, 8, 35, 0.25);
}

.guelmim-page-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;
    padding: 8px 17px;

    color: #9effd1;
    font-size: 14px;
    font-weight: 700;

    background: rgba(70, 220, 155, 0.14);
    border: 1px solid rgba(70, 220, 155, 0.32);
    border-radius: 999px;
}

.guelmim-page-heading h1 {
    margin: 0 0 18px;

    color: #ffffff;
    font-size: clamp(37px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.3;
}

.guelmim-page-heading p {
    max-width: 760px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.80);
    font-size: 17px;
    line-height: 1.9;
}


/* نتائج الصيدليات */

.guelmim-page-result {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
}

#guelmim-pharmacy-results {
    width: 100%;
}

#guelmim-pharmacy-results.is-single {
    display: grid;
    grid-template-columns: minmax(0, 780px);
    justify-content: center;
}

#guelmim-pharmacy-results.is-multiple {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.guelmim-page-result
.live-pharmacy-card {
    width: 100%;
    max-width: none;
}

.guelmim-page-result
.pharmacy-results-loading,
.guelmim-page-result
.pharmacy-results-error {
    min-height: 260px;
}


/* بطاقات كلميم الثلاثة فالحاسوب */

@media (min-width: 1001px) {

    #guelmim-pharmacy-results.is-multiple
    .live-pharmacy-card {
        display: flex;
        flex-direction: column;
    }

    #guelmim-pharmacy-results.is-multiple
    .live-pharmacy-card__header {
        gap: 8px;
    }

    #guelmim-pharmacy-results.is-multiple
    .live-pharmacy-card__eyebrow,
    #guelmim-pharmacy-results.is-multiple
    .live-pharmacy-card__status {
        font-size: 11px;
    }

    #guelmim-pharmacy-results.is-multiple
    .live-pharmacy-card__body {
        flex: 1;
        align-items: center;
    }

    #guelmim-pharmacy-results.is-multiple
    .live-pharmacy-card__content h3 {
        min-height: 2.7em;

        margin-bottom: 9px;

        font-size: clamp(19px, 1.45vw, 23px);
        line-height: 1.35;
    }

    #guelmim-pharmacy-results.is-multiple
    .live-pharmacy-card__address {
        font-size: 12px;
        line-height: 1.65;
    }

    #guelmim-pharmacy-results.is-multiple
    .live-pharmacy-card__period {
        font-size: 12px;
        line-height: 1.6;
    }

    #guelmim-pharmacy-results.is-multiple
    .live-pharmacy-card__image {
        width: 82px;
        min-width: 82px;
    }

    #guelmim-pharmacy-results.is-multiple
    .live-pharmacy-card__image img {
        width: 82px;
        height: auto;
    }

    #guelmim-pharmacy-results.is-multiple
    .live-pharmacy-card__actions {
        margin-top: auto;
        padding-top: 24px;
        gap: 7px;
    }

    #guelmim-pharmacy-results.is-multiple
    .live-pharmacy-action {
        min-height: 43px;
        padding-right: 8px;
        padding-left: 8px;

        font-size: 12px;
    }

    #guelmim-pharmacy-results.is-multiple
    .live-pharmacy-action svg {
        width: 17px;
        height: 17px;
    }
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 1000px) {

    .guelmim-page {
        padding-right: 16px;
        padding-left: 16px;
    }

    .guelmim-page-hero {
        min-height: auto;
        padding: 50px 35px;
    }

    .guelmim-page-heading {
        padding: 34px 30px;
    }

    #guelmim-pharmacy-results.is-multiple {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    #guelmim-pharmacy-results.is-multiple
    .live-pharmacy-card:last-child {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 650px) {

    .guelmim-page {
        padding: 20px 12px 65px;
    }

    .guelmim-page-hero {
        padding: 24px 14px 30px;
        border-radius: 24px;
    }

    .guelmim-page-container {
        gap: 24px;
    }

    .guelmim-page-heading {
        padding: 27px 18px;
        border-radius: 22px;
    }

    .guelmim-page-label {
        margin-bottom: 15px;
        font-size: 13px;
    }

    .guelmim-page-heading h1 {
        margin-bottom: 15px;
        font-size: 33px;
    }

    .guelmim-page-heading p {
        font-size: 15px;
        line-height: 1.8;
    }

    .guelmim-page-result {
        max-width: none;
    }

    #guelmim-pharmacy-results.is-single,
    #guelmim-pharmacy-results.is-multiple {
        grid-template-columns: 1fr;
    }

    #guelmim-pharmacy-results.is-multiple
    .live-pharmacy-card:last-child {
        grid-column: auto;
        max-width: none;
    }
}


/* الشاشات الصغيرة جداً */

@media (max-width: 380px) {

    .guelmim-page {
        padding-right: 9px;
        padding-left: 9px;
    }

    .guelmim-page-hero {
        padding-right: 10px;
        padding-left: 10px;
    }

    .guelmim-page-heading {
        padding-right: 15px;
        padding-left: 15px;
    }

    .guelmim-page-heading h1 {
        font-size: 29px;
    }
}


/* =========================================
   Cities Page
========================================= */

.cities-page {
    width: 100%;
    padding: 32px 20px 95px;
    direction: rtl;
}

.cities-page-hero {
    position: relative;
    width: 100%;
    max-width: 1260px;
    min-height: 650px;

    margin: 0 auto;
    padding: 65px 55px;

    overflow: hidden;

    background-image:
        linear-gradient(
            135deg,
            rgba(2, 14, 53, 0.88),
            rgba(8, 51, 132, 0.74)
        ),
        url("https://pharma-garde24.com/wp-content/themes/PharmaGarde24/assets/images/hero-bg.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 34px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        0 30px 70px rgba(0, 10, 45, 0.35);
}

.cities-page-hero::before {
    content: "";

    position: absolute;
    top: -180px;
    right: -140px;

    width: 430px;
    height: 430px;

    background: rgba(44, 221, 150, 0.18);
    filter: blur(100px);
    border-radius: 50%;

    pointer-events: none;
}

.cities-page-hero::after {
    content: "";

    position: absolute;
    bottom: -220px;
    left: -150px;

    width: 470px;
    height: 470px;

    background: rgba(63, 135, 255, 0.22);
    filter: blur(110px);
    border-radius: 50%;

    pointer-events: none;
}


/* الحاوية */

.cities-page-container {
    position: relative;
    z-index: 2;

    width: 100%;

    display: grid;
    gap: 42px;
}


/* عنوان الصفحة */

.cities-page-heading {
    width: 100%;
    max-width: 860px;

    margin: 0 auto;
    padding: 38px 40px;

    text-align: center;

    background: rgba(2, 17, 61, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 28px;

    backdrop-filter: blur(22px) saturate(155%);
    -webkit-backdrop-filter: blur(22px) saturate(155%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 24px 55px rgba(0, 8, 35, 0.25);
}

.cities-page-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;
    padding: 8px 17px;

    color: #9effd1;
    font-size: 14px;
    font-weight: 700;

    background: rgba(70, 220, 155, 0.14);
    border: 1px solid rgba(70, 220, 155, 0.32);
    border-radius: 999px;
}

.cities-page-heading h1 {
    margin: 0 0 18px;

    color: #ffffff;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.3;
}

.cities-page-heading p {
    max-width: 720px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.80);
    font-size: 17px;
    line-height: 1.9;
}


/* شبكة المدن */

.cities-page-grid {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}


/* بطاقة المدينة */

.cities-page-card {
    position: relative;

    min-width: 0;
    min-height: 360px;
    padding: 30px 26px 26px;

    display: flex;
    flex-direction: column;

    color: #ffffff;
    text-decoration: none;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.14),
            rgba(255, 255, 255, 0.06)
        );

    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 26px;

    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 22px 45px rgba(0, 8, 35, 0.24);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.cities-page-card::before {
    content: "";

    position: absolute;
    top: -70px;
    left: -60px;

    width: 170px;
    height: 170px;

    background: rgba(68, 219, 157, 0.13);
    filter: blur(45px);
    border-radius: 50%;

    pointer-events: none;
}

.cities-page-card:hover {
    color: #ffffff;

    transform: translateY(-7px);

    border-color: rgba(118, 255, 195, 0.52);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        0 30px 60px rgba(0, 8, 35, 0.34);
}

.cities-page-card:visited {
    color: #ffffff;
}

.cities-page-card:focus-visible {
    outline: 3px solid #46dc9b;
    outline-offset: 4px;
}


/* أيقونة المدينة */

.cities-page-card__icon {
    position: relative;
    z-index: 1;

    width: 64px;
    height: 64px;

    margin-bottom: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #9effd1;

    background: rgba(70, 220, 155, 0.14);
    border: 1px solid rgba(70, 220, 155, 0.32);
    border-radius: 19px;
}

.cities-page-card__icon svg {
    width: 31px;
    height: 31px;
}


/* محتوى البطاقة */

.cities-page-card__content {
    position: relative;
    z-index: 1;
}

.cities-page-card__content > span {
    display: inline-block;

    margin-bottom: 10px;

    color: #9effd1;
    font-size: 13px;
    font-weight: 600;
}

.cities-page-card__content h2 {
    margin: 0 0 14px;

    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
}

.cities-page-card__content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.74);
    font-size: 15px;
    line-height: 1.8;
}


/* رابط أسفل البطاقة */

.cities-page-card__link {
    position: relative;
    z-index: 1;

    margin-top: auto;
    padding-top: 25px;

    display: flex;
    align-items: center;
    gap: 8px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.cities-page-card__link::after {
    content: "←";

    font-size: 19px;

    transition: transform 0.25s ease;
}

.cities-page-card:hover
.cities-page-card__link::after {
    transform: translateX(-5px);
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 1000px) {

    .cities-page {
        padding-right: 16px;
        padding-left: 16px;
    }

    .cities-page-hero {
        min-height: auto;
        padding: 50px 35px;
    }

    .cities-page-heading {
        padding: 34px 30px;
    }

    .cities-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cities-page-card:last-child {
        grid-column: 1 / -1;

        width: 100%;
        max-width: 520px;

        margin: 0 auto;
    }
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 650px) {

    .cities-page {
        padding: 20px 12px 65px;
    }

    .cities-page-hero {
        padding: 24px 14px 30px;
        border-radius: 24px;
    }

    .cities-page-container {
        gap: 25px;
    }

    .cities-page-heading {
        padding: 27px 18px;
        border-radius: 22px;
    }

    .cities-page-label {
        margin-bottom: 15px;
        font-size: 13px;
    }

    .cities-page-heading h1 {
        margin-bottom: 15px;
        font-size: 34px;
    }

    .cities-page-heading p {
        font-size: 15px;
        line-height: 1.8;
    }

    .cities-page-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .cities-page-card,
    .cities-page-card:last-child {
        grid-column: auto;

        width: 100%;
        max-width: none;
        min-height: 320px;

        padding: 25px 22px 23px;
    }

    .cities-page-card__icon {
        width: 58px;
        height: 58px;

        margin-bottom: 21px;
    }

    .cities-page-card__content h2 {
        font-size: 27px;
    }
}


/* الشاشات الصغيرة جداً */

@media (max-width: 380px) {

    .cities-page {
        padding-right: 9px;
        padding-left: 9px;
    }

    .cities-page-hero {
        padding-right: 10px;
        padding-left: 10px;
    }

    .cities-page-heading {
        padding-right: 15px;
        padding-left: 15px;
    }

    .cities-page-heading h1 {
        font-size: 30px;
    }
}



/* =========================================
   Blog Page
========================================= */

.blog-page {
    width: 100%;
    padding: 32px 20px 95px;
    direction: rtl;
}

.blog-page-hero {
    position: relative;

    width: 100%;
    max-width: 1260px;
    min-height: 650px;

    margin: 0 auto;
    padding: 65px 55px;

    overflow: hidden;

    background-image:
        linear-gradient(
            135deg,
            rgba(2, 14, 53, 0.90),
            rgba(8, 51, 132, 0.76)
        ),
        url("https://pharma-garde24.com/wp-content/themes/PharmaGarde24/assets/images/hero-bg.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 34px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        0 30px 70px rgba(0, 10, 45, 0.35);
}

.blog-page-hero::before {
    content: "";

    position: absolute;
    top: -180px;
    right: -140px;

    width: 430px;
    height: 430px;

    background: rgba(44, 221, 150, 0.18);
    filter: blur(100px);
    border-radius: 50%;

    pointer-events: none;
}

.blog-page-hero::after {
    content: "";

    position: absolute;
    bottom: -220px;
    left: -150px;

    width: 470px;
    height: 470px;

    background: rgba(63, 135, 255, 0.22);
    filter: blur(110px);
    border-radius: 50%;

    pointer-events: none;
}


/* الحاوية */

.blog-page-container {
    position: relative;
    z-index: 2;

    width: 100%;

    display: grid;
    gap: 42px;
}


/* عنوان المدونة */

.blog-page-heading {
    width: 100%;
    max-width: 860px;

    margin: 0 auto;
    padding: 38px 40px;

    text-align: center;

    background: rgba(2, 17, 61, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 28px;

    backdrop-filter: blur(22px) saturate(155%);
    -webkit-backdrop-filter: blur(22px) saturate(155%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 24px 55px rgba(0, 8, 35, 0.25);
}

.blog-page-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;
    padding: 8px 17px;

    color: #9effd1;
    font-size: 14px;
    font-weight: 700;

    background: rgba(70, 220, 155, 0.14);
    border: 1px solid rgba(70, 220, 155, 0.32);
    border-radius: 999px;
}

.blog-page-heading h1 {
    margin: 0 0 18px;

    color: #ffffff;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.3;
}

.blog-page-heading p {
    max-width: 720px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.80);
    font-size: 17px;
    line-height: 1.9;
}


/* محتوى المدونة */

.blog-page-content {
    width: 100%;
}


/* شبكة المقالات */

.blog-posts-grid {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* بطاقة المقال */

.blog-post-card {
    min-width: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.14),
            rgba(255, 255, 255, 0.06)
        );

    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 26px;

    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 22px 45px rgba(0, 8, 35, 0.24);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.blog-post-card:hover {
    transform: translateY(-7px);

    border-color: rgba(118, 255, 195, 0.48);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        0 30px 60px rgba(0, 8, 35, 0.34);
}


/* صورة المقال */

.blog-post-card__image {
    position: relative;

    width: 100%;
    height: 220px;

    display: block;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.08);
}

.blog-post-card__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.blog-post-card:hover
.blog-post-card__image img {
    transform: scale(1.055);
}


/* صورة بديلة */

.blog-post-card__placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(158, 255, 209, 0.85);

    background:
        radial-gradient(
            circle at center,
            rgba(70, 220, 155, 0.18),
            transparent 66%
        ),
        rgba(5, 31, 88, 0.55);
}

.blog-post-card__placeholder svg {
    width: 64px;
    height: 64px;
}


/* محتوى بطاقة المقال */

.blog-post-card__content {
    flex: 1;

    padding: 25px 24px 24px;

    display: flex;
    flex-direction: column;
}


/* معلومات التاريخ والتصنيف */

.blog-post-card__meta {
    margin-bottom: 13px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    color: rgba(255, 255, 255, 0.63);
    font-size: 12px;
    font-weight: 500;
}

.blog-post-card__meta time,
.blog-post-card__meta span {
    display: inline-flex;
    align-items: center;
}

.blog-post-card__meta span::before {
    content: "•";

    margin-left: 9px;

    color: #79edba;
}


/* عنوان المقال */

.blog-post-card__title {
    margin: 0 0 14px;

    font-size: 23px;
    font-weight: 700;
    line-height: 1.5;
}

.blog-post-card__title a {
    color: #ffffff;
    text-decoration: none;

    transition: color 0.2s ease;
}

.blog-post-card__title a:hover {
    color: #9effd1;
}


/* مقتطف المقال */

.blog-post-card__excerpt {
    margin-bottom: 24px;

    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.85;
}

.blog-post-card__excerpt p {
    margin: 0;
}


/* زر قراءة المقال */

.blog-post-card__read-more {
    margin-top: auto;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #9effd1;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.blog-post-card__read-more span {
    font-size: 18px;

    transition: transform 0.25s ease;
}

.blog-post-card__read-more:hover {
    color: #ffffff;
}

.blog-post-card__read-more:hover span {
    transform: translateX(-5px);
}


/* =========================================
   Empty State
========================================= */

.blog-empty-state {
    width: 100%;
    max-width: 700px;
    min-height: 300px;

    margin: 0 auto;
    padding: 50px 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.14),
            rgba(255, 255, 255, 0.06)
        );

    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 28px;

    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 22px 45px rgba(0, 8, 35, 0.24);
}

.blog-empty-state__icon {
    width: 68px;
    height: 68px;

    margin-bottom: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #9effd1;
    font-size: 30px;

    background: rgba(70, 220, 155, 0.14);
    border: 1px solid rgba(70, 220, 155, 0.32);
    border-radius: 21px;
}

.blog-empty-state h2 {
    margin: 0 0 12px;

    color: #ffffff;
    font-size: 27px;
}

.blog-empty-state p {
    margin: 0;

    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
}


/* =========================================
   Pagination
========================================= */

.blog-pagination {
    width: 100%;
    margin-top: 38px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-pagination .page-numbers {
    min-width: 44px;
    height: 44px;

    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.blog-pagination .page-numbers:hover {
    color: #06183e;

    background: #9effd1;
    border-color: #9effd1;
}

.blog-pagination .page-numbers.current {
    color: #06183e;

    background: #9effd1;
    border-color: #9effd1;
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 1000px) {

    .blog-page {
        padding-right: 16px;
        padding-left: 16px;
    }

    .blog-page-hero {
        min-height: auto;
        padding: 50px 35px;
    }

    .blog-page-heading {
        padding: 34px 30px;
    }

    .blog-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 650px) {

    .blog-page {
        padding: 20px 12px 65px;
    }

    .blog-page-hero {
        padding: 24px 14px 30px;
        border-radius: 24px;
    }

    .blog-page-container {
        gap: 25px;
    }

    .blog-page-heading {
        padding: 27px 18px;
        border-radius: 22px;
    }

    .blog-page-label {
        margin-bottom: 15px;
        font-size: 13px;
    }

    .blog-page-heading h1 {
        margin-bottom: 15px;
        font-size: 34px;
    }

    .blog-page-heading p {
        font-size: 15px;
        line-height: 1.8;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .blog-post-card__image {
        height: 210px;
    }

    .blog-post-card__content {
        padding: 22px 20px 21px;
    }

    .blog-post-card__title {
        font-size: 21px;
    }

    .blog-empty-state {
        min-height: 260px;
        padding: 40px 20px;
    }
}


/* الشاشات الصغيرة جداً */

@media (max-width: 380px) {

    .blog-page {
        padding-right: 9px;
        padding-left: 9px;
    }

    .blog-page-hero {
        padding-right: 10px;
        padding-left: 10px;
    }

    .blog-page-heading {
        padding-right: 15px;
        padding-left: 15px;
    }

    .blog-page-heading h1 {
        font-size: 30px;
    }

    .blog-post-card__image {
        height: 190px;
    }
}


/* =========================================
   Single Post Page
========================================= */

.single-post-page {
    width: 100%;
    padding: 32px 20px 95px;

    direction: rtl;
}

.single-post-article {
    width: 100%;
    max-width: 1260px;

    margin: 0 auto;
}


/* =========================================
   Single Post Hero
========================================= */

.single-post-hero {
    position: relative;

    width: 100%;

    padding: 58px 55px;

    overflow: hidden;

    background-image:
        linear-gradient(
            135deg,
            rgba(2, 14, 53, 0.91),
            rgba(8, 51, 132, 0.77)
        ),
        url("https://pharma-garde24.com/wp-content/themes/PharmaGarde24/assets/images/hero-bg.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 34px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        0 30px 70px rgba(0, 10, 45, 0.35);
}

.single-post-hero::before {
    content: "";

    position: absolute;
    top: -190px;
    right: -150px;

    width: 450px;
    height: 450px;

    background: rgba(44, 221, 150, 0.18);
    filter: blur(105px);
    border-radius: 50%;

    pointer-events: none;
}

.single-post-hero::after {
    content: "";

    position: absolute;
    bottom: -230px;
    left: -160px;

    width: 490px;
    height: 490px;

    background: rgba(63, 135, 255, 0.22);
    filter: blur(115px);
    border-radius: 50%;

    pointer-events: none;
}

.single-post-hero__container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 980px;

    margin: 0 auto;

    text-align: center;
}


/* =========================================
   Breadcrumb
========================================= */

.single-post-breadcrumb {
    margin-bottom: 26px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;

    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.7;
}

.single-post-breadcrumb a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;

    transition: color 0.2s ease;
}

.single-post-breadcrumb a:hover {
    color: #9effd1;
}

.single-post-breadcrumb > span:last-child {
    max-width: 450px;

    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* =========================================
   Category
========================================= */

.single-post-category {
    display: inline-flex;
    align-items: center;

    margin-bottom: 20px;
    padding: 8px 17px;

    color: #9effd1;
    font-size: 13px;
    font-weight: 700;

    background: rgba(70, 220, 155, 0.14);
    border: 1px solid rgba(70, 220, 155, 0.32);
    border-radius: 999px;
}


/* =========================================
   Post Title
========================================= */

.single-post-title {
    max-width: 900px;

    margin: 0 auto 20px;

    color: #ffffff;
    font-size: clamp(38px, 5.2vw, 62px);
    font-weight: 700;
    line-height: 1.35;
}

.single-post-description {
    max-width: 780px;

    margin: 0 auto 25px;

    color: rgba(255, 255, 255, 0.77);
    font-size: 17px;
    line-height: 1.9;
}


/* =========================================
   Post Meta
========================================= */

.single-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.single-post-meta__item {
    min-height: 40px;

    padding: 8px 14px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    font-weight: 500;

    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

.single-post-meta__item svg {
    width: 18px;
    height: 18px;

    color: #9effd1;
}


/* =========================================
   Main Layout
========================================= */

.single-post-layout {
    width: 100%;

    margin-top: 32px;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 340px);

    align-items: start;
    gap: 28px;
}

.single-post-main {
    min-width: 0;
}


/* =========================================
   Featured Image
========================================= */

.single-post-featured-image {
    width: 100%;

    margin: 0 0 28px;

    overflow: hidden;

    background: #eef4ff;
    border-radius: 28px;

    box-shadow:
        0 25px 60px rgba(4, 25, 73, 0.16);
}

.single-post-featured-image img {
    width: 100%;
    max-height: 580px;

    display: block;

    object-fit: cover;
}


/* =========================================
   Article Content Box
========================================= */

.single-post-content {
    width: 100%;

    padding: 46px 48px;

    color: #24344f;

    background: #ffffff;
    border: 1px solid rgba(12, 54, 126, 0.10);
    border-radius: 28px;

    box-shadow:
        0 24px 60px rgba(4, 25, 73, 0.12);
}

.single-post-content > *:first-child {
    margin-top: 0;
}

.single-post-content > *:last-child {
    margin-bottom: 0;
}


/* النصوص */

.single-post-content p {
    margin: 0 0 23px;

    color: #34445f;
    font-size: 17px;
    line-height: 2;
}


/* العناوين */

.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
    color: #071f53;
    font-weight: 700;
}

.single-post-content h2 {
    position: relative;

    margin: 48px 0 22px;
    padding-right: 18px;

    font-size: 31px;
    line-height: 1.5;
}

.single-post-content h2::before {
    content: "";

    position: absolute;
    top: 7px;
    right: 0;

    width: 5px;
    height: calc(100% - 14px);

    background: linear-gradient(
        180deg,
        #20c982,
        #1877e8
    );

    border-radius: 999px;
}

.single-post-content h3 {
    margin: 36px 0 18px;

    font-size: 25px;
    line-height: 1.55;
}

.single-post-content h4 {
    margin: 30px 0 16px;

    font-size: 21px;
    line-height: 1.6;
}

.single-post-content h5 {
    margin: 25px 0 14px;

    font-size: 18px;
}

.single-post-content h6 {
    margin: 22px 0 13px;

    font-size: 16px;
}


/* الروابط */

.single-post-content a {
    color: #086dd7;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    transition: color 0.2s ease;
}

.single-post-content a:hover {
    color: #08a96c;
}


/* القوائم */

.single-post-content ul,
.single-post-content ol {
    margin: 0 0 26px;
    padding-right: 27px;

    color: #34445f;
    font-size: 17px;
    line-height: 1.95;
}

.single-post-content li {
    margin-bottom: 10px;
    padding-right: 5px;
}

.single-post-content li::marker {
    color: #16b878;
    font-weight: 700;
}


/* النص العريض والمائل */

.single-post-content strong {
    color: #102b5e;
    font-weight: 700;
}

.single-post-content em {
    color: #435673;
}


/* الاقتباسات */

.single-post-content blockquote {
    position: relative;

    margin: 34px 0;
    padding: 27px 28px 27px 34px;

    color: #183763;

    background:
        linear-gradient(
            135deg,
            rgba(26, 195, 124, 0.10),
            rgba(24, 119, 232, 0.08)
        );

    border-right: 5px solid #20c982;
    border-radius: 18px;
}

.single-post-content blockquote::before {
    content: "“";

    position: absolute;
    top: 5px;
    left: 18px;

    color: rgba(24, 119, 232, 0.20);
    font-size: 70px;
    font-weight: 700;
    line-height: 1;
}

.single-post-content blockquote p {
    position: relative;
    z-index: 1;

    margin: 0;

    color: #183763;
    font-size: 18px;
    font-weight: 500;
}


/* الصور داخل المقال */

.single-post-content figure {
    margin: 34px 0;
}

.single-post-content img {
    max-width: 100%;
    height: auto;

    border-radius: 20px;
}

.single-post-content figcaption {
    margin-top: 10px;

    color: #6f7d92;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}


/* معرض الصور */

.single-post-content .wp-block-gallery {
    gap: 14px;
}

.single-post-content .wp-block-gallery img {
    border-radius: 16px;
}


/* الفيديو والتضمينات */

.single-post-content iframe,
.single-post-content video {
    max-width: 100%;

    border: 0;
    border-radius: 20px;
}

.single-post-content .wp-block-embed {
    margin: 35px 0;
}

.single-post-content .wp-block-embed__wrapper {
    overflow: hidden;

    border-radius: 20px;
}


/* الجداول */

.single-post-content .wp-block-table {
    width: 100%;

    margin: 35px 0;

    overflow-x: auto;

    border-radius: 18px;
}

.single-post-content table {
    width: 100%;

    border-collapse: collapse;

    color: #34445f;
    font-size: 15px;

    background: #ffffff;
}

.single-post-content th,
.single-post-content td {
    padding: 15px 17px;

    text-align: right;

    border: 1px solid #dce5f3;
}

.single-post-content th {
    color: #ffffff;
    font-weight: 700;

    background: #0b3f94;
}

.single-post-content tbody tr:nth-child(even) {
    background: #f5f8fd;
}


/* الأكواد */

.single-post-content pre {
    margin: 30px 0;
    padding: 24px;

    overflow-x: auto;

    direction: ltr;
    text-align: left;

    color: #e8f2ff;
    font-size: 14px;
    line-height: 1.8;

    background: #081c3e;
    border-radius: 18px;
}

.single-post-content code {
    padding: 3px 7px;

    direction: ltr;

    color: #086dd7;
    font-size: 0.9em;

    background: #edf4ff;
    border-radius: 7px;
}

.single-post-content pre code {
    padding: 0;

    color: inherit;

    background: transparent;
}


/* الفاصل */

.single-post-content hr {
    height: 1px;

    margin: 40px 0;

    background: #dce5f3;
    border: 0;
}


/* أزرار Gutenberg */

.single-post-content
.wp-block-button__link {
    padding: 13px 23px;

    color: #ffffff;
    font-weight: 700;
    text-decoration: none;

    background: linear-gradient(
        135deg,
        #0d6fdb,
        #064ca9
    );

    border-radius: 12px;

    box-shadow:
        0 12px 28px rgba(13, 111, 219, 0.22);
}

.single-post-content
.wp-block-button__link:hover {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #16ba78,
        #078956
    );
}


/* =========================================
   Page Links
========================================= */

.single-post-pages {
    margin-top: 35px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.single-post-pages a,
.single-post-pages > span {
    min-width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #0b3f94;
    font-weight: 700;
    text-decoration: none;

    background: #edf4ff;
    border-radius: 10px;
}


/* =========================================
   Tags
========================================= */

.single-post-tags {
    margin-top: 25px;
    padding: 24px 26px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;

    background: #ffffff;
    border: 1px solid rgba(12, 54, 126, 0.10);
    border-radius: 20px;

    box-shadow:
        0 18px 45px rgba(4, 25, 73, 0.09);
}

.single-post-tags > strong {
    color: #0b2a60;
    font-size: 15px;
}

.single-post-tags__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.single-post-tags__list a {
    padding: 7px 13px;

    color: #0d6fdb;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    background: #edf4ff;
    border: 1px solid #dbe9fc;
    border-radius: 999px;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.single-post-tags__list a:hover {
    color: #ffffff;

    background: #14b875;
    border-color: #14b875;
}


/* =========================================
   Share Box
========================================= */

.single-post-share {
    margin-top: 20px;
    padding: 22px 26px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background: #ffffff;
    border: 1px solid rgba(12, 54, 126, 0.10);
    border-radius: 20px;

    box-shadow:
        0 18px 45px rgba(4, 25, 73, 0.09);
}

.single-post-share > strong {
    color: #0b2a60;
    font-size: 16px;
}

.single-post-share__button {
    min-height: 46px;

    padding: 10px 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    background: linear-gradient(
        135deg,
        #0d6fdb,
        #064ca9
    );

    border: 0;
    border-radius: 12px;

    box-shadow:
        0 12px 27px rgba(13, 111, 219, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.single-post-share__button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 17px 34px rgba(13, 111, 219, 0.28);
}

.single-post-share__button svg {
    width: 19px;
    height: 19px;
}


/* =========================================
   Post Navigation
========================================= */

.single-post-navigation {
    margin-top: 22px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.single-post-navigation__item {
    min-width: 0;
}

.single-post-navigation__item a {
    min-height: 118px;
    padding: 22px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;

    color: #0b2a60;
    text-decoration: none;

    background: #ffffff;
    border: 1px solid rgba(12, 54, 126, 0.10);
    border-radius: 20px;

    box-shadow:
        0 18px 45px rgba(4, 25, 73, 0.09);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.single-post-navigation__item a:hover {
    transform: translateY(-3px);

    border-color: rgba(13, 111, 219, 0.28);
}

.single-post-navigation__item span {
    color: #768399;
    font-size: 12px;
    font-weight: 600;
}

.single-post-navigation__item strong {
    color: #0b2a60;
    font-size: 16px;
    line-height: 1.65;
}


/* =========================================
   Sidebar
========================================= */

.single-post-sidebar {
    position: sticky;
    top: 105px;

    display: grid;
    gap: 20px;
}

.single-post-sidebar__box {
    padding: 27px 25px;

    background: #ffffff;
    border: 1px solid rgba(12, 54, 126, 0.10);
    border-radius: 24px;

    box-shadow:
        0 20px 50px rgba(4, 25, 73, 0.11);
}

.single-post-sidebar__label {
    display: inline-flex;

    margin-bottom: 14px;
    padding: 6px 12px;

    color: #08744a;
    font-size: 12px;
    font-weight: 700;

    background: rgba(25, 190, 119, 0.12);
    border-radius: 999px;
}

.single-post-sidebar__box h2 {
    margin: 0 0 13px;

    color: #0b2a60;
    font-size: 22px;
    line-height: 1.5;
}

.single-post-sidebar__box p {
    margin: 0 0 21px;

    color: #5a6980;
    font-size: 14px;
    line-height: 1.8;
}

.single-post-sidebar__button {
    width: 100%;
    min-height: 48px;

    padding: 11px 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;

    background: linear-gradient(
        135deg,
        #14b875,
        #087b50
    );

    border-radius: 12px;

    box-shadow:
        0 13px 28px rgba(20, 184, 117, 0.22);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.single-post-sidebar__button:hover {
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 18px 35px rgba(20, 184, 117, 0.29);
}


/* =========================================
   Recent Posts
========================================= */

.single-post-recent {
    display: grid;
    gap: 12px;
}

.single-post-recent__item {
    min-width: 0;
    padding: 10px;

    display: flex;
    align-items: center;
    gap: 12px;

    color: inherit;
    text-decoration: none;

    background: #f5f8fd;
    border: 1px solid #e5edf8;
    border-radius: 15px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.single-post-recent__item:hover {
    color: inherit;

    transform: translateX(-3px);

    background: #edf4ff;
}

.single-post-recent__image {
    width: 72px;
    min-width: 72px;
    height: 66px;

    overflow: hidden;

    border-radius: 11px;
}

.single-post-recent__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.single-post-recent__content {
    min-width: 0;

    display: grid;
    gap: 5px;
}

.single-post-recent__content strong {
    overflow: hidden;

    color: #193665;
    font-size: 13px;
    line-height: 1.55;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.single-post-recent__content time {
    color: #8490a2;
    font-size: 11px;
}

.single-post-recent__empty {
    margin: 0;

    color: #68768b;
    font-size: 14px;
}


/* =========================================
   Post Not Found
========================================= */

.single-post-not-found {
    width: 100%;
    max-width: 700px;

    margin: 60px auto;
    padding: 60px 30px;

    text-align: center;

    background: #ffffff;
    border-radius: 28px;

    box-shadow:
        0 25px 60px rgba(4, 25, 73, 0.13);
}

.single-post-not-found h1 {
    margin: 0 0 22px;

    color: #0b2a60;
    font-size: 36px;
}

.single-post-not-found a {
    min-height: 46px;

    padding: 11px 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-weight: 700;
    text-decoration: none;

    background: #0d6fdb;
    border-radius: 12px;
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 1000px) {

    .single-post-page {
        padding-right: 16px;
        padding-left: 16px;
    }

    .single-post-hero {
        padding: 50px 35px;
    }

    .single-post-layout {
        grid-template-columns: 1fr;
    }

    .single-post-sidebar {
        position: static;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .single-post-content {
        padding: 40px 38px;
    }
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 650px) {

    .single-post-page {
        padding: 20px 12px 65px;
    }

    .single-post-hero {
        padding: 30px 18px;
        border-radius: 24px;
    }

    .single-post-breadcrumb {
        margin-bottom: 20px;

        font-size: 12px;
    }

    .single-post-breadcrumb > span:last-child {
        max-width: 210px;
    }

    .single-post-category {
        margin-bottom: 16px;
        font-size: 12px;
    }

    .single-post-title {
        margin-bottom: 16px;

        font-size: 33px;
        line-height: 1.45;
    }

    .single-post-description {
        margin-bottom: 21px;

        font-size: 15px;
        line-height: 1.8;
    }

    .single-post-meta {
        gap: 8px;
    }

    .single-post-meta__item {
        min-height: 37px;

        padding: 7px 11px;

        font-size: 12px;
    }

    .single-post-layout {
        margin-top: 20px;
        gap: 18px;
    }

    .single-post-featured-image {
        margin-bottom: 18px;
        border-radius: 20px;
    }

    .single-post-featured-image img {
        max-height: 360px;
    }

    .single-post-content {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .single-post-content p,
    .single-post-content ul,
    .single-post-content ol {
        font-size: 16px;
        line-height: 1.95;
    }

    .single-post-content h2 {
        margin-top: 39px;
        font-size: 25px;
    }

    .single-post-content h3 {
        margin-top: 30px;
        font-size: 21px;
    }

    .single-post-content h4 {
        font-size: 18px;
    }

    .single-post-content blockquote {
        padding: 23px 20px 23px 25px;
    }

    .single-post-content blockquote p {
        font-size: 16px;
    }

    .single-post-content th,
    .single-post-content td {
        padding: 12px;
        font-size: 13px;
    }

    .single-post-tags {
        padding: 21px 20px;
    }

    .single-post-share {
        padding: 20px;

        align-items: stretch;
        flex-direction: column;
    }

    .single-post-share__button {
        width: 100%;
    }

    .single-post-navigation {
        grid-template-columns: 1fr;
    }

    .single-post-sidebar {
        grid-template-columns: 1fr;
    }

    .single-post-sidebar__box {
        padding: 24px 21px;
    }
}


/* الشاشات الصغيرة جداً */

@media (max-width: 380px) {

    .single-post-page {
        padding-right: 9px;
        padding-left: 9px;
    }

    .single-post-hero {
        padding-right: 14px;
        padding-left: 14px;
    }

    .single-post-title {
        font-size: 29px;
    }

    .single-post-content {
        padding-right: 17px;
        padding-left: 17px;
    }

    .single-post-content h2 {
        font-size: 23px;
    }
}

/* =========================================
   About Page
========================================= */

.about-page {
    width: 100%;
    padding: 32px 20px 95px;

    direction: rtl;
}

   


/* =========================================
   About Hero
========================================= */

.about-page-hero {
    position: relative;

    width: 100%;
    max-width: 1260px;
    min-height: 660px;

    margin: 0 auto;
    padding: 65px 55px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-image:
        linear-gradient(
            135deg,
            rgba(2, 14, 53, 0.90),
            rgba(8, 51, 132, 0.74)
        ),
        url("https://pharma-garde24.com/wp-content/themes/PharmaGarde24/assets/images/hero-bg.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 34px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        0 30px 70px rgba(0, 10, 45, 0.35);
}

.about-page-hero::before {
    content: "";

    position: absolute;
    top: -170px;
    right: -130px;

    width: 430px;
    height: 430px;

    background: rgba(44, 221, 150, 0.20);
    filter: blur(100px);
    border-radius: 50%;

    pointer-events: none;
}

.about-page-hero::after {
    content: "";

    position: absolute;
    bottom: -230px;
    left: -150px;

    width: 500px;
    height: 500px;

    background: rgba(63, 135, 255, 0.23);
    filter: blur(115px);
    border-radius: 50%;

    pointer-events: none;
}

.about-page-hero__container {
    position: relative;
    z-index: 2;

    width: 100%;

    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(320px, 0.75fr);

    align-items: center;
    gap: 55px;
}


/* محتوى مقدمة الصفحة */

.about-page-hero__content {
    min-width: 0;
}

.about-page-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 20px;
    padding: 8px 17px;

    color: #9effd1;
    font-size: 14px;
    font-weight: 700;

    background: rgba(70, 220, 155, 0.14);
    border: 1px solid rgba(70, 220, 155, 0.32);
    border-radius: 999px;
}

.about-page-hero__content h1 {
    max-width: 750px;

    margin: 0 0 22px;

    color: #ffffff;
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 700;
    line-height: 1.3;
}

.about-page-hero__content > p {
    max-width: 680px;

    margin: 0;

    color: rgba(255, 255, 255, 0.79);
    font-size: 17px;
    line-height: 2;
}


/* أزرار المقدمة */

.about-page-hero__actions {
    margin-top: 30px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.about-page-button {
    min-height: 51px;
    padding: 12px 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    border-radius: 14px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.about-page-button--primary {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #19bc79,
        #087b50
    );

    border: 1px solid rgba(255, 255, 255, 0.10);

    box-shadow:
        0 16px 34px rgba(17, 183, 115, 0.28);
}

.about-page-button--primary:hover {
    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 22px 42px rgba(17, 183, 115, 0.35);
}

.about-page-button--secondary {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.23);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.about-page-button--secondary:hover {
    color: #ffffff;

    transform: translateY(-3px);

    background: rgba(255, 255, 255, 0.17);
    border-color: rgba(255, 255, 255, 0.36);
}


/* صورة التطبيق */

.about-page-hero__visual {
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.about-page-phone {
    position: relative;

    width: 100%;
    max-width: 420px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.about-page-phone::before {
    content: "";

    position: absolute;
    inset: 15% 8%;

    background: rgba(68, 222, 156, 0.20);
    filter: blur(65px);
    border-radius: 50%;
}

.about-page-phone img {
    position: relative;
    z-index: 1;

    width: 100%;
    max-height: 540px;

    display: block;

    object-fit: contain;

    filter:
        drop-shadow(
            0 35px 45px rgba(0, 7, 36, 0.38)
        );
}


/* =========================================
   General About Sections
========================================= */

.about-page-section {
    width: 100%;
    max-width: 1260px;

    margin: 34px auto 0;
    padding: 70px 55px;

    background: #ffffff;
    border: 1px solid rgba(11, 63, 148, 0.09);
    border-radius: 32px;

    box-shadow:
        0 24px 60px rgba(4, 25, 73, 0.09);
}

.about-page-section--soft {
    background:
        linear-gradient(
            145deg,
            #eef5ff,
            #f8fbff
        );
}

.about-page-section__container {
    width: 100%;
}

.about-page-section-heading {
    width: 100%;
    max-width: 780px;

    margin: 0 auto 42px;

    text-align: center;
}

.about-page-section-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 15px;
    padding: 7px 14px;

    color: #08744a;
    font-size: 13px;
    font-weight: 700;

    background: rgba(25, 190, 119, 0.11);
    border: 1px solid rgba(25, 190, 119, 0.20);
    border-radius: 999px;
}

.about-page-section-heading h2,
.about-page-intro__content h2 {
    margin: 0 0 17px;

    color: #09275c;
    font-size: clamp(31px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.45;
}

.about-page-section-heading p {
    max-width: 690px;
    margin: 0 auto;

    color: #5b6d87;
    font-size: 16px;
    line-height: 1.9;
}


/* =========================================
   About Intro
========================================= */

.about-page-intro {
    width: 100%;

    display: grid;
    grid-template-columns:
        minmax(240px, 0.65fr)
        minmax(0, 1.35fr);

    align-items: center;
    gap: 58px;
}

.about-page-intro__logo {
    min-height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            rgba(26, 195, 124, 0.17),
            transparent 67%
        ),
        #f1f6ff;

    border: 1px solid #dfebfa;
    border-radius: 28px;
}

.about-page-intro__logo img {
    width: 180px;
    max-width: 65%;
    height: auto;

    display: block;

    object-fit: contain;

    filter:
        drop-shadow(
            0 18px 28px rgba(7, 46, 102, 0.18)
        );
}

.about-page-intro__content p {
    margin: 0 0 17px;

    color: #53657f;
    font-size: 16px;
    line-height: 2;
}

.about-page-intro__content p:last-child {
    margin-bottom: 0;
}


/* =========================================
   Features
========================================= */

.about-page-features {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.about-page-feature {
    min-width: 0;
    min-height: 290px;

    padding: 30px 26px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    background: #ffffff;
    border: 1px solid rgba(11, 63, 148, 0.09);
    border-radius: 24px;

    box-shadow:
        0 18px 42px rgba(4, 25, 73, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.about-page-feature:hover {
    transform: translateY(-6px);

    border-color: rgba(24, 184, 117, 0.27);

    box-shadow:
        0 26px 55px rgba(4, 25, 73, 0.13);
}

.about-page-feature__icon {
    width: 62px;
    height: 62px;

    margin-bottom: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #0e9b63;

    background: rgba(24, 184, 117, 0.11);
    border: 1px solid rgba(24, 184, 117, 0.21);
    border-radius: 19px;
}

.about-page-feature__icon svg {
    width: 30px;
    height: 30px;
}

.about-page-feature h3 {
    margin: 0 0 13px;

    color: #102f63;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.5;
}

.about-page-feature p {
    margin: 0;

    color: #617089;
    font-size: 15px;
    line-height: 1.9;
}


/* =========================================
   Steps
========================================= */

.about-page-steps {
    position: relative;

    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.about-page-steps::before {
    content: "";

    position: absolute;
    top: 44px;
    right: 16%;
    left: 16%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            rgba(20, 184, 117, 0.15),
            rgba(13, 111, 219, 0.42),
            rgba(20, 184, 117, 0.15)
        );
}

.about-page-step {
    position: relative;
    z-index: 1;

    min-height: 245px;
    padding: 30px 25px;

    text-align: center;

    background: #ffffff;
    border: 1px solid #e2ebf7;
    border-radius: 24px;

    box-shadow:
        0 18px 43px rgba(4, 25, 73, 0.08);
}

.about-page-step__number {
    width: 88px;
    height: 88px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 25px;
    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #17ba76,
            #0d6fdb
        );

    border: 7px solid #ffffff;
    border-radius: 50%;

    box-shadow:
        0 15px 30px rgba(13, 111, 219, 0.20);
}

.about-page-step h3 {
    margin: 0 0 12px;

    color: #102f63;
    font-size: 22px;
    font-weight: 700;
}

.about-page-step p {
    margin: 0;

    color: #62718a;
    font-size: 15px;
    line-height: 1.85;
}


/* =========================================
   Supported Cities
========================================= */

.about-page-cities {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.about-page-city {
    position: relative;

    min-height: 150px;
    padding: 27px 25px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;

    color: #ffffff;
    text-decoration: none;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0c3e91,
            #09265e
        );

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;

    box-shadow:
        0 19px 43px rgba(4, 25, 73, 0.18);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.about-page-city::after {
    content: "←";

    position: absolute;
    left: 24px;
    top: 50%;

    color: #91f2c5;
    font-size: 26px;

    transform: translateY(-50%);

    transition: transform 0.25s ease;
}

.about-page-city:hover {
    color: #ffffff;

    transform: translateY(-6px);

    box-shadow:
        0 27px 55px rgba(4, 25, 73, 0.26);
}

.about-page-city:hover::after {
    transform:
        translateY(-50%)
        translateX(-6px);
}

.about-page-city:visited {
    color: #ffffff;
}

.about-page-city strong {
    padding-left: 42px;

    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
}

.about-page-city span {
    color: rgba(255, 255, 255, 0.70);
    font-size: 13px;
}


/* =========================================
   Final CTA
========================================= */

.about-page-cta {
    position: relative;

    width: 100%;
    max-width: 1260px;

    margin: 34px auto 0;
    padding: 48px 55px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #082760,
            #0d4ba5
        );

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;

    box-shadow:
        0 28px 65px rgba(4, 25, 73, 0.23);
}

.about-page-cta::before {
    content: "";

    position: absolute;
    top: -100px;
    left: -90px;

    width: 260px;
    height: 260px;

    background: rgba(56, 224, 155, 0.18);
    filter: blur(65px);
    border-radius: 50%;
}

.about-page-cta__container {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.about-page-cta__container > div > span {
    display: inline-block;

    margin-bottom: 8px;

    color: #91f2c5;
    font-size: 14px;
    font-weight: 700;
}

.about-page-cta__container h2 {
    margin: 0;

    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.4;
}

.about-page-cta .about-page-button {
    min-width: 165px;
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 1000px) {

    .about-page {
        padding-right: 16px;
        padding-left: 16px;
    }

    .about-page-hero {
        min-height: auto;
        padding: 55px 38px;
    }

    .about-page-hero__container {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(260px, 0.7fr);

        gap: 35px;
    }

    .about-page-hero__content h1 {
        font-size: 45px;
    }

    .about-page-phone img {
        max-height: 440px;
    }

    .about-page-section {
        padding: 58px 38px;
    }

    .about-page-intro {
        gap: 35px;
    }

    .about-page-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-page-feature:last-child {
        grid-column: 1 / -1;

        width: 100%;
        max-width: 540px;

        margin: 0 auto;
    }

    .about-page-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-page-steps::before {
        display: none;
    }

    .about-page-step:last-child {
        grid-column: 1 / -1;

        width: 100%;
        max-width: 540px;

        margin: 0 auto;
    }

    .about-page-cities {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-page-city:last-child {
        grid-column: 1 / -1;

        width: 100%;
        max-width: 540px;

        margin: 0 auto;
    }

    .about-page-cta {
        padding: 42px 38px;
    }
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 700px) {

    .about-page {
        padding: 20px 12px 65px;
    }

    .about-page-hero {
        padding: 30px 18px 0;
        border-radius: 24px;
    }

    .about-page-hero__container {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .about-page-hero__content {
        text-align: center;
    }

    .about-page-label {
        margin-bottom: 16px;
        font-size: 13px;
    }

    .about-page-hero__content h1 {
        margin-bottom: 17px;

        font-size: 34px;
        line-height: 1.4;
    }

    .about-page-hero__content > p {
        font-size: 15px;
        line-height: 1.85;
    }

    .about-page-hero__actions {
        justify-content: center;

        margin-top: 24px;
    }

    .about-page-button {
        min-height: 48px;
        padding: 11px 17px;
    }

    .about-page-hero__visual {
        align-items: flex-end;
    }

    .about-page-phone {
        max-width: 310px;
    }

    .about-page-phone img {
        max-height: 400px;
    }

    .about-page-section {
        margin-top: 20px;
        padding: 42px 18px;
        border-radius: 24px;
    }

    .about-page-section-heading {
        margin-bottom: 28px;
    }

    .about-page-section-heading h2,
    .about-page-intro__content h2 {
        font-size: 29px;
    }

    .about-page-section-heading p {
        font-size: 15px;
        line-height: 1.8;
    }

    .about-page-intro {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-page-intro__logo {
        min-height: 220px;
    }

    .about-page-intro__logo img {
        width: 145px;
    }

    .about-page-intro__content {
        text-align: center;
    }

    .about-page-intro__content p {
        font-size: 15px;
        line-height: 1.9;
    }

    .about-page-features,
    .about-page-steps,
    .about-page-cities {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .about-page-feature,
    .about-page-feature:last-child,
    .about-page-step,
    .about-page-step:last-child,
    .about-page-city,
    .about-page-city:last-child {
        grid-column: auto;

        width: 100%;
        max-width: none;
    }

    .about-page-feature {
        min-height: auto;
        padding: 26px 22px;
    }

    .about-page-feature__icon {
        width: 57px;
        height: 57px;

        margin-bottom: 20px;
    }

    .about-page-feature h3 {
        font-size: 21px;
    }

    .about-page-step {
        min-height: auto;
        padding: 27px 22px;
    }

    .about-page-step__number {
        width: 76px;
        height: 76px;

        margin-bottom: 18px;

        font-size: 22px;
    }

    .about-page-city {
        min-height: 135px;
        padding: 24px 21px;
    }

    .about-page-city strong {
        font-size: 23px;
    }

    .about-page-cta {
        margin-top: 20px;
        padding: 35px 21px;

        border-radius: 24px;
    }

    .about-page-cta__container {
        align-items: stretch;
        flex-direction: column;

        text-align: center;
    }

    .about-page-cta__container h2 {
        font-size: 29px;
    }

    .about-page-cta .about-page-button {
        width: 100%;
    }
}


/* =========================================
   Small Mobile
========================================= */

@media (max-width: 380px) {

    .about-page {
        padding-right: 9px;
        padding-left: 9px;
    }

    .about-page-hero {
        padding-right: 14px;
        padding-left: 14px;
    }

    .about-page-hero__content h1 {
        font-size: 30px;
    }

    .about-page-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .about-page-button {
        width: 100%;
    }

    .about-page-section {
        padding-right: 15px;
        padding-left: 15px;
    }

    .about-page-section-heading h2,
    .about-page-intro__content h2 {
        font-size: 26px;
    }
}


/* =========================================
   Contact Page - New Clean Version
   
========================================= */

.pg-contact-page,
.pg-contact-page * {
    box-sizing: border-box;
}

.pg-contact-page {
    width: 100%;
    padding: 32px 20px 90px;

    direction: rtl;

  
}

.pg-contact-container {
    width: 100%;
    max-width: 1260px;

    margin: 0 auto;
}


/* =========================================
   Hero
========================================= */

.pg-contact-hero {
    position: relative;

    width: 100%;
    max-width: 1260px;

    margin: 0 auto;
    padding: 68px 55px;

    overflow: hidden;

    background-image:
        linear-gradient(
            135deg,
            rgba(2, 14, 53, 0.92),
            rgba(8, 54, 137, 0.78)
        ),
        url("https://pharma-garde24.com/wp-content/themes/PharmaGarde24/assets/images/hero-bg.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 34px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 30px 70px rgba(0, 13, 55, 0.30);
}

.pg-contact-hero::before {
    content: "";

    position: absolute;
    top: -160px;
    right: -120px;

    width: 420px;
    height: 420px;

    background: rgba(54, 224, 157, 0.18);
    filter: blur(100px);
    border-radius: 50%;

    pointer-events: none;
}

.pg-contact-hero::after {
    content: "";

    position: absolute;
    bottom: -210px;
    left: -130px;

    width: 470px;
    height: 470px;

    background: rgba(57, 137, 255, 0.22);
    filter: blur(110px);
    border-radius: 50%;

    pointer-events: none;
}

.pg-contact-hero__content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 850px;

    margin: 0 auto;
    padding: 38px 42px;

    text-align: center;

    background: rgba(3, 19, 65, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;

    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 24px 52px rgba(0, 8, 38, 0.24);
}

.pg-contact-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;
    padding: 8px 17px;

    color: #9effd1;
    font-size: 14px;
    font-weight: 700;

    background: rgba(70, 220, 155, 0.14);
    border: 1px solid rgba(70, 220, 155, 0.32);
    border-radius: 999px;
}

.pg-contact-hero__content h1 {
    margin: 0 0 18px;

    color: #ffffff;
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.35;
}

.pg-contact-hero__content p {
    max-width: 700px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.80);
    font-size: 17px;
    line-height: 1.95;
}


/* =========================================
   Main Section
========================================= */

.pg-contact-section {
    width: 100%;
    max-width: 1260px;

    margin: 32px auto 0;
    padding: 54px;

    background: #ffffff;
    border: 1px solid rgba(10, 61, 145, 0.09);
    border-radius: 32px;

    box-shadow:
        0 24px 60px rgba(4, 25, 73, 0.09);
}

.pg-contact-layout {
    width: 100%;

    display: grid;
    grid-template-columns:
        minmax(300px, 0.82fr)
        minmax(0, 1.18fr);

    align-items: start;
    gap: 35px;
}


/* =========================================
   Headings
========================================= */

.pg-contact-heading,
.pg-contact-form-heading {
    margin-bottom: 28px;
}

.pg-contact-small-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 14px;
    padding: 7px 14px;

    color: #08744a;
    font-size: 13px;
    font-weight: 700;

    background: rgba(25, 190, 119, 0.11);
    border: 1px solid rgba(25, 190, 119, 0.20);
    border-radius: 999px;
}

.pg-contact-heading h2,
.pg-contact-form-heading h2 {
    margin: 0 0 14px;

    color: #09275c;
    font-size: clamp(29px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.45;
}

.pg-contact-heading p,
.pg-contact-form-heading p {
    margin: 0;

    color: #5d6e87;
    font-size: 15px;
    line-height: 1.9;
}


/* =========================================
   Contact Information
========================================= */

.pg-contact-info {
    min-width: 0;
}

.pg-contact-info-list {
    display: grid;
    gap: 15px;
}

.pg-contact-info-card {
    min-width: 0;
    padding: 21px;

    display: flex;
    align-items: flex-start;
    gap: 16px;

    background:
        linear-gradient(
            145deg,
            #f3f7fe,
            #f9fbff
        );

    border: 1px solid #e0e9f6;
    border-radius: 20px;

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.pg-contact-info-card:hover {
    transform: translateY(-4px);

    border-color: rgba(20, 184, 117, 0.26);

    box-shadow:
        0 18px 38px rgba(4, 25, 73, 0.09);
}

.pg-contact-info-card__icon {
    width: 54px;
    min-width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #0d9d64;

    background: rgba(20, 184, 117, 0.11);
    border: 1px solid rgba(20, 184, 117, 0.21);
    border-radius: 17px;
}

.pg-contact-info-card__icon svg {
    width: 26px;
    height: 26px;
}

.pg-contact-info-card h3 {
    margin: 0 0 7px;

    color: #123267;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.pg-contact-info-card p {
    margin: 0;

    color: #63738a;
    font-size: 14px;
    line-height: 1.75;
}

.pg-contact-info-card a {
    color: #0b6fd5;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    word-break: break-word;
}

.pg-contact-info-card a:hover {
    color: #0b9e64;
}


/* =========================================
   Form Card
========================================= */

.pg-contact-form-card {
    min-width: 0;
    padding: 34px;

    background:
        linear-gradient(
            145deg,
            #f5f8fe,
            #ffffff
        );

    border: 1px solid #dde7f5;
    border-radius: 27px;

    box-shadow:
        0 21px 50px rgba(4, 25, 73, 0.09);
}


/* =========================================
   Alerts
========================================= */

.pg-contact-alert {
    margin-bottom: 22px;
    padding: 15px 17px;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;

    border-radius: 13px;
}

.pg-contact-alert--success {
    color: #08744a;

    background: rgba(20, 184, 117, 0.11);
    border: 1px solid rgba(20, 184, 117, 0.25);
}

.pg-contact-alert--error {
    color: #a52929;

    background: rgba(220, 53, 69, 0.09);
    border: 1px solid rgba(220, 53, 69, 0.21);
}


/* =========================================
   Form
========================================= */

.pg-contact-form {
    width: 100%;

    display: grid;
    gap: 20px;
}

.pg-contact-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.pg-contact-field {
    min-width: 0;

    display: grid;
    gap: 9px;
}

.pg-contact-field label {
    color: #183765;
    font-size: 14px;
    font-weight: 700;
}

.pg-contact-field label span {
    color: #e24b4b;
}

.pg-contact-field input,
.pg-contact-field select,
.pg-contact-field textarea {
    width: 100%;

    color: #253854;
    font-family: inherit;
    font-size: 15px;

    background: #ffffff;
    border: 1px solid #d5e0ee;
    border-radius: 13px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.pg-contact-field input,
.pg-contact-field select {
    height: 52px;
    padding: 0 15px;
}

.pg-contact-field textarea {
    min-height: 180px;
    padding: 15px;

    line-height: 1.8;

    resize: vertical;
}

.pg-contact-field input:focus,
.pg-contact-field select:focus,
.pg-contact-field textarea:focus {
    background: #ffffff;
    border-color: #0d77dc;

    box-shadow:
        0 0 0 4px rgba(13, 119, 220, 0.11);
}

.pg-contact-field input::placeholder,
.pg-contact-field textarea::placeholder {
    color: #98a5b6;
}

.pg-contact-field select {
    cursor: pointer;
}


/* =========================================
   Honeypot
========================================= */

.pg-contact-honeypot {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;
}


/* =========================================
   Consent
========================================= */

.pg-contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    color: #5b6d87;
    font-size: 13px;
    line-height: 1.75;

    cursor: pointer;
}

.pg-contact-consent input {
    width: 18px;
    min-width: 18px;
    height: 18px;

    margin-top: 3px;

    accent-color: #14b875;
}


/* =========================================
   Submit Button
========================================= */

.pg-contact-submit {
    width: 100%;
    min-height: 55px;

    padding: 12px 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            #15b875,
            #087b50
        );

    border: 0;
    border-radius: 14px;

    box-shadow:
        0 16px 34px rgba(20, 184, 117, 0.24);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.pg-contact-submit:hover {
    transform: translateY(-3px);

    box-shadow:
        0 22px 42px rgba(20, 184, 117, 0.32);
}

.pg-contact-submit:active {
    transform: translateY(0);
}

.pg-contact-submit svg {
    width: 21px;
    height: 21px;
}


/* =========================================
   Important Notice
========================================= */

.pg-contact-notice {
    width: 100%;
    max-width: 1260px;

    margin: 32px auto 0;
}

.pg-contact-notice__content {
    width: 100%;
    padding: 30px 34px;

    display: flex;
    align-items: flex-start;
    gap: 18px;

    background:
        linear-gradient(
            135deg,
            #082760,
            #0c469c
        );

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 25px;

    box-shadow:
        0 23px 55px rgba(4, 25, 73, 0.20);
}

.pg-contact-notice__icon {
    width: 55px;
    min-width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #9effd1;

    background: rgba(70, 220, 155, 0.13);
    border: 1px solid rgba(70, 220, 155, 0.28);
    border-radius: 17px;
}

.pg-contact-notice__icon svg {
    width: 27px;
    height: 27px;
}

.pg-contact-notice h2 {
    margin: 0 0 8px;

    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.5;
}

.pg-contact-notice p {
    margin: 0;

    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.85;
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 1000px) {

    .pg-contact-page {
        padding-right: 16px;
        padding-left: 16px;
    }

    .pg-contact-hero {
        padding: 55px 35px;
    }

    .pg-contact-section {
        padding: 44px 35px;
    }

    .pg-contact-layout {
        grid-template-columns: 1fr;
    }

    .pg-contact-info-list {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .pg-contact-info-card {
        flex-direction: column;
    }
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 700px) {

    .pg-contact-page {
        padding: 20px 12px 65px;
    }

    .pg-contact-hero {
        padding: 24px 14px;
        border-radius: 24px;
    }

    .pg-contact-hero__content {
        padding: 28px 18px;
        border-radius: 22px;
    }

    .pg-contact-badge {
        margin-bottom: 15px;
        font-size: 13px;
    }

    .pg-contact-hero__content h1 {
        margin-bottom: 15px;
        font-size: 34px;
    }

    .pg-contact-hero__content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .pg-contact-section {
        margin-top: 20px;
        padding: 32px 18px;
        border-radius: 24px;
    }

    .pg-contact-heading,
    .pg-contact-form-heading {
        text-align: center;
    }

    .pg-contact-heading h2,
    .pg-contact-form-heading h2 {
        font-size: 29px;
    }

    .pg-contact-info-list {
        grid-template-columns: 1fr;
    }

    .pg-contact-info-card {
        flex-direction: row;
    }

    .pg-contact-form-card {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .pg-contact-form__row {
        grid-template-columns: 1fr;
    }

    .pg-contact-notice {
        margin-top: 20px;
    }

    .pg-contact-notice__content {
        padding: 25px 20px;
        border-radius: 22px;
    }
}


/* =========================================
   Small Mobile
========================================= */

@media (max-width: 380px) {

    .pg-contact-page {
        padding-right: 9px;
        padding-left: 9px;
    }

    .pg-contact-hero {
        padding-right: 10px;
        padding-left: 10px;
    }

    .pg-contact-hero__content {
        padding-right: 15px;
        padding-left: 15px;
    }

    .pg-contact-hero__content h1 {
        font-size: 30px;
    }

    .pg-contact-section {
        padding-right: 14px;
        padding-left: 14px;
    }

    .pg-contact-form-card {
        padding-right: 16px;
        padding-left: 16px;
    }

    .pg-contact-info-card {
        padding: 18px;
    }

    .pg-contact-notice__content {
        flex-direction: column;
    }
}




/*
Theme: PharmaGarde24
Page: Privacy Policy (ID 1229)
*/


.privacy-page,
.privacy-page * {
    box-sizing: border-box;
}


/* =========================================
   Privacy Page
========================================= */

.privacy-page {
    width: 100%;
    padding: 32px 20px 95px;

    direction: rtl;
}


/* =========================================
   Privacy Hero
========================================= */

.privacy-page-hero {
    position: relative;

    width: 100%;
    max-width: 1260px;

    margin: 0 auto;
    padding: 70px 55px;

    overflow: hidden;

    background-image:
        linear-gradient(
            135deg,
            rgba(2, 14, 53, 0.91),
            rgba(8, 51, 132, 0.76)
        ),
        url("https://pharma-garde24.com/wp-content/themes/PharmaGarde24/assets/images/hero-bg.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 34px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        0 30px 70px rgba(0, 10, 45, 0.35);
}

.privacy-page-hero::before {
    content: "";

    position: absolute;
    top: -180px;
    right: -140px;

    width: 430px;
    height: 430px;

    background: rgba(44, 221, 150, 0.19);
    filter: blur(100px);
    border-radius: 50%;

    pointer-events: none;
}

.privacy-page-hero::after {
    content: "";

    position: absolute;
    bottom: -220px;
    left: -150px;

    width: 470px;
    height: 470px;

    background: rgba(63, 135, 255, 0.22);
    filter: blur(110px);
    border-radius: 50%;

    pointer-events: none;
}

.privacy-page-heading {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 850px;

    margin: 0 auto;
    padding: 38px 40px;

    text-align: center;

    background: rgba(2, 17, 61, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 28px;

    backdrop-filter: blur(22px) saturate(155%);
    -webkit-backdrop-filter: blur(22px) saturate(155%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 24px 55px rgba(0, 8, 35, 0.25);
}

.privacy-page-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;
    padding: 8px 17px;

    color: #9effd1;
    font-size: 14px;
    font-weight: 700;

    background: rgba(70, 220, 155, 0.14);
    border: 1px solid rgba(70, 220, 155, 0.32);
    border-radius: 999px;
}

.privacy-page-heading h1 {
    margin: 0 0 18px;

    color: #ffffff;
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.35;
}

.privacy-page-heading > p {
    max-width: 710px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.80);
    font-size: 17px;
    line-height: 1.95;
}

.privacy-page-update {
    width: fit-content;

    margin: 22px auto 0;
    padding: 9px 15px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;

    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.privacy-page-update-label {
    color: #9effd1;
    font-weight: 700;
}


/* =========================================
   Privacy Content
========================================= */

.privacy-page-content {
    width: 100%;
    max-width: 1260px;

    margin: 34px auto 0;
    padding: 55px;

    background: #ffffff;
    border: 1px solid rgba(11, 63, 148, 0.09);
    border-radius: 32px;

    box-shadow:
        0 24px 60px rgba(4, 25, 73, 0.09);
}

.privacy-page-container {
    width: 100%;
}

.privacy-page-layout {
    width: 100%;

    display: grid;
    grid-template-columns:
        minmax(240px, 0.34fr)
        minmax(0, 1fr);

    align-items: start;
    gap: 34px;
}


/* =========================================
   Privacy Sidebar
========================================= */

.privacy-page-sidebar {
    position: sticky;
    top: 115px;
}

.privacy-page-nav-card {
    padding: 25px 22px;

    background:
        linear-gradient(
            145deg,
            #f2f7ff,
            #ffffff
        );

    border: 1px solid #dfe9f7;
    border-radius: 24px;

    box-shadow:
        0 18px 42px rgba(4, 25, 73, 0.08);
}

.privacy-page-nav-card h2 {
    margin: 0 0 19px;
    padding-bottom: 15px;

    color: #09275c;
    font-size: 20px;
    font-weight: 700;

    border-bottom: 1px solid #dfe8f5;
}

.privacy-page-nav {
    display: grid;
    gap: 8px;
}

.privacy-page-nav a {
    position: relative;

    min-height: 43px;
    padding: 10px 35px 10px 12px;

    display: flex;
    align-items: center;

    color: #5b6d87;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;

    background: #ffffff;
    border: 1px solid #e3ebf7;
    border-radius: 12px;

    transition:
        color 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}

.privacy-page-nav a::before {
    content: "";

    position: absolute;
    right: 14px;

    width: 8px;
    height: 8px;

    background: #18b875;
    border-radius: 50%;

    box-shadow:
        0 0 0 4px rgba(24, 184, 117, 0.10);
}

.privacy-page-nav a:hover {
    color: #08744a;

    background: rgba(24, 184, 117, 0.07);
    border-color: rgba(24, 184, 117, 0.22);

    transform: translateX(-3px);
}


/* =========================================
   Privacy Article
========================================= */

.privacy-page-article {
    min-width: 0;
}

.privacy-page-intro-card {
    margin-bottom: 22px;
    padding: 25px;

    display: flex;
    align-items: flex-start;
    gap: 18px;

    background:
        linear-gradient(
            145deg,
            #eef5ff,
            #f8fbff
        );

    border: 1px solid #dce8f7;
    border-radius: 24px;

    box-shadow:
        0 18px 42px rgba(4, 25, 73, 0.07);
}

.privacy-page-intro-icon {
    width: 54px;
    min-width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 20px;
    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #18b875,
            #087b50
        );

    border-radius: 17px;

    box-shadow:
        0 13px 28px rgba(20, 184, 117, 0.23);
}

.privacy-page-intro-text h2 {
    margin: 0 0 8px;

    color: #09275c;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
}

.privacy-page-intro-text p {
    margin: 0;

    color: #5b6d87;
    font-size: 15px;
    line-height: 1.9;
}


/* =========================================
   Privacy Sections
========================================= */

.privacy-section {
    scroll-margin-top: 120px;

    margin-bottom: 20px;
    padding: 30px;

    background: #ffffff;
    border: 1px solid #e1eaf7;
    border-radius: 24px;

    box-shadow:
        0 18px 42px rgba(4, 25, 73, 0.07);

    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section:hover {
    transform: translateY(-3px);

    border-color: rgba(19, 180, 114, 0.23);

    box-shadow:
        0 24px 50px rgba(4, 25, 73, 0.11);
}

.privacy-section-header {
    margin-bottom: 21px;
    padding-bottom: 18px;

    display: flex;
    align-items: center;
    gap: 14px;

    border-bottom: 1px solid #e2eaf6;
}

.privacy-section-number {
    width: 50px;
    min-width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #0d9560;
    font-size: 14px;
    font-weight: 700;

    background: rgba(24, 184, 117, 0.10);
    border: 1px solid rgba(24, 184, 117, 0.21);
    border-radius: 16px;
}

.privacy-section-header h2 {
    margin: 0;

    color: #09275c;
    font-size: clamp(23px, 3vw, 31px);
    font-weight: 700;
    line-height: 1.45;
}

.privacy-section-body {
    color: #5b6d87;
    font-size: 15px;
    line-height: 2;
}

.privacy-section-body p {
    margin: 0 0 15px;
}

.privacy-section-body p:last-child {
    margin-bottom: 0;
}

.privacy-section-body h3 {
    margin: 25px 0 12px;

    color: #123267;
    font-size: 19px;
    font-weight: 700;
}


/* =========================================
   Privacy Lists
========================================= */

.privacy-list {
    margin: 18px 0;
    padding: 0;

    display: grid;
    gap: 10px;

    list-style: none;
}

.privacy-list li {
    position: relative;

    min-height: 45px;
    padding: 10px 43px 10px 14px;

    color: #53657f;
    font-size: 14px;
    line-height: 1.8;

    background: #f4f8ff;
    border: 1px solid #e1eaf7;
    border-radius: 14px;
}

.privacy-list li::before {
    content: "✓";

    position: absolute;
    top: 11px;
    right: 13px;

    width: 23px;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 12px;
    font-weight: 700;

    background: #18b875;
    border-radius: 8px;
}

.privacy-security-list li::before {
    background:
        linear-gradient(
            135deg,
            #18b875,
            #087b50
        );
}


/* =========================================
   Privacy Notes
========================================= */

.privacy-note {
    position: relative;

    margin-top: 21px;
    padding: 20px 22px 20px 25px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(18, 117, 220, 0.07),
            #f8fbff
        );

    border: 1px solid rgba(13, 119, 220, 0.17);
    border-radius: 17px;
}

.privacy-note::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;

    width: 4px;

    background: #0d77dc;
}

.privacy-note strong {
    display: block;

    margin-bottom: 5px;

    color: #0b4f9a;
    font-size: 15px;
    font-weight: 700;
}

.privacy-note p {
    margin: 0;
}

.privacy-warning-note {
    background:
        linear-gradient(
            145deg,
            rgba(255, 176, 32, 0.08),
            #fffdf8
        );

    border-color: rgba(226, 147, 22, 0.20);
}

.privacy-warning-note::before {
    background: #e49a24;
}

.privacy-warning-note strong {
    color: #9b6209;
}


/* =========================================
   Rights Cards
========================================= */

.privacy-rights-grid {
    margin: 21px 0;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.privacy-right-card {
    min-width: 0;
    padding: 22px;

    background:
        linear-gradient(
            145deg,
            #f4f8ff,
            #ffffff
        );

    border: 1px solid #e0e9f6;
    border-radius: 20px;

    box-shadow:
        0 15px 35px rgba(4, 25, 73, 0.06);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.privacy-right-card:hover {
    transform: translateY(-4px);

    border-color: rgba(24, 184, 117, 0.23);

    box-shadow:
        0 21px 43px rgba(4, 25, 73, 0.10);
}

.privacy-right-icon {
    width: 45px;
    height: 45px;

    margin-bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 12px;
    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #18b875,
            #0d6fdb
        );

    border-radius: 14px;

    box-shadow:
        0 12px 25px rgba(13, 111, 219, 0.18);
}

.privacy-right-card h3 {
    margin: 0 0 8px;

    color: #123267;
    font-size: 18px;
    font-weight: 700;
}

.privacy-right-card p {
    margin: 0;

    color: #64738a;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   Contact Section
========================================= */

.privacy-contact-section {
    padding: 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #082760,
            #0c469c
        );

    border: 1px solid rgba(255, 255, 255, 0.14);

    box-shadow:
        0 23px 55px rgba(4, 25, 73, 0.20);
}

.privacy-contact-section:hover {
    border-color: rgba(255, 255, 255, 0.14);

    box-shadow:
        0 23px 55px rgba(4, 25, 73, 0.20);
}

.privacy-contact-card {
    position: relative;

    padding: 34px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(260px, 0.9fr);

    align-items: center;
    gap: 30px;

    overflow: hidden;
}

.privacy-contact-card::before {
    content: "";

    position: absolute;
    top: -110px;
    left: -90px;

    width: 280px;
    height: 280px;

    background: rgba(56, 224, 155, 0.18);
    filter: blur(70px);
    border-radius: 50%;

    pointer-events: none;
}

.privacy-contact-content,
.privacy-contact-details {
    position: relative;
    z-index: 1;
}

.privacy-contact-label {
    display: inline-flex;

    margin-bottom: 12px;
    padding: 7px 14px;

    color: #9effd1;
    font-size: 13px;
    font-weight: 700;

    background: rgba(70, 220, 155, 0.13);
    border: 1px solid rgba(70, 220, 155, 0.27);
    border-radius: 999px;
}

.privacy-contact-content h2 {
    margin: 0 0 12px;

    color: #ffffff;
    font-size: clamp(27px, 3.5vw, 39px);
    font-weight: 700;
    line-height: 1.45;
}

.privacy-contact-content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.9;
}

.privacy-contact-details {
    display: grid;
    gap: 11px;
}

.privacy-contact-item {
    padding: 14px 16px;

    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 14px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.privacy-contact-item-label {
    display: block;

    margin-bottom: 4px;

    color: rgba(255, 255, 255, 0.61);
    font-size: 11px;
}

.privacy-contact-item a,
.privacy-contact-item strong {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.privacy-contact-item a:hover {
    color: #9effd1;
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 1000px) {

    .privacy-page {
        padding-right: 16px;
        padding-left: 16px;
    }

    .privacy-page-hero {
        padding: 55px 35px;
    }

    .privacy-page-content {
        padding: 45px 35px;
    }

    .privacy-page-layout {
        grid-template-columns: 1fr;
    }

    .privacy-page-sidebar {
        position: static;
    }

    .privacy-page-nav {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .privacy-rights-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .privacy-right-card:last-child {
        grid-column: 1 / -1;

        width: 100%;
        max-width: 520px;

        margin: 0 auto;
    }
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 700px) {

    .privacy-page {
        padding: 20px 12px 65px;
    }

    .privacy-page-hero {
        padding: 25px 14px;
        border-radius: 24px;
    }

    .privacy-page-heading {
        padding: 28px 18px;
        border-radius: 22px;
    }

    .privacy-page-label {
        margin-bottom: 15px;
        font-size: 13px;
    }

    .privacy-page-heading h1 {
        margin-bottom: 15px;
        font-size: 34px;
    }

    .privacy-page-heading > p {
        font-size: 15px;
        line-height: 1.8;
    }

    .privacy-page-update {
        flex-wrap: wrap;
    }

    .privacy-page-content {
        margin-top: 20px;
        padding: 32px 18px;
        border-radius: 24px;
    }

    .privacy-page-layout {
        gap: 22px;
    }

    .privacy-page-nav-card {
        padding: 21px 17px;
        border-radius: 20px;
    }

    .privacy-page-nav {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .privacy-page-nav a {
        padding-right: 31px;
        font-size: 12px;
    }

    .privacy-page-nav a::before {
        right: 11px;
    }

    .privacy-page-intro-card {
        padding: 20px;
        gap: 14px;
        border-radius: 20px;
    }

    .privacy-page-intro-icon {
        width: 47px;
        min-width: 47px;
        height: 47px;
        border-radius: 14px;
    }

    .privacy-page-intro-text h2 {
        font-size: 19px;
    }

    .privacy-page-intro-text p {
        font-size: 14px;
        line-height: 1.8;
    }

    .privacy-section {
        margin-bottom: 16px;
        padding: 23px 18px;
        border-radius: 20px;
    }

    .privacy-section:hover {
        transform: none;
    }

    .privacy-section-header {
        gap: 11px;
        margin-bottom: 17px;
        padding-bottom: 15px;
    }

    .privacy-section-number {
        width: 43px;
        min-width: 43px;
        height: 43px;
        border-radius: 14px;
        font-size: 12px;
    }

    .privacy-section-header h2 {
        font-size: 21px;
    }

    .privacy-section-body {
        font-size: 14px;
        line-height: 1.9;
    }

    .privacy-list li {
        padding-left: 11px;
        font-size: 13px;
    }

    .privacy-rights-grid {
        grid-template-columns: 1fr;
    }

    .privacy-right-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .privacy-contact-card {
        padding: 27px 20px;

        grid-template-columns: 1fr;
        gap: 23px;
    }

    .privacy-contact-content {
        text-align: center;
    }

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


/* =========================================
   Small Mobile
========================================= */

@media (max-width: 380px) {

    .privacy-page {
        padding-right: 9px;
        padding-left: 9px;
    }

    .privacy-page-hero {
        padding-right: 10px;
        padding-left: 10px;
    }

    .privacy-page-heading {
        padding-right: 15px;
        padding-left: 15px;
    }

    .privacy-page-heading h1 {
        font-size: 30px;
    }

    .privacy-page-content {
        padding-right: 14px;
        padding-left: 14px;
    }

    .privacy-page-nav {
        grid-template-columns: 1fr;
    }

    .privacy-page-intro-card {
        flex-direction: column;
    }

    .privacy-contact-card {
        padding-right: 17px;
        padding-left: 17px;
    }
}





/*
Theme: PharmaGarde24
Page: Terms of Use 
*/


.terms-page,
.terms-page * {
    box-sizing: border-box;
}


/* =========================================
   Terms Page
========================================= */

.terms-page {
    width: 100%;
    padding: 32px 20px 95px;

    direction: rtl;

    background:
        radial-gradient(
            circle at top right,
            rgba(31, 121, 232, 0.08),
            transparent 36%
        ),
        #f6f9ff;
}


/* =========================================
   Terms Hero
========================================= */

.terms-page-hero {
    position: relative;

    width: 100%;
    max-width: 1260px;

    margin: 0 auto;
    padding: 70px 55px;

    overflow: hidden;

    background-image:
        linear-gradient(
            135deg,
            rgba(2, 14, 53, 0.91),
            rgba(8, 51, 132, 0.76)
        ),
        url("https://pharma-garde24.com/wp-content/themes/PharmaGarde24/assets/images/hero-bg.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 34px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        0 30px 70px rgba(0, 10, 45, 0.35);
}

.terms-page-hero::before {
    content: "";

    position: absolute;
    top: -180px;
    right: -140px;

    width: 430px;
    height: 430px;

    background: rgba(44, 221, 150, 0.19);
    filter: blur(100px);
    border-radius: 50%;

    pointer-events: none;
}

.terms-page-hero::after {
    content: "";

    position: absolute;
    bottom: -220px;
    left: -150px;

    width: 470px;
    height: 470px;

    background: rgba(63, 135, 255, 0.22);
    filter: blur(110px);
    border-radius: 50%;

    pointer-events: none;
}

.terms-page-heading {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 850px;

    margin: 0 auto;
    padding: 38px 40px;

    text-align: center;

    background: rgba(2, 17, 61, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 28px;

    backdrop-filter: blur(22px) saturate(155%);
    -webkit-backdrop-filter: blur(22px) saturate(155%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 24px 55px rgba(0, 8, 35, 0.25);
}

.terms-page-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;
    padding: 8px 17px;

    color: #9effd1;
    font-size: 14px;
    font-weight: 700;

    background: rgba(70, 220, 155, 0.14);
    border: 1px solid rgba(70, 220, 155, 0.32);
    border-radius: 999px;
}

.terms-page-heading h1 {
    margin: 0 0 18px;

    color: #ffffff;
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.35;
}

.terms-page-heading > p {
    max-width: 710px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.80);
    font-size: 17px;
    line-height: 1.95;
}

.terms-page-update {
    width: fit-content;

    margin: 22px auto 0;
    padding: 9px 15px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;

    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.terms-page-update-label {
    color: #9effd1;
    font-weight: 700;
}


/* =========================================
   Terms Content
========================================= */

.terms-page-content {
    width: 100%;
    max-width: 1260px;

    margin: 34px auto 0;
    padding: 55px;

    background: #ffffff;
    border: 1px solid rgba(11, 63, 148, 0.09);
    border-radius: 32px;

    box-shadow:
        0 24px 60px rgba(4, 25, 73, 0.09);
}

.terms-page-container {
    width: 100%;
}

.terms-page-layout {
    width: 100%;

    display: grid;
    grid-template-columns:
        minmax(240px, 0.34fr)
        minmax(0, 1fr);

    align-items: start;
    gap: 34px;
}


/* =========================================
   Terms Sidebar
========================================= */

.terms-page-sidebar {
    position: sticky;
    top: 115px;
}

.terms-page-nav-card {
    padding: 25px 22px;

    background:
        linear-gradient(
            145deg,
            #f2f7ff,
            #ffffff
        );

    border: 1px solid #dfe9f7;
    border-radius: 24px;

    box-shadow:
        0 18px 42px rgba(4, 25, 73, 0.08);
}

.terms-page-nav-card h2 {
    margin: 0 0 19px;
    padding-bottom: 15px;

    color: #09275c;
    font-size: 20px;
    font-weight: 700;

    border-bottom: 1px solid #dfe8f5;
}

.terms-page-nav {
    display: grid;
    gap: 8px;
}

.terms-page-nav a {
    position: relative;

    min-height: 43px;
    padding: 10px 35px 10px 12px;

    display: flex;
    align-items: center;

    color: #5b6d87;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;

    background: #ffffff;
    border: 1px solid #e3ebf7;
    border-radius: 12px;

    transition:
        color 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}

.terms-page-nav a::before {
    content: "";

    position: absolute;
    right: 14px;

    width: 8px;
    height: 8px;

    background: #18b875;
    border-radius: 50%;

    box-shadow:
        0 0 0 4px rgba(24, 184, 117, 0.10);
}

.terms-page-nav a:hover {
    color: #08744a;

    background: rgba(24, 184, 117, 0.07);
    border-color: rgba(24, 184, 117, 0.22);

    transform: translateX(-3px);
}


/* =========================================
   Terms Article
========================================= */

.terms-page-article {
    min-width: 0;
}

.terms-page-intro-card {
    margin-bottom: 22px;
    padding: 25px;

    display: flex;
    align-items: flex-start;
    gap: 18px;

    background:
        linear-gradient(
            145deg,
            #eef5ff,
            #f8fbff
        );

    border: 1px solid #dce8f7;
    border-radius: 24px;

    box-shadow:
        0 18px 42px rgba(4, 25, 73, 0.07);
}

.terms-page-intro-icon {
    width: 54px;
    min-width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 20px;
    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #18b875,
            #087b50
        );

    border-radius: 17px;

    box-shadow:
        0 13px 28px rgba(20, 184, 117, 0.23);
}

.terms-page-intro-text h2 {
    margin: 0 0 8px;

    color: #09275c;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
}

.terms-page-intro-text p {
    margin: 0;

    color: #5b6d87;
    font-size: 15px;
    line-height: 1.9;
}


/* =========================================
   Terms Sections
========================================= */

.terms-section {
    scroll-margin-top: 120px;

    margin-bottom: 20px;
    padding: 30px;

    background: #ffffff;
    border: 1px solid #e1eaf7;
    border-radius: 24px;

    box-shadow:
        0 18px 42px rgba(4, 25, 73, 0.07);

    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease;
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section:hover {
    transform: translateY(-3px);

    border-color: rgba(19, 180, 114, 0.23);

    box-shadow:
        0 24px 50px rgba(4, 25, 73, 0.11);
}

.terms-section-header {
    margin-bottom: 21px;
    padding-bottom: 18px;

    display: flex;
    align-items: center;
    gap: 14px;

    border-bottom: 1px solid #e2eaf6;
}

.terms-section-number {
    width: 50px;
    min-width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #0d9560;
    font-size: 14px;
    font-weight: 700;

    background: rgba(24, 184, 117, 0.10);
    border: 1px solid rgba(24, 184, 117, 0.21);
    border-radius: 16px;
}

.terms-section-header h2 {
    margin: 0;

    color: #09275c;
    font-size: clamp(23px, 3vw, 31px);
    font-weight: 700;
    line-height: 1.45;
}

.terms-section-body {
    color: #5b6d87;
    font-size: 15px;
    line-height: 2;
}

.terms-section-body p {
    margin: 0 0 15px;
}

.terms-section-body p:last-child {
    margin-bottom: 0;
}

.terms-section-body h3 {
    margin: 25px 0 12px;

    color: #123267;
    font-size: 19px;
    font-weight: 700;
}


/* =========================================
   Terms Lists
========================================= */

.terms-list {
    margin: 18px 0;
    padding: 0;

    display: grid;
    gap: 10px;

    list-style: none;
}

.terms-list li {
    position: relative;

    min-height: 45px;
    padding: 10px 43px 10px 14px;

    color: #53657f;
    font-size: 14px;
    line-height: 1.8;

    background: #f4f8ff;
    border: 1px solid #e1eaf7;
    border-radius: 14px;
}

.terms-list li::before {
    content: "✓";

    position: absolute;
    top: 11px;
    right: 13px;

    width: 23px;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 12px;
    font-weight: 700;

    background: #18b875;
    border-radius: 8px;
}

.terms-prohibited-list li::before {
    content: "×";

    background:
        linear-gradient(
            135deg,
            #e05252,
            #b52f3b
        );
}


/* =========================================
   Terms Notes
========================================= */

.terms-note {
    position: relative;

    margin-top: 21px;
    padding: 20px 22px 20px 25px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(18, 117, 220, 0.07),
            #f8fbff
        );

    border: 1px solid rgba(13, 119, 220, 0.17);
    border-radius: 17px;
}

.terms-note::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;

    width: 4px;

    background: #0d77dc;
}

.terms-note strong {
    display: block;

    margin-bottom: 5px;

    color: #0b4f9a;
    font-size: 15px;
    font-weight: 700;
}

.terms-note p {
    margin: 0;
}

.terms-warning-note {
    background:
        linear-gradient(
            145deg,
            rgba(255, 176, 32, 0.08),
            #fffdf8
        );

    border-color: rgba(226, 147, 22, 0.20);
}

.terms-warning-note::before {
    background: #e49a24;
}

.terms-warning-note strong {
    color: #9b6209;
}


/* =========================================
   Terms Privacy Link
========================================= */

.terms-privacy-link {
    min-height: 49px;
    margin-top: 7px;
    padding: 11px 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            #18b875,
            #087b50
        );

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;

    box-shadow:
        0 15px 31px rgba(20, 184, 117, 0.23);

    transition:
        color 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.terms-privacy-link:hover {
    color: #ffffff;
    transform: translateY(-2px);

    box-shadow:
        0 20px 39px rgba(20, 184, 117, 0.31);
}


/* =========================================
   Terms Contact Section
========================================= */

.terms-contact-section {
    padding: 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #082760,
            #0c469c
        );

    border: 1px solid rgba(255, 255, 255, 0.14);

    box-shadow:
        0 23px 55px rgba(4, 25, 73, 0.20);
}

.terms-contact-section:hover {
    border-color: rgba(255, 255, 255, 0.14);

    box-shadow:
        0 23px 55px rgba(4, 25, 73, 0.20);
}

.terms-contact-card {
    position: relative;

    padding: 34px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(260px, 0.9fr);

    align-items: center;
    gap: 30px;

    overflow: hidden;
}

.terms-contact-card::before {
    content: "";

    position: absolute;
    top: -110px;
    left: -90px;

    width: 280px;
    height: 280px;

    background: rgba(56, 224, 155, 0.18);
    filter: blur(70px);
    border-radius: 50%;

    pointer-events: none;
}

.terms-contact-content,
.terms-contact-details {
    position: relative;
    z-index: 1;
}

.terms-contact-label {
    display: inline-flex;

    margin-bottom: 12px;
    padding: 7px 14px;

    color: #9effd1;
    font-size: 13px;
    font-weight: 700;

    background: rgba(70, 220, 155, 0.13);
    border: 1px solid rgba(70, 220, 155, 0.27);
    border-radius: 999px;
}

.terms-contact-content h2 {
    margin: 0 0 12px;

    color: #ffffff;
    font-size: clamp(27px, 3.5vw, 39px);
    font-weight: 700;
    line-height: 1.45;
}

.terms-contact-content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.9;
}

.terms-contact-details {
    display: grid;
    gap: 11px;
}

.terms-contact-item {
    padding: 14px 16px;

    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 14px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.terms-contact-item-label {
    display: block;

    margin-bottom: 4px;

    color: rgba(255, 255, 255, 0.61);
    font-size: 11px;
}

.terms-contact-item a,
.terms-contact-item strong {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.terms-contact-item a:hover {
    color: #9effd1;
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 1000px) {

    .terms-page {
        padding-right: 16px;
        padding-left: 16px;
    }

    .terms-page-hero {
        padding: 55px 35px;
    }

    .terms-page-content {
        padding: 45px 35px;
    }

    .terms-page-layout {
        grid-template-columns: 1fr;
    }

    .terms-page-sidebar {
        position: static;
    }

    .terms-page-nav {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 700px) {

    .terms-page {
        padding: 20px 12px 65px;
    }

    .terms-page-hero {
        padding: 25px 14px;
        border-radius: 24px;
    }

    .terms-page-heading {
        padding: 28px 18px;
        border-radius: 22px;
    }

    .terms-page-label {
        margin-bottom: 15px;
        font-size: 13px;
    }

    .terms-page-heading h1 {
        margin-bottom: 15px;
        font-size: 34px;
    }

    .terms-page-heading > p {
        font-size: 15px;
        line-height: 1.8;
    }

    .terms-page-update {
        flex-wrap: wrap;
    }

    .terms-page-content {
        margin-top: 20px;
        padding: 32px 18px;
        border-radius: 24px;
    }

    .terms-page-layout {
        gap: 22px;
    }

    .terms-page-nav-card {
        padding: 21px 17px;
        border-radius: 20px;
    }

    .terms-page-nav {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .terms-page-nav a {
        padding-right: 31px;
        font-size: 12px;
    }

    .terms-page-nav a::before {
        right: 11px;
    }

    .terms-page-intro-card {
        padding: 20px;
        gap: 14px;
        border-radius: 20px;
    }

    .terms-page-intro-icon {
        width: 47px;
        min-width: 47px;
        height: 47px;
        border-radius: 14px;
    }

    .terms-page-intro-text h2 {
        font-size: 19px;
    }

    .terms-page-intro-text p {
        font-size: 14px;
        line-height: 1.8;
    }

    .terms-section {
        margin-bottom: 16px;
        padding: 23px 18px;
        border-radius: 20px;
    }

    .terms-section:hover {
        transform: none;
    }

    .terms-section-header {
        gap: 11px;
        margin-bottom: 17px;
        padding-bottom: 15px;
    }

    .terms-section-number {
        width: 43px;
        min-width: 43px;
        height: 43px;
        border-radius: 14px;
        font-size: 12px;
    }

    .terms-section-header h2 {
        font-size: 21px;
    }

    .terms-section-body {
        font-size: 14px;
        line-height: 1.9;
    }

    .terms-list li {
        padding-left: 11px;
        font-size: 13px;
    }

    .terms-contact-card {
        padding: 27px 20px;

        grid-template-columns: 1fr;
        gap: 23px;
    }

    .terms-contact-content {
        text-align: center;
    }

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


/* =========================================
   Small Mobile
========================================= */

@media (max-width: 380px) {

    .terms-page {
        padding-right: 9px;
        padding-left: 9px;
    }

    .terms-page-hero {
        padding-right: 10px;
        padding-left: 10px;
    }

    .terms-page-heading {
        padding-right: 15px;
        padding-left: 15px;
    }

    .terms-page-heading h1 {
        font-size: 30px;
    }

    .terms-page-content {
        padding-right: 14px;
        padding-left: 14px;
    }

    .terms-page-nav {
        grid-template-columns: 1fr;
    }

    .terms-page-intro-card {
        flex-direction: column;
    }

    .terms-contact-card {
        padding-right: 17px;
        padding-left: 17px;
    }
}


/* =========================================
   Sidi Ifni Duty Schedule
========================================= */

.sidi-ifni-duty-schedule {
    width: 100%;
    padding: 55px 20px 10px;
    direction: rtl;
}

.sidi-ifni-duty-schedule-container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
}

.sidi-ifni-duty-schedule-heading {
    max-width: 780px;
    margin: 0 auto 32px;
    text-align: center;
}

.sidi-ifni-duty-schedule-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;
    padding: 7px 16px;

    color: #9effd1;
    font-size: 13px;
    font-weight: 700;

    background: rgba(70, 220, 155, 0.12);
    border: 1px solid rgba(70, 220, 155, 0.28);
    border-radius: 999px;
}

.sidi-ifni-duty-schedule-heading h2 {
    margin: 0 0 14px;

    color: #ffffff;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.4;
}

.sidi-ifni-duty-schedule-heading p {
    margin: 0;

    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.9;
}

.sidi-ifni-duty-schedule-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sidi-ifni-duty-schedule-item {
    position: relative;

    padding: 24px 25px;

    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow: 0 14px 35px rgba(0, 12, 55, 0.13);
}

.sidi-ifni-duty-schedule-item.is-current {
    background:
        linear-gradient(
            135deg,
            rgba(37, 191, 132, 0.17),
            rgba(255, 255, 255, 0.08)
        );

    border-color: rgba(90, 235, 174, 0.42);

    box-shadow:
        0 16px 40px rgba(0, 12, 55, 0.16),
        inset 0 0 0 1px rgba(135, 255, 203, 0.05);
}

.sidi-ifni-duty-schedule-item__badge {
    display: inline-flex;

    margin-bottom: 12px;
    padding: 6px 12px;

    color: #072c22;
    font-size: 12px;
    font-weight: 800;

    background: #9effd1;
    border-radius: 999px;
}

.sidi-ifni-duty-schedule-item h3 {
    margin: 0 0 9px;

    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.sidi-ifni-duty-schedule-item p {
    margin: 0;

    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.8;
}

.sidi-ifni-duty-schedule-loading {
    grid-column: 1 / -1;

    padding: 28px;

    color: rgba(255, 255, 255, 0.76);
    text-align: center;

    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 20px;
}

@media (max-width: 700px) {

    .sidi-ifni-duty-schedule {
        padding: 38px 12px 5px;
    }

    .sidi-ifni-duty-schedule-heading {
        margin-bottom: 24px;
    }

    .sidi-ifni-duty-schedule-heading h2 {
        font-size: 26px;
    }

    .sidi-ifni-duty-schedule-heading p {
        font-size: 15px;
    }

    .sidi-ifni-duty-schedule-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sidi-ifni-duty-schedule-item {
        padding: 20px 18px;
        border-radius: 18px;
    }

    .sidi-ifni-duty-schedule-item h3 {
        font-size: 18px;
    }
}


/* =========================================
   Sidi Ifni SEO Content
========================================= */

.sidi-ifni-seo-content {
    width: 100%;
    padding: 55px 20px 70px;
    direction: rtl;
}

.sidi-ifni-seo-container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 38px 42px;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow: 0 22px 50px rgba(0, 12, 55, 0.18);
}

.sidi-ifni-seo-container h2 {
    margin: 0 0 18px;

    color: #ffffff;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.4;
}

.sidi-ifni-seo-container p {
    margin: 0 0 12px;

    color: rgba(255, 255, 255, 0.84);
    font-size: 16px;
    line-height: 1.95;
}

.sidi-ifni-seo-container p:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {

    .sidi-ifni-seo-content {
        padding: 35px 12px 50px;
    }

    .sidi-ifni-seo-container {
        padding: 27px 20px;
        border-radius: 20px;
    }

    .sidi-ifni-seo-container h2 {
        font-size: 25px;
    }

    .sidi-ifni-seo-container p {
        font-size: 15px;
    }
}

/* روابط SEO ديال صفحات المدن */
.city-seo-links a,
.sidi-ifni-seo-links a {
    color: #9effd1;
    font-weight: 700;
    text-decoration: none;

    border-bottom: 1px solid rgba(158, 255, 209, 0.45);

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.city-seo-links a:hover,
.sidi-ifni-seo-links a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}
/* =========================================
   Sidi Ifni - Before Visit
========================================= */

.sidi-ifni-before-visit {
    margin-top: 34px;
    padding-top: 30px;

    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.sidi-ifni-before-visit h2 {
    margin: 0 0 20px;

    color: #ffffff;
    font-size: clamp(23px, 2.5vw, 30px);
    font-weight: 700;
    line-height: 1.4;
}

.sidi-ifni-before-visit ul {
    margin: 0;
    padding: 0;

    display: grid;
    gap: 12px;

    list-style: none;
}

.sidi-ifni-before-visit li {
    position: relative;

    margin: 0;
    padding: 17px 20px 17px 18px;

    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.9;

    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 16px;
}

.sidi-ifni-before-visit li::before {
    content: "✓";

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    margin-left: 9px;

    color: #062b20;
    font-size: 13px;
    font-weight: 900;

    background: #9effd1;
    border-radius: 50%;
}

.sidi-ifni-before-visit strong {
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 600px) {

    .sidi-ifni-before-visit {
        margin-top: 26px;
        padding-top: 24px;
    }

    .sidi-ifni-before-visit h2 {
        font-size: 23px;
    }

    .sidi-ifni-before-visit li {
        padding: 15px 16px;
        font-size: 14px;
    }
}


/* =========================================
   Sidi Ifni - Info Grid + FAQ
========================================= */

.sidi-ifni-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;

    margin-top: 34px;
    padding-top: 30px;

    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* إلغاء المسافة القديمة حيث دابا الأب هو اللي كيتحكم فيها */
.sidi-ifni-info-grid .sidi-ifni-before-visit {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.sidi-ifni-before-visit,
.sidi-ifni-faq {
    min-width: 0;
}

.sidi-ifni-faq h2 {
    margin: 0 0 20px;

    color: #ffffff;
    font-size: clamp(23px, 2.5vw, 30px);
    font-weight: 700;
    line-height: 1.4;
}

.sidi-ifni-faq-list {
    display: grid;
    gap: 12px;
}

.sidi-ifni-faq details {
    overflow: hidden;

    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 16px;
}

.sidi-ifni-faq summary {
    position: relative;

    padding: 17px 48px 17px 18px;

    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;

    cursor: pointer;
    list-style: none;
}

.sidi-ifni-faq summary::-webkit-details-marker {
    display: none;
}

.sidi-ifni-faq summary::before {
    content: "+";

    position: absolute;
    top: 50%;
    right: 17px;

    width: 23px;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    color: #062b20;
    font-size: 18px;
    font-weight: 800;

    background: #9effd1;
    border-radius: 50%;
}

.sidi-ifni-faq details[open] summary::before {
    content: "−";
}

.sidi-ifni-faq details p {
    margin: 0;
    padding: 0 18px 18px;

    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.9;
}

/* Tablet + Mobile */
@media (max-width: 1024px) {

    .sidi-ifni-info-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {

    .sidi-ifni-info-grid {
        margin-top: 26px;
        padding-top: 24px;
        gap: 28px;
    }

    .sidi-ifni-faq h2 {
        font-size: 23px;
    }

    .sidi-ifni-faq summary {
        padding: 15px 45px 15px 15px;
        font-size: 14px;
    }
}


/* مسافة بين Info Grid وروابط المدن */
.sidi-ifni-info-grid + .sidi-ifni-seo-links {
    margin-top: 32px;
}

@media (max-width: 600px) {
    .sidi-ifni-info-grid + .sidi-ifni-seo-links {
        margin-top: 26px;
    }
}


/* =========================================
   City Info Grid + FAQ
========================================= */

.city-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;

    margin-top: 34px;
    padding-top: 30px;

    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.city-before-visit,
.city-faq {
    min-width: 0;
}

.city-before-visit h2,
.city-faq h2 {
    margin: 0 0 20px;

    color: #ffffff;
    font-size: clamp(23px, 2.5vw, 30px);
    font-weight: 700;
    line-height: 1.4;
}

.city-before-visit ul {
    display: grid;
    gap: 12px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.city-before-visit li {
    padding: 17px 20px;

    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.9;

    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 16px;
}

.city-before-visit li::before {
    content: "✓";

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    margin-left: 9px;

    color: #062b20;
    font-size: 13px;
    font-weight: 900;

    background: #9effd1;
    border-radius: 50%;
}

.city-before-visit strong {
    color: #ffffff;
}

.city-faq-list {
    display: grid;
    gap: 12px;
}

.city-faq details {
    overflow: hidden;

    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 16px;
}

.city-faq summary {
    position: relative;

    padding: 17px 48px 17px 18px;

    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;

    cursor: pointer;
    list-style: none;
}

.city-faq summary::-webkit-details-marker {
    display: none;
}

.city-faq summary::before {
    content: "+";

    position: absolute;
    top: 50%;
    right: 17px;

    width: 23px;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    color: #062b20;
    font-size: 18px;
    font-weight: 800;

    background: #9effd1;
    border-radius: 50%;
}

.city-faq details[open] summary::before {
    content: "−";
}

.city-faq details p {
    margin: 0;
    padding: 0 18px 18px;

    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.9;
}

.city-info-grid + .city-seo-links {
    margin-top: 32px;
}

@media (max-width: 1024px) {

    .city-info-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {

    .city-info-grid {
        margin-top: 26px;
        padding-top: 24px;
        gap: 28px;
    }

    .city-before-visit h2,
    .city-faq h2 {
        font-size: 23px;
    }

    .city-before-visit li,
    .city-faq summary {
        font-size: 14px;
    }
}


/* =========================================
   Tiznit Full Day & Night Duty
========================================= */

.tiznit-full-duty {
    width: 100%;
    padding: 55px 20px 20px;
    direction: rtl;
}

.tiznit-full-duty-container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
}

.tiznit-full-duty-heading {
    max-width: 800px;
    margin: 0 auto 32px;
    text-align: center;
}

.tiznit-full-duty-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;
    padding: 7px 16px;

    color: #9effd1;
    font-size: 13px;
    font-weight: 700;

    background: rgba(70, 220, 155, 0.12);
    border: 1px solid rgba(70, 220, 155, 0.28);
    border-radius: 999px;
}

.tiznit-full-duty-heading h2 {
    margin: 0 0 14px;

    color: #ffffff;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.4;
}

.tiznit-full-duty-heading p {
    margin: 0;

    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.9;
}

.tiznit-full-duty-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 20px;
    align-items: start;
}

.tiznit-duty-group {
    padding: 20px;

    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 24px;

    box-shadow: 0 14px 35px rgba(0, 12, 55, 0.12);
}

.tiznit-duty-group-heading {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 18px;
    padding-bottom: 16px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tiznit-duty-group-heading > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    font-size: 22px;

    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
}

.tiznit-duty-group-heading h3 {
    margin: 0 0 3px;

    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.tiznit-duty-group-heading p {
    margin: 0;

    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.6;
}

.tiznit-duty-group-results {
    display: grid;
    gap: 14px;
}

.tiznit-duty-group--day .tiznit-duty-group-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tiznit-duty-group--night .tiznit-duty-group-results {
    grid-template-columns: 1fr;
}

.tiznit-duty-group-results .live-pharmacy-card {
    width: 100%;
    min-width: 0;
    margin: 0;
}


/* Tablet */
@media (max-width: 1024px) {

    .tiznit-full-duty-grid {
        grid-template-columns: 1fr;
    }

    .tiznit-duty-group--day .tiznit-duty-group-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* Mobile */
@media (max-width: 700px) {

    .tiznit-full-duty {
        padding: 38px 12px 10px;
    }

    .tiznit-full-duty-heading {
        margin-bottom: 24px;
    }

    .tiznit-full-duty-heading h2 {
        font-size: 26px;
    }

    .tiznit-full-duty-heading p {
        font-size: 15px;
    }

    .tiznit-duty-group {
        padding: 15px;
        border-radius: 20px;
    }

    .tiznit-duty-group--day .tiznit-duty-group-results {
        grid-template-columns: 1fr;
    }

    .tiznit-duty-group-heading h3 {
        font-size: 18px;
    }
}


/* Equal height for Tiznit day/night duty columns */
@media (min-width: 1025px) {

    .tiznit-full-duty-grid {
        align-items: stretch;
    }

    .tiznit-duty-group {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .tiznit-duty-group-results {
        flex: 1;
        align-items: stretch;
    }

    .tiznit-duty-group-results .live-pharmacy-card {
        height: 100%;
    }
}


/* Tiznit Full Duty - Keep action buttons in one row */
@media (min-width: 701px) {

    .tiznit-full-duty .live-pharmacy-card__actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .tiznit-full-duty .live-pharmacy-action {
        width: 100%;
        min-width: 0;
        padding-left: 10px;
        padding-right: 10px;
        gap: 6px;
        white-space: nowrap;
    }

    .tiznit-full-duty .live-pharmacy-action span {
        white-space: nowrap;
        font-size: 14px;
    }

    .tiznit-full-duty .live-pharmacy-action svg {
        flex: 0 0 19px;
        width: 19px;
        height: 19px;
    }
}


/* Tiznit Full Duty - Align all action buttons at card bottom */
@media (min-width: 1025px) {

    .tiznit-full-duty .live-pharmacy-card {
        display: flex;
        flex-direction: column;
    }

    .tiznit-full-duty .live-pharmacy-card__body {
        flex: 1;
    }

    .tiznit-full-duty .live-pharmacy-card__actions {
        margin-top: auto;
    }
}


/* Tiznit Duty Status Colors */

/* الحراسة خدامة دابا = أخضر */
.tiznit-full-duty .live-pharmacy-card__status.is-active {
    color: #087a52;
    background: rgba(38, 201, 139, 0.13);
    border-color: rgba(38, 201, 139, 0.28);
}

.tiznit-full-duty .live-pharmacy-card__status.is-active > span {
    background: #20bf7a;
}

/* الحراسة مازال ما بداتش = أحمر */
.tiznit-full-duty .live-pharmacy-card__status.is-upcoming {
    color: #b42318;
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.28);
}

.tiznit-full-duty .live-pharmacy-card__status.is-upcoming > span {
    background: #ef4444;
}


/* =========================================
   GUELMIM FULL DAY & NIGHT DUTY
========================================= */

.guelmim-full-duty {
    width: 100%;
    padding: 55px 20px 20px;
    direction: rtl;
}

.guelmim-full-duty-container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
}

.guelmim-full-duty-heading {
    max-width: 800px;
    margin: 0 auto 32px;
    text-align: center;
}

.guelmim-full-duty-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;
    padding: 7px 16px;

    color: #9effd1;
    font-size: 13px;
    font-weight: 700;

    background: rgba(70, 220, 155, 0.12);
    border: 1px solid rgba(70, 220, 155, 0.28);
    border-radius: 999px;
}

.guelmim-full-duty-heading h2 {
    margin: 0 0 14px;

    color: #ffffff;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.4;
}

.guelmim-full-duty-heading p {
    margin: 0;

    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.9;
}

.guelmim-full-duty-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
}

.guelmim-duty-group {
    display: flex;
    flex-direction: column;

    padding: 20px;

    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 24px;

    box-shadow: 0 14px 35px rgba(0, 12, 55, 0.12);
}

.guelmim-duty-group-heading {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 18px;
    padding-bottom: 16px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.guelmim-duty-group-heading > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    font-size: 22px;

    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
}

.guelmim-duty-group-heading h3 {
    margin: 0 0 3px;

    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.guelmim-duty-group-heading p {
    margin: 0;

    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.6;
}

.guelmim-duty-group-results {
    display: grid;
    gap: 14px;
    flex: 1;
    align-items: stretch;
}

.guelmim-duty-group--day .guelmim-duty-group-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guelmim-duty-group--night .guelmim-duty-group-results {
    grid-template-columns: 1fr;
}

.guelmim-duty-group-results .live-pharmacy-card {
    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
}

.guelmim-full-duty .live-pharmacy-card__body {
    flex: 1;
}

.guelmim-full-duty .live-pharmacy-card__actions {
    margin-top: auto;
}


/* Keep the 3 action buttons in one row */
@media (min-width: 701px) {

    .guelmim-full-duty .live-pharmacy-card__actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .guelmim-full-duty .live-pharmacy-action {
        width: 100%;
        min-width: 0;

        padding-left: 8px;
        padding-right: 8px;
        gap: 5px;

        white-space: nowrap;
    }

    .guelmim-full-duty .live-pharmacy-action span {
        font-size: 13px;
        white-space: nowrap;
    }

    .guelmim-full-duty .live-pharmacy-action svg {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
    }
}


/* الحراسة خدامة دابا = أخضر */
.guelmim-full-duty .live-pharmacy-card__status.is-active {
    color: #087a52;
    background: rgba(38, 201, 139, 0.13);
    border-color: rgba(38, 201, 139, 0.28);
}

.guelmim-full-duty .live-pharmacy-card__status.is-active > span {
    background: #20bf7a;
}


/* الحراسة مازال ما بداتش = أحمر */
.guelmim-full-duty .live-pharmacy-card__status.is-upcoming {
    color: #b42318;
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.28);
}

.guelmim-full-duty .live-pharmacy-card__status.is-upcoming > span {
    background: #ef4444;
}


/* Tablet */
@media (max-width: 1024px) {

    .guelmim-full-duty-grid {
        grid-template-columns: 1fr;
    }

    .guelmim-duty-group--day .guelmim-duty-group-results {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* Small tablet */
@media (max-width: 850px) {

    .guelmim-duty-group--day .guelmim-duty-group-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* Mobile */
@media (max-width: 700px) {

    .guelmim-full-duty {
        padding: 38px 12px 10px;
    }

    .guelmim-full-duty-heading {
        margin-bottom: 24px;
    }

    .guelmim-full-duty-heading h2 {
        font-size: 26px;
    }

    .guelmim-full-duty-heading p {
        font-size: 15px;
    }

    .guelmim-duty-group {
        padding: 15px;
        border-radius: 20px;
    }

    .guelmim-duty-group--day .guelmim-duty-group-results {
        grid-template-columns: 1fr;
    }

    .guelmim-duty-group-heading h3 {
        font-size: 18px;
    }
}


/* =========================================
   Guelmim Final 2x2 Desktop Card Layout
========================================= */

@media (min-width: 701px) {

    .guelmim-full-duty-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        align-items: stretch;
    }

    /* Flatten day/night wrappers so all 4 pharmacies share one 2x2 grid */
    .guelmim-full-duty-grid .guelmim-duty-group,
    .guelmim-full-duty-grid .guelmim-duty-group-results {
        display: contents;
    }

    /* Card itself already shows whether duty is day or night */
    .guelmim-full-duty-grid .guelmim-duty-group-heading {
        display: none;
    }

    .guelmim-full-duty-grid .live-pharmacy-card {
        width: 100%;
        height: 100%;
        min-width: 0;
        margin: 0;
    }
}


/* Mobile: one pharmacy per row */
@media (max-width: 700px) {

    .guelmim-full-duty-grid {
        grid-template-columns: 1fr;
    }

    .guelmim-duty-group--day .guelmim-duty-group-results,
    .guelmim-duty-group--night .guelmim-duty-group-results {
        grid-template-columns: 1fr;
    }
}


/* Guelmim upcoming status dot - fully red */
.guelmim-full-duty .live-pharmacy-card__status.is-upcoming > span {
    background: #ef4444 !important;
    box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.14) !important;
}


/* ==================================================
   APP RATING PAGE — HERO
   ================================================== */

.app-rating-page {
    background: #f8fafc;
}

.app-rating-hero {
    padding: 64px 20px 72px;
}

.app-rating-container {
    width: min(1120px, 100%);
    margin-inline: auto;
}

.app-rating-hero__content {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.app-rating-hero__icon {
    flex: 0 0 180px;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: 34px;
    overflow: hidden;
}

.app-rating-hero__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-rating-hero__details {
    flex: 1;
    min-width: 0;
}

.app-rating-label {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    margin-bottom: 14px;
    color: #15803d;
    background: #dcfce7;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.app-rating-hero__details h1 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.25;
}

.app-rating-hero__description {
    max-width: 720px;
    margin: 0;
    color: #475569;
    font-size: 17px;
    line-height: 1.9;
}

.app-rating-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 28px;
    padding-block: 22px;
    border-top: 1px solid #e5e7eb;
}

.app-rating-meta__item {
    min-width: 130px;
    padding-inline: 24px;
    text-align: center;
    border-left: 1px solid #e5e7eb;
}

.app-rating-meta__item:first-child {
    padding-right: 0;
}

.app-rating-meta__item:last-child {
    border-left: 0;
}

.app-rating-meta__item strong,
.app-rating-meta__item span {
    display: block;
}

.app-rating-meta__item strong {
    margin-bottom: 5px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 800;
}

.app-rating-meta__item span {
    color: #64748b;
    font-size: 13px;
}

.app-rating-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 30px;
    color: #ffffff;
    background: #16a34a;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.app-rating-download-button:hover {
    color: #ffffff;
    background: #15803d;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .app-rating-hero {
        padding: 34px 16px 48px;
    }

    .app-rating-hero__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 24px 20px;
        border-radius: 22px;
    }

    .app-rating-hero__icon {
        flex-basis: 132px;
        width: 132px;
        height: 132px;
        border-radius: 26px;
    }

    .app-rating-hero__details h1 {
        font-size: 29px;
    }

    .app-rating-hero__description {
        font-size: 15px;
        line-height: 1.85;
    }

    .app-rating-meta {
        width: 100%;
    }

    .app-rating-meta__item {
        flex: 1;
        min-width: 90px;
        padding-inline: 10px;
    }

    .app-rating-download-button {
        width: 100%;
    }
}


/* APP RATING HERO — GLASS EFFECT */

.app-rating-hero__content {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow:
        0 22px 55px rgba(15, 23, 42, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.app-rating-hero__icon {
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}


/* APP RATING HERO — VISIBLE GLASS BACKGROUND */

.app-rating-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(34, 197, 94, 0.22),
            transparent 34%
        ),
        radial-gradient(
            circle at 12% 85%,
            rgba(37, 99, 235, 0.20),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #eef6ff 0%,
            #f0fff6 50%,
            #eaf2ff 100%
        );
}

.app-rating-hero__content {
    background: rgba(255, 255, 255, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.app-rating-hero__icon {
    background: rgba(255, 255, 255, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* APP RATING PAGE — REMOVE FULL WHITE BACKGROUND */

.app-rating-page {
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(34, 197, 94, 0.18),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #071a4f 0%,
            #0b3673 55%,
            #08245a 100%
        );
}

.app-rating-hero {
    background: transparent;
}

.app-rating-hero__content {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.55);
}


/* APP RATING HERO — LIGHT GLASS BOX */

.app-rating-hero__content {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.82),
            rgba(235, 246, 255, 0.68)
        );
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow:
        0 24px 60px rgba(2, 12, 40, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.app-rating-hero__icon {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.95);
}


/* APP RATING PAGE — USE SITE DEFAULT BACKGROUND */

.app-rating-page,
.app-rating-hero {
    background: transparent;
}


/* APP RATING PAGE — MATCH SITE WIDTH */

.app-rating-container {
    width: min(1260px, 100%);
}


/* ==================================================
   APP RATING PAGE — RATINGS SUMMARY
   ================================================== */

.app-ratings-section {
    padding: 0 20px 72px;
}

.app-ratings-box {
    padding: 38px 42px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.82),
            rgba(235, 246, 255, 0.68)
        );
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    box-shadow:
        0 24px 60px rgba(2, 12, 40, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.app-ratings-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.32);
}

.app-ratings-heading h2 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 30px;
    line-height: 1.35;
}

.app-ratings-heading p {
    margin: 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.8;
}

.app-rating-review-button {
    flex: 0 0 auto;
    min-height: 50px;
    padding: 11px 26px;
    color: #ffffff;
    background: #16a34a;
    border: 0;
    border-radius: 14px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.app-rating-review-button:hover {
    background: #15803d;
    transform: translateY(-2px);
}

.app-ratings-summary {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: center;
    gap: 60px;
    padding-top: 34px;
}

.app-ratings-average {
    text-align: center;
}

.app-ratings-average__value {
    display: block;
    color: #0f172a;
    font-size: 68px;
    line-height: 1;
    font-weight: 800;
}

.app-ratings-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 14px;
    color: #f59e0b;
    font-size: 28px;
    line-height: 1;
    direction: ltr;
}

.app-ratings-count {
    display: block;
    margin-top: 12px;
    color: #64748b;
    font-size: 14px;
}

.app-ratings-bars {
    display: grid;
    gap: 13px;
}

.app-rating-bar {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.app-rating-bar__track {
    height: 10px;
    overflow: hidden;
    background: rgba(148, 163, 184, 0.28);
    border-radius: 999px;
}

.app-rating-bar__track > span {
    display: block;
    height: 100%;
    background: #16a34a;
    border-radius: inherit;
}

@media (max-width: 767px) {
    .app-ratings-section {
        padding: 0 16px 48px;
    }

    .app-ratings-box {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .app-ratings-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
    }

    .app-ratings-heading h2 {
        font-size: 26px;
    }

    .app-rating-review-button {
        width: 100%;
    }

    .app-ratings-summary {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .app-ratings-average__value {
        font-size: 58px;
    }
}


/* ==================================================
   APP RATING PAGE — REVIEW DIALOG
   ================================================== */

.app-rating-dialog {
    width: min(640px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    margin: auto;
    padding: 0;
    overflow: auto;

    color: #0f172a;
    background: transparent;
    border: 0;
    border-radius: 26px;
}

.app-rating-dialog::backdrop {
    background: rgba(2, 12, 40, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.app-rating-dialog__content {
    position: relative;
    padding: 34px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.96),
            rgba(235, 246, 255, 0.92)
        );

    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 26px;

    box-shadow:
        0 28px 75px rgba(2, 12, 40, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.app-rating-dialog__close {
    position: absolute;
    top: 18px;
    left: 18px;

    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    color: #334155;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 50%;

    font-family: inherit;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.app-rating-dialog__close:hover {
    color: #0f172a;
    background: #ffffff;
}

.app-rating-dialog__header {
    display: flex;
    align-items: center;
    gap: 18px;

    padding-left: 46px;
    padding-bottom: 26px;
    margin-bottom: 26px;

    border-bottom: 1px solid rgba(148, 163, 184, 0.30);
}

.app-rating-dialog__header img {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    object-fit: contain;

    padding: 6px;
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 18px;
}

.app-rating-dialog__header h2 {
    margin: 8px 0 7px;
    color: #0f172a;
    font-size: 25px;
    line-height: 1.4;
}

.app-rating-dialog__header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
}

.app-rating-form {
    display: grid;
    gap: 20px;
}

.app-rating-form__stars {
    margin: 0;
    padding: 20px;

    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 18px;
}

.app-rating-form__stars legend {
    padding: 0 8px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
}

.app-rating-star-options {
    display: flex;
    justify-content: center;
    gap: 8px;

    margin-top: 7px;
    direction: ltr;
}

.app-rating-star-options input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.app-rating-star-options label {
    color: #cbd5e1;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;

    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

.app-rating-star-options label:hover,
.app-rating-star-options label.is-active {
    color: #f59e0b;
    transform: translateY(-2px);
}

.app-rating-star-options input:focus-visible + label {
    outline: 3px solid rgba(22, 163, 74, 0.32);
    outline-offset: 4px;
    border-radius: 6px;
}

.app-rating-form__field {
    display: grid;
    gap: 8px;
}

.app-rating-form__field label {
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
}

.app-rating-form__field label span {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

.app-rating-form__field input,
.app-rating-form__field select,
.app-rating-form__field textarea {
    width: 100%;
    padding: 13px 15px;

    color: #0f172a;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.42);
    border-radius: 13px;

    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
}

.app-rating-form__field textarea {
    min-height: 125px;
    resize: vertical;
}

.app-rating-form__field input:focus,
.app-rating-form__field select:focus,
.app-rating-form__field textarea:focus {
    border-color: #16a34a;
    outline: 3px solid rgba(22, 163, 74, 0.16);
}

.app-rating-form__submit {
    min-height: 52px;
    padding: 12px 28px;

    color: #ffffff;
    background: #16a34a;
    border: 0;
    border-radius: 14px;

    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.app-rating-form__submit:hover {
    background: #15803d;
}

@media (max-width: 600px) {
    .app-rating-dialog {
        width: min(100% - 20px, 640px);
        max-height: calc(100vh - 20px);
    }

    .app-rating-dialog__content {
        padding: 26px 18px 22px;
        border-radius: 22px;
    }

    .app-rating-dialog__close {
        top: 14px;
        left: 14px;
        width: 36px;
        height: 36px;
    }

    .app-rating-dialog__header {
        align-items: flex-start;
        padding-left: 40px;
        gap: 13px;
    }

    .app-rating-dialog__header img {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
        border-radius: 15px;
    }

    .app-rating-dialog__header h2 {
        font-size: 21px;
    }

    .app-rating-star-options {
        gap: 4px;
    }

    .app-rating-star-options label {
        font-size: 34px;
    }
}


/* ==================================================
   APP RATING PAGE — PUBLISHED REVIEWS
   ================================================== */

.app-reviews-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;

    margin-top: 36px;
    padding-top: 32px;

    border-top: 1px solid rgba(148, 163, 184, 0.32);
}

.app-review-card {
    min-width: 0;
    padding: 22px;

    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 20px;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.app-review-card__header {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
}

.app-review-card__avatar {
    width: 48px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background: #16a34a;
    border-radius: 50%;

    font-size: 20px;
    font-weight: 800;
}

.app-review-card__identity {
    min-width: 0;
}

.app-review-card__identity h3 {
    margin: 0 0 4px;
    overflow: hidden;

    color: #0f172a;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 800;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-review-card__identity span {
    display: block;

    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.app-review-card__stars {
    color: #f59e0b;
    font-size: 18px;
    line-height: 1;
    direction: ltr;
    white-space: nowrap;
}

.app-review-card__comment {
    margin: 18px 0 0;
    padding-top: 16px;

    color: #334155;
    border-top: 1px solid rgba(148, 163, 184, 0.25);

    font-size: 15px;
    line-height: 1.9;
}

.app-reviews-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px;

    color: #64748b;
    background: rgba(255, 255, 255, 0.40);
    border: 1px dashed rgba(148, 163, 184, 0.48);
    border-radius: 18px;

    text-align: center;
}

@media (max-width: 800px) {
    .app-reviews-list {
        grid-template-columns: 1fr;
        margin-top: 28px;
        padding-top: 26px;
    }
}

@media (max-width: 480px) {
    .app-review-card {
        padding: 18px;
    }

    .app-review-card__header {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .app-review-card__avatar {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .app-review-card__stars {
        grid-column: 2;
        margin-top: 5px;
        justify-self: start;
    }
}


/* SINGLE PUBLISHED REVIEW — FULL WIDTH */

.app-reviews-list > .app-review-card:only-child {
    grid-column: 1 / -1;
}


/* APP RATING FORM — STATUS MESSAGES */

.app-rating-form__status {
    margin: 0;
    padding: 13px 16px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    text-align: center;
}

.app-rating-form__status--success {
    color: #166534;
    background: rgba(220, 252, 231, 0.92);
    border: 1px solid rgba(34, 197, 94, 0.38);
}

.app-rating-form__status--error {
    color: #991b1b;
    background: rgba(254, 226, 226, 0.92);
    border: 1px solid rgba(239, 68, 68, 0.34);
}

.app-rating-form__submit:disabled {
    opacity: 0.68;
    cursor: wait;
    transform: none;
}

/* PharmaGarde24 rating replies and helpful button */

.app-review-card__reply {
    margin-top: 18px;
    padding: 16px 18px;
    border-right: 3px solid #0b57d0;
    border-radius: 12px;
    background: rgba(11, 87, 208, 0.06);
}

.app-review-card__reply-title {
    display: block;
    margin-bottom: 6px;
    color: #0b57d0;
    font-size: 0.92rem;
    font-weight: 700;
}

.app-review-card__reply-text {
    margin: 0;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.8;
}

.app-review-card__helpful {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(15, 23, 42, 0.09);
}

.app-review-card__helpful-question {
    font-size: 0.9rem;
    color: #475569;
}

.app-review-card__helpful-button {
    min-width: 58px;
    padding: 6px 17px;
    border: 1px solid #64748b;
    border-radius: 999px;
    background: transparent;
    color: #334155;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.app-review-card__helpful-button:hover:not(:disabled),
.app-review-card__helpful-button:focus-visible:not(:disabled) {
    border-color: #0b57d0;
    background: rgba(11, 87, 208, 0.08);
    color: #0b57d0;
}

.app-review-card__helpful-button:disabled {
    border-color: #0b57d0;
    background: rgba(11, 87, 208, 0.1);
    color: #0b57d0;
    cursor: default;
}

.app-review-card__helpful-count {
    min-width: 18px;
    color: #64748b;
    font-size: 0.86rem;
}

.app-review-card__helpful-status {
    color: #64748b;
    font-size: 0.82rem;
}

@media (max-width: 600px) {
    .app-review-card__reply {
        padding: 14px;
    }

    .app-review-card__helpful {
        align-items: center;
    }

    .app-review-card__helpful-status {
        flex-basis: 100%;
    }
}



/* PharmaGarde24 — Social links card */

.single-post-social__links {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.single-post-social__link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 50px;
    padding: 11px 16px;
    border-radius: 14px;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .10);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.single-post-social__link:hover,
.single-post-social__link:focus {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .16);
    filter: brightness(.96);
}

.single-post-social__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}

.single-post-social__icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.single-post-social__link--whatsapp {
    background: #25d366;
}

.single-post-social__link--facebook {
    background: #1877f2;
}

.single-post-social__link--instagram {
    background:
        linear-gradient(
            135deg,
            #833ab4 0%,
            #e1306c 52%,
            #f77737 100%
        );
}


/* PharmaGarde24 — 404 Page */

.pg24-404 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 760px;
    padding: 150px 20px 90px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(41, 196, 130, .18),
            transparent 34%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(66, 133, 244, .20),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #071f52 0%,
            #0a3478 52%,
            #08275e 100%
        );
}

.pg24-404__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}

.pg24-404__card {
    padding: 54px 54px 46px;
    text-align: center;
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 34px;
    box-shadow:
        0 30px 70px rgba(0, 20, 65, .28);
}

.pg24-404__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 17px;
    margin-bottom: 22px;
    color: #078957;
    background: #e1f8ee;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    direction: ltr;
}

.pg24-404__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 155px;
    margin: 0 auto 18px;
}

.pg24-404__number {
    color: #0a3478;
    font-size: clamp(82px, 14vw, 126px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -7px;
    opacity: .09;
    direction: ltr;
}

.pg24-404__icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 108px;
    height: 108px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #18c97f,
            #07975f
        );
    border: 10px solid #e4f9f0;
    border-radius: 50%;
    box-shadow:
        0 16px 34px rgba(8, 153, 97, .26);
}

.pg24-404__icon svg {
    width: 58px;
    height: 58px;
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pg24-404__card h1 {
    margin: 0 0 15px;
    color: #08275e;
    font-size: clamp(29px, 5vw, 42px);
    font-weight: 900;
    line-height: 1.35;
}

.pg24-404__card p {
    max-width: 590px;
    margin: 0 auto 10px;
    color: #53627c;
    font-size: 17px;
    line-height: 1.95;
}

.pg24-404__hint {
    color: #243b64 !important;
    font-weight: 600;
}

.pg24-404__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.pg24-404__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 13px 24px;
    border: 2px solid transparent;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.pg24-404__button:hover,
.pg24-404__button:focus {
    transform: translateY(-2px);
}

.pg24-404__button--primary {
    color: #ffffff !important;
    background:
        linear-gradient(
            135deg,
            #18bf79,
            #07945e
        );
    box-shadow:
        0 12px 24px rgba(8, 153, 97, .22);
}

.pg24-404__button--secondary {
    color: #0a3478 !important;
    background: #f3f7ff;
    border-color: #d9e5f8;
}

.pg24-404__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
    color: #a3adc0;
    font-size: 14px;
}

.pg24-404__links a {
    color: #1769d2;
    font-weight: 700;
    text-decoration: none;
}

.pg24-404__links a:hover {
    text-decoration: underline;
}

.pg24-404__decor {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}

.pg24-404__decor--one {
    top: 110px;
    right: -140px;
    width: 390px;
    height: 390px;
}

.pg24-404__decor--two {
    bottom: -180px;
    left: -100px;
    width: 460px;
    height: 460px;
}

@media (max-width: 767px) {

    .pg24-404 {
        min-height: 680px;
        padding: 120px 16px 65px;
    }

    .pg24-404__card {
        padding: 38px 20px 34px;
        border-radius: 25px;
    }

    .pg24-404__visual {
        width: 220px;
        height: 135px;
    }

    .pg24-404__icon {
        width: 92px;
        height: 92px;
    }

    .pg24-404__icon svg {
        width: 49px;
        height: 49px;
    }

    .pg24-404__card p {
        font-size: 15px;
        line-height: 1.85;
    }

    .pg24-404__actions {
        flex-direction: column;
    }

    .pg24-404__button {
        width: 100%;
    }

}


/* PharmaGarde24 — 404 background correction */

.pg24-404 {
    background: transparent;
}

.pg24-404__decor {
    display: none;
}
