/*------------------------------------------------------------------
[ AB Icon Card ]
------------------------------------------------------------------*/
.ab-card-links >.wpb_column >.vc_column-inner{
	padding-left: 7.5px;
	padding-right: 7.5px;
}
.ab-card-links{
	padding-left: 7.5px;
	padding-right: 7.5px;
}
.ab-icon-card-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
	background: #1c1c1c;
	border-radius: 15px;
	padding: 30px 20px;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 15px;
	transition: color 0.3s ease-in-out;
	outline: none!important;
}
.ab-icon-card-wrap::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 15px;
	background: linear-gradient(90deg, var(--ab-main-color), var(--ab-main-alt));
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	z-index: 0;
}
.ab-icon-card-wrap:hover::before, .ab-active .ab-icon-card-wrap::before {
	opacity: 1;
}
.ab-icon-card-wrap:hover, .ab-active .ab-icon-card-wrap, .ab-active .ab-icon-card-wrap a {
	color: #ffffff!important;
}
.ab-icon-card-wrap > * {
	position: relative;
	z-index: 1;
}
.ab-icon-card-wrap:hover a, .ab-icon-card-wrap:hover .ab-ic-sub-text{
	color: #ffffff!important;
}

.ab-ic-image-col {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ab-ic-image {
	width: 44px;
	height: 44px;
	object-fit: contain;
	display: block;
}

.ab-ic-divider {
	width: 1px;
	height: 60px;
	background: rgba(255, 255, 255, 0.18);
	flex-shrink: 0;
}

.ab-ic-content-col {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.ab-ic-title {
	color: #ffffff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.5px;
	display: block;
}

.ab-ic-sub-link,
.ab-ic-sub-text {
	font-size: 16px;
	line-height: 1.3;
	text-decoration: none;
	display: block;
}

.ab-ic-sub-link::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
}
.ab-ic-sub-link:hover {
	text-decoration: underline;
	opacity: 0.85;
}
.page-id-3154 .ab-ic-sub-link:hover {
	color: #5a5727!important;
	opacity: 0.85;
}

/* Arrow — top right corner */
.ab-ic-arrow {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.35;
	pointer-events: none;
}

.ab-ic-arrow svg {
	width: 22px;
	height: 22px;
}

/*------------------------------------------------------------------
[ AB Icon Card Social — социални иконки вместо линк ]
------------------------------------------------------------------*/
.ab-ic-social-links {
	display: flex;
	align-items: center;
	gap: 0;
}

.ab-ic-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
	position: relative;
	z-index: 2;
}

.ab-ic-social-link:hover {
	color: #ffffff;
	opacity: 1;
}
.page-id-3154 .ab-ic-social-link:hover{
	color: #5a5727!important;
}

.ab-icon-card-wrap:hover .ab-ic-social-link {
	color: rgba(255, 255, 255, 0.75);
}

.ab-icon-card-wrap:hover .ab-ic-social-link:hover {
	color: #ffffff;
}

.ab-ic-social-sep {
	width: 1px;
	height: 18px;
	background: rgba(255, 255, 255, 0.2);
	flex-shrink: 0;
}

/*------------------------------------------------------------------
[ AB Icon Card Popup — lightbox overlay ]
------------------------------------------------------------------*/
.ab-icon-card-wrap[data-ab-popup-img] {
	cursor: pointer;
}

#ab-ic-popup-overlay {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	z-index: 99;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

#ab-ic-popup-overlay.ab-ic-popup--open {
	opacity: 1;
	pointer-events: auto;
}

.ab-ic-popup-box {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: scale(0.92);
	transition: transform 0.25s ease;
}

#ab-ic-popup-overlay.ab-ic-popup--open .ab-ic-popup-box {
	transform: scale(1);
}

#ab-ic-popup-img {
	display: block;
	max-width: 90vw;
	max-height: 90vh;
	width: auto;
	height: auto;
	border-radius: 30px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.ab-ic-popup-close {
	position: absolute;
    top: auto;
    bottom: -40px;
    right: auto;
    left: auto;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--ab-main-color);
    color: #ffffff;
    border: none;
    font-size: 40px;
    line-height: 50px;
    cursor: pointer;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    padding: 0;
    z-index: 1;
    transition: background 0.5s ease;
}

.ab-ic-popup-close:hover {
	background: var(--ab-main-alt);
}
