/*
 * The "draft-tabs" vertical tab widget CMS article bodies embed on
 * `New`-layout Services pages (e.g. `/dissertation-help`'s "Dissertation
 * Proposal / Introduction / Literature Review / Methodology / Analysis &
 * Result" tabs), plus the `.stripe-features` banner that immediately follows
 * it. Base (non-media-query) rules copied verbatim from
 * `templates/GAH/scss/newessaywriting.scss` (lines ~5619-5800) — the CSS
 * file `New`-layout pages actually load. Scoped to `.prose` the same way
 * every other CMS-body rule in this app is (see globals.css).
 *
 * Interactivity (clicking a tab switches the visible panel) isn't CSS —
 * the live site's own JS toggles `.active` on the clicked `<li>` and shows
 * only the matching `#DrfBox1N` panel (everything else defaults to
 * `display: none` here, matching `#DrfBox12..15 { display: none }` on the
 * live site). `components/common/DraftTabs.tsx` replicates that click
 * behavior generically (by sibling index, not the literal id numbering).
 */
.prose .draft-tabs {
  padding: 50px 0;
}

.prose .draft-tabs .content-title {
  text-align: center;
  padding: 0 0 10px 0;
}

.prose .draft-tabs .content-subtitle {
  text-align: center;
  padding: 0 0 26px 0;
}

.prose .draft-tabs>.container>.essaycontent {
  padding: 0 30px;
  text-align: center;
  margin: 30px 0;
}

.prose .draft-tabs.draft-tabs-uk {
  background: #f5f5f5;
}

.prose .draf-sec {
  width: 90%;
  margin: 30px auto 0;
  background: #ffffff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.22);
  border: 1px solid #d8d8d8;
  display: flex;
  flex-wrap: wrap;
}

.prose .left-section-drf {
  width: 30%;
  display: inline-block;
}

.prose .left-section-drf li {
  text-align: center;
  background: #f5f5f5;
  padding: 13px 0 5px 0;
  border: 1px solid #d8d8d8;
  border-left: 4px solid transparent;
  cursor: pointer;
  list-style: none;
}

/* `.prose ul > li::before` (globals.css) adds the article-body bullet
   checkmark to every `<li>` inside a `<ul>` — these tab/feature lists use
   `<li>` for layout, not bullet content, so the checkmark is cleared here
   (higher specificity than the bullet rule, wins regardless of CSS order). */
.prose .left-section-drf li::before,
.prose .stripe-features .orignal-contant li::before {
  content: none;
}

.prose .left-section-drf li svg .a {
  fill: #616161 !important;
  stroke: none;
}

.prose .left-section-drf li.active {
  background: #ffffff;
  border: 1px solid transparent;
  border-left: 4px solid #f58e0e;
}

.prose .left-section-drf li.active .left-section-drf-head5 {
  color: #f58e0e;
}

.prose .left-section-drf li.active svg .a {
  fill: #f58e0e !important;
  stroke: #f58e0e !important;
}

.prose .left-section-drf-head5 {
  font-family: "robotomedium", sans-serif;
  font-size: 18px;
  line-height: 42px;
  color: #1d1d1d;
  margin: 0;
}

.prose .right-section-drf {
  width: 70%;
  display: inline-block;
  padding: 30px;
  position: relative;
}

.prose .right-section-drf .drafrght1 {
  display: none;
}

.prose .right-section-drf .drafrght1.active {
  display: block;
}

.prose .right-section-drf .tab-right-cont {
  max-height: 380px;
  overflow: auto;
}

.prose .right-section-drf .essaycontent {
  margin: 0 0 30px 0;
  line-height: 20px;
}

.prose .drafrght1_btn {
  background: #f58e0e;
  border-radius: 5px;
  text-align: center;
  font-family: "robotomedium", sans-serif;
  font-size: 19px;
  color: #fff !important;
  padding: 15px 30px;
  display: inline-block;
  line-height: 22px;
  text-decoration: none;
  margin-top: 50px;
}

/*
 * The live rule combines `float: left` (left-img), `display: inline-block`
 * (mide-section) and `position: absolute; bottom: 0` with no `left`/`right`
 * (right-img) — that last one has no horizontal anchor, so it relies on its
 * static flow position plus the float/inline-block sizing lining up exactly
 * with the live site's own (wider) container. A flex row with wrapping
 * still wrapped at this app's narrower article column width, stacking the
 * document image above the text instead of staying in one row — a CSS
 * grid with a fixed 3-column track (image / flexible text / photo) forces
 * the single-row layout the live site actually shows, at any container
 * width, instead of reproducing the float/absolute mechanics byte-for-byte.
 */
.prose .stripe-features {
  background: #5b7536;
  color: #ffffff;
  padding: 0 20px;
  overflow: hidden;
  /* Full-bleed: break out of the constrained article column and span the
     full viewport width, matching the live site's edge-to-edge strip. */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* The actual `left-img`/`mide-section`/`right-img` siblings sit one level
   deeper, inside `.container` — the grid has to go here, not on
   `.stripe-features` itself, or it never reaches them. */
.prose .stripe-features>.container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.prose .stripe-features .left-img {
  width: 85px;
  height: auto;
  grid-column: 1;
  align-self: center;
}

.prose .stripe-features .right-img {
  width: 250px;
  height: auto;
  /* grid-column: ; */
  align-self: end;
  margin-bottom: -1px;
  margin-right: 70px;
}

.prose .stripe-features .mide-section {
  grid-column: 2;
  min-width: 0;
  padding: 20px 0;
}

.prose .stripe-features .mide-section-heading {
  font-family: "robotomedium", sans-serif;
  font-style: italic;
  font-size: 26px;
  line-height: 30px;
  margin: 0;
  color: #ffffff;
}

.prose .stripe-features .mide-section-pera {
  font-family: sans-serif;
  font-size: 17px;
  line-height: 22px;
  margin: 6px 0 14px 0;
}

.prose .stripe-features .mide-section-pera span {
  font-family: "robotomedium", sans-serif;
  font-size: 30px;
  color: #f8ff43;
  line-height: 20px;
}

.prose .stripe-features .orignal-contant {
  margin: 0 0 15px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.prose .stripe-features .orignal-contant li {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  white-space: nowrap;
}

.prose .stripe-features .orignal-contant li svg .a {
  fill: #fff;
  stroke: none;
}

.prose .stripe-features .orignal-contant li span {
  font-family: "robotomedium", sans-serif;
  font-size: 14px;
  margin: 0 0 0 4px;
  line-height: 19px;
}

/*
 * `.choose-us-help` — the "Dissertation Writing Help TODAY, A+ Grade
 * TOMORROW!" section immediately after `.stripe-features`. Base rules
 * copied from `templates/GAH/scss/newessaywriting.scss` (~line 5794, with
 * the `.choose-free-pera` override at ~line 15993 — the more specific,
 * later rule — applied to the paragraph spacing).
 *
 * Its "Ask for help" button opens a fancybox callback-request modal on the
 * live site (`data-fancybox`, `data-src="#callback-form"`) — that modal's
 * form/fields aren't in service.php and aren't reproduced here, so the
 * button is styled but inert.
 */
.prose .choose-us-help {
  padding: 50px 20px;
  text-align: center;
}
.prose .choose-us-help .content-title {
  padding: 0 0 15px 0;
}
.prose .choose-free-pera {
  margin: 0;
}
.prose .choose-free-pera .essaycontent {
  text-align: center;
  line-height: 20px;
  margin: 0 0 10px 0;
}
.prose .choose-free-pera .essaycontent:last-child {
  margin: 0 0 25px 0;
}
.prose .choose-us-help .askfor-btn {
  text-align: center;
}
.prose .choose-us-help-btn {
  background: #f58e0e;
  border-radius: 5px;
  font-size: 18px;
  line-height: 22px;
  font-family: "robotomedium", sans-serif;
  color: #ffffff !important;
  padding: 10px 21px;
  display: inline-block;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.prose .stripe-features .mide-section-btn {
  background: #f8ff43;
  border-radius: 5px;
  text-align: center;
  font-family: "robotomedium", sans-serif;
  font-size: 18px;
  color: #1d1d1d;
  padding: 7px 20px;
  margin-top: 10px;
  display: inline-block;
  line-height: 20px;
  text-decoration: none;
}