/* ==========================================================================
   AYA OSGB · İçerik (blok editörü çıktısı)
   Hizmet, sayfa ve yazı gövdelerinde kullanılır. Editörde aynı görünüm için
   editor.css bu dosyadaki kuralların karşılığını içerir.
   ========================================================================== */

.entry-content {
	color: var(--text-2);
	font-size: 1.0625rem;
	line-height: 1.75;
}

.entry-content > * + * {
	margin-top: 1.15em;
}

.entry-content > h2 {
	position: relative;
	margin-top: 2.6em;
	padding-top: 1.1em;
	border-top: 1px solid var(--line);
	color: var(--text);
	font-size: clamp(1.6rem, 2.8vw, 2.25rem);
	font-weight: 740;
	font-stretch: 112%;
	line-height: 1.1;
	letter-spacing: -0.018em;
	scroll-margin-top: calc(var(--header-h) + 84px);
}

.entry-content > h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.entry-content > h2 + * {
	margin-top: 0.9em;
}

.entry-content h3 {
	margin-top: 1.9em;
	color: var(--text);
	font-size: 1.3rem;
	font-weight: 700;
	font-stretch: 106%;
}

.entry-content a {
	color: var(--blue-600);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

.entry-content strong {
	color: var(--text);
	font-weight: 660;
}

.entry-content ul:not([class*="is-style-"]),
.entry-content ol {
	padding-left: 1.25em;
}

.entry-content li + li {
	margin-top: 0.35em;
}

.entry-content li::marker {
	color: var(--blue-600);
}

.entry-content img {
	border-radius: var(--radius);
}

/* Kontrol listesi: iki sütunlu, mavi daire onay işareti */
.entry-content .is-style-checklist {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding: 0;
	list-style: none;
}

.entry-content .is-style-checklist li {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	margin: 0;
	padding: 16px 18px;
	border-radius: var(--radius);
	background: var(--paper);
	color: var(--text);
	font-size: 0.975rem;
	line-height: 1.5;
}

.entry-content .is-style-checklist li::before {
	content: "";
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--sign-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 15px no-repeat;
}

@media (max-width: 699.98px) {
	.entry-content .is-style-checklist {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Etiketler */
.entry-content .is-style-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.entry-content .is-style-chips li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 9px 16px 9px 12px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-pill);
	background: var(--white);
	color: var(--text);
	font-size: 0.9375rem;
	font-weight: 580;
	line-height: 1.3;
}

.entry-content .is-style-chips li::before {
	content: "";
	width: 8px;
	height: 8px;
	background: var(--blue-400);
	transform: rotate(45deg);
}

/* Tablolar */
.entry-content .wp-block-table {
	margin-inline: 0;
	overflow-x: auto;
}

.entry-content .wp-block-table table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.entry-content .wp-block-table th,
.entry-content .wp-block-table td {
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: middle;
}

.entry-content .wp-block-table tbody tr:last-child td {
	border-bottom: 0;
}

.entry-content .wp-block-table thead {
	border: 0;
}

.entry-content .wp-block-table thead th {
	background: var(--ink-900);
	color: var(--white);
	font-size: 0.875rem;
	font-weight: 650;
}

.entry-content .wp-block-table tbody tr:nth-child(even) td {
	background: #faf9f6;
}

.entry-content .wp-block-table td:first-child {
	color: var(--text);
	font-weight: 660;
}

.entry-content .is-style-matrix td:not(:first-child),
.entry-content .is-style-matrix th:not(:first-child) {
	text-align: center;
}

.entry-content .is-style-matrix td strong {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--safe-100);
	color: var(--safe-700);
	font-weight: 800;
}

.entry-content .is-style-matrix td em {
	color: var(--muted);
	font-style: normal;
}

.entry-content .is-style-spec td:nth-child(2) {
	color: var(--ink-900);
	font-weight: 720;
	font-stretch: 108%;
	font-variant-numeric: tabular-nums;
}

.entry-content .wp-block-table figcaption {
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.8125rem;
}

/* Bilgi kutusu: mevzuat notu */
.entry-content .is-style-callout {
	position: relative;
	padding: 22px 24px 22px 76px;
	border: 1px solid #cddff0;
	border-radius: var(--radius);
	background: var(--blue-100);
	color: var(--text);
	font-size: 0.975rem;
	line-height: 1.65;
}

.entry-content .is-style-callout::before {
	content: "§";
	position: absolute;
	top: 20px;
	left: 22px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--sign-blue);
	color: var(--white);
	font-size: 1.1rem;
	font-weight: 700;
}

.entry-content .is-style-callout > * + * {
	margin-top: 0.6em;
}

.entry-content .calc {
	margin-block: 1.8em;
}

.shortcode-quote {
	margin-top: 2em;
	padding: clamp(22px, 3vw, 36px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
}
