
/* v1.8.8 Header/Footer Shell Critical Fix
   Removes old nested-main layout behavior and locks footer flow. */

/* Make sure page templates own their own main layout. */
.ncr-site-main-wrapper {
  display: contents !important;
}

/* Header should never push full page width sideways. */
.ncr-v187-header,
.ncr-v187-header * {
  box-sizing: border-box;
}

/* Clean footer shell */
.ncr-v188-footer {
  width: 100%;
  margin: 0;
  padding: clamp(2.5rem, 5vw, 5rem) 0 1.2rem;
  background:
    radial-gradient(circle at 10% 0%, rgba(237,122,30,.18), transparent 28rem),
    linear-gradient(180deg, #20120c 0%, #110806 100%);
  color: #fff4e5;
  border-top: 1px solid rgba(245,170,61,.22);
  overflow: hidden;
}

.ncr-v188-footer,
.ncr-v188-footer * {
  box-sizing: border-box;
}

.ncr-v188-footer-inner {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.ncr-v188-footer-brand {
  display: grid;
  grid-template-columns: minmax(130px, 210px) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(255,244,229,.14);
}

.ncr-v188-footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.ncr-v188-footer-logo img {
  width: min(190px, 100%);
  height: auto;
  max-height: 120px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.28));
}

.ncr-v188-footer-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #f5aa3d;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .45rem;
}

.ncr-v188-footer h2 {
  color: #fff4e5 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(2rem, 4vw, 4.2rem) !important;
  line-height: .98 !important;
  letter-spacing: -.05em !important;
  margin: 0 0 .7rem !important;
  text-wrap: balance;
}

.ncr-v188-footer-brand p {
  max-width: 780px;
  color: rgba(255,244,229,.74);
  font-size: clamp(1rem, .96rem + .18vw, 1.12rem);
  line-height: 1.7;
  margin: 0;
}

.ncr-v188-footer-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.ncr-v188-footer-menu section {
  display: grid;
  gap: .55rem;
  min-width: 0;
}

.ncr-v188-footer-menu h3 {
  color: #fff4e5 !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
  margin: 0 0 .35rem !important;
  font-weight: 950 !important;
  letter-spacing: -.01em;
}

.ncr-v188-footer-menu a,
.ncr-v188-footer-menu span {
  color: rgba(255,244,229,.74) !important;
  text-decoration: none !important;
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ncr-v188-footer-menu a:hover,
.ncr-v188-footer-menu a:focus-visible {
  color: #f5aa3d !important;
}

.ncr-v188-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,244,229,.14);
  color: rgba(255,244,229,.62);
  font-size: .86rem;
  line-height: 1.5;
}

.ncr-v188-footer-bottom p {
  margin: 0;
  max-width: 680px;
}

/* Neutralize old footer-lock layout if cache or old CSS tries to override. */
.ncr-footer-lock {
  display: none !important;
}

/* Emergency body/layout protection */
body.ncr-theme {
  overflow-x: hidden;
}

.site-main,
#primary {
  min-width: 0;
}

@media (max-width: 920px) {
  .ncr-v188-footer-brand {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .ncr-v188-footer-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ncr-v188-footer-bottom {
    display: grid;
  }
}

@media (max-width: 560px) {
  .ncr-v188-footer {
    padding-top: 2.2rem;
  }

  .ncr-v188-footer-menu {
    grid-template-columns: 1fr;
  }

  .ncr-v188-footer-logo img {
    width: min(170px, 100%);
  }
}
