.gym-location {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.location-wrapper {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0;
    position: relative;
}

.location-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.gym-location .container {
    position: relative;
    z-index: 2;
}

.location-main-title {
    margin-bottom: 48px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

/* Контейнер для двох блоків */
.location-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Вертикальна синя лінія (дівайдер) між блоками */
.location-grid::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: #3571e5;
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 5;
}

/* Окремі білі блоки */
.location-inner {
    flex: 1 1 50%;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

/* Деталі всередині блоку */
.location-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.location-item img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.location-item p {
    font-size: 18px;
    line-height: 1.5;
    color: #444;
    margin: 0;
}

.location-item a {
    color: #444;
    transition: color 0.3s ease;
    line-height: 1.5;
    display: inline-block;
    text-decoration: none;
}

.location-item a:hover,
.location-item a:focus {
    color: #007BFF;
    outline: none;
}

/* Адаптив */
@media (max-width: 992px) {
    .location-grid {
        flex-direction: column;
        gap: 40px;
    }

    .location-grid::before {
        display: none;
    }

    .location-inner {
        flex: 1 1 100%;
    }

    .location-main-title {
        font-size: 32px;
        margin-bottom: 48px;
    }
}

@media (max-width: 576px) {
    .gym-location {
        padding: 60px 0;
    }

    .location-wrapper {
        padding: 80px 0;
    }

    .location-inner {
        padding: 24px;
    }

    .location-main-title {
        font-size: 28px;
    }

    .location-item img {
        width: 22px;
        height: 22px;
    }

    .location-item p {
        font-size: 16px;
    }
}

.input-item:focus-within label,
.input-item.filled label {
  font-size: 16px;
  top: -5px;
}

.header {
	position: sticky;
	background-color: white;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.admin-bar .header{
	top: 32px;
}

@media screen and (max-width: 991.98px) {
    .header .flex-right .header-inner {
        padding: 10px 20px; 
    }
	
	.header .flex-right .top-control {
        margin-bottom: 40px;
    }
}

.header-inner .close-menu{
	width: 45px;
	height: 45px;
}

.header-inner .close-menu img{
	width: 100%;
	height: 100%;
}

.consult-form h2,
.more-news h2 {
	font-size: 38px;
}

@media screen and (max-width: 575.98px) {
    .consult-form h2,
	.more-news h2{
        font-size: 32px;
		max-width: none;
    }
}

.consult-form .form-block {
	width: 100%;
	max-width: 550px;
}

/* seo-block */

.seo-text {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.seo-text__title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: #111;
    margin-bottom: 30px;
    line-height: 1.3;
}

.seo-text__content {
    position: relative;
    height: 180px; /* початковий collapsed height */
    overflow: hidden;
    transition: height 0.5s ease;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

/* Градієнт для закритого стану */
.seo-text__content.hidden-gradient::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(248, 248, 248, 0), #f8f8f8);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.seo-text__content:not(.hidden-gradient)::after {
    opacity: 0;
}

.seo-text-toggle {
    display: block;
    margin: 20px auto 0;
    padding: 12px 32px;
    font-size: 16px;
    background-color: #111;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.seo-text-toggle:hover {
    background-color: #222;
}

.contacts .contact-block .contact-items{
	width:100%;
}

@media (max-width: 768px) {
    .seo-text__title {
        font-size: 24px;
    }
    .seo-text__content {
        font-size: 16px;
    }
    .seo-text-toggle {
        font-size: 14px;
        padding: 10px 24px;
    }
}

.sitemap-page {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Inter', 'Arial', sans-serif;
    color: #1e1e2d;
    background: #fff;
}

.sitemap-page h1 {
    font-weight: 700;
    font-size: 38px;
    margin-bottom: 48px;
    color: #00214d;
    text-align: center;
}

.sitemap-page section {
    margin-bottom: 48px;
}

.sitemap-page h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    border-left: 4px solid #00214d;
    padding-left: 12px;
    color: #00214d;
}

.sitemap-page ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0 0 24px 0;
}

.sitemap-page li {
    margin-bottom: 12px;
}

.sitemap-page a {
    text-decoration: none;
    color: #1e1e2d;
    transition: color 0.25s ease;
    font-size: 16px;
    display: inline-block;
}

.sitemap-page a:hover,
.sitemap-page a:focus {
    color: #004080;
    outline: none;
}

@media (max-width: 768px) {
    .sitemap-page {
        margin: 40px 15px;
    }

    .sitemap-page h1 {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .sitemap-page h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .sitemap-page li {
        margin-bottom: 10px;
    }

    .sitemap-page a {
        font-size: 15px;
    }
}

