/*
 Theme Name:   Extra Child
 Template:     Extra
 Text Domain:  extra-child
*/

/* Hide screen reader text visually */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}



/* Improve Read More button contrast */
.et_pb_post a.more-link {
    background-color: #1a1a1a !important; /* Darker background for the button */
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 10px;
}

.et_pb_post a.more-link:hover {
    background-color: #333333 !important;
}
/* Darken Post Meta for better contrast */
.post-meta, .post-meta a {
    color: #444444 !important; /* Dark gray instead of light gray */
}
/* Add depth to white text on colored backgrounds */
.et_pb_slide_description .et_pb_slide_title, 
.et_pb_slide_description .et_pb_slide_content {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Fix Contrast: Darken Category Backgrounds */
.et_pb_extra_column_main .simple-post-slider .post-content,
.et_pb_extra_column_main .posts-blog-feed-module .post-content,
.et_pb_extra_column_main .et_pb_extra_module .post-categories a {
    background-color: #2b5e2b !important; /* A darker, accessible green */
    color: #ffffff !important;
}

/* Fix Contrast: Darken Read More buttons on sliders */
.et-extra-slider-wrapper .more-link {
    background: #1a1a1a !important; /* Dark gray/black for maximum contrast */
    color: #ffffff !important;
    border: 1px solid #ffffff;
}

/* Fix Contrast: Darken Post Meta (Author/Date) */
.post-meta, .post-meta a {
    color: #444444 !important; /* Darker gray for readability on white */
}