/* Uxelio: widen only Pages and individual Posts. Homepage is excluded in PHP. */
body.page .site-content,
body.single-post .site-content {
  width: 100%;
}

/* CoverNews / AF Themes outer content containers */
body.page .site-content > .container,
body.single-post .site-content > .container,
body.page .site-content .af-container,
body.single-post .site-content .af-container,
body.page .site-content .af-container-row,
body.single-post .site-content .af-container-row,
body.page .site-content .container,
body.single-post .site-content .container {
  width: 96% !important;
  max-width: 1600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

/* Remove restrictive widths on the page/post content column */
body.page #primary,
body.single-post #primary,
body.page .content-area,
body.single-post .content-area,
body.page .site-main,
body.single-post .site-main {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

body.page .entry-content,
body.single-post .entry-content,
body.page .page-content {
  max-width: 100%;
  box-sizing: border-box;
}

/* Keep layout balanced on tablets and phones */
@media (max-width: 1024px) {
  body.page .site-content .container,
  body.single-post .site-content .container,
  body.page .site-content .af-container,
  body.single-post .site-content .af-container,
  body.page .site-content .af-container-row,
  body.single-post .site-content .af-container-row {
    width: 96% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 767px) {
  body.page .site-content .container,
  body.single-post .site-content .container,
  body.page .site-content .af-container,
  body.single-post .site-content .af-container,
  body.page .site-content .af-container-row,
  body.single-post .site-content .af-container-row {
    width: 94% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
