/* Main grid layout */
.program-main {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* use fractional units for better fit */
    gap: 20px; /* optional spacing between columns */
    width: 100%;
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
    min-width: 0;
    margin-top: 5px;
}

/* Column 1 (left sidebar) */
.program-col-1 {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Migrated from inline styles in seniorhigh.php */
.program-col-1-width {
    min-width: 340px;
    max-width: 440px;
}

.calendar-link {
    text-decoration: none;
    display: block;
}

.posts-inline-upload-box-center {
    margin: 0 auto;
}

.posts-attachment-margin {
    margin-top: 1rem;
}

.posts-media-img {
    max-width: 180px;
    display: block;
}

.posts-img-center {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.posts-media-video {
    max-width: 180px;
    display: block;
}

.posts-type-label-style {
    margin: 0 6px 0 0;
    font-weight: 600;
    color: #7A4B2D;
}

.posts-cancel-link {
    margin-left: 1em;
    color: #EA543C;
    text-decoration: underline;
}

.birthday-overlay-title {
    font-weight: bold;
    color: #EA543C;
    font-size: 1.1em;
    margin-bottom: 0.5em;
    text-align: center;
}

.birthday-overlay-none {
    color: #a05a2c;
    text-align: center;
}

.birthday-celebrant-name {
    font-size: 1.05em;
}

.birthday-celebrant-date {
    float: right;
    color: #EA543C;
    font-size: 0.98em;
    font-weight: 400;
}
}

/* Column 3 (right sidebar) */
.program-col-3 {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

/* Birthday celebrants styles */
.birthday-title {
    font-weight: bold;
    color: #EA543C;
    font-size: 1.1em;
    margin-bottom: 0.5em;
    text-align: center;
}

.no-celebrants {
    color: #a05a2c;
    text-align: center;
}

.celebrant-name {
    font-size: 1.05em;
}

.celebrant-date {
    float: right;
    color: #EA543C;
    font-size: 0.98em;
    font-weight: 400;
}

/* Upload error */
.upload-error {
    color: red;
}

