/* Article layouts for How to Save the World */
:root {
    --hsw-article-ink: #1a2e26;
    --hsw-article-rule: #dce5df;
    --hsw-article-wash: #f4f7f5;
}

.post-details .entry-content figure {
    display: block;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 760px;
    margin: 1.75rem auto !important;
    text-align: center;
    box-sizing: border-box;
}

.post-details .entry-content figure img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.post-details .entry-content figure figcaption {
    margin-top: .55rem;
    color: #52625d;
    text-align: center;
}

.post-details .entry-content .hsw-image-caption-only {
    color: #52625d;
    font-size: .95rem;
    margin: 1rem 0 1.5rem;
}

.post-details .entry-content .hsw-article__table-scroll {
    width: 100%;
    max-width: 100%;
    margin: 1.25rem 0 1.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.post-details .entry-content .hsw-article__table-scroll table {
    width: 100%;
    min-width: 560px;
    margin: 0;
    table-layout: auto;
}

.post-details .entry-content .hsw-article__table-scroll th,
.post-details .entry-content .hsw-article__table-scroll td {
    border-color: var(--hsw-article-rule);
    vertical-align: top;
    overflow-wrap: anywhere;
}

.post-details .entry-content .hsw-article__table-scroll thead th {
    background: var(--hsw-article-wash);
    color: var(--hsw-article-ink);
}

@media (max-width: 640px) {
    .post-details .entry-content figure {
        margin: 1.25rem auto !important;
    }
}

.post-details .post-content > article > p:first-of-type {
    color: #4a5568;
    font: inherit;
    line-height: 1.8;
}

.post-details .hsw-page-title,
.hsw-category-title {
    color: var(--hsw-article-ink);
    font-family: inherit;
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.4rem;
}

.hsw-category-title {
    margin: 0 0 1.5rem;
}

.hsw-page-shell {
    margin: 0 auto;
    max-width: 880px;
    padding: clamp(2rem, 5vw, 4.5rem) 1rem;
}

.hsw-info-page {
    color: #3f4d47;
    font-family: "Inter", Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
}

.hsw-info-page h1,
.hsw-info-page h2 {
    color: var(--hsw-article-ink);
    line-height: 1.25;
}

.hsw-info-page h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 0 0 1.4rem;
}

.hsw-info-page h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    margin: 2rem 0 .75rem;
}

.hsw-info-page li {
    margin: .4rem 0;
}

.all-posts-wrapper article.post-single {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.all-posts-wrapper .post-img a,
.news-block-two .image-box > a {
    display: block;
    overflow: hidden;
}

.all-posts-wrapper .post-img img {
    aspect-ratio: 850 / 420;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.all-posts-wrapper .post-contents {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.all-posts-wrapper .post-content {
    flex: 1;
}

.all-posts-wrapper .post-single .post-content p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    min-height: 4.8em;
    overflow: hidden;
}

.all-posts-wrapper .post-button {
    margin-top: auto;
}

.hsw-read-link {
    color: #237d38;
    display: inline-block;
    font-weight: 700;
    margin-top: .75rem;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.post-details .post-gallerys img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.post-details .hsw-article-photo {
    clear: both !important;
    float: none !important;
    display: block;
    width: 100% !important;
    max-width: 760px;
    margin: 2rem auto !important;
}

.post-details .hsw-article-photo img {
    display: block;
    width: 100%;
    min-width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: cover;
}

@media (max-width: 700px) {
    .post-details .post-gallerys img {
        height: 260px;
    }

    .post-details .hsw-article-photo img {
        min-height: 240px;
    }
}

.elementor-element-25d32a77 .service-box-three {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.elementor-element-25d32a77 .service-icon-three,
.elementor-element-25d32a77 .service-icon-three svg {
    height: 50px;
    width: 50px;
}

.elementor-element-25d32a77 .service-three-content {
    flex: 1;
}

.elementor-element-25d32a77 .services-three-des {
    line-height: 1.55;
    min-height: 4.65em;
}

.elementor-element-25d32a77 .service-btn {
    margin-top: auto;
}

.news-block-two {
    height: 100%;
}

.news-block-two .image-box img {
    aspect-ratio: 850 / 450;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.news-block-two .lower-content {
    display: flex;
    flex-direction: column;
    min-height: 260px;
}

.news-block-two .lower-content h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.news-block-two .lower-content .post-excerpt,
.news-block-two .lower-content .blog-content p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.news-block-two .hsw-read-link {
    margin-top: auto;
}

.hsw-form-status {
    background: #edf7ef;
    border-left: 4px solid #237d38;
    color: #1a2e26;
    margin: 1rem 0 0;
    padding: .8rem 1rem;
}

.hsw-form-status[hidden] {
    display: none;
}

.hsw-static-form :is(input[type="text"], input[type="email"], input[type="tel"], textarea) {
    max-width: 100%;
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .header-three-style .main-menu > ul#mainmenu > li > a {
        font-size: 14px !important;
    }
}

@media (max-width: 640px) {
    .news-block-two .lower-content {
        min-height: 0;
    }
}
.post-details .hsw-article-copy {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.72;
}

.post-details .hsw-article-copy h2,
.post-details .hsw-article-copy h3 {
    color: var(--hsw-article-ink);
    line-height: 1.28;
}

.post-details .hsw-article-copy figure {
    box-sizing: border-box;
}

.post-details .hsw-article-copy figcaption {
    color: #52625d;
    font-size: .93rem;
    line-height: 1.5;
}

.post-details .hsw-article-copy .hsw-source-list {
    padding-left: 1.25rem;
}

.post-details .hsw-article-copy .hsw-source-list li {
    margin: .45rem 0;
}
body.hsw-menu-open {
    overflow: hidden;
}

/* Keep the static footer form usable at narrow widths. */
.footer-newsletter-item input[type="email"] {
    padding-right: 104px;
}

.footer-newsletter-item input.wpcf7-form-control.wpcf7-submit {
    padding: 0 8px;
    width: 96px;
}

.footer-three-recent-post > ul {
    padding-left: 0;
}

.footer-widgets-area .footer-three-recent-post > ul > li > a,
.footer-widgets-area .privacy-form-notice a {
    color: #f5f5ef !important;
}

.to-top {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

footer .footer-three-recent-post > ul > li > a,
footer .privacy-form-notice a {
    color: #f5f5ef !important;
}

@media (max-width: 767px) {
    .header-top {
        display: none;
    }
}

/* Keep inner page content below the shared header after removing page banners. */
.hsw-page-shell {
    padding-top: clamp(3rem, 7vw, 5rem);
}

.about-section-wraper {
    padding-top: clamp(5.5rem, 8vw, 7rem);
}
.about-section-wraper {
    padding-top: clamp(7.5rem, 10vw, 8rem);
}

.hsw-about-page {
    margin-top: 2rem;
}

body.hsw-contact-page .hsw-contact-column {
    flex: 0 0 100%;
    max-width: 100%;
}

body.hsw-contact-page .hsw-contact-column > .elementor-widget-wrap {
    margin-inline: auto;
    max-width: 860px;
}

@media (max-width: 767px) {
    body.page-builder-not-used .site-main.content-area.hsw-category-archive {
        margin: 160px 0 100px;
    }
}

.article-author-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.5rem 0 0;
    padding: 1rem 1.25rem;
    border: 1px solid #dce8dd;
    border-left: 3px solid #4baf47;
    border-radius: 10px;
    background: #f8fbf7;
}

.article-author-note__identity {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .4rem .65rem;
}

.article-author-note__label {
    color: #647067;
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.article-author-note__name,
.article-author-note__detail {
    margin: 0;
}

.article-author-note__name {
    font-weight: 700;
}

.article-author-note__name a {
    color: #1a2e26;
    text-decoration: none;
}

.article-author-note__detail a {
    color: #4b6a4f;
    font-size: .92rem;
    text-decoration: underline;
    text-underline-offset: .15em;
}

.article-author-note a:focus-visible {
    border-radius: 2px;
    outline: 2px solid #4baf47;
    outline-offset: 3px;
}

@media (max-width: 575px) {
    .article-author-note {
        align-items: flex-start;
        flex-direction: column;
        gap: .45rem;
    }
}

