.page-node-2021 .page-content--sidebar {
	display:none;
}

.page-node-2021 .main-content .page-content--inner.has-sidebar .page-content--content {
	width:100%;
}

.page-node-2021 .paragraph--type--discover-more-item > span,
.page-node-2574 .paragraph--type--discover-more-item > span,
.paragraph--type--discover-more-item > span {
	font-size:2em;
	text-shadow:0 0 8px #666;
	text-align:left;
	left:0;
	transform:none;
}

.page-node-2021 .paragraph--type--discover-more-item > span > span
.paragraph--type--discover-more-item > span > span,
.link-title {
	background:none !important;
	text-shadow:0 0 8px #666;
}

.paragraph--type--discover-more-item > span > span.link-title {
	font-family:'franklin-gothic-urw-cond';
}

.field-field_sections {
  position: relative;
  width: 1200px;
  height: 600px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 20px;
  overflow: hidden;
  margin:30px auto;
}

.field-field_sections > div {
  height: 100%;
}

.field-field_sections > div:nth-child(1) {
  grid-column: span 2;
  grid-row: span 4;
}

.field-field_sections > div:nth-child(2) {
  grid-column: 3;
  grid-row: span 3;
}

.field-field_sections > div:nth-child(3) {
  grid-column: 1;
  grid-row: 5 / span 2;
}

.field-field_sections > div:nth-child(4) {
  grid-column: 2;
  grid-row: 5 / span 2;
}

.field-field_sections > div:nth-child(5) {
  grid-column: 3;
  grid-row: 4 / span 3;
}

.field-field_sections a {
  display: block;
  background-size: cover;
  background-position: center;
  color: white;
  text-decoration: none;
  padding: 20px;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.field-field_sections a {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.field-field_sections {
  position: relative;
  max-width: 1200px;
  width:100%;
  height: 600px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 20px;
  overflow: hidden;
  z-index: 1;
}

.field-field_sections > div:not(.grid-hover-overlay) {
  position: relative;
  transition: opacity 1s ease;
  z-index: 1;
}

.field-field_sections.hovering > div:not(.grid-hover-overlay) {
  opacity: 0.3;
  pointer-events: none;
}

.grid-hover-overlay {
  position: absolute;
  width: 70%;
  height: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  z-index: 9999;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  pointer-events: none;

  transition: 
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-size: 3em;
  font-weight: bold;
  padding: 40px;
  text-shadow:0 0 8px #666;
  height: 80%;
  max-height: 80%; 
  overflow: hidden; 
  flex-shrink: 0; 
  will-change: transform, opacity;
  transform: translate3d(-50%, -50%, 0) scale(0.95);

}

.grid-hover-overlay.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);

}
 
.field-field_sections > div:not(.grid-hover-overlay) .field-descriptive-text {
  display: none;
}

.grid-hover-overlay .field-descriptive-text {
  font-size: 1rem;
  font-weight: normal;
  margin-top: 1rem;
  line-height: 1.6;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  border-radius: 8px;
  max-height: 60%;
  overflow-y: auto;
  padding-bottom:30px;
}

.grid-hover-overlay .field-descriptive-text ul {
  margin: 0;
  padding-left: 1.5rem;
}

.grid-hover-overlay .field-descriptive-text li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
}

.grid-hover-overlay {
  pointer-events: auto;
}

.grid-hover-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #232d4b;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}

.grid-hover-overlay.visible::before {
  opacity: 0.8;
}

.grid-hover-overlay > * {
  position: relative;
  z-index: 2;
}

.overlay-inner .link-title {
	line-height:125%;
}

.overlay-inner .link-title:hover {
	text-decoration:underline;
	text-decoration-color:#e57200;
	text-decoration-thickness:1px;
}

.grid-hover-overlay.fading-out {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.95);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  color: white;
  border: none;
  font-size: 2rem;
  font-weight:normal;
  line-height: 1;
  padding: 0.5rem;
  border-radius: 50%;
  border:1px solid white;
  cursor: pointer;
  z-index: 10000;
  transition: background 0.3s;
  padding:0 8px;
}

.popup-close:hover {
  background: #e57200;
}

.views-view-responsive-grid__item::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e57200;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 1;
}

.views-view-responsive-grid__item:hover::before {
  opacity: 0.7; /* or whatever looks good */
}

.grid-hover-overlay {
  display: none;
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: 90%;
  background: white;
  border: 2px solid #e57200;
  padding: 20px;
  box-shadow: 0px 4px 20px rgba(0,0,0,0.2);
  z-index: 9999;
}

.grid-hover-overlay.visible {
  display: block;
}

.grid-hover-overlay.fading-out {
  display: none;
}

.grid-hover-overlay {
  display: none;
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: 90%;
  background: white;
  border: 2px solid #e57200;
  padding: 20px;
  box-shadow: 0px 4px 20px rgba(0,0,0,0.2);
  z-index: 9999;
}

.grid-hover-overlay.visible {
  display: block;
}

.grid-hover-overlay.fading-out {
  display: none;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #e57200;
  cursor: pointer;
}

.popup-inner {
  padding-top: 30px; /* so the close button doesn't overlap text */
}


