/* POM Page General Styles */
.pompage-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #2b2b2b;
    color: white;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* Title Formatting */
.pompage-container h1 {
    font-size: 28px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 10px;
}

.pompage-container h2 {
    font-size: 22px;
    font-weight: bold;
    color: #ff9900;
    margin-bottom: 10px;
}

.pompage-container h3 {
    font-size: 18px;
    font-weight: normal;
    color: #ffffff;
    margin-bottom: 20px;
}

/* Layout for Image and Description */
.pom-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.pom-image {
    flex: 1;
    max-width: 50%;
    text-align: center;
}

.pom-image img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.3);
}

.pom-description {
    flex: 1;
    max-width: 50%;
    padding: 0 20px;
    text-align: left;
}

/* Description Styling */
.pom-description p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .pompage-container {
        width: 95%;
        padding: 15px;
    }
    .pompage-container h1 {
        font-size: 24px;
    }
    .pompage-container h2 {
        font-size: 20px;
    }
    .pompage-container h3 {
        font-size: 16px;
    }
    .pom-content {
        flex-direction: column;
        text-align: center;
    }
    .pom-image, .pom-description {
        max-width: 100%;
    }
    .pom-description {
        padding: 10px;
    }
}

/* Link style for nav and in-line links */
.cmh-link {
    color: #ffd700;
    text-decoration: underline;
    transition: color 0.2s ease;
}
.cmh-link:hover {
    color: #ffffff;
}

/* Optional video block styling */
.pom-video-block {
    margin-top: 40px;
    padding: 20px;
    background-color: #1f1f1f;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}
.pom-video-block h4 {
    color: #ff9900;
    margin-top: 0;
}
.pom-video-block p {
    color: #ddd;
    font-size: 15px;
    margin-bottom: 10px;
}

/* Optional: make iframe responsive on mobile */
.pom-video-block iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}
.pom-container {
    padding: 30px 20px;
    background-color: #2b2b2b;
    border-radius: 10px;
    margin: 20px auto;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    max-width: 1000px;
}


.pom-list .pom-image img {
    max-height: 200px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}
.pom-list .pom-description {
    padding-left: 20px;
}
.pom-list .pom-content {
    align-items: flex-start;
}
.pom-list .pom-content {
    background-color: #1f1f1f;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
/* Center thumbnails on smaller screens */
@media (max-width: 768px) {
    .pom-list .pom-image {
        text-align: center;
        margin: 0 auto;
    }

    .pom-list .pom-image img {
        display: inline-block;
    }

    .pom-list .pom-description {
        text-align: center;
    }
}