/* Global Scholarships hub: editorial layout and type. Loaded after hubs.css on the scholarships pages. */

/* ---------- Front: title on the left, search panel on the right, dateline below ---------- */
.sch.sch .sch-hero { padding: 44px 0 0; background: var(--sch-paper); border-bottom: 1px solid var(--strong); }
.sch.sch .sch-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 468px); grid-template-areas: "front search" "news news"; column-gap: 72px; align-items: start; }
.sch.sch .sch-front { grid-area: front; padding-top: 6px; }
.sch.sch .sch-search { grid-area: search; }
.sch.sch .sch-front__news { grid-area: news; }

.sch.sch .sch-front__t { max-width: 11ch; margin: 0 0 20px; font: 600 clamp(42px, 5.2vw, 68px)/1 var(--head); letter-spacing: -0.025em; color: var(--strong); text-wrap: balance; }
.sch.sch .sch-front__x { max-width: 32ch; margin: 0 0 26px; font: 400 21px/1.5 var(--head); color: var(--dek); text-wrap: pretty; }
.sch.sch .sch-front__by { max-width: 44ch; margin: 0; padding-top: 14px; border-top: 1px solid var(--rule2); font: 400 13px/1.6 var(--ui); color: var(--meta); }

.sch.sch .sch-search { padding: 26px 28px 22px; border: 1px solid var(--strong); background: var(--bg); }
.sch.sch .sch-search__t { margin: 0 0 16px; font: 600 25px/1.15 var(--head); letter-spacing: -0.01em; color: var(--strong); }
.sch.sch .sch-search__bar { max-width: none; }
.sch.sch .sch-search__bar input { height: 50px; font-size: 16px; }
.sch.sch .sch-search__bar .hub-btn { min-height: 50px; padding: 0 20px; }
.sch.sch .sch-filters { display: block; max-width: none; margin-top: 18px; }
.sch.sch .sch-filters__main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: end; }
.sch.sch .sch-filters__main > .sch-f:first-child,
.sch.sch .sch-filters__main > .sch-f--go { grid-column: 1 / -1; }
.sch.sch .sch-f label { margin: 0 0 6px; font: 600 13px/1.2 var(--ui); letter-spacing: 0; text-transform: none; color: var(--strong); }
.sch.sch .sch-f select { height: 44px; }
.sch.sch .sch-f--go .hub-btn { min-height: 46px; }
.sch.sch .sch-more { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rule); }
.sch.sch .sch-filters__more { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding-top: 12px; }

.sch.sch .sch-front__news { max-width: none; margin: 44px 0 0; padding: 14px 0 16px; border-top: 3px double var(--strong); border-bottom: 0; font: 400 17px/1.55 var(--head); color: var(--dek); }

/* ---------- Main column ---------- */
.sch.sch .sch-layout { gap: 64px; padding-top: 44px; }

.sch.sch .sch-week { margin: 0 0 44px; padding: 18px 24px 6px; border-top: 3px solid var(--red); background: var(--sch-paper); }
.sch.sch .sch-week h2 { margin: 0 0 4px; font: 600 22px/1.2 var(--head); color: var(--strong); }
.sch.sch .sch-week li { padding: 12px 0; border-bottom: 1px solid var(--rule2); }
.sch.sch .sch-week li:last-child { border-bottom: 0; }
.sch.sch .sch-week a { font: 600 17px/1.35 var(--head); }

.sch.sch .sch-feat { grid-template-columns: minmax(0, 1fr) 210px; gap: 36px; margin-bottom: 48px; padding: 26px 0 30px; border: 0; border-top: 1px solid var(--strong); border-bottom: 3px double var(--strong); background: transparent; }
.sch.sch .sch-feat__t { margin: 0 0 8px; font: 600 31px/1.14 var(--head); letter-spacing: -0.015em; }
.sch.sch .sch-feat__x { margin-top: 14px; font-size: 17px; line-height: 1.6; max-width: 56ch; }
.sch.sch .sch-feat__side { padding-left: 30px; border-left: 1px solid var(--rule2); }

.sch.sch .sch-res__head { padding-top: 14px; }
.sch.sch .sch-res__t { font: 600 27px/1.2 var(--head); letter-spacing: -0.01em; }

.sch.sch .sch-list__head { grid-template-columns: 136px minmax(0, 1fr); gap: 36px; margin-top: 10px; font: 600 12.5px/1.2 var(--ui); color: var(--strong); }
.sch.sch .schr { grid-template-columns: 136px minmax(0, 1fr); gap: 36px; padding: 24px 0 26px; }
.sch.sch .schr__date { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.sch.sch .schr__day { font: 600 42px/0.85 var(--head); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.02em; color: var(--strong); }
.sch.sch .schr__my { font: 600 13px/1.2 var(--ui); color: var(--strong); }
.sch.sch .schr__left { font: 500 13px/1.35 var(--ui); color: var(--dek); }
.sch.sch .schr__dl .sch-st { margin: 8px 0 0; }
.sch.sch .schr__t { margin: 0 0 6px; font: 600 22px/1.24 var(--head); letter-spacing: -0.005em; }
.sch.sch .schr__p { font: 500 14.5px/1.45 var(--ui); }
.sch.sch .schr__tags { margin-top: 8px; font-size: 14px; }

/* ---------- Side column: ruled sections instead of boxes ---------- */
.sch.sch .sch-side { gap: 44px; }
.sch.sch .sch-box { padding: 0; border: 0; background: transparent; }
.sch.sch .sch-box h2 { margin: 0 0 12px; padding: 12px 0 10px; border-top: 2px solid var(--strong); border-bottom: 1px solid var(--rule); font: 600 21px/1.2 var(--head); }
.sch.sch .sch-box--alerts { padding: 0 22px 22px; border-top: 3px solid var(--red); background: var(--sch-paper); }
.sch.sch .sch-box--alerts h2 { padding-top: 18px; border-top: 0; border-bottom-color: var(--rule2); }
.sch.sch .sch-box--note { padding: 0 22px 20px; background: var(--sch-paper); }
.sch.sch .sch-box--note h2 { padding-top: 18px; border-top: 0; border-bottom-color: var(--rule2); }
.sch.sch .sch-browse li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.sch.sch .sch-browse li:last-child { border-bottom: 0; }


/* ---------- Side column: fully funded list and education desk ---------- */
.sch.sch .sch-ff { margin: 0; padding: 0; list-style: none; counter-reset: ff; }
.sch.sch .sch-ff li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--rule); counter-increment: ff; }
.sch.sch .sch-ff li::before { content: counter(ff); position: absolute; left: 0; top: 10px; font: 600 24px/1 var(--head); font-variant-numeric: lining-nums; color: var(--red); }
.sch.sch .sch-ff a { display: block; font: 600 16px/1.3 var(--head); color: var(--strong); text-decoration: none; }
.sch.sch .sch-ff a:hover { color: var(--red); }
.sch.sch .sch-ff span { display: block; margin-top: 4px; font: 500 12.5px/1.3 var(--ui); color: var(--meta); font-variant-numeric: tabular-nums; }
.sch.sch .sch-box__more { display: inline-block; margin-top: 14px; font: 600 13.5px/1.3 var(--ui); color: var(--strong); text-decoration: underline; text-underline-offset: 3px; }
.sch.sch .sch-box__more:hover { color: var(--red); }
.sch.sch .sch-news { margin: 0; padding: 0; list-style: none; }
.sch.sch .sch-news li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.sch.sch .sch-news a { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; color: var(--strong); text-decoration: none; }
.sch.sch .sch-news__img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--grey); }
.sch.sch .sch-news__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sch.sch .sch-news__t { font: 600 15.5px/1.3 var(--head); }
.sch.sch .sch-news a:hover .sch-news__t { color: var(--red); }
.sch.sch .sch-news time { display: block; margin: 6px 0 0 90px; font: 500 12px/1.2 var(--ui); color: var(--meta); }
@media (min-width: 861px) {
  .sch.sch .sch-side { align-self: stretch; }
  .sch.sch .sch-box--news { position: sticky; top: calc(68px + var(--wp-admin--admin-bar--height, 0px)); }
}


/* ---------- Listing summary, WhatsApp and phone filters ---------- */
.sch.sch .schr__fit { display: grid; gap: 5px; margin: 14px 0 0; padding-top: 12px; border-top: 1px dotted var(--rule2); font: 400 14px/1.45 var(--ui); }
.sch.sch .schr__fit div { display: flex; gap: 10px; }
.sch.sch .schr__fit dt { flex: none; width: 104px; font-weight: 600; color: var(--strong); }
.sch.sch .schr__fit dd { margin: 0; color: var(--dek); }
.sch.sch .schr__wa { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; margin-top: 8px; font: 600 13px/1 var(--ui); color: var(--meta); text-decoration: none; }
.sch.sch .schr__wa svg { width: 16px; height: 16px; }
.sch.sch .schr__wa:hover { color: var(--sch-ok); }
.sch.sch .sch-wa { margin: 14px 0 0; }
.sch.sch .sch-wa .hub-btn { gap: 9px; }
.sch.sch .sch-wa svg { width: 18px; height: 18px; }
.sch.sch .sch-ftoggle { display: none; }
@media (max-width: 860px) {
  .sch.sch .sch-ftoggle { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 48px; margin-top: 12px; padding: 0 14px; border: 1px solid var(--strong); border-radius: 0; background: var(--bg); font: 600 15px/1 var(--ui); color: var(--strong); cursor: pointer; }
  .sch.sch .sch-ftoggle::after { content: ""; width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s ease-out; }
  .sch.sch .sch-ftoggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
  .sch.sch .sch-ftoggle b { font-weight: 600; color: var(--red); }
  .sch.sch .sch-filters:not(.is-open) { display: none; }
}
@media (max-width: 640px) {
  .sch.sch .schr__fit div { display: block; }
  .sch.sch .schr__fit dt { width: auto; }
}

/* ---------- Narrower screens ---------- */
@media (max-width: 1080px) {
  .sch.sch .sch-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); column-gap: 44px; }
  .sch.sch .sch-layout { gap: 40px; }
}
@media (max-width: 860px) {
  .sch.sch .sch-hero { padding-top: 30px; }
  .sch.sch .sch-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "front" "search" "news"; }
  .sch.sch .sch-front__t { max-width: 14ch; }
  .sch.sch .sch-front__x { max-width: 46ch; font-size: 19px; }
  .sch.sch .sch-front__by { margin-bottom: 26px; }
  .sch.sch .sch-front__news { margin-top: 30px; font-size: 16px; }
}
@media (max-width: 640px) {
  .sch.sch .sch-search { padding: 20px 18px 18px; }
  .sch.sch .sch-search__t { font-size: 22px; }
  .sch.sch .sch-filters__main, .sch.sch .sch-filters__more { grid-template-columns: minmax(0, 1fr); }
  .sch.sch .sch-week { padding: 16px 18px 4px; }
  .sch.sch .sch-feat { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sch.sch .sch-feat__t { font-size: 25px; }
  .sch.sch .sch-feat__side { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--rule2); }
  .sch.sch .sch-list__head, .sch.sch .schr { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; }
  .sch.sch .schr { padding: 20px 0 22px; }
  .sch.sch .schr__day { font-size: 32px; }
  .sch.sch .schr__my, .sch.sch .schr__left { font-size: 12.5px; }
  .sch.sch .schr__t { font-size: 18.5px; }
  .sch.sch .sch-res__t { font-size: 23px; }
}

/* The Elementor kit squeezes every h2 by -1.8px; reset it for these pages. */
.sch.sch h2, .sch.sch h3 { letter-spacing: -0.01em; }

/* Quieter rows: one sentence per listing, label only the exceptions. */
.sch.sch .schr__fit { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 10px 0 0; padding: 0; border: 0; font: 400 15px/1.5 var(--head); color: var(--dek); }
.sch.sch .schr__fit .schr__wa { flex: none; margin: -4px 0 0; width: 32px; height: 32px; justify-content: center; border-radius: 50%; color: var(--meta); }
.sch.sch .schr__fit .schr__wa:hover { color: var(--sch-ok); background: var(--grey); }
.sch.sch .schr__dl .sch-st--open { display: none; }
@media (max-width: 640px) { .sch.sch .schr__fit { font-size: 14.5px; } }
.sch.sch .schr__fit--bare { justify-content: flex-end; margin-top: 0; }
