/* ============================================
   News slider — [show_custom_news]
   ============================================ */
.ma-news-section {
	--ma-gold: var(--main-color, #e2ad42);
	--ma-gold-2: var(--main-red-color, #e93c50);
	font-family: var(--ma-font-body, "Inter", sans-serif);
	background: linear-gradient(135deg, var(--ma-news-bg-1, #202020) 0%, var(--ma-news-bg-2, #121212) 100%);
	padding: 80px 20px;
	direction: ltr;
	overflow: hidden;
	position: relative;
	border-radius: 24px;
	margin: 30px auto;
	max-width: 1200px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
	box-sizing: border-box;
}
.ma-news-section *, .ma-news-section *::before, .ma-news-section *::after { box-sizing: border-box; }

.ma-news-section::before {
	content: "";
	position: absolute;
	top: -100px;
	left: -100px;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, color-mix(in srgb, var(--ma-gold) 14%, transparent) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}
.ma-news-section::after {
	content: "";
	position: absolute;
	bottom: -100px;
	right: -100px;
	width: 350px;
	height: 350px;
	background: radial-gradient(circle, color-mix(in srgb, var(--ma-gold-2) 12%, transparent) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.ma-news-header { text-align: center; margin-bottom: 50px; position: relative; z-index: 2; }

.ma-news-tag {
	display: inline-block;
	background: color-mix(in srgb, var(--ma-gold) 15%, transparent);
	border: 1px solid color-mix(in srgb, var(--ma-gold) 32%, transparent);
	color: var(--ma-gold);
	padding: 6px 18px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 20px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.ma-news-section .ma-news-title {
	color: #fff !important;
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 800;
	margin: 0 0 15px;
	line-height: 1.25;
	letter-spacing: -.01em;
}
.ma-news-title .ma-gold-text {
	background: linear-gradient(135deg, var(--ma-gold) 0%, color-mix(in srgb, var(--ma-gold) 55%, var(--ma-gold-2)) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.ma-news-subtitle {
	color: rgba(255, 255, 255, .7) !important;
	font-size: 16px;
	max-width: 650px;
	margin: 0 auto;
	line-height: 1.75;
}

.ma-slider-container { max-width: 1200px; margin: 0 auto; position: relative; padding: 0 50px; z-index: 2; }

.ma-news-card {
	background: linear-gradient(135deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .03) 100%);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	transition: transform .4s cubic-bezier(.4, 0, .2, 1), box-shadow .4s, border-color .4s;
	position: relative;
	animation: maFadeInUp .6s ease-out backwards;
}
.ma-news-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, transparent 0%, var(--ma-gold) 50%, transparent 100%);
	opacity: 0;
	transition: opacity .4s ease;
	z-index: 3;
}
.ma-news-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0, 0, 0, .4); border-color: color-mix(in srgb, var(--ma-gold) 32%, transparent); }
.ma-news-card:hover::before { opacity: 1; }

.ma-card-image-wrapper { position: relative; overflow: hidden; height: 220px; }
.ma-card-image-wrapper > a { display: block; height: 100%; }
.ma-card-image-wrapper::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .55) 100%);
	pointer-events: none;
}
.ma-news-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.ma-news-card:hover .ma-news-card-img { transform: scale(1.06); }

.ma-photo-placeholder {
	background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.ma-photo-placeholder::before { content: "🇦🇲"; font-size: 48px; opacity: .3; }

.ma-card-category {
	position: absolute;
	top: 15px;
	right: 15px;
	background: var(--ma-gold);
	color: #171717 !important;
	padding: 5px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	z-index: 2;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.ma-news-section .ma-card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.ma-news-section .ma-card-body h3 {
	color: #fff !important;
	margin: 0 0 12px;
	font-size: 18px;
	line-height: 1.45;
	font-weight: 700;
	font-family: var(--ma-font-heading, inherit);
}
.ma-news-section .ma-card-body h3 a { color: #fff !important; text-decoration: none; transition: color .3s ease; }
.ma-news-section .ma-card-body h3 a:hover { color: var(--ma-gold) !important; }
.ma-news-section .ma-card-body p {
	color: rgba(255, 255, 255, .68) !important;
	font-size: 14.5px;
	line-height: 1.75;
	margin: 0 0 20px;
	flex-grow: 1;
}

.ma-news-section .ma-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .08);
	gap: 10px;
}
.ma-read-more {
	color: var(--ma-gold) !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all .3s ease;
	padding: 8px 16px;
	border-radius: 8px;
	background: color-mix(in srgb, var(--ma-gold) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--ma-gold) 22%, transparent);
}
.ma-read-more:hover { background: color-mix(in srgb, var(--ma-gold) 20%, transparent); color: var(--ma-gold) !important; }
.ma-read-more .ma-arrow { transition: transform .3s ease; font-size: 16px; }
.ma-read-more:hover .ma-arrow { transform: translateX(4px); }
.ma-card-date { font-size: 13px; color: rgba(255, 255, 255, .5) !important; display: flex; align-items: center; gap: 6px; }

.ma-news-section .swiper-button-next,
.ma-news-section .swiper-button-prev {
	width: 50px !important;
	height: 50px !important;
	background: color-mix(in srgb, var(--ma-gold) 10%, transparent) !important;
	border: 1px solid color-mix(in srgb, var(--ma-gold) 30%, transparent) !important;
	border-radius: 50% !important;
	color: var(--ma-gold) !important;
	transition: all .3s ease;
	cursor: pointer;
	top: 45%;
}
.ma-news-section .swiper-button-prev { left: 0; }
.ma-news-section .swiper-button-next { right: 0; }
.ma-news-section .swiper-button-next:hover,
.ma-news-section .swiper-button-prev:hover { background: color-mix(in srgb, var(--ma-gold) 20%, transparent) !important; transform: scale(1.08); }
.ma-news-section .swiper-button-next::after,
.ma-news-section .swiper-button-prev::after { font-size: 18px !important; font-weight: 700 !important; }

.ma-news-section .swiper-pagination { position: relative !important; margin-top: 40px; bottom: 0 !important; }
.ma-news-section .swiper-pagination-bullet {
	width: 10px !important;
	height: 10px !important;
	background: rgba(255, 255, 255, .22) !important;
	opacity: 1 !important;
	transition: all .3s ease;
	margin: 0 5px !important;
}
.ma-news-section .swiper-pagination-bullet-active {
	width: 30px !important;
	background: var(--ma-gold) !important;
	border-radius: 5px !important;
}
.ma-swiper-wrapper { padding-bottom: 20px; }
.ma-news-section .swiper-slide { height: auto !important; display: flex; }

.ma-no-posts {
	color: rgba(255, 255, 255, .7) !important;
	text-align: center;
	padding: 40px 20px;
	font-size: 16px;
	background: rgba(255, 255, 255, .05);
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, .1);
	position: relative;
	z-index: 2;
	max-width: 640px;
	margin: 0 auto;
}

@keyframes maFadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
	.ma-news-section { padding: 60px 20px; margin: 25px 0; }
	.ma-slider-container { padding: 0 30px; }
}
@media (max-width: 768px) {
	.ma-news-section { padding: 50px 15px; margin: 20px 0; border-radius: 18px; }
	.ma-news-header { margin-bottom: 35px; }
	.ma-news-section .ma-news-title { font-size: 24px !important; }
	.ma-news-subtitle { font-size: 14.5px; }
	.ma-slider-container { padding: 0; }
	.ma-news-section .swiper-button-next, .ma-news-section .swiper-button-prev { display: none !important; }
	.ma-card-image-wrapper { height: 200px; }
	.ma-news-section .ma-card-body { padding: 20px; }
	.ma-news-section .ma-card-body h3 { font-size: 16.5px; }
	.ma-news-section .ma-card-body p { font-size: 14px; }
	.ma-news-card:hover, .ma-news-card:hover .ma-news-card-img { transform: none; }
}
@media (max-width: 480px) {
	.ma-news-section { padding: 40px 12px; }
	.ma-news-section .ma-news-title { font-size: 22px !important; }
	.ma-news-tag { font-size: 12px; padding: 5px 14px; }
	.ma-news-section .ma-card-body { padding: 18px; }
	.ma-news-section .ma-card-footer { flex-direction: column-reverse; gap: 12px; align-items: stretch; }
	.ma-read-more, .ma-card-date { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ma-news-card { animation: none; } }
.ma-card-image-wrapper { height: auto; aspect-ratio: 16 / 9; }
.ma-card-image-wrapper .ma-photo-placeholder { height: 100%; }
@media (max-width: 768px) { .ma-card-image-wrapper { height: auto; } }
