/* Karonga Diocese refined footer */
.dt__footer--one {
    overflow: hidden;
    color: #dfe2f1;
    background: #11113b;
}

.kd-footer-main {
    position: relative;
    padding: 76px 0 64px;
    background:
        radial-gradient(circle at 92% 12%, rgba(190, 31, 168, 0.22), transparent 28%),
        linear-gradient(135deg, #11113b 0%, #17164d 58%, #201347 100%);
}

.kd-footer-main::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, #bd1fa7, #e44bcf 50%, #bd1fa7);
}

.kd-footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.75fr 0.95fr 1.25fr;
    gap: clamp(34px, 4vw, 64px);
    align-items: start;
}

.kd-footer-brand,
.kd-footer-section {
    min-width: 0;
}

.kd-footer-logo {
    display: inline-flex;
    max-width: 220px;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.kd-footer-logo img {
    width: auto;
    max-width: 100%;
    height: 68px;
    object-fit: contain;
}

.kd-footer-brand p,
.kd-footer-newsletter > p {
    margin: 0 0 18px;
    color: #c8cade;
    font-size: 15px;
    line-height: 1.75;
}

.kd-footer-motto,
.kd-footer-kicker {
    display: block;
    color: #f0a9e6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.kd-footer-donate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    padding: 12px 19px;
    color: #fff;
    background: #bd1fa7;
    border: 1px solid #d63bc0;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.kd-footer-donate:hover,
.kd-footer-donate:focus {
    color: #11113b;
    background: #fff;
}

.kd-footer-section h2 {
    position: relative;
    margin: 7px 0 27px;
    padding-bottom: 15px;
    color: #fff;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.25;
}

.kd-footer-section h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42px;
    height: 3px;
    content: "";
    background: #bd1fa7;
    border-radius: 3px;
}

.kd-footer-links,
.kd-footer-contact ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kd-footer-links li + li {
    margin-top: 13px;
}

.kd-footer-links a {
    display: inline-flex;
    align-items: center;
    color: #dfe2f1;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.kd-footer-links a::before {
    width: 6px;
    height: 6px;
    margin-right: 11px;
    content: "";
    background: #bd1fa7;
    border-radius: 50%;
    transition: transform 180ms ease;
}

.kd-footer-links a:hover,
.kd-footer-links a:focus,
.kd-footer-contact a:hover,
.kd-footer-contact a:focus,
.kd-footer-bottom a:hover,
.kd-footer-bottom a:focus {
    color: #f0a9e6;
}

.kd-footer-links a:hover::before,
.kd-footer-links a:focus::before {
    transform: scale(1.5);
}

.kd-footer-contact li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    color: #dfe2f1;
    font-size: 14px;
    line-height: 1.65;
}

.kd-footer-contact li + li {
    margin-top: 16px;
}

.kd-footer-contact i {
    margin-top: 4px;
    color: #e44bcf;
    font-size: 16px;
    text-align: center;
}

.kd-footer-contact a {
    min-width: 0;
    color: #dfe2f1;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.kd-footer-newsletter .kd-footer-kicker {
    margin-bottom: 7px;
}

.kd-footer-newsletter h2 {
    margin-top: 0;
}

.kd-footer-newsletter .mailpoet_form,
.kd-footer-newsletter .mailpoet_form_form,
.kd-footer-newsletter form {
    padding: 0 !important;
    background: transparent !important;
}

.kd-footer-newsletter .mailpoet_paragraph {
    margin-bottom: 10px !important;
}

.kd-footer-newsletter input[type="email"],
.kd-footer-newsletter input[type="text"] {
    width: 100% !important;
    min-height: 48px;
    padding: 12px 14px !important;
    color: #11113b !important;
    background: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 7px !important;
    box-shadow: none !important;
}

.kd-footer-newsletter input[type="submit"],
.kd-footer-newsletter button[type="submit"] {
    width: 100% !important;
    min-height: 46px;
    padding: 11px 18px !important;
    color: #fff !important;
    background: #bd1fa7 !important;
    border: 1px solid #d63bc0 !important;
    border-radius: 7px !important;
    font-size: 14px !important;
    font-weight: 750 !important;
}

.kd-footer-newsletter input[type="submit"]:hover,
.kd-footer-newsletter input[type="submit"]:focus,
.kd-footer-newsletter button[type="submit"]:hover,
.kd-footer-newsletter button[type="submit"]:focus {
    color: #11113b !important;
    background: #fff !important;
}

.kd-footer-newsletter label,
.kd-footer-newsletter .mailpoet_message,
.kd-footer-newsletter .mailpoet_validate_success,
.kd-footer-newsletter .mailpoet_validate_error {
    color: #dfe2f1 !important;
    font-size: 13px !important;
}

.kd-footer-bottom {
    color: #b8bad0;
    background: #0a0a2a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.kd-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 70px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.kd-footer-bottom p {
    margin: 0;
    font-size: 13px;
}

.kd-footer-bottom nav {
    display: flex;
    gap: 24px;
}

.kd-footer-bottom a {
    color: #dfe2f1;
    font-size: 13px;
    text-decoration: none;
}

@media (max-width: 74.938em) {
    .kd-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 47.938em) {
    .kd-footer-main {
        padding: 58px 0 48px;
    }

    .kd-footer-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .kd-footer-brand p {
        max-width: 430px;
    }

    .kd-footer-section h2 {
        margin-bottom: 22px;
    }

    .kd-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-top: 22px;
        padding-bottom: 22px;
    }
}

/* Site-wide content and usability polish */
.home .front5--info {
    padding-bottom: 70px;
}

.home .front5--about {
    padding-top: 82px;
    padding-bottom: 88px;
}

.home .front5--blog {
    padding-top: 88px;
    padding-bottom: 88px;
}

.front5--blog .dt__post-entry p {
    color: #606474;
    line-height: 1.7;
}

.front5--blog .kd-home-read-more {
    display: inline-flex;
    margin-top: 7px;
    padding: 10px 16px;
    color: #fff;
    background: #11113b;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.front5--blog .kd-home-read-more:hover,
.front5--blog .kd-home-read-more:focus {
    color: #fff;
    background: #bd1fa7;
}

.dt__header-topbar .widget_social {
    display: none;
}

.kd-institutional-page .dt__posts > .dt-container > .dt-row > .dt-col-lg-8,
.kd-news-index .dt__posts > .dt-container > .dt-row > .dt-col-lg-8 {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

.kd-institutional-page .dt__posts.dt-py-default,
.kd-news-index .dt__posts.dt-py-default {
    padding-top: 78px;
    padding-bottom: 88px;
}

.kd-institutional-page .wow,
.kd-news-index .wow {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.kd-institutional-page .dt__posts > .dt-container > .dt-row > .dt-col-lg-4,
.kd-news-index .dt__posts > .dt-container > .dt-row > .dt-col-lg-4 {
    display: none;
}

.kd-institutional-page .dt__posts > .dt-container > .dt-row > .dt-col-lg-8 {
    max-width: 1080px;
    margin-right: auto;
    margin-left: auto;
    color: #4f5363;
    font-size: 16px;
    line-height: 1.82;
}

.kd-institutional-page .dt__posts p {
    margin-bottom: 1.25em;
}

.kd-institutional-page .dt__posts h2,
.kd-institutional-page .dt__posts h3,
.kd-institutional-page .dt__posts h4,
.kd-institutional-page .dt__posts h5 {
    color: #11113b;
    line-height: 1.25;
    text-wrap: balance;
}

.kd-institutional-page .dt__posts h2,
.kd-institutional-page .dt__posts h3,
.kd-institutional-page .dt__posts h4 {
    margin-top: 1.8em;
    margin-bottom: 0.65em;
}

.kd-institutional-page .dt__posts ul:not(.products) {
    padding-left: 1.25em;
}

.kd-institutional-page .dt__posts img,
.kd-institutional-page .dt__posts iframe {
    max-width: 100%;
    border-radius: 10px;
}

.kd-news-index .dt__posts > .dt-container > .dt-row > .dt-col-lg-8 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.kd-news-index .dt__post {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    height: 100%;
    margin: 0;
    background: #fff;
    border: 1px solid #e7e7ef;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(17, 17, 59, 0.08);
}

.kd-news-index .dt__post-thumb {
    overflow: hidden;
    margin: 0;
}

.kd-news-index .dt__post-thumb img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    transition: transform 350ms ease;
}

.kd-news-index .dt__post:hover .dt__post-thumb img {
    transform: scale(1.035);
}

.kd-news-index .dt__post-outer {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px;
}

.kd-news-index .dt__post-entry {
    flex: 1;
}

.kd-news-index .dt__post-title {
    margin-bottom: 12px;
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.25;
    text-transform: none;
}

.kd-news-index .dt__post-entry p {
    color: #606474;
    font-size: 15px;
    line-height: 1.7;
}

.kd-news-index .dt__post-bottom-meta {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #ececf2;
}

.kd-news-index .navigation.pagination,
.kd-news-index .mailpoet_form_popup_overlay,
.kd-news-index .mailpoet_form_popup {
    grid-column: 1 / -1;
}

.kd-news-index .navigation.pagination {
    margin-top: 15px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #e44bcf;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 61.938em) {
    .dt__mobilenav-topbar {
        display: none !important;
    }

    .dt__mobilenav-menu {
        min-height: 94px;
    }

    .kd-institutional-page .wow,
    .kd-news-index .wow,
    .home .wow {
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

@media (max-width: 47.938em) {
    .home .front5--info {
        padding-bottom: 48px;
    }

    .home .front5--about,
    .home .front5--blog {
        padding-top: 58px;
        padding-bottom: 64px;
    }

    .dt__pagetitle-content {
        min-height: 150px;
    }

    .dt__pagetitle .title h1 {
        font-size: clamp(36px, 11vw, 48px);
    }

    .kd-institutional-page .dt__posts.dt-py-default,
    .kd-news-index .dt__posts.dt-py-default {
        padding-top: 52px;
        padding-bottom: 58px;
    }

    .kd-institutional-page .dt__posts p,
    .kd-institutional-page .dt__posts li {
        text-align: left !important;
    }

    .kd-news-index .dt__posts > .dt-container > .dt-row > .dt-col-lg-8 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .kd-news-index .dt__post-thumb img {
        height: 220px;
    }

    .kd-news-index .dt__post-outer {
        padding: 21px;
    }
}
