/* ==========================================================================
   Questions templates — SUSS Assignment Help overrides
   Loaded after questions-archive / questions-single / questions-university.
   Palette: navy #001e60 / #072855 / #00194d · red #da291c · light #eef1fa / #f7f8fd · border #b3c6e0
   ========================================================================== */

/* Room for the fixed site header (logo 75px + 3px gradient border) */
.mahq-page { padding-top: 78px; font-family: "Roboto", Arial, sans-serif !important; }
@media (max-width: 991px) { .mahq-page { padding-top: 70px; } }

/* MAH hero gradient on the dark bands (same as .bg-gradient-custom) */
.qa26 .qa-top,
.sa26 .sa-top,
#sah-rd .sah-hero,
.qa26 .qa-feats-band,
.sa26 .sa-feats-band {
  background: linear-gradient(135deg, #001e60 0%, #072855 60%, #00194d 100%) !important;
}
.qa26 .qa-top h1, .sa26 .sa-top h1, #sah-rd .sah-hero h1 { color: #fff !important; }
.qa26 .qa-top-sub, .sa26 .sa-top-sub { color: rgba(255, 255, 255, .85) !important; }
.sa26 .sa-top h1 span { color: #ff6b5e !important; }

/* Red rule under the hero */
.qa26 .qa-top, .sa26 .sa-top, #sah-rd .sah-hero { border-bottom: 3px solid #da291c; }

/* Table-of-contents head + query widget head in navy, red stays for actions */
#sah-rd .sah-toc-head { background: linear-gradient(135deg, #072855 0%, #001e60 100%) !important; }

/* Search buttons: brand red */
.qa26 .qa-search-box button,
.sa26 .sa-search-box button { background: #da291c !important; color: #fff !important; }
.qa26 .qa-search-box button:hover,
.sa26 .sa-search-box button:hover { background: #b01f14 !important; }

/* Active chip in navy */
.qa26 .qa-chip.active,
.sa26 .sa-chip.active { background: #072855 !important; border-color: #072855 !important; color: #fff !important; }
.qa26 .qa-chip:hover,
.sa26 .sa-chip:hover { border-color: #da291c !important; color: #da291c !important; }
.sa26 .sa-chip.active .sa-chip-count { background: #ff6b5e !important; color: #072855 !important; }

/* Theme sets h3{font-size:21px!important}; keep card/section headings in scale */
.qa26 .qa-sec-head h3, .qa26 .qa-all-section .qa-sec-head h3 { font-size: 21px !important; }
.sa26 .sa-empty h3 { font-size: 20px !important; }
#sah-rd .sah-side-cta h3 { font-size: 19px !important; }
#sah-rd .sah-rel-card h3 { font-size: 15px !important; line-height: 1.4 !important; }

/* Empty states / description */
.mahq-empty { grid-column: 1 / -1; text-align: center; color: #6c757d; padding: 30px 0; margin: 0; }
.mahq-norel { padding: 10px 20px; color: #6c757d; margin: 0; }
.sa26 .mahq-term-desc {
  background: #fff; border: 1px solid #dde3f0; border-left: 4px solid #da291c;
  border-radius: 12px; padding: 16px 20px; margin: 0 0 24px; color: #3a4a6b; font-size: 15px; line-height: 1.65;
}
.sa26 .mahq-term-desc p:last-child { margin-bottom: 0; }

/* ── Single: order form inside the sidebar widget ───────────────────────── */
#sah-rd .sah-qw-body form > .row { margin: 0 !important; padding: 14px 4px 16px !important; }
#sah-rd .sah-qw-body form .form-control,
#sah-rd .sah-qw-body form .form-select {
  border: 1px solid #dde3f0 !important; border-radius: 10px !important; font-size: 14px !important;
  min-height: 42px; box-shadow: none !important; background-color: #fff !important; color: #00194d !important;
}
#sah-rd .sah-qw-body form .form-control:focus,
#sah-rd .sah-qw-body form .form-select:focus { border-color: #072855 !important; box-shadow: 0 0 0 3px rgba(0, 30, 96, .12) !important; }
#sah-rd .sah-qw-body form textarea.form-control { min-height: 90px; }
#sah-rd .sah-qw-body .input_fields_wrap { margin-left: 0 !important; margin-right: 0 !important; padding: 0 !important; }
#sah-rd .sah-qw-body .input_fields_wrap > [class*="col-"] { padding-left: 0 !important; padding-right: 0 !important; }
#sah-rd .sah-qw-body .add_field_button .btn { border-radius: 10px !important; font-size: 13px !important; }
#sah-rd .sah-qw-body button[type="submit"] { font-size: 15px !important; padding: 11px 16px !important; border-radius: 50px !important; }
/* sidebar is narrow: every field full width */
#sah-rd .sah-qw-body form > .row > [class*="col-"],
#sah-rd .sah-qw-body .input_fields_wrap > [class*="col-"] { width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important; }
#sah-rd .sah-qw-body .input_fields_wrap > .d-flex { justify-content: flex-start !important; margin-top: 10px !important; }
#sah-rd .sah-qw-body input[type="file"].form-control { padding: 8px 10px !important; font-size: 13px !important; }

/* ── Single: blurred answer preview (pure CSS — no image needed) ────────── */
#sah-rd .mahq-blur {
  padding: 22px 26px 30px; filter: blur(4px); user-select: none; pointer-events: none;
  color: #3a4a6b; font-size: 15px; line-height: 1.7;
}
#sah-rd .mahq-blur h5 { font-size: 17px !important; font-weight: 700 !important; color: #072855 !important; margin: 0 0 6px !important; }
#sah-rd .mahq-blur p { margin: 0 0 14px !important; }

/* ── Single: services, sticky bar, misc ─────────────────────────────────── */
#sah-rd .mahq-svc-row2 { margin-top: 0 !important; }
#sah-rd .mahq-svc-col { padding: 0 8px !important; margin-bottom: 16px; }
#sah-rd .mahq-sticky-ic { width: 36px !important; height: 36px !important; border-radius: 50% !important; background: #da291c !important; color: #fff !important; display: grid !important; place-items: center !important; font-size: 15px !important; flex: none !important; }
#sah-rd .mahq-sticky-form { margin: 0 !important; }

/* Question CTA blocks from cta_question_1/2/3 (ACF questions_cta1/2/3) */
#sah-rd .sah-article .sah-incta { margin: 26px 0 !important; }
#sah-rd .sah-article .sah-incta .sah-btn { color: #fff !important; }
#sah-rd .sah-article .sah-incta.sah-incta-red .sah-btn { color: #da291c !important; }
#sah-rd .sah-article .sah-incta h4 { font-size: 18px !important; line-height: 1.4 !important; }

/* Reviews band spacing after the page */
.mahq-reviews { margin-top: 0; }

/* breathing room before the features band */
.sa26 .sa-body, .qa26 .qa-body { padding-bottom: 48px !important; }

/* Navy mobile TOC head */
#sah-rd .sah-mob-toc-btn { background: linear-gradient(135deg, #072855 0%, #001e60 100%) !important; color: #fff !important; }

/* helper classes carried over from the SG global sheet */
.mahq-search-form { display: flex !important; align-items: center !important; flex: 1 !important; min-width: 0 !important; }
.mahq-search-input { flex: 1 !important; min-width: 0 !important; }
#sah-rd .sah-meta { margin-bottom: 26px !important; }
#sah-rd .author-social-container { margin-top: 14px !important; }

/* ── Search results page ─────────────────────────────────────────────── */
.mahq-search mark { background: #ffe1de; color: inherit; padding: 0 2px; border-radius: 3px; }
.mahq-search .sa-top h1 span { color: #ff6b5e !important; }
.mahq-search .mahq-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 34px 0 8px; }
.mahq-search .mahq-pager .page-numbers {
  min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50px; border: 1.5px solid #dde3f0; background: #fff; color: #072855 !important; font-weight: 700; font-size: 14px;
  transition: background .15s, color .15s, border-color .15s;
}
.mahq-search .mahq-pager a.page-numbers:hover { border-color: #da291c; color: #da291c !important; }
.mahq-search .mahq-pager .page-numbers.current { background: #072855; border-color: #072855; color: #fff !important; }
.mahq-search .mahq-pager .page-numbers.dots { border: 0; background: transparent; }
.mahq-search .mahq-search-cta { margin-top: 30px !important; }
.mahq-search .mahq-search-empty { background: #fff; border: 1px solid #dde3f0; border-radius: 16px; padding: 44px 24px; margin-bottom: 30px; }
.mahq-search .mahq-empty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
.mahq-search .mahq-empty-actions a {
  display: inline-flex; align-items: center; padding: 12px 26px; border-radius: 50px; font-weight: 700; font-size: 14px;
  background: #da291c; color: #fff !important; border: 2px solid #da291c;
}
.mahq-search .mahq-empty-actions a:hover { background: #b01f14; border-color: #b01f14; }
.mahq-search .mahq-empty-actions a.mahq-ghost { background: #fff; color: #072855 !important; border-color: #072855; }
.mahq-search .mahq-empty-actions a.mahq-ghost:hover { background: #072855; color: #fff !important; }
.mahq-search .mahq-search-block { margin: 0 0 34px; }
.mahq-search .mahq-search-block h3 { font-size: 20px !important; font-weight: 700; color: #072855; margin: 0 0 16px; padding-left: 12px; border-left: 4px solid #da291c; }
.mahq-search .mahq-uni-chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* SUSS order form (common/main-form.php) in the narrow sidebar: one field per row */
#sah-rd .sah-qw-body .row { margin-left: 0 !important; margin-right: 0 !important; }
#sah-rd .sah-qw-body .row > [class*="col-"] { width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
#sah-rd .sah-qw-body form { padding: 14px 16px 16px; }
