/* =========================================================
   About League
   ========================================================= */

.lwf-about-page {
    width: 100%;
    padding: 42px 0 70px;
    direction: rtl;
    box-sizing: border-box;
}

.lwf-about-container {
    width: min(
        var(--site-max-width),
        calc(100% - (var(--site-side-space) * 2))
    );
    max-width: none;
    margin: 0 auto;
    box-sizing: border-box;
}

.lwf-about-intro,
.lwf-about-president,
.lwf-about-tasks,
.lwf-about-committees,
.lwf-about-contact {
    box-sizing: border-box;
}


/* =========================================================
   Page Header
   ========================================================= */

.lwf-about-header {
    text-align: right;
    margin-bottom: 32px;
}

.lwf-about-header h1 {
    margin: 0 0 7px;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 800;
    color: #111827;
}

.lwf-about-header p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
}


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

.lwf-about-intro {
    display: flex;
    align-items: center;
    gap: 55px;

    width: 100%;
    padding: 38px 42px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}


/* Logo */

.lwf-about-intro__logo {
    flex: 0 0 250px;
    width: 250px;

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

.lwf-about-intro__logo img {
    display: block;
    width: 100%;
    max-width: 250px;
    height: auto;

    object-fit: contain;
}


/* Content */

.lwf-about-intro__content {
    flex: 1;
    min-width: 0;
}

.lwf-about-intro__content h2 {
    position: relative;

    margin: 0 0 20px;
    padding-right: 14px;

    font-size: 22px;
    line-height: 1.4;
    font-weight: 800;
    color: #111827;
}

.lwf-about-intro__content h2::before {
    content: "";

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

    width: 4px;
    height: calc(100% - 6px);

    background: #087f3f;
    border-radius: 4px;
}

.lwf-about-intro__text {
    font-size: 16px;
    line-height: 2;
    color: #374151;
}

.lwf-about-intro__text p {
    margin: 0 0 12px;
}

.lwf-about-intro__text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   President
   ========================================================= */

.lwf-about-president {
    display: flex;
    align-items: center;
    gap: 55px;

    width: 100%;
    margin-top: 28px;
    padding: 38px 42px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}


/* President Content */

.lwf-about-president__content {
    flex: 1;
    min-width: 0;
}

.lwf-about-president__content h2 {
    position: relative;

    margin: 0 0 20px;
    padding-right: 14px;

    font-size: 22px;
    line-height: 1.4;
    font-weight: 800;
    color: #111827;
}

.lwf-about-president__content h2::before {
    content: "";

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

    width: 4px;
    height: calc(100% - 6px);

    background: #087f3f;
    border-radius: 4px;
}


/* Message */

.lwf-about-president__message {
    font-size: 15px;
    line-height: 2;
    color: #374151;
}

.lwf-about-president__message p {
    margin: 0 0 12px;
}

.lwf-about-president__message p:last-child {
    margin-bottom: 0;
}


/* Name */

.lwf-about-president__name {
    margin-top: 24px;

    font-size: 16px;
    line-height: 1.6;
    font-weight: 800;
    color: #111827;
}


/* Role */

.lwf-about-president__role {
    margin-top: 3px;

    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
    color: #087f3f;
}


/* President Photo */

.lwf-about-president__photo {
    flex: 0 0 270px;
    width: 270px;

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

.lwf-about-president__photo img {
    display: block;

    width: 270px;
    height: 320px;

    object-fit: cover;

    border-radius: 12px;
}


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

.lwf-about-empty {
    padding: 40px;

    text-align: center;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;

    font-size: 14px;
    color: #6b7280;
}


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

@media (max-width: 800px) {

   .lwf-about-page {
    padding: 30px 0 50px;
}

    .lwf-about-header {
        margin-bottom: 25px;
    }

    .lwf-about-header h1 {
        font-size: 26px;
    }

    .lwf-about-intro,
    .lwf-about-president {
        flex-direction: column;
        gap: 28px;
        padding: 30px 25px;
    }

    .lwf-about-intro__logo {
        flex: none;
        width: 190px;
    }

    .lwf-about-intro__logo img {
        max-width: 190px;
    }

    .lwf-about-intro__content,
    .lwf-about-president__content {
        width: 100%;
    }

    .lwf-about-intro__content h2,
    .lwf-about-president__content h2 {
        font-size: 21px;
    }

    .lwf-about-intro__text {
        font-size: 14px;
        line-height: 1.9;
    }

    .lwf-about-president__message {
        font-size: 14px;
        line-height: 1.9;
    }

    .lwf-about-president__photo {
        order: -1;
        flex: none;
        width: 220px;
    }

    .lwf-about-president__photo img {
        width: 220px;
        height: 270px;
    }
}


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

@media (max-width: 480px) {

    .lwf-about-page {
        padding: 25px 12px 40px;
    }

    .lwf-about-header h1 {
        font-size: 24px;
    }

    .lwf-about-header p {
        font-size: 13px;
    }

    .lwf-about-intro,
    .lwf-about-president {
        padding: 25px 18px;
        border-radius: 12px;
    }

    .lwf-about-intro__logo {
        width: 160px;
    }

    .lwf-about-intro__logo img {
        max-width: 160px;
    }

    .lwf-about-intro__content h2,
    .lwf-about-president__content h2 {
        font-size: 19px;
    }

    .lwf-about-intro__text,
    .lwf-about-president__message {
        font-size: 13px;
        line-height: 1.9;
    }

    .lwf-about-president__photo {
        width: 180px;
    }

    .lwf-about-president__photo img {
        width: 180px;
        height: 225px;
        border-radius: 10px;
    }

    .lwf-about-president__name {
        font-size: 15px;
    }

    .lwf-about-president__role {
        font-size: 12px;
    }
}

/* =========================================================
   League Tasks
   ========================================================= */

.lwf-about-tasks {
    width: 100%;
    margin-top: 28px;
    padding: 32px 42px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.lwf-about-section-title {
    margin-bottom: 24px;
}

.lwf-about-section-title h2 {
    position: relative;

    margin: 0;
    padding-right: 14px;

    font-size: 22px;
    line-height: 1.4;
    font-weight: 800;
    color: #111827;
}

.lwf-about-section-title h2::before {
    content: "";

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

    width: 4px;
    height: calc(100% - 6px);

    background: #087f3f;
    border-radius: 4px;
}


/* Tasks Grid */

.lwf-about-tasks__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}


/* Task */

.lwf-about-task {
    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 52px;
    padding: 12px 15px;

    background: #087f3f;
    border: 1px solid #edf0ee;
    border-radius: 9px;

    direction: rtl;
}

.lwf-about-task__icon {
    flex: 0 0 27px;

    width: 27px;
    height: 27px;

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

    background: #087f3f;
    color: #ffffff;

    border-radius: 50%;

    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.lwf-about-task__text {
    flex: 1;
    min-width: 0;

    font-size: 14px;
    line-height: 1.7;
    font-weight: 600;

    color: #ffffff;
}


/* =========================================================
   Tasks Responsive
   ========================================================= */

@media (max-width: 800px) {

    .lwf-about-tasks {
        padding: 28px 25px;
    }

    .lwf-about-section-title h2 {
        font-size: 21px;
    }

    .lwf-about-tasks__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .lwf-about-task {
        min-height: 50px;
    }
}


@media (max-width: 480px) {

    .lwf-about-tasks {
        margin-top: 22px;
        padding: 25px 18px;
        border-radius: 12px;
    }

    .lwf-about-section-title {
        margin-bottom: 18px;
    }

    .lwf-about-section-title h2 {
        font-size: 19px;
    }

    .lwf-about-task {
        gap: 10px;
        padding: 11px 12px;
    }

    .lwf-about-task__icon {
        flex-basis: 25px;
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .lwf-about-task__text {
        font-size: 13px;
    }
}

/* =========================================================
   League Committees
   ========================================================= */

.lwf-about-committees {
    width: 100%;
    margin-top: 28px;
    padding: 32px 42px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}


/* Grid */

.lwf-about-committees__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}


/* Committee Card */

.lwf-about-committee {
    padding: 22px;

    background: #087f3f;
    border: 1px solid #edf0ee;
    border-radius: 10px;
}


/* Committee Name */

.lwf-about-committee__name {
    position: relative;

    margin: 0 0 18px;
    padding-right: 12px;

    font-size: 17px;
    line-height: 1.5;
    font-weight: 800;

    color: #ffffff;
}

.lwf-about-committee__name::before {
    content: "";

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

    width: 3px;
    height: calc(100% - 6px);

    background: #ffffff;
    border-radius: 3px;
}


/* Members */

.lwf-about-committee__members {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


/* Member */

.lwf-about-committee__member {
    padding: 11px 13px;

    background: #ffffff;
    border: 1px solid #e8ece9;
    border-radius: 8px;
}


/* Member Info */

.lwf-about-committee__member-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    direction: rtl;
}


/* Member Name */

.lwf-about-committee__member-name {
    font-size: 13px;
    line-height: 1.6;
    font-weight: 700;

    color: #374151;
}


/* Member Role */

.lwf-about-committee__member-role {
    flex-shrink: 0;

    padding: 4px 8px;

    background: #F32020;
    color: #ffffff;

    border-radius: 5px;

    font-size: 10px;
    line-height: 1.3;
    font-weight: 700;
}


/* =========================================================
   Committees Responsive
   ========================================================= */

@media (max-width: 800px) {

    .lwf-about-committees {
        padding: 28px 25px;
    }

    .lwf-about-committees__grid {
        grid-template-columns: 1fr;
    }

    .lwf-about-committee {
        padding: 20px;
    }
}


@media (max-width: 480px) {

    .lwf-about-committees {
        margin-top: 22px;
        padding: 25px 18px;
        border-radius: 12px;
    }

    .lwf-about-committee {
        padding: 17px;
    }

    .lwf-about-committee__name {
        font-size: 16px;
    }

    .lwf-about-committee__member-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .lwf-about-committee__member-role {
        font-size: 9px;
    }

    .lwf-about-committee__member-name {
        font-size: 13px;
    }
}

/* =========================================================
   معلومات الرابطة
========================================================= */

.lwf-about-contact {
    margin-top: 28px;
    padding: 32px;
    background: #087f3f;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.lwf-about-contact__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.lwf-about-contact__item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 82px;
    padding: 16px 18px;
    background: #087F3F;
    border: 1px solid #edf1ee;
    border-radius: 10px;
    direction: rtl;
}

.lwf-about-contact__icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
    font-size: 18px;
}

.lwf-about-contact__item > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lwf-about-contact__label {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
}

.lwf-about-contact__value {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    word-break: break-word;
    text-decoration: none;
}

a.lwf-about-contact__value:hover {
    color: #F32020;
}

/* التواصل الاجتماعي */

.lwf-about-socials {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #edf0ee;
}

.lwf-about-socials h3 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.lwf-about-socials__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    direction: rtl;
}

.lwf-about-social {
    width: 42px;
    height: 42px;

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

    border: 1px solid #d1d5db;
    border-radius: 50%;

    background: #ffffff;
    color: #087f3f;

    font-size: 23px;
    text-decoration: none;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.lwf-about-social:hover {
    background: #f8faf9;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

.lwf-about-social i {
    line-height: 1;
}

.lwf-about-social i {
    line-height: 1;
}

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

.lwf-about-social[aria-label="فيسبوك"],
.lwf-about-social[aria-label="Facebook"] {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
}

.lwf-about-social[aria-label="انستغرام"],
.lwf-about-social[aria-label="إنستغرام"],
.lwf-about-social[aria-label="Instagram"] {
    background: #e4405f;
    border-color: #e4405f;
    color: #ffffff;
}

.lwf-about-social[aria-label="يوتيوب"],
.lwf-about-social[aria-label="YouTube"] {
    background: #ff0000;
    border-color: #ff0000;
    color: #ffffff;
}

.lwf-about-social[aria-label="تيك توك"],
.lwf-about-social[aria-label="TikTok"] {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.lwf-about-social[aria-label="إكس"],
.lwf-about-social[aria-label="اكس"],
.lwf-about-social[aria-label="X"],
.lwf-about-social[aria-label="تويتر"],
.lwf-about-social[aria-label="Twitter"] {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.lwf-about-social[aria-label="لينكدإن"],
.lwf-about-social[aria-label="LinkedIn"] {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #ffffff;
}

.lwf-about-social[aria-label="سناب شات"],
.lwf-about-social[aria-label="Snapchat"] {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.lwf-about-social[aria-label="ثريدز"],
.lwf-about-social[aria-label="Threads"] {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}
@media (max-width: 480px) {

    .lwf-about-socials {
        margin-top: 22px;
        padding-top: 20px;
    }

    .lwf-about-socials__list {
        gap: 9px;
    }

    .lwf-about-social {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 800px) {

    .lwf-about-contact {
        padding: 24px;
    }

    .lwf-about-contact__grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 480px) {

    .lwf-about-contact {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .lwf-about-contact__item {
        min-height: 76px;
        padding: 13px 14px;
    }

    .lwf-about-contact__icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .lwf-about-socials {
        margin-top: 22px;
        padding-top: 20px;
    }

    .lwf-about-socials__list {
        gap: 8px;
    }

}

/* =========================================================
   Social Media - Centered
========================================================= */

.lwf-about-socials {
    text-align: center;
}

.lwf-about-socials h3 {
    text-align: center;
}

.lwf-about-socials__list {
    justify-content: center;
}

.lwf-about-contact__value {
    direction: ltr;
    unicode-bidi: isolate;
}

/* =========================================================
   ABOUT HERO
========================================================= */

.about-hero {
    position: relative;

    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);

    min-height: 157px;

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

    overflow: hidden;

    background-image: url('../images/documents-hero.png');
    background-size: cover;
    background-position: center 65%;
    background-repeat: no-repeat;
}

.about-hero__overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.42);
}

.about-hero__content {
    position: relative;
    z-index: 2;

    width: 100%;
    text-align: center;
}

.about-hero__content h1 {
    margin: 0;

    color: #fff;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.4;
}

.about-hero__content p {
    margin: 6px 0 0;

    color: #fff;
    font-size: 14px;
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 100px;
    }

    .about-hero__content h1 {
        font-size: 30px;
    }

    .about-hero__content p {
        font-size: 12px;
    }
}

.lwf-about-page {
    padding-top: 0 !important;
}

.about-hero {
    margin-bottom: 35px;
}

/* عناوين الأقسام - الخط الأخضر أسفل العنوان */

.lwf-about-intro__content h2,
.lwf-about-president__content h2,
.lwf-about-section-title h2 {
    display: inline-block;

    margin: 0;
    padding-bottom: 8px;

    border-bottom: 3px solid #008f4c;
}

/* إزالة الخط الجانبي القديم */

.lwf-about-intro__content h2::before,
.lwf-about-intro__content h2::after,
.lwf-about-president__content h2::before,
.lwf-about-president__content h2::after,
.lwf-about-section-title::before,
.lwf-about-section-title::after {
    display: none !important;
}

/* توحيد خطوط عناوين صفحة عن الرابطة */

.lwf-about-intro__content h2,
.lwf-about-president__content h2,
.lwf-about-section-title h2 {
    display: inline-block !important;

    width: auto !important;
 margin: 0 0 16px !important;
    padding: 0 0 8px !important;

    border: none !important;
    border-bottom: 2px solid #008f4c !important;
}

/* إزالة الخط العمودي والفراغ من حاوية العنوان */

.lwf-about-section-title {
    border-right: none !important;
    padding-right: 0 !important;
}

/* إلغاء أي خطوط جانبية قديمة */

.lwf-about-section-title::before,
.lwf-about-section-title::after {
    display: none !important;
}

/* إزالة الخط العمودي من عناوين الأقسام */

.lwf-about-section-title h2::before,
.lwf-about-section-title h2::after {
    content: none !important;
    display: none !important;
}

/* إزالة الفراغ على اليمين */

.lwf-about-section-title h2 {
    padding-right: 0 !important;
}

/* Intro بدون بطاقة */
.lwf-about-intro {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

.lwf-about-intro__content {
    width: 100%;
    max-width: none;
}

/* إزالة بطاقات أقسام صفحة عن الرابطة */

.lwf-about-tasks,
.lwf-about-president,
.lwf-about-committees,
.lwf-about-contact {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

/* =========================================================
   FRENCH / LTR
   ========================================================= */

.lwf-about-page--fr {
    direction: ltr;
}

/* Hero */
.lwf-about-page--fr .about-hero {
    direction: ltr;
}

/* Main content */
.lwf-about-page--fr .lwf-about-container {
    direction: ltr;
}

.lwf-about-page--fr .lwf-about-intro,
.lwf-about-page--fr .lwf-about-president,
.lwf-about-page--fr .lwf-about-tasks,
.lwf-about-page--fr .lwf-about-committees,
.lwf-about-page--fr .lwf-about-contact {
    direction: ltr;
}

/* Text */
.lwf-about-page--fr .lwf-about-intro__content,
.lwf-about-page--fr .lwf-about-president__content {
    direction: ltr;
    text-align: left;
}

.lwf-about-page--fr .lwf-about-intro__text,
.lwf-about-page--fr .lwf-about-president__message {
    direction: ltr;
    text-align: left;
}

/* Section titles */
.lwf-about-page--fr .lwf-about-intro__content h2,
.lwf-about-page--fr .lwf-about-president__content h2,
.lwf-about-page--fr .lwf-about-section-title h2 {
    direction: ltr;
    text-align: left;
}

/* Tasks */
.lwf-about-page--fr .lwf-about-task {
    direction: ltr;
    text-align: left;
}

/* Committees */
.lwf-about-page--fr .lwf-about-committee {
    direction: ltr;
    text-align: left;
}

.lwf-about-page--fr .lwf-about-committee__name {
    direction: ltr;
    text-align: left;
    padding-right: 0;
}

.lwf-about-page--fr .lwf-about-committee__member-info {
    direction: ltr;
    text-align: left;
}

/* Contact */
.lwf-about-page--fr .lwf-about-contact__item {
    direction: ltr;
    text-align: left;
}

.lwf-about-page--fr .lwf-about-contact__item > div {
    text-align: left;
}

/* Social media */
.lwf-about-page--fr .lwf-about-socials {
    direction: ltr;
}

.lwf-about-page--fr .lwf-about-socials__list {
    direction: ltr;
}

/* Keep social icons centered */
.lwf-about-page--fr .lwf-about-socials,
.lwf-about-page--fr .lwf-about-socials h3 {
    text-align: center;
}