/*
Theme Name: ELAZGRUP
Theme URI: https://elaz.info
Author: ELAZGRUP
Description: Professional news theme for ELAZGRUP.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: elazgrup
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* =========================================================
   ROOT
========================================================= */

:root {
	--elaz-red: #d71920;
	--elaz-red-dark: #b51218;
	--elaz-navy: #0b1f3a;
	--elaz-black: #111111;
	--elaz-text: #222222;
	--elaz-muted: #777777;
	--elaz-border: #e5e5e5;
	--elaz-light: #f5f5f5;

	--elaz-container: 1280px;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;

	background: #fff;
	color: var(--elaz-text);

	font-family:
		Inter,
		Arial,
		Helvetica,
		sans-serif;

	font-size: 15px;
	line-height: 1.6;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

button,
input,
textarea,
select {
	font: inherit;
}

button {
	cursor: pointer;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.screen-reader-text {
	position: absolute !important;

	width: 1px;
	height: 1px;

	padding: 0;
	margin: -1px;

	overflow: hidden;
	clip: rect(0, 0, 0, 0);

	white-space: nowrap;
	border: 0;
}


/* =========================================================
   CONTAINER
========================================================= */

.elaz-container,
.container {
	width: min(
		var(--elaz-container),
		calc(100% - 40px)
	);

	margin-left: auto;
	margin-right: auto;
}


/* =========================================================
   HEADER
========================================================= */

.elaz-header {
	width: 100%;
	background: #fff;
}


/* =========================================================
   TOP BAR
========================================================= */

.elaz-topbar {
	width: 100%;

	background: var(--elaz-navy);
	color: #fff;
}

.elaz-topbar-inner {
	min-height: 42px;

	display: flex;
	align-items: center;

	gap: 20px;
}


/* DATE */

.elaz-top-date {
	flex: 0 0 auto;

	display: flex;
	align-items: center;

	white-space: nowrap;

	color: #fff;
}

.elaz-top-date strong {
	display: block;

	color: #fff;

	font-size: 14px;
	font-weight: 700;

	line-height: 1.2;
}


/* TOP MENU */

.elaz-top-menu {
	flex: 1;
	min-width: 0;
}

.elaz-top-menu ul {
	display: flex;
	align-items: center;
	justify-content: center;

	margin: 0;
	padding: 0;

	list-style: none;
}

.elaz-top-menu li {
	margin: 0;
	padding: 0;
}

.elaz-top-menu a {
	display: flex;
	align-items: center;

	min-height: 42px;

	padding: 0 10px;

	color: #fff;

	font-size: 10px;
	font-weight: 700;

	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;

	transition:
		background .2s ease,
		color .2s ease;
}

.elaz-top-menu a:hover,
.elaz-top-menu .current-menu-item > a,
.elaz-top-menu .current-menu-ancestor > a {
	background: var(--elaz-red);
	color: #fff;
}


/* =========================================================
   SOCIAL
========================================================= */

.elaz-social {
	flex: 0 0 auto;

	display: flex;
	align-items: center;

	gap: 5px;
}

.elaz-social-link {
	width: 36px;
	height: 36pxpx;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 50%;

	background: rgba(255, 255, 255, .10);
	color: #fff;

	font-size: 16px;
	font-weight: 700;

	line-height: 1;
	text-decoration: none;

	transition:
		background .2s ease,
		transform .2s ease;
}

.elaz-social-link:hover {
	background: var(--elaz-red);
	color: #fff;

	transform: translateY(-1px);
}


/* =========================================================
   BRAND AREA
========================================================= */

.elaz-brand-area {
	width: 100%;

	background: #fff;
}

.elaz-brand-row {
	min-height: 90px;

	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 30px;
}


/* LOGO */

.elaz-brand-link {
	display: inline-flex;
	align-items: center;

	flex: 0 0 auto;

	color: inherit;
	text-decoration: none;
}

.elaz-brand-link .custom-logo {
	display: block;

	width: auto;
	max-width: 230px;
	max-height: 70px;

	height: auto;
}

.elaz-logo-text {
	display: block;

	color: var(--elaz-navy);

	font-size: 32px;
	font-weight: 900;

	line-height: 1;

	letter-spacing: -1.5px;

	text-decoration: none;
}


/* SITE DESCRIPTION */

.elaz-brand-description {
	margin: 0;

	color: var(--elaz-muted);

	font-size: 12px;
	font-weight: 400;
}


/* =========================================================
   MAIN NAVIGATION
========================================================= */

.elaz-navigation {
	position: relative;

	width: 100%;

	background: var(--elaz-red);

	color: #fff;

	z-index: 1000;
}

.elaz-navigation-inner {
	min-height: 54px;

	display: flex;
	align-items: stretch;
}


/* MENU AREA */

.elaz-menu {
	flex: 1;
	min-width: 0;
}

.menu-wrapper {
	width: 100%;
}


/* MAIN MENU */

.main-menu {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;

	margin: 0;
	padding: 0;

	list-style: none;
}

.main-menu > li {
	position: relative;

	margin: 0;
	padding: 0;
}

.main-menu > li > a {
	display: flex;
	align-items: center;

	min-height: 54px;

	padding: 0 15px;

	background: transparent;
	color: #fff;

	font-size: 13px;
	font-weight: 800;

	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;

	transition:
		background .2s ease,
		color .2s ease;
}


/* ACTIVE / HOVER */

.main-menu > li > a:hover,
.main-menu > li.current-menu-item > a,
.main-menu > li.current-menu-ancestor > a {
	background: #111;
	color: #fff;
}


/* =========================================================
   SUBMENU
========================================================= */

.main-menu .sub-menu {
	position: absolute;

	top: 100%;
	left: 0;

	display: none;

	min-width: 210px;

	margin: 0;
	padding: 0;

	background: #111;

	list-style: none;

	box-shadow: 0 8px 20px rgba(0, 0, 0, .20);

	z-index: 9999;
}

.main-menu > li:hover > .sub-menu {
	display: block;
}

.main-menu .sub-menu li {
	position: relative;

	margin: 0;
	padding: 0;
}

.main-menu .sub-menu a {
	display: block;

	padding: 12px 15px;

	background: #111;
	color: #fff;

	font-size: 12px;
	font-weight: 600;

	line-height: 1.3;

	text-decoration: none;
}

.main-menu .sub-menu a:hover {
	background: var(--elaz-red);
	color: #fff;
}


/* =========================================================
   SEARCH
========================================================= */

.elaz-search {
	flex: 0 0 270px;

	display: flex;
	align-items: center;

	padding: 7px;
}

.elaz-search form {
	width: 100%;

	display: flex;
	align-items: center;
}

.elaz-search input[type="search"] {
	width: 100%;
	height: 40px;

	margin: 0;
	padding: 0 10px;

	border: 0;
	border-radius: 0;
	outline: none;

	background: #fff;
	color: #222;

	font-size: 13px;
}

.elaz-search input[type="search"]:focus {
	box-shadow: inset 0 0 0 2px rgba(215, 25, 32, .25);
}

.elaz-search input[type="submit"],
.elaz-search button[type="submit"] {
	flex: 0 0 auto;

	height: 40px;

	margin: 0;
	padding: 0 13px;

	border: 0;
	border-radius: 0;

	background: #111;
	color: #fff;

	font-size: 12px;
	font-weight: 800;

	cursor: pointer;
}

.elaz-search input[type="submit"]:hover,
.elaz-search button[type="submit"]:hover {
	background: var(--elaz-red-dark);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
	display: none;

	width: 52px;
	height: 54px;

	margin: 0;
	padding: 0;

	border: 0;
	border-radius: 0;

	background: #111;
	color: #fff;

	font-size: 24px;
	line-height: 1;

	cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle.active {
	background: #111;
	color: #fff;
}


/* =========================================================
   BREAKING NEWS
========================================================= */

.elaz-breaking {
	width: 100%;

	min-height: 44px;

	margin-top: 12px;
	margin-bottom: 18px;

	display: flex;
	align-items: center;

	border: 1px solid var(--elaz-border);

	background: #fff;
}

.breaking-label {
	flex: 0 0 auto;

	align-self: stretch;

	display: flex;
	align-items: center;

	padding: 0 13px;

	background: var(--elaz-red);
	color: #fff;

	font-size: 10px;
	font-weight: 800;

	line-height: 1;
	text-transform: uppercase;
}

.breaking-content {
	flex: 1;
	min-width: 0;

	padding: 0 13px;

	overflow: hidden;
}

.breaking-content a {
	display: block;

	color: #222;

	font-size: 13px;
	font-weight: 600;

	line-height: 1.3;

	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;

	text-decoration: none;
}

.breaking-content a:hover {
	color: var(--elaz-red);
}


/* =========================================================
   CONTENT
========================================================= */

.site-content {
	padding-top: 0;
	padding-bottom: 40px;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.elaz-section-title {
	margin: 0 0 16px;

	display: flex;
	align-items: center;

	border-bottom: 2px solid #111;
}

.elaz-section-title span {
	display: inline-flex;
	align-items: center;

	min-height: 38px;

	padding: 0 13px;

	background: var(--elaz-red);
	color: #fff;

	font-size: 12px;
	font-weight: 800;

	text-transform: uppercase;
}


/* =========================================================
   NEWS GRID
========================================================= */

.news-grid {
	display: grid;

	grid-template-columns:
		minmax(0, 2fr)
		minmax(0, 1fr)
		minmax(0, 1fr);

	gap: 12px;

	margin-bottom: 30px;
}

.news-card {
	position: relative;

	min-height: 250px;

	overflow: hidden;

	background: #111;
	color: #fff;
}

.news-card > a {
	display: block;

	width: 100%;
	height: 100%;
}

.news-card img {
	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform .3s ease;
}

.news-card:hover img {
	transform: scale(1.03);
}

.news-card-overlay {
	position: absolute;

	left: 0;
	right: 0;
	bottom: 0;

	padding: 55px 16px 16px;

	background:
		linear-gradient(
			to bottom,
			transparent,
			rgba(0, 0, 0, .90)
		);
}

.news-card .cat {
	display: inline-block;

	margin-bottom: 6px;

	padding: 4px 7px;

	background: var(--elaz-red);
	color: #fff;

	font-size: 9px;
	font-weight: 800;

	line-height: 1;
	text-transform: uppercase;
}

.news-card h2,
.news-card h3 {
	margin: 0;

	color: #fff;

	font-weight: 800;

	line-height: 1.25;
}

.news-card h2 {
	font-size: 21px;
}

.news-card h3 {
	font-size: 16px;
}

.news-card h2 a,
.news-card h3 a {
	color: inherit;
	text-decoration: none;
}


/* =========================================================
   CONTENT LAYOUT
========================================================= */

.content-layout {
	display: grid;

	grid-template-columns:
		minmax(0, 1fr)
		320px;

	gap: 30px;
}


/* =========================================================
   POST LIST
========================================================= */

.post-list {
	display: grid;

	gap: 18px;
}

.post-item {
	display: grid;

	grid-template-columns: 250px minmax(0, 1fr);

	gap: 18px;

	padding-bottom: 18px;

	border-bottom: 1px solid var(--elaz-border);
}

.post-thumb {
	overflow: hidden;
	background: var(--elaz-light);
}

.post-thumb a {
	display: block;
}

.post-thumb img {
	width: 100%;
	height: 165px;

	object-fit: cover;
}

.post-meta {
	margin-bottom: 6px;

	color: var(--elaz-muted);

	font-size: 11px;
	font-weight: 500;
}

.post-item h2 {
	margin: 0 0 8px;

	font-size: 21px;
	font-weight: 800;

	line-height: 1.25;
}

.post-item h2 a {
	color: #222;

	text-decoration: none;
}

.post-item h2 a:hover {
	color: var(--elaz-red);
}

.post-excerpt {
	color: #555;

	font-size: 14px;
}

.post-excerpt p {
	margin-top: 0;
}


/* =========================================================
   SIDEBAR
========================================================= */

.sidebar-box {
	margin-bottom: 24px;

	border: 1px solid var(--elaz-border);

	background: #fff;
}

.sidebar-title {
	margin: 0;

	padding: 10px 12px;

	background: #111;
	color: #fff;

	font-size: 12px;
	font-weight: 800;

	line-height: 1.3;

	text-transform: uppercase;
}

.sidebar-box > ul,
.sidebar-box > div {
	margin: 0;
	padding: 12px;
}

.sidebar-box ul {
	list-style: none;
}

.sidebar-box li {
	padding: 8px 0;

	border-bottom: 1px solid var(--elaz-border);

	font-size: 13px;
}

.sidebar-box li:last-child {
	border-bottom: 0;
}

.sidebar-box a {
	text-decoration: none;
}

.sidebar-box a:hover {
	color: var(--elaz-red);
}


/* =========================================================
   SINGLE POST
========================================================= */

.single-post-title {
	margin: 0 0 10px;

	font-size: 40px;
	font-weight: 900;

	line-height: 1.15;
}

.single-meta {
	margin-bottom: 20px;

	color: var(--elaz-muted);

	font-size: 12px;
}

.entry-content {
	font-size: 17px;
	line-height: 1.75;
}

.entry-content p {
	margin: 0 0 18px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	line-height: 1.3;
}

.entry-content a {
	color: var(--elaz-red);
}

.entry-content img {
	margin-top: 10px;
	margin-bottom: 20px;
}


/* =========================================================
   PAGINATION
========================================================= */

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;

	margin-top: 25px;
}

.nav-links a,
.nav-links span {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 36px;
	height: 36px;

	padding: 0 10px;

	border: 1px solid var(--elaz-border);

	background: #fff;

	font-size: 12px;

	text-decoration: none;
}

.nav-links .current,
.nav-links a:hover {
	border-color: var(--elaz-red);

	background: var(--elaz-red);
	color: #fff;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
	margin-top: 45px;

	background: #111;
	color: #fff;
}

.footer-inner {
	padding-top: 35px;
	padding-bottom: 35px;

	display: grid;

	grid-template-columns:
		2fr
		1fr
		1fr;

	gap: 30px;
}

.site-footer h3 {
	margin: 0 0 12px;

	font-size: 15px;
	font-weight: 800;

	text-transform: uppercase;
}

.site-footer p {
	margin: 0;

	color: #ccc;

	font-size: 13px;
}

.site-footer ul {
	margin: 0;
	padding: 0;

	list-style: none;
}

.site-footer li {
	padding: 5px 0;

	color: #ccc;

	font-size: 13px;
}

.site-footer a {
	color: inherit;

	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
}

.footer-bottom {
	padding-top: 13px;
	padding-bottom: 13px;

	border-top: 1px solid #333;

	color: #aaa;

	font-size: 11px;
}


/* =========================================================
   WORDPRESS
========================================================= */

.alignleft {
	float: left;
	margin: 0 20px 15px 0;
}

.alignright {
	float: right;
	margin: 0 0 15px 20px;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 12px;
	color: var(--elaz-muted);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

	.elaz-top-menu a {
		padding-left: 7px;
		padding-right: 7px;

		font-size: 9px;
	}

	.main-menu > li > a {
		padding-left: 11px;
		padding-right: 11px;

		font-size: 12px;
	}

	.elaz-search {
		flex-basis: 220px;
	}

	.news-grid {
		grid-template-columns:
			minmax(0, 1.5fr)
			minmax(0, 1fr)
			minmax(0, 1fr);
	}
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

	.elaz-container,
	.container {
		width: calc(100% - 30px);
	}


	/* TOP BAR */

	.elaz-topbar-inner {
		min-height: 42px;

		gap: 8px;
	}

	.elaz-top-menu {
		overflow: hidden;
	}

	.elaz-top-menu ul {
		justify-content: flex-start;

		flex-wrap: nowrap;

		overflow-x: auto;
		overflow-y: hidden;

		scrollbar-width: none;
	}

	.elaz-top-menu ul::-webkit-scrollbar {
		display: none;
	}

	.elaz-top-menu li {
		flex: 0 0 auto;
	}

	.elaz-top-menu a {
		min-height: 42px;

		padding: 0 8px;

		font-size: 9px;

		white-space: nowrap;
	}

	.elaz-social {
		display: none;
	}


	/* BRAND */

	.elaz-brand-row {
		min-height: 75px;

		padding-top: 8px;
		padding-bottom: 8px;
	}

	.elaz-brand-link .custom-logo {
		max-width: 190px;
		max-height: 58px;
	}

	.elaz-logo-text {
		font-size: 27px;
	}


	/* NAVIGATION */

	.elaz-navigation-inner {
		min-height: 52px;
	}

	.elaz-menu {
		flex: 0 0 52px;
		width: 52px;
	}

	.menu-toggle {
		display: flex;

		align-items: center;
		justify-content: center;
	}

	.menu-wrapper {
		display: none;

		position: absolute;

		top: 52px;
		left: 0;
		right: 0;

		width: 100%;

		background: #111;

		box-shadow:
			0 10px 25px rgba(0, 0, 0, .20);

		z-index: 9999;
	}

	.menu-wrapper.is-open {
		display: block;
	}

	.main-menu {
		display: block;
		width: 100%;
	}

	.main-menu > li {
		width: 100%;
	}

	.main-menu > li > a {
		width: 100%;

		min-height: 48px;

		padding: 0 16px;

		background: #111;
		color: #fff;

		border-bottom: 1px solid rgba(255,255,255,.08);
	}

	.main-menu > li > a:hover,
	.main-menu > li.current-menu-item > a,
	.main-menu > li.current-menu-ancestor > a {
		background: var(--elaz-red);
		color: #fff;
	}

	.main-menu .sub-menu {
		position: static;

		display: block;

		width: 100%;

		min-width: 0;

		background: #0b0b0b;

		box-shadow: none;
	}

	.main-menu .sub-menu a {
		padding: 11px 30px;

		background: #0b0b0b;

		border-top: 1px solid rgba(255,255,255,.07);
	}

	.elaz-search {
		flex: 1;

		padding: 6px;
	}

	.elaz-search input[type="search"] {
		height: 40px;
	}

	.elaz-search input[type="submit"],
	.elaz-search button[type="submit"] {
		height: 40px;

		padding-left: 10px;
		padding-right: 10px;
	}


	/* NEWS */

	.news-grid {
		grid-template-columns: 1fr 1fr;
	}

	.news-card:first-child {
		grid-column: 1 / -1;
	}


	/* CONTENT */

	.content-layout {
		grid-template-columns: 1fr;
	}

	.footer-inner {
		grid-template-columns: 1fr 1fr;
	}
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

	.elaz-container,
	.container {
		width: calc(100% - 20px);
	}


	/* TOP BAR */

	.elaz-top-date strong {
		font-size: 11px;
	}

	.elaz-top-menu a {
		padding-left: 7px;
		padding-right: 7px;

		font-size: 8px;
	}


	/* BRAND */

	.elaz-logo-text {
		font-size: 24px;
	}

	.elaz-brand-link .custom-logo {
		max-width: 160px;
		max-height: 50px;
	}

	.elaz-brand-description {
		display: none;
	}


	/* SEARCH */

	.elaz-search {
		padding: 6px;
	}

	.elaz-search input[type="search"] {
		font-size: 12px;
	}

	.elaz-search input[type="submit"],
	.elaz-search button[type="submit"] {
		padding-left: 7px;
		padding-right: 7px;

		font-size: 10px;
	}


	/* BREAKING */

	.elaz-breaking {
		margin-top: 9px;
		margin-bottom: 12px;
	}

	.breaking-label {
		padding-left: 9px;
		padding-right: 9px;

		font-size: 9px;
	}

	.breaking-content {
		padding-left: 9px;
		padding-right: 9px;
	}

	.breaking-content a {
		font-size: 11px;
	}


	/* NEWS */

	.news-grid {
		grid-template-columns: 1fr;
	}

	.news-card:first-child {
		grid-column: auto;
	}

	.news-card {
		min-height: 220px;
	}

	.news-card h2 {
		font-size: 19px;
	}


	/* POSTS */

	.post-item {
		grid-template-columns: 110px minmax(0, 1fr);

		gap: 12px;
	}

	.post-thumb img {
		height: 90px;
	}

	.post-item h2 {
		font-size: 17px;
	}

	.post-excerpt {
		display: none;
	}


	/* SINGLE */

	.single-post-title {
		font-size: 29px;
	}


	/* FOOTER */

	.footer-inner {
		grid-template-columns: 1fr;
	}
}
/* =========================================================
   ELAZGRUP FRONT PAGE — MODERN NEWS LAYOUT
   Əlavə CSS — mövcud style.css-in SONUNA əlavə olunur
========================================================= */


/* =========================================================
   HOME SECTION HEADING
========================================================= */

.elaz-home .elaz-section-heading {
	margin: 0 0 16px;
}

.elaz-home .elaz-section-title {
	margin: 0;

	display: flex;
	align-items: center;

	border-bottom: 2px solid #111;
}

.elaz-home .elaz-section-title span {
	display: inline-flex;
	align-items: center;

	min-height: 38px;
	padding: 0 14px;

	background: var(--elaz-red);
	color: #fff;

	font-size: 12px;
	font-weight: 800;
	line-height: 1;

	text-transform: uppercase;
}


/* =========================================================
   BREAKING NEWS
   MENYUNUN TAM ALTINDA
========================================================= */

.elaz-home .elaz-breaking {
	margin-top: 0;
	margin-bottom: 20px;

	min-height: 44px;

	display: flex;
	align-items: stretch;

	border: 1px solid var(--elaz-border);

	background: #fff;

	overflow: hidden;
}

.elaz-home .breaking-label {
	position: relative;

	min-width: 130px;

	padding: 0 14px;

	display: flex;
	align-items: center;
	justify-content: center;

	background: var(--elaz-red);
	color: #fff;

	font-size: 10px;
	font-weight: 900;

	text-transform: uppercase;
	white-space: nowrap;
}

.elaz-home .breaking-dot {
	width: 7px;
	height: 7px;

	margin-right: 7px;

	border-radius: 50%;

	background: #fff;

	box-shadow: 0 0 0 4px rgba(255,255,255,.18);

	animation: elaz-breaking-pulse 1.5s infinite;
}

@keyframes elaz-breaking-pulse {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: .45;
	}
}

.elaz-home .breaking-content {
	display: flex;
	align-items: center;

	padding: 0 15px;
}

.elaz-home .breaking-content a {
	font-size: 13px;
	font-weight: 700;

	color: #222;

	text-decoration: none;
}

.elaz-home .breaking-content a:hover {
	color: var(--elaz-red);
}


/* =========================================================
   TOP STORIES
   1 BÖYÜK + 2 KİÇİK
   HAMISI EYNİ SIRADA
========================================================= */

.elaz-top-stories {
	margin-bottom: 32px;
}

.elaz-top-stories-grid {

	display: grid;

	grid-template-columns:
		minmax(0, 2fr)
		minmax(0, 1fr)
		minmax(0, 1fr);

	gap: 12px;

	align-items: stretch;
}

.elaz-top-story {
	position: relative;

	min-width: 0;

	overflow: hidden;

	background: #111;
	color: #fff;
}

.elaz-top-story-media {
	position: relative;

	display: block;

	width: 100%;
	height: 100%;

	overflow: hidden;

	background: #111;
}

.elaz-top-story-media img {
	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform .35s ease;
}

.elaz-top-story:hover .elaz-top-story-media img {
	transform: scale(1.04);
}


/* BÖYÜK BANNER */

.elaz-top-story-1 {
	min-height: 430px;
}

.elaz-top-story-1 .elaz-top-story-body {
	position: absolute;

	left: 0;
	right: 0;
	bottom: 0;

	padding: 70px 22px 20px;

	background:
		linear-gradient(
			to bottom,
			transparent 0%,
			rgba(0,0,0,.88) 100%
		);
}

.elaz-top-story-1 .elaz-top-story-media {
	position: absolute;

	inset: 0;
}

.elaz-top-story-1 .elaz-top-story-media img {
	height: 100%;
}


/* KİÇİK KARTLAR */

.elaz-top-story-2,
.elaz-top-story-3 {
	min-height: 430px;
}

.elaz-top-story-2 .elaz-top-story-media,
.elaz-top-story-3 .elaz-top-story-media {
	height: 100%;
}

.elaz-top-story-2 .elaz-top-story-body,
.elaz-top-story-3 .elaz-top-story-body {
	position: absolute;

	left: 0;
	right: 0;
	bottom: 0;

	padding: 55px 15px 15px;

	background:
		linear-gradient(
			to bottom,
			transparent,
			rgba(0,0,0,.92)
		);
}


/* CATEGORY */

.elaz-card-category {
	display: inline-block;

	margin-bottom: 7px;

	padding: 5px 7px;

	background: var(--elaz-red);
	color: #fff !important;

	font-size: 9px;
	font-weight: 900;

	line-height: 1;

	text-decoration: none !important;
	text-transform: uppercase;
}

.elaz-card-category:hover {
	background: var(--elaz-red-dark);
}


/* TOP STORY TITLES */

.elaz-top-story h2 {
	margin: 0;

	font-weight: 900;

	line-height: 1.18;
}

.elaz-top-story-1 h2 {
	font-size: 27px;
}

.elaz-top-story-2 h2,
.elaz-top-story-3 h2 {
	font-size: 17px;
}

.elaz-top-story h2 a {
	color: #fff;

	text-decoration: none;
}

.elaz-top-story h2 a:hover {
	color: #fff;
}

.elaz-card-meta {
	margin-top: 9px;

	color: rgba(255,255,255,.72);

	font-size: 10px;
	font-weight: 600;
}


/* =========================================================
   HADİSƏLƏR / ŞƏRHLƏR
========================================================= */

.elaz-events-comments {
	margin-bottom: 35px;
}

.elaz-events-grid {

	display: grid;

	grid-template-columns:
		repeat(4, minmax(0, 1fr));

	gap: 12px;
}

.elaz-event-card {
	min-width: 0;

	border: 1px solid var(--elaz-border);

	background: #fff;

	overflow: hidden;

	transition:
		transform .2s ease,
		box-shadow .2s ease;
}

.elaz-event-card:hover {
	transform: translateY(-2px);

	box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.elaz-event-media {
	display: block;

	aspect-ratio: 16 / 10;

	overflow: hidden;

	background: #111;
}

.elaz-event-media img {
	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform .3s ease;
}

.elaz-event-card:hover .elaz-event-media img {
	transform: scale(1.04);
}

.elaz-event-body {
	padding: 13px;
}

.elaz-event-body .elaz-card-category {
	font-size: 8px;
}

.elaz-event-body h3 {
	margin: 0;

	font-size: 15px;
	font-weight: 800;

	line-height: 1.3;
}

.elaz-event-body h3 a {
	color: #222;

	text-decoration: none;
}

.elaz-event-body h3 a:hover {
	color: var(--elaz-red);
}

.elaz-event-body .elaz-card-meta {
	margin-top: 8px;

	color: var(--elaz-muted);
}


/* =========================================================
   MAIN HOME CONTENT
========================================================= */

.elaz-home-content {
	margin-top: 5px;
}

.elaz-home-content-grid {

	display: grid;

	grid-template-columns:
		minmax(0, 1fr)
		320px;

	gap: 30px;

	align-items: start;
}


/* =========================================================
   24 XƏBƏR — 3 SÜTUN
========================================================= */

.elaz-news-grid-24 {

	display: grid;

	grid-template-columns:
		repeat(3, minmax(0, 1fr));

	gap: 18px 14px;
}

.elaz-news-card {

	min-width: 0;

	border-bottom: 1px solid var(--elaz-border);

	padding-bottom: 14px;

	background: #fff;
}

.elaz-news-card-media {

	display: block;

	aspect-ratio: 16 / 10;

	overflow: hidden;

	background: #111;
}

.elaz-news-card-media img {

	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform .3s ease;
}

.elaz-news-card:hover .elaz-news-card-media img {
	transform: scale(1.04);
}

.elaz-news-card-body {
	padding-top: 10px;
}

.elaz-news-card .elaz-card-category {

	margin-bottom: 6px;

	font-size: 8px;
}

.elaz-news-card h3 {

	margin: 0;

	font-size: 15px;
	font-weight: 800;

	line-height: 1.3;
}

.elaz-news-card h3 a {

	color: #222;

	text-decoration: none;
}

.elaz-news-card h3 a:hover {
	color: var(--elaz-red);
}

.elaz-news-card .elaz-card-meta {

	margin-top: 7px;

	color: var(--elaz-muted);

	font-size: 10px;
}


/* =========================================================
   IMAGE PLACEHOLDER
========================================================= */

.elaz-image-placeholder {

	width: 100%;
	height: 100%;

	min-height: 100px;

	display: flex;
	align-items: center;
	justify-content: center;

	background:
		linear-gradient(
			135deg,
			#111 0%,
			#222 100%
		);

	color: rgba(255,255,255,.55);

	font-size: 15px;
	font-weight: 900;

	letter-spacing: 1px;
}


/* =========================================================
   SIDEBAR
   AXTARIŞ → SON XƏBƏRLƏR → DİGƏR WIDGETLƏR
========================================================= */

.elaz-home-sidebar {
	min-width: 0;
}

.elaz-home-sidebar .sidebar-box,
.elaz-home-sidebar .widget {

	margin-bottom: 20px;

	border: 1px solid var(--elaz-border);

	background: #fff;
}


/* SIDEBAR TITLES */

.elaz-home-sidebar .sidebar-title,
.elaz-home-sidebar .widget-title {

	margin: 0;

	padding: 11px 13px;

	background: #111;
	color: #fff;

	font-size: 11px;
	font-weight: 900;

	line-height: 1.2;

	text-transform: uppercase;
}


/* SEARCH WIDGET */

.elaz-home-sidebar .widget_search {

	border: 0;

	background: transparent;
}

.elaz-home-sidebar .search-form {

	display: flex;

	width: 100%;
}

.elaz-home-sidebar .search-form label {
	flex: 1;
}

.elaz-home-sidebar .search-field {

	width: 100%;
	height: 42px;

	padding: 0 11px;

	border: 1px solid var(--elaz-border);
	border-right: 0;

	background: #fff;

	outline: none;

	font-size: 12px;
}

.elaz-home-sidebar .search-field:focus {
	border-color: var(--elaz-red);
}

.elaz-home-sidebar .search-submit {

	height: 42px;

	padding: 0 14px;

	border: 0;

	background: var(--elaz-red);
	color: #fff;

	font-size: 11px;
	font-weight: 800;
}

.elaz-home-sidebar .search-submit:hover {
	background: var(--elaz-red-dark);
}


/* =========================================================
   PAGINATION
========================================================= */

.elaz-pagination {
	margin-top: 28px;
}

.elaz-pagination ul {
	display: flex;

	flex-wrap: wrap;

	gap: 5px;

	margin: 0;
	padding: 0;

	list-style: none;
}

.elaz-pagination li {
	margin: 0;
	padding: 0;
}

.elaz-pagination a,
.elaz-pagination span {

	min-width: 36px;
	height: 36px;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	padding: 0 9px;

	border: 1px solid var(--elaz-border);

	background: #fff;

	color: #222;

	font-size: 11px;

	text-decoration: none;
}

.elaz-pagination .current,
.elaz-pagination a:hover {

	border-color: var(--elaz-red);

	background: var(--elaz-red);

	color: #fff;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.elaz-empty-state {

	padding: 40px 20px;

	border: 1px solid var(--elaz-border);

	text-align: center;

	color: var(--elaz-muted);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

	.elaz-top-stories-grid {
		grid-template-columns:
			minmax(0, 1.6fr)
			minmax(0, 1fr)
			minmax(0, 1fr);
	}

	.elaz-top-story-1,
	.elaz-top-story-2,
	.elaz-top-story-3 {
		min-height: 360px;
	}

	.elaz-top-story-1 h2 {
		font-size: 23px;
	}

	.elaz-top-story-2 h2,
	.elaz-top-story-3 h2 {
		font-size: 15px;
	}

	.elaz-events-grid {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));
	}

	.elaz-news-grid-24 {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));
	}

	.elaz-home-content-grid {
		grid-template-columns:
			minmax(0, 1fr)
			290px;
	}
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

	.elaz-top-stories-grid {
		grid-template-columns:
			1fr 1fr;
	}

	.elaz-top-story-1 {
		grid-column: 1 / -1;

		min-height: 380px;
	}

	.elaz-top-story-2,
	.elaz-top-story-3 {
		min-height: 260px;
	}

	.elaz-home-content-grid {
		grid-template-columns: 1fr;
	}

	.elaz-home-sidebar {
		margin-top: 10px;
	}
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

	.elaz-home .elaz-breaking {
		display: block;
	}

	.elaz-home .breaking-label {
		min-height: 34px;
		width: 100%;
	}

	.elaz-home .breaking-content {
		min-height: 40px;
		padding: 8px 10px;
	}


	.elaz-top-stories-grid {
		grid-template-columns: 1fr;
	}

	.elaz-top-story-1,
	.elaz-top-story-2,
	.elaz-top-story-3 {
		grid-column: auto;

		min-height: 250px;
	}

	.elaz-top-story-1 h2 {
		font-size: 21px;
	}

	.elaz-top-story-2 h2,
	.elaz-top-story-3 h2 {
		font-size: 17px;
	}


	.elaz-events-grid {
		grid-template-columns: 1fr 1fr;

		gap: 10px;
	}

	.elaz-event-body {
		padding: 10px;
	}

	.elaz-event-body h3 {
		font-size: 13px;
	}


	.elaz-news-grid-24 {
		grid-template-columns: 1fr 1fr;

		gap: 14px 10px;
	}

	.elaz-news-card h3 {
		font-size: 13px;
	}


	.elaz-home-sidebar {
		margin-top: 15px;
	}
}


@media (max-width: 420px) {

	.elaz-events-grid,
	.elaz-news-grid-24 {
		grid-template-columns: 1fr;
	}

	.elaz-top-story-1,
	.elaz-top-story-2,
	.elaz-top-story-3 {
		min-height: 230px;
	}
}
