.ast-header-html-1 {position:absolute; display:block; top:20px;}
.ast-header-html-2 {position:absolute; display:block; top:20px;}
/* === Прижимаем ДЕСКТОПНОЕ меню вниз === */

.ast-header-html-1 .ast-builder-html-element a, .ast-header-html-2 .ast-builder-html-element p {color:#fff; transition: 0.6s all;}
.ast-header-html-1 .ast-builder-html-element a:hover {color:#D7B685;  transition: 0.6s all;}

/* Главная строка шапки */
.ast-primary-header-bar {
  display: flex !important;
  align-items: flex-end !important;
  height: 140px !important; /* можешь подогнать по высоте */
  padding-bottom: 10px !important;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0, rgba(0, 0, 0, 0) 140px)!important;
}

/* Контейнер с сеткой */
.ast-primary-header-bar .ast-builder-grid-row {
  align-items: flex-end !important;
}

/* Левый, центральный и правый блоки — чтобы не мешали центровке */
.site-header-section {
  align-items: flex-end !important;
}

/* Логотип и меню */
.ast-site-identity,
.ast-builder-menu,
.ast-builder-menu-1,
.ast-builder-menu-2 {
  align-self: flex-end !important;
}

/* Мелкая коррекция, если Astra добавляет внутренние отступы */
.ast-primary-header-bar .main-header-bar-navigation {
  margin-top: auto !important;
}


 
        
        .logo-container {
            width: 200px;
            height: 100px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
			top:15px;
        }
        
        .logo-image {
            height: 48px;
            width: auto;
            margin-bottom: 5px;
        }
        
        .club-name {
            font-size: 9.5px;
            letter-spacing: 2.8px;
            color: #F4D03F;
            font-weight: 300;
            margin: 0 0 2px 0;
            text-transform: uppercase;
            text-shadow: 0 0 8px rgba(244, 208, 63, 0.5);
        }
        
        .divider {
            width: 65px;
            height: 0.5px;
            background: linear-gradient(to right, transparent, #F4D03F, transparent);
            margin: 2px 0;
            opacity: 0.5;
        }
        
        .city-name {
            font-size: 7px;
            letter-spacing: 3.5px;
            color: #F4D03F;
            font-weight: 300;
            margin: 2px 0 0 0;
            text-transform: uppercase;
            opacity: 0.75;
            text-shadow: 0 0 6px rgba(244, 208, 63, 0.4);
        }
		
		
 
 
.n2-ss-item-content {
  margin:0px auto!important;	
  width: 574px!important;
  height: 574px!important;
  background: url(https://kaunislahti.fi/images/main-top-bg.png) 0 0 no-repeat!important;
  opacity: .75!important;
}


.n2-ss-item-content p {padding-top:150px!important;
  font-size: 50px!important;
  line-height: 65px!important;
  text-transform: uppercase!important;
  font-weight: 600;
  font-family: 'Playfair Display',serif!important;
}

.n2-ss-item-content p::before {
  content: "";
  display: block!important;
  width: 200px!important;
  height: 75px!important;
  margin: 0 auto 10px!important;
  background-image: url("https://kaunislahti.fi/images/LogoPNGsmall.png");
  background-size: contain!important;
  background-repeat: no-repeat!important;
  background-position: center!important;
  z-index:999999999!important;
}

.n2-ss-item-content p::after {
  content: "";
  display: block!important;
  width: 150px!important;
  height: 60px!important;
  margin: 0 auto 10px!important;
  background-image: url("https://kaunislahti.fi/images/fic.png");
  background-size: contain!important;
  background-repeat: no-repeat!important;
  background-position: center!important;
  z-index:999999999!important;
}


.girls {
  width: 100%;
  background-image: url("https://kaunislahti.fi/images/woman.jpg");
   background-position: center;
}

.slog::after {
  content: "";
  display: block!important;
  width: 150px!important;
  height: 60px!important;
  margin: 0 auto 10px!important;
  background-image: url("https://kaunislahti.fi/images/fic.png");
  background-size: contain!important;
  background-repeat: no-repeat!important;
  background-position: center!important;
  z-index:999999999!important;
}

.pros-tmb a {text-decoration:none!important;}

.pros-tmb-pic {
  width: 305px;
  height: 305px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url(https://kaunislahti.fi/images/pros-pic-bg.png) 0 0 no-repeat;

    background-size: auto;

  background-size: 100% 100%;
  margin: 0 0 1px 0;

}

.pros-tmb-pic img {max-width:110px;}
.pros-tmb .h3 {
  font-size: 14px;
  line-height: 24px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 0;
  font-weight: normal;
color:#fff;
text-align:center;}

.limited {max-width:1200px;}
.linkg {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
  box-sizing: border-box;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.5rem;
  z-index: 0; /* создаём контекст наложения */
}

/* Фон */
.linkg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://kaunislahti.fi/images/girls.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: center center;
  transition: transform 1.0s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
  z-index: -1; /* остаётся позади текста, но внутри контекста */
}

/* Внутренняя золотая рамка */
.linkg::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(215, 182, 133, 0.5);
  pointer-events: none;
  box-sizing: border-box;
  z-index: 1;
}

/* Эффект увеличения */
.linkg:hover::before {
  transform: scale(1.28);
}

.zina {
  position: absolute;
  bottom: 30px;
  right: 50px;
  color: white;
}

.zina a {
  position: relative; /* <-- нужно! чтобы ::before выровнялся по кнопке */
  display: inline-block;
  border: 2px solid #d7b685;
  font-size: 16px;
  line-height: 24px;
  font-weight: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  padding: 12px 40px 10px 40px;
  text-decoration: none!important;
  box-shadow: none;
  transition: 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
}

.zina a::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border: 1px solid rgba(211, 169, 108, 0.3);
  pointer-events: none;
  transition: border-color 0.6s;
}


.zina a:hover {
  transform: scale(1.03);
  border-color: #ebd2ad;
  background: #d7b685;
  color: #fff;
}

.map-with-contacts {
    position: relative;
    width: 100%;
    height: 650px;
}

.dark-theme-map {
    border: 0;
    filter: grayscale(100%) invert(90%) hue-rotate(180deg) contrast(85%);
    display: block;
    width: 100%;
    height: 100%;
}

.contacts-overlay {
    position: absolute;
    bottom: 0px;
    left: 120px;
    background: url('https://kaunislahti.fi/images/lines.png') repeat;
    padding: 25px;
    border-radius: 12px;
    max-width: 320px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.contacts-descr {
    color: #fff;
    font-family: Arial, sans-serif;
    line-height: 1.4;
}

.contacts-title {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: bold;
	text-align:center!important;
}

.contacts-phone {
    margin-bottom: 15px;
}

.phone-link {
    color: #fff;
    text-decoration: none!important;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #555;
    text-decoration: underline;
}

.address {
    margin: 0 0 15px 0;
}

.working-hours {
    margin: 0 0 15px 0;
}

.notice {
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 1.4;
}

.age-warning {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .map-with-contacts {
        height: 800px;
    }
    
    .contacts-overlay {
        position: relative;
        top: auto;
        right: auto;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }
    
    .contacts-title {
        font-size: 20px;
    }
    
    .phone-link {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .contacts-overlay {
        padding: 20px 15px;
    }
    
    .contacts-title {
        font-size: 18px;
    }
}



.gals {
  position: relative;
  width: 100%;
  background-image: url("https://kaunislahti.fi/images/pylon2.jpg");
  background-size: cover;        /* растягивает фон по ширине, сохраняя пропорции */
  background-position: center;   /* центрирует */
  background-repeat: no-repeat;  /* не повторяет */
  color: white;                  /* если есть текст */
  padding: 60px 20px;            /* внутренние отступы, чтобы контент не прилипал к краям */
  box-sizing: border-box;        /* безопасные размеры */
}

