/* --- General Content Page Styles --- */
.page .entry-content .wp-block-group,
.page .entry-content .wp-block-paragraph,
.page .entry-content .wp-block-media-text__content > .wp-block-paragraph {
    line-height: 1.7; /* Improved line spacing for readability */
}

.page .entry-content > .wp-block-group > .wp-block-paragraph,
.page .entry-content > .wp-block-paragraph { /* Direct paragraph children of content or group */
    max-width: 720px; /* Limit width for easier reading lines */
    margin-left: auto;
    margin-right: auto;
}

/* Ensure paragraphs within media-text blocks use available width */
.page .entry-content .wp-block-media-text__content {
    max-width: none; /* Override the above if needed */
}

.page .entry-content h1,
.page .entry-content h2,
.page .entry-content h3 {
    margin-bottom: 1em; /* Space after headings */
}

/* --- End General Content Page Styles --- */

/* Disclosure Page Specific Styles - AEI Oak Theme */

/* Cover Block adjustments */
.page-id-22 .wp-block-cover__image-background {
    object-position: center center; /* Explicitly center the cover background image */
}

.page-id-22 .wp-block-cover__inner-container {
    width: 100%; /* Ensure inner container uses full width for centering content */
    padding-left: 15px; /* Add some padding for text content within cover */
    padding-right: 15px;
}

/* Media & Text Block Image Styling */
.page-id-22 .wp-block-media-text__media {
    /* The container for the image */
    display: flex; /* Helps with alignment if needed */
    align-items: center; /* Vertically center image if it's smaller than container */
}

.page-id-22 .wp-block-media-text__media img {
    border: 5px solid #85ad86; /* var(--color-accent-green) */
    box-shadow: 10px 5px 0px #173344; /* var(--color-dark-primary) */
    border-radius: 4px; /* Optional: slightly rounded corners for the image itself */
    width: 100%; /* Make image take full width of its container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below image */
}

/* General Content Page Styles for Readability on Disclosure Page */
.page-id-22 .entry-content .wp-block-group,
.page-id-22 .entry-content .wp-block-paragraph,
.page-id-22 .entry-content .wp-block-media-text__content > .wp-block-paragraph {
    line-height: 1.75; /* Slightly more generous line spacing for dense text */
    font-size: 1.05rem; /* Slightly larger base font size for readability */
    color: #333; /* Dark gray for body text, softer than pure black */
}

/* Constrain width of standalone paragraphs within the main content or within a direct child group */
.page-id-22 .entry-content > .wp-block-group > .wp-block-paragraph,
.page-id-22 .entry-content > .wp-block-paragraph {
    max-width: 800px; /* Increased from 720px to match group block setting */
    margin-left: auto;
    margin-right: auto;
}

/* Ensure paragraphs within media-text blocks use the available width */
.page-id-22 .entry-content .wp-block-media-text__content {
    max-width: none;
}

.page-id-22 .entry-content h1,
.page-id-22 .entry-content h2,
.page-id-22 .entry-content h3 {
    margin-bottom: 1em;
    color: #173344; /* var(--color-dark-primary) for headings */
}

/* Styling for the main Cover block title */
.page-id-22 .wp-block-cover .wp-block-heading {
    font-size: clamp(2.5rem, 6vw, 3.5rem); /* Responsive heading size */
    font-weight: 600;
    width: 100%; /* Ensure heading can use full width of inner container for centering */
    max-width: 900px; /* Prevent hero title from becoming too wide on very large screens */
    margin-left: auto;
    margin-right: auto;
    /* text-shadow: 1px 1px 2px rgba(0,0,0,0.1); Optional text shadow for depth */
}

/* Spacing adjustments */
.page-id-22 .wp-block-spacer {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Ensure the overall group constrained width is respected */
.page-id-22 .wp-block-group {
    padding-left: 15px; /* Add some horizontal padding on smaller screens */
    padding-right: 15px;
}

