/* Program Page Styles */
.program-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
    background-color: #ffffff;
    color: #333333;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #34495e;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #7f8c8d;
}

.program-header {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.program-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.program-header .date {
    font-size: 1.1rem;
    color: #7f8c8d;
}

.program-section {
    margin-bottom: 0.5rem;
}

.program-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Announcements */
.announcements-list {
    list-style: none;
    padding: 0;
}

.announcements-list li {
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.3;
}

.announcements-list > li:before {
    content: "•";
    margin-right: 0.75rem;
    color: #34495e;
    font-weight: bold;
}

.announcements-list li ul {
    margin: 0;
    padding-left: 4rem;
    list-style-type: circle;
    list-style-position: outside;
}

/* Remove the added pseudo-bullet on 2nd-level announcement list items only */
.announcements-list > li > ul > li:before {
    content: none;
    margin-right: 0;
}

/* 3rd-level sublist under General Session (subsubsub) */
.announcements-list > li > ul > li > ul.subsubsub {
    margin: 0;
    padding-left: 1.5rem;
    list-style: none;
    list-style-position: outside;
}

/* Hollow square bullets for the subsubsub level */
.announcements-list > li > ul > li > ul.subsubsub li:before {
    content: "◻";
    margin-right: 0.75rem;
    color: #34495e;
    font-weight: bold;
}

/* Meeting Program */
.meeting-program {
    list-style: none;
    padding: 0;
    margin: 0;
}

.meeting-program li {
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.3;
}

.meeting-program li:before {
    content: " ";
    margin-right: 0.75rem;
    color: #34495e;
    font-weight: bold;
}

/* Room Assignments */
.room-assignments {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin: 0 0 1rem 0;
}

.room-assignments li {
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
    line-height: 1.3;
}

/* Missionaries */
.missionaries-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.missionary {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.missionary h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
    color: #2c3e50;
}

.missionary p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555555;
}

.missionary a {
    color: #34495e;
    text-decoration: none;
}

.missionary a:hover {
    text-decoration: underline;
}

/* Contacts List */
.contacts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contacts-list li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.0;
}

.contacts-list li:before {
    content: "•";
    margin-right: 0.75rem;
    color: #34495e;
    font-weight: bold;
}

.contact {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.3;
}

.contact-details {
    margin-left: 1rem;
}

.contact strong {
    color: #2c3e50;
}

.contact em {
    color: #7f8c8d;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .program-container {
        padding: 1rem;
    }

    .program-header h1 {
        font-size: 2rem;
    }

}

@media (max-width: 480px) {
    .program-header h1 {
        font-size: 1.5rem;
    }

    .program-section h2 {
        font-size: 1.2rem;
    }

    .program-item,
    .officer,
    .contact,
    .missionary {
        font-size: 0.95rem;
    }
}

/* Chapel Outline Image */
.chapel-outline {
    margin-top: 1.5rem;
    text-align: center;
}
.chapel-outline .chapel-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: inline-block;
}
