a {
    color: black;
    text-decoration: none;
}

a:visited,
a:hover,
a:active {
    color: black;
}

.bold-hr {
    border: none; 
    height: 3px; 
    background-color: rgb(0, 0, 0);
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('background.svg') no-repeat center center/cover;
    z-index: -1;
}

#footer {
    margin-top: 2rem;
}

.footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background-color: #f5c731;
}

.three-grid.image {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 2rem;
}

.three-grid.image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
}

.five-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    padding: 2rem;
}

.large3 {
    font-size: 1.75rem;
    font-weight: bold;
    line-height: 1.1;
}

.small2 {
    font-size: .9rem;
    color: #000000;
    line-height: 1.2;
}

body {
    margin: 0;
    padding: 2rem;
    background-color: #f2f2f2;
    font-family: Helvetica, Arial, sans-serif;
}

.small3 {
    text-align: left;
    font-size: .5rem;
    color: #86b20e;
    margin-bottom: 2rem;
}

.large2 {
    text-align: left;
    font-size: 1.9rem;
    font-weight: bold;
    color: #e25e06;
    margin-bottom: .7rem;
    margin-top: 0;
    line-height: 1.8rem;
}

h1 {
    text-align: left;
    font-size: 3rem;
    color: #004963;
    margin-bottom: 2rem;
    margin-top: 0;
}

h2 {
    text-align: left;
    font-size: 1.4rem;
    color: #445f7f;
    margin-bottom: 2rem;
}

.h2-large {
    text-align: left;
    font-size: 15rem;
    color: #00aeef;
    margin-bottom: 2rem;
}

h3 {
    text-align: left;
    font-size: 2rem;
    color: #3b5b44;
    margin-bottom: 2rem;
    line-height: 1.75rem;
}


h4 {
    text-align: left;
    font-size: 3rem;
    color: #004963;
    margin-bottom: 2rem;
    margin-top: inherit;
}

h5, .small-title  {
    text-align: left;
    font-size: 1rem;
    color: #ef4136;
    margin-bottom: 2rem;
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.grid img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 24px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.caption {
    color: #fff;
    margin-top: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

@media screen and (max-width: 695px) {
    .footer {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* ============================================
    Accessibility & Schedule
   ============================================ */

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Rules Section - Semantic Lists */
.rules-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .9rem;
    color: #000000;
    line-height: 1.2;
}

.rules-category li {
    margin-bottom: 1rem;
    padding-left: 0;
}

.rules-category li:last-child {
    margin-bottom: 0;
}

/* Schedule Section */
.schedule-list {
    margin: 2rem 0;
    display: grid;
    gap: 1.5rem;
}

.schedule-item {
    padding: 1.5rem;
    border-left: 3px solid #e25e06;
    background: rgba(255, 255, 255, 0.7);
}

.schedule-item h6 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #004963;
}

.schedule-item time {
    display: block;
    color: #445f7f;
    font-style: italic;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.schedule-item p {
    margin: 0;
    line-height: 1.6;
    color: #3b5b44;
}

.schedule-gallery {
    margin-top: 3rem;
}

.grid figure {
    margin: 0;
    position: relative;
}

.grid img:focus {
    outline: 3px solid #00aeef;
    outline-offset: 3px;
}

/* Responsive Updates */
@media screen and (max-width: 695px) {
    .schedule-item {
        padding: 1rem;
    }
}