/* ==========================================================================
   1. GLOBAL WIDGET ADJUSTMENTS
   ========================================================================== */
#block-18.widget {
    padding-bottom: 20px !important;
}

#block-15.widget {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

/* ==========================================================================
   2. TYPOGRAPHY & ACCESSIBILITY (GLOBAL)
   ========================================================================== */
/* Force underlines on all content links to satisfy accessibility standards */
p a, 
#content p a, 
.site-content a {
    text-decoration: underline !important;
    font-weight: 600 !important;
}

/* Maintain high-contrast white links against dark backgrounds */
.site-footer a, 
.footer-widget-area a, 
.site-info a, 
#colophon a,
#white-hero-link, 
#white-hero-link a, 
#white-hero-link strong, 
#white-hero-link span {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* High-Contrast Fix for MHIC/State Links in Footer */
.wp-block-paragraph a[href*="dllr.state.md.us"],
footer a[href*="dllr.state.md.us"],
.wp-block-paragraph a[href*="dllr.state.md.us"]:hover,
.wp-block-paragraph a[href*="dllr.state.md.us"]:visited,
footer a[href*="dllr.state.md.us"]:hover,
footer a[href*="dllr.state.md.us"]:visited {
    color: #ffffff !important;
    text-decoration: underline !important;
    font-weight: bold !important;
}

/* ==========================================================================
   3. SECONDARY ELEMENT STYLING
   ========================================================================== */
/* Contact form submit button formatting */
.contact-form button.pushbutton-wide {
    background-color: #004d00 !important;
    color: #ffffff !important;
    font-size: 1.2em !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    padding: 15px 30px !important;
}

/* Table styles for price schedules and technical data */
.entry-content table td strong, 
.entry-content table th strong {
    font-weight: 900 !important;
}

.entry-content table th {
    text-align: center;
    background-color: #f9f9f9; 
}

/* Author Box & Sidebar Image Optimization */
.your-author-box-class-name {
    content-visibility: auto;
    contain-intrinsic-size: 150px;
}

.widget_edin_author_profile img,
img[data-attachment-id="911"] {
    width: 113px !important;
    height: 150px !important;
    max-width: 113px !important;
    aspect-ratio: 113 / 150 !important;
    object-fit: contain !important;
}

/* ==========================================================================
   4. RESPONSIVE OVERRIDES
   ========================================================================== */
@media (min-width: 768px) {
    .your-author-box-class-name {
        min-height: 120px; 
    }
}

@media (max-width: 599px) {
    .hero.with-featured-image {
        background-image: url(https://i0.wp.com/pryors.com/wp-content/uploads/2023/03/Ariel-7-3-19-size-16-9-1024-wide-e1717862162856.jpg?resize=600%2C800);
    }
}

/* Mobile-only safety rules to prevent image overflow */
@media (max-width: 767px) {
    .wp-post-image, 
    .attachment-edin-featured-image,
    .site-logo {
        max-width: 100% !important;
        height: auto !important;
    }
}