/* drperlov — content pages built from Philip's change list (6 Oct 2026, worker philip-list-v1).
   Loaded by the must-use plugin drp-pages.php. Brand: Assistant, navy #0052B1, teal #6EC1E4, square corners,
   body text #2F2F2F 18px (same tokens as the consistency work and the /imat/ landing page). */
.drp-pg { font-family: Assistant, sans-serif; color: #2f2f2f; font-size: 18px; line-height: 1.65; text-align: right; }
.drp-pg *, .drp-pg *::before, .drp-pg *::after { box-sizing: border-box; }
.drp-pg h2 { font-family: Assistant, sans-serif; font-size: 30px; line-height: 1.25; font-weight: 700; color: #0052B1; margin: 0 0 14px; text-wrap: balance; }
.drp-pg h3 { font-family: Assistant, sans-serif; font-size: 21px; line-height: 1.3; font-weight: 700; color: #0052B1; margin: 0 0 6px; text-wrap: balance; }
.drp-pg p { margin: 0 0 14px; text-wrap: pretty; }
.drp-pg a { color: #0052B1; text-underline-offset: 3px; }
.drp-pg a:focus-visible, .drp-pg button:focus-visible { outline: 3px solid #6EC1E4; outline-offset: 3px; }
.drp-pg svg { flex: none; }
.drp-pg-sec { padding: 36px 0; border-top: 1px solid #e3e9ee; }
.drp-pg-sec:first-child { border-top: 0; padding-top: 8px; }
/* long text: readable line length, while section rules and boxes keep the full width */
.drp-pg-narrow > p, .drp-pg-narrow > ul, .drp-pg-narrow > h2 { max-width: 860px; }
.drp-pg figcaption, .drp-pg blockquote, .drp-pg cite { font-style: normal; }
.drp-nw { white-space: nowrap; }
.drp-ltr { direction: ltr; unicode-bidi: isolate; }
a.drp-ltr, span.drp-ltr { white-space: nowrap; }
.drp-uni h3 a.drp-ltr { white-space: normal; }

/* buttons (same look as the kit button: navy, white, 18/600, square) */
.drp-pg-btns { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 18px; }
.drp-pg a.drp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; font-size: 18px; font-weight: 600; line-height: 1.2; text-decoration: none; background: #0052B1; color: #fff; border: 2px solid #0052B1; }
.drp-pg a.drp-btn:hover { background: #003a80; border-color: #003a80; color: #fff; }
.drp-pg a.drp-btn-wa { background: #15803d; border-color: #15803d; }
.drp-pg a.drp-btn-wa:hover { background: #116932; border-color: #116932; }
.drp-btn svg { width: 22px; height: 22px; }

/* check-mark list */
.drp-checks { list-style: none; margin: 4px 0 18px; padding: 0; }
.drp-checks li { position: relative; margin: 0 0 8px; padding-inline-start: 34px; }
.drp-checks li::before, .drp-exempt li::before { content: ""; position: absolute; inset-inline-start: 0; top: 5px; width: 22px; height: 22px; background: #0052B1; -webkit-mask: var(--drp-check) center / contain no-repeat; mask: var(--drp-check) center / contain no-repeat; }
.drp-pg, .drp-exempt { --drp-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.4 14.2-4.3-4.3 1.4-1.4 2.9 2.9 6-6 1.4 1.4z'/%3E%3C/svg%3E"); }

/* ---------- Ofakim callout (LSMU + VU pages) ---------- */
.drp-callout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin: 22px 0 6px; padding: 18px 22px; background: #eef5fc; border-inline-start: 6px solid #0052B1; font-family: Assistant, sans-serif; text-align: right; }
.drp-callout-text { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 20px; line-height: 1.4; font-weight: 700; color: #003a80; }
.drp-callout-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: #0052B1; color: #fff; border-radius: 50%; }
.drp-callout-icon svg { width: 26px; height: 26px; }
.drp-callout a.drp-callout-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 22px; background: #0052B1; color: #fff; font-size: 18px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.drp-callout a.drp-callout-btn:hover { background: #003a80; color: #fff; }
.drp-callout a.drp-callout-btn:focus-visible { outline: 3px solid #6EC1E4; outline-offset: 3px; }
.drp-callout-btn svg { width: 18px; height: 18px; }

/* ---------- VU requirements: exemption box ---------- */
.drp-exempt { margin: 8px 0 28px; border: 2px solid #0052B1; background: #fff; font-family: Assistant, sans-serif; text-align: right; color: #2f2f2f; }
.drp-exempt-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: linear-gradient(160deg, #003a80 0%, #0052B1 75%); color: #fff; }
.drp-exempt-head svg { width: 40px; height: 40px; color: #8fd6f2; flex: none; }
.drp-exempt h2.drp-exempt-title { margin: 0; font-family: Assistant, sans-serif; font-size: 34px; line-height: 1.15; font-weight: 800; color: #fff; }
.drp-exempt-body { padding: 18px 22px 8px; font-size: 18px; line-height: 1.6; }
.drp-exempt-body p { margin: 0 0 12px; }
.drp-exempt ul { list-style: none; margin: 0; padding: 0; }
.drp-exempt li { position: relative; margin: 0 0 14px; padding-inline-start: 36px; }
.drp-exempt li::before { width: 24px; height: 24px; top: 3px; background: #15803d; }
.drp-exempt a { color: #0052B1; font-weight: 600; }
.drp-exempt li a[href*="premed"] { white-space: nowrap; }
/* placeholder for the discharged-soldiers' deposit mark (the official logo needs the Ministry of Defence's written consent: worker/questions/philip-list-v1.md) */
.drp-badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 2px; padding: 1px 10px; border: 1px solid #0052B1; background: #eef5fc; color: #003a80; font-size: 15px; font-weight: 700; line-height: 1.6; vertical-align: 1px; }
.drp-badge svg { width: 15px; height: 15px; }
/* VU exemption box: the deposit badge sits on its own line under the premed item, so the sentence reads straight through */
.drp-badge-line { display: block; margin-top: 8px; }
.drp-badge-line .drp-badge { margin: 0; padding: 3px 10px; line-height: 1.4; }
.drp-badge svg { flex: none; }

/* ---------- small notes under programmes ---------- */
.drp-note { margin: 10px 0 0; padding: 12px 16px; background: #f5f8fb; border-inline-start: 4px solid #6EC1E4; font-family: Assistant, sans-serif; font-size: 17px; line-height: 1.5; color: #2f2f2f; text-align: right; }
.drp-note p { margin: 0; }
.drp-note a { color: #0052B1; font-weight: 600; }

/* ---------- testimonials ("סטודנטים מספרים") ---------- */
.drp-t-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0 0 30px; }
.drp-t { display: flex; flex-direction: column; margin: 0; padding: 26px 26px 22px; background: #fff; border: 1px solid #e3e9ee; border-top: 4px solid #0052B1; }
.drp-t-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.drp-t-avatar { flex: none; position: relative; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #0052B1; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #6EC1E4; display: flex; align-items: center; justify-content: center; }
.drp-t-avatar span { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.drp-t-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.drp-t-name { margin: 0; font-size: 18px; line-height: 1.35; font-weight: 700; color: #0052B1; }
/* two lines: the name (bold), then programme, year, university code, cohort (smaller, regular, muted) */
.drp-t-person { display: block; }
.drp-t-meta { display: block; margin-top: 3px; font-size: 15px; line-height: 1.4; font-weight: 400; color: #4a5a66; }
.drp-t-cohort { white-space: nowrap; }
.drp-t-quote { width: 34px; height: 34px; margin-inline-start: auto; color: #6EC1E4; }
.drp-t blockquote { margin: 0; padding: 0; border: 0; font-size: 18px; line-height: 1.65; color: #2f2f2f; font-style: normal; quotes: none; }
.drp-t blockquote p { margin: 0; }
.drp-t blockquote p + p { margin-top: 12px; }
/* testimonials-v4: Kim wrote in English; the card shows the Hebrew translation, her own words open under it */
.drp-t-orig { margin-top: 14px; font-size: 15px; line-height: 1.6; color: #4a5a66; }
.drp-t-orig summary { display: inline-block; cursor: pointer; color: #0052B1; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.drp-t-orig summary::-webkit-details-marker { display: none; }
.drp-t-orig summary::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 8px; border: solid currentColor; border-width: 0 2px 2px 0; vertical-align: 3px; transform: rotate(135deg); transition: transform .15s; }
.drp-t-orig[open] summary::before { transform: rotate(45deg); vertical-align: 5px; }
.drp-t-orig summary:focus-visible { outline: 3px solid #6EC1E4; outline-offset: 2px; }
.drp-t-orig > div { margin-top: 8px; text-align: left; }
.drp-t-orig p { margin: 0; }
.drp-t-orig p + p { margin-top: 8px; }
.drp-recs-more-wrap { text-align: center; margin: 4px 0 30px; }
.drp-pg button.drp-more-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 30px; font-family: Assistant, sans-serif; font-size: 19px; font-weight: 600; color: #0052B1; background: #fff; border: 2px solid #0052B1; border-radius: 0; cursor: pointer; }
.drp-pg button.drp-more-btn:hover, .drp-pg button.drp-more-btn:focus { background: #0052B1; color: #fff; }
.drp-more-btn svg { width: 18px; height: 18px; transition: transform .2s; }
.drp-more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
/* the older testimonials (Elementor posts section with class drp-recs-more) stay closed until the button is pressed */
.drp-recs-more:not(.is-open) { display: none !important; }

/* ---------- About ---------- */
.drp-ab-intro { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.drp-ab-photo { margin: 0; }
.drp-ab-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 15%; border-bottom: 5px solid #6EC1E4; }
.drp-stats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 30px 0 4px; padding: 0; background: linear-gradient(160deg, #003a80 0%, #0052B1 75%); color: #fff; }
.drp-stats li { margin: 0; padding: 20px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.drp-stats li + li { border-inline-start: 1px solid rgba(255,255,255,.22); }
.drp-stats strong { font-size: 38px; line-height: 1.1; font-weight: 800; color: #8fd6f2; }
.drp-stats span { font-size: 18px; line-height: 1.35; font-weight: 600; color: #fff; }
.drp-banner { margin: 26px 0 0; padding: 16px 22px; background: #eef5fc; border-inline-start: 6px solid #0052B1; font-size: 24px; line-height: 1.3; font-weight: 800; color: #003a80; }
.drp-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 6px 0 16px; }
.drp-quotes figure { margin: 0; padding: 20px 20px 16px; background: #f5f8fb; border-top: 4px solid #6EC1E4; display: flex; flex-direction: column; }
.drp-quotes blockquote { margin: 0 0 12px; padding: 0; border: 0; font-size: 18px; line-height: 1.55; font-style: normal; color: #2f2f2f; flex: 1; }
.drp-quotes figcaption { font-size: 16px; font-weight: 700; color: #0052B1; }
.drp-pg a.drp-more-link { display: inline-block; padding: 8px 0; font-size: 19px; font-weight: 700; text-decoration: none; }
.drp-pg a.drp-more-link:hover { text-decoration: underline; }
.drp-unis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 8px; }
.drp-uni { padding: 18px 20px; border: 1px solid #e3e9ee; border-inline-start: 4px solid #0052B1; background: #fff; }
.drp-uni h3 a { text-decoration: none; }
.drp-uni h3 a:hover { text-decoration: underline; }
.drp-uni p { margin: 0; }
.drp-cta-box { padding: 30px 28px; background: #f5f8fb; border-top: 5px solid #0052B1; }
.drp-sign { margin-top: 26px; font-size: 18px; line-height: 1.5; }
.drp-sign strong { display: block; font-size: 22px; color: #0052B1; }
.drp-sign-unis { margin-top: 6px; font-weight: 700; letter-spacing: .5px; color: #4a5a66; }

/* ---------- Scholarships / financial aid ---------- */
.drp-fin-lead { max-width: 820px; font-size: 19px; }
.drp-fin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 6px; }
.drp-fin { display: flex; flex-direction: column; padding: 22px 22px 18px; background: #fff; border: 1px solid #e3e9ee; border-top: 4px solid #0052B1; }
.drp-fin-wide { grid-column: 1 / -1; }
.drp-fin-kicker { margin: 0 0 2px !important; font-size: 15px; font-weight: 700; letter-spacing: .5px; color: #4a5a66; }
.drp-fin ul { margin: 0 0 14px; padding-inline-start: 22px; }
.drp-fin li { margin: 0 0 6px; }
.drp-fin-links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: auto; padding-top: 6px; }
.drp-fin-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; }
.drp-fin-links svg { width: 18px; height: 18px; }
.drp-fin-cta { margin: 6px 0 4px; }
.drp-fin-small { font-size: 16px; color: #4a5a66; }

@media (max-width: 1024px) {
  .drp-ab-intro { grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
  .drp-quotes { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .drp-pg { font-size: 17px; }
  .drp-pg h2 { font-size: 25px; }
  .drp-pg h3 { font-size: 20px; }
  .drp-pg-sec { padding: 26px 0; }
  .drp-callout { padding: 16px; }
  .drp-callout-text { font-size: 18px; }
  .drp-callout a.drp-callout-btn { width: 100%; justify-content: center; }
  .drp-exempt-head { padding: 16px; }
  .drp-exempt h2.drp-exempt-title { font-size: 28px; }
  .drp-exempt-body { padding: 16px 16px 4px; font-size: 17px; }
  .drp-t-grid, .drp-unis, .drp-fin-grid { grid-template-columns: 1fr; gap: 16px; }
  .drp-t { padding: 20px 18px 18px; }
  .drp-ab-intro { grid-template-columns: 1fr; gap: 18px; }
  .drp-ab-photo { order: -1; width: 220px; margin: 0 auto; }
  .drp-stats { grid-template-columns: 1fr; }
  .drp-stats li { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 14px; padding: 12px 18px; text-align: start; }
  .drp-stats li + li { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .drp-stats strong { font-size: 30px; min-width: 110px; }
  .drp-banner { font-size: 21px; }
  .drp-cta-box { padding: 22px 18px; }
  .drp-pg-btns a.drp-btn { width: 100%; }
}

/* ---------- OneTap accessibility button on phones (6 Oct 2026, testimonials-v3-layout) ----------
   The plugin draws a 48px toggle 20px from the corner (its own CSS + inline CSS, all !important); it covered card text at 390px.
   Phones only: 40px icon (tap target still above the 24px WCAG minimum), 8px from the corner. Still visible and keyboard-reachable. */
@media (max-width: 767px) {
  body .onetap-container-toggle button.onetap-toggle { margin-right: 8px !important; margin-bottom: 8px !important; }
  body .onetap-container-toggle button.onetap-toggle img,
  body .onetap-container-toggle button.onetap-toggle img.design-size1,
  body .onetap-container-toggle button.onetap-toggle img.design-size2,
  body .onetap-container-toggle button.onetap-toggle img.design-size3 { width: 40px !important; height: 40px !important; padding: 7px !important; }
}

/* ---------- header (template 107): the menu gained "מלגות וסיוע כלכלי" and the longer "סטודנטים מספרים" (6 Oct 2026).
   The phone-number column was 30% wide for a 150px button; it now takes only what it needs, and the menu tightens a
   little below 1440px, so the header stays one row from 1180px up (measured with health/header-fit.mjs; live wrapped below 1280). */
@media (min-width: 1025px) {
  .elementor-107 .elementor-element.elementor-element-5007300 { width: 190px !important; flex: 0 0 190px !important; }
  .elementor-107 .elementor-element.elementor-element-be9e52b { width: auto !important; flex: 1 1 auto !important; min-width: 0; }
}
@media (min-width: 1025px) and (max-width: 1439px) {
  .elementor-107 .elementor-element-9242af8 .top-level-link { padding-left: 8px !important; padding-right: 8px !important; font-size: 19px !important; }
  .elementor-107 .elementor-element-9242af8 .top-level-link .jet-mega-menu-item__label { font-size: 19px !important; }
}
@media (min-width: 1025px) and (max-width: 1279px) {
  .elementor-107 > .elementor-section.elementor-element-0bc908a, .elementor-107 .elementor-element.elementor-element-0bc908a { padding-left: 1.6rem !important; padding-right: 1.6rem !important; }
  .elementor-107 .elementor-element-9242af8 .top-level-link { padding-left: 6px !important; padding-right: 6px !important; font-size: 17px !important; }
  .elementor-107 .elementor-element-9242af8 .top-level-link .jet-mega-menu-item__label { font-size: 17px !important; }
}
