/* by Creasant */

@media only screen and (min-width: 1000px) {

  .mtpc-pageTitle-block .mtpc_pagetitle_container .mtpc_pagetitle_wrapper {
    max-width: 1460px;
  }

  body .stg-banner .mtpc-block-image-block img { height: 360px; }

  .mtpc-profile-list-block.two_col .field--name-field-mtpc-profile-listing-item > .field__item {
    width: calc(50% - 15px);
  }
  .mtpc-profile-list-block.two_col .field--name-field-mtpc-profile-listing-item > .field__item:nth-of-type(odd) {
    margin-right: 30px;
  }

  body .mtpc-2col-section.stg-side-label .mtpc-2col-section-wrapper > .mtpc-2col-item--1 {
    width: calc(20.4% - 20px);
    min-width: 241px;
  }

  body .mtpc-2col-section.stg-side-label .mtpc-2col-section-wrapper > .mtpc-2col-item--2 { width: 79.6%; }

  body .mtpc-2col-section.stg-topic .mtpc-2col-section-wrapper > .mtpc-2col-item--1 {
    width: calc((100% - 60px) * 720 / 1220);
  }

  body .mtpc-2col-section.stg-topic .mtpc-2col-section-wrapper > .mtpc-2col-item--2 {
    width: calc((100% - 60px) * 500 / 1220);
    margin-left: 60px;
  }

  body .mtpc-2col-section.stg-topic.row_reverse .mtpc-2col-section-wrapper > .mtpc-2col-item--2 {
    margin-left: 0;
    margin-right: 60px;
  }

  body .mtpc-2col-section.stg-topic.stg-topic--620-600 .mtpc-2col-section-wrapper > .mtpc-2col-item--1 {
    width: calc((100% - 60px) * 620 / 1220);
  }

  body .mtpc-2col-section.stg-topic.stg-topic--620-600 .mtpc-2col-section-wrapper > .mtpc-2col-item--2 {
    width: calc((100% - 60px) * 600 / 1220);
  }

  body .mtpc-2col-section.stg-topic.stg-topic--820-400 .mtpc-2col-section-wrapper > .mtpc-2col-item--1 {
    width: calc((100% - 60px) * 820 / 1220);
  }

  body .mtpc-2col-section.stg-topic.stg-topic--820-400 .mtpc-2col-section-wrapper > .mtpc-2col-item--2 {
    width: calc((100% - 60px) * 400 / 1220);
  }

  body .mtpc-1col-section.stg-topic .field--name-field-mod-1-col-container > .field__item + .field__item {
    margin-top: 36px;
  }

  body .mtpc-2col-section.stg-topic.stg-topic--360-860 .mtpc-2col-section-wrapper > .mtpc-2col-item--1 {
    width: calc((100% - 60px) * 360 / 1220);
  }

  body .mtpc-2col-section.stg-topic.stg-topic--360-860 .mtpc-2col-section-wrapper > .mtpc-2col-item--2 {
    width: calc((100% - 60px) * 860 / 1220);
  }

  body .mtpc-1col-section.stg-topic .table-wrap { padding-top: 9px; }

  body .mtpc-2col-section.stg-topic:not(:has(.mtpc-block-textarea-block)) .mtpc-2col-section-wrapper > .mtpc-2col-item--1,
  body .mtpc-2col-section.stg-topic:not(:has(.mtpc-block-textarea-block)) .mtpc-2col-section-wrapper > .mtpc-2col-item--2 {
    width: calc((100% - 60px) * 0.5);
  }

  body .mtpc-2col-section.stg-figrow .mtpc-2col-section-wrapper > .mtpc-2col-item--1,
  body .mtpc-2col-section.stg-figrow .mtpc-2col-section-wrapper > .mtpc-2col-item--2,
  body .mtpc-2col-section.stg-demoflats .mtpc-2col-section-wrapper > .mtpc-2col-item--1,
  body .mtpc-2col-section.stg-demoflats .mtpc-2col-section-wrapper > .mtpc-2col-item--2 {
    width: calc(50% - 15px);
  }

  body .mtpc-2col-section.stg-figrow .mtpc-2col-section-wrapper > .mtpc-2col-item--2,
  body .mtpc-2col-section.stg-demoflats .mtpc-2col-section-wrapper > .mtpc-2col-item--2 {
    margin-left: 30px;
  }

  body .stg-reports .mtpc-block-image-grid-item-wrapper { column-gap: 60px; }

  body .stg-reports .mtpc-block-image-grid-item-wrapper > .mtpc-image-grid-block-item {
    width: calc((100% - 180px) / 3);
  }

  body .stg-reports .grid_main_image { aspect-ratio: 366.67 / 360; }

  body .stg-reports .mtpc-image-caption {
    top: 80.01px;
    font-size: 36px;
    line-height: var(--stg-lh-heading);
  }

  body .stg-reports .field--name-field-mod-1-col-container > .field__item:has(h2) {
    padding-bottom: 30.2px;
  }

  body .mtpc-block .mtpc-textarea table.tbl-line thead tr th { padding: 3.65px 30px; }

  body .mtpc-block .mtpc-textarea table.tbl-line tbody tr td:first-child:not(:last-child) {
    box-sizing: border-box;
    width: 75px;
    padding: 19.5px 0 34.5px 29px;
  }

  body .mtpc-block .mtpc-textarea table.tbl-line tbody tr td:last-child {
    padding: 19.5px 29px 34.5px 0;
  }

  body .mtpc-block .mtpc-textarea table.tbl-line tbody tr td:only-child {
    padding-left: 29px;
  }

  body .mtpc-block .mtpc-textarea table.tbl-line tbody tr td p { margin-bottom: 11px; }

  #block-mtpc-pagetitle .page-container,
  #block-mtpc-pagetitle .page-hero-header,
  #block-mtpc-pagetitle-2 .page-container,
  #block-mtpc-pagetitle-2 .page-hero-header { height: 360px; }

  #block-mtpc-pagetitle .page-title,
  #block-mtpc-pagetitle-2 .page-title {
    top: 136.8px;
    max-width: calc(var(--stg-col-wide) + 40px);
    padding: 0 20px;
  }

  #block-mtpc-pagetitle .page-title p,
  #block-mtpc-pagetitle-2 .page-title p { font-size: 60px; }

  body #block-mtpc-exposedformnews-eventspage-1 {
    box-sizing: content-box;
    max-width: var(--stg-col);
    padding: 0 40px;
    margin: 0 auto 30px;
  }

  body #block-mtpc-exposedformnews-eventspage-1 .form--inline { justify-content: flex-end; }

  .view-news-events .views-row { margin-bottom: 30px; }

  .view-news-events .row_container.has_thumb {
    display: flex;
    align-items: flex-start;
    padding-bottom: 30px;
  }

  .view-news-events .thumb_container {
    flex: 0 0 300px;
    width: 300px;
    aspect-ratio: 5 / 3;
  }

  .view-news-events .view-content .views-row .row_container.has_thumb .thumb_container { margin-right: 30px; }

  .view-news-events .content_container { flex: 1 1 auto; width: auto; }

  body .view-news-events .mtpc_news_title h3,
  body .view-news-events .mtpc_news_title a { font-size: 22px; line-height: var(--stg-lh-compact); }

  .view-news-events .mtpc_news_title { margin-top: 13.81px; }

  .event-listing-page .listing.grid-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 30px;
    margin-top: 30px;
  }

  .event-listing-page .listing.grid-view .event-item {
    width: auto;
    margin: 0;
    padding-bottom: 45px;
  }

  .event-listing-page .listing.grid-view .event-item:nth-last-child(-n+3) {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .event-listing-page .listing.grid-view .event-item:nth-child(3n+1):not(:nth-last-child(-n+3))::after {
    width: calc(300% + 60px);
  }

  .event-listing-page .event-thumbnail { aspect-ratio: 122 / 69; }

  .event-listing-page .event-info { padding-top: 25.56px; }

  .event-listing-page .listing .event-item .event-info .event-series {
    font-size: 16px;
    line-height: var(--stg-lh-compact);
    font-weight: 800;
    margin-bottom: 10.59px;
  }

  body .event-listing-page .listing .event-item .event-info .event-title,
  body .event-listing-page .listing .event-item .event-info .event-title a { font-size: 22px; line-height: var(--stg-lh-compact); }

  .event-listing-page .listing.grid-view .event-item .event-head { margin-bottom: 28.54px; }

  .event-listing-page .listing .event-item .event-info .icon { margin-bottom: 11.25px; }

  .event-listing-page .listing .event-item .event-info .event-btn { margin-top: 31.25px; }

  .mtpc_pagetitle.mtpc_news:not(.news_listing) h1,
  .node__content.mtpc-event-detail .event-head .event-title h1 {
    font-size: 42px;
    line-height: var(--stg-lh-compact);
  }

  .mtpc_pagetitle.mtpc_news:not(.news_listing) h1 { max-width: 844px; }

  article.mtpc-news-article .field--name-field-content-banner img {
    aspect-ratio: 211 / 120;
  }

  .node__content.mtpc-event-detail .event-head { max-width: 844px; }

  article.mtpc-news-article .mtpc_news_left {
    flex: 0 0 844px;
    width: 844px;
    margin-right: 240px;
  }

  article.mtpc-news-article .mtpc_news_right {
    flex: 0 0 196px;
    width: 196px;
  }

  .node__content.mtpc-event-detail .main-content .node-content {
    width: 844px;
    margin-right: 240px;
  }

  .node__content.mtpc-event-detail .main-content .social-share {
    position: absolute;
    top: 0;
    right: 40px;
    width: 196px;
  }

  .node__content.mtpc-event-detail .main-content .node-content .event-data-box-full-width .event-banner img {
    aspect-ratio: 211 / 120;
  }

  .mtpc-block-slideshow-block .slick-dots { bottom: 28px; }

  .mtpc-block-slideshow-block .slick-dots.circle li { width: 12px; height: 12px; }

  body .stg-highlights .mtpc-1col-section-wrapper,
  body .mtpc-1col-section.stg-demoflats .mtpc-1col-section-wrapper,
  body .mtpc-2col-section.stg-demoflats .mtpc-2col-section-wrapper {
    max-width: 1460px;
  }

  body .stg-highlights { padding-top: 73.94px; }

  body .stg-highlights .field--name-field-mod-1-col-container > .field__item:has(h2) {
    padding-bottom: 16.3px;
  }

  body .mtpc-1col-section.stg-demoflats:has(h2) {
    padding-top: 74.23px;
    padding-bottom: 16.3px;
  }

  body .mtpc-1col-section.stg-demoflats:has(p) { padding-top: 54.37px; }

  body .stg-highlights .mtpc-block-image-grid-item-wrapper { column-gap: 30px; }

  body .stg-highlights .mtpc-block-image-grid-item-wrapper > .mtpc-image-grid-block-item {
    width: calc((100% - 60px) / 3);
  }

  body .stg-highlights .grid_main_image { aspect-ratio: 35 / 27; }

  body .stg-highlights [data-stg-tag="publication"] .grid_main_image img {
    padding: 15px 0;
  }

  body .stg-highlights .mtpc-image-caption {
    padding-top: 24.37px;
    font-size: 22px;
    line-height: var(--stg-lh-compact);
  }

  body .stg-demoflats .mtpc-block p {
    font-size: 22px;
    line-height: var(--stg-lh-compact);
  }

  body .region-content:has(.stg-demoflats) { padding-bottom: 115.85px; }
}
