/*
Theme Name: KaravanForum Dergi
Theme URI: https://karavanforum.net/
Author: KaravanForum
Author URI: https://karavanforum.net/
Description: Karavan rehberleri için koyu portal tasarımlı, Rank Math uyumlu ve AdSense alanları yönetilebilir WordPress teması.
Version: 2.0.6
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: karavanforum-dergi
Tags: blog, news, travel, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
	color-scheme: dark;
	--bg: #020908;
	--bg-soft: #06110f;
	--surface: #071411;
	--surface-2: #0a1b17;
	--surface-3: #0e241e;
	--border: #17382f;
	--border-strong: #24624f;
	--text: #f2f7f4;
	--text-soft: #bdcbc5;
	--muted: #71857d;
	--green: #19a66f;
	--green-bright: #31d18e;
	--orange: #ff7a1a;
	--cyan: #14b7b5;
	--yellow: #eabf38;
	--shadow: 0 18px 48px rgba(0, 0, 0, .34);
	--radius: 8px;
	--container: 1320px;
	--transition: 180ms ease;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-width: 320px;
	background:
		radial-gradient(circle at 50% 10%, rgba(15, 84, 65, .13), transparent 36rem),
		linear-gradient(180deg, #010706, var(--bg));
	color: var(--text);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body.menu-is-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--green-bright);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

button,
input,
textarea,
select {
	font: inherit;
}

:focus-visible {
	outline: 3px solid rgba(49, 209, 142, .7);
	outline-offset: 3px;
}

.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;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 10000;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: #fff;
	color: #111;
}

.site-container {
	width: min(calc(100% - 34px), var(--container));
	margin-inline: auto;
}

.site-main {
	min-height: 58vh;
}

.kf-icon {
	width: 1.2em;
	height: 1.2em;
	flex: 0 0 auto;
}

.icon-button {
	display: inline-grid;
	place-items: center;
	border: 0;
	background: none;
	color: var(--text);
	cursor: pointer;
}

/* Compact portal header */
.site-header {
	position: relative;
	z-index: 30;
	padding-top: 5px;
	background: rgba(1, 7, 6, .96);
	border-top: 2px solid #153f33;
}

.header-main {
	display: grid;
	grid-template-columns: minmax(210px, 270px) minmax(280px, 1fr) auto;
	align-items: center;
	min-height: 78px;
	gap: 34px;
}

.site-branding {
	min-width: 0;
}

.custom-logo-link,
.brand-fallback {
	display: inline-flex;
	align-items: center;
}

.custom-logo,
.brand-fallback {
	width: auto;
	max-width: 245px;
	max-height: 66px;
}

.brand-logo-stack,
.brand-logo {
	display: block;
	width: 100%;
	height: auto;
}

.search-form {
	position: relative;
	display: flex;
}

.search-field {
	width: 100%;
	height: 42px;
	padding: 0 48px 0 44px;
	border: 1px solid #315247;
	border-radius: 999px;
	outline: none;
	background:
		linear-gradient(90deg, transparent 0 38px, rgba(255, 255, 255, .03) 38px),
		#091310;
	color: var(--text);
	box-shadow: inset 0 1px rgba(255, 255, 255, .02);
}

.search-field::placeholder {
	color: #778a82;
}

.search-field:focus {
	border-color: var(--green);
	box-shadow: 0 0 0 3px rgba(25, 166, 111, .15);
}

.search-submit {
	position: absolute;
	top: 1px;
	left: 3px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 0;
	background: transparent;
	color: #93a59e;
	cursor: pointer;
}

.header-actions,
.account-link,
.header-forum-cta {
	display: flex;
	align-items: center;
}

.header-actions {
	justify-content: flex-end;
	gap: 10px;
}

.account-link {
	min-height: 40px;
	padding: 0 10px;
	gap: 7px;
	color: #cbd6d1;
	font-size: .78rem;
	font-weight: 700;
}

.header-forum-cta {
	justify-content: center;
	min-height: 42px;
	padding: 0 17px;
	gap: 8px;
	border-radius: 6px;
	background: linear-gradient(135deg, #ff8b2b, var(--orange));
	color: #fff;
	font-size: .78rem;
	font-weight: 850;
	box-shadow: 0 8px 22px rgba(255, 122, 26, .18);
}

.header-forum-cta:hover {
	color: #fff;
	transform: translateY(-1px);
}

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: var(--surface);
}

.menu-close-icon,
.menu-toggle[aria-expanded="true"] .menu-open-icon {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-close-icon {
	display: inline-flex;
}

.navigation-shell {
	border: 1px solid #0f352b;
	border-radius: 5px 5px 0 0;
	background: linear-gradient(180deg, #071310, #040c0a);
	box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
}

.portal-menu {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	padding: 0;
	margin: 0;
	list-style: none;
}

.portal-menu li {
	min-width: 0;
	border-right: 1px solid #102c25;
}

.portal-menu li:last-child {
	border-right: 0;
}

.portal-menu a {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	align-items: center;
	min-height: 62px;
	padding: 7px 13px;
	gap: 9px;
	transition: background var(--transition), color var(--transition);
}

.portal-menu a:hover {
	background: rgba(25, 166, 111, .08);
	color: var(--text);
}

.portal-menu-icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	color: var(--green-bright);
}

.portal-menu-icon .kf-icon {
	width: 27px;
	height: 27px;
	stroke-width: 2;
}

.portal-menu li:nth-child(2) .portal-menu-icon,
.portal-menu li:nth-child(4) .portal-menu-icon {
	color: var(--orange);
}

.portal-menu li:nth-child(3) .portal-menu-icon,
.portal-menu li:nth-child(5) .portal-menu-icon {
	color: var(--cyan);
}

.portal-menu-copy {
	display: block;
	min-width: 0;
	line-height: 1.18;
}

.portal-menu-copy strong,
.portal-menu-copy small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.portal-menu-copy strong {
	font-size: .68rem;
	font-weight: 850;
	text-transform: uppercase;
}

.portal-menu-copy small {
	margin-top: 3px;
	color: var(--muted);
	font-size: .58rem;
}

/* AdSense */
.kf-ad {
	position: relative;
	display: block;
	width: min(calc(100% - 34px), var(--container));
	min-height: 104px;
	padding-top: 16px;
	margin: 12px auto;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: #06100e;
	text-align: center;
}

.kf-ad-label {
	position: absolute;
	top: 1px;
	left: 0;
	width: 100%;
	color: var(--muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 14px;
	text-transform: uppercase;
}

.kf-ad .adsbygoogle {
	width: 100%;
	min-width: 0;
}

.kf-ad--article,
.kf-ad--after_article {
	width: calc(100% - 40px);
	margin: 25px auto;
}

.kf-ad--sidebar {
	width: 100%;
	min-height: 260px;
	margin: 0;
}

/* Reference-matched portal home */
.portal-home {
	padding-bottom: 22px;
}

.portal-hero {
	position: relative;
	isolation: isolate;
	min-height: 328px;
	overflow: hidden;
	border: 1px solid #0f4638;
	border-top: 0;
	border-radius: 0 0 8px 8px;
	background-image:
		linear-gradient(90deg, rgba(1, 10, 8, .97) 0%, rgba(1, 10, 8, .83) 30%, rgba(1, 10, 8, .22) 69%, rgba(1, 10, 8, .12) 100%),
		linear-gradient(180deg, transparent 58%, rgba(1, 8, 7, .78) 100%),
		var(--portal-hero-image);
	background-position: center;
	background-size: cover;
	box-shadow: var(--shadow);
}

.portal-hero::after {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(12, 89, 68, .05), transparent 35%);
	content: "";
	pointer-events: none;
}

.portal-hero-copy {
	width: calc(100% - 330px);
	max-width: 900px;
	padding: 54px 0 42px 52px;
}

.portal-kicker {
	margin: 0 0 9px;
	color: var(--green-bright);
	font-size: .71rem;
	font-weight: 900;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.portal-hero h1 {
	width: 640px;
	max-width: 100%;
	margin: 0 0 13px;
	font-size: clamp(38px, 4vw, 62px);
	line-height: .98;
	letter-spacing: -2.4px;
	text-wrap: balance;
}

.portal-hero-copy > p:not(.portal-kicker) {
	max-width: 530px;
	margin: 0 0 21px;
	color: #c1d0ca;
	font-size: .9rem;
	line-height: 1.55;
}

.portal-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.portal-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 39px;
	padding: 0 14px;
	gap: 7px;
	border-radius: 5px;
	font-size: .72rem;
	font-weight: 850;
}

.portal-button--primary {
	background: linear-gradient(135deg, #28c989, #169d69);
	color: #04100c;
}

.portal-button--primary:hover {
	color: #04100c;
}

.portal-button--outline {
	border: 1px solid rgba(255, 122, 26, .7);
	background: rgba(1, 8, 7, .58);
	color: #fff;
}

.portal-guide-panel {
	position: absolute;
	right: 17px;
	bottom: 16px;
	width: 300px;
	padding: 13px;
	border: 1px solid #285848;
	border-radius: 7px;
	background: rgba(4, 17, 14, .9);
	box-shadow: 0 18px 38px rgba(0, 0, 0, .38);
	backdrop-filter: blur(10px);
}

.portal-guide-panel h2,
.portal-section-title {
	margin: 0;
	font-size: .72rem;
	font-weight: 900;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.portal-guide-panel h2 {
	margin-bottom: 7px;
	color: #dce7e2;
}

.portal-guide-panel ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.portal-guide-panel li + li {
	border-top: 1px solid #173129;
}

.portal-guide-panel a {
	display: grid;
	grid-template-columns: 29px minmax(0, 1fr) 15px;
	align-items: center;
	min-height: 43px;
	gap: 8px;
}

.guide-icon {
	display: grid;
	place-items: center;
	color: var(--green-bright);
}

.portal-guide-panel li:nth-child(even) .guide-icon {
	color: var(--orange);
}

.guide-icon .kf-icon {
	width: 21px;
	height: 21px;
}

.portal-guide-panel strong,
.portal-guide-panel small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.portal-guide-panel strong {
	font-size: .67rem;
}

.portal-guide-panel small {
	margin-top: 2px;
	color: var(--muted);
	font-size: .55rem;
}

.portal-guide-panel > ul > li > a > .kf-icon {
	width: 13px;
	color: #6f857c;
}

.portal-dashboard {
	display: grid;
	grid-template-columns: minmax(0, 1.26fr) minmax(320px, .84fr) minmax(230px, .56fr);
	align-items: stretch;
	gap: 12px;
	margin-top: 12px;
}

.portal-panel {
	border: 1px solid #174538;
	border-radius: var(--radius);
	background: linear-gradient(145deg, rgba(255, 255, 255, .018), transparent 35%), var(--surface);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}

.portal-feature-panel,
.portal-popular-panel,
.portal-stats-panel {
	padding: 12px;
}

.portal-section-title {
	display: flex;
	align-items: center;
	min-height: 23px;
	gap: 7px;
}

.portal-section-title > span {
	display: block;
	width: 3px;
	height: 13px;
	border-radius: 2px;
	background: var(--green-bright);
	box-shadow: 0 0 10px rgba(49, 209, 142, .6);
}

.portal-feature-card {
	position: relative;
	min-height: 355px;
	margin-top: 7px;
	overflow: hidden;
	border: 1px solid #235b49;
	border-radius: 6px;
	background: var(--surface-3);
}

.portal-feature-image,
.portal-feature-image img,
.portal-feature-image .image-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.portal-feature-image img {
	object-fit: cover;
	transition: transform .45s ease;
}

.portal-feature-card:hover .portal-feature-image img {
	transform: scale(1.025);
}

.portal-feature-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 22%, rgba(0, 8, 6, .15) 46%, rgba(0, 8, 6, .98) 100%);
	pointer-events: none;
}

.portal-feature-content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	padding: 21px;
}

.portal-feature-content h3 {
	max-width: 650px;
	margin: 11px 0 6px;
	font-size: clamp(22px, 2.35vw, 34px);
	line-height: 1.12;
	letter-spacing: -.7px;
}

.portal-feature-content h3 a:hover {
	color: #fff;
}

.portal-feature-content p {
	display: -webkit-box;
	max-width: 620px;
	margin: 0 0 9px;
	overflow: hidden;
	color: #c7d3ce;
	font-size: .75rem;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.category-badge {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 3px 8px;
	border-radius: 3px;
	background: var(--green);
	color: #fff !important;
	font-size: .55rem;
	font-weight: 900;
	letter-spacing: .04em;
	line-height: 1;
	text-transform: uppercase;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 11px;
	color: #71877e;
	font-size: .6rem;
}

.post-meta span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.post-meta .kf-icon {
	width: 11px;
	height: 11px;
}

.portal-feature-content .post-meta {
	color: #a7b8b1;
}

.portal-popular-list {
	margin-top: 7px;
}

.portal-popular-item {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	align-items: center;
	min-height: 69px;
	padding: 7px 0;
	gap: 10px;
	border-bottom: 1px solid #18352d;
}

.portal-popular-item:last-child {
	border-bottom: 0;
}

.portal-popular-image {
	display: block;
	overflow: hidden;
	border-radius: 4px;
	background: var(--surface-3);
	aspect-ratio: 16 / 9;
}

.portal-popular-image img,
.portal-popular-image .image-placeholder {
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
}

.portal-popular-item h3 {
	display: -webkit-box;
	margin: 0 0 5px;
	overflow: hidden;
	font-size: .74rem;
	line-height: 1.3;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.portal-stats-panel {
	align-self: end;
}

.portal-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 5px;
	margin-top: 10px;
}

.portal-stats-grid div {
	display: grid;
	place-items: center;
	min-height: 73px;
	padding: 8px 4px;
	border: 1px solid #17382f;
	border-radius: 5px;
	background: #091713;
	text-align: center;
}

.portal-stats-grid strong {
	color: #fff;
	font-size: 1.2rem;
	line-height: 1;
}

.portal-stats-grid span {
	margin-top: 6px;
	color: var(--muted);
	font-size: .57rem;
	text-transform: uppercase;
}

.portal-latest-strip {
	padding: 12px;
	margin-top: 12px;
}

.portal-strip-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 28px;
	gap: 20px;
}

.portal-strip-header > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--green-bright);
	font-size: .64rem;
	font-weight: 800;
	text-transform: uppercase;
}

.portal-card-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin-top: 8px;
}

.post-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid #173c31;
	border-radius: 5px;
	background: #07120f;
}

.post-card-image {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--surface-3);
	aspect-ratio: 16 / 9;
}

.post-card-image > img,
.post-card-image > .image-placeholder {
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	transition: transform .35s ease;
}

.post-card:hover .post-card-image > img {
	transform: scale(1.045);
}

.post-card-badge {
	position: absolute;
	top: 7px;
	left: 7px;
}

.post-card-content {
	padding: 10px;
}

.post-card h3 {
	display: -webkit-box;
	min-height: 36px;
	margin: 0 0 6px;
	overflow: hidden;
	font-size: .72rem;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.post-card-excerpt {
	display: -webkit-box;
	margin: 0 0 7px;
	overflow: hidden;
	color: var(--muted);
	font-size: .61rem;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.image-placeholder {
	display: grid;
	place-items: center;
	min-height: 120px;
	background:
		linear-gradient(135deg, rgba(25, 166, 111, .31), rgba(20, 183, 181, .16)),
		var(--surface-3);
	color: rgba(255, 255, 255, .4);
}

.image-placeholder .kf-icon {
	width: 46px;
	height: 46px;
}

/* Archives and inner pages */
.archive-shell,
.page-shell {
	margin-top: 18px;
	margin-bottom: 26px;
	padding: clamp(19px, 3vw, 34px);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
}

.archive-header {
	margin-bottom: 22px;
	padding-bottom: 17px;
	border-bottom: 1px solid var(--border);
}

.archive-header h1 {
	margin: 0;
	font-size: clamp(29px, 4vw, 46px);
	line-height: 1.1;
}

.eyebrow {
	margin: 0 0 6px;
	color: var(--green-bright);
	font-size: .67rem;
	font-weight: 850;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.archive-description {
	max-width: 760px;
	color: var(--muted);
}

.archive-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.navigation.pagination {
	margin-top: 28px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.page-numbers {
	display: grid;
	place-items: center;
	min-width: 38px;
	min-height: 38px;
	padding: 0 11px;
	border: 1px solid var(--border);
	border-radius: 5px;
	background: var(--surface-2);
	font-size: .75rem;
	font-weight: 750;
}

.page-numbers.current,
.page-numbers:hover {
	border-color: var(--green);
	background: var(--green);
	color: #fff;
}

.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	align-items: start;
	gap: 18px;
	padding-top: 20px;
	padding-bottom: 30px;
}

.article-main {
	min-width: 0;
}

.single-article,
.comments-area,
.related-posts,
.sidebar-panel,
.widget {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
}

.single-article {
	overflow: hidden;
}

.article-breadcrumbs {
	padding: 14px clamp(20px, 4vw, 48px) 0;
}

.rank-math-breadcrumb,
.rank-math-breadcrumb p,
.theme-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin: 0;
	color: var(--muted);
	font-size: .7rem;
}

.rank-math-breadcrumb a,
.theme-breadcrumbs a {
	color: var(--green-bright);
}

.article-header {
	padding: clamp(25px, 4vw, 50px);
	background: radial-gradient(circle at 100% 0, rgba(255, 122, 26, .1), transparent 24rem);
}

.article-header h1 {
	max-width: 980px;
	margin: 13px 0 17px;
	font-size: clamp(35px, 4.4vw, 62px);
	line-height: 1.04;
	letter-spacing: -1.8px;
	text-wrap: balance;
}

.article-hero {
	padding: 0 18px 20px;
	margin: 0;
}

.article-hero img {
	width: 100%;
	border-radius: 7px;
}

.entry-content {
	max-width: 900px;
	padding: 3px clamp(21px, 4vw, 50px) 30px;
	margin-inline: auto;
	color: #c6d2cd;
	font-size: 1.06rem;
	line-height: 1.85;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.65em;
	color: var(--text);
	line-height: 1.25;
}

.entry-content h2 {
	font-size: clamp(25px, 3vw, 34px);
}

.entry-content h3 {
	font-size: clamp(21px, 2.4vw, 27px);
}

.entry-content a {
	color: var(--green-bright);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content blockquote {
	margin: 27px 0;
	padding: 17px 20px;
	border-left: 4px solid var(--green);
	background: var(--surface-2);
}

.entry-content table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 10px;
	border: 1px solid var(--border);
	text-align: left;
}

.entry-content th {
	background: rgba(25, 166, 111, .13);
}

.article-footer {
	padding: 0 clamp(21px, 4vw, 50px) 30px;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.tag-list a {
	padding: 5px 8px;
	border-radius: 4px;
	background: var(--surface-3);
	font-size: .72rem;
}

.post-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 12px 0;
}

.post-navigation > div {
	padding: 15px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
}

.post-navigation > div:last-child {
	text-align: right;
}

.post-navigation span {
	display: block;
	color: var(--muted);
	font-size: .64rem;
	text-transform: uppercase;
}

.related-posts,
.comments-area {
	padding: 18px;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.section-title,
.widget-title {
	margin: 0 0 13px;
	font-size: .8rem;
	text-transform: uppercase;
}

.home-sidebar {
	display: grid;
	gap: 11px;
}

.article-layout > .home-sidebar {
	position: sticky;
	top: 14px;
}

.sidebar-panel,
.widget {
	padding: 14px;
}

.widget ul,
.sidebar-list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.widget li,
.sidebar-list li {
	padding: 8px 0;
	border-bottom: 1px solid var(--border);
	color: var(--text-soft);
	font-size: .76rem;
}

.comments-title,
.comment-reply-title {
	margin-top: 0;
}

.comment-list,
.comment-list .children {
	list-style: none;
}

.comment-list {
	padding: 0;
}

.comment-list .children {
	padding-left: 30px;
}

.comment-body {
	padding: 17px 0;
	border-bottom: 1px solid var(--border);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 8px;
}

.comment-author img {
	border-radius: 50%;
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: 5px;
	background: var(--surface-2);
	color: var(--text);
}

.comment-form input[type="submit"],
.button-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 41px;
	padding: 0 16px;
	border: 0;
	border-radius: 5px;
	background: var(--green);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.error-page,
.empty-state {
	display: grid;
	justify-items: center;
	padding: 70px 20px;
	text-align: center;
}

.error-code {
	color: transparent;
	font-size: clamp(90px, 20vw, 180px);
	font-weight: 950;
	line-height: .9;
	-webkit-text-stroke: 2px var(--green);
}

.error-page p,
.empty-state p {
	color: var(--muted);
}

.error-page .search-form,
.empty-state .search-form {
	width: min(100%, 540px);
	margin: 16px 0;
}

/* Footer */
.site-footer {
	padding: 4px 0 18px;
}

.footer-panel {
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #05100d;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr .9fr .9fr 1.2fr;
	padding: 24px;
	gap: 0;
}

.footer-grid > * {
	min-width: 0;
	padding: 0 23px;
	border-right: 1px solid var(--border);
}

.footer-grid > :first-child {
	padding-left: 0;
}

.footer-grid > :last-child {
	padding-right: 0;
	border-right: 0;
}

.footer-brand .brand-fallback,
.footer-brand .custom-logo-link {
	max-width: 220px;
}

.footer-brand p,
.footer-about p,
.footer-column a {
	color: var(--muted);
	font-size: .72rem;
}

.footer-column h2,
.footer-about h2,
.footer-title {
	margin: 0 0 10px;
	font-size: .69rem;
	text-transform: uppercase;
}

.footer-column ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-column li {
	margin: 6px 0;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--green-bright);
	font-size: .7rem;
	font-weight: 800;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	padding: 9px 24px;
	gap: 20px;
	border-top: 1px solid var(--border);
	color: var(--muted);
	font-size: .67rem;
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
}

.back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 40;
	width: 42px;
	height: 42px;
	border: 1px solid var(--border-strong);
	border-radius: 50%;
	background: var(--surface-2);
	box-shadow: var(--shadow);
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px);
	transition: opacity var(--transition), transform var(--transition);
}

.back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.alignwide {
	margin-right: -4vw;
	margin-left: -4vw;
	max-width: calc(100% + 8vw);
}

.alignfull {
	width: calc(100% + 10vw);
	max-width: none;
	margin-right: -5vw;
	margin-left: -5vw;
}

.alignleft {
	float: left;
	margin: .5em 1.4em 1em 0;
}

.alignright {
	float: right;
	margin: .5em 0 1em 1.4em;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	color: var(--muted);
	font-size: .72rem;
}

@media (max-width: 1140px) {
	.header-main {
		grid-template-columns: 230px minmax(250px, 1fr) auto;
		gap: 20px;
	}

	.portal-menu-copy small {
		display: none;
	}

	.portal-menu a {
		grid-template-columns: 31px minmax(0, 1fr);
		padding-inline: 9px;
	}

	.portal-dashboard {
		grid-template-columns: minmax(0, 1.22fr) minmax(300px, .9fr);
	}

	.portal-stats-panel {
		grid-column: 1 / -1;
	}

	.portal-stats-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.portal-card-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.archive-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.footer-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.footer-about {
		grid-column: 1 / -1;
		padding: 20px 0 0;
		margin-top: 20px;
		border-top: 1px solid var(--border);
		border-right: 0;
	}
}

@media (max-width: 860px) {
	.site-container {
		width: min(calc(100% - 22px), var(--container));
	}

	.header-main {
		grid-template-columns: minmax(0, 1fr) auto;
		min-height: 72px;
	}

	.header-search {
		grid-column: 1 / -1;
		padding-bottom: 12px;
	}

	.account-link {
		display: none;
	}

	.menu-toggle {
		display: inline-grid;
	}

	.navigation-shell {
		width: 100%;
		border: 0;
	}

	.platform-navigation {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		width: min(88vw, 380px);
		padding: 78px 16px 22px;
		overflow-y: auto;
		background: #04100d;
		box-shadow: -20px 0 60px rgba(0, 0, 0, .5);
		transform: translateX(105%);
		transition: transform 220ms ease;
	}

	.platform-navigation.is-open {
		transform: none;
	}

	.portal-menu {
		grid-template-columns: 1fr;
	}

	.portal-menu li {
		border-right: 0;
		border-bottom: 1px solid var(--border);
	}

	.portal-menu a {
		min-height: 57px;
	}

	.portal-menu-copy small {
		display: block;
	}

	.menu-toggle[aria-expanded="true"] {
		position: fixed;
		top: 18px;
		right: 18px;
		z-index: 100;
	}

	.portal-hero {
		min-height: 510px;
		background-position: 64% center;
	}

	.portal-hero-copy {
		width: 100%;
		max-width: none;
		padding: 43px 28px 235px;
	}

	.portal-guide-panel {
		right: 18px;
		bottom: 16px;
		left: 18px;
		width: auto;
	}

	.portal-dashboard,
	.article-layout {
		grid-template-columns: 1fr;
	}

	.portal-stats-panel {
		grid-column: auto;
	}

	.portal-card-grid,
	.archive-grid,
	.related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.article-layout > .home-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 22px;
	}

	.footer-grid > * {
		border-right: 0;
	}

	.footer-grid > :nth-child(odd):not(.footer-about) {
		border-right: 1px solid var(--border);
	}

	.footer-about {
		grid-column: 1 / -1;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 560px) {
	.custom-logo,
	.brand-fallback {
		max-width: 205px;
	}

	.header-actions {
		gap: 7px;
	}

	.header-forum-cta {
		width: 42px;
		padding: 0;
	}

	.header-forum-cta span {
		display: none;
	}

	.search-field {
		height: 40px;
		font-size: .8rem;
	}

	.portal-hero {
		min-height: 545px;
	}

	.portal-hero-copy {
		padding: 32px 18px 250px;
	}

	.portal-hero h1 {
		font-size: 38px;
		letter-spacing: -1.4px;
	}

	.portal-hero-copy > p:not(.portal-kicker) {
		font-size: .8rem;
	}

	.portal-guide-panel {
		right: 10px;
		bottom: 10px;
		left: 10px;
	}

	.portal-feature-card {
		min-height: 330px;
	}

	.portal-feature-content {
		padding: 16px;
	}

	.portal-popular-item {
		grid-template-columns: 98px minmax(0, 1fr);
	}

	.portal-stats-grid,
	.portal-card-grid,
	.archive-grid,
	.related-grid,
	.article-layout > .home-sidebar,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.portal-stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.post-card {
		display: grid;
		grid-template-columns: 42% minmax(0, 1fr);
	}

	.post-card-content {
		padding: 8px;
	}

	.post-card-excerpt {
		display: none;
	}

	.article-header h1 {
		font-size: clamp(31px, 10vw, 43px);
	}

	.entry-content {
		padding-right: 19px;
		padding-left: 19px;
		font-size: 1rem;
	}

	.post-navigation {
		grid-template-columns: 1fr;
	}

	.post-navigation > div:last-child {
		text-align: left;
	}

	.footer-grid > :nth-child(n) {
		padding: 0;
		border-right: 0 !important;
	}

	.footer-grid > * + * {
		padding-top: 17px;
		border-top: 1px solid var(--border);
	}

	.footer-about {
		grid-column: auto;
		margin-top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* KaravanForum: kenar çubuğu yatay taşma düzeltmesi */
.home-sidebar {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}

/* KaravanForum Dergi 2.0.2 — açık, düzenli dergi görünümü */
:root {
  color-scheme: light;
  --bg: #f3f7f4;
  --bg-soft: #eef4ef;
  --surface: #ffffff;
  --surface-2: #f6faf7;
  --surface-3: #e9f2ec;
  --border: #dce9df;
  --border-strong: #afcfb9;
  --text: #17352c;
  --text-soft: #465f53;
  --muted: #60786b;
  --green: #0d7955;
  --green-bright: #0b7652;
  --shadow: 0 14px 36px rgba(23, 62, 39, .09);
  --radius: 15px;
}
body {
  background: radial-gradient(circle at 65% 0, #e6f3e8 0, transparent 31rem), var(--bg);
}
a:hover { color: var(--green); }
:focus-visible { outline-color: #e57922; }
.site-header {
  padding-top: 0;
  background: #fff;
  border-top: 4px solid #0c7652;
  box-shadow: 0 3px 18px rgba(16, 55, 35, .04);
}
.header-main { min-height: 90px; grid-template-columns: minmax(245px, 295px) minmax(220px, 1fr) auto; gap: 30px; }
.custom-logo, .brand-fallback { max-width: 278px; max-height: 72px; }
.brand-logo { width: 100%; }
.search-field {
  height: 46px;
  border-color: var(--border);
  background: #f5f9f6;
  color: var(--text);
  box-shadow: none;
}
.search-field::placeholder { color: #6b8073; }
.search-submit, .account-link { color: var(--text-soft); }
.header-forum-cta { border-radius: 9px; font-size: .81rem; }
.navigation-shell {
  border: 1px solid var(--border);
  border-bottom-color: #cbded0;
  border-radius: 12px 12px 0 0;
  background: #f8fbf8;
  box-shadow: none;
}
.portal-menu li { border-right-color: var(--border); }
.portal-menu a { min-height: 66px; padding-inline: 12px; }
.portal-menu a:hover { background: #e9f5eb; }
.portal-menu-icon { color: #0d7955; }
.portal-menu-copy strong { font-size: .72rem; }
.portal-menu-copy small { color: var(--muted); font-size: .62rem; }
.kf-ad { background: #f8faf8; }
.portal-home { padding-bottom: 30px; }
.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(270px, .72fr);
  align-items: center;
  gap: 22px;
  min-height: 318px;
  padding: 24px;
  border: 1px solid #bed7c8;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background-image: linear-gradient(90deg, rgba(9, 41, 30, .95), rgba(9, 41, 30, .69) 46%, rgba(9, 41, 30, .38)), var(--portal-hero-image);
  box-shadow: var(--shadow);
}
.portal-hero-copy { width: 100%; max-width: 760px; padding: 10px 8px 10px 22px; color: #fff; }
.portal-hero h1 { width: 720px; font-size: clamp(36px, 3.7vw, 52px); line-height: 1.07; letter-spacing: -1.7px; }
.portal-kicker { color: #a9efca; }
.portal-hero-copy > p:not(.portal-kicker) { color: #e3eee7; font-size: .99rem; }
.portal-button { min-height: 43px; padding-inline: 17px; border-radius: 8px; font-size: .79rem; }
.portal-button--primary { background: #f1faf2; color: #12513b; }
.portal-button--primary:hover { background: #fff; color: #0b6042; }
.portal-guide-panel {
  position: static;
  width: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 14px;
  background: rgba(255, 255, 255, .97);
  color: var(--text);
  box-shadow: 0 20px 44px rgba(3, 23, 14, .2);
  backdrop-filter: blur(8px);
}
.portal-guide-panel h2 { margin-bottom: 8px; color: var(--text); font-size: .82rem; }
.portal-guide-panel li + li { border-top-color: var(--border); }
.portal-guide-panel a { min-height: 47px; }
.portal-guide-panel strong { font-size: .73rem; }
.portal-guide-panel small { color: var(--muted); font-size: .64rem; }
.portal-guide-panel > ul > li > a > .kf-icon { color: var(--muted); }
.portal-dashboard { grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr); gap: 18px; margin-top: 20px; }
.portal-panel { border-color: var(--border); background: #fff; box-shadow: var(--shadow); }
.portal-feature-panel, .portal-popular-panel, .portal-stats-panel, .portal-latest-strip { padding: 20px; }
.portal-section-title { min-height: 30px; gap: 10px; font-size: .91rem; letter-spacing: .025em; }
.portal-section-title > span { width: 4px; height: 19px; background: #0d7955; box-shadow: none; }
.portal-feature-card { min-height: 398px; margin-top: 12px; border-color: var(--border); border-radius: 12px; }
.portal-feature-shade { background: linear-gradient(180deg, rgba(2, 24, 14, .02) 15%, rgba(2, 24, 14, .3) 52%, rgba(2, 24, 14, .95)); }
.portal-feature-content { color: #fff; padding: 26px; }
.portal-feature-content h3 { font-size: clamp(23px, 2.4vw, 34px); }
.portal-feature-content a { color: #fff; }
.portal-feature-content p { color: #e4ebe7; font-size: .87rem; }
.portal-feature-content .post-meta { color: #d6e4dc; }
.category-badge { border-radius: 5px; background: #0d7955; font-size: .61rem; }
.post-meta { color: var(--muted); font-size: .71rem; }
.portal-popular-list { margin-top: 12px; }
.portal-popular-item { grid-template-columns: 126px minmax(0, 1fr); min-height: 78px; padding: 9px 0; gap: 14px; border-bottom-color: var(--border); }
.portal-popular-image { border-radius: 8px; }
.portal-popular-item h3 { font-size: .86rem; line-height: 1.37; }
.portal-stats-panel { grid-column: 1 / -1; align-self: stretch; }
.portal-stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.portal-stats-grid div { min-height: 85px; border-color: var(--border); border-radius: 10px; background: #f5faf6; }
.portal-stats-grid strong { color: var(--green); font-size: 1.56rem; }
.portal-stats-grid span { color: var(--text-soft); font-size: .68rem; }
.portal-latest-strip { margin-top: 20px; }
.portal-strip-header > a { color: var(--green); font-size: .73rem; }
.portal-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin-top: 16px; }
.post-card { border-color: var(--border); border-radius: 11px; background: #fff; box-shadow: 0 8px 23px rgba(24, 63, 42, .055); }
.post-card-content { padding: 16px; }
.post-card h3 { min-height: 50px; margin-bottom: 9px; font-size: 1.01rem; line-height: 1.42; }
.post-card-excerpt { color: var(--text-soft); font-size: .79rem; line-height: 1.55; }
.archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.entry-content { color: #334b3e; }
.entry-content a { color: #096c4c; }
.article-header { background: radial-gradient(circle at 100% 0, #eff9f1, transparent 24rem); }
.article-header { padding: clamp(25px, 3vw, 40px); }
.article-header h1 { font-size: clamp(34px, 3.9vw, 52px); }
.widget_block .wp-block-heading {
  margin: 0 0 9px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: .94rem;
  line-height: 1.3;
}
.widget_search .wp-block-search__label { display: block; margin-bottom: 9px; font-size: .85rem; font-weight: 800; }
.widget_search .wp-block-search__inside-wrapper { display: flex; gap: 7px; }
.widget_search .wp-block-search__input {
  min-width: 0;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #f8fbf8;
  color: var(--text);
}
.widget_search .wp-block-search__button {
  padding: 8px 12px;
  border: 0;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  font-weight: 750;
}
.widget .wp-block-latest-comments { padding: 0; margin: 0; list-style: none; }
.widget .wp-block-latest-comments__comment { padding: 8px 0; border-bottom: 1px solid var(--border); }
.widget .wp-block-latest-comments__comment-meta { font-size: .76rem; line-height: 1.5; }
.footer-panel { border-color: #173f31; background: #103b2c; color: #f2f8f3; }
.site-footer .brand-fallback, .site-footer .custom-logo-link { max-width: 238px; }
.footer-grid > *, .footer-bottom { border-color: #315948; }
.footer-brand p, .footer-about p, .footer-column a, .footer-bottom { color: #c1d9ca; }
.footer-column h2, .footer-about h2 { color: #f3f8f4; }
.footer-column a:hover, .footer-bottom a:hover, .text-link { color: #d1f5dd; }
@media (max-width: 1140px) {
  .header-main { grid-template-columns: 245px minmax(190px, 1fr) auto; gap: 15px; }
  .portal-dashboard { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .portal-card-grid, .archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .header-main { grid-template-columns: minmax(0, 1fr) auto; }
  .site-branding { grid-column: 1; grid-row: 1; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .header-search { grid-column: 1 / -1; grid-row: 2; }
  .navigation-shell { width: 100%; border: 0; }
  .menu-toggle { background: #f6faf7; }
  .platform-navigation { background: #fff; box-shadow: -20px 0 60px rgba(18, 58, 34, .2); }
  .portal-menu li { border-bottom-color: var(--border); }
  .portal-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 18px; padding: 24px; background-position: center; }
  .portal-hero-copy { min-width: 0; padding: 22px 5px; }
  .portal-hero h1 { width: auto; }
  .portal-guide-panel { width: 100%; }
  .portal-dashboard, .article-layout { grid-template-columns: 1fr; }
  .portal-stats-panel { grid-column: auto; }
  .portal-card-grid, .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .custom-logo, .brand-fallback { max-width: 196px; }
  .portal-hero { min-height: 0; padding: 18px; }
  .portal-hero-copy { width: 100%; padding: 18px 0 10px; }
  .portal-hero h1 { font-size: clamp(32px, 9vw, 39px); }
  .portal-guide-panel { position: static; padding: 14px; }
  .portal-feature-panel, .portal-popular-panel, .portal-stats-panel, .portal-latest-strip { padding: 15px; }
  .portal-feature-card { min-height: 345px; }
  .portal-popular-item { grid-template-columns: 96px minmax(0, 1fr); }
  .portal-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-card-grid, .archive-grid { grid-template-columns: 1fr; }
  .post-card { grid-template-columns: 39% minmax(0, 1fr); }
  .post-card h3 { min-height: 0; font-size: .89rem; }
  .post-card-content { padding: 10px; }
}
@media (max-width: 360px) {
  .custom-logo, .brand-fallback { max-width: 183px; }
  .header-actions { gap: 5px; }
  .header-forum-cta, .menu-toggle { width: 40px; height: 40px; }
}

/* 2.0.5: ana sayfa sosyal alanı ve dolu rehber ızgarası */
.portal-dashboard {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .95fr) minmax(255px, .58fr);
  align-items: stretch;
}
.portal-feature-card { min-height: 435px; }
.portal-popular-item { min-height: 84px; }
.portal-side-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 16px;
  min-width: 0;
}
.portal-social-panel { padding: 18px; }
.portal-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 13px;
}
.portal-social-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  min-height: 91px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f8fbf8;
  color: var(--text);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.portal-social-link:hover {
  transform: translateY(-2px);
  border-color: #9ccbb0;
  background: #eff8f1;
  color: var(--text);
}
.portal-social-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 7px;
  border-radius: 9px;
  color: #fff;
}
.portal-social-icon svg { display: block; width: 20px; height: 20px; }
.portal-social-link--youtube .portal-social-icon { background: #df3035; }
.portal-social-link--instagram .portal-social-icon { background: linear-gradient(135deg, #f9b543, #de3a81 55%, #8546bc); }
.portal-social-link--facebook .portal-social-icon { background: #1877f2; }
.portal-social-link--tiktok .portal-social-icon { background: #172a2a; }
.portal-social-link strong { font-size: .75rem; line-height: 1.1; }
.portal-social-link small { margin-top: 3px; color: var(--muted); font-size: .62rem; }
.portal-social-note { margin: 12px 0 0; color: var(--text-soft); font-size: .69rem; line-height: 1.45; }
.portal-side-rail .portal-stats-panel { grid-column: auto; align-self: auto; padding: 18px; }
.portal-side-rail .portal-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.portal-side-rail .portal-stats-grid div { min-height: 65px; }
.portal-side-rail .portal-stats-grid strong { font-size: 1.2rem; }
.portal-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1140px) {
  .portal-dashboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-side-rail {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
  .portal-social-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .portal-dashboard { grid-template-columns: minmax(0, 1fr); }
  .portal-side-rail { grid-column: auto; }
  .portal-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-feature-card { min-height: 375px; }
  .portal-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .portal-side-rail { grid-template-columns: minmax(0, 1fr); }
  .portal-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-feature-card { min-height: 340px; }
  .portal-card-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 2.0.6: kart görsellerini kırpmadan göster */
.portal-feature-image img,
.portal-popular-image img,
.post-card-image > img {
  object-fit: contain;
  object-position: center;
  background: #eef4ef;
}

/* 2.0.7: feature photo, guide archive and forum discussion access. */
body .portal-feature-image img { object-fit: cover; }
.entry-content .archive-grid a { text-decoration: none; }
.entry-content .archive-grid h3 { margin: 0 0 9px; font-size: 1.01rem; }
.pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; border: 0; background: transparent; }
.pagination ul.page-numbers li { list-style: none; }
.pagination a.page-numbers { text-decoration: none; }
.kf-discussion-cta { margin: 28px 0; padding: 22px; border: 1px solid var(--border-strong); border-left: 4px solid var(--green); border-radius: var(--radius); background: var(--surface-2); }
.kf-discussion-cta h2 { margin: 0 0 10px; font-size: 1.4rem; }
.kf-discussion-cta p { margin: 0 0 16px; }
.kf-discussion-cta a.button-link { color: #fff; text-decoration: none; }
