/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

/**
 * General design
 */

:root {
	--main-color: #5d9027;
	--light-green: #99AE6D;
	--accent-color: #b72927;
}

.otgs-development-site-front-end {
	display: none;
}

.grecaptcha-badge {
	visibility: hidden;
}

a {
	text-decoration: none;
}

a:hover {
	color: #b72927;
}

.vk-btn-border button,
.vk-btn-border .btn-modal {
	border: 1px solid #b7caa6 !important;
}

#main > .wf-wrap {
	padding: 32px 20px;
	background-color: #fff !important;
}

header.header-bar,
.mobile-header-bar {
	background-color: #fff !important;
	border-bottom: 1px solid var(--main-color) !important;
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.07);
}

header .branding img,
.masthead.sticky-on header .branding img {
	width: auto;
	height: 80px;
	max-height: 80px;
	transition: all 1s ease;
    -moz-transition: all 1s ease;
    -webkit-transition: all 1s ease;
    -o-transition: all 1s ease;
}

.mobile-header-bar .mobile-branding img,
.masthead.sticky-mobile-on .mobile-header-bar .mobile-branding img {
	width: auto;
	height: 60px;
	max-height: 60px;
}

header #primary-menu ul.sub-nav > li {
	border-bottom: 1px solid var(--main-color) !important;
}

#page > .page-title h1 {
	color: rgba(255,255,255,0.8) !important;
}

#page > .page-title a {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translate(0, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-family: var(--the7-widget-title-font-family);
    font-size: 14px;
    font-weight: 700;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, .8);
}

#page > .page-title a img {
    width: 120px;
    transition: all 0.3s ease;
}

#page > .page-title a:hover {
    text-decoration: none;
}

/**
 * Page title YouTube video modal
 */

html.vk-video-modal-open,
html.vk-video-modal-open body {
    overflow: hidden;
}

/* Hidden state */
.vk-video-modal[hidden] {
    display: none !important;
}

/* Full-screen modal */
.vk-video-modal {
    position: fixed;
    inset: 0;
    z-index: 100001;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

/* Dark background */
.vk-video-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .85);
}

/* Video container */
.vk-video-modal-dialog {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 1100px;

    background: #000;

    box-shadow: 0 20px 70px rgba(0, 0, 0, .4);
}

/* Responsive 16:9 video */
.vk-video-modal-player {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    background: #000;
}

.vk-video-modal-player iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}

/* Close button */
.vk-video-modal-close {
    position: absolute;
    top: -46px;
    right: 0;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    padding: 0;
    border: 0;
    border-radius: 50%;

    color: #fff;
    background: rgba(255, 255, 255, .18);

    font-size: 30px;
    line-height: 1;

    cursor: pointer;

    transition: background .2s ease;
}

.vk-video-modal-close:hover {
    background: var(--accent-color, #b72927);
}

.vk-video-modal-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

#page > .page-title.solid-bg.bg-img-enabled {
	position: relative;
	overflow: hidden;
}

#page > .page-title.solid-bg.bg-img-enabled .vk-page-title-bg {
	position: absolute;
	inset: 0;
	z-index: 0;

	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;

	opacity: 0;
	transition: opacity 1.5s ease-in-out;

	pointer-events: none;
	will-change: opacity;
}

#page > .page-title.solid-bg.bg-img-enabled .vk-page-title-bg.is-visible {
	opacity: 1;
}

#page > .page-title.solid-bg.bg-img-enabled > .wf-wrap {
	position: relative;
	z-index: 2;
}

#content {
	min-height: 300px;
}

aside#sidebar {
	border-left-width: 3px;
	border-left-style: dashed;
}

/* Single post design */
body.wp-singular.single #content > article .post-thumbnail {
	margin-bottom: 30px;
}

body.wp-singular.single nav.navigation .meta-nav {
	font-size: 12px;
}

body.wp-singular.single nav.navigation .post-title.h4-size {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
}

/**
 * FIX Ultimate content box hover
 */
.ult-content-box-container > .ult-content-box,
.ult-content-box-container > .ult-content-box-anchor > .ult-content-box {
	border-style: none;
}

/**
 * Footer quick links design
 */
#vk-footer-qlinks {
	margin: 10px auto;
	width: 1360px;
	max-width: 100%;
	background-color: #fff;
}

#vk-quick-links {
	margin: 0 !important;
	padding: 10px !important;
}

#vk-quick-links > .wpb_column > .vc_column-inner {
	padding: 0 !important;
}

#vk-quick-links > .wpb_column > .vc_column-inner > .wpb_wrapper,
#vk-quick-links .ult-content-box-container,
#vk-quick-links .ult-content-box-anchor {
	display: flex;
	flex-direction: column;
	height: 100%;
}

#vk-quick-links .ult-content-box {
	height: 100%;
}

#vk-quick-links .ult-content-box:hover {
	background-color: rgba(93,144,39,0.1);
}

#vk-quick-links .ult-content-box img {
	width: 1em !important;
	max-width: 100% !important;
}

#vk-quick-links .ult-content-box .uvc-main-heading h3 {
	margin-bottom: 10px !important;
}

#vk-quick-links .ult-content-box .uvc-sub-heading {
	line-height: 1.4em !important;
}

/**
 * Footer images design
 */
#vk-footer-images {
	margin: 10px auto 25px;
	padding: 20px;
	background-color: var(--light-green);
}

#vk-footer-pics-title {
	margin: 0 auto 12px;
	width: 1360px;
	max-width: 100%;
}

#vk-footer-pics-title .dt-text-title {
	margin-left: 6px;
	font-size: 16px !important;
	line-height: 1.2;
	font-weight: 700;
}

#vk-footer-pics-title .dt-btn-link {
	font: var(--the7-h4-font);
	font-size: 16px !important;
	line-height: 1.2;
	font-weight: 700;
}

#vk-footer-pics {
	gap: 24px;
	margin: 0 auto;
	padding: 24px;
	width: 1360px;
	max-width: 100%;
	background-color: rgba(52, 53, 48, 0.3);
}

#vk-footer-pics > .vc_column_container > .vc_column-inner {
	padding: 0 !important;
}

#vk-footer-pics .wpb_single_image a {
	position: relative;
}

#vk-footer-pics .wpb_single_image a:before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(52, 53, 48, 0.3);
	opacity: 1;
	transition: all .5s ease;
}

#vk-footer-pics .wpb_single_image a:hover:before {
    opacity: 0;
}

@media (width: 992px) {
	aside#sidebar {
		margin-top: 0 !important;
		border-color: var(--the7-divider-color) !important;
	}
}

@media (max-width: 991px) {

	aside#sidebar {
		border-width: 0 !important;
	}

	aside#sidebar .sidebar-content > section#text-3:first-of-type {
		display: none !important;
	}

	#vk-footer-pics {
		gap: 20px;
	}

}

@media (min-width: 779px) {

	#vk-footer-pics > .vc_column_container {
		flex: 1 1 calc(33.33% - 24px);
	}

}

@media (max-width: 778px) {

	#page > .page-title a img {
		width: 80px;
	}

    .vk-video-modal {
        padding: 12px;
    }

    .vk-video-modal-dialog {
        max-width: 100%;
    }

    .vk-video-modal-close {
        top: -44px;
        right: 0;
    }

	#vk-quick-links .ult-content-box {
		padding: 4px !important;
	}

	#vk-quick-links .ult-content-box .uvc-heading h3 {
		font-size: 16px;
	}

	#vk-quick-links .ult-content-box .uvc-heading .uvc-sub-heading {
		font-size: 12px;
	}

}

@media (max-width: 480px) {

	#page > .page-title > .wf-wrap {
		justify-content: flex-start;
	}

	#page > .page-title a {
		top: 100px;
		transform: none;
	}

	#page > .page-title a img {
		width: 60px;
	}

	#vk-footer-pics-title .dt-btn-link {
		font-size: 14px !important;
	}

}

/**
 * Footer design
 */

#footer .wf-container section:nth-child(2) {
	text-align: center;
}

#footer .footer-logos {
	list-style: none;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
}
#footer .footer-logos img {
	width: 100% !important;
	max-width: 140px !important;
	max-height: 140px !important;
}

#footer .wf-container section:nth-child(3) {
	text-align: center;
}

@media only screen and (max-width:778px) {

	#footer .wf-container {
		display: flex;
		flex-direction: column;
	}

	#footer .wf-container section {
		text-align: center !important;
	}

	#footer .wf-container section:not(:nth-of-type(2)) {
		order: 2;
	}

}

/**
 * Sidebar menu design
 */

.sidebar-menu {
    width: 100%;
}

/* Section heading */
.sidebar-menu-heading {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
	text-align: center;
	background-color: var(--main-color);
}

.sidebar-menu-heading a {
    color: #fff !important;
    text-decoration: none;
}

/* All menu levels */
.sidebar-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* First visible level */
.sidebar-menu > .sidebar-menu-level > li {
    border-bottom: 1px solid var(--main-color);
}

.sidebar-menu a {
    display: block;
    padding: 10px 12px;
    color: inherit;
    text-decoration: none;
}

/* Deeper levels */
.sidebar-menu .sidebar-menu-level .sidebar-menu-level {
    padding-left: 18px;
}

.sidebar-menu .sidebar-menu-level .sidebar-menu-level a {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Active ancestors */
.sidebar-menu .current-menu-ancestor > a,
.sidebar-menu .current-menu-parent > a {
    font-weight: 600;
}

/* Current page */
.sidebar-menu .current-menu-item > a {
	color: var(--main-color) !important;
}

.sidebar-menu .current-menu-item > a:hover {
	color: var(--accent-color) !important;
}

/**
 * Event calendar design
 */

/* ========================================
 * Shared event colours
 * ======================================== */

.vk-calendar,
.vk-events {
	--vk-calendar-border: rgba(93, 144, 39, 0.22);
	--vk-calendar-light: rgba(93, 144, 39, .12);
	--vk-calendar-muted: #777;
	--vk-event-color: var(--light-green);
}

/* ========================================
 * Month calendar
 * ======================================== */

.vk-calendar {
	width: 100%;
	margin: 0 0 30px;
}

/* Calendar header */

.vk-calendar-header {
	display: grid;
	grid-template-columns: minmax(70px, auto) minmax(0, 1fr) minmax(70px, auto);
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
}

.vk-calendar-heading {
	display: flex;
	align-items: baseline;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px 10px;
	min-width: 0;
}

.vk-calendar-title {
	margin: 0 !important;
	text-align: center;
	font-size: 18px;
	line-height: 1.6;
	text-transform: capitalize;
}

.vk-calendar-nav-group {
	display: flex;
	align-items: center;
	gap: 3px;
}

.vk-calendar-nav-group .vk-calendar-nav {
	width: 34px;
	flex: 0 0 34px;
}

.vk-calendar-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 30px;
	color: var(--main-color) !important;
	font-size: 22px;
	line-height: 1.25;
	font-weight: 700;
	text-decoration: none !important;
	transition:
		color .2s ease,
		background-color .2s ease;
}

.vk-calendar-nav:hover {
	color: #fff !important;
	background-color: var(--main-color);
}

/* Back to current month */

.vk-calendar-today-link {
	position: relative;
	padding-left: 5px;
	font-size: 13px;
	color: var(--main-color) !important;
	text-decoration: none !important;
}

.vk-calendar-today-link:before {
	content: "|";
	position: absolute;
	left: -5px;
	display: inline-block;
	color: var(--vk-calendar-border);
}

.vk-calendar-today-link:hover {
	color: var(--accent-color) !important;
}

/* Calendar grid */

.vk-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	border-top: 1px solid var(--vk-calendar-border);
	border-left: 1px solid var(--vk-calendar-border);
}

.vk-calendar-weekday {
	padding: 9px 6px;
	border-right: 1px solid var(--vk-calendar-border);
	border-bottom: 1px solid var(--vk-calendar-border);
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	color: var(--main-color);
	background-color: #f8f8f8;
}

.vk-calendar-weekday.is-weekend {
	background-color: var(--vk-calendar-light);
}

/* Individual day */

.vk-calendar-day {
	position: relative;
	min-width: 0;
	min-height: 120px;
	padding: 7px;
	border-right: 1px solid var(--vk-calendar-border);
	border-bottom: 1px solid var(--vk-calendar-border);
	background-color: #fff;
}

.vk-calendar-day.is-weekend {
	background-color: rgba(93, 144, 39, .045);
}

.vk-calendar-day.is-other-month {
	background-color: #f8f8f8;
}

.vk-calendar-day.is-other-month.is-weekend {
	background-color: #f2f4ef;
}

.vk-calendar-day-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin: 0 0 6px auto;
	border-radius: 50%;
	font-size: 13px;
	line-height: 1;
}

.vk-calendar-day.is-other-month .vk-calendar-day-number {
	color: #aaa;
}

/* Today */

.vk-calendar-day.is-today {
	background-color: var(--vk-calendar-light);
}

.vk-calendar-day.is-today .vk-calendar-day-number {
	color: #fff;
	background-color: var(--accent-color);
}

/* Events inside calendar day */

.vk-calendar-day-events {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.vk-calendar-event {
	display: block;
	min-width: 0;
	padding: 5px 6px;
	border-left: 4px solid var(--vk-event-color);
	border-radius: 3px;
	color: #333 !important;
	background-color: color-mix(
		in srgb,
		var(--vk-event-color) 14%,
		white
	);
	font-size: 12px;
	line-height: 1.3;
	text-decoration: none !important;
	transition:
		background-color .2s ease,
		transform .2s ease;
}

.vk-calendar-event:hover {
	background-color: color-mix(
		in srgb,
		var(--vk-event-color) 24%,
		white
	);
	transform: translateY(-1px);
}

.vk-calendar-event-time {
	display: inline-block;
	margin-right: 3px;
	font-weight: 700;
	color: var(--vk-event-color);
}

.vk-calendar-event-title {
	overflow-wrap: anywhere;
}

/* All-day events */

.vk-calendar-event.is-all-day {
	color: #fff !important;
	background-color: var(--vk-event-color);
	border-left-color: var(--vk-event-color);
}

.vk-calendar-event.is-all-day:hover {
	filter: brightness(.92);
}

/* Multi-day continuation */

.vk-calendar-event.is-continuation {
	opacity: .82;
}

/* ========================================
 * Upcoming events list
 * ======================================== */

.vk-events {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

/* Event item */

.vk-event-item {
	position: relative;
	cursor: pointer;
	padding: 10px 12px;
	border: 1px solid rgba(93, 144, 39, .22);
	border-left: 5px solid var(--vk-event-color);
	background-color: #fff;
	transition:
		border-color .2s ease,
		box-shadow .2s ease;
}

.vk-event-item:hover {
	border-color: var(--vk-event-color);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

.vk-event-item:focus-visible {
	outline: 2px solid var(--vk-event-color);
	outline-offset: -2px;
}

/* Date */

.vk-event-date {
	margin-bottom: 4px;
	color: var(--vk-event-color);
	font-size: 12px;
	line-height: 1.4;
}

/* Title */

.vk-event-title {
	margin: 0 !important;
	color: inherit !important;
	font-size: 15px !important;
	line-height: 1.3 !important;
	transition: color .2s ease;
}

.vk-event-title a {
	color: inherit !important;
	text-decoration: none !important;
}

.vk-event-item:hover .vk-event-title,
.vk-event-title a:hover {
	color: var(--accent-color) !important;
}

/* Event type */

.vk-event-type {
	display: inline-block;
	width: max-content;
	margin-top: 5px;
	padding: 2px 7px;
	border-radius: 3px;
	color: #fff;
	background-color: var(--vk-event-color);
	font-size: 11px;
	line-height: 1.5;
}

/* Optional excerpt */

.vk-event-excerpt {
	margin-top: 5px;
	color: #666;
	font-size: 12px;
	line-height: 1.4;
}

.vk-event-excerpt > :last-child {
	margin-bottom: 0;
}

/* Empty list */

.vk-events-empty {
	padding: 10px 12px;
	width: calc(100% - 24px);
	border: 1px solid rgba(93, 144, 39, .22);
	border-left: 5px solid var(--main-color);
	background-color: #fff;
	font-size: 12px;
	line-height: 1.4;
}

/* ========================================
 * Tablet
 * ======================================== */

@media (max-width: 991px) {

	.home-events-list {
		margin-top: 30px;
	}

	.vk-calendar-day {
		min-height: 105px;
		padding: 5px;
	}

	.vk-calendar-event {
		padding: 4px 5px;
		font-size: 11px;
	}

}

/* ========================================
 * Mobile
 * ======================================== */

@media (max-width: 778px) {

	/*
	 * Compact mobile month view.
	 *
	 * Keep all seven weekdays visible at once, similar to a native calendar.
	 * Event titles are replaced by coloured dots; every dot remains the
	 * original event link and therefore opens the existing event modal.
	 */
	.vk-calendar {
		overflow: visible;
	}

	.vk-calendar-header {
		position: static;
		grid-template-columns: 60px minmax(0, 1fr) 60px;
		gap: 3px;
		margin-bottom: 8px;
	}

	.vk-calendar-heading {
		gap: 3px 7px;
	}

	.vk-calendar-title {
		font-size: 17px;
		line-height: 1.35;
	}

	.vk-calendar-today-link {
		font-size: 11px;
	}

	.vk-calendar-nav-group {
		gap: 0;
	}

	.vk-calendar-nav-group .vk-calendar-nav {
		width: 30px;
		flex-basis: 30px;
		font-size: 18px;
	}

	.vk-calendar-nav {
		width: 34px;
		height: 34px;
		font-size: 20px;
	}

	.vk-calendar-grid {
		width: 100%;
		grid-template-columns: repeat(7, minmax(0, 1fr));
	}

	.vk-calendar-weekday {
		padding: 5px 1px;
		font-size: 11px;
		line-height: 1.2;
	}

	.vk-calendar-day {
		min-width: 0;
		min-height: 54px;
		padding: 3px 2px 4px;
	}

	.vk-calendar-day-number {
		width: 23px;
		height: 23px;
		margin: 0 auto 2px;
		font-size: 12px;
	}

	.vk-calendar-day-events {
		flex-direction: column;
		gap: 2px;
		min-width: 0;
	}

	/*
	 * Mobile events use the whole cell width as the touch target.
	 * Keep them to one compact line and truncate long titles with an ellipsis.
	 */
	.vk-calendar-event {
		display: block;
		width: 100%;
		min-width: 0;
		box-sizing: border-box;
		padding: 3px 3px;
		border: 0;
		border-left: 3px solid var(--vk-event-color);
		border-radius: 2px;
		background: color-mix(
			in srgb,
			var(--vk-event-color) 14%,
			white
		);
		font-size: 9px;
		line-height: 1.25;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		transform: none;
	}

	.vk-calendar-event:hover {
		background: color-mix(
			in srgb,
			var(--vk-event-color) 24%,
			white
		);
		transform: none;
	}

	.vk-calendar-event.is-all-day,
	.vk-calendar-event.is-all-day:hover {
		border-left-color: var(--vk-event-color);
		color: #fff !important;
		background: var(--vk-event-color);
		transform: none;
		filter: none;
	}

	.vk-calendar-event.is-continuation {
		opacity: .65;
	}

	/*
	 * The month overview stays cleaner without times on very narrow cells.
	 * The full time remains available in the event modal.
	 */
	.vk-calendar-event-time {
		display: none;
	}

	.vk-calendar-event-title {
		display: block;
		min-width: 0;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.vk-event-item {
		padding: 12px 13px 12px 15px;
	}

	.vk-event-title {
		font-size: 16px !important;
	}

}

/* ========================================
 * Event details modal
 * ======================================== */

html.vk-event-modal-open,
html.vk-event-modal-open body {
	overflow: hidden;
}

.vk-event-modal[hidden] {
	display: none !important;
}

.vk-event-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.vk-event-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .58);
}

.vk-event-modal-dialog {
	position: relative;
	z-index: 1;
	width: 760px;
	max-width: 100%;
	max-height: calc(100vh - 48px);
	overflow: auto;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.vk-event-modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: #333;
	background: rgba(255, 255, 255, .92);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}

.vk-event-modal-close:hover {
	color: #fff;
	background: var(--accent-color);
}

.vk-event-modal-media {
	width: 100%;
	max-height: 360px;
	overflow: hidden;
	background: #eee;
}

.vk-event-modal-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 360px;
	object-fit: cover;
}

.vk-event-modal-inner {
	padding: 26px 30px 30px;
	border-top: 5px solid var(--vk-event-color, var(--light-green));
}

.vk-event-modal-title {
	margin: 0 45px 10px 0 !important;
	font-size: 26px;
	line-height: 1.25;
}

.vk-event-modal-meta {
	margin-bottom: 20px;
}

.vk-event-modal-date {
	font-weight: 700;
	color: var(--vk-event-color, var(--main-color));
}

.vk-event-modal-type {
	display: inline-block;
	margin-top: 7px;
	padding: 3px 8px;
	border-radius: 3px;
	color: #fff;
	background: var(--vk-event-color, var(--light-green));
	font-size: 12px;
}

.vk-event-modal-recurrence {
	margin-top: 9px;
	font-size: 13px;
	color: #666;
}

.vk-event-modal-content {
	padding-top: 18px;
	border-top: 1px solid rgba(0, 0, 0, .1);
}

.vk-event-modal-content > :last-child {
	margin-bottom: 0;
}

.vk-event-modal-loading,
.vk-event-modal-error {
	padding: 60px 30px;
	text-align: center;
}

.vk-event-modal-error {
	color: var(--accent-color);
}

@media (max-width: 778px) {

	.vk-event-modal {
		padding: 12px;
		align-items: flex-start;
	}

	.vk-event-modal-dialog {
		margin-top: 12px;
		max-height: 90vh;
	}

	.vk-event-modal-inner {
		padding: 20px;
	}

	.vk-event-modal-title {
		font-size: 22px;
	}

	.vk-event-modal-media,
	.vk-event-modal-image {
		max-height: 260px;
	}

}

/* ========================================
 * Calendar AJAX loading + type filter
 * ======================================== */

.vk-calendar {
	position: relative;
}

.vk-calendar-loading {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .72);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .15s ease, visibility .15s ease;
}

.vk-calendar.is-loading .vk-calendar-loading {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.vk-calendar-spinner {
	display: block;
	width: 42px;
	height: 42px;
	border: 4px solid rgba(93, 144, 39, .22);
	border-top-color: var(--main-color);
	border-radius: 50%;
	animation: vk-calendar-spin .7s linear infinite;
}

@keyframes vk-calendar-spin {
	to {
		transform: rotate(360deg);
	}
}

.vk-calendar-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin-top: 14px;
}

.vk-calendar-filter-label {
	margin-right: 2px;
	font-size: 13px;
	font-weight: 700;
}

.vk-calendar-filter-item {
	--vk-filter-color: var(--main-color);

	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border: 1px solid var(--vk-filter-color);
	border-radius: 3px;
	color: var(--vk-filter-color) !important;
	background: #fff;
	font-size: 12px;
	line-height: 1.3;
	text-decoration: none !important;
	transition: color .15s ease, background-color .15s ease;
}

.vk-calendar-filter-item:hover,
.vk-calendar-filter-item.is-active {
	color: #fff !important;
	background: var(--vk-filter-color);
}

.vk-calendar-filter-item.is-active {
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.vk-calendar-spinner {
		animation-duration: 1.5s;
	}
}

@media (max-width: 778px) {
	.vk-calendar-filter {
		position: sticky;
		left: 0;
		width: min(100vw - 40px, 100%);
	}
}

/**
 * Vaida posts grid
 * Shortcode: [vk_posts_grid]
 */

.vk-posts-grid {
	display: grid;
	grid-template-columns: repeat(var(--vk-posts-columns, 3), minmax(0, 1fr));
	gap: 18px;
	width: 100%;
}

.vk-post-card {
	position: relative;
	min-width: 0;
	min-height: 240px;
	overflow: hidden;
	background-color: #f3f4f1;
	background-image: var(--vk-post-image);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .07);
	transition: transform .28s ease, box-shadow .28s ease;
}

.vk-post-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
}

.vk-post-card-link {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	color: #fff !important;
	text-decoration: none !important;
}

.vk-post-card-link:focus-visible {
	outline: 3px solid var(--main-color, #5d9027);
	outline-offset: -3px;
}

.vk-post-card-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			to top,
			rgba(20, 22, 18, .68) 0%,
			rgba(20, 22, 18, .32) 35%,
			rgba(20, 22, 18, .04) 68%,
			transparent 100%
		);
	transition: background .35s ease;
}

.vk-post-card:hover .vk-post-card-shade,
.vk-post-card:focus-within .vk-post-card-shade {
	background:
		linear-gradient(
			to top,
			rgba(20, 22, 18, .78) 0%,
			rgba(20, 22, 18, .48) 48%,
			rgba(20, 22, 18, .08) 78%,
			transparent 100%
		);
}

.vk-post-card-content {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	padding: 16px 18px;
	transform: translateY(0);
}

.vk-post-card-title {
	margin: 0 !important;
	color: #fff !important;
	font-size: clamp(16px, 1vw, 18px) !important;
	line-height: 1.2 !important;
	text-shadow: 0 1px 5px rgba(0, 0, 0, .18);
}

.vk-post-card-reveal {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transform: translateY(12px);
	transition:
		grid-template-rows .35s ease,
		opacity .28s ease,
		transform .35s ease;
}

.vk-post-card:hover .vk-post-card-reveal,
.vk-post-card:focus-within .vk-post-card-reveal {
	grid-template-rows: 1fr;
	opacity: 1;
	transform: translateY(0);
}

.vk-post-card-excerpt {
	display: block;
	overflow: hidden;
	padding-top: 9px;
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, .90);
}

.vk-post-card-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: max-content;
	margin-top: 11px;
	padding-bottom: 2px;
	border-bottom: 1px solid rgba(255, 255, 255, .55);
	font-size: 12px;
	line-height: 1.3;
	font-weight: 700;
	color: #fff;
}

.vk-post-card-more-static {
	margin-top: 10px;
}

.vk-post-card-no-image {
	background:
		radial-gradient(
			circle at 85% 15%,
			rgba(153, 174, 109, .18),
			transparent 45%
		),
		linear-gradient(
			135deg,
			#f7f9f3 0%,
			#edf3e4 55%,
			#e1ebd3 100%
		);
}

/* No-image cards: light overlay */
.vk-post-card-no-image .vk-post-card-shade,
.vk-post-card-no-image:hover .vk-post-card-shade,
.vk-post-card-no-image:focus-within .vk-post-card-shade {
	background: linear-gradient(
		to top,
		rgba(93, 144, 39, .10) 0%,
		rgba(93, 144, 39, .03) 55%,
		transparent 100%
	);
}

/* No-image cards: dark green titles */
.vk-post-card-no-image .vk-post-card-title {
	color: #36551c !important;
	text-shadow: none;
}

/* No-image cards: readable excerpt */
.vk-post-card-no-image .vk-post-card-excerpt {
	color: #46543c;
}

/* No-image cards: read more link */
.vk-post-card-no-image .vk-post-card-more {
	color: var(--main-color);
	border-bottom-color: rgba(93, 144, 39, .40);
}

/* No-image cards: subtle green hover */
.vk-post-card-no-image:hover {
	box-shadow: 0 6px 20px rgba(93, 144, 39, .15);
}

.vk-posts-grid-empty {
	padding: 14px 16px;
	border-left: 4px solid var(--main-color, #5d9027);
	background: rgba(93, 144, 39, .08);
}

@media (max-width: 778px) {

	.vk-posts-grid {
		grid-template-columns: repeat(min(var(--vk-posts-columns, 3), 2), minmax(0, 1fr));
		gap: 14px;
	}

	.vk-post-card {
		min-height: 225px;
	}

	.vk-post-card-content {
		padding: 16px;
	}

	/* Touch devices must not depend on hover to expose useful content. */
	.vk-post-card-reveal {
		grid-template-rows: 1fr;
		opacity: 1;
		transform: none;
	}

	.vk-post-card-shade,
	.vk-post-card:hover .vk-post-card-shade,
	.vk-post-card:focus-within .vk-post-card-shade {
		background:
			linear-gradient(
				to top,
				rgba(20, 22, 18, .78) 0%,
				rgba(20, 22, 18, .48) 48%,
				rgba(20, 22, 18, .08) 78%,
				transparent 100%
			);
	}

	.vk-post-card-no-image .vk-post-card-shade,
	.vk-post-card-no-image:hover .vk-post-card-shade,
	.vk-post-card-no-image:focus-within .vk-post-card-shade {
		background: linear-gradient(
			to top,
			rgba(93, 144, 39, .10) 0%,
			rgba(93, 144, 39, .03) 55%,
			transparent 100%
		);
	}

}

@media (max-width: 480px) {

	.home-posts-grid .dt-btn-link {
		font-size: 14px !important;
	}

	.vk-posts-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.vk-post-card {
		min-height: 215px;
	}

}

@media (prefers-reduced-motion: reduce) {

	.vk-post-card,
	.vk-post-card-shade,
	.vk-post-card-reveal {
		transition: none;
	}

}

/**
 * Posts grid AJAX filters and pagination
 */

.vk-posts-module {
	position: relative;
}

.vk-posts-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin-bottom: 18px;
}

.vk-posts-filter-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	border: 1px solid rgba(93, 144, 39, .45);
	border-radius: 3px;
	color: var(--main-color) !important;
	background-color: #fff;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
	cursor: pointer;
	transition:
		color .2s ease,
		border-color .2s ease,
		background-color .2s ease;
}

.vk-posts-filter-item:hover,
.vk-posts-filter-item.is-active {
	border-color: var(--main-color);
	color: #fff !important;
	background-color: var(--main-color);
}

.vk-posts-filter-item.is-active {
	cursor: default;
}

.vk-posts-results {
	position: relative;
}

.vk-posts-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 24px;
}

.vk-posts-pagination-dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 34px;
	color: #777;
	font-size: 14px;
	line-height: 1;
}

.vk-posts-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 9px;
	border: 1px solid rgba(93, 144, 39, .35);
	border-radius: 3px;
	color: var(--main-color) !important;
	background-color: #fff;
	font-size: 13px;
	line-height: 1;
	font-weight: 600;
	cursor: pointer;
	transition:
		color .2s ease,
		border-color .2s ease,
		background-color .2s ease;
}

.vk-posts-page:hover,
.vk-posts-page.is-active {
	border-color: var(--main-color);
	color: #fff !important;
	background-color: var(--main-color);
}

.vk-posts-page.is-active {
	cursor: default;
}

.vk-posts-page-prev,
.vk-posts-page-next {
	font-size: 16px;
}

.vk-posts-loading {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(255, 255, 255, .72);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity .15s ease,
		visibility .15s ease;
}

.vk-posts-module.is-loading .vk-posts-loading {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.vk-posts-spinner {
	display: block;
	width: 42px;
	height: 42px;
	border: 4px solid rgba(93, 144, 39, .22);
	border-top-color: var(--main-color);
	border-radius: 50%;
	animation: vk-posts-spin .7s linear infinite;
}

@keyframes vk-posts-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 778px) {

	.vk-posts-filter {
		gap: 6px;
		margin-bottom: 14px;
	}

	.vk-posts-filter-item {
		padding: 5px 10px;
		font-size: 12px;
	}

	.vk-posts-pagination {
		margin-top: 18px;
	}

}

@media (prefers-reduced-motion: reduce) {

	.vk-posts-spinner {
		animation-duration: 1.5s;
	}

}

/* =========================================================
   Vaida posts sidebar
   Shortcode: [vk_posts_sidebar]
   ========================================================= */

.vk-posts-sidebar {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

/* Post item */

.vk-post-sidebar-item {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(93, 144, 39, .22);
	background-color: #fff;
	transition:
		border-color .2s ease,
		box-shadow .2s ease;
}

.vk-post-sidebar-item:hover {
	border-color: var(--main-color);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

/* Whole item is clickable */

.vk-post-sidebar-link {
	display: flex;
	align-items: stretch;
	min-width: 0;
	color: inherit !important;
	text-decoration: none !important;
}

.vk-post-sidebar-link:focus-visible {
	outline: 2px solid var(--main-color);
	outline-offset: -2px;
}

/* Thumbnail */

.vk-post-sidebar-image {
	flex: 0 0 92px;
	width: 92px;
	min-height: 82px;
	overflow: hidden;
	background-color: #f3f4f1;
}

.vk-post-sidebar-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 82px;
	object-fit: cover;
	transition: transform .3s ease;
}

.vk-post-sidebar-item:hover .vk-post-sidebar-image img {
	transform: scale(1.04);
}

/* Text */

.vk-post-sidebar-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 10px 12px;
}

.vk-post-sidebar-title {
	margin: 0 !important;
	color: inherit !important;
	font-size: 15px !important;
	line-height: 1.3 !important;
	transition: color .2s ease;
}

.vk-post-sidebar-item:hover .vk-post-sidebar-title {
	color: var(--accent-color) !important;
}

/* Optional excerpt */

.vk-post-sidebar-excerpt {
	display: -webkit-box;
	margin-top: 5px;
	overflow: hidden;
	color: #666;
	font-size: 12px;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* No featured image */

.vk-post-sidebar-item.is-no-image {
	border-left: 5px solid var(--main-color);
}

.vk-post-sidebar-item.is-no-image .vk-post-sidebar-content {
	padding-left: 12px;
}

/* Small screens */

@media (max-width: 480px) {

	.vk-post-sidebar-image {
		flex-basis: 82px;
		width: 82px;
		min-height: 76px;
	}

	.vk-post-sidebar-image img {
		min-height: 76px;
	}

	.vk-post-sidebar-content {
		padding: 9px 10px;
	}

	.vk-post-sidebar-title {
		font-size: 14px !important;
	}

}
