.cihan-news-grid {
	--cihan-green: #00562a;
	--cihan-orange: #f7941d;
	--cihan-navy: #122033;
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
}

.cihan-news-grid *,
.cihan-news-grid *::before,
.cihan-news-grid *::after {
	box-sizing: border-box;
}

.cihan-news-grid__heading {
	color: var(--cihan-green);
	font-size: clamp(1.9rem, 3vw, 2.6rem);
	font-weight: 750;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 28px;
}

.cihan-news-grid__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-block-end: 30px;
}

.cihan-news-grid__filter {
	background: #fff;
	border: 1px solid #b8c9bf;
	border-radius: 999px;
	color: var(--cihan-green);
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.2;
	padding: 10px 17px;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.cihan-news-grid__filter:hover,
.cihan-news-grid__filter:focus-visible,
.cihan-news-grid__filter.is-active {
	background-color: var(--cihan-green);
	border-color: var(--cihan-green);
	color: #fff;
}

.cihan-news-grid__items {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	min-width: 0;
}

.cihan-news-grid__card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(18, 32, 51, 0.1);
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	overflow: hidden;
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.cihan-news-grid__card:hover {
	box-shadow: 0 14px 34px rgba(18, 32, 51, 0.15);
	transform: translateY(-3px);
}

.cihan-news-grid__image {
	background: #dfe8e3;
	display: block;
	flex: 0 0 auto;
	height: 230px;
	overflow: hidden;
	position: relative;
}

.cihan-news-grid__image img,
.cihan-news-grid__placeholder {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.cihan-news-grid__image img {
	transition: transform 300ms ease;
}

.cihan-news-grid__image:hover img,
.cihan-news-grid__image:focus-visible img {
	transform: scale(1.04);
}

.cihan-news-grid__placeholder {
	background: linear-gradient(135deg, var(--cihan-green), var(--cihan-navy));
}

.cihan-news-grid__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
	padding: 24px;
}

.cihan-news-grid__badge,
.cihan-news-modal__badge {
	align-self: flex-start;
	background-color: var(--cihan-orange);
	border-radius: 999px;
	color: #fff;
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.055em;
	line-height: 1.2;
	max-width: 100%;
	overflow-wrap: anywhere;
	padding: 7px 11px;
	text-transform: uppercase;
}

.cihan-news-grid__title {
	color: var(--cihan-navy);
	font-size: 1.3rem;
	font-weight: 750;
	line-height: 1.34;
	margin: 0;
}

.cihan-news-grid__title a {
	color: inherit;
	text-decoration: none;
}

.cihan-news-grid__title a:hover,
.cihan-news-grid__title a:focus-visible {
	text-decoration: underline;
	text-decoration-color: var(--cihan-orange);
	text-underline-offset: 0.16em;
}

.cihan-news-grid__date {
	color: #667085;
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
}

.cihan-news-grid__excerpt {
	color: #475467;
	font-size: 1rem;
	line-height: 1.62;
	margin: 0;
}

.cihan-news-grid__read-more {
	align-items: center;
	align-self: flex-start;
	background-color: var(--cihan-green);
	border-radius: 7px;
	color: #fff;
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 700;
	gap: 9px;
	justify-content: center;
	line-height: 1.2;
	margin-block-start: auto;
	min-height: 44px;
	padding: 12px 19px;
	text-decoration: none;
	transition: background-color 180ms ease, transform 180ms ease;
}

.cihan-news-grid__read-more:hover,
.cihan-news-grid__read-more:focus-visible {
	background-color: var(--cihan-orange);
	color: #fff;
	transform: translateY(-1px);
}

.cihan-news-grid__read-more svg {
	height: 17px;
	width: 17px;
}

[dir="rtl"] .cihan-news-grid__read-more svg {
	transform: rotate(180deg);
}

.cihan-news-grid a:focus-visible,
.cihan-news-grid button:focus-visible {
	outline: 3px solid var(--cihan-orange);
	outline-offset: 3px;
}

.cihan-news-grid__empty {
	background: #f4f7f5;
	border: 1px dashed #8aa398;
	border-radius: 10px;
	color: #283342;
	padding: 28px;
	text-align: center;
}

.cihan-news-grid__pagination {
	margin-block-start: 38px;
}

.cihan-news-grid__pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cihan-news-grid__pagination a,
.cihan-news-grid__pagination span {
	align-items: center;
	background: #fff;
	border: 1px solid #cbd8d0;
	border-radius: 7px;
	color: var(--cihan-green);
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	min-height: 42px;
	min-width: 42px;
	padding: 8px 12px;
	text-decoration: none;
}

.cihan-news-grid__pagination .current,
.cihan-news-grid__pagination a:hover,
.cihan-news-grid__pagination a:focus-visible {
	background: var(--cihan-green);
	border-color: var(--cihan-green);
	color: #fff;
}

body.cihan-news-modal-open {
	overflow: hidden;
	overscroll-behavior: none;
}

.cihan-news-modal[hidden],
.cihan-news-modal [hidden] {
	display: none !important;
}

.cihan-news-modal {
	align-items: flex-start;
	background: rgba(3, 18, 11, 0.78);
	bottom: auto;
	display: flex;
	height: calc(100vh - var(--cihan-header-stack-height, 0px));
	height: calc(100dvh - var(--cihan-header-stack-height, 0px));
	inset-inline: 0;
	justify-content: center;
	opacity: 0;
	overflow: hidden;
	padding: clamp(10px, 2vw, 22px);
	pointer-events: none;
	position: fixed;
	top: var(--cihan-header-stack-height, 0px);
	transition: opacity 220ms ease;
	z-index: 9980;
}

.cihan-news-modal.is-open {
	opacity: 1;
	pointer-events: auto;
}

.cihan-news-modal__dialog {
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 20px;
	box-shadow: 0 30px 80px rgba(0, 22, 12, 0.34);
	max-height: 100%;
	max-width: 1080px;
	overflow-x: hidden;
	overflow-y: auto;
	position: relative;
	scrollbar-gutter: stable;
	transform: translateY(18px) scale(0.988);
	transition: transform 260ms cubic-bezier(0.2, 0.72, 0.2, 1);
	width: 100%;
}

.cihan-news-modal.is-open .cihan-news-modal__dialog {
	transform: translateY(0) scale(1);
}

.cihan-news-modal__chrome {
	align-items: center;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid #e1e9e4;
	display: flex;
	justify-content: space-between;
	min-height: 58px;
	padding: 8px 12px 8px 20px;
	position: sticky;
	top: 0;
	z-index: 8;
}

.cihan-news-modal__back,
.cihan-news-modal__footer-back {
	align-items: center;
	color: var(--cihan-green);
	display: inline-flex;
	font-size: 0.88rem;
	font-weight: 780;
	gap: 8px;
	min-height: 42px;
	padding: 8px;
	text-decoration: none;
}

.cihan-news-modal__back:hover,
.cihan-news-modal__back:focus-visible,
.cihan-news-modal__footer-back:hover,
.cihan-news-modal__footer-back:focus-visible {
	color: #b85c00;
}

[dir="rtl"] .cihan-news-modal__back > span:first-child,
[dir="rtl"] .cihan-news-modal__footer-back > span:first-child,
[dir="rtl"] .cihan-news-modal__gallery-arrow span {
	display: inline-block;
	transform: rotate(180deg);
}

.cihan-news-modal__close {
	align-items: center;
	appearance: none;
	background: #eff5f1;
	border: 1px solid #cbdad1;
	border-radius: 50%;
	color: var(--cihan-green);
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	height: 42px;
	justify-content: center;
	padding: 0;
	width: 42px;
}

.cihan-news-modal__close svg {
	fill: none;
	height: 20px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 2;
	width: 20px;
}

.cihan-news-modal__close:hover,
.cihan-news-modal__close:focus-visible {
	background: var(--cihan-orange);
	border-color: var(--cihan-orange);
	color: #122033;
	transform: scale(1.04);
}

.cihan-news-modal__status {
	align-items: center;
	color: #475467;
	display: flex;
	flex-direction: column;
	font-size: 1rem;
	gap: 16px;
	justify-content: center;
	min-height: 250px;
	padding: 54px 30px;
	text-align: center;
}

.cihan-news-modal__status.is-error {
	color: #8b2c21;
}

.cihan-news-modal__spinner {
	animation: cihan-news-spin 800ms linear infinite;
	border: 3px solid #dce8e1;
	border-radius: 50%;
	border-top-color: var(--cihan-orange);
	height: 38px;
	width: 38px;
}

.cihan-news-modal__status.is-error .cihan-news-modal__spinner {
	display: none;
}

@keyframes cihan-news-spin {
	to { transform: rotate(360deg); }
}

.cihan-news-modal__media {
	background: #0b2e20;
	overflow: hidden;
}

.cihan-news-modal__media-viewport {
	--cihan-news-media-height: 420px;
	height: min(var(--cihan-news-media-height), 56.25vw);
	min-height: 260px;
	overflow: hidden;
	position: relative;
}

.cihan-news-modal__media--fallback .cihan-news-modal__media-viewport {
	height: 176px;
	min-height: 176px;
}

.cihan-news-modal__slides,
.cihan-news-modal__slide {
	height: 100%;
	width: 100%;
}

.cihan-news-modal__slide {
	align-items: center;
	background: #0b2e20;
	display: flex;
	justify-content: center;
	margin: 0;
	overflow: hidden;
	position: relative;
}

.cihan-news-modal__image {
	display: block;
	height: 100%;
	max-width: none;
	object-fit: cover;
	width: 100%;
}

.cihan-news-modal__slide.is-portrait .cihan-news-modal__image,
.cihan-news-modal__slide.is-small .cihan-news-modal__image {
	height: auto;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.cihan-news-modal__slide figcaption {
	background: rgba(3, 18, 11, 0.78);
	bottom: 0;
	color: #fff;
	font-size: 0.78rem;
	inset-inline: 0;
	line-height: 1.45;
	padding: 8px 16px;
	position: absolute;
	text-align: center;
}

.cihan-news-modal__fallback {
	align-items: center;
	background:
		radial-gradient(circle at 78% 25%, rgba(247, 148, 29, 0.25), transparent 24%),
		linear-gradient(125deg, #00391f, #08743d);
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
	justify-content: center;
	letter-spacing: 0.02em;
	width: 100%;
}

.cihan-news-modal__fallback-mark {
	align-items: center;
	background: #fff;
	border: 4px solid rgba(255, 255, 255, 0.32);
	border-radius: 50%;
	box-shadow: 0 0 0 5px rgba(247, 148, 29, 0.72);
	color: var(--cihan-green);
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 900;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.cihan-news-modal__gallery-arrow {
	align-items: center;
	appearance: none;
	background: rgba(3, 28, 18, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.46);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	z-index: 3;
}

.cihan-news-modal__gallery-arrow:hover,
.cihan-news-modal__gallery-arrow:focus-visible {
	background: var(--cihan-orange);
	border-color: var(--cihan-orange);
	color: #122033;
}

.cihan-news-modal__gallery-arrow--previous {
	inset-inline-start: 16px;
}

.cihan-news-modal__gallery-arrow--next {
	inset-inline-end: 16px;
}

.cihan-news-modal__gallery-dots {
	align-items: center;
	background: rgba(3, 28, 18, 0.68);
	border-radius: 999px;
	bottom: 15px;
	display: flex;
	gap: 7px;
	inset-inline-start: 50%;
	padding: 7px 9px;
	position: absolute;
	transform: translateX(-50%);
	z-index: 3;
}

[dir="rtl"] .cihan-news-modal__gallery-dots {
	transform: translateX(50%);
}

.cihan-news-modal__gallery-dot {
	appearance: none;
	background: rgba(255, 255, 255, 0.62);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	height: 9px;
	padding: 0;
	width: 9px;
}

.cihan-news-modal__gallery-dot.is-active {
	background: var(--cihan-orange);
	width: 24px;
}

.cihan-news-modal__article {
	margin-inline: auto;
	max-width: 820px;
	padding: clamp(30px, 5vw, 58px) clamp(22px, 6vw, 64px) clamp(36px, 6vw, 64px);
}

.cihan-news-modal__meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-block-end: 18px;
}

.cihan-news-modal__date {
	color: #667085;
	font-size: 0.9rem;
	font-weight: 600;
}

.cihan-news-modal__title {
	color: var(--cihan-navy);
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 820;
	letter-spacing: -0.025em;
	line-height: 1.12;
	margin: 0 0 30px;
	overflow-wrap: anywhere;
	text-wrap: balance;
}

.cihan-news-modal__body {
	color: #283342;
	font-size: clamp(1rem, 1.4vw, 1.08rem);
	line-height: 1.82;
	overflow-wrap: anywhere;
}

.cihan-news-modal__body :where(h2, h3, h4) {
	color: var(--cihan-navy);
	line-height: 1.25;
	margin-block: 1.8em 0.65em;
}

.cihan-news-modal__body :where(a) {
	color: var(--cihan-green);
	font-weight: 650;
	text-decoration-color: var(--cihan-orange);
	text-underline-offset: 0.15em;
}

.cihan-news-modal__body > :first-child {
	margin-block-start: 0;
}

.cihan-news-modal__body > :last-child {
	margin-block-end: 0;
}

.cihan-news-modal__body img,
.cihan-news-modal__body video,
.cihan-news-modal__body iframe {
	height: auto;
	max-width: 100%;
}

.cihan-news-modal__body table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

.cihan-news-modal__author {
	color: #667085;
	font-size: 0.88rem;
	font-weight: 650;
	margin: -18px 0 26px;
}

.cihan-news-modal__adjacent {
	border-top: 1px solid #dfe8e2;
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-block-start: 44px;
	padding-block-start: 24px;
}

.cihan-news-modal__adjacent-link {
	background: #f3f7f4;
	border: 1px solid #dfe8e2;
	border-radius: 14px;
	color: var(--cihan-navy);
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 96px;
	padding: 16px 18px;
	text-decoration: none;
}

.cihan-news-modal__adjacent-link--next {
	text-align: end;
}

.cihan-news-modal__adjacent-link:hover,
.cihan-news-modal__adjacent-link:focus-visible {
	background: #eaf3ed;
	border-color: #9db9a8;
	transform: translateY(-2px);
}

.cihan-news-modal__adjacent-label {
	color: var(--cihan-green);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cihan-news-modal__adjacent-link strong {
	font-size: 0.94rem;
	line-height: 1.42;
	overflow-wrap: anywhere;
}

.cihan-news-modal__footer-back {
	border: 1px solid #c9d9cf;
	border-radius: 10px;
	margin-block-start: 24px;
	padding: 10px 15px;
}

@media (max-width: 1024px) {
	.cihan-news-grid__items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cihan-news-modal__media-viewport {
		--cihan-news-media-height: 360px;
	}
}

@media (max-width: 767px) {
	.cihan-news-grid__heading {
		margin-block-end: 22px;
	}

	.cihan-news-grid__filters {
		gap: 8px;
		margin-block-end: 24px;
	}

	.cihan-news-grid__filter {
		font-size: 0.8rem;
		padding: 9px 13px;
	}

	.cihan-news-grid__items {
		grid-template-columns: minmax(0, 1fr);
	}

	.cihan-news-modal {
		align-items: flex-start;
		padding: 8px;
	}

	.cihan-news-modal__dialog {
		border-radius: 15px;
		max-height: 100%;
	}

	.cihan-news-modal__chrome {
		min-height: 54px;
		padding: 6px 8px 6px 12px;
	}

	.cihan-news-modal__back {
		font-size: 0.8rem;
	}

	.cihan-news-modal__media-viewport {
		--cihan-news-media-height: 240px;
		height: min(var(--cihan-news-media-height), 58vw);
		min-height: 190px;
	}

	.cihan-news-modal__media--fallback .cihan-news-modal__media-viewport {
		height: 138px;
		min-height: 138px;
	}

	.cihan-news-modal__article {
		padding: 28px 20px 36px;
	}

	.cihan-news-modal__title {
		font-size: clamp(1.75rem, 8vw, 2.35rem);
		margin-block-end: 22px;
	}

	.cihan-news-modal__body {
		font-size: 1rem;
		line-height: 1.65;
	}

	.cihan-news-modal__close {
		height: 40px;
		width: 40px;
	}

	.cihan-news-modal__gallery-arrow {
		height: 40px;
		width: 40px;
	}

	.cihan-news-modal__gallery-arrow--previous {
		inset-inline-start: 9px;
	}

	.cihan-news-modal__gallery-arrow--next {
		inset-inline-end: 9px;
	}

	.cihan-news-modal__adjacent {
		grid-template-columns: 1fr;
	}

	.cihan-news-modal__adjacent-link--next {
		text-align: start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cihan-news-grid *,
	.cihan-news-grid *::before,
	.cihan-news-grid *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.cihan-news-modal,
	.cihan-news-modal__dialog {
		transition: none !important;
	}

	.cihan-news-modal__spinner {
		animation: none;
		border-color: var(--cihan-orange);
	}
}
