/*
 * Reventon Page Builder — spacing / max-width main CSS
 *
 * Upload:
 * wp-content/mu-plugins/reventon/assets/page-builder-layout-main.css
 *
 * Cel:
 * - przeniesienie poprawek max-width/padding/margins z luźnych zzz-home-layout-overrides.css
 *   do głównego ładowania Page Buildera.
 * - max-width treści: 1400px
 * - sekcje jako pełnoszerokie pasy tła
 * - równy padding góra/dół
 */

:root {
  --rev-page-max-width: 1400px;
  --rev-page-padding-x: 24px;
  --rev-page-padding-y: 84px;
  --rev-page-padding-y-sm: 64px;
  --rev-page-section-gap: 44px;
}

/* Kadence często ogranicza szerokość HTML bloków — sekcje Reventon mają wyjść na full width. */
body .entry-content :where(
  .rev-about-hero-section,
  .rev-partner-section,
  .rev-partner-stats-section,
  .rev-partner-benefits-section,
  .rev-groups-section,
  .rev-cats-section,
  .rev-calc-section,
  .rev-advanced-calculators-section,
  .rev-real2-section,
  .rev-forbes-section,
  .rev-value-tabs-section,
  .rev-global-map-section,
  .rev-pillars-section,
  .rev-timeline-section,
  .rev-bim-library-section,
  .rev-contact-section,
  .rev-contact-forms-tabs-section,
  .rev-contact-maps-section,
  .rev-contact-data-section,
  .rev-claim-form-section,
  .rev-faq-section,
  .rev-cta-section,
  .rev-downloads-section,
  .rev-blog-section
),
body :where(
  .rev-about-hero-section,
  .rev-partner-section,
  .rev-partner-stats-section,
  .rev-partner-benefits-section,
  .rev-groups-section,
  .rev-cats-section,
  .rev-calc-section,
  .rev-advanced-calculators-section,
  .rev-real2-section,
  .rev-forbes-section,
  .rev-value-tabs-section,
  .rev-global-map-section,
  .rev-pillars-section,
  .rev-timeline-section,
  .rev-bim-library-section,
  .rev-contact-section,
  .rev-contact-forms-tabs-section,
  .rev-contact-maps-section,
  .rev-contact-data-section,
  .rev-claim-form-section,
  .rev-faq-section,
  .rev-cta-section,
  .rev-downloads-section,
  .rev-blog-section
) {
  box-sizing: border-box !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-top: var(--rev-page-padding-y) !important;
  padding-bottom: var(--rev-page-padding-y) !important;
}

/* Sekcje, które naturalnie powinny być niższe. */
body :where(
  .rev-about-hero-section,
  .rev-partner-stats-section,
  .rev-cta-section
) {
  padding-top: var(--rev-page-padding-y-sm) !important;
  padding-bottom: var(--rev-page-padding-y-sm) !important;
}

/* Wewnętrzne kontenery treści — wspólny max-width 1400px. */
body :where(
  .rev-about-hero-inner,
  .rev-partner-inner,
  .rev-partner-stats,
  .rev-partner-stats-inner,
  .rev-partner-benefits-inner,
  .rev-groups-header,
  .rev-groups-tabs,
  .rev-groups-panels,
  .rev-cats-header,
  .rev-cats-grid,
  .rev-calc-header,
  .rev-calc-grid,
  .rev-advanced-calculators-inner,
  .rev-real2-inner,
  .rev-forbes-inner,
  .rev-value-tabs-inner,
  .rev-global-map-inner,
  .rev-pillars-inner,
  .rev-timeline-inner,
  .rev-bim-library-inner,
  .rev-contact-inner,
  .rev-contact-forms-tabs-inner,
  .rev-contact-maps-inner,
  .rev-contact-data-inner,
  .rev-claim-form-inner,
  .rev-faq-inner,
  .rev-cta-inner,
  .rev-downloads-inner,
  .rev-blog-inner
) {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: var(--rev-page-max-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--rev-page-padding-x) !important;
  padding-right: var(--rev-page-padding-x) !important;
}

/* Częste stare klasy innerów bez wrappera sekcji. */
body :where(
  .rev-cats-section > .rev-cats-grid,
  .rev-calc-section > .rev-calc-grid,
  .rev-groups-section > .rev-groups-panels,
  .rev-contact-section > .rev-contact-inner,
  .rev-forbes-section > .rev-forbes-inner
) {
  max-width: var(--rev-page-max-width) !important;
}

/* Tła sekcji — klasy ogólne używane przez migrator. */
body .rev-section-bg--white {
  background: #fff !important;
}

body .rev-section-bg--gray {
  background: #f8f8f8 !important;
}

body .rev-section-bg--dark {
  background-color: #1c1c1b !important;
  color: #fff !important;
}

/* Stałe tła dla najczęstszych sekcji home, gdy klasa bg nie została zapisana. */
body :where(.rev-groups-section, .rev-cats-section, .rev-support-section, .rev-downloads-section) {
  background: #f8f8f8 !important;
}

body :where(.rev-partner-section, .rev-calc-section, .rev-forbes-section, .rev-value-tabs-section, .rev-contact-section, .rev-faq-section) {
  background: #fff !important;
}

body :where(.rev-real2-section, .rev-cta-section) {
  background-color: #1c1c1b !important;
}

/* Rytm: nagłówek sekcji + treść. */
body :where(
  .rev-groups-header,
  .rev-cats-header,
  .rev-calc-header,
  .rev-forbes-header,
  .rev-contact-header,
  .rev-value-tabs-header,
  .rev-bim-library-header,
  .rev-partner-benefits-header
) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body .rev-groups-tabs {
  margin-top: 42px !important;
}

body :where(
  .rev-groups-panels,
  .rev-cats-grid,
  .rev-calc-grid,
  .rev-advanced-calculators-grid,
  .rev-forbes-inner,
  .rev-contact-inner,
  .rev-value-tabs-content,
  .rev-bim-library-grid,
  .rev-partner-benefits-grid,
  .rev-contact-forms-tabs-panels,
  .rev-contact-maps-grid
) {
  margin-top: var(--rev-page-section-gap) !important;
}

body :where(.rev-partner-stats, .rev-partner-stats-inner) {
  margin-top: var(--rev-page-section-gap) !important;
}

/* Ograniczamy przypadkowe marginesy Kadence/Gutenberg na HTML blokach. */
body .entry-content .wp-block-html:has(> section[class*="rev-"]),
body .entry-content .wp-block-kadence-column:has(section[class*="rev-"]) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Wyrównanie typografii nagłówków sekcji Page Buildera. */
body :where(
  .rev-about-hero-title,
  .rev-groups-title,
  .rev-cats-title,
  .rev-calc-title,
  .rev-forbes-title,
  .rev-contact-title,
  .rev-value-tabs-title,
  .rev-global-map-title,
  .rev-pillars-title,
  .rev-timeline-title,
  .rev-bim-library-title,
  .rev-partner-benefits-title
) {
  font-family: "Bahnschrift", sans-serif !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

/* Elementor/Kadence czasem dodaje max-width na kontener rodzica. */
body .entry-content .kb-row-layout-wrap:has(section[class*="rev-"]),
body .entry-content .kt-row-layout-inner:has(section[class*="rev-"]) {
  max-width: none !important;
}

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --rev-page-padding-y: 70px;
    --rev-page-padding-y-sm: 56px;
    --rev-page-section-gap: 34px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --rev-page-padding-x: 16px;
    --rev-page-padding-y: 52px;
    --rev-page-padding-y-sm: 44px;
    --rev-page-section-gap: 28px;
  }

  body .rev-groups-tabs {
    margin-top: 28px !important;
  }

  body :where(
    .rev-groups-panels,
    .rev-cats-grid,
    .rev-calc-grid,
    .rev-advanced-calculators-grid,
    .rev-forbes-inner,
    .rev-contact-inner,
    .rev-value-tabs-content,
    .rev-bim-library-grid,
    .rev-partner-benefits-grid,
    .rev-contact-forms-tabs-panels,
    .rev-contact-maps-grid
  ) {
    margin-top: 30px !important;
  }
}

/* Fallback dla przeglądarek bez :has().
   Ten blok jest mniej precyzyjny, ale pomaga w starszych WebView. */
@supports not selector(:has(*)) {
  body .entry-content .wp-block-html,
  body .entry-content .wp-block-kadence-column {
    margin-top: 0;
    margin-bottom: 0;
  }
}


/* Contact page clean ACF sections */
body :where(.rev-contact-forms-tabs-section.rev-contact-forms) {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}
body .rev-contact-forms-inner {
  max-width: 1560px !important;
}
body .rev-contact-forms-header { margin-bottom: 40px !important; }
body .rev-contact-forms-title {
  font-family: "Bahnschrift", sans-serif !important;
  font-size: clamp(26px, 3vw, 38px) !important;
  font-weight: 400 !important;
  color: #1c1c1b !important;
  margin: 0 0 12px !important;
}
body .rev-contact-forms-title strong { font-weight: 700 !important; }
body .rev-contact-forms-line { width: 48px; height: 3px; background: #e30613; }
body .rev-contact-tabs-nav { display: flex; gap: 0; border-bottom: 2px solid #e8e8e8; margin-bottom: 0; flex-wrap: wrap; }
body .rev-contact-tab { display: flex; align-items: center; padding: 16px 28px; background: none; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; font-family: "Noto Sans", sans-serif; font-size: 14px; font-weight: 500; color: #888; transition: color .2s, border-color .2s, background .2s; white-space: nowrap; }
body .rev-contact-tab:hover, body .rev-contact-tab.active { color: #fff; background: #e30613; border-bottom-color: #e30613; }
body .rev-contact-tab-panel { display: none; padding: 48px 0 0; }
body .rev-contact-tab-panel.active { display: block; }
body .rev-contact-maps-inner { max-width: 1280px !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
body .rev-contact-map-card { background: #fff; border: 1px solid #e8e8e8; overflow: hidden; }
body .rev-contact-map-embed iframe { width: 100%; border: 0; display: block; }
body .rev-contact-map-body { padding: 28px 32px 32px; }
body .rev-contact-map-label { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #e30613; margin-bottom: 10px; }
body .rev-contact-map-name { font-family: "Bahnschrift", sans-serif; font-size: 18px; font-weight: 600; text-transform: none; color: #1c1c1b; margin: 0 0 8px; }
body .rev-contact-map-address { font-size: 14px; color: #555; line-height: 1.7; margin: 0 0 12px; }
body .rev-contact-map-hours { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #444; margin-bottom: 16px; }
body .rev-contact-map-nip { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #888; margin-bottom: 16px; }
body .rev-contact-map-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #e30613; text-decoration: none; transition: opacity .2s; }
body .rev-contact-map-link:hover { opacity: .75; }
body .rev-contact-data-section { position: relative; overflow: hidden; }
body .rev-contact-data-section::before { content: ""; position: absolute; inset: 0; background-image: var(--rev-contact-data-bg); background-size: contain; background-repeat: repeat-x; background-position: center; opacity: var(--rev-contact-data-bg-opacity, .05); pointer-events: none; }
body .rev-contact-data-inner { position: relative; max-width: 1280px !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
body .rev-contact-data-block { border-left: 1px solid #b2b2b2 !important; padding-left: 32px !important; }
body .rev-contact-data-block:first-child { border-left: none !important; padding-left: 0 !important; }
body .rev-contact-data-icon { margin-bottom: 20px; }
body .rev-contact-data-title { font-family: "Bahnschrift", sans-serif; font-size: 18px; text-transform: none; font-weight: 600; color: #1c1c1b !important; margin: 0 0 4px; }
body .rev-contact-data-subtitle { font-size: 12px; color: #1c1c1b !important; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 18px; }
body .rev-contact-data-address { font-style: normal; font-size: 14px; color: #1c1c1c; line-height: 1.8; margin: 0 0 12px; }
body .rev-contact-data-note { font-size: 12px; color: #777; line-height: 1.7; margin: 0; }
body .rev-contact-data-hours { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
body .rev-contact-data-hours-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #1c1c1b; padding-bottom: 10px; border-bottom: 1px solid rgba(0,0,0,.12); }
body .rev-contact-data-hours-row strong, body .rev-contact-data-hours-row--closed strong { color: #1c1c1b; }
body .rev-contact-data-contacts { display: flex; flex-direction: column; gap: 10px; }
body .rev-contact-data-link { display: flex; align-items: center; gap: 8px; font-size: 18px; color: #e30613; text-decoration: none; transition: color .2s; }
body .rev-contact-data-link:hover { color: #e30613; }
@media (max-width: 900px) {
  body .rev-contact-maps-inner, body .rev-contact-data-inner { grid-template-columns: 1fr; gap: 32px; }
  body .rev-contact-data-block { border-left: none !important; padding-left: 0 !important; border-top: 1px solid rgba(0,0,0,.12); padding-top: 32px; }
  body .rev-contact-data-block:first-child { border-top: none; padding-top: 0; }
}
@media (max-width: 768px) {
  body .rev-contact-forms-tabs-section.rev-contact-forms { padding-top: 60px !important; padding-bottom: 60px !important; }
  body .rev-contact-tab { padding: 12px 16px; font-size: 13px; }
  body .rev-contact-map-body { padding: 20px; }
}


/* Contact page ACF fix: preserve original overlap and keep admin/editor stable. */
body :where(.rev-contact-forms-tabs-section#formularz, .rev-contact-forms#formularz) .rev-contact-forms-inner {
  margin-top: -80px !important;
}
body .rev-contact-form-admin-placeholder {
  padding: 28px;
  border: 1px dashed #cfcfcf;
  background: #fafafa;
  color: #555;
  font: 600 13px/1.4 "Noto Sans", sans-serif;
}


/* BIM / Dokumentacja clean ACF sections */
.rev-bim-section {
    padding: 60px;
    width: 100%;
    box-sizing: border-box;
}
.rev-bim-layout {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}
.rev-bim-sidebar {
    position: sticky;
    top: 24px;
    background: #fff;
    border: 1px solid #e0e0e0;
}
.rev-bim-sidebar-label {
    font-family: "Bahnschrift", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #999;
    padding: 16px 20px 8px;
    margin: 0 !important;
    border-bottom: 1px solid #f0f0f0;
}
.rev-bim-nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.rev-bim-nav li {
    margin: 0 !important;
}
.rev-bim-nav-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    border-bottom: 1px solid #f8f8f8;
    gap: 8px;
}
.rev-bim-nav-btn:hover {
    background: #f8f8f8;
    border-left-color: #e0e0e0;
}
.rev-bim-nav-btn.active {
    background: #f8f8f8;
    border-left-color: #e30613;
}
.rev-bim-nav-name {
    font-family: "Bahnschrift", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1c1c1b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex: 1;
}
.rev-bim-nav-btn.active .rev-bim-nav-name {
    color: #e30613;
}
.rev-bim-nav-count {
    font-family: "Bahnschrift", sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #ccc;
    padding: 2px 7px;
    flex-shrink: 0;
    min-width: 24px;
    text-align: center;
}
.rev-bim-nav-btn.active .rev-bim-nav-count {
    background: #e30613;
}
.rev-bim-panel {
    display: none;
}
.rev-bim-panel.active {
    display: block;
}
.rev-bim-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.rev-bim-panel-title {
    font-family: "Bahnschrift", sans-serif !important;
    font-size: clamp(20px, 2.5vw, 30px) !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    color: #1c1c1b !important;
    line-height: 1 !important;
    margin: 0 !important;
}
.rev-bim-subtabs {
    display: flex;
    gap: 0;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
}
.rev-bim-subtab {
    padding: 10px 20px;
    background: #fff;
    border: none;
    border-right: 1px solid #e0e0e0;
    font-family: "Bahnschrift", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
}
.rev-bim-subtab:last-child {
    border-right: none;
}
.rev-bim-subtab:hover {
    background: #f8f8f8;
    color: #1c1c1b;
}
.rev-bim-subtab.active {
    background: #e30613;
    color: #fff;
}
.rev-bim-subpanel {
    display: none;
}
.rev-bim-subpanel.active {
    display: block;
}
.rev-bim-group-title {
    font-family: "Bahnschrift", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #888;
    padding: 8px 0 10px;
    margin-top: 24px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 8px;
}
.rev-bim-group-title:first-child {
    margin-top: 0;
}
.rev-bim-files {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
}
.rev-bim-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e8e8e8;
    text-decoration: none !important;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}
.rev-bim-file:hover {
    border-left-color: #e30613;
    background: #fafafa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-decoration: none !important;
}
.rev-bim-file-ext {
    font-family: "Bahnschrift", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 7px;
    flex-shrink: 0;
    min-width: 36px;
    text-align: center;
}
.rev-bim-file-ext--bim {
    background: #1c1c1b;
    color: #fff;
}
.rev-bim-file-ext--dwg {
    background: #e30613;
    color: #fff;
}
.rev-bim-file-name {
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    color: #1c1c1b;
    flex: 1;
    line-height: 1.3;
}
.rev-bim-file-dl {
    font-family: "Bahnschrift", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ccc;
    flex-shrink: 0;
    transition: color 0.2s;
}
.rev-bim-file:hover .rev-bim-file-dl {
    color: #e30613;
}



/* ============================================================
   DOKUMENTACJA / BIM CLEAN ACF
   ============================================================ */
.rev-bim-library-section {
  box-sizing: border-box;
}
.rev-bim-library-section .rev-bim-layout {
  max-width: 1500px;
}
.rev-bim-file-ext--pdf,
.rev-bim-file-ext--PDF {
  background: #e30613;
  color: #fff;
}
@media (max-width: 980px) {
  .rev-bim-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .rev-bim-sidebar {
    position: static !important;
  }
  .rev-bim-panel-header {
    align-items: flex-start !important;
  }
  .rev-bim-subtabs {
    flex-wrap: wrap !important;
  }
}
@media (max-width: 640px) {
  .rev-bim-file {
    align-items: flex-start !important;
  }
  .rev-bim-file-dl {
    display: none !important;
  }
}

/* ============================================================
   WSPARCIE — cards matched to product/category “Pliki do pobrania”
   Scoped only to #support-cards; no global .rev-support-card changes.
   ============================================================ */
body #support-cards.rev-support-section {
  box-sizing: border-box !important;
  background: #f8f8f8 !important;
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

body #support-cards .rev-support-grid {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border: 1px solid #e0e0e0 !important;
  background: #fff !important;
}

body #support-cards .rev-support-card,
body #support-cards .rev-support-card:visited,
body #support-cards .rev-support-card:hover,
body #support-cards .rev-support-card:focus {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 40px 32px !important;
  background: #fff !important;
  color: #1c1c1b !important;
  border: 0 !important;
  border-right: 1px solid #e0e0e0 !important;
  text-decoration: none !important;
  transform: none !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body #support-cards .rev-support-card:last-child {
  border-right: 0 !important;
}

body #support-cards .rev-support-card-icon {
  width: 48px !important;
  height: 48px !important;
  margin: 0 0 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-shrink: 0 !important;
}

body #support-cards .rev-support-card-icon svg {
  width: 32px !important;
  height: 32px !important;
  display: block !important;
}

body #support-cards .rev-support-card-icon svg rect[fill="#1c1c1b"],
body #support-cards .rev-support-card-icon svg path[stroke="#1c1c1b"],
body #support-cards .rev-support-card-icon svg rect[stroke="#1c1c1b"] {
  stroke: #1c1c1b !important;
  fill: #1c1c1b !important;
}

body #support-cards .rev-support-card-title,
body #support-cards .rev-support-card h2.rev-support-card-title,
body #support-cards a.rev-support-card > h2.rev-support-card-title {
  font-family: "Bahnschrift", sans-serif !important;
  font-size: clamp(20px, 2vw, 28px) !important;
  font-weight: 300 !important;
  text-transform: uppercase !important;
  color: #1c1c1b !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

body #support-cards .rev-support-card-title strong,
body #support-cards .rev-support-card h2.rev-support-card-title strong,
body #support-cards a.rev-support-card > h2.rev-support-card-title strong {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 900 !important;
  color: #1c1c1b !important;
}

body #support-cards .rev-support-card-line {
  width: 42px !important;
  height: 3px !important;
  background: #e30613 !important;
  margin: 18px 0 20px !important;
}

body #support-cards .rev-support-card-desc {
  font-family: "Noto Sans", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  color: #555 !important;
  opacity: 1 !important;
  margin: 0 0 26px !important;
}

body #support-cards .rev-support-card-btn {
  margin-top: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: "Bahnschrift", sans-serif !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: #e30613 !important;
}

@media (max-width: 1280px) {
  body #support-cards .rev-support-grid {
    max-width: calc(100% - 120px) !important;
  }
}

@media (max-width: 1180px) {
  body #support-cards .rev-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 860px !important;
  }
  body #support-cards .rev-support-card:nth-child(2n) {
    border-right: 0 !important;
  }
  body #support-cards .rev-support-card:nth-child(-n+2) {
    border-bottom: 1px solid #e0e0e0 !important;
  }
}

@media (max-width: 767px) {
  body #support-cards.rev-support-section {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }
  body #support-cards .rev-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: calc(100% - 40px) !important;
  }
  body #support-cards .rev-support-card,
  body #support-cards .rev-support-card:visited,
  body #support-cards .rev-support-card:hover,
  body #support-cards .rev-support-card:focus {
    padding: 28px 20px !important;
    border-right: 1px solid #e0e0e0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
  }
  body #support-cards .rev-support-card:nth-child(2n) {
    border-right: 0 !important;
  }
  body #support-cards .rev-support-card:nth-last-child(-n+2) {
    border-bottom: 0 !important;
  }
  body #support-cards .rev-support-card-icon {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 16px !important;
  }
  body #support-cards .rev-support-card-desc {
    display: none !important;
  }
  body #support-cards .rev-support-card-line {
    margin: 12px 0 16px !important;
  }
  body #support-cards .rev-support-card-title,
  body #support-cards .rev-support-card h2.rev-support-card-title,
  body #support-cards a.rev-support-card > h2.rev-support-card-title {
    font-size: 16px !important;
  }
}