/* =========================================================
   RESET THEME DEFAULT CONTENT/LAYOUT STYLES
   Paste AFTER the original theme CSS
========================================================= */

/* Remove forced underlines from page/comment links */
.comments-area a,
.page-content a {
    text-decoration: inherit;
}

/* Reset WordPress alignment helpers */
.alignright,
.alignleft {
    float: none;
    margin-left: 0;
    margin-right: 0;
}

.aligncenter {
    clear: none;
    display: initial;
    margin-inline: initial;
}

.alignwide,
.alignfull {
    margin-inline: initial;
    max-width: initial;
}

.alignfull,
.alignfull img {
    width: auto;
    max-width: 100%;
}

/* Reset captions/gallery defaults */
.wp-caption,
.wp-caption.alignleft,
.wp-caption.alignright {
    margin: 0;
    max-width: 100%;
}

.wp-caption img {
    display: initial;
    margin-inline: initial;
}

.wp-caption-text,
.gallery-caption {
    margin: initial;
    padding: initial;
    font-size: inherit;
    line-height: inherit;
}

/* Reset pagination */
.pagination {
    display: initial;
    justify-content: initial;
    margin: initial;
}

/* Reset post password form styling */
.post-password-form {
    margin: initial;
    max-width: initial;
}

.post-password-form p {
    align-items: initial;
    display: initial;
    width: initial;
}

.post-password-form [type="submit"] {
    margin-inline-start: initial;
}

/* Keep accessibility screen-reader-text intact */
/* Do not reset .screen-reader-text */

/* Reset post title/image defaults */
.post .entry-title a {
    text-decoration: inherit;
}

.post .wp-post-image {
    max-height: none;
    object-fit: initial;
    width: auto;
    max-width: 100%;
}

/* Reset comments styling */
#comments .comment-list {
    font-size: inherit;
    list-style: initial;
    margin: initial;
    padding: initial;
}

#comments .comment,
#comments .pingback {
    position: initial;
}

#comments .comment .comment-body,
#comments .pingback .comment-body {
    border-block-end: initial;
    display: initial;
    flex-direction: initial;
    padding: initial;
}

#comments .comment .avatar,
#comments .pingback .avatar {
    border-radius: initial;
    left: auto;
    right: auto;
    margin-inline-end: initial;
    position: initial;
}

#comments .comment-meta {
    display: initial;
    justify-content: initial;
    margin-block-end: initial;
}

#comments .comment-metadata,
#comments .reply {
    font-size: inherit;
    line-height: inherit;
}

#comments .children {
    list-style: initial;
    margin: initial;
    padding-inline-start: initial;
    position: initial;
}

#comments ol.comment-list .children::before {
    content: none;
}

/* Reset Hello/Theme forced page width containers */
.page-header .entry-title,
.site-footer .footer-inner,
.site-footer:not(.dynamic-footer),
.site-header .header-inner,
.site-header:not(.dynamic-header),
body:not([class*="elementor-page-"]) .site-main {
    width: auto;
    max-width: none;
    margin-inline-start: initial;
    margin-inline-end: initial;
    padding-inline-start: initial;
    padding-inline-end: initial;
}

/* Reset Elementor min-height after header */
.site-header + .elementor {
    min-height: initial;
}