
body {
    padding: 0;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
    overflow-x: hidden;
}
/* Mobile header adjustments */
header {
    padding: 0 1rem;
}

header .flex {
    height: 4rem;
    padding: 0 1rem;
}

header img {
    height: 2.5rem;
}

#mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
}

nav {
    display: none;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 50;
}
/* Centered section with left-aligned text */
section.bg-white .grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    section.bg-white .grid {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }
    
    section.bg-white .grid > div:first-child {
        flex: 1;
    }
    
    section.bg-white .grid > div:last-child {
        flex: 1;
    }
}

/* Image adjustments */
section.bg-white img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}
/* Hero text contrast */
section.py-12 h1,
section.py-12 p {
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
/* YouTube Modal */
#youtubeModal {
  transition: opacity 0.3s ease, visibility 0.3s;
}
@media (max-width: 767px) {
  #youtubeModal .relative {
    width: 95%;
    max-width: 100%;
  }
}
#youtubeModal.opacity-100 {
  visibility: visible;
}

#youtubeModal.opacity-0 {
  visibility: hidden;
}
#youtubeModal iframe {
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  width: 800px;
  height: 450px; /* 16:9 aspect ratio */
  border: none;
  margin: 0 auto;
  display: block;
}

@media (max-width: 1024px) {
  #youtubeModal iframe {
    width: 700px;
    height: 394px;
  }
}

@media (max-width: 767px) {
  #youtubeModal iframe {
    width: 100%;
    height: 56.25vw; /* Maintain 16:9 aspect ratio */
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  #youtubeModal iframe {
    max-height: 270px;
  }
}

#youtubeModal .relative {
  width: 100%;
  max-width: 800px;
  padding: 0 1rem;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
/* Mobile adjustments */
@media (max-width: 767px) {
section.py-12 {
        min-height: 350px;
        padding-top: 4rem;
        padding-bottom: 3rem;
    }
    
    section.py-12 h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    section.py-12 p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    section.py-12 a {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}
/* Card grid adjustments */
.grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
}

/* Padding adjustments */
.py-14, .py-16 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Footer mobile layout */
footer .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
}

footer ul {
    margin-bottom: 1.5rem;
}

/* Mobile menu items */
nav a, nav button {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Dropdown menus in mobile */
nav .group > div {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-top: 0.5rem;
}

nav .group > div a {
    padding-left: 1.5rem;
}
/* YouTube Modal Mobile */
/* Show mobile menu when needed */
@media (min-width: 768px) {
    #mobile-menu-button {
        display: none;
    }
    
    nav {
        display: flex;
        position: static;
        background: transparent;
        padding: 0;
        box-shadow: none;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    nav a, nav button {
        display: inline-flex;
        width: auto;
        padding: 0.5rem 1rem;
        border-bottom: none;
    }

    nav .group > div {
        position: absolute;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.1);
        padding: 0.5rem;
        margin-top: 0;
    }

    /* Hero section desktop adjustments */
    section.py-20 h1 {
        font-size: 2.5rem;
        text-align: left;
    }

    section.py-20 p {
        text-align: left;
    }

    section.py-20 a {
        margin-left: -300px !important;
    }

    /* Card grid desktop adjustments */
    .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }

    /* Footer desktop layout */
    footer .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}
.prose {
  color: #374151;
  max-width: 65ch;
  font-size: 1rem;
  line-height: 1.75;
}

.prose h1,
.prose h2,
.prose h3 {
  color: var(--vlc-navy);
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 1em;
}

.prose ul {
  padding-left: 1.5em;
  margin: 1.25em 0;
}

.prose li {
  margin-bottom: 0.75em;
}

.prose a {
  color: var(--vlc-navy);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--vlc-leaf);
}

.prose-xl {
  font-size: 1.125rem;
  line-height: 1.7777778;
}
h1 {
	font-size: 16px;
	margin-top: 0;
}

p {
	color: rgb(107, 114, 128);
	font-size: 15px;
	margin-bottom: 10px;
	margin-top: 5px;
}

.card {
	max-width: 620px;
	margin: 0 auto;
	padding: 16px;
	border: 1px solid lightgray;
	border-radius: 16px;
}

.card p:last-child {
	margin-bottom: 0;
}
