/*
 * Gina Hinojosa: Fundraising case study
 * Loads on template-case-gina-hinojosa.php only (ms_case_build). Built from the
 * partner's standalone page and brought onto the brand: theme fonts (Cardo,
 * proxima-nova, antarctican-mono), theme colors, the pink-peach accent, and the
 * theme's own h2/h3 styles. Mobile-first: base rules are the phone layout.
 * New layout classes are gh-*; the mockup internals keep the partner's names,
 * scoped under .mscs.
 */

.entry__body .mscs {
  --plum: #231F2C;
  --plum-2: #2F2C37;
  --lav: #F4F1FA;
  --lav-2: #EAE6F2;
  --tint: #F4F1FA;
  --line: rgba(35, 31, 44, 0.14);
  --muted: #655F73;
  --muted-dark: #B4AFC4;
  --pink: #FFADAD;
  --peach: #FFBCAD;
  --pink-peach: linear-gradient(112.5deg, #FFADAD 0%, #FFBCAD 100%);
  --rose: #C98D9C; /* the partner's timeline pink: rail fill and reached dots */
  --abbott: #857E97;
  --serif: cardo, serif;
  --sans: proxima-nova, sans-serif;
  --ui: antarctican-mono, sans-serif;
  --gutter: 20px;
}

/* ---------- Header ---------- */

/* Gina's cutout (the Second image field) sits on the header's bottom edge
   instead of hanging below it like the other case studies' taped photos.
   Phones and tablets: under the text. 1024 up: on the left, text on the right.
   The cutout's negative bottom margin cancels the header's bottom padding;
   both read --pb. (Set here because the theme's 414px header rule drops the
   case header's bottom padding to 48px, which left her hanging below it.) */
/* The deck isn't shown in Gina's header. The Deck field keeps its text, and
   the post excerpt (cards, share text) is filled in separately. */
.entry__header--case .entry__dek { display: none; }

.entry__header.entry__header--case {
  --pb: 72px;
  padding-bottom: var(--pb);
}
.entry__header--case .entry__header-ex-image {
  width: 80%;
  max-width: 420px;
  margin: 40px auto calc(-1 * var(--pb));
  transform: none !important;
}
.entry__header--case .entry__header-ex-image img {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 768px) {
  .entry__header.entry__header--case { --pb: 80px; }
}
/* 1024 up: Abdul Fundraising's layout. The text starts just right of center
   in the theme's 1200px container; the cutout is pinned to the container's
   left edge and scales with the header's height. Less bottom padding than
   other case headers. */
@media (min-width: 1024px) {
  .entry__header--case {
    --edge: max(48px, calc((100vw - 1200px) / 2));
    /* With no deck the header would be short, and the cutout scales with
       its height; this holds her at the size she was with the deck */
    box-sizing: border-box;
    min-height: 580px;
    /* ...and the text centers in the room that leaves */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .entry__header--case .entry__header-inner {
    width: 100%; /* the header is a flex column now */
    box-sizing: border-box;
    padding-left: calc(50vw + 20px - var(--edge));
  }
  .entry__header--case .entry__header-inner > * { margin-right: 0; }
  .entry__header--case .entry__sub,
  .entry__header--case .entry__dek { max-width: none; } /* the column sets the measure */
  .entry__header--case .entry__header-ex-image {
    position: absolute;
    bottom: 0;
    left: var(--edge);
    width: calc(50vw - 12px - var(--edge)); /* stops 32px short of the text */
    max-width: none;
    height: calc(100% - 170px);
    margin: 0;
    line-height: 0;
  }
  /* Gina's cutout is square: it fills the height unless that would run
     into the text, and stays seated on the bottom edge either way */
  .entry__header--case .entry__header-ex-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left bottom;
  }
}
@media (min-width: 1280px) {
  .entry__header.entry__header--case { --pb: 96px; }
  .entry__header--case { min-height: 720px; }
}
@media (min-width: 1680px) {
  /* Holds the 1280 size (the theme steps up to 22px) so the deck stays at
     three lines in the fixed-width text column */
  .entry__header--case .entry__dek { font-size: 20px; }
}

/* ---------- Bands: full-width sections out of the narrow body column ---------- */

.entry__body .gh-band {
  position: relative;
  isolation: isolate; /* keeps the theme's quote glyph (z-index: -1) above the band color */
  margin: 0 calc(50% - 50vw);
  padding: 64px max(var(--gutter), calc(50vw - 560px));
}
.entry__body .gh-band > :first-child { margin-top: 0; }
.entry__body .gh-band > :last-child { margin-bottom: 0; }
.entry__body .gh-band--tint { background: var(--tint); }
.entry__body .gh-band--dark { background: var(--plum); color: var(--lav); }

@media (min-width: 414px) {
  .entry__body .mscs { --gutter: 28px; }
}
@media (min-width: 768px) {
  .entry__body .mscs { --gutter: 64px; }
  .entry__body .gh-band { padding-top: 96px; padding-bottom: 96px; }
}
@media (min-width: 1280px) {
  .entry__body .gh-band { padding-top: 120px; padding-bottom: 120px; }
}

/* The body column already sets the space above the first band and below the last */
.entry__body .gh-band.gh-intro { padding-top: 0; }
.entry__body .gh-band.gh-impact { padding-bottom: 0; }

/* Centered headings and intro copy hold the reading measure */
.entry__body .gh-band > h2,
.entry__body .gh-band > p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.entry__body .gh-lede {
  font-size: 18px;
  line-height: 1.55;
}
.entry__body .gh-band > .gh-lede + .gh-lede { margin-top: 1em; }
@media (min-width: 768px) {
  .entry__body .gh-lede { font-size: 20px; }
}
@media (min-width: 1280px) {
  .entry__body .gh-lede { font-size: 22px; }
}

/* Short brand rule under centered h2s keeps clear of the copy below */
.entry__body .gh-band > h2 + * { margin-top: 0.5em; }

/* ---------- Timeline ---------- */

/* Intro heading: 800px wide (over the theme's 760px heading cap) and up to
   56px, so it sets on three lines on desktop */
.entry__body .gh-timeline h2.gh-timeline__intro {
  max-width: 800px;
  line-height: 1.2;
}
@media (min-width: 1280px) {
  .entry__body .gh-timeline h2.gh-timeline__intro { font-size: 56px; }
}
/* Room under a heading for the timeline and the stat cards (outranks the
   band's "h2 + *" margin, which suits a paragraph) */
.entry__body .gh-timeline .gh-tl,
.entry__body .gh-results .gh-stats { margin-top: 48px; }
@media (min-width: 1024px) {
  .entry__body .gh-timeline .gh-tl,
  .entry__body .gh-results .gh-stats { margin-top: 72px; }
}
.entry__body .gh-tl {
  --p: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 48px;
}
.entry__body .gh-tl::before,
.entry__body .gh-tl::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 15px;
  width: 2px;
  border-radius: 2px;
}
.entry__body .gh-tl::before { background: var(--line); }
.entry__body .gh-tl::after {
  background: var(--rose);
  transform-origin: top;
  transform: scaleY(var(--p));
}
.entry__body .gh-tl__item {
  position: relative;
  padding-left: 48px;
}
.entry__body .gh-tl__item::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 8px; /* centered on the year beside it */
  left: 6px;
  box-sizing: border-box; /* the theme leaves content-box; keeps it on the rail */
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lav-2);
  border: 2px solid var(--abbott);
  transition: background 0.4s, border-color 0.4s, transform 0.4s;
}
.entry__body .gh-tl__item.is-reached::before {
  background: var(--rose);
  border-color: var(--rose);
  transform: scale(1.15);
}
.entry__body .gh-tl .gh-tl__date {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
}
.entry__body .gh-tl__date strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--plum);
}
.entry__body .gh-tl__card {
  margin-top: 12px;
  padding: 22px 20px;
  background: #FAEFF2;
  border-radius: 4px;
  color: var(--plum);
}
/* The cards deepen a step at each stop, as in the partner's page */
.entry__body .gh-tl__item:nth-child(2) .gh-tl__card { background: #F6E0E5; }
.entry__body .gh-tl__item:nth-child(3) .gh-tl__card { background: #F1D0D8; }
.entry__body .gh-tl__item:nth-child(4) .gh-tl__card { background: #EDC1CC; }
.entry__body .gh-tl__card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}
.entry__body .gh-tl__card p {
  margin: 0.75em 0 0;
  font-size: 16px;
  line-height: 1.55;
}
/* Scroll reveal, added by the script; without it (or with reduced motion) everything shows */
.entry__body .gh-tl.is-js .gh-tl__item > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.entry__body .gh-tl.is-js .gh-tl__date { transition-delay: 0.12s; }
.entry__body .gh-tl.is-js .gh-tl__item.is-in > * {
  opacity: 1;
  transform: none;
}
@media (min-width: 768px) {
  .entry__body .gh-tl__card { padding: 28px 30px; }
  .entry__body .gh-tl__card h3 { font-size: 28px; }
  .entry__body .gh-tl__card p { font-size: 17px; }
}
@media (min-width: 1024px) {
  .entry__body .gh-tl { gap: 56px; margin-top: 64px; }
  .entry__body .gh-tl::before,
  .entry__body .gh-tl::after { left: 50%; margin-left: -1px; }
  .entry__body .gh-tl__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
    align-items: start;
    padding-left: 0;
  }
  .entry__body .gh-tl__item::before {
    top: 16px; /* centered on the month label: 18px padding + half its line, less half the dot */
    left: 50%;
    margin-left: -10px;
  }
  .entry__body .gh-tl .gh-tl__date {
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding-top: 18px;
    text-align: right;
  }
  .entry__body .gh-tl .gh-tl__date { font-size: 14px; }
  .entry__body .gh-tl__date strong { font-size: 64px; }
  .entry__body .gh-tl__card { grid-column: 3; grid-row: 1; margin-top: 0; }
  .entry__body .gh-tl__item:nth-child(odd) .gh-tl__date {
    grid-column: 3;
    align-items: flex-start;
    text-align: left;
  }
  .entry__body .gh-tl__item:nth-child(odd) .gh-tl__card { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .entry__body .gh-tl__item::before { transition: none; }
}

/* ---------- Side by side: People-Powered and A New Governor ---------- */

.entry__body .gh-side {
  display: grid;
  gap: 40px;
}
.entry__body .gh-side__text > :first-child { margin-top: 0; }
.entry__body .gh-side__text > :last-child { margin-bottom: 0; }
.entry__body .gh-side__text p { margin: 1em 0; }
.entry__body .gh-side__text h2 + p { margin-top: 0.5em; }
.entry__body .gh-side .wp-block-image { margin: 0; }
@media (min-width: 1024px) {
  .entry__body .gh-side {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
  }
}

/* Collage over the lilac star */
.entry__body .gh-donors { overflow-x: clip; }
.entry__body .gh-collage {
  position: relative;
  isolation: isolate;
  max-width: 480px;
  margin: 0 auto;
}
.entry__body .gh-collage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -22% -18% -22% -10%;
  background: url("media/lilac-star.png") center / contain no-repeat;
  pointer-events: none;
}

/* 99% small-dollar stat */
.mscs .viz {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 1.5em;
  padding: 20px;
  background: var(--tint);
  border-radius: 4px;
}
.mscs .big-stat {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mscs .big-stat b {
  flex: none;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 0.9;
  color: var(--plum);
}
.mscs .big-stat span {
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
}
.mscs .bar-track {
  height: 14px;
  background: var(--lav-2);
  border-radius: 2px;
  overflow: hidden;
}
.mscs .bar-fill {
  height: 100%;
  background: var(--pink-peach);
  border-radius: 2px;
}
.mscs .bar-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- The Results ---------- */

.entry__body .gh-results h2,
.entry__body .gh-results h3,
.entry__body .gh-results p { color: inherit; }
/* Left-aligned heading: out of the theme's centered 760px heading box so it
   lines up with the stat cards' left edge */
.entry__body .gh-results > h2 {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.entry__body .gh-stats {
  display: grid;
  column-gap: 56px;
}
.entry__body .gh-stat { padding: 28px 0; }
.entry__body .gh-stat:first-child {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 28px 22px;
  background: var(--plum-2);
  border-radius: 4px;
}
.entry__body .gh-results .gh-stat__big {
  margin: 0;
  font-family: var(--serif);
  font-size: 44px;
  line-height: 0.95;
  color: #fff;
}
.entry__body .gh-results .gh-stat__label {
  margin: 0.9em 0 0;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--pink);
}
.entry__body .gh-stat__text h3 {
  margin: 16px 0 8px;
  font-size: 22px;
  line-height: 1.2;
}
.entry__body .gh-results .gh-stat__text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(244, 241, 250, 0.88);
}
.entry__body .gh-stat:first-child .gh-stat__text h3 { margin-top: 4px; font-size: 26px; }
@media (min-width: 768px) {
  .entry__body .gh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry__body .gh-stat:first-child {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px 48px;
    align-items: center;
    padding: 40px 44px;
  }
  .entry__body .gh-results .gh-stat__big { font-size: 52px; }
  .entry__body .gh-results .gh-stat:first-child .gh-stat__big { font-size: 64px; }
  .entry__body .gh-stat:first-child .gh-stat__text h3 { margin-top: 0; font-size: 30px; }
}
@media (min-width: 1280px) {
  .entry__body .gh-results .gh-stat:first-child .gh-stat__big { font-size: 76px; }
  .entry__body .gh-stat__text h3 { font-size: 24px; }
  .entry__body .gh-stat:first-child .gh-stat__text h3 { font-size: 32px; }
}

/* ---------- Creative ---------- */

.entry__body .gh-creative .gh-creative__head {
  max-width: none;
  margin: 72px 0 0;
}
.entry__body .gh-creative .gh-creative__intro {
  margin-top: 0.6em;
  max-width: 720px;
  color: var(--muted);
}
@media (min-width: 1024px) {
  .entry__body .gh-creative .gh-creative__head { margin-top: 112px; }
}

/* Captions under the mockups */
.mscs .cap {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.mscs .cap a { color: inherit; text-underline-offset: 3px; }

/* Partner copy resets: the mockups set their own spacing */
.entry__body .mscs :is(.mail, .texts, .gh-spots, .site-controls, .viz) p { margin: 0; }

/* Email: inbox mockup */
.mscs .mail {
  margin-top: 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(35, 31, 44, 0.06), 0 16px 48px rgba(35, 31, 44, 0.1);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #202124;
}
.mscs .mail-top { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid #ECEFF4; color: #5F6368; }
.mscs .mail-top svg { flex: none; }
.mscs .mail-brand { font-size: 18px; color: #3C4043; }
.mscs .mail-search { display: none; }
.mscs .mail-me { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
.mscs .mail-body { display: grid; grid-template-columns: minmax(0, 1fr); }
.mscs .mail-list { display: flex; overflow-x: auto; border-bottom: 1px solid #ECEFF4; }
.mscs .mail-item { flex: 0 0 250px; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 1px; align-items: baseline; text-align: left; border: 0; border-right: 1px solid #F1F3F4; background: #fff; padding: 14px 16px; font: inherit; color: inherit; }
.mscs .mail-item:hover { background: #F6F8FC; }
.mscs .mail-item[aria-selected="true"] { background: #E8F0FE; box-shadow: inset 0 -3px 0 #0B57D0; }
.mscs .mail-pic { grid-row: 1 / 4; align-self: start; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.mscs .mail-pic--logo { display: grid; place-items: center; background: #4A1518; border-radius: 50%; overflow: hidden; flex: none; }
.mscs .mail-pic--logo img { width: 70%; height: auto; filter: brightness(0) invert(1); }
.mscs .mail-from { font-size: 13px; font-weight: 700; }
.mscs .mail-time { font-size: 11px; color: #5F6368; }
.mscs .mail-subj, .mscs .mail-snip { grid-column: 2 / 4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mscs .mail-subj { font-size: 13px; font-weight: 600; }
.mscs .mail-snip { font-size: 12px; color: #5F6368; }
.mscs .mail-pane { height: 620px; overflow-y: auto; overscroll-behavior: contain; }
.mscs .mail-msg { padding: 18px 16px 24px; }
.mscs .mail-subject { font-size: 21px; line-height: 1.3; color: #1F1F1F; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mscs .mail-label { font-size: 11px; line-height: 1.5; background: #DDDDE3; color: #444; border-radius: 4px; padding: 1px 6px; }
.mscs .mail-meta { display: flex; align-items: center; gap: 12px; margin-top: 16px; line-height: 1.3; }
.mscs .mail-meta b { display: block; font-size: 13.5px; }
.mscs .mail-meta span { color: #5F6368; font-size: 12px; }
.mscs .mail-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.mscs .mail-date { display: none; margin-left: auto; }
.mscs .em { max-width: 600px; margin: 22px auto 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; color: #180101; display: flex; flex-direction: column; gap: 14px; }
.mscs .em-logo { width: 300px; max-width: 80%; margin: 0 auto 6px; }
.mscs .em a { color: #0B57D0; }
.mscs .em-hl { background: #D9EAD3; }
.mscs .em-hl2 { background: #D8E8C4; }
.mscs .em-center, .mscs .em-centered { text-align: center; }
.mscs .em-center img { display: inline-block; width: auto; max-width: 100%; height: auto; }
.entry__body .mscs .em ul { margin: 0; padding-left: 24px; list-style: disc; }
.entry__body .mscs .em li { margin: 0; line-height: 1.5; }
.entry__body .mscs .em li::before { display: none; }
/* An indented run of lines in an email (the theme's pink-rule quote style is
   for the body's quotes, not these) */
.entry__body .mscs blockquote.em-quote { margin: 0 0 0 28px; padding: 0; border: 0; line-height: 1.5; display: flex; flex-direction: column; gap: 14px; }
.entry__body .mscs blockquote.em-quote p { margin: 0; line-height: 1.5; }
.mscs .em-btns { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-block: 8px; }
.mscs .em-btn { width: 100%; max-width: 300px; background: #6B8E23; border-bottom: 2px solid #4A0404; border-radius: 6px; color: #F1EEFA; font: 700 17px/1.15 Helvetica, Arial, sans-serif; text-align: center; padding: 13px 8px 12px; }
.mscs .em-pfb { align-self: center; border: 1px solid #161414; padding: 7px 10px 9px; font-size: 13px; font-weight: 300; margin-top: 18px; }
.mscs .mail-next { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: 100%; max-width: 600px; margin: 30px auto 0; border: 1px solid #DADCE0; background: #fff; border-radius: 999px; padding: 10px 16px; font-family: var(--ui); font-weight: 600; font-size: 11px; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: var(--plum); }
.mscs .mail-next:hover { background: #F6F8FC; }
@media (min-width: 768px) {
  .mscs .mail-search { flex: 1; max-width: 420px; display: flex; align-items: center; gap: 10px; background: #EAF1FB; border-radius: 999px; padding: 8px 16px; font-size: 13px; margin-left: 12px; }
  .mscs .mail-date { display: block; }
  .mscs .mail-msg { padding: 22px 28px 32px; }
}
@media (min-width: 1024px) {
  .mscs .mail-body { grid-template-columns: 330px minmax(0, 1fr); height: 720px; }
  .mscs .mail-list { display: block; overflow-y: auto; border-bottom: 0; border-right: 1px solid #ECEFF4; }
  .mscs .mail-item { width: 100%; border-right: 0; border-bottom: 1px solid #F1F3F4; }
  .mscs .mail-item[aria-selected="true"] { box-shadow: inset 3px 0 0 #0B57D0; }
  .mscs .mail-pane { height: auto; }
}

/* Text: iMessage phones, a swipeable row on phones, three across on desktop */
.mscs .texts {
  display: flex;
  gap: 24px;
  margin: 32px calc(var(--gutter) * -1) 0;
  padding: 4px var(--gutter) 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
}
.mscs .tx { flex: 0 0 280px; margin: 0; display: flex; flex-direction: column; gap: 12px; scroll-snap-align: start; }
.mscs .ph { position: relative; width: 280px; height: 576px; background: #17151C; border-radius: 46px; padding: 10px; box-shadow: inset 0 0 0 2px #3A3642, 0 18px 40px rgba(35, 31, 44, 0.18); }
.mscs .ph-island { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 82px; height: 24px; border-radius: 12px; background: #000; z-index: 2; }
.mscs .ph-screen { height: 100%; background: #fff; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #000; letter-spacing: 0; line-height: 1.4; }
.mscs .ph-status { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 4px 26px 0 30px; font-size: 14px; font-weight: 600; flex: none; }
.mscs .ph-head { display: flex; flex-direction: column; align-items: center; gap: 3px; background: #F7F7F8; border-bottom: 1px solid #E5E5EA; padding: 2px 0 8px; flex: none; }
.mscs .ph-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.mscs .ph-num { font-size: 11px; }
.mscs .ph-thread { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.mscs .ph-thread > * { flex-shrink: 0; }
.mscs .ph-stamp { text-align: center; font-size: 10px; line-height: 1.35; color: #8E8E93; margin-bottom: 4px; }
.mscs .bb { align-self: flex-start; max-width: 86%; background: #E9E9EB; color: #000; border-radius: 18px; padding: 7px 12px; font-size: 13.5px; line-height: 1.32; display: flex; flex-direction: column; gap: 8px; }
.mscs .bb a { color: #0A63D8; }
.mscs .bb-img { padding: 0; overflow: hidden; background: transparent; }
.mscs .bb-img img { width: 175px; display: block; }
.mscs .ph-input { display: flex; align-items: center; gap: 8px; padding: 8px 12px 18px; flex: none; }
.mscs .ph-plus { width: 30px; height: 30px; border-radius: 50%; background: #E9E9EB; color: #8E8E93; display: grid; place-items: center; font-size: 20px; line-height: 1; flex: none; }
.mscs .ph-field { flex: 1; border: 1px solid #D1D1D6; border-radius: 18px; padding: 6px 12px; font-size: 13px; color: #A1A1A6; }
@media (min-width: 1024px) {
  .mscs .texts {
    justify-content: center;
    gap: 36px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
  }
}

/* Ads: Facebook ad cards, media held to one 4:5 frame so the row lines up */
/* Ad-blocker filter lists hide elements classed "ad-item" (EasyList) or
   "ads", and some block "-ad" file names, so these mockups avoid both */
.mscs .gh-spots { display: grid; grid-template-columns: minmax(0, 360px); justify-content: center; gap: 32px; margin-top: 32px; align-items: start; }
.mscs .gh-spot { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mscs .fb { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 12px 32px -18px rgba(35, 31, 44, 0.35); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: 0; line-height: 1.4; color: #1C1E21; }
.mscs .fb-head { display: flex; gap: 10px; align-items: center; padding: 12px 14px 8px; }
.mscs .fb-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.mscs .fb-head > div { min-width: 0; flex: 1; }
.mscs .fb-head b { display: block; font-size: 14px; }
.mscs .fb-head span { display: block; font-size: 12px; color: #65676B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mscs .fb-dots { color: #65676B; font-weight: 700; letter-spacing: 1px; flex: none; }
.mscs .fb-copy { padding: 0 14px 10px; font-size: 13.5px; line-height: 1.4; height: 88px; }
.mscs .fb-copy p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.mscs .fb-more { color: #65676B; font-weight: 600; }
.mscs .fb-media { aspect-ratio: 4 / 5; background: #000; overflow: hidden; }
.mscs .fb-media video, .mscs .fb-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mscs .fb-media--contain img { object-fit: contain; }
.mscs .fb-media--top img { object-position: 50% 0; }
.mscs .fb-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: #F0F2F5; }
.mscs .fb-foot > div { display: flex; flex-direction: column; min-width: 0; }
.mscs .fb-foot span { font-size: 11px; color: #65676B; }
.mscs .fb-foot b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mscs .fb-foot .fb-btn { background: #E4E6EB; color: #1C1E21; font-weight: 600; font-size: 13px; padding: 7px 12px; border-radius: 6px; white-space: nowrap; flex: none; }
.mscs .fb-actions { display: flex; justify-content: space-around; padding: 9px 14px; border-top: 1px solid #E4E6EB; font-size: 13px; font-weight: 600; color: #65676B; }
@media (min-width: 1024px) {
  .mscs .gh-spots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}

/* Website: desktop window with a phone over its right edge; the transition
   site wipes in over the campaign site */
.mscs .site-stage { position: relative; max-width: 1040px; margin: 32px auto 0; padding-bottom: 32px; }
.mscs .browser { width: 88%; background: #fff; border: 1px solid #E3DFEB; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(35, 31, 44, 0.06), 0 16px 48px rgba(35, 31, 44, 0.12); }
.mscs .browser-bar { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; background: var(--lav); border-bottom: 1px solid #E3DFEB; }
.mscs .browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D6D1E2; flex: none; }
.mscs .browser-url { margin: 0 auto; min-width: 0; max-width: 60%; padding: 3px 10px; background: #fff; border: 1px solid #E3DFEB; border-radius: 999px; font-family: var(--sans); font-size: 10px; line-height: 1.4; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mscs .screen, .mscs .sp-screen { position: relative; overflow: hidden; }
.mscs .screen { aspect-ratio: 16 / 10; }
.mscs .screen img, .mscs .sp-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mscs .layer-b { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.35, 1); }
.mscs .site-stage.show-b .layer-b { clip-path: inset(0 0 0 0); }
.mscs .site-phone { position: absolute; left: 76%; top: 22%; width: 24%; max-width: 250px; }
.mscs .sp-frame { position: relative; background: #17151C; padding: 4px; border-radius: 16px; box-shadow: inset 0 0 0 2px #3A3642, 0 18px 40px rgba(35, 31, 44, 0.18); }
.mscs .sp-island { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 30%; height: 7px; border-radius: 8px; background: #000; z-index: 2; }
.mscs .sp-screen { aspect-ratio: 390 / 844; border-radius: 12px; background: #141414; }
.mscs .sp-screen img { top: 7%; height: 93%; }
.mscs .site-phone .layer-b { transition-delay: 0.12s; }
.mscs .site-controls { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; }
.mscs .site-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--lav-2); }
.mscs .site-toggle button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font-family: var(--ui); font-weight: 600; font-size: 11px; line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mscs .site-toggle button[aria-pressed="true"] { background: var(--plum); color: var(--lav); }
@media (min-width: 600px) {
  .mscs .site-stage { padding-bottom: 48px; }
  .mscs .browser-bar { gap: 7px; height: 44px; padding: 0 16px; }
  .mscs .browser-bar i { width: 11px; height: 11px; }
  .mscs .browser-url { transform: translateX(-24px); padding: 5px 16px; font-size: 12px; }
  .mscs .sp-frame { padding: 7px; border-radius: 30px; }
  .mscs .sp-screen { border-radius: 24px; }
  .mscs .sp-island { top: 15px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mscs .layer-b { transition: none; }
}

/* ---------- Praise from the Campaign ---------- */

/* The theme's quote style (pink glyph, italic, mono cite), set two up */
.entry__body .gh-quotes {
  display: grid;
  gap: 72px;
  padding-left: 14px; /* room for the glyph inside the phone gutter */
}
/* Clear of the heading's bar: the glyph rises 15-28px above each quote.
   .gh-praise outranks the band's "h2 + *" margin. */
.entry__body .gh-praise .gh-quotes { margin-top: 64px; }
@media (min-width: 768px) {
  .entry__body .gh-quotes { padding-left: 0; }
}
.entry__body .mscs blockquote.gh-quote { margin: 0; }
@media (min-width: 1024px) {
  .entry__body .gh-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry__body .gh-praise .gh-quotes { margin-top: 88px; }
}

/* ---------- A New Governor for Texas ---------- */

.entry__body .gh-side--impact { align-items: center; }
.entry__body .gh-impact__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 75% 35%;
  border-radius: 2px;
}
.entry__body .gh-impact__photo figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
@media (min-width: 1024px) {
  .entry__body .gh-side--impact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
}
