/*
Theme Name: Avada Child Vino Weix
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

@import url("assets/css/shop.css");
@import url("assets/css/avada-woo-fixes.css");

/* *** General *** */

.force-fullwidth {
    width: 100vw !important;
    max-width: 100% !important;
    margin-left: calc(-50vw + 50%) !important;
    padding-left: 0;
    padding-right: 0;
}
.fw-400
{
    font-weight:400;
}

.fusion-text, .fusion-title, .fusion-title h1, .fusion-title h2, .fusion-title h3, .fusion-title h4, .fusion-title h5, .fusion-title h6 {
  hyphens: auto;
  overflow-wrap: normal;
}

/* Überschriften: nur trennen, wenn nötig; erst bei langen Wörtern */
a, span, h1, h2, h3, h4, h5, h6 {
  word-break: normal;        /* keine harten Wortbrüche */
  overflow-wrap: normal;     /* brich Wörter nicht "einfach so" */
  hyphens: auto;             /* trenne nur bei Platzmangel */
  hyphenate-character: "-";  /* Trennzeichen (Support variiert) */

  /* Ab >12 Zeichen erlauben (Standard-Eigenschaft, moderne Browser) */
  hyphenate-limit-chars: 13 3 3; /* total / vor / nach dem Trennstrich */

  /* Safari/WebKit Näherung (kennt 'total' nicht, aber vor/nach): */
  -webkit-hyphenate-limit-before: 3;
  -webkit-hyphenate-limit-after: 3;
}



/* *** Header *** */

/* mobile */

/* Pfeil für active menu item */

.weix-menu-mobile .current-menu-item .menu-text::after {
    content: "\f001"; 
    font-family: 'Vinoweix-Icons'; 
    display: inline-block;
    margin-left: 0.3em;
    font-size: 1em;
    color:var(--awb-color1);
  }


/* desktop */

div.weix-menu-desktop
{
    position:absolute;
    margin-top:65px;
    right:95px;
    z-index:1000;
}

div.weix-menu-desktop .awb-menu__main-a .menu-text
{
    background:
transparent url("assets/img/nav-bg-sm.png") no-repeat left center;
    padding: 5px 0px 5px 12px;
    background-size: auto 100%;
    background-image: url("assets/img/nav-bg-sm.png");
}

.weix-menu-desktop  .awb-menu__main-a .menu-text::before {
    display: block;
    position: absolute;
    content: "";
    height:100%;
    width: 12px;
    right: -12px;
    top:0;
    background:
transparent url("assets/img/nav-bg-sm.png") no-repeat right center;
    background-size: auto 100%;
 
  }

.weix-menu-desktop .current-menu-item .menu-text::after {
    content: "\f001"; 
    font-family: 'Vinoweix-Icons'; 
    display: inline-block;
    margin-left: 0.4em;
    font-size: 1em;
    color:var(--awb-color1);
    position:absolute;
    top:.15em;
  }

div.weix-menu-desktop .current-menu-item, div.weix-menu-desktop .awb-menu__main-a:hover
{
    font-family:"Cinzel-700";
    font-weight:700;
    
}



/* *** Header *** */
.weix-header-img-title-desktop .weix-header-title
{
    position:absolute;
    top:0;
    bottom:0;
    left:11%;
    display:flex;
    justify-content: center;
    z-index: 1000;
    align-items:center;
}




/* *** Start Seite *** */


/* Kasterl */
.start-kasterl > .fusion-column-wrapper {
  position: relative;
  
}

.start-kasterl .kasterl-text {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;  /* vertikal zentriert */
   justify-content: center; 
  z-index:1001;
  font-size:120%;
  
  cursor:pointer;
}

.start-kasterl .kasterl-text h2 {
  color: var(--awb-color1);
}
.start-kasterl:hover .kasterl-text h2 {
  font-family: 'Cinzel-700', serif; /* fallback ergänzt */
}

@media only screen and (max-width: 640px) {
  .start-kasterl .kasterl-text h2 {
  font-size:65px !important;
}
}




/* *** Blog Beiträge *** */

.center-img .fusion-image-wrapper
{
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-img
{
  min-height: 350px;
  display: flex;
  align-items: center;
}

.center-img img
{
  max-height:300px;
  width:auto;
}



/* *** Weine Slider *** */

.gallery {
    text-align: center;
    margin: 0 30px; 
  }
.gallery .owl-gallery {
  margin: 0 auto;
  max-width: 880px; }


.owl-nav .owl-prev, .owl-nav .owl-next {
  position: absolute;
  height: auto;
  top: 50%;
  margin-top: -35px;
  font-size: 45px;
  
}
.owl-nav .owl-prev {
  left: -60px; }
.owl-nav .owl-next {
  right: -60px; }
@media (min-width: 768px) {
  .owl-nav .owl-prev {
    left: -80px; }
  .owl-nav .owl-next {
    right: -80px; } 
}


.wine_buttons {
  margin-top: 10px;
}

@media (min-width: 800px) {
  .wine_buttons {
    margin-top: 0;
    position: absolute;
  }
}

@media (min-width: 800px) and (max-width: 999.98px) {
  .wine_buttons {
    bottom: 60px;
    width: 100%;
  }
}

@media (min-width: 800px) {
  .wine_buttons {
    top: auto;
    bottom: 15%;
    left: 35%;
    width: 540px;
    margin-left: -270px;
  }
}

@media (min-width: 1000px) {
  .wine_buttons {
    width: 740px;
    margin-left: -370px;
  }
}

@media (min-width: 1200px) {
  .wine_buttons {
    left: 50%;
  }
}

.wine_buttons .btn-wine {
  display: inline-block;
  position: relative;
  text-transform: uppercase;
  font-family: var(--font-family-headings); /* replace with real font */
  padding: 0 24px 0 12px;
  margin: 5px;
  line-height: 33px;
  font-size: 22px;
  color: white;
  background: transparent url('../img/nav-bg-sm.png') no-repeat right center !important;
}

.wine_buttons .btn-wine:before {
  display: block;
  position: absolute;
  content: "";
  height: 33px;
  width: 12px;
  left: -12px;
  top: 0;
  background: transparent url('../img/nav-bg-sm.png') no-repeat left center;
}

.wine_buttons .btn-wine:hover {
  font-weight: bold;
}

.wine_buttons .btn-wine.active {
  background: transparent url('../img/nav-bg-sm.png') no-repeat right center !important;
}

@media (min-width: 800px) {
  .wine_buttons .btn-wine {
    color: var(--body-color); /* replace with real color */
    font-size: 22px;
    padding: 0 24px 0 12px;
    margin: 7.5px;
    height: 53px;
    line-height: 53px;
    background: transparent url('../img/btn-wine-bg-sm.png') no-repeat right center !important;
  }

  .wine_buttons .btn-wine.active {
    background: transparent url('../img/btn-wine-bg-sm.png') no-repeat right center !important;
  }

  .wine_buttons .btn-wine:before {
    height: 53px;
    width: 12px;
    left: -10px;
    top: -1px;
    background: transparent url('../img/btn-wine-bg-sm.png') no-repeat left center;
  }
}

@media (min-width: 1000px) {
  .wine_buttons .btn-wine {
    color: var(--body-color); /* replace */
    font-size: 28px;
    padding: 0 44px 0 32px;
    margin: 7.5px;
    height: 79px;
    line-height: 79px;
    background: transparent url('../img/btn-wine-bg.png') no-repeat right center !important;
  }

  .wine_buttons .btn-wine.active {
    background: transparent url('../img/btn-wine-bg.png') no-repeat right center !important;
  }

  .wine_buttons .btn-wine:before {
    height: 79px;
    width: 12px;
    left: -10px;
    top: -1px;
    background: transparent url('../img/btn-wine-bg.png') no-repeat left center;
  }
}

.wine-gallery-wrapper {
  position: relative;
  margin-top: 80px;
  padding: 0 60px;
  background-repeat: no-repeat;
}

.wine-gallery-wrapper .owl-wine-gallery .item {
  min-height: 390px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.wine-gallery-wrapper .owl-wine-gallery .item img {
  height: auto;
  width: auto;
  display: inline-block;
  vertical-align: bottom;
}

@media (max-width: 799.98px) {
  .wine-gallery-wrapper .owl-wine-gallery .item img {
    height: 400px;
  }
}

@media (max-width: 999.98px) {
  .wine-gallery-wrapper .owl-wine-gallery .item img {
    height: 450px;
  }
}

.wine-gallery-wrapper .owl-wine-gallery .item .text {
  margin-left: auto;
}

.wine-gallery-wrapper h2.category-name,
.wine-gallery-wrapper .owl-wine-gallery .text {
  text-align: left;
}

@media (max-width: 799.98px) {
  .wine-gallery-wrapper {
    background-position: 60px 60px;
  }
  .wine-gallery-wrapper h2.category-name {
    position: absolute;
    top: 460px;
    left: 60px;
    font-size: 40px;
    line-height: 100%;
  }
  .wine-gallery-wrapper .owl-wine-gallery .item {
    display: block;
    text-align: left;
  }
  .wine-gallery-wrapper .owl-wine-gallery .item img {
    margin-left: 30px;
  }
  .wine-gallery-wrapper .owl-wine-gallery .item .text {
    left: 0;
    width: 100%;
    position: relative;
    margin-top: 100px;
  }
}

@media (min-width: 800px) {
  .wine-gallery-wrapper {
    background-position: 60px bottom;
  }
}

.wine-gallery-wrapper .owl-wine-gallery .owl-prev {
  left: -60px;
}

.wine-gallery-wrapper .owl-wine-gallery .owl-next {
  right: -60px;
}

@media (min-width: 800px) {
  .wine-gallery-wrapper h2.category-name,
  .wine-gallery-wrapper .owl-wine-gallery .text {
    width: 350px;
    position: absolute;
  }
  .wine-gallery-wrapper h2.category-name {
    right: 60px;
    top: 40px;
  }
  .wine-gallery-wrapper .owl-wine-gallery .text {
    top: 140px;
    right: 0;
  }
}

@media (min-width: 1000px) {
  .wine-gallery-wrapper {
    max-width: 1200px; /* assuming limit-width mixin */
    padding: 0 90px;
    background-position: 90px bottom;
  }
  .wine-gallery-wrapper h2.category-name,
  .wine-gallery-wrapper .owl-wine-gallery .text {
    width: 500px;
  }
  .wine-gallery-wrapper h2.category-name {
    right: 90px;
    top: 140px;
  }
  .wine-gallery-wrapper .owl-wine-gallery .text {
    top: 260px;
  }
  .wine-gallery-wrapper .owl-wine-gallery .item {
    padding-left: 20px;
  }
  .wine-gallery-wrapper .owl-wine-gallery .owl-prev {
    left: -90px;
  }
  .wine-gallery-wrapper .owl-wine-gallery .owl-next {
    right: -90px;
  }
}

/* Background overrides for small screens */
@media (max-width: 799.98px) {
  #lagenweine {
    background-position: 30px 20px;
  }
  #wahrewerte, #wahrewerte-suess {
    background-position: 100px 10px;
  }
  #annodazumals {
    background-position: 70px 10px;
    background-size: auto 450px;
  }
}

/* Background overrides for large screens */
@media (min-width: 1000px) {
  #trinkvergnuegen {
    background-position: 150px 150px;
  }
  #lagenweine {
    background-position: 130px 100px;
  }
  #wahrewerte, #wahrewerte-suess {
    background-position: 240px 100px;
  }
  #annodazumals {
    background-position: 110px 70px;
  }
}

.wine-gallery-wrapper .owl-wine-gallery .item {
  position: relative;
}

.wine-gallery-wrapper .owl-wine-gallery img {
  width: auto;
}

.wine-gallery-wrapper .owl-wine-gallery .text h4 {
  font-size: 27px;
  line-height: 110%;
}

@media (min-width: 800px) {
  .wine-gallery-wrapper .owl-wine-gallery .text h4 {
    margin-bottom: 35px;
  }
}

@media (min-width: 1000px) {
  .wine-gallery-wrapper .owl-wine-gallery .text h4 {
    font-size: 30px;
  }
}

.wine-gallery-wrapper .owl-wine-gallery .text p {
  font-size: 16px;
  line-height: 110%;
  margin: 0;
}

@media (min-width: 800px) {
  .wine-gallery-wrapper .owl-wine-gallery .text p {
    font-size: 17px;
  }
}
          
  
/** Accordion **/

/* Accordion General */
.card {
  border: none;
}
.card .card-header {
  padding: 0;
  background: none;
  border: none;
}
.card .card-header h2 {
  margin-bottom: 0;
}
.card .card-header h2 a {
  position:relative;
  cursor: pointer;
  font-size: 30px;
  text-align: left;
  text-transform: uppercase;
  padding-bottom: 20px;
  margin-bottom: 10px;
  display: block;
  border-bottom: 1px solid #212529; /* assuming $body-color = #212529 */
}
.card .card-header h2 a i.fa {
  position: absolute;
  right: 0;
  top: 2px;
  background: url('assets/img/arrow-bg.png') no-repeat;
  background-size: 34px 31px;
  width: 34px;
  height: 31px;
  color: white;
  font-size: 22px;
  padding: 4px;
}
.card .card-header h2 a i.fa:before {
  content: "\f062"; /* assuming $fa-var-arrow-up = \f062 */
}
.card .card-header h2 a.collapsed i.fa:before {
  content: "\f063"; /* assuming $fa-var-arrow-down = \f063 */
}

/* Large screens */
@media (min-width: 992px) {
  .card .card-header h2 a {
    font-size: 35px;
  }
  .card .card-header h2 a:hover {
  color:rgb(20, 22, 23);
  }
  .card .card-header h2 a i.fa {
    font-size: 35px;
    background-size: auto;
    width: 51px;
    height: 47px;
    padding: 7px;
  }
}

/* #mediaAccordion */
#mediaAccordion .card .card-body {
  padding: 30px 0 40px 0;
  text-align:center;

}
#mediaAccordion .card .card-body a {
  vertical-align: top;
  display: inline-block;
  margin: 7.5px;
  width: 160px;
}
#mediaAccordion .card .card-body a img {
  margin: 0;
}
#mediaAccordion .card .card-body a h4 {
  font-size: 15px;
  text-transform: uppercase;
  margin: 5px 0 0 0;
}
#mediaAccordion .card .card-body a span {
  font-size: 13px;
}
@media (min-width: 768px) {
  #mediaAccordion .card .card-body a {
    width: 200px;
  }
}
@media (min-width: 992px) {
  #mediaAccordion .card .card-body a {
    width: 240px;
  }
}

/* #partnerAccordion */
#partnerAccordion .card .card-body {
  padding: 1.25rem 0;
}
#partnerAccordion .card .card-body .partner {
  margin-bottom: 20px;
}
#partnerAccordion .card .card-body h4,
#partnerAccordion .card .card-body ul {
  font-size: 14px;
}
@media (min-width: 992px) {
  #partnerAccordion .card .card-body h4,
  #partnerAccordion .card .card-body ul {
    font-size: 18px;
  }
}
#partnerAccordion .card .card-body h4 {
  font-family: inherit; /* assuming $font-family-base = inherit or similar */
  text-align: left;
  font-weight: 600;
  margin: 0 0 2px 0;
}
#partnerAccordion .card .card-body ul {
  list-style: none;
  margin: 0 0 5px 0;
  padding: 0;
  text-align: left;
}
#partnerAccordion .card .card-body ul li {
  margin-bottom: 2px;
}
#partnerAccordion .card .card-body ul label {
  margin: 0;
}
#partnerAccordion .card .card-body ul span {
  float: right;
}
@media (max-width: 576px) {
  #partnerAccordion .card .card-body ul label,
  #partnerAccordion .card .card-body ul span {
    display: block;
    float: none;
  }
  #partnerAccordion .card .card-body ul label {
    margin-top: 10px;
  }
}
