/* About and Founder: inset the copy and artwork from the rounded hero edges. */
body.laravel-unays-ui main.arch-page .arch-hero {
  box-sizing: border-box;
  padding: clamp(1.25rem, 3.5vw, 3rem);
}

/* Schools: keep the hero copy and its white inset card inside the mint panel. */
body.laravel-unays-ui main.schools-page .schools-hero {
  box-sizing: border-box;
  padding-inline: clamp(1.25rem, 3.5vw, 3rem);
}

/* Contact: give the intro text and support links space inside the rounded panel. */
body.laravel-unays-ui .uc-shell .uc-intro {
  box-sizing: border-box;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

/* About: restore light lettering on the dark purpose card. */
body.laravel-unays-ui .about-hero .about-statement :is(h2, p) {
  color: #f7fbf8 !important;
}

/* Schools: keep the implementation-story caption legible on its dark teal card. */
body.laravel-unays-ui .proof-layout .proof-story .eyebrow {
  color: #b9e5d9 !important;
}

/* Schools: give package descriptions and checklist text enough contrast on pastels. */
body.laravel-unays-ui .package-grid .package-card :is(p:not(.eyebrow), li) {
  color: #415b5e;
}

/* School guides, Resources and Founder: darken the teal links on pastel cards. */
body.laravel-unays-ui .arch-grid .arch-card a {
  color: #005f5a;
}

/* Contact: improve readability of form instructions, status and optional-field labels. */
body.laravel-unays-ui .uc-card :is(.uc-status, label small, .uc-turnstile small, .uc-newsletter span, .uc-note) {
  color: #486354;
}

/* Laravel skip link: use a darker fill so the keyboard-only label passes AA. */
body.laravel-unays-ui > .skip-link:focus {
  background: #923c2f;
  color: white;
  outline: 3px solid #113c37;
  outline-offset: 2px;
}

/* Home, Pricing, Offers and Schools: give white call-to-action text a darker coral fill. */
body.laravel-unays-ui .unays-home-callout .unays-button-dark,
body.laravel-unays-ui .schools-cta .button-primary {
  background: #a34030 !important;
  color: #fff !important;
}

/* Community standalone: increase contrast of feed metadata, masthead text and standards. */
body.community-ui :is(.brand-copy em, .thread-context .eyebrow, .category-description, .feed-status, .thread-copy small, .standard-list li > span, .standard-list li > p, .category-btn small, .community-note > span) {
  color: #445f55;
}

/* Community standalone: keep the white verification check legible on its gold badge. */
body.community-ui .forum-profile-trigger .badge.gold {
  background: #79530d;
}

/* Muslim standalone: strengthen secondary text on prayer cards and the cream footer. */
body.um-body :is(.um-times > li.is-past:not(.is-next), .um-note, .um-muted, .um-footer p) {
  color: #4c655e;
}

/* Muslim standalone: keep the prayer time and AM/PM together beside the ring on tablets. */
@media (min-width: 761px) and (max-width: 900px) {
  body.um-body .um-next .um-ring {
    width: 4rem;
    height: 4rem;
    flex: 0 0 4rem;
  }
  body.um-body .um-next #um-next-at {
    white-space: nowrap;
  }
}

/* Laravel header: increase white Open AI text contrast across the coral gradient. */
body.laravel-unays-ui .site-header .nav-actions .nav-ai {
  background: linear-gradient(135deg, #ae4736, #913729);
  color: white;
}

/* Home, Products and Pricing: keep the coral end of the italic heading legible on mint. */
body.laravel-unays-ui .unays-home-hero .unays-home-copy h1 em {
  background-image: linear-gradient(100deg, #185b51 10%, #933b2c 90%);
}

/* Labs standalone: bring the focused skip link above the sticky developer header. */
body.u-s-labs > .skip-link:focus-visible {
  z-index: 61;
}

/* Muslim standalone: clear the sticky one- or two-row header when following prayer navigation. */
body.um-body :is(#um-app, #um-prayer, #um-qibla, #um-daily, #um-tasbih-card, #um-explore) {
  scroll-margin-block-start: 4.75rem;
}
@media (max-width: 760px) {
  body.um-body :is(#um-app, #um-prayer, #um-qibla, #um-daily, #um-tasbih-card, #um-explore) {
    scroll-margin-block-start: 8.5rem;
  }
}

/* Labs standalone: clear the sticky developer navigation when jumping to a work area. */
body.u-s-labs :is(#play, #utility, #projects) {
  scroll-margin-block-start: 4.75rem;
}
@media (max-width: 860px) {
  body.u-s-labs :is(#play, #utility, #projects) {
    scroll-margin-block-start: 7.5rem;
  }
}
@media (max-width: 550px) {
  body.u-s-labs :is(#play, #utility, #projects) {
    scroll-margin-block-start: 9.75rem;
  }
}

/* Labs standalone: darken small coral toolkit numbers and project tags on ivory cards. */
body.u-s-labs :is(.lab-tool > header > span, .project .project-tag, .explain-grid article > span) {
  color: #a33e2d;
}

/* Developers, API and standalone Labs: show every navigation tab on narrow screens. */
@media (max-width: 550px) {
  body:is(.u-dev, .u-s-labs) .u-devbar .u-devbar-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    border-radius: 1rem;
  }
}
