/* general styles */

:root { --blue: #005a84; --green: #44983c; --blue-light: #498fcc; }

a:link, a:visited {color: var(--blue-light);}
a:hover, a:active {color: var(--blue-light);}
h1, h2, h3, h4, h5, h6 {
    font-size: 2rem;
    color: var(--green);
    margin-bottom: 1.25rem !important;
}
.wrapper-countryside  {/*can be used for global template overrides */}
/* header */
.site-header { border-bottom: 52px solid #e6863e; padding-top: 1rem; padding-bottom: 1rem; }
.site-header__btn {color: #fff !important; text-decoration: none !important;}
.site-header .l-content-container { margin-left: auto; margin-right: auto; max-width: 1140px; width: 90%; }
.site-header .flex { display: flex; }
.site-header .flex-col { flex-direction: column; }
.site-header .items-center { align-items: center; }
.site-header .justify-between { justify-content: space-between; }
.site-header .text-right { text-align: right; }

.site-header__actions {display: flex; gap: 10px;}
.site-header__phone { color: var(--blue); font-size: 2rem; font-weight: 700; text-decoration: none !important; color: var(--blue) !important;}
.site-header__phone .fa { font-size: 1.8rem; }
.site-header__routing { font-size: 1.2rem; }
.site-header .mb-14 { margin-bottom: 3.5rem; }

.site-header__btn { border-radius: 0; display: inline-block; text-align: center; transition: background-color .3s; vertical-align: middle; color: #fff; font-size: .9rem; font-weight: 700; line-height: 1.15; padding: 15px; text-decoration: inherit; text-wrap: nowrap;}
.site-header__btn.-green { background-color: var(--green); }
.site-header__btn.-blue-light { background-color: var(--blue-light); }

@media (min-width: 768px) {
	.site-header .md\:flex-row { flex-direction: row; }
}


/* footer */
.site-footer { background: #498fcc; background-repeat: repeat; color: #fff; font-size: 1rem; line-height: 1.8; }
.site-footer__main { padding: 36px 0 48px; }
.site-footer .l-content-container { margin-left: auto; margin-right: auto; max-width: 1440px; width: 100%; padding-left: 24px; padding-right: 24px; }

.site-footer .block { display: block; }
.site-footer .flex { display: flex; }
.site-footer .flex-col { flex-direction: column; }
.site-footer .justify-between { justify-content: space-between; }

.site-footer .mb-8 { margin-bottom: 32px; }
.site-footer .mb-10 { margin-bottom: 40px; }
.site-footer .mb-12 { margin-bottom: 48px; }

.site-footer__phone { font-size: 20px; line-height: 1.4; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer ul { list-style: none; padding: 0; }

@media (min-width: 768px) {
    .site-footer .md\:mb-0 { margin-bottom: 0; }
    .site-footer .md\:flex-row { flex-direction: row; }
}


/* carousel */
.countryside-swiper { position: relative; width: 100%; height: 480px; overflow: hidden; }
.countryside-swiper .swiper-wrapper { display: flex; width: 100%; height: 100%; }
.countryside-swiper .swiper-slide { position: relative; width: 100%; height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: flex-start; }

.countryside-swiper .slide-media, .countryside-swiper .slide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: 1; }

.countryside-swiper .slide-content { position: relative; z-index: 2; width: 100%; max-width: 580px; margin-left: max(24px, calc((100% - 1440px) / 2 + 24px)); padding-left: 16px; padding-right: 16px; text-align: left; text-wrap: pretty; }
.countryside-swiper .slide-content > * { text-align: left; margin-inline: 0 auto; }

.countryside-swiper .swiper-pagination-bullet { background: #e6863e !important; opacity: 1; width: 10px; height: 10px; margin: 0 5px; border: none; outline: none; box-shadow: none; }
.countryside-swiper .swiper-pagination-bullet-active { background: #44983c !important; opacity: 1; }

@media (max-width: 768px) {
    .countryside-swiper { height: auto; min-height: auto; aspect-ratio: auto; padding-bottom: 40px; }
    .countryside-swiper .swiper-slide { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; height: auto; }
    .countryside-swiper .slide-media, .countryside-swiper .slide-media img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
    .countryside-swiper .slide-content { max-width: 100%; margin-left: 0; padding: 24px 20px 24px 0; box-sizing: border-box; }
    .countryside-swiper .swiper-pagination { bottom: 8px !important; }
}
/* static alerts */
.cs-bg-orange {background-color: #e6863e; color: #fff !important;}
.cs-bg-blue {background-color: #005a84; color: #fff !important;}
.cs-bg-light-blue {background-color: #498fcc; color: #fff !important;}
.cs-bg-green {background-color: #44983c; color: #fff !important;}
.cs-site-message {font-size: .85rem; line-height: 1.2; text-wrap: balance; padding: 7px 10px 3px 10px;}
