/**
Theme Name: Astra Child
Author: AGStudio
Author URI: https://agstudio.pro/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


.wpforms-field-container input:not([type="submit"]),
.wpforms-field-container textarea {
  background: #fff;
  border-color: #ccc;
}

body .ast-oembed-container * {
	height: 100% !important;
}

.elementor-price-list .elementor-price-list-item .elementor-price-list-header {
  font-size: 16px;
  margin-bottom: 0;
  color: #333;
}
.elementor-price-list-description {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between
}

/* Header */

.main-header-menu .sub-menu .menu-link {
  padding: .5em .8em;
  line-height: 1.4;
}
.ast-desktop .main-header-menu.submenu-with-border .sub-menu:not(.astra-mega-menu-width-content) {
  padding: .4em .2em;
}
.site-header .btn.nz {
  display: block;
  line-height: 1.4;
  padding: 6px 16px 6px 40px;
  margin: 0 4px 2px;
  color: #fff;
  border-radius: 10px;
  background:  #333 url(/wp-content/uploads/2021/09/nz-white-icon-small.png) no-repeat 10px 5px / 20px;
  float: left;
}
.site-header .btn.nz.entry {
  padding: 6px 20px;
  background-image: none;
}
.site-header .btn.nz.diary {
  background-color: #F4A03A;
}
.site-header .btn.nz.entry,
.site-header .btn.nz.chedule {
  background-color: #5889B1
}
.site-header .btn.nz:hover {
  opacity: .8;
}
.ast-header-break-point .ast-below-header-section-separated.ast-below-header-mobile-stack .below-header-section-2 {
  padding: 0;
}

.ast-header-break-point .main-header-bar-navigation .menu-item-has-children.ast-submenu-expanded > .sub-menu {
  display: block !important;
  padding-left: 20px;
}
.ast-header-break-point .main-header-bar-navigation .menu-item-has-children.ast-submenu-expanded > .sub-menu .ast-menu-toggle {
  top: 0 !important;
}

.below-header-user-select a, .below-header-user-select .widget a {
  color: #333;
}
.below-header-user-select a:hover, .below-header-user-select .widget a:hover {
  color: #000;
}
.below-header-user-select .wp-block-latest-posts:before {
  content: 'Оголошення: ';
  display: block;
  float: left;
  margin-right: 5px;
  color: #999;
}
.below-header-user-select .wp-block-latest-posts {
	line-height: 50px;
}
.below-header-user-select .wp-block-latest-posts li {
	max-width: 560px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.below-header-user-select .wp-block-latest-posts li {
  float: left;
  clear: none;
}
.below-header-user-select .wp-block-latest-posts li a {
  font-weight: bold;
  text-decoration: underline;
}
.below-header-user-select .wp-block-latest-posts li a:hover {
  text-decoration: none;
}

/* Home */

.elementor-element-4e3b9e6 .elementor-column-wrap,
.elementor-element-b06a301 .elementor-column-wrap {
  min-height: 277px;
}

/* Content */

h1, .entry-content h1 {
	font-size: 2rem;
}
h2, .entry-content h2 {
  font-size: 1.8rem;
}
h3, .entry-content h3 {
  font-size: 1.6rem;
}
h4, .entry-content h4 {
  font-size: 1.4rem;
}
.entry-content {
	font-size: 1.1em;
}
.entry-content p {
	margin-bottom: 15px;
}
.entry-content iframe {
	width: 100%;
	height: 600px;
}
.wp-block-image figcaption {
	text-align: center;
	font-size: .8em;
	color: #666;
}

/* MEDIA QUERIES */

@media (min-width: 922px) {
  .ast-left-sidebar .site-content .ast-article-image-container--wide, .ast-right-sidebar .site-content .ast-article-image-container--wide {
    margin-left: -20px;
    margin-right: -20px;
  }
  .ast-separate-container .site-content .ast-single-post-featured-section + article {
    padding: 30px 20px;
	  margin-top: -40px;
  }
  .ast-separate-container .site-content .ast-single-post-featured-section + article ul {
    padding-left: 30px;
  }
}

@media (max-width:1100px) {
	.main-header-menu .menu-link, .main-header-menu > a {
		padding: 0 .5em;
	}
	.below-header-user-select .wp-block-latest-posts li {
		max-width: 360px;
	}
}
@media (max-width:921px) {
	.ast-header-break-point.ast-header-custom-item-outside .main-header-bar .ast-search-icon {
		margin-right: 0;
	}
	.ast-below-header, .ast-header-break-point .ast-below-header {
		padding: 2px 20px 12px;
	}
	.ast-search-icon .astra-search-icon {
		font-size: 1.6em;
		width: 25px;
		display: block;
		line-height: 25px;
		text-align: center;
	}
	.ast-site-identity, .ast-header-break-point .ast-below-header-section-separated.ast-below-header-mobile-stack .below-header-section-2 {
		padding: 0;
	}
	.ast-default-menu-enable.ast-header-break-point .main-navigation .sub-menu .menu-item.menu-item-has-children > .menu-link {
		padding: 10px 20px;
		display: block;
	}
	.ast-header-break-point .main-navigation .sub-menu .menu-item .menu-item .menu-link {
		padding-top: 6px;
		padding-bottom: 6px;
	}
	.ast-header-break-point .ast-below-header-1 .ast-below-header-section-wrap .ast-justify-content-flex-end:first-child {
		margin-left: 0;
	}
	.below-header-user-select .wp-block-latest-posts {
		line-height: 1.4;
	}
	.below-header-user-select .wp-block-latest-posts li {
		max-width: 100%;
		white-space: normal;
	}
	.below-header-user-select .wp-block-latest-posts li a {
		color: #333 !important;
	}
	.ast-desktop .main-navigation .ast-mm-template-content, .ast-desktop .main-navigation .ast-mm-custom-content, .ast-desktop .main-navigation .ast-mm-custom-text-content, .main-navigation .sub-menu .menu-item .menu-link, .ast-header-break-point .main-navigation .sub-menu .menu-item .menu-link {
		padding-top: 10px;
		padding-bottom: 10px;
	}
}
@media (max-width:768px) {
	.elementor-6 .elementor-element.elementor-element-6121668 > .elementor-element-populated > .elementor-background-overlay {
		background-color: #F4A03A;
	}
	.ast-below-header-wrap .ast-below-header-bar,
	.ast-below-header-wrap .ast-below-header-bar > .ast-builder-grid-row {
	  display: block;
	}
	.ast-below-header-wrap .site-header-below-section-left {
	  padding: 5px 0 15px;
	}
	.ast-below-header-wrap .site-header-below-section-right {
	  justify-content: flex-start;
	}
}
@media (max-width:500px) {
	.wp-block-image figure {
		width: 100%;
	}
}
/* ========== Пагінація Astra — відступи зверху + знизу + адаптив ========== */
.ast-pagination {
    margin-top: 1.5em;
    margin-bottom: 2em;           /* головний відступ перед футером */
    padding: 2em 0;               /* симетрично, як у вас було зверху */
}

.ast-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6em;                   /* сучасний заміна старих margin між кнопками */
    padding: 1.2em 0;             /* внутрішній відступ блоку пагінації */
    margin: 0;                    /* скидаємо все старе */
}

/* Якщо хочете ще більше повітря перед футером на великих екранах */
@media (min-width: 1025px) {
    .ast-pagination {
        margin-bottom: 2.5em;
    }
}
/* Теги в блоці таксономій на одиночній статті */
.ast-blog-single-element.ast-taxonomy-container {
    display: flex;
    flex-wrap: wrap;           /* щоб теги переносилися на новий рядок */
    gap: 0.7em 0.7em;          /* сучасний і адаптивний спосіб задавати відступи */
    margin: 0.2em 0 0.2em 0;   /* верх, право, низ, ліво */
}

.ast-blog-single-element.ast-taxonomy-container .ast-button {
    margin: 0 !important;      /* скидаємо старі маржини */
    padding: 0.35em 0.9em !important;
    font-size: 0.95rem;
}