/* Flag video modal — Plyr + WTV chrome; no close button (click away / Esc) */

.flag-video-trigger {
  float: left;
  width: 52%;
  max-width: 36rem;
  margin: 0 1.75rem 1rem 0;
  display: block;
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
}

.flag-video-trigger img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Backdrop */
.flag-video-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.flag-video-modal.is-open {
  display: flex !important;
}

/* Shell matches WTV .plyr-feature */
.flag-video-stage {
  position: relative;
  cursor: default;
  width: min(1280px, calc(100vw - 32px));
  max-width: min(1280px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 64px));
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 0.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.flag-video-stage .plyr,
.flag-video-stage .plyr--video,
.flag-video-stage .plyr__video-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  background: #000 !important;
}

.flag-video-stage video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(720px, calc(100vh - 64px));
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

/* Close button removed — never show legacy × / CLOSE */
.flag-video-modal .flag-video-x,
#flag-video-x,
button#flag-video-x,
.flag-video-modal .plyr__control--overlaid[data-plyr="close"],
.lightcase-icon-close {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

body.flag-video-open {
  overflow: hidden !important;
}

/* Restoration home block: smaller flag left, text wraps right + under */
.flagship-restoration {
  width: 100%;
  max-width: none;
  overflow: hidden; /* clear floats */
}

.flagship-restoration-grid {
  display: block;
  width: 100%;
}

.flagship-restoration-media-col {
  float: left;
  width: calc(50% - 0.875rem);
  max-width: none;
  box-sizing: border-box;
  margin: 0.15rem 1.75rem 1rem 0;
  position: static;
  min-width: 0;
}

@media (min-width: 1024px) {
  .flagship-restoration-media-col {
    width: calc(50% - 0.875rem);
    max-width: none;
    margin: 0.15rem 1.75rem 1rem 0;
  }
}

@media (max-width: 767px) {
  .flagship-restoration-media-col {
    float: none;
    width: 100%;
    max-width: 22rem;
    margin: 0 auto 1.25rem;
  }
}

.flagship-restoration .flag-video-trigger.flagship-restoration-media {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0.65rem;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 14px 32px rgba(0, 0, 0, 0.35);
  background: #0b0b0b;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  display: block;
}

.flagship-restoration .flag-video-trigger.flagship-restoration-media:hover,
.flagship-restoration .flag-video-trigger.flagship-restoration-media:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 18px 40px rgba(0, 0, 0, 0.45);
  outline: none;
}

.flagship-restoration .flag-video-trigger.flagship-restoration-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 35%;
}

/* Play affordance — flag is a video trigger */
.flagship-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.28) 100%);
}

.flagship-play__btn {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 15, 15, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.flagship-play__btn svg {
  width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.12rem;
  fill: #fff;
}

.flagship-restoration .flag-video-trigger.flagship-restoration-media:hover .flagship-play__btn,
.flagship-restoration .flag-video-trigger.flagship-restoration-media:focus-visible .flagship-play__btn {
  transform: scale(1.06);
  background: rgba(218, 13, 0, 0.88);
  border-color: #fff;
}

.flagship-play__label {
  position: absolute;
  left: 0.65rem;
  bottom: 0.55rem;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Text flows to the right of the flag, then continues under it */
.flagship-restoration-copy {
  min-width: 0;
  max-width: none;
  color: #e5e7eb;
  display: block;
}

.flagship-restoration-copy p {
  margin: 0 0 1.05rem;
  color: #e5e7eb;
  line-height: 1.7;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .flagship-restoration-copy p {
    font-size: 1.0625rem;
    line-height: 1.75;
  }
}

.flagship-restoration-copy p.flagship-lead {
  color: #f3f4f6;
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 500;
  border-left: none;
  padding-left: 0;
}

@media (min-width: 768px) {
  .flagship-restoration-copy p.flagship-lead {
    font-size: 1.125rem;
    line-height: 1.72;
  }
}

.flagship-restoration-copy p:last-child {
  margin-bottom: 0 !important;
}

/* clear float after block */
.flagship-restoration-grid::after {
  content: "";
  display: table;
  clear: both;
}

/* Flagship module title: less dead air above the flag/text */
.flagship-restoration-module .mb-16 {
  margin-bottom: 2rem !important;
}

@media (min-width: 768px) {
  .flagship-restoration-module .mb-16 {
    margin-bottom: 2.25rem !important;
  }
}

/* Play overlay removed — keep flag clean */
.flagship-restoration .flagship-play,
.flagship-restoration .flagship-play__btn,
.flagship-restoration .flagship-play__label {
  display: none !important;
}


/* cleaned content styles 2026-07-18T05:36:07.752749Z */
