/* ----------------------------------
   Global Links & Alignment Classes
---------------------------------- */
.comments-area a,
.page-content a {
    text-decoration: underline;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.aligncenter {
    clear: both;
    display: block;
    margin-inline: auto;
}

.alignwide {
    margin-inline: -80px;
}

.alignfull {
    margin-inline: calc(50% - 50vw);
    max-width: 100vw;
}

.alignfull,
.alignfull img {
    width: 100vw;
}

/* ----------------------------------
   Captions
---------------------------------- */
.wp-caption {
    margin-block-end: 1.25rem;
    max-width: 100%;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

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

.wp-caption-text {
    margin: 0;
}

.gallery-caption {
    display: block;
    font-size: .8125rem;
    line-height: 1.5;
    margin: 0;
    padding: .75rem;
}

/* ----------------------------------
   Pagination
---------------------------------- */
.pagination {
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
}

/* ----------------------------------
   Misc Utility
---------------------------------- */
.sticky {
    display: block;
    position: relative;
}

.bypostauthor {
    font-size: inherit;
}

.hide {
    display: none !important;
}

/* ----------------------------------
   Password Protected Post Form
---------------------------------- */
.post-password-form {
    margin: 50px auto;
    max-width: 500px;
}

.post-password-form p {
    display: flex;
    align-items: flex-end;
    width: 100%;
}

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

/* ----------------------------------
   Screen Reader Text
---------------------------------- */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #333;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    padding: 12px 24px;
    top: 5px;
    width: auto;
    z-index: 100000;
    line-height: normal;
}

/* ----------------------------------
   Post Styling
---------------------------------- */
.post .entry-title a {
    text-decoration: none;
}

.post .wp-post-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .post .wp-post-image {
        max-height: 400px;
    }
}

@media (max-width: 575px) {
    .post .wp-post-image {
        max-height: 300px;
    }
}

/* ----------------------------------
   Comments
---------------------------------- */
#comments .comment-list {
    font-size: .9em;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

#comments .comment .comment-body,
#comments .pingback .comment-body {
    display: flex;
    flex-direction: column;
    padding: 30px 0 30px 60px;
    border-bottom: 1px solid #ccc;
}

#comments .comment .avatar,
#comments .pingback .avatar {
    border-radius: 50%;
    position: absolute;
    left: 0;
    margin-inline-end: 10px;
}

/* RTL Fixes */
body.rtl #comments .comment .avatar,
body.rtl #comments .pingback .avatar,
html[dir="rtl"] #comments .comment .avatar,
html[dir="rtl"] #comments .pingback .avatar {
    left: auto;
    right: 0;
}

/* Comment Meta */
#comments .comment-meta {
    display: flex;
    justify-content: space-between;
    margin-block-end: .9rem;
}

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

/* Children Comments */
#comments .children {
    list-style: none;
    margin: 0;
    padding-inline-start: 30px;
    position: relative;
}

#comments .children li:last-child {
    padding-bottom: 0;
}

#comments ol.comment-list .children:before {
    content: "↪";
    position: absolute;
    top: 45px;
    left: 0;
    font-size: 1em;
}

body.rtl #comments ol.comment-list .children:before,
html[dir="rtl"] #comments ol.comment-list .children:before {
    content: "↩";
    right: 0;
    left: auto;
}

@media (min-width: 768px) {
    #comments .comment-author,
    #comments .comment-metadata {
        line-height: 1;
    }
}

@media (max-width: 767px) {
    #comments .comment .comment-body {
        padding: 30px 0;
    }

    #comments .children {
        padding-inline-start: 20px;
    }

    #comments .comment .avatar {
        float: left;
        position: inherit;
    }
}

/* ----------------------------------
   Layout Container Sizes
---------------------------------- */
.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: 100%;
    margin-inline: auto;
}

@media (max-width: 575px) {
    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-header .header-inner,
    body:not([class*="elementor-page-"]) .site-main {
        padding-inline: 10px;
    }
}

@media (min-width: 576px) {
    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-header .header-inner,
    body:not([class*="elementor-page-"]) .site-main {
        max-width: 500px;
    }
}

@media (min-width: 768px) {
    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-header .header-inner,
    body:not([class*="elementor-page-"]) .site-main {
        max-width: 600px;
    }
}

@media (min-width: 992px) {
    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-header .header-inner,
    body:not([class*="elementor-page-"]) .site-main {
        max-width: 800px;
    }
}

@media (min-width: 1200px) {
    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-header .header-inner,
    body:not([class*="elementor-page-"]) .site-main {
        max-width: 1140px;
    }
}

/* Full width header/footer */
.site-footer.footer-full-width .footer-inner,
.site-header.header-full-width .header-inner {
    max-width: 100%;
}

/* ----------------------------------
   Page Height Adjustment
---------------------------------- */
.site-header + .elementor {
    min-height: calc(100vh - 320px);
}
