/**
 * Theme Name: Avant Child
 * Description: Avant Child Theme
 * Author: Mindaugas Sapalas
 * Author URI: https://www.sapalas.dev
 * Template: avant
 * Version: 1.0.0
 * Text Domain: avant-child
 * License: GNU General Public License v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Tags: full-site-editing, blog, theme-options, translation-ready, rtl-language-support, full-width-template
*/
/*
 * Variables, mixins, helpers and functions
 * ---------------------------------- */
/*
 * Base
 * ------- */
/*
 * Components
 * ------------- */
/**
variables

colors:
- primary - #66afe9 (blue)
- light blue - rgba(79,152,221,.3) - #4f98dd4d
 */
/* Sidebar - magazin archive */
/*
.wp-block-archives-list {
  &.wp-block-archives {
    display: flex;
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 4px;
  }
}

/* Sidebar - magazin categories list */
/*
.categories {

  .cat-item-96,
  .cat-item-865 {
    display: none !important;
  }
}

.wp-block-categories-list .cat-item {
  position: relative;
  margin-bottom: 0.5em;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.wp-block-categories-list__item-link {
  display: grid;
  grid-template-areas:
    "image title"
    "image description";
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 12px;
  padding: 0.5em;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease-in-out;
}

.wp-block-categories-list__item-link:hover {
  background-color: #f9f9f9;
}

.wp-block-categories-list__item-image {
  grid-area: image;
  width: 45px;
  height: 45px;
  object-fit: cover;
}

.wp-block-categories-list__item-title {
  grid-area: title;
  font-size: 0.85em;
  font-weight: bold;
  align-self: center;
}

.wp-block-categories-list__item-count {
  font-weight: normal;
  font-size: 0.75em;
  color: #777;
  margin-left: 0.5em;
}

.wp-block-categories-list__item-description {
  grid-area: description;
  font-size: 0.75em;
  color: #555;
  padding-top: 5px;

  p {
    margin: 0;
  }
}

.wp-block-categories-list__item-feed-link {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  z-index: 5;
  line-height: 1;

  &:hover {
    img {
      filter: grayscale(0);
    }
  }
}

.wp-block-categories-list__item-feed-icon {
  width: 16px;
  height: 16px;
  display: block;
  filter: grayscale(100);
}

ul.wp-block-archives-list {
  list-style: none;
  padding-left: 0;
}

/* Sidebar - icons-buttons grid */
.sidebar-icons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  grid-gap: 16px;
  place-items: center;
}

.sidebar-icons-grid-item {
  width: 52px;
  height: 52px;
}
.sidebar-icons-grid-item img {
  width: 100%;
  height: 100%;
}

/* Sidebar - social icons-buttons grid */
.sidebar-icons-social-grid {
  display: flex;
}
.sidebar-icons-social-grid > div:first-child {
  width: 30%;
}
.sidebar-icons-social-grid > div:first-child img {
  width: 100%;
}
.sidebar-icons-social-grid > div:last-child {
  display: flex;
  flex-direction: column;
  width: 70%;
}
.sidebar-icons-social-grid > div:last-child div {
  display: flex;
  justify-content: space-evenly;
}
.sidebar-icons-social-grid > div:last-child div:first-child img {
  width: 100%;
  height: auto;
}
.sidebar-icons-social-grid > div:last-child div:last-child img {
  height: 55px;
}

/* Sidebar - contacts */
.sidebar-contacts {
  margin-bottom: 3rem;
}
.sidebar-contacts img {
  border-radius: 6px;
  width: 100%;
}

/* Sidebar widget default styling */
.sidebar-widget-default {
  border-radius: 6px !important;
  gap: 0 !important;
  margin-bottom: 1rem;
  overflow: hidden !important;
  padding: 0 !important;
}
.sidebar-widget-default .uagb-container-inner-blocks-wrap {
  flex-direction: column !important;
  row-gap: 0 !important;
  column-gap: 0 !important;
}
.sidebar-widget-default h6,
.sidebar-widget-default .elementor-heading-title {
  color: #FFFFFF !important;
  background-color: #66afe9;
  margin: 0;
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem;
}
.sidebar-widget-default .elementor-widget-image {
  width: 100%;
}
.sidebar-widget-default .elementor-widget-container img {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  padding: 0 !important;
  width: 100%;
}
.sidebar-widget-default:has(.elementor-heading-title) .elementor-widget-container a {
  width: 100%;
}
.sidebar-widget-default:has(.elementor-heading-title) .elementor-widget-container img {
  border: 1px solid #66afe9;
}
.sidebar-widget-default .elementor-widget-text-editor .elementor-widget-container {
  background-color: #E6E9EF;
  margin: 0;
  padding: 0.5rem 1rem !important;
}
.sidebar-widget-default .elementor-widget-text-editor .elementor-widget-container p {
  line-height: 1.6;
  margin: 0;
}
.sidebar-widget-default .elementor-widget-text-editor .elementor-widget-container a {
  color: #66afe9;
}
.sidebar-widget-default .elementor-widget-text-editor .elementor-widget-container a:hover {
  color: #7345F7;
}

.sidebar-widget-image figure a,
.sidebar-widget-image figure img {
  width: 100%;
}

hr.wp-block-separator {
  border: none;
  border-bottom: 1px solid #E6E9EF !important;
  margin: 0.75rem 0 !important;
}

/*
.psacp-slider-wrap-main {
  margin-top: 8px;

  .owl-dots {
    bottom: -32px;

    .owl-dot.active {
      background: vars.$color-primary;
    }
  }
}

.psacp-post-slider-content {
  flex-direction: row-reverse;

  .psacp-featured-meta {
    padding: 0 !important;
  }

  .psacp-post-title {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin: 0 !important;

    a {
      display: block;
      line-height: 1.4;
      padding: 1rem 2rem;
    }

  }

}
*/
.posts-slider .n2-ss-slider-wrapper-outside > div:first-child {
  border-radius: 6px;
  overflow: hidden;
}
.posts-slider .n2-ss-item-image-content {
  border: none !important;
  border-radius: 0 !important;
}
.posts-slider .n2-ss-layer-row,
.posts-slider .n2-ss-layer,
.posts-slider .n2-ss-layer-col {
  margin: 0 !important;
  padding: 0 !important;
}
.posts-slider .n2-ss-layer-row-inner .n2-ss-layer:last-child .n2-ss-layer-col {
  background-color: #f5f6f8 !important;
  padding: 1rem 2rem !important;
}
.posts-slider .n2-ss-text a {
  color: #66afe9 !important;
}
.posts-slider .n2-ss-text a:hover {
  color: #7345F7 !important;
}
.posts-slider .n2-bullet.n2-active {
  background-color: #66afe9 !important;
}

/*
 * Page-specific styles
 * ----------------------- */
/*
 * Printing
 * ----------- */

/*# sourceMappingURL=style.css.map */
