a:hover {
    text-decoration: underline;
}

/* Parish typography — Lora (Cewice reference); overrides out.css Open Sans / Raleway */
body, h1, h2, h3, h4, h5, h6, .menu,
section.content-section .content-panel,
section.content-section .content-panel p,
section.content-section .content-panel li,
section.content-section .content-panel td,
section.content-section .content-panel th {
    font-family: 'Lora', "Helvetica Neue", Georgia, serif;
}

.h-line {
    background: url('/files/userfiles/bg/h2.png') no-repeat center bottom;
    padding-bottom: 38px;
}


.ma-date-and-formats .ma-date-box, .btn, #back-top, #back-top a, .booklet__title-hld, .image-tile {
    border-radius: 5px !important;
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    -ms-border-radius: 5px !important;
    -o-border-radius: 5px !important;
}
#back-top a {
    cursor: pointer !important;
}
.ma-date-and-formats .ma-date-box {
    width: 82px;
}
.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.logoand3cols .second-logo-footer {
    max-height: 160px;
}

footer.logoand3cols.footer-2.bg-primary {
    background-color: rgba(77, 66, 53, 0.9) !important;
}

.nav_li_hover_elementcolor:hover > a {
    color: #fff !important;
}

/* CenteredLogo_2 submenu — light panel (Cewice style) */
.menu > li > ul,
.menu > li ul.nav_ul_elementcolor,
.nav_ul_elementcolor {
    background: #f5f0eb !important;
}

.menu > li > ul li a,
.nav_dropdown_a_elementcolor {
    color: #4D4235 !important;
}

.menu > li > ul li.has-dropdown:after,
.menu ul > li ul > .has-dropdown:after {
    color: #4D4235 !important;
}

.nav_li_hover_elementcolor:hover {
    background: rgba(77, 66, 53, 1) !important;
}

.nav_dropdown_a_elementcolor:hover {
    color: #fff !important;
}

.menu > li > ul li a {
    font-size: 16px;
    text-transform: initial;
}

.btn {
    border-width: 1px;
}
.btn:hover {
    background: #5e5548;
    border-color: #5e5548;
}
.news-title {
    font-size: 24px;
    color: #726658;
}
.news-title:hover {
    color: #4D4235;
    text-decoration: underline;
}
.news-container a,
.news-container a:visited {
    color: #726658;
    text-decoration: none;
}
.news-container a:hover,
.news-container a:focus {
    color: #4D4235;
    text-decoration: underline;
}


.booklet__title-hld {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    bottom: 10px;
    left: 5%;
    z-index: 2;
    width: 91%;
    border-radius: 0 0 2px 2px;
    background-color: #fff;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .15);
    opacity: 1;
}
.booklet__title-hld:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 43px rgba(0, 0, 0, 0.15);
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
}
.booklet__title {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 75px;
    padding-right: 10px;
    padding-left: 10px;
    text-align: center;
    line-height: 1.1em;
}
.booklet__title span {
    position: relative;
    font-size: 16px;
    font-weight: 400;
    transition: color .3s linear;
    -webkit-transition: color .3s linear;
    -moz-transition: color .3s linear;
    -ms-transition: color .3s linear;
    -o-transition: color .3s linear;
}
.mh120 {
    min-height: 120px;
}


label {
    font-weight: normal;
}
[type="checkbox"]:not(:checked),[type="checkbox"]:checked {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

[type="checkbox"]+span:not(.lever) {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    line-height: 20px;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

[type="checkbox"]+span:not(.lever):before,[type="checkbox"]:not(.filled-in)+span:not(.lever):after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    z-index: 0;
    border: 2px solid #5a5a5a;
    border-radius: 1px;
    margin-top: 3px;
    -webkit-transition: .2s;
    transition: .2s
}

[type="checkbox"]:not(.filled-in)+span:not(.lever):after {
    border: 0;
    -webkit-transform: scale(0);
    transform: scale(0)
}

[type="checkbox"]:not(:checked):disabled+span:not(.lever):before {
    border: none;
    background-color: rgba(0,0,0,0.42)
}

[type="checkbox"].tabbed:focus+span:not(.lever):after {
    -webkit-transform: scale(1);
    transform: scale(1);
    border: 0;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 10px rgba(0,0,0,0.1);
    box-shadow: 0 0 0 10px rgba(0,0,0,0.1);
    background-color: rgba(0,0,0,0.1)
}

[type="checkbox"]:checked+span:not(.lever):before {
    top: -4px;
    left: -5px;
    width: 12px;
    height: 22px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #ba9269;
    border-bottom: 2px solid #ba9269;
    -webkit-transform: rotate(40deg);
    transform: rotate(40deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%
}

[type="checkbox"]:checked:disabled+span:before {
    border-right: 2px solid rgba(0,0,0,0.42);
    border-bottom: 2px solid rgba(0,0,0,0.42)
}

[type="checkbox"]:indeterminate+span:not(.lever):before {
    top: -11px;
    left: -12px;
    width: 10px;
    height: 22px;
    border-top: none;
    border-left: none;
    border-right: 2px solid #ba9269;
    border-bottom: none;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%
}

[type="checkbox"]:indeterminate:disabled+span:not(.lever):before {
    border-right: 2px solid rgba(0,0,0,0.42);
    background-color: transparent
}

[type="checkbox"].filled-in+span:not(.lever):after {
    border-radius: 2px
}

[type="checkbox"].filled-in+span:not(.lever):before,[type="checkbox"].filled-in+span:not(.lever):after {
    content: '';
    left: 0;
    position: absolute;
    -webkit-transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
    transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
    z-index: 1
}

[type="checkbox"].filled-in:not(:checked)+span:not(.lever):before {
    width: 0;
    height: 0;
    border: 3px solid transparent;
    left: 6px;
    top: 10px;
    -webkit-transform: rotateZ(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%
}

[type="checkbox"].filled-in:not(:checked)+span:not(.lever):after {
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 2px solid #5a5a5a;
    top: 0px;
    z-index: 0
}

[type="checkbox"].filled-in:checked+span:not(.lever):before {
    top: 0;
    left: 1px;
    width: 8px;
    height: 13px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    -webkit-transform: rotateZ(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%
}

[type="checkbox"].filled-in:checked+span:not(.lever):after {
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ba9269;
    background-color: #ba9269;
    z-index: 0
}

[type="checkbox"].filled-in.tabbed:focus+span:not(.lever):after {
    border-radius: 2px;
    border-color: #5a5a5a;
    background-color: rgba(0,0,0,0.1)
}

[type="checkbox"].filled-in.tabbed:checked:focus+span:not(.lever):after {
    border-radius: 2px;
    background-color: #ba9269;
    border-color: #ba9269
}

[type="checkbox"].filled-in:disabled:not(:checked)+span:not(.lever):before {
    background-color: transparent;
    border: 2px solid transparent
}

[type="checkbox"].filled-in:disabled:not(:checked)+span:not(.lever):after {
    border-color: transparent;
    background-color: #949494
}

[type="checkbox"].filled-in:disabled:checked+span:not(.lever):before {
    background-color: transparent
}

[type="checkbox"].filled-in:disabled:checked+span:not(.lever):after {
    background-color: #949494;
    border-color: #949494
}



.controls-inside .flex-control-nav {
    bottom: 46px;
}
/* MENU */

body p, body li {
    font-size: 17px;
    font-weight: 400;
    color: #45423F;
}

body, body.boxed-layout {
    background-color: #f0f0f0;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
}

body.boxed-layout .main-container {
    background: rgba(253,250,245,0.85);
}

.color-primary {
    color: #726658 !important;
}

.btn-white {
    color: #fff;
    border-color: #3c3b39;
    background-color: #6D5133;
}

.image-bg .btn, .image-bg .btn:visited {
    border-color: #3c3b39;
    background-color: #726658;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.overlay.cta-4:before {
    opacity: 0.5;
}

.overlay:before {
    opacity: 0.1;
}

a {
    font-weight: 500;
}

b,
strong {
    font-weight: 600;
}

.logoand3cols .footer-title {
    font-weight: 500;
}

.menu>li ul {
    padding: 8px 0 0;
}

.menu li a {
    opacity: 1;
}

.menu ul>li ul>.has-dropdown:after {
    color: #fff;
    top: 5px;
    right: 24px;
    content: "\e649";
}

.menu ul li:hover>ul {
    opacity: 1;
    transform: translate3d(0, 0px, 0);
    -webkit-transform: translate3d(0, 0px, 0);
    -moz-transform: translate3d(0, 0px, 0);
    visibility: visible;
}

.menu ul li>ul {
    left: 100%;
    top: 0;
}

.menu ul li {
    position: relative;
    line-height: 24px;
    width: 100%;
    vertical-align: top;
}

.nav-utility {
    background-color: #6d5133;
    border-bottom: none;
}

.flex-prev:hover,
.flex-next:hover {
    background-color: rgba(69, 66, 63, 0.8);
}

.cover .align-bottom {
    bottom: 32px;
}

.module {
    padding: 0 15px;
}

/* NEWS */


.news-date {
    font-size: 11px;
    font-style: italic;
}

.column-count-2 {
    column-gap: 30px;
}

.text-tabs .tab-title span {
    font-size: 18px;
}

.text-tabs .tabs {
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
    overflow: visible;
}

.text-tabs .active .tab-title {
    opacity: 1;
    color: #ba9269;
}

.checkbox-option, .radio-option {
    border: 1px solid #ba9269;
}

.checkbox-option .inner {
    float: left;
}

.checkbox-option .inner, .radio-option .inner {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: rgba(0,0,0,0);
    border: 1px solid #ba9269;
    position: relative;
    top: 2px;
    left: 2px;
    display: inline-block;
    transition: all .2s ease;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
}

.text-tabs .tab-title:after {
    height: 1px;
    background: #ba9269;
}

.pull-left p {
    font-size: 12px;
    font-style: italic;
    line-height: 15px;
}

.text-tabs .tab-title span {
    font-family: 'Lora',"Helvetica Neue", Helvetica, Arial, sans-serif;
}

input, button, select, textarea {
    font-family: 'Lora',"Helvetica Neue", Helvetica, Arial, sans-serif;
}

.btn {
    font-family: 'Lora',"Helvetica Neue", Helvetica, Arial, sans-serif;   
}

.breadcrumb-2 li a, .breadcrumb-2 li {
    font-family: 'Lora',"Helvetica Neue", Helvetica, Arial, sans-serif;
}

input[type="submit"], button[type="submit"] {
    border: 2px solid #ba9269;
    background: #ba9269;
}

#back-top {
    background-color: #4d4235 !important;
}

#back-top:hover {
    background-color: #5e5548 !important;
}

.container div:not(.masonry-item) > .image-tile {
    background: #fff;
    box-shadow: 0 0 10px 0 rgba(10, 10, 10, .2);
    transition: .25s;
}

.container div:not(.masonry-item) > .image-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 43px rgba(0, 0, 0, 0.15);
}

.outer-title img {
    margin-bottom: 0;
}

.image-tile h5 {
    padding: 15px 0;
}

.breadcrumb-2 > li + li:before {
    color: #fff;
}

.breadcrumb > li + li:before {
    color: #fff;
}

#back-top {
    background-color: #4d4235 !important;
}

.fixed .layer-logo {
    top: 0px !important;
    height: 140px !important;
}

.image-bg .feature.boxed {
    background: rgba(43, 43, 43, 0.75);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.breadcrumb-2 li {
    text-shadow: #000000 1px 2px 4px;
}

.page-title-4,
.page-title-3 {
    height: 140px;
    min-height: 140px;
    max-height: 140px;
    overflow: hidden;
    position: relative;
}

.page-title-4 .background-image-holder,
.page-title-3 .background-image-holder {
    background-size: cover !important;
    background-position: center center !important;
}

.page-title-4.overlay:before,
.page-title-3.overlay:before {
    opacity: 0.3;
}

.page-title-4 h3,
.page-title-3 h3 {
    text-shadow: #000000 1px 2px 4px;
}

.pull-left a {
    color: #ba9268;
}

.slider-text-wrapper {
    background: rgba(82, 71, 59, 0.5);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.sub {
    padding-right: 15px;
}

input[type="text"]:not(.signup-email-field), input[type="password"], textarea {
    background: #ffffff;
    border: 1px solid #ccc;
}

.image-bg .fade-half {
    opacity: 1;
    text-shadow: #000000 1px 2px 4px;
}

.checkbox-option.checked .inner {
    background: #ba9268;
}

#back-top a {
    z-index: 9999;
}

.halves input, .halves button {
    border-radius: 5px !important;
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    -ms-border-radius: 5px !important;
    -o-border-radius: 5px !important;
}

.form-email input, .form-email button, .form-email textarea {
    border-radius: 5px !important;
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    -ms-border-radius: 5px !important;
    -o-border-radius: 5px !important;
}

/* cookie banner — style w cc-consent.css (gdpr-consent.tpl, top.tpl) */


@media (min-width: 1300px) {
    .menu li a {
        font-size: 18px;
    }
}

@media (min-width: 991px) and (max-width: 1299px) {
    .menu li a {
        font-size: 14px;
        letter-spacing: -0.02em;
    }
}

@media (min-width: 991px) {
    .centeredlogo_2 .layer-logo {
        height: 165px;
        top: -29px;
    }
    .centeredlogo_2 .featured-text {
        float: left;
        padding: 0;
    }
    
    .centeredlogo_2 .featured-text:last-child {
        float: right;
    }
    
    .centeredlogo_2.featured-info {
        padding: 0 5rem !important;
    }
}

@media all and (max-width: 990px) {
    .module.widget-handle {
        border-top: none !important;
        border-bottom: 1px solid #ccc !important;
        line-height: inherit;
    }
    .fixlanguage {
        float: left;
        width: 100%;
    }
    .centeredlogo_2 .layer-logo {
        height: 55px;
        padding-top: 0px;
    }
    .logo-wrapper {
        text-align: left;
    }
    .nav_elementcolor .nav-bar .logo-wrapper {
        position: absolute;
        width: 90vw;
    }

    .nav_elementcolor .menu {
        padding-top: 60px;
    }

    .nav_elementcolor .nav-bar .logo-wrapper .layer-logo {
        height: 100px;
        padding-top: 0px;
        position: relative;
        z-index: 9999;
        top: -15px;
    }

    .nav_elementcolor .nav-bar.nav-open .logo-wrapper, .nav_elementcolor.fixed .logo-wrapper  {
        position: relative;
        width: 100%;
    }

    .nav_elementcolor .nav-bar.nav-open .layer-logo {
        height: 75px;
        top: 0;
    }

    .nav_elementcolor .nav-bar.nav-open .menu, .nav_elementcolor.fixed .menu {
        padding-top: 23px;
    }

    .nav_elementcolor.fixed .layer-logo {
        height: 55px !important;
        top: 0 !important;
    }

    .mobile-toggle {
        z-index: 9999999;
    }
}

@media all and (max-width: 767px) {
    .image-slider.height-70 .slides li {
        padding: 15px 0 0 0;
    }
    .image-slider.height-70 .slides li.overlay:before {
        opacity: 0;
    }
    .image-slider .btn {
        display: none;
    }
    .image-slider.height-70 .v-align-transform {
        top: 25%;
    }
    .page-title-4 .breadcrumb,
    .page-title-3 .breadcrumb {
        margin-top: 0;
    }

    /* Hero/breadcrumbs — mobile: flex centering + clearance for overlapping logo (CenteredLogo_2) */
    .page-title.page-title-4,
    .page-title.page-title-3 {
        height: 140px !important;
        min-height: 140px !important;
        max-height: 140px !important;
        overflow: hidden;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        box-sizing: border-box;
        /* logo 100px / top -15px bleeds ~30px below 55px nav-bar */
        padding-top: calc(40px + env(safe-area-inset-top, 0px));
    }

    .page-title.page-title-4.parallax > .background-image-holder,
    .page-title.page-title-3.parallax > .background-image-holder,
    .page-title.page-title-4 .background-image-holder,
    .page-title.page-title-3 .background-image-holder {
        height: 100% !important;
        top: 0 !important;
        transform: none !important;
        -webkit-transform: none !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    .page-title.page-title-4 .container,
    .page-title.page-title-3 .container,
    .page-title.page-title-4 .container-fluid,
    .page-title.page-title-3 .container-fluid {
        position: relative;
        top: auto;
        transform: none;
        -webkit-transform: none;
        padding-top: 0;
        padding-bottom: 0;
        width: 100%;
        z-index: 2;
    }

    .page-title.page-title-4 h3,
    .page-title.page-title-3 h3 {
        font-size: 17px;
        line-height: 1.2;
        margin-bottom: 2px;
    }

    .page-title.page-title-4 .breadcrumb-2,
    .page-title.page-title-3 .breadcrumb-2 {
        font-size: 11px;
        line-height: 1.25;
        margin-bottom: 0;
    }

    .page-title.page-title-4.overlay:before,
    .page-title.page-title-3.overlay:before {
        opacity: 0.45;
    }

    .text-tabs .tabs {
        padding-bottom: 0;
    }
    body, body.boxed-layout {
        background-image: url(/files/bg-mobile.jpg);
    }
}

/* Home hero slider — Parafia Przysiersk (slot 187971 / slide 187972) */
.custom-187971 .slides > li.overlay.image-bg:before {
    background: linear-gradient(
        180deg,
        rgba(77, 66, 53, 0.72) 0%,
        rgba(77, 66, 53, 0.35) 42%,
        rgba(0, 0, 0, 0.45) 100%
    );
    opacity: 1;
}

.custom-187971 .header-187971.slider-text-wrapper,
.custom-187971 #header-187972 {
    background: transparent;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    padding: 0;
    margin-bottom: 0.5em;
}

.custom-187971 .header-187971,
.custom-187971 #header-187972 {
    font-size: clamp(1.35rem, 1.2rem + 1.8vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.14em;
    color: #fff;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.85),
        0 4px 24px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(77, 66, 53, 0.45);
}

.custom-187971 .header2-187971,
.custom-187971 #header2-187972 {
    display: block;
    margin-top: 0.35em;
    font-size: clamp(1rem, 0.85rem + 1vw, 1.65rem);
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #d4b896;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 16px rgba(0, 0, 0, 0.5);
}

.custom-187971 #custom-187972 {
    width: 100%;
    padding: 0 1.5rem;
}

.custom-187971 .btn.btn-lg {
    margin-top: 1.25rem;
    border: 2px solid rgba(212, 184, 150, 0.85);
    background: rgba(77, 66, 53, 0.55);
    color: #fff;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.custom-187971 .btn.btn-lg:hover {
    background: rgba(77, 66, 53, 0.85);
    border-color: #d4b896;
    color: #fff;
}

@media (min-width: 992px) {
    .custom-187971 .v-align-transform {
        top: 52%;
    }
}

@media (max-width: 767px) {
    .custom-187971 .slides > li.overlay.image-bg:before {
        background: linear-gradient(
            180deg,
            rgba(77, 66, 53, 0.78) 0%,
            rgba(0, 0, 0, 0.55) 100%
        );
        opacity: 1;
    }

    .custom-187971 .header-187971,
    .custom-187971 #header-187972 {
        letter-spacing: 0.1em;
        font-size: clamp(1.1rem, 4.5vw, 1.5rem);
    }

    .custom-187971 .header2-187971,
    .custom-187971 #header2-187972 {
        letter-spacing: 0.14em;
        font-size: clamp(0.85rem, 3.2vw, 1.1rem);
    }

    .custom-187971 .v-align-transform {
        top: 38%;
    }
}

/* Subpages — semi-transparent panel on container (body bg visible on sides) */
section.content-section {
    background: transparent;
    padding: 45px 0 20px;
}

section.content-section > .container.content-panel,
section.content-section > .container-fluid.content-panel {
    background: rgba(253, 250, 245, 0.6);
    padding-top: 48px;
    padding-bottom: 48px;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(77, 66, 53, 0.08);
}

/* Home composite — no panel box styling; vertical padding stays on .content-panel */
body.layout-home section.content-section {
    background: transparent;
    padding: 0 !important;
}

body.layout-home section.content-section > .container.content-panel,
body.layout-home section.content-section > .container-fluid.content-panel {
    background: transparent;
    padding-top: 48px;
    padding-bottom: 48px;
    border-radius: 0;
    box-shadow: none;
}

/* Content tables — readable body text (override CMS inline font-size) */
section.content-section > .container.content-panel table.table,
section.content-section > .container-fluid.content-panel table.table {
    font-size: 16px;
}

section.content-section > .container.content-panel table.table td,
section.content-section > .container.content-panel table.table th,
section.content-section > .container.content-panel table.table caption,
section.content-section > .container-fluid.content-panel table.table td,
section.content-section > .container-fluid.content-panel table.table th,
section.content-section > .container-fluid.content-panel table.table caption {
    font-size: 16px;
    line-height: 24px;
}

/* Content area links — parish brown (override theme green #47b475) */
section.content-section > .container.content-panel a,
section.content-section > .container-fluid.content-panel a,
section.content-section > .container.content-panel a:visited,
section.content-section > .container-fluid.content-panel a:visited {
    color: #726658;
}

section.content-section > .container.content-panel a:hover,
section.content-section > .container-fluid.content-panel a:hover,
section.content-section > .container.content-panel a:focus,
section.content-section > .container-fluid.content-panel a:focus {
    color: #4D4235;
    text-decoration: underline;
}

section.content-section > .container.content-panel .image-tile a,
section.content-section > .container-fluid.content-panel .image-tile a,
section.content-section > .container.content-panel .image-tile a:hover,
section.content-section > .container-fluid.content-panel .image-tile a:hover {
    color: inherit;
    text-decoration: none;
}

/* Image-tile subpage cards — always-visible title bar (parish brown) */
.container .image-tile.inner-title.hover-reveal:before {
    display: none;
}

.container .image-tile.inner-title.hover-reveal > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.container .image-tile.inner-title.hover-reveal img {
    flex: 0 0 auto;
    width: 100%;
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
}

.container .image-tile.inner-title.hover-reveal .title {
    position: static;
    opacity: 1;
    transform: none;
    -webkit-transform: none;
    width: 100%;
    margin: 0;
    padding: 0 16px;
    background-color: #4D4235;
    border-top: 2px solid #ba9269;
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
}

.container .image-tile.inner-title.hover-reveal .title p,
.container .image-tile.inner-title.hover-reveal .title span,
.container .image-tile.inner-title.hover-reveal .title h1,
.container .image-tile.inner-title.hover-reveal .title h2,
.container .image-tile.inner-title.hover-reveal .title h3,
.container .image-tile.inner-title.hover-reveal .title h4,
.container .image-tile.inner-title.hover-reveal .title h5,
.container .image-tile.inner-title.hover-reveal .title h6 {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    margin: 0;
    padding: 0;
    min-height: 0;
}

.container .image-tile.inner-title.hover-reveal:hover {
    opacity: 1;
}

.container .image-tile.inner-title.hover-reveal:hover .title {
    opacity: 1;
    transform: none;
    -webkit-transform: none;
}

.container .image-tile.inner-title.hover-reveal:hover img {
    transform: scale(1.03);
    -webkit-transform: scale(1.03);
}