/*
Theme Name: SP Theme
Theme URI: https://cms3.ru/wordpress-pustaya-tema/
Author: Alex Kuimov
Author URI: https://cms3.ru
Description: The blank wordpress theme
Version: 1.0.0
Text Domain: sp-theme
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/*WordPress Core*/
.footer-top{
    height: 250px!important; /* Еще больше уменьшаем высоту */
    background-color: #808080; /* Серый цвет фона для футера */
    padding: 30px 0!important; /* Уменьшаем внутренние отступы */
}
/* Увеличенный размер текста в футере */
.footer-top * {
    font-size: 16px; /* Немного уменьшили с 18px */
}
/* Уменьшаем расстояние между элементами в футере */
.footer-top a, 
.footer-top p,
.footer-top div {
    margin-bottom: 8px!important; /* Меньше расстояние между пунктами */
    line-height: 1.3!important; /* Уменьшаем межстрочный интервал */
}
/* Нижняя часть футера с копирайтом */
.footer-bottom {
    padding: 10px 0!important;
}
/* Уменьшаем отступы между заголовками и пунктами меню */
.footer-top h3, 
.footer-top h4,
.footer-top .footer-heading {
    margin-bottom: 15px!important;
}
.client, .padding{
    padding-bottom: 60px;
    padding-top: 100px;
}
.single{
    margin-bottom: 40px;
}
@media (max-width: 1600px) {
    .nav .bottom-menu>li ul {
        width: 100%!important;
    }
}
.content{
	text-align: left!important;
}
.header-title:before{
	background-color: rgb(218, 165, 32);
}
.header-title:after {
	background-color: rgb(218, 165, 32);
}
.legislation-table{
	margin-top: 0!important;
}
.nav .bottom-menu>li ul a:not(.menu-extra__image):not(.menu-extra__list-item):hover{
	color: rgb(218, 165, 32);
}
html{
	opacity: 1; /* Изменено с 0 на 1, чтобы сделать страницу видимой */
}
@media (max-width: 1600px) {
  .nav .bottom__logo {
    width: 60px!important;
    height: 60px;
  }
}
.home-header__list-item img{
	max-width: 80px!important;
	width:100%;
}
.nav .bottom__logo{
	width: 100%!important;
	height: 100%!important;
	    max-width: 50px;
}

.nav .bottom-menu{
	height: 96px!important;
}

.home-header__list-item-action{
	justify-content: center!important
}
.home-header__list-item{
	text-align: center
}

.home-header__list-item img{
	margin: 0 auto
}

.nav .bottom-menu>li a{
	padding: 41px 0!important;
}

/* Улучшенная полупрозрачность для карточек */
.entry-card,
.home-block,
article.type-page .entry-content > div,
.wp-block-column,
.wp-block-group,
[class*="service-block"],
[class*="category-block"],
.home-card,
.legislation-info,
.legislation-table,
.content-inner,
.table-responsive {
    background-color: rgba(255, 255, 255, 0.4) !important; /* Более прозрачный белый фон (было 0.7) */
    backdrop-filter: blur(3px); /* Уменьшенный эффект размытия (было 5px) */
    -webkit-backdrop-filter: blur(3px); /* Для Safari */
    border-radius: 8px; /* Скругленные углы для элегантности */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Легкая тень для объема */
    transition: all 0.3s ease; /* Плавное изменение при наведении */
}

/* При наведении делаем карточки менее прозрачными */
.entry-card:hover,
.home-block:hover,
article.type-page .entry-content > div:hover,
.wp-block-column:hover,
.wp-block-group:hover,
[class*="service-block"]:hover,
[class*="category-block"]:hover,
.home-card:hover {
    background-color: rgba(255, 255, 255, 0.75) !important; /* Было 0.9 */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px); /* Легкий эффект "поднятия" при наведении */
}

/* Для фоновых изображений */
body {
    background-attachment: fixed !important; /* Фиксированный фон при прокрутке */
    background-size: cover !important; /* Растягиваем фон на всю страницу */
}

/* Обеспечиваем контрастность текста в карточках */
.entry-card *,
.home-block *,
article.type-page .entry-content > div *,
.wp-block-column *,
.wp-block-group *,
[class*="service-block"] *,
[class*="category-block"] *,
.home-card * {
    position: relative; /* Для лучшего наложения на фон */
    z-index: 2;
    text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.8); /* Добавляем легкую тень для лучшей читаемости */
}

/* Таблицы для законодательных актов */
.legislation-table table {
    background-color: transparent !important;
}

.legislation-table th {
    background-color: rgba(218, 165, 32, 0.2) !important;
}

.legislation-table tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.2) !important; /* Было 0.3 */
}

.legislation-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.legislation-table tr:hover {
    background-color: rgba(218, 165, 32, 0.1) !important;
}

.nav.sticky .bottom__logo{
	height: 100%!important
}

.have-item__image:after {
    content: '';
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, #f3f3f338 0, rgba(243, 243, 243, 0.8) 100%)!important;
    -webkit-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

.home-more__inner:after{
	border: 2px solid rgb(218, 165, 32)!important
}
.footer__menu>li ul li a{
	font-size: 14px!important
}

.nav .bottom-menu>li:hover>a{
	color: rgb(218, 165, 32)!important
}

.home-more{
	margin-bottom: 40px
}

.footer__menu>li>a{
	margin-bottom: 25px!important
}

.spoiler-title{
	padding: 20px 0;
    border-bottom: 1px solid #daa520;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
	cursor: pointer
}

.spoiler-content{
	display: none
}

.grid-m{
	display: grid;
	grid-template-columns: repeat(1,1fr);
	gap:10px;
	
}

.grid-t{
	max-width: 800px;
/* 	margin: 0 auto; */
	border: 1px solid #Daa520;
	padding: 15px;
	border-radius: 8px;
	width: 100%;

}

.pagination .page-numbers.current:before {
	background-image: url('https://zakonarena.com/wp-content/themes/sp/imgs/page-cur-2.svg')!important;
		transform: rotate(0deg)!important;
}
.pagination .page-numbers.current:after {
	background-image: url('https://zakonarena.com/wp-content/themes/sp/imgs/page-cur-1.svg')!important
}
@media(max-width: 992px){
	.grid-m{
		grid-template-columns: repeat(1,1fr);
	}
}

.news-item:hover .news-item__title{
	color: #Daa520!important
}

.pagination .page-numbers.next:hover, .pagination .page-numbers.prev:hover{
	background-image: url('https://legalaid.gov.ua/wp-content/themes/legalaidTheme/assets/img/icons/pagination-arrow.svg')!important
}

@media(max-width: 992px){
	.home-header__list-item img{
		margin: 0!important
	}
	.home-header__list-item{
		justify-content: flex-start!important;
		gap:20px;
	}
	.home-header__list-item-action{
		justify-content: flex-start!important
	}
	
}

@media(max-width: 768px){
	.nav .bottom__logo{
		max-width: 39px
	}
	.nav.sticky{
		height: 72px!important
	}
}

.nav.sticky{
	height: 90px!important
}
.content ul li:before{
	background: rgb(218, 165, 32)!important
}

.footer__card{
	padding-left: 0px!important
}
.nav .bottom{
	align-items: center!important
}

.btnn{
	display: inline-block;padding: 15px; margin-top: 15px; margin-bottom: 15px; background: rgb(218, 165, 32); color:#fff; border-radius: 8px
}

.nav .bottom-menu>li ul{
	width: 100%!important
}

@media (max-width: 960px){
	.footer-top{
		height: 100%!important;
	}
}