:root {
  --bg-light: #ffffff;
  --text-dark: #000000;
  --text-muted: #555555;
  --border-dark: #111111;
  --accent-gray: #f5f5f5;
}

body.ed-body-override {
  background-color: var(--bg-light) !important;
  color: var(--text-dark) !important;
}

.polaroid-split-layout {
  display: grid;
  grid-template-columns: 1fr;
  margin: 60px 0 60px 0;
  border-top: 2px solid var(--text-dark);
}

@media (min-width: 992px) {
  .polaroid-split-layout {
    grid-template-columns: 5fr 7fr;
  }
}

.interactive-sidebar {
  padding: 40px 0;
  border-bottom: 1px solid #e0e0e0;
}

@media (min-width: 992px) {
  .interactive-sidebar {
    position: sticky;
    top: 140px;
    height: calc(100vh - 200px);
    padding-right: 60px;
    border-bottom: none;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

.parameter-matrix-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.parameter-matrix-table tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s ease;
}

.parameter-matrix-table tr:hover {
  background-color: var(--accent-gray);
}

.parameter-matrix-table td {
  padding: 16px 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark) !important;
}

.parameter-matrix-table tr td:last-child {
  text-align: right;
  font-weight: 700;
}

.cta-action-wrap {
  margin-top: 40px;
}

.monolith-cta-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 26px;
  background: var(--text-dark);
  color: var(--bg-light) !important;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-decoration: none;
  border: 2px solid var(--text-dark);
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.monolith-cta-btn:hover {
  background: var(--bg-light);
  color: var(--text-dark) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.interactive-content-stream {
  padding: 40px 0;
}

@media (min-width: 992px) {
  .interactive-content-stream {
    padding-left: 80px;
  }
}

.interactive-disclosure-card {
  border-bottom: 1px solid #e0e0e0;
  padding: 40px 0;
  transition: transform 0.3s ease;
}

.interactive-disclosure-card:first-child {
  padding-top: 0;
}

.interactive-disclosure-card:hover {
  transform: translateX(8px);
}

.card-kicker {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}

/* UPGRADED HEADER SELECTOR RULES */
.interactive-disclosure-card h2 {
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dark) !important;
  margin: 0 0 20px 0;
  font-weight: 700;
}

.interactive-disclosure-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted) !important;
  margin: 0;
}

.delivery-matrix-grid {
  width: 100%;
  border-collapse: collapse;
  margin-top: 25px;
}

.delivery-matrix-grid tr {
  border-bottom: 1px solid #e5e5e5;
  transition: border-color 0.2s ease;
}

.delivery-matrix-grid tr:hover {
  border-bottom: 1px solid var(--text-dark);
}

.delivery-matrix-grid td {
  padding: 20px 0;
  vertical-align: top;
}

.matrix-title-cell {
  width: 35%;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark) !important;
  padding-right: 20px;
}

.matrix-desc-cell {
  width: 65%;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted) !important;
}

.polaroid-gallery-headline {
  margin-top: 60px;
  border-top: 1px solid #e0e0e0;
  padding-top: 30px;
}

.polaroid-grid-five {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 30px 0 120px 0;
}

@media (min-width: 600px) {
  .polaroid-grid-five {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .polaroid-grid-five {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
}

.grid-image-item {
  position: relative;
  background: var(--accent-gray);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid #e5e5e5;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-image-item:hover {
  border-color: var(--text-dark);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.grid-image-item:hover img {
  transform: scale(1.04);
}

.grid-image-overlay-num {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border: 1px solid #e5e5e5;
}