/*
 * Clickso homepage modern responsive refinements
 * Load after css/style.css. Existing legacy selectors are preserved.
 */
:root {
  --clickso-navy: #172554;
  --clickso-navy-deep: #111827;
  --clickso-red: #e21d2b;
  --clickso-red-dark: #c81725;
  --clickso-blue: #2563eb;
  --clickso-text: #243247;
  --clickso-muted: #627187;
  --clickso-border: #e4e9f1;
  --clickso-soft: #f5f8fc;
}

html { scroll-behavior: smooth; }
body {
  color: var(--clickso-text);
  font-family: "Roboto", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; }
a { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .55);
  outline-offset: 3px;
}
h1, h2, h3 { line-height: 1.2; }
.wrapper { overflow: clip; }
.container { max-width: 1200px; }

/* Keep the existing navbar and dynamically loaded header in place. */
#mNavbar, .navbar-default {
  border: 0;
  border-radius: 0;
  margin-bottom: 0;
}
#mNavbar {
  z-index: 1000;
  box-shadow: 0 3px 18px rgba(12, 22, 40, .12);
}
.navbar-brand img { max-height: 54px; width: auto; }
.navbar-default .navbar-toggle { border-color: rgba(255,255,255,.35); }
.navbar-default .navbar-toggle .icon-bar { background: currentColor; }
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { background: rgba(255,255,255,.1); }

/* Announcement strip for the new service. */
.watchdog-announcement {
  position: relative;
  z-index: 2;
  background: linear-gradient(100deg, #c81725 0%, #ed1c2e 58%, #c81725 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.watchdog-announcement__inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.watchdog-announcement p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}
.watchdog-announcement p strong { font-weight: 700; }
.watchdog-announcement p span { margin-left: 9px; color: rgba(255,255,255,.92); }
.watchdog-announcement__button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 16px;
  background: #fff;
  color: var(--clickso-red-dark) !important;
  border: 1px solid #fff;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.watchdog-announcement__button:hover {
  color: #fff !important;
  background: transparent;
  text-decoration: none;
}

/* Hero: keep the existing video and copy, improve readability and CTA presentation. */
.video-background-holder { position: relative; isolation: isolate; }
.video-background-overlay {
  background: linear-gradient(90deg, rgba(8,13,23,.64), rgba(8,13,23,.42) 50%, rgba(8,13,23,.58));
}
.video-background-content { padding-top: clamp(65px, 9vw, 125px); padding-bottom: clamp(65px, 8vw, 110px); }
.video-background-content h1 {
  max-width: 940px;
  margin: 0 auto 26px;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.hm_bx01_btn01 {
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid var(--clickso-red);
  border-radius: 3px;
  background: rgba(12,18,30,.32);
  color: #fff;
  font-weight: 700;
  letter-spacing: .035em;
  transition: background .18s ease, transform .18s ease;
}
.hm_bx01_btn01:hover, .hm_bx01_btn01:focus {
  color: #fff;
  background: var(--clickso-red);
  transform: translateY(-1px);
}

/**/
button {
  /* Generic styles for a button */
  width: 100%;
  margin: 15px 0 0 0;
  font-size: 16px;
  color: #000;
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 5px;
  padding: 12px 16px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

button:hover {
  /* Generic Hover style for a button */
  color: #fff;
}

button::after {
  /* Adds the overlay for creating slide effect */
  content: '';
  position: absolute;
  background-color: #cb0000;
  z-index: -1;
  padding: 0.25em 0.5em;
  display: block;
  transition: all 0.35s;
}

button:hover::after {
  /* Hover effect for the overlay slide effect */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 0.35s;
}

.left-slide::after {
  top: 0;
  bottom: 0;
  left: -100%;
  right: 100%;
}

/**/
button.alt01 {
  /* Generic styles for a button */
  width: 100%;
  margin: 15px 0 0 0;
  font-size: 16px;
  color: #fff;
  background-color: #cb0000;
  border: 2px solid red;
  border-radius: 5px;
  padding: 12px 16px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

button.alt01:hover {
  /* Generic Hover style for a button */
  color: #fff;
}

button.alt01::after {
  /* Adds the overlay for creating slide effect */
  content: '';
  position: absolute;
  background-color: #232223;
  z-index: -1;
  padding: 0.25em 0.5em;
  display: block;
  transition: all 0.35s;
}

button.alt01:hover::after {
  /* Hover effect for the overlay slide effect */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 0.35s;
}

.left-slide01::after {
  top: 0;
  bottom: 0;
  left: -100%;
  right: 100%;
}
/**/

.watchdog-hero-cta { margin-top: 14px; }
.watchdog-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--clickso-red);
  border-radius: 3px;
  background: var(--clickso-red);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .045em;
  text-decoration: none !important;
  box-shadow: 0 7px 20px rgba(0,0,0,.18);
}
.watchdog-hero-button:hover {
  background: var(--clickso-red-dark);
  border-color: var(--clickso-red-dark);
  transform: translateY(-1px);
}

/* Existing Advertise/Publish content: more balanced spacing and readable body text. */
.hm_bx02 { padding-top: 56px; padding-bottom: 56px; background: #fff; }
.hm_bx02 .alt01 {
  margin-bottom: 15px;
  color: var(--clickso-red);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 500;
}
.hm_bx02 .alt02 {
  color: var(--clickso-muted);
  font-size: 14px;
  line-height: 1.85;
}
.hm_bx02_bor { border-left: 1px solid var(--clickso-border); }
.hm_bx02_btn01 {
  min-height: 40px;
  margin-top: 12px;
  padding: 10px 16px;
  border: 1px solid var(--clickso-red);
  border-radius: 2px;
  background: #fff;
  color: var(--clickso-red);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.hm_bx02_btn01:hover, .hm_bx02_btn01:focus {
  background: var(--clickso-red);
  color: #fff;
}

/* New dedicated Link Watchdog promotion, placed before the existing dark feature band. */
.watchdog-promo-row { margin: 0; }
.watchdog-promo {
  padding: 30px 0;
  background: linear-gradient(110deg, #f7f9fc 0%, #edf3fb 100%);
  border-top: 1px solid #e8edf5;
  border-bottom: 1px solid #e1e8f2;
}
.watchdog-promo__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.watchdog-promo__icon {
  display: flex;
  flex: 0 0 62px;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 2px solid var(--clickso-red);
  border-radius: 50%;
  color: var(--clickso-red);
  font-size: 25px;
}
.watchdog-promo__copy { flex: 1 1 auto; min-width: 0; }
.watchdog-promo__eyebrow {
  margin: 0 0 5px;
  color: var(--clickso-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}
.watchdog-promo__copy h2 {
  margin: 0 0 6px;
  color: #172033;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -.02em;
}
.watchdog-promo__copy p:last-child {
  margin: 0;
  color: var(--clickso-muted);
  font-size: 14px;
  line-height: 1.7;
}
.watchdog-promo__action { flex: 0 0 auto; }
.watchdog-promo__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--clickso-red);
  border-radius: 3px;
  background: var(--clickso-red);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none !important;
}
.watchdog-promo__button:hover {
  background: var(--clickso-red-dark);
  border-color: var(--clickso-red-dark);
  box-shadow: 0 5px 15px rgba(200,23,37,.18);
}

/* Existing feature band and footer: preserve their original content and image references. */
.hm_bx03 { padding-top: 58px; padding-bottom: 58px; }
.hm_bx03 .alt01 { font-size: 19px; line-height: 1.35; }
.hm_bx03 .alt02 { font-size: 13px; line-height: 1.8; }
.footer { font-size: 13px; line-height: 1.7; }
.footer input, .footer textarea {
  width: 100%;
  max-width: 100%;
  border-radius: 2px;
  box-sizing: border-box;
}
.footer input { min-height: 40px; padding: 10px 12px; }
.footer textarea { min-height: 100px; padding: 10px 12px; resize: vertical; }
.footer a:hover { opacity: .82; }
#back_to_top { z-index: 999; }

/* Responsive layout */
@media (max-width: 991px) {
  .watchdog-announcement__inner { align-items: flex-start; }
  .watchdog-announcement p span { display: block; margin: 2px 0 0; }
  .hm_bx02_bor { border-left: 0; }
  .hm_bx02 .pad_left { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--clickso-border); }
  .watchdog-promo__inner { gap: 18px; }
  .watchdog-promo__action { max-width: 220px; }
}
@media (max-width: 767px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .watchdog-announcement__inner {
    display: block;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .watchdog-announcement p { font-size: 13px; }
  .watchdog-announcement__button { margin-top: 10px; width: 100%; }
  .video-background-content { padding-top: 58px; padding-bottom: 58px; }
  .video-background-content h1 { font-size: 29px; line-height: 1.25; margin-bottom: 22px; }
  .video-background-content .row { margin-left: -6px; margin-right: -6px; }
  .video-background-content [class*="col-"] { padding-left: 6px; padding-right: 6px; }
  .hm_bx01_btn01 { white-space: normal; font-size: 11px; padding: 10px 7px; }
  .watchdog-hero-cta { margin-top: 12px; }
  .watchdog-hero-button { min-height: 44px; }
  .hm_bx02 { padding-top: 38px; padding-bottom: 38px; }
  .hm_bx02 .alt01 { font-size: 21px; }
  .hm_bx02 .alt02 { font-size: 14px; }
  .hm_bx02 .col-md-4 { width: 50%; }
  .watchdog-promo { padding: 28px 0; }
  .watchdog-promo__inner { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .watchdog-promo__icon { width: 50px; height: 50px; font-size: 20px; }
  .watchdog-promo__copy h2 { font-size: 23px; }
  .watchdog-promo__copy p:last-child { font-size: 13px; }
  .watchdog-promo__eyebrow { font-size: 10px; }
  .watchdog-promo__action { grid-column: 1 / -1; max-width: none; }
  .watchdog-promo__button { width: 100%; box-sizing: border-box; }
  .hm_bx03 { padding-top: 40px; padding-bottom: 40px; }
  .hm_bx03 .pad01 + .pad01 { margin-top: 30px; }
  .footer .pad01 { margin-bottom: 25px; }
  .footer .text-right { text-align: left; margin-top: 12px; }
  .footer input, .footer textarea { margin-bottom: 10px; }
}
@media (max-width: 380px) {
  .video-background-content h1 { font-size: 25px; }
  .hm_bx01_btn01 { font-size: 10px; }
  .watchdog-promo__copy h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* === Hero CTA visibility and mobile optimization ===
   Keep these overrides at the end of this stylesheet. */
.video-background-holder {
  position: relative;
  min-height: 440px;
  height: auto;
  overflow: hidden;
}

.video-background-holder > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.video-background-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg,
    rgba(8, 13, 23, .76) 0%,
    rgba(8, 13, 23, .58) 52%,
    rgba(8, 13, 23, .72) 100%);
}

.video-background-content {
  position: relative;
  z-index: 1;
  padding-top: clamp(34px, 5vw, 68px);
  padding-bottom: 38px;
}

.video-background-content h1 {
  max-width: 1040px;
  margin: 0 auto 22px;
  font-size: clamp(27px, 3.2vw, 44px);
  line-height: 1.16;
}

.video-background-content .hm_bx01_btn01 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 13px 12px;
  border: 2px solid #fff;
  border-radius: 5px;
  background: #d7192d;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .06em;
  text-align: center;
  text-shadow: none;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .32);
  opacity: 1;
  text-decoration: none !important;
}

.video-background-content .hm_bx01_btn01:hover,
.video-background-content .hm_bx01_btn01:focus-visible {
  background: #a90f20;
  border-color: #fff;
  color: #fff !important;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .4);
  transform: translateY(-2px);
}

.video-background-content .row.watchdog-hero-cta {
  margin-top: 14px;
}

@media (max-width: 767px) {
  .video-background-holder { min-height: 0; }

  .video-background-content {
    padding-top: 34px;
    padding-bottom: 28px;
  }

  .video-background-content h1 {
    margin-bottom: 20px;
    font-size: clamp(25px, 7vw, 32px);
    line-height: 1.2;
  }

  .video-background-content .hm_bx01_btn01 {
    min-height: 50px;
    padding: 10px 5px;
    font-size: clamp(10px, 2.8vw, 12px);
    letter-spacing: .025em;
    overflow-wrap: anywhere;
  }

  .video-background-content .row.watchdog-hero-cta { margin-top: 12px; }
  .video-background-content .watchdog-hero-button { min-height: 46px; }
}

@media (max-width: 380px) {
  .video-background-content {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .video-background-content h1 { font-size: 25px; }

  .video-background-content .hm_bx01_btn01 {
    font-size: 10px;
    padding-left: 3px;
    padding-right: 3px;
  }
}


/* === Full-width Chicago skyline hero video fix ===
   The video spans the viewport; overlay and hero content sit above it. */
.video-background-holder {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #050608;
}

.video-background-holder > video {
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  right: auto !important;
  bottom: 0 !important;
  width: 100vw !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: translateX(-50%) !important;
  z-index: 0 !important;
}

.video-background-holder > .video-background-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  pointer-events: none;
  background: linear-gradient(110deg,
    rgba(8, 13, 23, .58) 0%,
    rgba(8, 13, 23, .42) 50%,
    rgba(8, 13, 23, .58) 100%) !important;
}

.video-background-holder > .video-background-content {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
}

@media (max-width: 767px) {
  .video-background-holder > video {
    width: 100vw !important;
    object-position: center center !important;
  }
}


/* === Mobile Link Watchdog introduction layout fix ===
   Stack the icon, copy and action so the copy uses the full available width. */
@media (max-width: 767px) {
  .watchdog-promo {
    width: 100%;
    box-sizing: border-box;
    padding: 26px 0;
    overflow: hidden;
  }

  .watchdog-promo .container,
  .watchdog-promo__inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .watchdog-promo__inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start;
    gap: 16px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .watchdog-promo__icon {
    align-self: center;
    flex: 0 0 50px;
    width: 50px;
    min-width: 50px;
    height: 50px;
    margin: 0 auto;
  }

  .watchdog-promo__copy {
    display: block;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .watchdog-promo__eyebrow {
    width: 100%;
    margin: 0 0 8px;
    font-size: 11px;
    line-height: 1.55;
    letter-spacing: .08em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .watchdog-promo__copy h2 {
    width: 100%;
    max-width: none;
    margin: 0 0 8px;
    font-size: clamp(22px, 6vw, 27px);
    line-height: 1.25;
    overflow-wrap: normal;
    word-break: normal;
  }

  .watchdog-promo__copy p:last-child {
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: normal;
    word-break: normal;
  }

  .watchdog-promo__action {
    display: block;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
  }

  .watchdog-promo__button {
    display: flex;
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
  }
}
