body {
    max-width: none;
    font-size: 16px;
}

.container {
    width: 100% !important;
    max-width: 1360px;
}

.layout--stripeTertiary {
    padding: 4em 0 3em;
}

#header {
    padding: 1em 0;
}

#header-logo {
    max-width: 300px;
}

@media (min-width: 48em) {
  #header {
      padding: 3em 0 1.5em;
  }
}

#header-search {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 250px;
}

#header-search .form-search {
    transform: none;
    margin: 0;
}

#header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#header .container::after {
    display: none; /** Was breaking layout in this case. */
}

.navbar-default .navbar-toggle {
    border-radius: 1em;
    padding: 1em;
    border: none;
    background-color: #f5f5f5;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #f5f5f5;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #695832;
}

.navbar-nav {
    margin: 1em 0;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
    border-color: #f5f5f5;
}

/** Footer widgets */

.widget_text p {
    font-size: 1.1em;
}

.footer-widgets {
  padding: 0;
}

.footer-widgets h3 {
    font-weight: 600;
    text-transform: uppercase;
}

/** Search form */

.form-search input[type="search"] {
    border: none;
    border-top-left-radius: 1em;
    border-bottom-left-radius: 1em;
    padding: 0 1.25em;
    width: 100%;
    height: 44px;
    font-size: 1em;
    color: #695832;
    background-color: #f5f5f5;
    box-shadow: none;
}

.form-search button[type="submit"] {
    border: none;
    border-top-right-radius: 1em;
    border-bottom-right-radius: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 44px;
    color: #695832;
    background-color: #f5f5f5;
}

.form-search input[type="search"]::placeholder {
    color: #695832;
    text-transform: uppercase;
}

/** Navigation */

.navbar {
    margin-bottom: 1em;
}

.navbar-default .navbar-nav > li {
    margin-right: 2px;
}

.navbar-default .navbar-nav > li > a {
    border-radius: 9999px;
    padding: 0.66em 1.125em;
    font-size: 0.875em;
    line-height: 1.5;
    transition:
        color 0.3s,
        background-color 0.3s;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li.active > a:hover,
.navbar-default .navbar-nav > li.active > a:focus,
.navbar-default .navbar-nav > li.nav-highlight > a,
.navbar-default .navbar-nav > li.nav-highlight > a:hover,
.navbar-default .navbar-nav > li.nav-highlight > a:focus {
    color: #695832 !important;
    background-color: #e9e3d6 !important;
}

.navbar-default .navbar-nav > li.nav-highlight > a:hover,
.navbar-default .navbar-nav > li.nav-highlight > a:focus,
.navbar-default .navbar-nav > li.open > a,
.navbar-default .navbar-nav > li.open > a:hover,
.navbar-default .navbar-nav > li.open > a:focus {
    color: #fff !important;
    background-color: #a08853 !important;
}

.caret {
    width: 0.5em;
    height: 0.5em;
    transform: rotate(45deg) translateY(-0.33em);
    border-top: none;
    border-right: 0.1em solid currentColor;
    border-bottom: 0.1em solid currentColor;
    border-left: none;
}

.nav-bar {
    margin-bottom: 2em;
}

@media (min-width: 48em) {
    .navbar-default.affix {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    }
}

.navbar-nav > li > .dropdown-menu {
    margin-top: 0.5em;
}

.dropdown-menu {
    border-radius: 0;
    padding: 0;
    font-size: 1em;
    background-color: #fff;
}

.dropdown-menu .menu-item {
    border-bottom: none;
}

.dropdown-menu .menu-item:not(:last-child) {
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-menu .menu-item a {
    padding: 0.75em 1em;
    color: #695832;
    background-color: #fff;
    transition:
        background-color 0.3s,
        color 0.3s;
}

.dropdown-menu .menu-item a:hover {
    color: #695832;
    background-color: #f5f5f5;
}

@media (min-width: 75em) {
    .nav a {
        font-size: 1em;
    }
}

.btn {
    border: none;
    border-radius: 9999px;
    padding: 0.66em 1.5em;
    font-size: 0.875em;
    text-transform: uppercase;
    color: #695832;
    background-color: #e9e3d6;
    box-shadow: none;
    transition:
        background-color 0.3s,
        color 0.3s;
}

.btn:hover,
.btn:focus {
    color: #fff;
    background-color: #a08853;
}

/** Carousel */

.carousel-wrap {
    border: none;
}

.carousel__content,
.carousel__content:hover {
    background: transparent;
}

/** Grid section */

.grid-section {
    padding-top: 3em;
}

h1.page-title,
.grid-section h2,
.popular-posts h2,
.widget-title {
    border-bottom: 0 !important;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    line-height: 1.1;
    font-weight: 600;
    color: #333;
}

.single h1.page-title {
    text-transform: none;
}

.author-more .btn {
    display: block;
    float: none;
    margin-top: 2em;
}

h1.page-title,
.grid-section h2 {
    font-size: 3em;
}

.gridItem,
.promo-container-wrap .promo-container {
    margin-bottom: 40px;
}

/*.promo-container-wrap .promo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}*/

.gridItem .gridItem__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    /*margin-bottom: 1em;*/
}

.gridItem .gridItem__photo img {
    width: auto;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.gridItem .gridItem__photo[data-post-category="Promotions"] {
    aspect-ratio: unset;
}

.widgetItem__photo img {
    width: 100%;
    height: auto;
}

.gridItem .gridItem__content {
    padding: 0;
    margin-bottom: 2em;
}

.gridItem .gridItem__category,
.listItem .listItem__category {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em;
    margin: 1em 0;
}

.gridItem .gridItem__category a,
.listItem .listItem__category a {
    border: 1px solid currentColor;
    border-radius: 9999px;
    display: inline-flex;
    align-items: baseline;
    padding: calc(0.5em + 2px) 2em 0.5em 2em;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    color: #a08853;
    transition:
        border-color 0.3s,
        background-color 0.3s,
        color 0.3s;
}

.gridItem .gridItem__category a:hover,
.listItem .listItem__category a:hover {
    border-color: #a08853;
    background-color: #a08853;
    color: #fff;
}

.gridItem .gridItem__title {
    font-size: 1.8em;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 0.33em;
}

.gridItem .gridItem__title:first-child {
    margin-top: 1em;
}

.gridItem .gridItem__title a {
    color: #333;
}

.gridItem .gridItem__intro {
    font-size: 1.1em;
    line-height: 1.4;
    margin: 0 0 0.5em;
    font-weight: 300;
    color: #555;
}

.gridItem .gridItem__intro p:last-child {
    margin-bottom: 0;
}

.gridItem .gridItem__date {
    color: #695832;
}

.grid--1col .gridItem:only-child {
    width: calc(100% - 40px);
}

@media (min-width: 48em) {
  .grid--1col .gridItem:not(:only-child) {
    width: calc(100% - 40px);
      display: flex;
  }

  .grid--1col .gridItem:not(:only-child) .feature-image {
      flex: 0 0 40%;
      aspect-ratio: 4 / 3;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      margin-right: 3em;
  }

  .grid--1col .gridItem:not(:only-child) .gridItem__content {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      justify-content: center;
  }

  .grid--3col:has(> :nth-child(4):last-child) .gridItem:nth-child(1) {
      width: calc(100% - 40px);
  }

  .grid--3col:has(> :nth-child(4):last-child) .gridItem:nth-child(1) {
      display: flex;
  }

  .grid--3col:has(> :nth-child(4):last-child)
      .gridItem:nth-child(1)
      .feature-image {
      flex: 0 0 40%;
      aspect-ratio: 4 / 3;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      margin-right: 3em;
  }

  .grid--3col:has(> :nth-child(4):last-child)
      .gridItem:nth-child(1)
      .gridItem__content {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      justify-content: center;
  }

    .grid--3col:has(> :nth-child(4):last-child) .gridItem:nth-child(3n + 1) {
        clear: unset;
    }
}

.grid--1col .gridItem:only-child {
    position: relative;
    /*padding: 0;*/
}

.grid--1col .gridItem:only-child .feature-image {
    position: absolute;
    top: 0;
    right: 20px;
    bottom: 0;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: -1;
    width: 100%;
    height: 100%;
    max-height: unset;
    object-fit: cover;
}

.grid--1col .gridItem:only-child .feature-image .gridItem__photo {
    width: 100%;
    height: 100%;
    overflow: hidden;
    aspect-ratio: unset;
    margin-bottom: 0;
}

.grid--1col .gridItem:only-child .feature-image .gridItem__photo img {
    height: 100%;
}

.grid--1col .gridItem:only-child .gridItem__content {
    height: 100%;
    width: calc(100% + 40px);
    margin: 0;
    padding: 10em 3em 3em;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 50%,
        rgba(0, 0, 0, 0)
    );
}

.grid--1col .gridItem:only-child .gridItem__content .gridItem__category {
    grid-area: 1 / 1 / 2 / 4;
    display: flex;
    align-items: flex-end;
    margin: 0 0 1em;
}

.grid--1col .gridItem:only-child .gridItem__content .gridItem__category a {
    color: #d8cdb4;
}

.grid--1col
    .gridItem:only-child
    .gridItem__content
    .gridItem__category
    a:hover {
    color: #fff;
}

.grid--1col .gridItem:only-child .gridItem__content .gridItem__title {
    grid-area: 2 / 1 / 3 / 4;
    margin: 0.25em 0 0.5em;
    font-size: 3.5em;
    font-weight: 600;
    line-height: 1.1;
}

.grid--1col .gridItem:only-child .gridItem__content .gridItem__title a {
    color: #fff;
}

.grid--1col .gridItem:only-child .gridItem__content .gridItem__date {
    color: #fff;
}

.grid--1col .gridItem:only-child .gridItem__content .gridItem__intro {
    grid-area: 3 / 1 / 4 / 4;
    display: flex;
    align-items: center;
    font-size: 1.33em;
    line-height: 1.4;
    color: #fff;
}

.grid--1col .gridItem:only-child .gridItem__content .gridItem__readmore {
    grid-area: 3 / 4 / 4 / 5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.grid--1col
    .gridItem:only-child
    .gridItem__content
    .gridItem__readmore
    .btn.btn-primary {
    border-color: #e9e3d6;
    border-radius: 9999px;
    padding: 0.75em 3em;
    font-size: 1em;
    text-transform: uppercase;
    color: #695832;
    background-color: #e9e3d6;
}

@media (min-width: 48em) {
  .grid--1col .gridItem:only-child {
      min-height: 650px;
  }

  .grid--1col .gridItem:only-child .feature-image,
  .grid--1col .gridItem:only-child .gridItem__content {
      position: absolute;
      top: 0;
      right: 20px;
      bottom: 0;
      left: 20px;
  }

  .grid--1col .gridItem:only-child .gridItem__content {
      width: 100%;
  }

  .grid--1col .gridItem:only-child .gridItem__content {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: auto repeat(2, min-content);
      grid-column-gap: 0px;
      grid-row-gap: 0px;
  }
}

main .wp-block-image img {
    width: 100%;
    height: auto;
}

li.widget_block {
    list-style: none;
}

.widgetItem.widgetItem--photo.gridItem .feature-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5em;
}

/** Pagination */

.pagination > li > a,
.pagination > li > span {
    padding: 0.5em 1em;
    color: #695832;
    background-color: #f5f5f5;
    border: 1px solid #f5f5f5;
    transition:
        border-color 0.3s,
        background-color 0.3s,
        color 0.3s;
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
    border-color: #e9e3d6;
    color: #695832;
    background-color: #e9e3d6;
}

.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
    border-color: #a08853;
    color: #fff;
    background-color: #a08853;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
    border-bottom-left-radius: 1em;
    border-top-left-radius: 1em;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-bottom-right-radius: 1em;
    border-top-right-radius: 1em;
}

.listItem.listItem--photo {
    display: flex;
    gap: 1.5em;
}

.listItem.listItem--photo .listItem__photo.promo-link {
    flex: 0 0 125px;
    float: none;
    margin: 0;
}

.listItem.listItem--photo .listItem__photo.promo-link img {
    width: 125px;
}
