/* Palestine support bar + pages. Layout follows a thin announcement bar, then a large headline page. */

.ps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 2.75rem;
    padding: 0.45rem 2.5rem;
    background: #121212;
    color: #fff;
    position: relative;
    z-index: 60;
}

.ps-bar__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
    max-width: 62rem;
    color: #fff;
    text-decoration: none;
    font-weight: 650;
    font-size: 0.95rem;
    line-height: 1.35;
    text-align: center;
}

.iln-page a.ps-bar__link,
.iln-page a.ps-bar__link:hover,
.iln-page a.ps-bar__link:focus,
.iln-page a.ps-bar__link:visited,
body a.ps-bar__link:hover,
body a.ps-bar__link:focus {
    color: #fff;
    text-decoration: none;
}

.ps-wordmark {
    display: inline-flex;
    flex-direction: row;
    direction: ltr;
    unicode-bidi: isolate;
    font-weight: 800;
    letter-spacing: -0.045em;
    font-size: 1.05em;
    line-height: 1;
}

.ps-w-m { color: #1f8a3b; }
.ps-w-a1 { color: #e0a800; }
.ps-w-s { color: #e23b3b; }
.ps-w-a2 { color: #14b8a6; }
.ps-w-h { color: #2563eb; }
.ps-w-i { color: #7c3aed; }
.ps-w-f { color: #b45309; }

.ps-bar__join {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.7rem;
    border: 1.5px solid #fff;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
}

.iln-page a.ps-bar__link:hover .ps-bar__join,
body a.ps-bar__link:hover .ps-bar__join {
    background: #fff;
    color: #121212;
}

.ps-flag {
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.15rem;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.ps-bar__close {
    position: absolute;
    inset-inline-end: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem 0.45rem;
}

.ps-page {
    background: #fff;
    color: #121212;
}

.ps-intro,
.ps-share,
.ps-how,
.ps-msg-head,
.ps-form,
.ps-cards {
    max-width: 72rem;
    margin: 0 auto;
    padding: 3.5rem 1.25rem;
}

.ps-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-template-areas: "copy media" "cta media";
    gap: 1.25rem 2.5rem;
    align-items: start;
    padding-top: 2.5rem;
}
.ps-intro__copy { grid-area: copy; }
.ps-intro__media { grid-area: media; }
.ps-intro__cta { grid-area: cta; justify-self: start; align-self: start; }

.ps-intro h1,
.ps-how h2,
.ps-share h2,
.ps-msg-head h1,
.ps-cards h2 {
    margin: 0 0 1rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: #121212;
}

.ps-intro h1,
.ps-msg-head h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
}

.ps-share h2,
.ps-how h2,
.ps-cards h2 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.ps-intro p,
.ps-how p,
.ps-share__lead,
.ps-msg-head p {
    margin: 0 0 1.5rem;
    max-width: 38rem;
    color: #3f3f3f;
    font-size: 1.05rem;
    line-height: 1.7;
}

.ps-intro__media {
    margin: 0;
}

.ps-intro__media img {
    display: block;
    width: 100%;
    height: min(78vh, 40rem);
    min-height: 26rem;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 1.25rem;
}

.ps-intro__media figcaption,
.ps-slide figcaption {
    margin: 0.4rem 0 0;
    color: #8a8a8a;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
}

.ps-share {
    text-align: center;
    padding-top: 1rem;
}

.ps-share__lead { margin-inline: auto; }

.ps-slider-wrap {
    position: relative;
    margin: 0 0 1.75rem;
}

.ps-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.25rem;
    padding: 0.25rem 2.5rem 0.75rem;
    scrollbar-width: none;
}

.ps-slider::-webkit-scrollbar { display: none; }

.ps-slide {
    margin: 0;
    flex: 0 0 min(78vw, 18rem);
    scroll-snap-align: start;
}

.ps-slide img {
    display: block;
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 1rem;
    background: #f0efec;
}

.ps-slider__nav {
    position: absolute;
    top: 8rem;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1.5px solid #121212;
    background: #fff;
    color: #121212;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.ps-slider__nav--prev { inset-inline-start: 0; }
.ps-slider__nav--next { inset-inline-end: 0; }

.ps-how {
    text-align: center;
    scroll-margin-top: 6.5rem;
    background: #f7f7f5;
    max-width: none;
    padding-inline: 1.25rem;
}

.ps-how h2,
.ps-how p { margin-inline: auto; }

.ps-how__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 0.35rem;
}

.ps-msg-head { padding-bottom: 0.5rem; text-align: center; }
.ps-msg-head p { margin-inline: auto; }
.ps-kicker { margin: 0 0 0.8rem; }
.ps-kicker a { color: #0f766e; font-weight: 700; text-decoration: none; }
.ps-kicker--jump {
    max-width: 72rem;
    margin: 1.25rem auto 0;
    padding: 0 1.25rem;
    text-align: center;
}
.ps-kicker--jump a { font-size: 1.35rem; }

.ps-msg-slider {
    max-width: min(72rem, 100%);
    margin: 0 auto;
    padding: 0.75rem 1.25rem 1.25rem;
    min-width: 0;
}
.ps-msg-slider .ps-slider { align-items: stretch; max-width: 100%; }
.ps-msg-slider .ps-slide {
    flex: 0 0 min(84vw, 22rem);
    display: flex;
    flex-direction: column;
    width: min(84vw, 22rem);
    max-width: 100%;
}
.ps-msg-slider .ps-slide img { width: auto; height: auto; border-radius: 0; background: transparent; }
.ps-msg-slider .ps-slider__nav { top: 5.5rem; }

.ps-compose {
    max-width: 76rem;
    margin: 0 auto;
    padding: 0.5rem 1.25rem 3.5rem;
    scroll-margin-top: 5.5rem;
}
.ps-compose h1 {
    margin: 0 0 1.15rem;
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: #121212;
}
.ps-split {
    display: grid;
    grid-template-columns: minmax(16rem, 0.86fr) minmax(0, 1.14fr);
    gap: 1.15rem;
    align-items: start;
    border: 1px solid #e6e6e3;
    border-radius: 28px;
    padding: 1.1rem;
    background: #fff;
}
.ps-split .ps-form {
    max-width: none;
    margin: 0;
    padding: 0.15rem;
}
.ps-split .ps-gate {
    max-width: none;
    margin: 0;
    padding: 0.35rem 0.15rem;
    text-align: start;
}

.ps-form {
    max-width: 36rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding-top: 0.5rem;
}

.ps-field { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 650; }
.ps-field input,
.ps-field textarea {
    width: 100%;
    border: 1.5px solid #cfcfc9;
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    font: inherit;
    color: #121212;
    background: #fff;
}
.ps-field textarea { resize: vertical; min-height: 8rem; }
.ps-form__error {
    margin: 0;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
}

.ps-form__who { margin: 0; color: #3f3f3f; font-weight: 650; }

.ps-country { position: relative; }
.ps-country__btn,
.ps-country__panel button {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    border: 1.5px solid #cfcfc9;
    border-radius: 12px;
    background: #fff;
    color: #121212;
    font: inherit;
    font-weight: 650;
    text-align: start;
    padding: 0.8rem 0.9rem;
    cursor: pointer;
}
.ps-country__btn { position: relative; padding-inline-end: 2.4rem; }
.ps-country__btn::after {
    content: "";
    position: absolute;
    inset-inline-end: 0.95rem;
    top: 50%;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid #121212;
    border-bottom: 2px solid #121212;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}
.ps-country__panel {
    position: absolute;
    z-index: 5;
    inset-inline: 0;
    top: calc(100% + 0.35rem);
    background: #fff;
    border: 1px solid #e4e4e0;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(18, 18, 18, 0.12);
    padding: 0.55rem;
}
.ps-country__search {
    width: 100%;
    border: 1.5px solid #cfcfc9;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    font: inherit;
    margin-bottom: 0.4rem;
}
.ps-country__panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 16rem;
    overflow: auto;
}
.ps-country__panel li + li { margin-top: 0.2rem; }
.ps-country__panel button { border-color: transparent; font-weight: 600; }
.ps-country__panel button:hover { background: #f7f7f5; }
.ps-country img,
.ps-map__list img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.ps-map-frame {
    position: relative;
    align-self: start;
    width: 100%;
    height: auto;
    aspect-ratio: 2752.766 / 1537.631;
    min-height: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #e7eef2;
    border: 1px solid #e4e4e0;
}
.ps-map__viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
    cursor: grab;
    touch-action: none;
}
.ps-map__viewport:active { cursor: grabbing; }
.ps-map__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform-origin: 0 0;
}
.ps-map__svg { display: block; width: 100%; height: 100%; background: #e7eef2; }
.ps-map__svg .land { fill: #e4e7ee; }
.ps-map__zoom {
    position: absolute;
    top: 0.7rem;
    inset-inline-end: 0.7rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(18, 18, 18, 0.14);
}
.ps-map__zoom button {
    width: 2.15rem;
    height: 2.15rem;
    border: 0;
    border-bottom: 1px solid #ececec;
    background: #fff;
    color: #121212;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}
.ps-map__zoom button:last-child { border-bottom: 0; }
.ps-gate {
    max-width: 36rem;
    margin: 0 auto 1rem;
    padding: 0 1.25rem 1rem;
    text-align: center;
}
.ps-gate h2 { margin: 0 0 0.5rem; font-size: 1.35rem; }
.ps-gate p { margin: 0 0 1rem; color: #3f3f3f; }

.ps-cards { padding-top: 1rem; }
.ps-cards__empty { color: #5c5c5c; }
.ps-cards__row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: 1.15rem;
}
.ps-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e6e6e3;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(18, 18, 18, 0.06);
}
.ps-card__stage {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #111;
    overflow: hidden;
}
.ps-card__stage iframe,
.ps-card__stage .ps-card__flag {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.ps-card__stage--flag {
    background: #000;
    padding: 0;
    overflow: hidden;
}
.ps-card__flag {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
}
.ps-react {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.65rem 0.9rem 0.15rem;
}
.ps-react form { margin: 0; }
.ps-react button,
.iln-page .ps-react a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #e4e4e0;
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font: inherit;
    font-size: 1.15rem;
    font-weight: 750;
    color: #121212;
    text-decoration: none;
    cursor: pointer;
}
.iln-page .ps-react a:hover,
.ps-react button:hover {
    color: #121212;
    border-color: #121212;
}
.ps-react button span:last-child,
.iln-page .ps-react a span:last-child,
.ps-react__static span:last-child {
    font-size: 0.82rem;
    font-weight: 750;
}
.ps-react button.is-on,
.ps-react button.is-on:hover {
    background: #121212;
    border-color: #121212;
    color: #fff;
}
.ps-react__static {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #e4e4e0;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 1.15rem;
    font-weight: 750;
    color: #121212;
}
.ps-card__body {
    margin: 0;
    padding: 0.35rem 1rem 0.85rem;
    height: 5.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-height: 1.45;
    overflow-wrap: anywhere;
    color: #2a2a2a;
}
.ps-card__who {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1rem 0.2rem;
}
.ps-card__who strong {
    display: block;
    font-size: 0.95rem;
}
.ps-card__meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.15rem;
    color: #5c5c5c;
    font-size: 0.82rem;
}
.ps-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    object-fit: cover;
    background: #121212;
    color: #fff;
    flex: 0 0 36px;
}
.ps-card__avatar--letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}
.ps-msg-slider .ps-card__avatar {
    width: 36px;
    height: 36px;
    max-width: 36px;
    border-radius: 999px;
}
.ps-msg-slider .ps-card__country {
    display: block;
    width: 18px;
    height: 12px;
    max-width: 18px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.ps-page { overflow-x: clip; max-width: 100%; }

@media (max-width: 900px) {
    .ps-intro {
        grid-template-columns: 1fr;
        grid-template-areas: "copy" "media" "cta";
        padding-top: 1.25rem;
        gap: 1rem;
    }
    .ps-intro__cta { justify-self: start; }
    .ps-intro__media img {
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 10;
        max-width: 100%;
        object-fit: cover;
    }
    .ps-split { grid-template-columns: 1fr; min-width: 0; }
    .ps-compose, .ps-msg-slider, .ps-intro, .ps-share, .ps-how { max-width: 100%; padding-left: 0.85rem; padding-right: 0.85rem; }
    .ps-bar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        column-gap: 0.2rem;
        min-height: 0;
        padding: 0.28rem 0.4rem 0.18rem;
    }
    .ps-bar__link {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas: "flag text" "join join";
        justify-items: center;
        align-items: center;
        column-gap: 0.4rem;
        row-gap: 0.18rem;
        width: 100%;
        max-width: 100%;
        font-size: 0.72rem;
        line-height: 1.2;
        flex-wrap: nowrap;
    }
    .ps-bar .ps-flag { grid-area: flag; width: 1.15rem; height: 0.76rem; }
    .ps-bar__text {
        grid-area: text;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        text-align: start;
    }
    .ps-bar__join {
        grid-area: join;
        justify-self: center;
        padding: 0.02rem 0.5rem;
        font-size: 0.72rem;
        line-height: 1.35;
    }
    .ps-bar__close {
        position: static;
        align-self: end;
        transform: none;
        margin: 0;
        padding: 0 0.1rem 0.05rem;
        line-height: 1;
    }
}

@media (max-width: 640px) {
    .ps-cards__row { grid-template-columns: 1fr; }
    .ps-intro__media img {
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 10;
        max-width: 100%;
        object-fit: cover;
    }
    .ps-msg-slider .ps-slide { flex-basis: min(78vw, 20rem); width: min(78vw, 20rem); }
}
