main ul {
    margin: 0rem 2rem 0rem 4rem;
}

main li {
    margin-bottom: 1rem;
}

main a {
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
}

section:has(section) {
    background-color: var(--violet-bg);
}

/* Accordion Styles */
.accordion {
    max-width: 1000px;
    margin: 5rem auto 0px;
}

.accordion-item {
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    color: white;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
    border-top: 4px solid #f3f3f3;
}

.accordion-header:hover {
    background-color: #edf1fe;
    color: var(--main-violet);
    border-top: 4px solid var(--main-orange);
}

.accordion-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.accordion-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--main-violet) !important;
}

.accordion-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: blue;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #ffffff;
}

.accordion-content.active {
    max-height: 5000px;
}

.accordion-body {
    padding: 32px 52px;
    line-height: 1.6;
}

.accordion-body a {
    font-size: 0.95rem;
}

.accordion-body h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 24px 0 12px 0;
    border-left: 4px solid #667eea;
    padding-left: 12px;
}

.accordion-body p {
    color: #34495e;
    margin-bottom: 16px;
}

.accordion-body ul {
    margin: 16px 0;
    padding-left: 30px;
}

.accordion-body li {
    color: #34495e;
    margin-bottom: 8px;
    position: relative;
    font-size: 16px;
}

.accordion-body p {
    font-size: 16px;
}

.accordion-body li::marker {
    color: #667eea;
}

.facility-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 6px;
}

.facility-meta p {
    margin: 0;
    font-size: 0.95rem;
}

.facility-image {
    text-align: center;
    margin: 24px 0;
}

.facility-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.facility-image img:hover {
    transform: scale(1.02);
}

.bento-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    margin: 24px 0;
    height: auto;
    min-height: 400px;
}

.bento-main {
    grid-row: 1 / 3;
    overflow: visible;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.bento-secondary {
    overflow: visible;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.bento-main a,
.bento-secondary a {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
}

.bento-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.bento-gallery img:hover {
    transform: scale(1.05);
}

.side-by-side-gallery {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
    margin: 24px 0;
    height: 300px;
}

.side-by-side-gallery .image-container {
    overflow: hidden;
    border-radius: 8px;
}

.side-by-side-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.side-by-side-gallery img:hover {
    transform: scale(1.05);
}

@media screen and (max-width: 730px) {
    .accordion-header {
        padding: 16px 20px;
    }

    .accordion-title {
        font-size: 1.1rem;
    }

    .accordion-body {
        padding: 24px 20px;
    }

    .facility-meta {
        grid-template-columns: 1fr;
    }

    .bento-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        height: auto;
    }

    .bento-main {
        grid-row: 1;
    }

    .side-by-side-gallery {
        grid-template-columns: 1fr;
        height: auto;
    }
}
