/* Temp Hidden Filters */
/* .filter-buttons, button#filter-toggle {
    display: none !important;
} */

button[data-filter="athletics"] {
  display: none;
}

/* END TEMP HIDDEN */

.scroll-buttons {
  opacity: 0;
  pointer-events: none; /* prevent clicks when invisible */
  transition: opacity 0.3s ease;
}

.scroll-buttons.visible {
  opacity: 1;
  pointer-events: auto;
}


/* Anchors */
#discover, #connect, #engage {
  scroll-margin-top: 100px;
}
/* END Anchors */

.share-story-cta {
    display: flex;
    margin: 0 auto;
    justify-content: center;
    gap: 26px;
}

.share-story-cta p {
	font-size: 30px;
	font-weight: 500;
}

@media screen and (max-width: 768px) {	
	.share-story-cta {
		display: flex;
		flex-direction: column;
		gap: 0;
	}
	.share-story-cta p {
		margin-bottom: 5px;
		margin-top: 60px;
		font-size: 26px;
	}
}


main > .container-flex, article > .container-flex, article > div > .container-flex, article > section.container-flex, article > section > .container-flex, section > .container-flex, article > section > section > .container-flex, article > ouc\:div > .container-flex, article > ouc\:div > section.container-flex, article > ouc\:div > section > .container-flex {
			max-width: 1440px;
		}
			
		section.text-container {
			padding-top: 85px;
		}
		
		@media screen and (max-width: 768px) {		
			section.text-container {
				padding-top: 60px;
			}
			
			article {
				padding-bottom: 60px;
			}
		}

		.container-flex {
			margin-bottom: 0 !important;
		}
			
		section.text-container .text-container {
			padding-top: 0px;
		}
			
		article {
			padding-bottom: 85px;
		}
			
		p:empty {
			display: none;
		}
			
			.container-flex .statement-text {
				max-width: 780px;
				margin: 0 auto;
				margin-bottom: 30px;
			}
		
		/* Billboards */
		section.text-container.gray {
			background: linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 100%), linear-gradient(121deg, #255B9B 0%, #247C5C 80.98%);
			color: #fff;
			padding-top: 75px;
   			padding-bottom: 75px;
		}
			
		section.text-container.gray .container-flex {
			display: flex;
			align-items: center;
		}


		.f_w_billboard {
			background-color: #fff;
		}
			
		.f_w_img img {
			border-radius: 0px 25px 25px 0px;
			box-shadow: 0px 4px 11.7px 1px rgba(0, 0, 0, 0.25);
		}


		.f_w_billboard {
			margin-top: 60px;
			margin-bottom: 60px !important;
		}
			
		/* First Section */
		.container-flex.row-alt.columns-2.object-flow-middle .col-sm {
			padding: 0px
		}

		.container-flex.row-alt.columns-2.object-flow-middle {
			display: flex;
			align-items: center;
			margin: 0 auto;
			flex-direction: row;
			align-content: center;
			justify-content: center;
			padding: 0 16px;
		}
		
		@media screen and (min-width: 768px) {		
		.container-flex.row-alt.columns-2.object-flow-middle {
				padding: 0 60px;
			}
		}
			
		@media screen and (min-width: 1000px) {
			.container-flex.row-alt.columns-2.object-flow-middle > .col-sm:not(:last-child) {
				margin-right: 60px; /* Adds middle spacing only */
			}
		}
		
			
		@media screen and (max-width: 1000px) {
			.container-flex.row-alt.columns-2.object-flow-middle {
				display: block;
				text-align: center;
			}
		}
		

			/* Nav Desktop - Only for Landing */
			.middle-nav {
			max-width: 1320px;
			}
			
		/* Video */
		.featured-video-wrapper, .featured-image {
			margin: 0px;
		}
			
			@media screen and (max-width: 1399px) {
			.featured-video-wrapper, .featured-image {
				margin-bottom: 30px;
			}
			}

			
		/* Hero */
			
		h1 {	
    		font-style: italic;
			font-weight: 400 !important;
		}
			
		.page-banner {
			text-shadow: none !important;
		}
			
		.page-banner:before {
			background-color: #ffffff00 !important;
		}
			
		.page-banner .mobile-banner {
			min-height: 215px !important;
		}

		@media screen and (min-width: 768px) {
			.page-banner .tablet-banner.no-bg {
				min-height: 300px;
			}
		}
		
		@media screen and (min-width: 1900px) {
		.page-banner.video .desktop-banner {
			min-height: 526px !important;
		}
		}
			
		@media screen and (min-width: 1200px) {
		.page-banner.video .desktop-banner {
			min-height: 332px !important;
		}
		}

		@media screen and (max-width: 999px) {
			.page-banner {
				display: none;
			}
			
			article:nth-child(1) .text-container {
				padding-top: 0px;
			}

			article:first-child .text-container {
				padding-top: 0px !important;
				background-color: black;
			}

			article > .text-container:first-of-type {
				padding-top: 0;
			}

			article > .text-container:first-of-type .container-flex {
				padding-left: 0 !important;
				padding-right: 0 !important;
			}

			article > .text-container:first-of-type .col-sm:nth-of-type(2) {
				padding-left: 20px !important;
				padding-right: 20px !important;
			}

			article > .text-container:first-of-type .container-flex .embed-container {
				border-radius: 0;
			}
		}
			
		/* Headings */
			
		.text-container h2, .text-container .h2, .text-container h3, .text-container .h3 {
			font-family: ivystyle-tw, sans-serif;
			font-style: italic;
			font-weight: 700;
			line-height: normal;
			background: linear-gradient(121deg, #255B9B 0%, #247C5C 80.98%);
			background-clip: text;
			-webkit-background-clip: text;
			-webkit-text-fill-color: transparent;
			margin-top: 0;
		}
			
	h2, .h2 {
	  font-size: 2rem;
  }
  @media screen and (min-width: 768px) {
    h2, .h2 {
      font-size: 2.1875rem;} }
  @media screen and (min-width: 1000px) {
    h2, .h2 {
      font-size: 2.5rem;
      } }
			
		section.text-container.gray h2, section.text-container.gray h3 {
		font-family: ivystyle-tw, sans-serif;
		font-size: 48px;
		font-style: italic;
		font-weight: 700;
		line-height: 1.1;
		background: linear-gradient(90deg, #D4EEEF 0%, #FDFEFE 100%);
		background-clip: text;
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		}
			
		.home h2:after, .home h3:after {
			display: none;
		}
			
		/* Video Player */
		.embed-container {
			border-radius: 10px;
			box-shadow: 0px 4px 32.7px 0px rgba(0, 0, 0, 0.30);
		}
			
		/* 360 Insert */
		section.subscribe-insert {
			height: 260px;
			justify-content: flex-end;
			margin-top: 85px;
			width: 100%;
			grid-template-columns: 1fr repeat(8, 170px) 1fr;
			display: grid;
		}
			
		.subscribe-insert::before {
			content: "";
			grid-column: 1 / span 8;
			grid-row: 1;
			background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(121deg, #255B9B 0%, #247C5C 80.98%);
			border-radius: 0px 40px 40px 0px;
			display: block;
		}

		.inner-insert {
			display: flex;
			flex-direction: row;
			align-items: center;
			max-width: 1440px;
			justify-content: flex-start;
			margin: 0 auto;
			grid-row: 1;
			position: relative;
			grid-column: span 4 / span 7;
			grid-column-start: 2;
			gap: 60px;
    		padding-right: 60px;
		}
		
		.inner-insert .col-sm {
			display: contents;
		}
			
		.inner-insert h3 {
			color: #fff;
			font-family: ivystyle-tw, sans-serif;
			font-style: italic;
			font-weight: 700;
			margin-bottom: 0px;
			font-size: 40px;
		}
			
		.subscribe-insert .statement-text {
			color: #fff;
			margin-top: 6px;
			font-size: 26px;
		}
			@media screen and (max-width: 1000px) {
			.subscribe-insert .statement-text {
				font-size: 1.25rem;
				padding-top: 10px;
			}
			}
		
			@media screen and (max-width: 1500px) {
			section.subscribe-insert {
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
				background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(121deg, #255B9B 0%, #247C5C 80.98%);
				height: 100%;
				padding-bottom: 60px;
			}

			.inner-insert {
				display: flex;
				flex-direction: column;
				gap: 20px;
				padding: 0 30px;
			     text-align: center;
			}
		}
			
		/* Stories */
		.container-flex.inthenews {
			display: none;
		}
			
		.threecolumnblog > .col-sm-24 {
			display: flex;
			flex-direction: row;
			max-width: 100%;
			overflow-x: scroll;
			height: 500px;
		}
			
		/* Anchors */
.anchor-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.anchor-btns a.button {
    position: relative;
    display: inline-block;
    padding: 18px 20px 14px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 15px;
    background: #fff;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #004785, #00794C 90%);
    transition: all 0.3s ease;
    max-width: none;
}

.anchor-btns a.button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px; /* border thickness */
  background: linear-gradient(90deg, #004785, #00794C 90%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;   /* Chrome/Safari */
          mask-composite: exclude; /* Firefox */
  pointer-events: none;
  transition: background 0.3s ease;
}

/* Hover state */
.anchor-btns a.button:hover {
  background: linear-gradient(90deg, #004785, #00794C 90%); /* full fill */
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: #fff; /* white text */
  color: #fff;
}

.anchor-btns a.button:hover::after {
  background: linear-gradient(90deg, #004785, #00794C 90%);
}

			
		/* SUBSCRIBE */
		.subscribe-prefooter {
			color: #fff;
			background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(121deg, #255B9B 0%, #247C5C 80.98%);
			padding: 40px 0 40px 0;
		}
			
		.subscribe-prefooter .h4 {
			font-family: ivystyle-tw, sans-serif;
			font-style: italic;
		}
			
			
			form#subscribeForm {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 100%;
	display: inline-flex;
}
	
#subscribeForm input {
	padding: 8px 16px 8px 16px;
	width: 100%;
	height: 60px;
}

#subscribeForm button {
	border-radius: 9px;
	border: 3px solid #00794C;
	background: #FFF;
	padding: 10px 24px 6px;
	color: #00794c;
	font-weight: 700;
}

#subscribeForm button:hover {
	background-color: #00794c;
	color: #fff;
}

.input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  width: 100%;
  padding-right: 7px;
	max-width: 450px;
}

.input-wrapper input {
  flex: 1;
  border: none;
  padding: 10px;
  font-size: 16px;
  outline: none;
}



		#subscribeForm button:hover {
			background-color: #00794c;
			color: #fff;
		}
			
		/* Hover Bullets */
		.hovering-effect li {
		padding-left: 0px;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		position: relative;
		line-height: initial;
		cursor: pointer;
		text-decoration: none;
		} 
		.hovering-effect li::before {
		position: relative;
		position: absolute;
		margin-top:10px;
		left: -25px;
		-webkit-transition: all .3s ease;
		-o-transition: all .3s ease;
		transition: all .3s ease;
		content: url(/_resources/icons/svg/marine/chevron-marine.svg);
		height: 31px;
		width: 19px;
		}
		.hovering-effect li:hover:before {
		transform: translate(35%,0);
		}
		
		.hovering-effect li a {
		text-decoration: none;
		} 
		.hovering-effect li:hover a {
		text-decoration: underline;
		}

.filter-buttons {
    display: flex;
    flex-direction: row;
    background: #f3f3f3;
    border-radius: 36px;
    width: fit-content;
    padding: 6px;
    position: relative;
    right: 0;
    margin: 0 auto;
    margin-bottom: 20px;
    font-weight: 500;
}

.filter-buttons button {
	padding: 6px 15px 4px;
    margin-right: 10px;
    border: none;
    cursor: pointer;
    border-radius: 37px;
    font-size: 14px;
}

.filter-buttons button.active {
	background: #00794c;
    color: #fff;
}

button#filter-toggle {
    display: flex;
    flex-direction: row;
    font-size: 18px;
    width: 100%;
    height: 56px;
    align-items: center;
    background: #fff;
    margin: 0 auto;
    margin-bottom: 20px;
    color: #00794c;
    justify-content: center;
    border: 3px solid #00794c;
    border-radius: 5px;
    font-weight: 700;
}

#button-text {
	width: 100%;
    padding-left: 25px;
    color: #333;
    font-weight: 500;
}

button#filter-toggle svg {
    width: 25px;
    fill: #00794c;
    margin-right: 14px;
}
			
button#filter-toggle .icon-filter, button#filter-toggle.expanded .icon-close {
    display: block;
}

button#filter-toggle.expanded .icon-filter, button#filter-toggle .icon-close {
    display: none;
}


@media screen and (max-width: 768px) {
.filter-buttons button {
    font-size: 18px;
	border-radius: 5px;
	margin: 0;
}

.filter-buttons {
        display: none;
        flex-direction: column;
        width: calc(100% - 30px);
        left: 0;
        background: #fff;
        border: 3px solid #00794c;
        border-radius: 5px;
        position: absolute;
        z-index: 10;
        margin-top: -23px;
}
}

@media screen and (min-width: 769px) {
#filter-toggle{
		display: none !important;
	}
}

.slider-container {
    display: flex;
    overflow-x: auto;
    gap: 0px;
    padding-bottom: 30px;
}

.card {
	flex: 0 0 310px;
    background: #f4f4f4;
    border-radius: 8px;
    height: 470px;
    width: 100%;
    transition: transform 0.3s;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    box-shadow: 0px 4px 4px 0px rgb(0 0 0 / 8%);
    transform: scale(.95);
}
	
.card a {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
	text-decoration: none;
}

.card:hover {
  transform: scale(1);
}
			
.card {
  flex: 0 0 310px;
  position: relative; /* so pseudo-element positions correctly */
}
			
/* base state: transparent overlay */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 71, 133, 0); /* fully transparent */
  border-radius: inherit;
  pointer-events: none;
  transition: background 0.3s ease 0.3s; /* transition applied here */
}

/* overlay state: dark blue */
.card.overlay::before {
  background: rgba(0, 71, 133, 0.49); /* #0047857d */
}

	
.card .h4 {
    color: #fff;
    font-family: ivystyle-tw, sans-serif;
    line-height: 1;
    margin-bottom: 10px;
	display: none;
}
	
.card_footer p {
    margin: 0;
	font-family: ivystyle-tw, sans-serif;
    font-size: 1.38rem;
}

.card:after {
    content: '';
    background: linear-gradient(180deg, rgba(0, 71, 133, 0.00) 0%, #004785 100%);
    height: 160px;
    width: 100%;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 9px;
    z-index: -1;
}
	
.plus-btn {
  width: 50px;               /* meets recommended touch target */
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00794c;
  color: #fff;            /* ensure contrast vs. background */
  line-height: 1;
  cursor: pointer;
}

.card:hover .plus-btn { background: #004785; color: #ffffff; }

.plus-btn:focus-visible {
  outline: 3px solid #005fcc;  /* visible focus ring */
  outline-offset: 2px;
}

/* Visually hidden but screen-reader readable */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}


.card_footer {
    display: flex;
    align-items: center;
    color: #fff;
    align-content: center;
}
	
/* width */
.slider-container::-webkit-scrollbar {
  height: 12px;
}

/* Track */
.slider-container::-webkit-scrollbar-track {
 background: rgba(0, 121, 76, 0.20);
  border: 2.5px solid #fff;
}
 
/* Handle */
.slider-container::-webkit-scrollbar-thumb {
  background: #00794c;
}

/* Handle on hover */
.slider-container::-webkit-scrollbar-thumb:hover {
  background: #00794c; 
  cursor: pointer;
}
	
/* Right and left button */
	.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  scroll-behavior: smooth; /* enables smooth scrolling */
  padding: 1rem;
  border: 1px solid #ccc;
  max-width: 300px;
  white-space: nowrap;
}

.item {
  min-width: 100px;
  height: 100px;
  background: #e5e5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-radius: 8px;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  scroll-behavior: smooth;
  padding: 1rem;
  border: 1px solid #ccc;
  max-width: 300px;
  white-space: nowrap;
}

.item {
  min-width: 100px;
  height: 100px;
  background: #e5e5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-radius: 8px;
}

/* Arrow buttons container */
.scroll-buttons {
	display: flex;
    gap: 0.5rem;
    justify-content: space-between;
    top: -315px;
    margin: 0 -65px;
    position: relative;
}

@media screen and (max-width: 1024px) {
	.scroll-buttons {
		display: none;
	}
}

@media screen and (max-width: 1500px) {
	.scroll-buttons {
		 margin: 0 -50px;
	}
}

.slider-wrapper {
    z-index: 2;
    position: relative;
}

/* Circular arrow button */
.arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
	border: 3px solid #00794c;
    justify-content: center;
    background: #fff;
    color: #00794c;
    cursor: pointer;
}

.arrow-btn:hover {
  background: #00794c;
  color: #fff;
}

.arrow-btn:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}

/* Email Thank You */
#thankYouMessage {
    color: rgb(255, 255, 255);
    margin-top: 10px;
    text-align: center;
    width: 400px;
    flex-direction: column;
    align-items: center;
    font-size: 24px;
    gap: 10px;
}

@media screen and (min-width: 1500px) {
	#thankYouMessage {
    border-left: 1px solid rgba(255, 255, 255, 0.22);
	}
}