/*!
Theme Name: RE/MAX Whitefish Montana 2021
Theme URI: https://pilotdigital.com/themes/chicago-1924
Author: Pilot Digital
Author URI: http://pilotdigital.com
Description: first aerial circumnavigation of the world
Version: 1.0.0
Template: chicago-1924
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: chicago-1924
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

Chicago 1924 is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Stylesheet: 1220 and Up Stylesheet

Styles for large devices up starting at 1220.

******************************************************************/

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.content-width,
.main-width,
.wall-to-wall:not(.rm-featured-listings):not(.rm-agent-listings):not(.section-buying):not(.section-contact) .wp-block-group__inner-container,
.site-info-block,
.single .entry-content,
.single .post-thumbnail,
.single .entry-footer {
  padding-left: 0;
  padding-right: 0;
}

main > header,
main .page-header,
main > article > .entry-header,
.entry-content > .wall-to-wall:not(:last-child):not(.no-bottom-margin),
.archive .site-main,
.single-post .site-main {
  margin-bottom: 3rem;
}

.wall-to-wall.has-bg .wp-block-group__inner-container,
.rm-featured-listings .wp-block-group__inner-container {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.site-header .custom-logo {
  height: 55px;
}

.site-branding {
  flex: 0 1 35%;
}

.page .site-main > article.has-post-thumbnail > .entry-header h1 {
  max-width: 20ch;
}

.single-remax-realtor .site-main > article.has-post-thumbnail > .entry-header {
  max-height: 600px;
}

/* Grid */

article.single-listing {
  gap: 0 1.5rem;
}

/* Image Overlap Block */

.section-img-overlap .wp-block-column:last-of-type > * {
  padding: 0 4rem;
}

/* Slick Slider */

.rm-testimonials.make-slick .slick-slider button.slick-prev,
.rm-testimonials.make-slick .slick-slider button.slick-next {
  -ms-grid-row-span: 2;
  grid-row: 1 / -1;
  height: 4rem;
  width: 3.5rem;
}

.rm-testimonials.make-slick .slick-slider .slick-prev::after,
.rm-testimonials.make-slick .slick-slider .slick-next::after {
  font-size: 2rem;
}

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/

@media screen and (min-width: 1330px) {
  .page main > article.has-post-thumbnail > .entry-header h1 {
    padding-left: 0;
  }

  .page main > article.has-post-thumbnail > .entry-header h1::before {
    left: -6rem;
  }

  article.single-listing .entry-header,
  article.single-listing .listing-slider {
    -ms-grid-row-span: 1;
    -ms-grid-row: 1;
    grid-row: 1;
  }

  article.single-listing .navigate-back {
    -ms-grid-column-span: 1;
    -ms-grid-column: 1;
    grid-column: 1 / 2;
    margin-left: auto;
  }
}
