/**
Theme Name: WVU HE-ADA
Author: Elior
Author URI: https://elior-na.com
Description: Higher Ed. 2025
Version: 1.2.0.22
Template: astra
*/

:root {
    --wvu-blue: #002855;
    --wvu-gold: #EAAA00;
    --wvu-neutral--white: #F9F9F9;
    --wvu-neutral--black: #2C2A29;
    --wvu-neutral--dark-gray: #333F48;
    --wvu-neutral--light-gray: #A2AAAD;
    --wvu-neutral--dark-brown: #6E6259;
    --wvu-neutral--brown: #7C736A;
    --wvu-neutral--light-brown: #BFB8AF;
    --wvu-accent--dark-blue: #0033A0;
    --wvu-accent--blue: #005EB8;
    --wvu-accent--light-blue: #9BD3DD;
    --wvu-accent--brown: #4B3D2A;
    --wvu-accent--mustard: #8F701E;
    --wvu-accent--orange: #ED8B00;
    --wvu-accent--dark-green: #0D5257;
    --wvu-accent--green: #657A68;
    --wvu-accent--light-green: #9ABEAA;
    --wvu-accent--red: #BE3A34;
    --wvu-accent--burnt-orange: #CD4C08;
    --wvu-accent--yellow: #FDDA24;
    --wvu-btn-primary: #006FE6;
    --wvu-btn-primary-hover: #005DC0;
    --wvu-btn-secondary-hover: #c48e00;
}

.ast-separate-container.ast-two-container #secondary .widget {
    background-color: var(--ast-global-color-4);
}

#primary a {
	text-decoration: underline;
}
#primary a.button {
	text-decoration: none;
}

/* Navigation */
.ast-disable-link span.menu-text {
    font-weight: 900;
}

/* Button */
button {
	min-height: 44px;
	min-width: 44px;
}

.secondary-button {
    background-color: var(--ast-global-color-2);
    color: var(--ast-global-color-8);
    text-align: center;
}

.secondary-button:hover {
    background-color: var(--wvu-btn-secondary-hover);
}

.btn-outline-primary {
    display: inline-block;
    background-color: unset;
    border: 2px solid var(--ast-global-color-0);
    color: var(--ast-global-color-0);
    border-radius: 4px;
	padding: 10px;
}

.btn-outline-primary:hover {
    background-color: var(--ast-global-color-0);
    border: 2px solid var(--ast-global-color-5);
    color: var(--ast-global-color-5);
}

.btn-sidebar {
    width: 100%;
    max-width: 251px;
}

/* General Heading and Text Styles */
img {
    border-radius: 4px;
}

h1, .entry-content h1, h2, .entry-content h2, h3, .entry-content h3, h4, .entry-content h4, h5, .entry-content h5, h6, .entry-content h6 {
    padding-bottom: .25em;
}

.entry-title {
    font-weight: 600;
}

ol, ul {
    margin: 0 0 1.5em 2em;
}

/* Document Upload and Links */
.doc-upload, .email a, .concept a, .news-post-content a {
    padding-bottom: 4px;
    border-bottom: 1px solid;
    transition: border-bottom 0.1s ease, font-weight 0.1s ease;
    text-decoration: none !important;
}

.concept-phone a, .concept-hours a {
    font-weight: 400 !important;
    padding-bottom: 0;
    border-bottom: 0;
}

.concept-hours a:hover {
    padding-bottom: 4px;
    border-bottom: 2px solid var(--wvu-accent--orange);
}

.office a, .cell a {
    color: var(--ast-global-color-8);
    transition: border-bottom 0.1s ease, font-weight 0.1s ease;
    text-decoration: none !important;
}

.office a:hover, .cell a:hover {
    font-weight: 600;
    color: var(--wvu-accent--orange);
    padding-bottom: 4px;
    border-bottom: 2px solid var(--wvu-accent--orange);
}

.concept a, .news-post-content a {
    font-weight: 600;
    text-transform: capitalize;
}

h4 a.concept-name, h4 a.news-link, h4 a.campus-name {
    text-transform: unset;
    border-bottom: none;
    transition: border-bottom 0.1s ease, font-weight 0.1s ease;
	min-height: 44px;
	min-width: 44px;
	text-decoration: none !important;
}

a.concept-name:hover, a.news-link:hover, .campus-card a.campus-name:hover {
    border-bottom: 2px solid var(--wvu-accent--orange);
}

.doc-upload:hover, .email a:hover, .concept a:hover, .news-post-content a:hover {
    font-weight: 600;
    border-bottom: 2px solid var(--wvu-accent--orange);
}

.doc-icon, .ext-icon, .misc-icon {
    padding-left: 4px;
}

a.hours-toggle, a.hours-toggle:hover {
    border-bottom: none;
    transition: none;
    padding-bottom: 0px;
	height: 100%;
	text-decoration: none !important;
}

/* Navigation */
.ast-desktop .ast-mega-menu-enabled .menu-item-heading:not(.menu-item-has-children)>a {
    margin-bottom: 0;
}

/* Image Styling */
.intro-image {
    aspect-ratio: 3 / 4;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .064);
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.campus-image-wrapper {
    width: 100%;
    max-width: 716px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--ast-global-color-5);
    margin-bottom: 1rem;
}

.campus-card:not(:last-child) {
    padding-bottom: 3em;
    border-bottom: 1px solid var(--ast-global-color-6);
}

.campus-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Header */
header .custom-logo-link img {
    max-height: 100px;
    min-height: 50px;
    max-width: 250px;
    min-width: 150px;
    width: auto;
    border-radius: 0;
    padding: 0;
}

.site-header .site-description {
    padding-left: 2em;
    margin-top: -0.5em;
}

/* High-visibility focus outline for better accessibility */
a:focus, a.concept-name:focus, .custom-logo-link:focus, a.menu-link:focus, a.footer-logo:focus, button.menu-toggle:focus, button.info-tab-button:focus, .pdf-tab-button:focus, button[data-tid="banner-accept"]:focus-visible, button[data-tid="banner-accept"]:focus {
    outline: 3px solid #9400D3;
    box-shadow: 0 0 0 1px #9400D3;
    border-radius: 4px;
    z-index: 10;
}

a.ast-button:focus, a.secondary-button:focus  {
    outline: 3px solid #9400D3;
    color: var(--ast-global-color-8);
}

 a.btn-outline-primary:focus {
    outline: 3px solid #9400D3;
    box-shadow: 0 0 0 1px #9400D3;
    z-index: 10;
    font-weight: 900;
    color: var(--ast-global-color-0);
 }

/* Allow dropdowns to be focusable and visible when tabbed into */
/* Keep first-level submenus visible on focus */
.main-header-menu > .menu-item-has-children:focus-within > .sub-menu {
    left: auto !important;
    visibility: visible !important;
    opacity: 1;
    display: block;
}

/* Ensure nested submenus appear correctly to the right */
.main-header-menu .sub-menu .menu-item-has-children:focus-within > .sub-menu {
    left: 100% !important; /* Moves nested submenu to the right */
    top: 0;
    visibility: visible !important;
    opacity: 1;
    display: block;
}


/* Notifications */
.sitewide-notification {
    background-color: var(--ast-global-color-3);
    color: var(--ast-global-color-8);
    font-size: .75em;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 35px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sitewide-notification .flex-container {
    gap: 20px;
    width: 100%;
}

.sitewide-notification .flex-item {
    padding: 1em;
}

.sitewide-notification p {
    line-height: 1.5em;
    margin-bottom: 0;
}

.sitewide-notification .flex-item.one-quarter {
    text-align: center;
}

.dark-btn  {
    border-style: solid;
    border-top-width: 0px;
    border-right-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    color: var(--ast-global-color-5);
    border-color: var(--ast-global-color-8);
    background-color: var(--ast-global-color-8);
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1em;
    line-height: 1em;
    letter-spacing: 1px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

/* Concepts */
.concepts-all {
    padding-bottom: 1em;
}
.concepts-all:not(:last-child) {
    border-bottom: 1px solid var(--ast-global-color-6);
}

.concepts {
    margin: 60px 0 !important;
}

.flex-item.full.concept {
    padding: 20px 0;
} 

.concept-logo {
    max-width: 150px;
    margin: 32px auto;
    display: block;
}

.concepts h4 {
    margin: .5em 0;
}

.concept-contact-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: .9em;
	min-height: 44px;
}

.concept-location, .concept-phone, .concept-hours, .meal-exchange {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 1em;
    margin-bottom: .5em;
	height: 100%;
}

.location-phone, .hours-toggle {
    color: var(--ast-global-color-8);
}

.concept-icon {
    color: var(--wvu-accent--blue);
}

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

.concept-separator {
    display: block; 
    border: none;
    border-top: 1px solid var(--ast-global-color-7); 
    margin: 12px 0;
    width: 100%;
    opacity: 1;
    box-sizing: border-box;
}

.hours-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%); 
    background-color: var(--ast-global-color-5);
    padding: 15px;
    width: 325px;
    border-radius: 4px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Show dropdown on hover */
.concept-hours:hover .hours-dropdown,
.hours-toggle:hover + .hours-dropdown {
    display: block;
}

/* Dropdown remains visible on hover */
.hours-dropdown:hover {
    display: block;
}

.hours-dropdown.open {
    display: block; 
}

.hours-accordion-day {
    margin-bottom: 10px;
}

.hours-accordion-toggle {
  width: 100%;
  text-align: left;
  padding: 10px 30px 10px 10px; 
  font-size: .9em;
  border: none;
  cursor: pointer;
  outline: none;
  letter-spacing: 0;
  position: relative;
}

.hours-accordion-toggle.active {
    background: var(--ast-global-color-0);
    color: #fff;
}

.hours-accordion-content {
    display: none;
    padding: 10px;
    background: var(--ast-global-color-4);
    font-size: .9em;
    border-radius: 0px 0px 4px 4px;
}

.hours-accordion-content .concept-icon {
    padding-right: .75em;
}

.hours-accordion-content ul {
    margin: 0 0 .9em 0 !important;
}

.hours-accordion-content li {
    list-style: none;
}

.hours-accordion-toggle.active {
    border-radius: 4px 4px 0px 0px;
}

.today-text {
    font-size: 0.8em;
    color: var(--ast-global-color-8);
    margin-left: 5px;
}

.hours-accordion-toggle.active .today-text {
    color: #fff;
}

.meal-period {
    text-transform: capitalize;
}

.open_close {
    padding-bottom: 0.5em;
}

.concept-time {
    padding-left: 2em;
}

.chevron-icon {
    position: absolute;
    right: 10px;
    font-size: 0.9em;
}
.title-status-container {
    display: flex;
    align-items: center; 
    gap: 15px;
    margin-bottom: 0.5em; 
}

.title-status-container h2 {
    margin: 0;
}

.info-tab-panel .title-status-container h4 {
    padding-bottom: 0.25em;
} 

.open-status {
    text-align: center;
    text-transform: lowercase;
    font-weight: bold;
    font-size: .8em;
    color: #fff;
    width: auto; /* Adjusts width to content */
}

.open-status p {
    margin-bottom: .5em;
    border-radius: 4px;
    padding: 2px 10px;
}

.open-status.open p{
    background-color: #008447;
}

.open-status.closed p {
    background-color: #ce0037;
}

.concept-description {
    margin-bottom: 1.25em;
}

.location-links {
    display: flex;
    column-gap: 1em;
    flex-wrap: wrap;
    align-items: center;
}

.location-learn, .location-ordering {
    margin-bottom: 0.5em;
}

.location-ordering a {
    border-bottom: none;
    padding-bottom: 0.5em;
	min-height: 44px;
}

.location-ordering a:hover {
    border-bottom: none;
}

/* Menus */
.menu-notice {
    font-size: .75em;
    line-height: 1.25em;
}

.menu-notice p {
    margin-bottom: 0.5em;
}

/* TK Menu */
#menu-tk {
    width: 100%;
    height: 100vh;
    background-color: #fff;
    border-radius: 4px;
    margin-top: 1em;
}

/* PDF Menu */
.pdf-tabs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 !important;
    width: 100%;
    gap: 10px;
}

.pdf-tabs li {
    flex: 1 1 calc(20% - 10px);
    padding-bottom: 0 !important;
}

.pdf-tab-button {
    width: 100%;
    padding: 1em;
    font-size: .8em;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s;
}

.pdf-tab-button[aria-selected="true"] {
    background-color: var(--ast-global-color-0);
    color: #fff;
}

.pdf-tab-button[aria-selected="false"] {
    background-color: var(--ast-global-color-3);
    color: #000;
}

.pdf-tab-button[aria-selected="false"]:hover {
    background-color: var(--ast-global-color-0);
    color: #fff;
}

.pdf-viewer-container {
    text-align: center;
}
.pdf-canvas {
    width: 100%;
    margin-top: 1em;
}
.pdf-controls {
    margin: 0;
    padding: 1.5em 0 0 0;
    font-size: .8em;
    text-align: right;
    cursor: pointer;
    background-color: var(--ast-global-color-5);
}

.pdf-controls span {
    margin: 0 .25em;
}

.pdf-controls .page-info {
    display: none;
}

.prev-menu-page, .next-menu-page {
    background: none;
    margin: 0 1em;
    padding: 0 0 4px 0;
    font-weight: 400;
    letter-spacing: normal;
    border-radius: 0;
    transition: border-bottom 0.1s ease, font-weight 0.1s ease;
    color: var(--ast-global-color-0);
}

.prev-menu-page:hover, .next-menu-page:hover {
    background: none;
    color: var(--ast-global-color-2);
    font-weight: 600;
    border-bottom: 2px solid var(--ast-global-color-8);
}

.prev-menu-page:active, .next-menu-page:active, .prev-menu-page:focus, .next-menu-page:focus {
    background: none;
    color: var(--ast-global-color-8);
}

.save-menu {
    text-align: right;
    font-size: .8em;
    padding: 1em 0;
}

.save-menu .concept-icon {
    padding-right: 0.25em;
}

.save-menu a {
    padding-bottom: 4px;
    color: var(--ast-global-color-8);
	text-decoration: none !important;
	border-bottom: 1px solid var(--wvu-accent--blue);
    transition: border-bottom 0.1s ease, font-weight 0.1s ease;
}

.save-menu a:hover {
    font-weight: 600;
    color: #ED8B00;
    border-bottom: 2px solid var(--wvu-accent--orange);
}

.save-menu-divider {
    margin: 0 0.25em;
}

/* Meal Plan */
.info-tabs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 !important;
    width: 100%;
    gap: 10px;
}

.info-tabs li {
    flex: 1 1 calc(20% - 10px);
    padding-bottom: 0 !important;
}

.info-tab-button {
    width: 100%;
    padding: 1em;
    font-size: .8em;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s;
}

.info-tab-button[aria-selected="true"] {
    background-color: var(--ast-global-color-0);
    color: #fff;
}

.info-tab-button[aria-selected="false"] {
    background-color: var(--ast-global-color-3);
    color: #000;
}
.info-tab-button[aria-selected="false"]:hover {
    background-color: var(--ast-global-color-0);
    color: #fff;
}

.info-tab-panel {
    padding-top: 1.5em;
}

.info-tab-panel h4 {
    padding-bottom: 1em;
}

.info-viewer-container {
    text-align: center;
}

ul.meal-plan-list, ul.faq-list {
    list-style: none;
    margin: 0 !important;
}

ul.meal-plan-list li p {
    margin-bottom: 0;
}

ul.meal-plan-list li p:last-child {
    margin-bottom: 0.5em;
}

ul.meal-plan-list ul {
    margin: 0 0 0 2em;
}

ul.faq-list li p {
    margin-bottom: 0.5em;
}

#overview p a, #overview p a:hover, #overview li a, #overview li a:hover, .faq-answer a, .faq-answer a:hover {
    text-decoration: underline;
}

#overview a.ast-button {
	text-decoration: none;
}

/* FAQ */
.faq-toggle-links {
    font-size: 0.85rem;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    text-align: right;
}

.faq-toggle-link {
    color: var(--wvu-accent--blue);
    text-decoration: none !important;
    cursor: pointer;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--wvu-accent--blue);
	
}

.faq-toggle-link:hover {
    color: var(--wvu-accent--orange);
    padding-bottom: 4px;
    transition: border-bottom 0.1s ease, font-weight 0.1s ease;
    border-bottom: 1px solid var(--wvu-accent--orange);

}

.faq-item summary {
    list-style: none; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem 0;
    border-bottom: 1px solid #ccc;
}

.faq-item[open] summary .fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.faq-answer {
    margin: 0.5rem 0 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none; 
}
.faq-item .faq-question strong {
    color: var(--ast-global-color-1);
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question strong {
    color: var(--wvu-accent--orange);
}

.faq-arrow {
    color: var(--ast-global-color-1);
}

.residential-meal-plans {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.meal-plan {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
    padding: 1.5rem;
    border-radius: 4px;
    border: 2px solid var(--wvu-gold);
    font-size: .85rem;
}

.meal-plan h5 {
    border-bottom: 1px solid var(--ast-global-color-6);
    margin-bottom: .5rem;
}

.meal-plan-sidebar {
    background-color: var(--wvu-gold);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 15px 15px var(--ast-global-color-0);
    text-align: center;
    font-size: .85rem;
}

.meal-plan-sidebar h5 {
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 900;
}

#secondary .meal-plan-sidebar li {
    margin-bottom: 1em;
}


/* BeWell */
#bewell {
    width: 100%;
    height: 100vh;
    margin-top: 1em;
}

/* News */
.flex-item.full.news-post-item {
    padding: 20px 0;
}

.news-post-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.news-post-content h4{
    font-size: 1.25em;
    margin-bottom: .5em;
}

.post-meta{
    display: flex; 
    gap: 10px; 
    align-items: flex-start;
    font-size: .9em;
}

.post-date, .post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: .5em;
    margin-bottom: .5em;
}

.post-icon {
    color: var(--ast-global-color-2);
}

.news-featured-image {
    width: 100%;
    height: 400px; 
    overflow: hidden;
    border-radius: 4px;
    padding-bottom: 1em;
}

.news-featured-image img.news-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-numbers {
    padding: 8px;
}

.page-numbers:hover {
    font-weight: 600;
    border-bottom: 2px solid var(--ast-global-color-8);
}

.page-numbers.current {
    font-weight: 600;
}

.page-numbers.current:hover {
    border-bottom: none;
}

/* Events */
.type-tribe_events, .tribe-events-pg-template {
    padding: 0 !important;
}

.tribe-events-calendar-list__event, .tribe-events-calendar-latest-past__event {
    padding: 0 !important;
    background-color: transparent !important;
}

.hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image scales properly */
    z-index: 0; /* Place the image behind everything */
}

.hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.2) 75%);
    z-index: 1;
}

.hero--fallback {
    background-color: #2C2A29;
    background-image: radial-gradient(farthest-side at 90% 55%, transparent, #000 131%);
    opacity: .85;
}

.hero--fallback .hero-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.hero--fallback .hero-image {
    display: none;
}

.hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding-bottom: 5%;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    color: var(--ast-global-color-4);
    line-height: .8em;
    margin: 0;
    max-width: 75%;
}

.hero-title::before {
    background-color: #EAAA00;
    content: "" !important;
    position: absolute !important;
    right: 0;
    left: -.25em;
    height: 100%;
    max-height: 15rem !important;
    top: -35%;
    width: .5em;
    opacity: 1 !important;
    z-index: -1 !important;
    -ms-transform: skewX(149deg) !important;
    -webkit-transform: skewX(149deg) !important;
    transform: skewX(149deg) !important;
}

#home-title {
    display: inline-block;
    position: relative;
    z-index: 1;
}

#page-title {
    display: inline-block;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 1px #000000;
}

.welcome-headline {
    font-size: .35em;
    line-height: 1em;
    padding: .5em 1em;
}

.welcome-headline, .account-name {
    display: block;
}

.account-name {
	display: inline-block;
    text-shadow: 1px 1px 1px #000000;
}

/* Footer Styling */
.campus-contact {
    color: var(--ast-global-color-4);
    font-size: .8em;
}

.campus-contact a {
    color: var(--ast-global-color-4);
}

address, cite {
    font-style: unset;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: baseline;
  gap: 0.75em;
  margin-bottom: 0.25rem;
  text-align: left;
}

.contact-item.address-item {
  align-items: flex-start;
}

.contact-item i {
  flex-shrink: 0;
  font-size: 1.1em;
  line-height: 1.5;
}

.contact-item a {
	min-height: 44px;
	text-decoration: none !important;
}

.contact-link {
  text-decoration: none;
}

.contact-address {
  margin: 0;
}

.site-footer p {
    margin-bottom: 1em;
}

.site-footer p a:hover {
    text-decoration: underline;
}

.footer-logo {
    width: 200px;
}

.copyright {
    color: #ffffff;
}

.copyright:hover {
    color: #d0d7cf;
    text-decoration: underline;
}

.footer-terms {
    margin-bottom: 1em !important;
}

.footer-terms li {
    display: inline;
    margin-right: 10px;
}

.widget-title {
    margin-bottom: 0.25em;
}

.footer-widget-area .widget_nav_menu i {
    padding-left: .5em;
}

.footer-widget-area #media_image-3 {
    margin-bottom: .5em;
}

/* Grubhub */
.app-download-buttons a {
    padding: 0.25em 0.25em 0.25em 0em;
}

/* Social Icons */
.social-icons a {
    margin-right: .75em;
    font-size: 2em; 
    transition: color 0.3s;
}

.follow-us-text {
    font-size: 2em;
    font-weight: 900;
    font-family: 'Helvetica-Neue-LT-Pro-Cond',helvetica-neue-lt-pro-cond,sans-serif;
    text-transform: uppercase;
    color: var(--ast-global-color-0);
    margin-right: 1em;
}

/* Facebook brand color */
.social-icons a.facebook:hover {
    color: #1877F2; /* Facebook official blue */
}

/* Instagram brand color */
.social-icons a.instagram:hover {
    color: #E4405F; /* Instagram official pink */
}

/* Threads brand color */
.social-icons a.threads:hover {
    color: #000000; /* Instagram official black */
}

/* Twitter brand color */
.social-icons a.twitter:hover {
    color: #1DA1F2; /* Twitter official blue */
}

/* TikTok brand color */
.social-icons a.tiktok:hover {
    color: #010101; /* TikTok official black */
}

/* Bluesky brand color */
.social-icons a.bluesky:hover {
    color: #208BFE; /* Bluesky official blue */
}

/* Logo on Pages */
.page-logo {
    max-width: 175px;
    margin: 32px auto;
    display: block;
}

/* Resources Section */
.resources {
    background-color: var(--ast-global-color-5);
    padding: 32px;
    margin: 48px 0;
    border-radius: 4px;
    width: 100%;
}

.resources ul {
    margin: 0 0 1em 1em;
}

.resources li {
    padding-bottom: .5em;
}

.headshot-wrapper {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 1em;
}

.headshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire container without distortion */
}

.email, .office, .cell {
    font-size: .9em;
}

.office, .cell {
    padding-bottom: 0.15em !important;
}

.resources ul.contact-details {
    list-style: none;
    margin: 0;
    padding: 0;
}

.resources ul.contact-details li {
    padding-bottom: 0.5em;
    line-height: 1.5;
}

.resources-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: .5em;
    position: relative;
}

.resources-header h4 {
    margin: 0;
    flex-shrink: 0;
    line-height: 1;
}

.resources-header::after {
    content: '';
    flex-grow: 1;
    height: 2px;
    background-color: var(--ast-global-color-7);
    margin-top: -.25em;
}

/* Contact Form */
.contact-form-link {
	padding-bottom: 4px;
	border-bottom: 1px solid var(--wvu-accent--blue);
	text-decoration: none !important;
}

.contact-form-link:hover {
	color: var(--wvu-accent--orange);
	transition: border-bottom 0.1s ease, font-weight 0.1s ease;
	border-bottom: 1px solid var(--wvu-accent--orange);
}

.gform_required_legend {
    font-size: .8rem;
}

.contact-form .gform_wrapper .gform_footer input[type] {
    color: var(--ast-global-color-5) !important;
    background-color: var(--wvu-btn-primary) !important;
}

.contact-form .gform_wrapper .gform_footer input[type]:hover {
    background-color: var(--wvu-btn-primary-hover) !important;
}

.contact-form .gform_wrapper .gform_body .gform_fields .gfield {
    background-color: var(--ast-global-color-4) !important;
}

body .gform_wrapper .gform_footer input[type=submit] {
    border: 1px solid var(--ast-global-color-2);
}

/* Ensure input and select fields have a solid border and no box-shadow */
.contact-form .gform_wrapper input[type="text"],
.contact-form .gform_wrapper input[type="email"],
.contact-form .gform_wrapper input[type="url"],
.contact-form .gform_wrapper input[type="tel"],
.contact-form .gform_wrapper input[type="number"],
.contact-form .gform_wrapper input[type="search"],
.contact-form .gform_wrapper input[type="password"],
.contact-form .gform_wrapper select {
    border: 1px solid var(--ast-global-color-7) !important;
    height: 50px !important;
    box-shadow: none !important;
}

/* Textarea styles */
.contact-form .gform_wrapper textarea {
    background-color: #ffffff !important; /* Ensure white background */
    color: #000000 !important; /* High contrast text */
    border: 1px solid var(--ast-global-color-7) !important;
    box-shadow: none !important;
    position: relative;
    z-index: 10;
}

/* Improve focus styles */
.contact-form .gform_wrapper input:focus, 
.contact-form .gform_wrapper textarea:focus,
.contact-form .gfield_consent_description:focus,
.contact-form .gform_wrapper select:focus {
    color: #000000 !important;
    outline: 3px solid #9400D3 !important;
    box-shadow: 0 0 0 1px #9400D3 !important;
    border-radius: 4px;
}

/* Consent */
.contact-form .gfield_consent_description {
    font-size: 14px !important;
    line-height: 1.5em !important;
    color: #000000 !important;
	background-color: #fff;
	border-radius: 4px;
}



/* Ensure select fields are readable */
.contact-form .gform_wrapper .gform_body .gform_fields .gfield select {
    color: var(--ast-global-color-8) !important;
    padding-top: 6px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('/wp-content/themes/he-ada-wvu/assets/chevron-down-sharp-light.svg'); 
    background-repeat: no-repeat;
    background-position: right 10px center; 
    background-size: 15px 15px;
}

/* Adjust padding for select fields */
.contact-form .gform_wrapper select.gfield_select {
    padding-left: 16px !important;
}

/* Improve focus styles for select fields */
.contact-form .gform_wrapper select:active, 
.contact-form .gform_wrapper select:focus {
    color: #fff !important;
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    background: none;
    background-image: url('/wp-content/themes/he-ada-wvu/assets/chevron-down-sharp-light.svg'); 
    background-repeat: no-repeat;
    background-position: right 10px center; 
    background-size: 15px 15px;
}

/* Improve contrast of placeholder text */
.contact-form .gform_wrapper textarea::placeholder {
    color: #666 !important; /* Dark gray for better readability */
    opacity: 1 !important; /* Ensure visibility */
}

   .contact-form .gform_wrapper input.gform_button {
    background-color: var(--ast-global-color-0) !important;
    color: var(--ast-global-color-4) !important;
    border-radius: 4px !important;
    border: none !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    font-size: 1em !important;
   }

   .contact-form .gform_wrapper input.gform_button:hover {
    background-color: var(--ast-global-color-2) !important;
    color: #fff !important;
   }

/* Container */
.full-width-section {
    background-color: var(--ast-global-color-5); 
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 20px 0;
    margin-top: 60px;
    margin-bottom: 60px;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
    max-width: 100%;
    margin: 0 auto;
}

.home-links .flex-container {
    gap: 24px;
    width: 100%;
}

.home-links {
    width: 100%;
    border-radius: 4px;
    margin: 20px auto;
    padding: 5%;
    background-color: var(--wvu-neutral--dark-gray);
    background-image: url('/wp-content/themes/he-ada-wvu/assets/img/home/bg__topo-white-transparent.png');
    background-size: cover;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .064);
}


.home-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 4px;
    background-color: #fff;
    padding: 20px;
    height: 100%;
}

.home-card h4 {
    min-height: 1em;
}

.home-card p {
    flex-grow: 1;
}

.home-icon {
    font-size: 100px;
    text-align: center;
    padding: 20px;
    --fa-primary-color: var(--wvu-blue);
    --fa-primary-opacity: 1;
    --fa-secondary-opacity: 0.5;
}

.middle {
    align-items: center;
}

/* Base Flex Item Styles */
.flex-item {
    padding: 20px 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

/* Nested Flex Container for Contact Information */
.nested-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
}

/* Full-width Item */
.full {
    flex: 0 0 100%;
    max-width: 1200px;
    display: block;
    clear: both;
    margin: 0 auto;
}

/* One-half Flex Item */
.one-half {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
}

/* Two-thirds Flex Item */
.two-third {
    flex: 1 1 calc(66.67% - 20px);
    max-width: calc(66.67% - 20px);
}

/* One-third Flex Item */
.one-third {
    flex: 1 1 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
}

/* Three-quarter Flex Item */
.three-quarter {
    flex: 1 1 calc(75% - 20px);
    max-width: calc(75% - 20px);
}

/* One-quarter Flex Item */
.one-quarter {
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px);
}

/* Campus Contact */
.campus-contact-block.contact-inline {
  margin-top: 1rem;
  padding: 1rem;
}

.contact-inline a {
    color: var(--ast-global-color-8);
}

.contact-inline a:hover {
    font-weight: 500;
    color: var(--wvu-accent--orange);
    border-bottom: 2px solid var(--wvu-accent--orange);
}

.contact-inline .contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.contact-inline .address-item {
  align-items: flex-start;
}

.contact-inline i {
  flex-shrink: 0;
  font-size: 1.1em;
}

/* Contact Box Styling */
.contact-box {
    padding: 0 20px 0 0;
}

/* External Modal Overlay */
#external-link-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

/* External Modal Content */
#external-link-modal .modal-content {
    background-color: var(--ast-global-color-4);
    margin: 10% auto;
    padding: 60px 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#modal-heading {
    font-size: 1.25em;
}

/* External Modal Close Button (×) */
#external-link-modal .close-modal-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

#external-link-modal .close-modal-btn:hover,
#external-link-modal .close-modal-btn:focus {
    color: #000;
    outline: none;
}

/* External Modal Button Container */
#external-link-modal .modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 16px; 
}

/* Cancel Button */
#external-link-modal .cancel-btn {
    background-color: #e0e0e0;
    color: #333;
}

#external-link-modal button:focus {
    outline: 3px solid #ffbf47;
}

/** 404 **/
 
  .not-found {
    height: 100vh;
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
  }
  
  .not-found h1 {
    font-size: 10em;
    color: var(--ast-global-color-0);
  }
  
  .not-found p {
    font-size: 1.5em;
    line-height: 1.25em;
    font-weight: 600;
    padding: 0 5%;
  }

/* Responsive  */
@media (max-width: 1200px) {
    .hero .hero-content {
        padding: 40px 20px;
    }
}

@media (max-width: 1100px) {
    .contact-box {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .residential-meal-plans .meal-plan {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
/* Hero */
.hero {
    height: 45vh;
}

    .flex-container, .nested-contact {
        flex-wrap: wrap;
    }

    .one-third, .two-third, .one-quarter, .three-quarter, .one-half, .full {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .intro-image {
        aspect-ratio: 1 / 1;
        max-width: 60%;
    }

/* Sitewide Notification*/
.sitewide-notification {
    padding: 20px;
}

.sitewide-notification .flex-container {
    gap: 1em;
}

.sitewide-notification .flex-item.one-quarter {
    text-align: left;
}


/* PDF Menu */
.pdf-tabs li {
    flex: 1 1 calc(33.33% - 10px);
}

.pdf-tabs li:last-child {
    max-width: calc(33.33% - 10px);
}

.pdf-tab-button {
    padding: 1em 0.25em;
}

/* Meal Plans */
.info-tabs li {
    flex: 1 1 calc(33.33% - 10px);
}

.info-tabs li:last-child {
    max-width: calc(33.33% - 10px);
}

.info-tab-button {
    padding: 1em 0.25em;
}

    /* Contact Info */
    .contact-box {
        padding: 0;
    }

    /* News */
    .news-post-item {
        flex-direction: column;
    }

    .news-post-image,
    .news-post-content {
        flex: 0 0 100%;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) { 
/* Navigation */ 
header .custom-logo-link img, .ast-header-break-point .site-branding img, .ast-header-break-point .custom-logo-link img {
    max-width: 200px;
    width: auto;}

.site-header .site-description {
    padding-left: 2em;
    margin-top: -1em;
    font-size: 0.6em;
}

/* Hero */
.hero {
    height: 35vh;
}

    .intro-image {
        max-width: 100%;
    }

    /* Concept */
    .concept-location, .concept-phone, .concept-hours, .meal-exchange {
        width: 100%;
    }

    .hours-dropdown {
        width: 80vw;
    }

    .location-links {
        flex-direction: column;
        column-gap: 0;
        row-gap: 16px;
    }

    .location-ordering {
        width: 100%;
    }

    .location-ordering a {
        display: flex;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* PDF Menu */
    .pdf-controls {
        text-align: center;
    }

    .pdf-tabs li:last-child {
        max-width: 100%;
    }

    .pdf-tabs-container li, .pdf-tabs-container li button {
        width: 100%;
    }


.pdf-tabs li {
    flex: 1 1 100%;
}

/* Meal Plans */
.info-tabs li:last-child {
    max-width: 100%;
}

.info-tabs-container li, .info-tabs-container li button {
    width: 100%;
}
    
.info-tabs li {
   flex: 1 1 100%;
}

/* Resources */
.resources {
    padding: 32px 20px;
}

/* News */
.post-meta {
    flex-direction: column; 
    align-items: flex-start; 
    gap: 5px; 
}

}