/**
Theme Name: Aladdin HE-ADA
Author: Aladdin Campus Dining
Author URI: https://aladdincampusdining.com
Description: Higher Ed. 2025
Version: 1.2.0.1 
Template: astra
*/

/* 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(--ast-global-color-8);
}

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

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

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

h4 a.concept-name, h4 a.news-link {
    text-transform: unset;
    border-bottom: none;
    transition: border-bottom 0.1s ease, font-weight 0.1s ease;
}

.concept-name a:hover, .news-link a:hover {
    border-bottom: 2px solid var(--ast-global-color-8);
}

.doc-upload:hover, .email a:hover, .concept a:hover, .news-post-content a:hover {
    font-weight: 600;
    border-bottom: 2px solid var(--ast-global-color-8);
}

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

a.hours-toggle, a.hours-toggle:hover {
    border-bottom: none;
    transition: none;
    padding-bottom: 0px;
}



/* Image Styling */
.intro-image {
    aspect-ratio: 3 / 4;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    box-shadow: 15px 15px var(--ast-global-color-2);
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

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

/* 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 {
    outline: 3px solid #9400D3;
    box-shadow: 0 0 0 1px #9400D3;
    border-radius: 4px;
    z-index: 10;
}

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

/* 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;
}

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

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

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

.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;
    font-size: .9em;
    border: none;
    cursor: pointer;
    outline: none;
    letter-spacing: 0;
}

.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 {
    position: relative;
    padding-right: 30px;
}

.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;
}

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

/* Menus */
.menu-notice {
    font-size: .75em;
    font-style: italic;
    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-0);
    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);
    transition: border-bottom 0.1s ease, font-weight 0.1s ease;
}

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

.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.faq-list li p {
    margin-bottom: 0.5em;
}


/* 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 .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: 1.25em;
    margin: 0;
}

#page-title {
    display: inline-block;
    position: relative;
    z-index: 1;
    padding: 0 0.4em;
    background-image: linear-gradient(to top, var(--ast-global-color-0) 45%, transparent 46%);
}

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

.welcome-headline, .account-name {
    letter-spacing: 1px;
    display: block;
    font-weight: 600;
}

/* Footer Styling */
.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;
}

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

.follow-us-text {
    font-size: 1.25em;
    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 */
.gform_required_legend {
    font-size: .8rem;
    font-style: italic;
}

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

/* Ensure input and select fields have a solid border and no box-shadow */
.contact-form .gform_wrapper input, 
.contact-form .gform_wrapper input[type="text"], 
.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 {
    background-color: #f5f5f5 !important; /* Slight gray to show focus */
    color: #000000 !important;
    border-color: var(--ast-global-color-7) !important;
    outline: 2px solid var(--ast-global-color-7) !important; /* Ensure visible focus */
}

/* 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/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: var(--ast-global-color-0) !important;
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    background: none;
    background-image: url('/wp-content/themes/he-ada/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: #000 !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;
}

.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);
}

/* 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%;
    }
}

@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: 100px;
    width: auto;}

/* 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: 10px;
    }

    .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; 
}

}