/*
 * DRTV Account Hub — platform boundary only.
 *
 * DRTV Shared Elementor Rail owns .drtv-page-boundary and .drtv-page-rail.
 * This file only neutralises the JNews/Elementor wrappers surrounding the
 * Account Hub and applies Account Hub's vertical page rhythm. It deliberately
 * contains no gutter, max-width or overflow ownership.
 */

/* JNews and Elementor wrappers directly surrounding the account shortcode. */
body.drtv-account-full-width .jeg_main,
body.drtv-account-full-width .jeg_main > .jeg_container,
body.drtv-account-full-width .jeg_main > .container,
body.drtv-account-full-width .jeg_main .jeg_main_content,
body.drtv-account-full-width .jeg_main .jeg_content,
body.drtv-account-full-width .jeg_main .jeg_inner_content,
body.drtv-account-full-width .jeg_main .content-inner,
body.drtv-account-full-width .jeg_main .site-content,
body.drtv-account-full-width .jeg_main .main-content,
body.drtv-account-full-width .jeg_main .entry-content,
body.drtv-account-full-width .jeg_main main#primary {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  float: none !important;
  flex: 0 0 100% !important;
  transform: none !important;
  box-sizing: border-box;
}

body.drtv-account-full-width .jeg_main > .row,
body.drtv-account-full-width .jeg_main .jeg_content > .container,
body.drtv-account-full-width .jeg_main .jeg_content > .row,
body.drtv-account-full-width .jeg_main .entry-content > .container,
body.drtv-account-full-width .jeg_main .entry-content > .row {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  float: none !important;
  box-sizing: border-box;
}

body.drtv-account-full-width .jeg_main .entry-content > .elementor,
body.drtv-account-full-width .jeg_main .entry-content > .elementor > .elementor-element,
body.drtv-account-full-width .jeg_main .entry-content .elementor-section-wrap,
body.drtv-account-full-width .jeg_main .entry-content .elementor-section,
body.drtv-account-full-width .jeg_main .entry-content .elementor-container,
body.drtv-account-full-width .jeg_main .entry-content .elementor-column,
body.drtv-account-full-width .jeg_main .entry-content .elementor-widget-wrap,
body.drtv-account-full-width .jeg_main .entry-content .elementor-widget-shortcode,
body.drtv-account-full-width .jeg_main .entry-content .elementor-widget-container {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  box-sizing: border-box;
}

body.drtv-account-full-width .entry-header,
body.drtv-account-full-width .jeg_breadcrumbs,
body.drtv-account-full-width .breadcrumb {
  display: none !important;
}

/* Account Hub owns only vertical spacing inside the shared boundary. */
body.drtv-account-full-width .drtv-account-page {
  padding-block: 28px 40px;
}

body.drtv-account-full-width .drtv-account-page > *,
body.drtv-account-full-width .drtv-account-shell > *,
body.drtv-account-full-width .drtv-account-main > * {
  min-width: 0;
  max-width: 100%;
}

body.drtv-account-full-width .drtv-account-page :is(img, video, iframe, canvas) {
  max-width: 100%;
}

@media (max-width: 1180px) {
  body.drtv-account-full-width .drtv-account-page {
    padding-block: 22px 34px;
  }
}

@media (max-width: 699px) {
  body.drtv-account-full-width .drtv-account-page {
    padding-block: 14px 28px;
  }
}
