/* ------------------------------------------------------------------
   Laravel-only styles, loaded after app-v2.css.

   app-v2.css is the team's file and is REPLACED WHOLESALE on every
   static-build drop, so anything added to it by hand is lost. Rules the
   Laravel site needs but the static build never had belong here instead.
   ------------------------------------------------------------------ */

/* Internal linking block (x-related-links). The card grid comes from the
   team's .ilink-grid / .ilink-card rules; only the in-sentence links below
   the heading are ours. */
.rel-prose {
    margin-top: 12px;
}

.rel-prose a {
    color: var(--orange-d);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 131, 3, .35);
}

.rel-prose a:hover {
    border-bottom-color: var(--orange);
}

/* Category chips became links when filtering moved to the server, so they
   need the bits an <a> does not inherit from the team's button styling. */
a.ed-fc {
    display: inline-block;
    text-decoration: none;
}

/* Blog index pager. The static build had no pagination because it printed
   every post at once. */
.pj-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: clamp(28px, 3vw, 44px);
    padding-top: clamp(20px, 2.4vw, 28px);
    border-top: 1px solid var(--line);
}

.pj-pager-step {
    font-family: var(--body);
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    padding: 12px 20px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: var(--panel);
    color: var(--ink);
    text-decoration: none;
    transition: .18s;
}

.pj-pager-step:hover {
    border-color: var(--orange-l);
}

.pj-pager-step.is-off {
    opacity: .4;
    pointer-events: none;
}

.pj-pager-count {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

.pj-pager-count b {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-top: 2px;
}

@media (max-width: 560px) {
    .pj-pager {
        justify-content: center;
    }

    .pj-pager-count {
        order: -1;
        width: 100%;
    }
}

/* ---- enquiry form: the confirmation that replaces the intro line once the
   form has been posted. Mirrors .ed-err, which is the failure half. ---- */
.ed-ok{display:flex;gap:12px;align-items:flex-start;margin:0 0 22px;padding:14px 16px;
  border:1px solid #BFE3C9;background:#F1F9F3;border-radius:14px;color:#1C6B34}
.ed-ok svg{width:20px;height:20px;flex:none;margin-top:1px}
.ed-ok b{display:block;font-family:var(--body);font-weight:700;font-size:14.5px;line-height:1.4}
.ed-ok span{display:block;margin-top:3px;font-size:13.5px;line-height:1.6;color:#2F7A46}
@media (prefers-color-scheme:dark){
  .ed-ok{border-color:#2B5C3A;background:#132018;color:#8FD6A4}
  .ed-ok span{color:#7CC392}
}
