﻿@charset "UTF-8";
/* Pagination reloads the page onto #resources-body on every click —
   an animated scroll there feels wrong on every interaction, so undo the
   global smooth-scroll (Typography.scss) just for this page. See Gallery.scss
   for the same fix; any page using Sections/_Pagination's Anchor needs this. */
html {
  scroll-behavior: auto;
}

.standard-header-title, .standard-header-title p {
  max-width: none;
}

.standard-header-title h1 {
  font-size: clamp(36px, 6.5vw, 96px);
}

.resources-body {
  display: flex;
  padding: 100px 10% 0;
  padding-bottom: 50px;
  justify-content: center;
}
@media (max-width: 1100px) {
  .resources-body {
    flex-direction: column;
    padding: 60px 5% 0;
    padding-bottom: 50px;
  }
}
@media (max-width: 600px) {
  .resources-body {
    padding: 40px 24px 0;
    padding-bottom: 30px;
  }
}
.resources-body-filters {
  border: 1px solid #C4C4C4;
  padding: 5px 10%;
  min-height: 500px;
  /* Heading is a plain title on desktop; at 1100px and below it becomes a
     tap-to-expand toggle (script at the bottom of Resources.cshtml) */
  /* Single column when open: keeps the "ALL BOAT LIFTS / ALL DOCKS / ALL SUNSHADES" heading rows in order */
  /* The filter groups */
}
@media (max-width: 1100px) {
  .resources-body-filters {
    min-height: auto;
    padding: 5px 25px;
    margin-bottom: 10px;
  }
}
@media (max-width: 600px) {
  .resources-body-filters {
    padding: 5px 16px;
  }
}
@media (max-width: 480px) {
  .resources-body-filters {
    margin-bottom: 15px;
  }
}
.resources-body-filters h3 {
  margin-bottom: 10px;
  color: #0B152C;
}
@media (max-width: 1100px) {
  .resources-body-filters h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
  }
}
.resources-body-filters label {
  font-size: 1rem;
}
.resources-body-filters-toggle {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: default;
  pointer-events: none;
}
@media (max-width: 1100px) {
  .resources-body-filters-toggle {
    position: relative;
    padding: 4px 30px 4px 0;
    cursor: pointer;
    pointer-events: auto;
    /* Chevron */
  }
  .resources-body-filters-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 4px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #0B152C;
    border-bottom: 2px solid #0B152C;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.25s ease;
  }
  .resources-body-filters-toggle[aria-expanded=true]::after {
    transform: translateY(-30%) rotate(-135deg);
  }
}
@media (max-width: 1100px) {
  .resources-body-filters-options {
    display: none;
    padding-top: 10px;
  }
}
@media (max-width: 1100px) {
  .resources-body-filters-options p {
    display: flex;
    align-items: center;
    padding: 6px 0;
  }
}
@media (max-width: 1100px) {
  .resources-body-filters-options input {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }
}
@media (max-width: 1100px) {
  .resources-body-filters-group.is-open .resources-body-filters-options {
    display: block;
  }
}
.resources-body-filters-container {
  padding: 0 50px;
  width: 25%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 1500px) {
  .resources-body-filters-container {
    width: 35%;
  }
}
@media (max-width: 1200px) {
  .resources-body-filters-container {
    width: 45%;
  }
}
@media (max-width: 1100px) {
  .resources-body-filters-container {
    width: 100%;
    max-width: none;
    padding: 0;
  }
}
.resources-body-filters-container h2 {
  color: #0B152C;
  font-size: 1.5rem;
  line-height: 2rem;
  /*height: 50px;*/
  margin-bottom: 0;
  font-weight: normal;
}
@media (max-width: 1150px) {
  .resources-body-filters-container h2 {
    font-size: 1.2rem;
    line-height: 1.2rem;
  }
}
.resources-body-filters-count {
  color: #959595;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.resources-body-filters > div {
  padding: 25px 0;
  border-bottom: 1px solid #E4E4E4;
}
@media (max-width: 1100px) {
  .resources-body-filters > div {
    padding: 12px 0;
  }
}
.resources-body-filters > div:last-child {
  border-bottom: none;
}
.resources-body-filters-catalogue {
  background-color: #0B152C;
  /*border-radius: 20px;*/
  margin-top: 150px;
  padding: 0 20px 30px;
  /* Stacked: keep the desktop proportions instead of stretching across the page */
}
@media (max-width: 1100px) {
  .resources-body-filters-catalogue {
    width: 100%;
    max-width: 420px;
    margin: 130px auto 0;
  }
}
@media (max-width: 600px) {
  .resources-body-filters-catalogue {
    margin-top: 110px;
  }
}
.resources-body-filters-catalogue-image {
  margin-top: -90px;
  margin-bottom: -30px;
}
@media (max-width: 600px) {
  .resources-body-filters-catalogue-image {
    margin-top: -70px;
  }
}
.resources-body-filters-catalogue-text {
  text-align: center;
}
.resources-body-filters-catalogue-text h3 {
  color: white;
  font-size: 2.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: 2.5rem;
}
@media (max-width: 600px) {
  .resources-body-filters-catalogue-text h3 {
    font-size: 1.75rem;
    line-height: 2rem;
  }
}
.resources-body-filters-catalogue-text h3 span {
  color: #b89343;
}
.resources-body-content {
  width: 75%;
  display: flex;
  flex-direction: column;
  max-width: 1000px;
}
@media (max-width: 1500px) {
  .resources-body-content {
    width: 65%;
  }
}
@media (max-width: 1200px) {
  .resources-body-content {
    width: 55%;
  }
}
@media (max-width: 1100px) {
  .resources-body-content {
    width: 100%;
  }
}
.resources-body-content-controls {
  display: flex;
  justify-content: end;
  width: 100%;
  height: 50px;
  margin-bottom: -8px;
  margin-top: 38px;
  /* Fixed height + stacked selects used to overflow into the search box */
}
@media (max-width: 1150px) {
  .resources-body-content-controls {
    margin-top: 25px;
  }
}
@media (max-width: 600px) {
  .resources-body-content-controls {
    height: auto;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 10px;
  }
}
.resources-body-content-controls > div {
  display: flex;
  margin-left: 40px;
}
@media (max-width: 600px) {
  .resources-body-content-controls > div {
    margin-left: 0;
  }
}
.resources-body-content-controls > div select {
  margin-left: 5px;
  height: 30px;
  /* 16px+ stops iOS zooming the page on focus */
}
@media (max-width: 1100px) {
  .resources-body-content-controls > div select {
    height: 36px;
    font-size: 1rem;
  }
}
.resources-body-content-search {
  width: 100%;
  padding-bottom: 15px;
  margin-bottom: 20px;
  border: none;
  background-color: #D9D9D9;
  height: 50px;
  position: relative;
}
.resources-body-content-search form {
  display: flex;
  align-items: center;
}
.resources-body-content-search input {
  width: 100%;
  border: none;
  background-color: transparent;
  height: 50px;
  padding: 0 20px;
}
@media (max-width: 1100px) {
  .resources-body-content-search input {
    font-size: 1rem;
  }
}
.resources-body-content-search button {
  position: absolute;
  right: 5px;
  padding: 5px 15px;
  border: none;
  background-color: transparent;
}
.resources-body-content-search button:hover {
  cursor: pointer;
}
.resources-body-content-search button img {
  height: 18px;
}
.resources-body-content-results {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .resources-body-content-results {
    justify-content: center;
  }
}
.resources-body-content-results .resources-entry {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 30px;
  border-bottom: 1px solid #C4C4C4;
  position: relative;
}
@media (max-width: 600px) {
  .resources-body-content-results .resources-entry {
    margin-bottom: 20px;
  }
}
.resources-body-content-results .resources-entry > img {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 15px;
  right: 15px;
}
.resources-body-content-results .resources-entry-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  /*margin-bottom: 20px;*/
}
.resources-body-content-results .resources-entry-content {
  padding: 20px 30px;
  /*border-bottom: 1px solid #C4C4C4;*/
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  /* Long titles wrap beside the button instead of squeezing it */
}
@media (max-width: 600px) {
  .resources-body-content-results .resources-entry-content {
    padding: 16px 12px;
  }
}
.resources-body-content-results .resources-entry-content-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
}
.resources-body-content-results .resources-entry-content .btn {
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .resources-body-content-results .resources-entry-content .btn {
    height: 40px;
    padding: 0 20px;
  }
}
.resources-body-content-results .resources-entry-content h3 {
  font-weight: normal;
  font-size: 1.35rem;
  line-height: 1.5rem;
  /*margin-bottom: 25px;*/
  color: #0B152C;
}
@media (max-width: 600px) {
  .resources-body-content-results .resources-entry-content h3 {
    font-size: 1.15rem;
    line-height: 1.3rem;
  }
}
.resources-body-content-results .resources-entry-content h4 {
  font-size: 1rem;
  line-height: 1rem;
  margin-bottom: 10px;
  text-transform: none;
}
.resources-body-content-results .resources-entry-content p {
  color: #0B152C;
}
.resources-body-content-results .resources-entry-content-icon {
  padding-left: 10px;
}
.resources-body-content-results .resources-entry-content-icon img {
  width: 40px;
  height: 40px;
}
.resources-body-content-results .resources-entry-metadata {
  display: flex;
  padding: 10px 35px;
}
.resources-body-content-results .resources-entry-metadata p {
  color: #959595;
  margin-right: 15px;
  font-size: 0.9rem;
}

#clear-filters {
  margin-top: 20px;
}

p:has(.margin-top) {
  margin-top: 20px;
}
