/*!
 * Mundana Jekyll Theme (https://www.wowthemes.net/mundana-jekyll-theme/)
 */

/* ========= COLOR PALETTE ========= */
:root {
    --bg-color: #FAF9F6;
    --text-color: #333333;
    --heading-color: #2F5D50;
    --accent-color: #8B5E3C;
    --link-color: #3B6F4C;
    --link-hover-color: #5E8B74;
    --muted-color: #777777;
}

.jumbotron.bg-white {
    background-color: var(--bg-color) !important;
}

.text-danger {
    color: var(--accent-color) !important;
}

.btn-light {
    background-color: rgba(47, 93, 80, 0.06);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-light:hover,
.btn-light:focus {
    background-color: rgba(47, 93, 80, 0.12);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.article-card {
    background-color: var(--bg-color);
    border: 1px solid var(--muted-color);
    color: var(--text-color);
    transition: filter 0.3s ease, transform 0.3s ease, background-color 0.5s ease, color 0.5s ease;
}

.article-card:hover {
    filter: brightness(95%);
    transform: scale(1.02);
    cursor: pointer;
}

.text-muted {
    color: var(--muted-color) !important;
}

/* ========= GLOBAL TEXT & LINKS ========= */
.text-danger {
    color: var(--accent-color) !important;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    padding-top: 69.75px;
}

.site-content {
    margin-top: 30px;
    min-height: 400px;
}
.lunrsearchresult .title {
    color: var(--heading-color);
}
.lunrsearchresult .url {
    color: var(--muted-color);
}
.lunrsearchresult a {
    display: block;
    color: var(--text-color);
}
.lunrsearchresult a:hover,
.lunrsearchresult a:focus {
    text-decoration: none;
}
.lunrsearchresult a:hover .title {
    text-decoration: underline;
}

.btn-dark {
    background-color: var(--heading-color);
    border-color: var(--heading-color);
    color: #fff;
}
.btn-dark:hover,
.btn-dark:focus {
    background-color: var(--link-hover-color);
    border-color: var(--link-hover-color);
}


/* Normalize button active/focus states to theme colors */
.btn:focus,
.btn:active,
.btn-primary:focus,
.btn-primary:active,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary:not(:disabled):not(.disabled):active,
.btn-dark:focus,
.btn-dark:active {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: #fff !important;
    box-shadow: none !important;
}


.remove-site-content-margin {
    margin-top: -30px;
}

img {
    max-width: 100%;
}

.tofront {
    position: relative;
    z-index: 1;
}

.full-width {
    width: 100vw;
    position: relative;
    margin-left: -50vw;
    left: 50%;
}

a,
a:hover {
    transition: all .2s;
    text-decoration: none;
}

a {
    color: var(--link-color);
}

a:hover {
    color: var(--link-hover-color);
}

a.text-dark:hover {
    color: var(--heading-color) !important;
}

.c-pointer:hover {
    cursor: pointer;
}

.z-index-1 {
    z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
}

/* ========= RESPONSIVE DISPLAY ========= */

@media (max-width: 991.98px) {
    .display-3 {
        font-size: 3.5rem;
    }
}

@media (max-width: 767.98px) {
    .display-3 {
        font-size: 2rem;
    }
}

.row.gap-y > .col,
.row.gap-y > [class*="col-"] {
    padding-top: 15px;
    padding-bottom: 15px;
}

.mt-neg5 {
    margin-top: -5rem;
}

.ml-neg5 {
    margin-left: -5rem;
}

@media (min-width: 768px) {
    .h-md-100-v {
        height: 100vh;
    }
    .h-md-100 {
        height: 100vh;
    }
}

@media (min-width: 1200px) {
    .h-xl-300 {
        height: 300px;
    }
    .h-max-380 {
        max-height: 380px;
    }
}

/* ========= BUTTONS ========= */

.btn-round {
    border-radius: 30px !important;
}

.btn {
    padding: 0.35rem 1.1rem;
    font-size: 1rem;
    line-height: 1.6;
    border-radius: 0.25rem;
    position: relative;
}

.btn:hover,
.btn:focus {
    outline: 1 !important;
}

.btn .badge {
    position: absolute;
    top: -.625rem;
    right: -.3125rem;
}

.btn-lg,
.btn-group-lg > .btn {
    padding: 0.65rem 2rem;
    font-size: 1.15rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.btn-sm,
.btn-group-sm > .btn {
    padding: 0.15rem .7rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.btn-link:hover,
.btn-link:focus {
    box-shadow: none;
}

/* Solid primary button uses accent/link colors */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--link-hover-color);
    border-color: var(--link-hover-color);
    color: #fff;
}

/* Outline buttons for category chips etc. */
.btn-outline-secondary {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background-color: transparent;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    color: #fff;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Link-style buttons tied to palette */
.btn-link {
    box-shadow: none;
}

.btn-link.btn-primary,
.btn-link.btn-success {
    color: var(--accent-color);
    border-color: transparent;
}

.btn-link.btn-secondary {
    color: var(--heading-color);
    border-color: transparent;
}

.btn-white {
    background-color: #fff;
}

/* ========= INPUTS ========= */

.input-round {
    border-radius: 30px !important;
}

.input-group.input-round input:first-child {
    border-radius: 30px 0 0 30px;
}

.input-group.input-round input:last-child {
    border-radius: 0px 30px 30px 0px;
}

/* ========= NAVBAR ========= */

.navbar {
    transition: top 0.2s ease-in-out;
    font-weight: 400;
    background-color: var(--bg-color) !important;
    border-bottom: 1px solid var(--muted-color);
}

.navbar .highlight .nav-link {
    color: var(--accent-color) !important;
    border: 1px solid var(--accent-color);
    padding: 0.3rem 1rem;
    border-radius: 3px;
    font-size: .93rem;
}

.navbar .highlight .nav-link:hover {
    background: var(--accent-color);
    color: #fff !important;
}

.navbar-brand {
    margin-right: 2rem;
    font-size: 1.55rem;
    font-family: "Georgia", "Times New Roman", serif;
}

.dropdown-item {
    font-weight: 400;
}

.dropdown-menu {
    border: 0;
    text-transform: none;
    box-shadow: 0 10px 25px 0 rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
    .dropdown-menu:before {
        content: '';
        top: -8px;
        position: absolute;
        left: 50px;
        border-top: 16px solid #fff;
        border-left: 16px solid #fff;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
}

.navbar-light .navbar-brand {
    color: rgba(0,0,0,0.9);
}

.navbar-light .navbar-brand:hover,
.navbar-light .navbar-brand:focus {
    color: rgba(0,0,0,0.9);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-color);
    font-size: .93rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: var(--link-hover-color);
}

.navbar-light .navbar-nav .nav-link.disabled {
    color: rgba(0,0,0,0.3);
}

.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--heading-color);
}

.navbar-light .navbar-toggler {
    color: rgba(0,0,0,0.5);
    border-color: rgba(0,0,0,0.1);
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-light .navbar-text {
    color: rgba(0,0,0,0.5);
}

.navbar-light .navbar-text a {
    color: rgba(0,0,0,0.9);
}

.navbar-light .navbar-text a:hover,
.navbar-light .navbar-text a:focus {
    color: rgba(0,0,0,0.9);
}

.bd-search .form-control {
    font-size: .85rem;
    color: #999;
    border-radius: 30px;
    height: 35px;
    border: 1px solid #eee;
}

/* ========= JUMBOTRON & HERO ========= */

.mb-2rem {
    margin-bottom: 2rem;
}

.jumbotron {
    background-size: cover;
    padding: 7rem 1rem;
}

@media (min-width: 992px) {
    .jumbotron-lg-withnav {
        padding-bottom: calc(10rem - 69.75px);
    }
    .jumbotron-lg {
        padding: 10rem 0;
    }
    .jumbotron-xl {
        padding: 15rem 0;
        min-height: 100vh;
    }
    .bottom-align-text-absolute {
        position: absolute;
        bottom: 30px;
        margin: auto;
        left: 0;
        right: 0;
    }
    .jumbotron-home h1 {
        font-family: Georgia, Times, "Times New Roman", serif;
        font-size: 2.4rem;
        font-weight: 700;
        line-height: 1.1;
    }
}

/* ========= OVERLAYS / BACKGROUNDS ========= */

.bg-black {
    background-color: #000;
}

.overlay {
    position: relative;
}

.overlay .container {
    position: relative;
}

.overlay:before {
    content: "";
    display: block;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
}

.overlay-black:before {
    background-color: rgba(0,0,0,0.5);
}

.overlay-blue:before {
    background-color: rgba(23,29,90,0.5);
}

.overlay-red:before {
    background: linear-gradient(0deg, rgba(44,44,44,0.2), rgba(224,23,3,0.6));
}

/* Utility SVG fill classes (optional to keep as-is for now) */

.bg-primary {
    fill: #B53535 !important;
}
.bg-secondary {
    fill: #0D2A54 !important;
}
.bg-success {
    fill: #03a87c !important;
}
.bg-info {
    fill: #09ebaf !important;
}
.bg-warning {
    fill: #ffde03 !important;
}
.bg-danger {
    fill: #ea2f65 !important;
}
.bg-light {
    fill: #f8f9fa !important;
}
.bg-dark {
    fill: #212529 !important;
}
.bg-white {
    fill: #fff !important;
}
.bg-purple {
    fill: #ad6edd !important;
}
.bg-salmon {
    fill: #ff977a !important;
}
.bg-cyan {
    fill: #35bdff !important;
}
.bg-gray {
    fill: #ced4da !important;
}
.bg-indigo {
    fill: #502c6c !important;
}
.bg-orange {
    fill: #fbb500 !important;
}
.bg-lightblue {
    fill: #e8f3ec !important;
}

/* ========= CARDS & ARTICLE ========= */

.card .date {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
    background: var(--accent-color);
    width: 55px;
    height: 55px;
    padding: 12.5px 0;
    border-radius: 100%;
    color: #FFFFFF;
    font-weight: 700;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.card .date .day {
    font-size: 16px;
    line-height: 1;
}

.card .date .month {
    font-size: 11px;
    text-transform: uppercase;
}

.card a:hover {
    text-decoration: none;
    color: var(--link-hover-color);
}

.card-pricing .card ul li {
    margin-bottom: 1.5rem;
}

.iconbox {
    border: 1px solid;
    text-align: center;
    display: inline-block;
}

.iconbox.iconsmall {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1rem;
}

.iconbox.iconmedium {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 1.8rem;
}

.iconbox.iconlarge {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 2.2rem;
}

/* Card container look */

.card {
    background-color: var(--bg-color);
    border: 1px solid var(--accent-color);
    color: var(--text-color);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

/* ========= ALERTS (simplified to fit palette) ========= */

.alert-primary,
.alert-success {
    color: #fff;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.alert-primary .alert-link,
.alert-success .alert-link {
    color: #f5f5f5;
}

.alert-secondary {
    color: #fff;
    background-color: var(--heading-color);
    border-color: var(--heading-color);
}

.alert-secondary .alert-link {
    color: #f5f5f5;
}

/* ========= LISTS / TYPOGRAPHY ========= */

ul.list-unstyled li {
    margin-bottom: .3rem;
}

ol.list-featured {
    counter-reset: my-awesome-counter;
    list-style: none;
    padding-left: 0;
}

ol.list-featured li {
    counter-increment: my-awesome-counter;
    display: flex;
    font-size: 0.8rem;
}

ol.list-featured li:before {
    content: "0" counter(my-awesome-counter);
    font-weight: bold;
    font-size: 2rem;
    margin-right: 0.5rem;
    font-family: Arial;
    line-height: 1;
    opacity: .1;
}

.catlist .sep:last-child {
    display: none;
}

/* ========= FOOTER ========= */

footer {
    margin-top: 50px;
    z-index: 1022;
    position: relative;
    background-color: var(--bg-color);
    color: var(--muted-color);
}

footer a {
    color: var(--link-color);
}

footer a:hover {
    color: var(--link-hover-color);
}

/* ========= LAYOUT HELPERS ========= */

.sticky-top-offset {
    top: 70px;
}

.homefirstpage .main-loop .main-loop-card:nth-child(-n+5) {
    display: none !important;
}

.excerpt {
    color: var(--muted-color);
    margin-top: 10px;
}

article {
    font-size: 20px;
    line-height: 1.86;
    font-family: Lora, Georgia, "Times New Roman", serif;
    color: var(--text-color);
}

.article-headline {
    font-family: Georgia, Times, "Times New Roman", serif;
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.15;
    color: var(--heading-color);
}

article p,
article pre,
article figure,
article img,
article blockquote,
article iframed,
article embed {
    margin-bottom: 2rem;
}

article blockquote {
    padding-left: 40px;
    margin-left: 0px;
    font-style: italic;
    position: relative;
}

article blockquote:before {
    content: "“";
    font-family: Georgia;
    font-size: 8rem;
    margin: -1rem 2rem 0 -3.9rem;
    position: absolute;
    opacity: 1;
    float: left;
    line-height: 1;
}

article:first-letter {
    float: left;
    font-size: 5em;
    line-height: 1;
    margin: 0 .2em 0 0;
    vertical-align: top;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6,
article .h1,
article .h2,
article .h3,
article .h4,
article .h5,
article .h6 {
    margin-bottom: 2rem;
    margin-top: 2rem;
    font-weight: 600;
}

/* ========= BOTTOM ALERT BAR / SHARE ========= */

.alertbar {
    box-shadow: 0 -3px 10px 0 rgba(0,0,0,.0785);
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #fff;
    width: 100%;
    padding: 20px 0;
    z-index: 1021;
    display: none;
}

.alertbar img {
    border-radius: 2px;
}

.spanborder {
    border-bottom: 1px solid #e8f3ec;
    margin-bottom: 2rem;
}

.spanborder span {
    border-bottom: 1px solid rgba(0,0,0,0.44);
    display: inline-block;
    padding-bottom: 20px;
    margin-bottom: -1px;
}

.a2a_default_style .a2a_svg {
    border-radius: 50% !important;
    margin-top: .5rem;
    margin-left: auto;
    margin-right: auto;
}

/* ========= RESPONSIVE TWEAKS ========= */

@media (max-width: 1199.98px) {
    .display-4 {
        font-size: 35px;
    }
}

@media (max-width: 991.98px) {
    .display-4 {
        font-size: 25px;
    }
    .alertbar {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .a2a_default_style a {
        display: block !important;
        float: none !important;
    }
    .a2a_default_style .a2a_svg {
        border-radius: 50% !important;
        display: block !important;
        float: none !important;
        margin-top: .5rem;
        margin-left: auto;
        margin-right: auto;
    }
    .a2a_svg {
        height: 40px !important;
        line-height: 40px !important;
        width: 40px !important;
    }
    .a2a_mini_services .a2a_svg,
    .a2a_menu_show_more_less .a2a_svg,
    .a2a_full .a2a_svg {
        height: 20px !important;
        line-height: 20px !important;
        width: 20px !important;
    }
}

@media (min-width: 992px) {
    .fixedsidebar {
        top: 0px;
        position: fixed;
        z-index: 1050;
        left: 0;
        overflow-y: overlay;
        width: 260px;
        height: 100%;
        padding: 0 .5rem .5rem 1.5rem;
        border-right: 1px solid #e9ecef;
        background-color: #fff;
        padding-bottom: 50px;
    }
    .content-withfixedsidebar {
        margin-left: 260px;
    }
    .content-withfixedsidebar .navbar.fixed-top {
        margin-left: 260px;
    }
}

a.a2a_i,
i.a2a_i,
.a2a_menu a.a2a_i:visited,
.a2a_menu a.a2a_more {
    font-size: 13px !important;
    color: #999 !important;
}

div.a2a_full_footer {
    display: none;
}

@media (min-width: 1920px) {
    html {
        font-size: 17px;
    }
    .container,
    .container-lg {
        width: 1280px;
        max-width: 1280px;
    }
    h6,
    .h6 {
        font-size: 1.1rem;
    }
    article {
        font-size: 1.24rem;
    }
    .topfirstimage {
        height: 280px !important;
    }
}
/* Override Bootstrap click/active states */
.btn:focus,
.btn:active,
.btn-primary:focus,
.btn-primary:active,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary:not(:disabled):not(.disabled):active {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: #fff !important;
    box-shadow: none !important;
}
