@charset "UTF-8";

:root {
	--color-primary: #8CC640;
	--color-secondary: #056645;
	--color-accent: #FFCB06;
	--screen-basis: 100%;
	
	--right-content-width: 85%;
	
	--gradient-stop-one-opacity: 0.5;
	--gradient-stop-two-opacity: 0;
	--gradient-stop-three-opacity: 0;

	--gradient: linear-gradient(to top,
		rgb(0 0 0 / var(--gradient-stop-one-opacity)) 0%, 
		rgb(0 0 0 / var(--gradient-stop-two-opacity)) 50%, 
		rgb(0 0 0 / var(--gradient-stop-three-opacity)) 100%
	);
	
	--bg-image: image-set(
		url("https://as.sdsu.edu/foodinsecurity/images/food-donation-2x.avif") type('image/avif'), 
		url("https://as.sdsu.edu/foodinsecurity/images/food-donation-2x.jpg") type('image/jpeg')
	);
	
	--bg-position: center;
	
	scroll-behavior: auto;
}

body {
	font-family: 'lato', "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	position: relative;
	margin: 0;
	padding: 0;
	line-height: 1.5;
}

a:any-link {
	position: relative;
	text-decoration: none;
	font-weight: 800;
}

a.inline-link:where(:link, :visited, :active, :hover, :focus-within) {
	text-decoration: underline;
	text-decoration-color: var(--color-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
	transition:
		text-underline-offset 0.2s ease,
		text-decoration-thickness 0.2s ease;
}

a.inline-link:is(:hover) {
	text-decoration-thickness: 4px;
	text-underline-offset: 3px;
	text-decoration-skip-ink: none;
}


.screen-left a:any-link {
	color: var(--color-secondary, darkgreen);
}

.screen-right a:any-link {
	color: var(--color-accent, gold);
}

a.link-external :where(.link-text),
:is(nav) .link-text
{
	display: inline-block;
	min-height: 44px;
	min-width: 44px;
	align-content: end;
	padding-bottom: 4px;
	text-decoration: none;
	font-weight: 800;
	position: relative;	
    background-image: linear-gradient(to right, var(--color-accent) 0%, var(--color-accent) 100%);
    background-size: 0% 4px;
	background-position-y: calc(100% - 2px); 
    background-repeat: no-repeat;
    transition: background-size 300ms ease;
}

a.link-external:hover .link-text,
:is(nav) li:hover .link-text

{
	background-size: 100% 4px;
}

/* .screen-right a.link-external :is(.link-text:any-link) {
	color: #FFFFFF;
} */

:is(.btn) .link-text,
.link-text:is(.inline-link) {
	display: inline;
}

/* .screen-right a:any-link {
	color: #FFFFFF;
} */

hr {
	background-color: var(--color-secondary); 
	margin-block: 2.5rem;
}

:is(#hours, #closures) hr {
	margin-block: 1rem;
}

h2 {
	margin-bottom: 1.5rem;
}

dt {
	margin-bottom: 1.5rem;
}

#resources h2 {
	font-size: 1.85rem;
	margin-bottom: 0;
}

p, hgroup p {
	font-size: clamp(1rem, 50%,1.125rem);
	line-height: 1.5 !important;
}

.content-container {
	display: flex;
	flex-direction: column;
	row-gap: 3.25rem;
	margin: 0;
	min-height: 100vh;
}

.btn.btn-warning,
.btn.btn-warning:is(:hover, :focus-within) {
	border-color: rgb(0 0 0 / 0.5);
}

.btn.btn-warning .link-text {
	background: none;
}

.link-text:hover,
li:has(.link-text):hover .link-text,
.nav-item .current-location
{ 
	background-size: 100% 4px; 
}

#primary-nav {
	background-color: var(--color-primary);
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 999;
	isolation: isolate;
	min-height: 65px;
}

#primary-nav .link-text {
	color: #000000 !important;
	font-weight: 600;
	display: inline-block;
	align-content: end;
}

.nav-list {
    display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	row-gap: 2rem;
	background-color: var(--color-primary);
    padding: 0.5rem 0;
	margin: 0;
	font-size: 2rem;
	position: fixed;
	top: 0;
	left: -100vw;
	height: 100dvh;
	width: 100dvw;
	z-index: 999;
	translate: 0;
	transition: translate 0.3s ease;
	z-index: 1;
}

#toggler {
	z-index: 9999;
}

#primary-nav .nav-item br {
	display: none;
}

#calfresh-enrollment br {
	display: flow-root;
}

.link-inline {
	display: inline;
}

.link-external, .link-inline {
	position: relative; 
	width: fit-content;
}

#secondary-nav .link-text {
	min-height: unset;
}

#secondary-nav .link-text::after,
.link-external::after
{
	content: '';
	border: solid currentColor;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 3px;
	
	position: absolute;
	top: 50%;
	right: -20px;
	
	rotate: -45deg;
	translate: 0% -4px;
	transition: translate 0.3s ease;
	pointer-events: none;
}

#calfresh-enrollment {
	display: flex;
}

p:has(.link-external) {
	container: link-container / inline-size;
}

@container link-container (width < 445px) {
	.link-external::after {
		top: 45%;
	}
}


#calfresh-enrollment .link-external::after {
	top:25%;
	right: -20px;
}

#secondary-nav li .link-text::after {
	translate: 0% -4px;
}

#secondary-nav li:hover .link-text::after {
	translate: 50% -4px;
}

.link-external::after {
	translate: 0% -4px;
}

.link-external:hover::after {
	translate: 50% -4px;
}

p:has(small), small a.link-text:any-link {
	text-wrap: balance;
	text-wrap: pretty;
	font-size: 0.95rem;
}

.description {
	max-width: 600px;
	margin-inline: auto;
	padding-inline: 2rem;
}

.screen-right {
	position: relative;
}

.screen-right .description {	
	grid-column: content;
	grid-row: content;
	margin-inline: auto;
	align-self: center;
}

#facility-details {
	container: facility-details / inline-size;
}

.screen-right .description > ul {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem 4rem;
}


.description h3 {
	font-size: 1.2rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
	color: var(--color-secondary);
}

.description #location {
	flex-basis: 100%;
}

@container facility-details (width >= 400px) {
	ul:has(h3) {
		display: flex;
		flex-wrap: wrap;
		gap: 2rem;
	}
} 

.screen-left {
	padding-top: 5rem;
	background: #FFFFFF;
	overflow: clip var(--overflow-type, hidden);
	z-index: 1;
	height: fit-content;
}



.description .description {
	padding: 0;
	margin: 0;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: solid rgb(from var(--color-secondary) r g b / 0.25) 1px;
}

.description .description ul li:not(:last-child) {
	margin-bottom: 2rem;
}

main:first-child > section:first-of-type {
	padding-top: 111px;
}

#toggler:not(.collapsed) ~ .nav-list {
	translate: 100% 0;
}

.nav-list li {
	display: inline-block;
	line-height: 1.2;
	text-align: center;
	min-height: 44px;
	min-width: 44px;
	align-content: end;
}

.screen-left .navbar {
	background-color: var(--color-primary);
}

#navbar.collapsing {
  transition: all .1s linear
}

#toggler {
	z-index: 99999 !important;
	width: 60px;
	height: 45px;
	rotate: 0deg;
	cursor: pointer;
	outline: 0;
	border: 0;
	border-radius: 0 !important;
	position: relative !important;
	margin: 1rem !important;
	background: transparent;
}

#toggler:focus {
	box-shadow: 0 0 0 2px rgb(0 0 0 / 0.25) !important;
}

#toggler span {
  display: block;
  position: absolute;
  height: 2px;
  width: 70%;
  background: #000;
  border-radius: 0;
  left: 15%;
  rotate: 0deg;
  pointer-events: none;
  transition:
	  width 100ms ease,
	  top 100ms ease,
	  left 100ms ease,
	  rotate 100ms ease;
}

#toggler span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%
}

#toggler span:nth-child(2) {
  rotate: 45deg;
}

#toggler span:nth-child(3) {
  rotate: -45deg;
}

#toggler span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%
}

#toggler.collapsed span:nth-child(1) {
  top: 6px;
  width: 60%;
  left: 20%
}

#toggler.collapsed span:nth-child(2) {
  top: 18px;
  width: 60%;
  left: 20%;
  rotate: 0deg;
}

#toggler.collapsed span:nth-child(3) {
  top: 18px;
  width: 60%;
  left: 20%;
  rotate: 0deg;
}

#toggler.collapsed span:nth-child(4) {
  top: 30px;
  width: 60%;
  left: 20%
}

h1 {
	font-family: "futura-pt", Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	font-weight: 600; 
	font-size: clamp(3rem, 10dvw ,4.7rem) !important; 
	color: var(--color-secondary);
	line-height: min(85%, 64px);
	margin-left: -5px;
	margin-block: 0 20px;
}

h1 .subheader, .subheader a.link-text:any-link {
	margin: 0;
	line-height: 1.2;
	padding-left: 0.25rem;
}

h1 .subheader {
	font-size: clamp(1.5rem, 4vw ,1.9rem);
	font-weight: lighter;
}

h2 ~ .subheader {
	margin-top: 0;
	font-family: 'lato', sans-serif;
	font-size: 0.95rem;
	display: flex;
}

#location p.icon {
	display: flex;
}

h1:not(:has(img)) {
	text-box-trim: trim-end;
}

.subheader {
	color: #000000;
	margin: 0;
	text-box-trim: trim-end;
	text-box-edge: cap aplhabetic;
}

#resources h2 {
	text-wrap: balance;
	text-wrap: pretty;
}

li a {
	padding-bottom: 4px;
}

#secondary-nav {
	font-size: clamp(1rem, 5vw, 1.5rem);
}

#secondary-nav ul {
	list-style: none;
	padding: 0;
	margin-inline: auto;
}

#secondary-nav li 
{ width: fit-content; }

#secondary-nav li:nth-child(2) 
{ margin-block: 2rem; }

#secondary-nav li div {
	display: inline flex;
	align-items: center;
}

.screen-right {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}

footer {
    text-align: center;
    border-top: solid rgb(0 0 0 / 0.25);
    margin-inline: auto;
	width: 88vw;
	display: flex;
	justify-content: center;
	align-items: start;
	column-gap: 2rem;
	min-height: 60px;
	padding-block: 1rem;
	align-items: center;
}

footer .img-fluid {
	max-width: clamp(150px, 100%, 250px);
}

.skipnav a {
	display: initial;
}

span:has(.logo-inline) {
	min-width: 126px;
	display: inline-block;
	text-align: end;
}

.logo-inline {
	display: inline-block;
	max-height: 45px;
}

.vertical-rule {
	height: 40px;
	width: 1px;
	background: var(--color-secondary);
	border-radius: 2px;
	display: inline-block;
	margin-inline: 15px;
}

.vertical-rule-inline {
	display: block;
	visibility: hidden;
	height: 0;
}

#backtotop {
	display: none;
	width: 50px;
	aspect-ratio: 1 / 1;
	position: fixed;
	bottom: 50px;
	right: 50px;
	opacity: 50%;
	transition: opacity 0.3s ease;
	z-index: 100;
}

#backtotop:hover {
	opacity: 100%;
}

.btn {
	position: relative;
	overflow: clip;
}

@property --gradient-boundary {
	syntax: "<percentage>";
	inherits: false;
	initial-value: 0%;
}
@property --background-opacity-highlight {
	syntax: "<number>";
	inherits: false;
	initial-value: 0;
}

.btn.highlight-hover {
	--gradient-boundary: 0%;
	--background-opacity-highlight: 0.5;
    background-image: radial-gradient(ellipse at bottom,
		rgb(255 255 255 / var(--background-opacity-highlight)) var(--gradient-boundary),
	 	rgb(255 255 255 / var(--background-opacity-highlight)) var(--gradient-boundary),
		rgb(from var(--color-accent) r g b / 1) calc(var(--gradient-boundary) + 2%)
	);
	transition: none;
}
.btn.highlight-hover:is(:hover, :focus-within) {
	--gradient-boundary: 100%;
	--background-opacity-highlight: 0.1;
	transition:
		--background-opacity-highlight 0.2s linear 0.1s,
		--gradient-boundary 0.15s ease;
}

.btn.btn-warning .link-text {
	color: #000000 !important;
}

details {
    border: solid black 2px;
    margin-block: 2rem;
    border-radius: 5px;
}

summary {
	display: flex;
	align-items: center;
	position: relative;
	font-size: 1.25rem;
	padding: 1rem;
	text-wrap: balance;
	text-wrap: pretty;
	font-weight: 500;
	cursor: pointer;
}

summary::after {
    content: '';
    border: solid #000000;
    border-width: 0 5px 5px 0;
    padding: 5px;
    rotate: 45deg;
    transition: 
		rotate 0.3s ease;
    pointer-events: none;
	margin-left: auto;
}

summary:hover strong {
	color: var(--color-secondary);
}
summary:hover::after {
    border-color: var(--color-secondary);
}

summary img {
	margin-right: 0.75rem;
}

details[open] summary::after {
	rotate: 225deg;
	translate: 0 55%;
}

details ul {
	padding: 0;
}

details li {
	margin-block: 2.5rem;
}

details li:first-child {
	margin-top: 0;
}

details li::marker {
	content: '';
	font-size: 0;
	display: none;
}

.question + p, p:first-child {
	margin-top: 0;
}

.question {
	font-weight: 800;
	font-size: 1.25rem;
	color: var(--color-secondary);
	text-wrap: pretty;
	margin: 0;
	display: flex;
	margin-bottom: 0.5rem;
}

#contact-form :is(input, textarea) {
    display: block;
    width: -webkit-fill-available;
	width: -moz-available;
	width: stretch;
    margin: 0 0 1.125rem 0;
    border: solid var(--color-secondary) 1px;
    border-radius: 2px;
    background: #FFFFFF;
    padding: 0.5rem;
	position: relative;
	font-size: 1.15rem;
	font-family: 'lato', sans-serif;
}

#contact-form :is(input, textarea)::placeholder {
    font-weight: 300;
    font-family: 'lato', sans-serif;
    font-size: 1.15rem;
	font-weight: lighter;
}

#contact-form :is(input, textarea):focus-within::placeholder {
	opacity: 0;
}

#contact-form textarea {
	min-height: 200px;
	resize: vertical;
}

#contact-form button {
	min-width: 150px;
	padding: 0.5rem;
	margin-top: 15px;
}

dd {
	margin: 0 ;
}

.screen-right .btn {
	padding: 0.5rem 2rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.insta {
	translate: 0 25%;
}
	
.insta, summary:hover img, details[open] summary img {
	filter: brightness(0) saturate(100%) invert(15%) sepia(94%) saturate(3557%) hue-rotate(159deg) brightness(89%) contrast(96%);
}

.text-danger {
	color: hsl(354 70% 39% / 1) !important;
}

.text-success {
	color: var(--color-secondary);
	font-weight: 700;
}

button[disabled] {
	pointer-events: none;
    background-color: rgb(from var(--color-accent) r g b / 0.5);
    background-image: none !important;
    color: rgb(0 0 0 / 0.5);
    border-color: rgb(0 0 0 / 0.5);
}

#form-response :is(.text-danger, .text-success) {
	transition-property: translate, opacity, margin-block, max-height;
	transition-timing-function: ease;
	transition-duration: 0.5s;
	transition-delay: 0.2s;

	max-height: 100px;
	opacity: 1;
	margin-block: 1rem;
	translate: 0 0;
	
	@starting-style {
		opacity: 0;
		max-height: 0;
		margin-block: 0;
		translate: 0 -100%;
	}
}


.remove {
	transition-delay: 0, 0, 0, 0.2s;
	max-height: 0;
	opacity: 0;
	margin: 0;
	translate: 0 -100%;
}


@keyframes fadeIn {
	from {
		opacity: 0;
		translate: 0 100%;
	}
	to {
		opacity: 1;
		translate: 0 0;
	}
}

@keyframes fadeOut {
	from {
		opacity: 1;
		translate: 0 0;
	}
	to {
		opacity: 0;
		translate: 0 100%;
	}
}


@supports not selector(::details-content) {
	details :is(ul, p) {
		padding-inline: 1rem !important;
	}
}


@media not (prefers-reduced-motion: reduce) {
	
	:root {
		scroll-behavior: smooth;
	}
	
	.description {
		translate: 0 100%;
		opacity: 0;
		animation: fadeIn 0.8s ease forwards;
		animation-delay: 0.6s;
	}

	.screen-right .description {
		animation-delay: 1s;
	}

	.fade-in {
		animation: fadeIn 0.8s ease forwards;
	}

	.fade-out {
		animation: fadeOut 0.8s ease forwards;
	}
	
	details::details-content {
		max-height: 0; 
		padding: 0 1rem;
		overflow: hidden;
		content-visibility: auto;
		transition:
			padding 0.6s ease,
			max-height 0.6s ease,
			content-visibility 0.6s ease allow-discrete;
	}

	details[open]::details-content {
		padding-block: 1rem;
		max-height: var(--open-height);
	}
}

#arh {
	container: rocks-hunger / inline-size;
	text-align: center;
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	gap: 2rem;
}

 #arh :is(img, figcaption) {
	width: clamp(150px, 75%, 300px);
	margin-inline: auto;
	object-position: top center;
	object-fit: contain;
}

#arh .btn {
	margin: 0;
}

.icon::before {
	content: "";
	display: inline-block;
	width: 20px;
	aspect-ratio: 1 / 1;
	margin-right: 7px;
    translate: 0 4px;
}

.icon.icon-calendar::before {
    content: url('https://as.sdsu.edu/images/icon/calendar.svg') / "Day";
}

.icon.icon-clock::before {
	content: url('https://as.sdsu.edu/images/icon/time.svg') / "Time";
}

.icon.icon-prohibit::before {
	content: url('https://as.sdsu.edu/images/icon/prohibition.svg') / "Closed";
}

.icon.icon-note::before {
	content: url('https://as.sdsu.edu/images/icon/note.svg') / "Note";
}

.icon.icon-map::before {
	content: url('https://as.sdsu.edu/images/icon/location.svg') / "Location";
	min-width: 20px;
}

.icon.icon-green::before {
	filter: brightness(0) saturate(100%) invert(24%) sepia(61%) saturate(1565%) hue-rotate(131deg) brightness(96%) contrast(96%);;
}

.mobile-hero-img {
    height: 10rem;
    background-image: var(--bg-image);
    width: 100%;
    background-size: cover;
    background-position: center;
    margin-top: -5px;
}

#calfresh {
	--bg-image: image-set(
		url("https://as.sdsu.edu/foodinsecurity/images/calfresh-foods.avif") type('image/avif'),
		url("https://as.sdsu.edu/foodinsecurity/images/calfresh-foods.jpg") type('image/jpeg')
	);
}

#foodpantry {
	--bg-image: image-set(
		url("https://as.sdsu.edu/foodinsecurity/images/foodpantry-food.avif") type('image/avif'),
		url("https://as.sdsu.edu/foodinsecurity/images/foodpantry-food.jpg") type('image/jpeg')
	);
	--bg-position: center right;
}

#resources {
	--bg-image: image-set(
		url("https://as.sdsu.edu/foodinsecurity/images/foodpantry-cans.avif") type('image/avif'),
		url("https://as.sdsu.edu/foodinsecurity/images/foodpantry-cans.jpg") type('image/jpeg')
	);
}

#contact {
	--bg-image: image-set(
		url("https://as.sdsu.edu/foodinsecurity/images/foodinsecurity-contact.avif") type('image/avif'),
		url("https://as.sdsu.edu/foodinsecurity/images/foodinsecurity-contact.jpg") type('image/jpeg')
	);
}

.screen-right #calfresh-apply h2 {
	font-size: 32px;
}

.screen-right #calfresh-apply p {
	font-size: 20px;
}



#facility-details ul {
	list-style-type: none;
	padding: 0;
}

#facility-details ul li li {
	border-top: solid rgb(from var(--color-secondary) r g b / 0.25) 1px;
	margin-bottom: 1rem;
	padding-top: 1rem;
}

#facility-details ul li li:first-child {
	border: none;
}

#facility-details ul p {
	margin: 0;
}

#facility-details h3 {
	margin-top: 0;
}

.visually-hidden, .visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute!important;
    width: 1px!important;
    height: 1px!important;
    padding: 0!important;
    margin: -1px!important;
    overflow: hidden!important;
    clip: rect(0,0,0,0)!important;
    white-space: nowrap!important;
    border: 0!important;
}

.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
	margin-top: 0.5rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-warning {
    color: #000;
    background-color: var(--color-accent);
    border-color: var(--color-accent);
	margin-bottom: 1.2rem;
}

address {
	font-style: normal;
	line-height: 1.5;
}


address strong {
	font-size: 1.5rem;
	margin-block: 0 0.5rem;
	display: block;
}

.section-end {
	margin-bottom: 3.5rem;
}

main > section:last-child:not(:only-of-type), 
#calfresh-right .description {
	margin-bottom: 7rem;
}

section:has(#calfresh-eligibility) {
	margin-bottom: 0;
}

.content-end {
	padding-bottom: 5rem;
}

.overflow-hidden {
	overflow: hidden;
}

.text-nowrap {
	text-wrap: nowrap;
}

:is(textarea, input):user-invalid {
	border-color: red !important;
}

/* Fix issue with Safari not repainting when resizing up */
@supports (appearance: -apple-pay-button) {
	.repaint {
		animation: repaint 1ms;
	}

	@keyframes repaint {
		from {
			opacity: 0.99;
		}
		to {
			opacity: 1;
		}
	}
}
/*****************************************/

@media (width >= 992px) {
	
	:root:has(.screen-right > .description) {
		--gradient-stop-one-opacity: 0.75;
		--gradient-stop-two-opacity: 0.75;
		--gradient-stop-three-opacity: 0.75;
	}

	.mobile-hero-img { display: none; }

	#toggler {
		margin: 0.5rem !important;
	}

	.nav-list {
		top: 0;
		z-index: 999 !important;
	}
	
	#primary-nav {
		height: 3.5rem;
		align-content: center;
		width: 100%;
		position: sticky;
	}
	
	.content-container {
		flex-direction: row;
		min-height: unset;
		height: 100vh;
	}
	
	.screen { 
		--text-color: #000000;
		color: var(--text-color);
		flex-basis: 50%; 
	}

	.screen-left {
		color: #000000;
		position: relative;
		align-content: start;
		margin-bottom: 0;
		/* padding-block: 0 3rem; */
		padding-block: 0;
		flex-grow: 1;
		direction: rtl; /* Move scrollbar to right side of container */
		height: 100vh;
		z-index: 5
	}

	:is(#resources, #foodpantry, #calfresh) .screen-left {
		--overflow-type: scroll;
	}


	/* body:is(#foodpantry, #resources) .screen-left {
		padding-bottom: 15rem;
	} */

	#calfresh-enrollment .link-external::after {
		right: 20px;
	}
	
	.screen-left .description {		
		margin-inline: auto;
		max-width: 445px;
	}

	#calfresh-enrollment br {
		display: none;	
	}

	#calfresh-right .description {
		width: 350px;
	}
	
	.screen-left > * {
		direction: ltr; /* Ensure content is  default direction */
	}

	.screen-right {
		--text-color: #FFFFFF;
		background-image:
			var(--gradient),
			var(--bg-image);
		background-attachment: local;
		background-position: var(--bg-position);
		background-repeat: no-repeat;
		background-size: cover;
		isolation: isolate;
		position: sticky;
		top: 0;
		right: 0;
		height: 100vh;
		min-height: 725px;

		--inline-spacer-width: 2rem;
		--spacer-top-height: 150px;
		--content-height: clamp(536px, 55vh, 75% - var(--spacer-top-height));
		--footer-height: 100px;
		
		display: grid;
		grid-template-rows:
			[spacer-top] var(--spacer-top-height)
			[content] var(--content-height)
			[footer] auto; 
		grid-template-columns: 
			[spacer-left] var(--inline-spacer-width)
			[content] var(--right-content-width)
			[spacer-right] var(--inline-spacer-width);
	}

	.screen-right .icon::before {
		opacity: 1;
	    filter: brightness(0) saturate(100%) invert(74%) sepia(75%) saturate(830%) hue-rotate(348deg) brightness(98%) contrast(107%);
	}
	
	/* section:has(.description) {
		container: description-container / inline-size;
		padding: 0;
	} */

	#primary-nav {
		justify-content: space-around;
	}

	#facility-details {
		width: fit-content;
		min-width: 430px;
	}

	#facility-etails ul h3 {
		font-size: clamp(1.1rem, 10vw, 1.25rem);
	}

	#facility-details ul li li {
		border-top: solid rgb(255 255 255 / 0.25);
	}

	#facility-details ul p {
		font-size: clamp(0.9rem, 50%, 1.125rem);
	}
	
	footer {
		border-top: solid rgb(255 255 255 / 0.5) 2px;
		text-align: center;
   		width: 100%;
		grid-row: footer;
		grid-column: content;
		align-self: end;
	}
	
	.invert {
		filter: invert(1) brightness(200%);
	}

	.screen-right .description {
		background-color: rgb(0 0 0 / 0.5);
		padding: 1rem;
		box-shadow: 0 0 100px rgb(0 0 0 / 1);
	}

	.screen-right #facility-details {
		padding-inline: 0;
	}

	.screen-right .description :is(h3, h2, p) {
		color: #FFFFFF;		
		background-color: rgb(0 0 0 / 1);
		box-shadow: 0 0 100px rgb(0 0 0 / 1);
	}

}

@media (width >= 1200px) {
	#toggler {
		display: none;
	}
	
	.nav-list, #toggler:not(.collapsed) ~ .nav-list {
		flex-direction: row;
		justify-content: space-evenly;
	    align-items: end;
		margin: 0;
		font-size: 1rem;
		translate: 0 0;
		transition: none;
		height: fit-content;
		width: 100%;
		position: static;
	}

	#primary-nav {
		align-content: end;
		font-size: 0.9rem;
		padding-bottom: 0.5rem;
	}

	.screen-left {
		flex-basis: 50%;
	}

	.screen-left:not(.overflow-hidden) {
		overflow: auto;
	}

	.description {
		padding-inline: 0;
	}

	.vertical-rule-inline {
		display: inline;
		visibility: visible;
		height: auto;
	}

	#arh {
		flex-direction: row;
	}

	#arh :is(img, figcaption) {
		width: 55%;
		text-align: left;
	}

	.screen-left .description {
		/* margin-left: clamp(90px, 19cqi, 177px); */

		margin-right: auto;
		margin-left: clamp(25px, 10cqw, 177px);
	}

	#primary-nav .nav-item br {
		display: flow-root;
	}

	:is(#foodinsecurity, #contact) main > section:last-child {
    	margin-bottom: unset;
	}
}

@media (width >= 1300px) {
	#primary-nav .nav-item br {
		display: none;
	}
}