/**
Theme Name: Astra Child
Author: SideWwalk
Author URI: https://side-walk.dk/
Description: Childtheme for Astra - modified by Side-Walk.dk
Version: 1.0.0
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
*/





@media (max-width: 1024px) {
  :root {
    --hero-padding: 3rem;
  }
}

@media (max-width: 767px) {
  :root {
    --hero-padding: 4rem;
    --header-height: 80px;
  }
}

/* Defaults */
html {
  font-size: 16px;
}

.ast-plain-container.ast-no-sidebar #primary {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.ast-container,
.ast-grid-common-col {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Header */
header {
  position: fixed;
  top: calc(0 + var(--wp-admin--admin-bar--height));
  width: 100vw;
  z-index: 10;
}

header > .elementor-element:before {
  content: "";
  height: 100%;
  width: 100%;
  background-color: var(--e-global-color-text);
  opacity: 0.8;
}

header > .elementor-element {
  height: var(--header-height);
}

/* Nav fix */
.menu-item-has-children:hover .sub-menu {
  display: block !important;
}

/* Hero section */
.hero-section {
  padding-top: calc(var(--hero-padding) + var(--header-height));
  padding-bottom: var(--hero-padding);
}

/* Hero slider */
.hero-slider span {
  color: var(--e-global-color-primary);
}
.hero-slider .swiper-slide-inner {
  max-width: var(--container-max-width);
  margin: auto;
}

.hero-slider .swiper-slide-bg:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0 0 0 / 0.5);
}

.hero-slider a {
  text-decoration: none !important;
}

/* USP */
.usp__container > .e-con-inner > .elementor-element {
  width: auto;
}
@media (max-width: 1024px) {
  .usp__container > .e-con-inner > .elementor-element {
    width: 40%;
  }
}
@media (max-width: 767px) {
  .usp__container > .e-con-inner {
    flex-wrap: nowrap !important;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
  }
  .usp__container > .e-con-inner > .elementor-element {
    scroll-snap-align: center;
    width: 60%;
  }
}

/* Stævner */
.steaver-loop {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.steavne-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;

  width: 100%;
  max-width: 800px;
  margin: auto;
}

.steavne-group__item {
  background-color: #fff;
  padding: 1rem;
  text-decoration: none !important;
}

.steavne-group__item .title {
  margin: 0;
}

.steavne-files {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Klubrekorder */
.klubrekord-loop {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.klubrekord-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.klubrekord-files {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Bestyrelse */
.bestyrelsesmedlem {
  font-size: 90%;
  line-height: 1.4;
}

.bestyrelse-kontakt-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.bestyrelse-kontakt-info .bestyrelse-kontakt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none !important;
}

.bestyrelse-kontakt-info .bestyrelse-kontakt.telefon {
  color: var(--e-global-color-text);
}

/* Scroll snap */
@media (max-width: 767px) {
  .scroll-snap__columns > .e-con-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
  }

  .scroll-snap__columns > .e-con-inner > .elementor-element {
    scroll-snap-align: center;
    min-width: 70%;
  }
}

/* Posts Loop item */
.posts_loop-item,
.posts_loop-item * {
  text-decoration: none !important;
  color: var(--e-global-color-text);
  transition: transform 0.3s ease;
}

.posts_loop-item .elementor-widget-container {
  overflow: hidden;
  border-radius: 5px;
}

.posts_loop-item:hover img {
  transform: scale(1.1);
}




.entry-content p{
	margin-bottom: 0px !important;
}

