/**
 * PMAP Core - standart sayfa (page.php) stilleri.
 *
 * Bu dosya, ozel template'i olmayan (varsayilan page.php ile render edilen)
 * sayfalar icindir. Ozellikle hukuki sayfalar: Privacy Policy, Cookie Policy,
 * Responsible Disclosure Policy. Onceden bu sayfalar HIC prose stili almiyordu
 * (.single-body prose'u yalniz blog/single icin ve main.css yalniz blog'da
 * yukleniyordu), bu yuzden ham, bicimlenmemis metin gorunuyordu.
 *
 * Tum selector'lar .site-main--page / .entry--page parent'i ile scope'ludur;
 * tema geneline veya ozel template'li sayfalara sizmaz. is_page() && default
 * template kosuluyla enqueue edilir (functions.php).
 *
 * Tipografi degerleri main.css'teki .single-body .entry-content prose'u ile
 * hizalidir (marka tutarliligi).
 *
 * @package PMAPCore
 */

.site-main--page {
	background: #ffffff;
	color: #2A2F45;
}

.site-main--page .entry--page {
	margin: 0;
}

/* ---- Baslik hero'su (marka koyu gradient) ---- */
.entry--page .entry-header {
	padding: clamp(3rem, 6vw, 5rem) 1.5rem clamp(2.5rem, 5vw, 4rem);
	background:
		radial-gradient(900px 460px at 88% -20%, rgba(0, 180, 216, 0.16), transparent 60%),
		linear-gradient(150deg, #041361 0%, #0a154a 48%, #0E1322 100%);
}

.entry--page .entry-title {
	max-width: 820px;
	margin: 0 auto;
	color: #ffffff;
	font-size: clamp(2rem, 4.2vw, 2.85rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

/* Baslik altinda marka teal aksan cizgisi (ortalanmis kolona hizali) */
.entry--page .entry-title::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin-top: 1.1rem;
	border-radius: 2px;
	background: linear-gradient(90deg, #3138A8, #232A86);
}

/* ---- Icerik prose kolonu ---- */
.entry--page .entry-content-wrap {
	padding: clamp(2.5rem, 5vw, 3.75rem) 1.5rem clamp(3rem, 7vw, 5.5rem);
}

.entry--page .entry-content {
	max-width: 820px;
	margin: 0 auto;
	color: #2A2F45;
	font-size: 1.075rem;
	line-height: 1.75;
}

.entry--page .entry-content > *:first-child {
	margin-top: 0;
}

.entry--page .entry-content p {
	margin: 0 0 1.4rem;
}

/* "Last updated: ..." gibi tek em iceren ilk satiri sade bir meta notu yap.
 * :has() destegi olmayan tarayicilarda kural sessizce atlanir (graceful). */
.entry--page .entry-content > p:first-child:has(em:only-child) {
	display: inline-block;
	margin-bottom: 2rem;
	padding: 0.35rem 0.85rem;
	border: 1px solid rgba(4, 19, 97, 0.14);
	border-radius: 999px;
	background: rgba(4, 19, 97, 0.04);
	color: #5A6675;
	font-size: 0.85rem;
}

.entry--page .entry-content > p:first-child:has(em:only-child) em {
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.entry--page .entry-content h2 {
	font-size: clamp(1.4rem, 2.4vw, 1.85rem);
	line-height: 1.25;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #041361;
	margin: 2.75rem 0 1rem;
}

.entry--page .entry-content h3 {
	font-size: clamp(1.2rem, 1.8vw, 1.45rem);
	line-height: 1.3;
	font-weight: 800;
	color: #041361;
	margin: 2.25rem 0 0.85rem;
}

.entry--page .entry-content h4 {
	font-size: 1.1rem;
	font-weight: 700;
	color: #041361;
	margin: 1.9rem 0 0.6rem;
}

.entry--page .entry-content strong {
	color: #041361;
	font-weight: 700;
}

.entry--page .entry-content a {
	color: #232A86;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: color 160ms ease;
}

.entry--page .entry-content a:hover,
.entry--page .entry-content a:focus-visible {
	color: #1B1F66;
}

.entry--page .entry-content ul,
.entry--page .entry-content ol {
	margin: 0 0 1.4rem;
	padding-left: 1.5rem;
}

/* Tailwind normalize ul/ol'a list-style:none veriyor; bullet/numara icin
 * acikca geri ver (aksi halde maddeler ciplak satir gorunur). */
.entry--page .entry-content ul {
	list-style: disc;
}

.entry--page .entry-content ol {
	list-style: decimal;
}

.entry--page .entry-content li {
	margin: 0.4rem 0;
}

.entry--page .entry-content ul li::marker {
	color: #3138A8;
}

.entry--page .entry-content ol li::marker {
	color: #3138A8;
	font-weight: 700;
}

.entry--page .entry-content blockquote {
	margin: 2rem 0;
	padding: 0.25rem 0 0.25rem 1.5rem;
	border-left: 3px solid #3138A8;
	color: #041361;
	font-size: 1.15rem;
	line-height: 1.6;
	font-style: italic;
}

.entry--page .entry-content code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
	background: rgba(4, 19, 97, 0.06);
	padding: 0.15em 0.4em;
	border-radius: 5px;
	color: #041361;
}

.entry--page .entry-content hr {
	border: 0;
	height: 1px;
	background: rgba(4, 19, 97, 0.12);
	margin: 2.5rem 0;
}

.entry--page .entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.75rem 0;
	font-size: 0.95rem;
}

.entry--page .entry-content th,
.entry--page .entry-content td {
	padding: 0.7rem 0.9rem;
	border: 1px solid rgba(4, 19, 97, 0.12);
	text-align: left;
}

.entry--page .entry-content th {
	background: rgba(4, 19, 97, 0.04);
	color: #041361;
	font-weight: 700;
}

.entry--page .entry-content img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 14px;
}

/* Sayfa ici sayfalama (wp_link_pages) */
.entry--page .page-links {
	max-width: 820px;
	margin: 2.5rem auto 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
