/*
Theme Name: RotaNeresi
Theme URI: https://rotaneresi.com/
Author: RotaNeresi
Description: RotaNeresi icin rota, blog, rehber ve uyelik odakli WordPress temasi.
Version: 0.3.6
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: rotaneresi
*/

:root {
	--rn-ink: #111111;
	--rn-text: #222222;
	--rn-muted: #777777;
	--rn-soft: #f8f8f8;
	--rn-paper: #ffffff;
	--rn-accent: #f5a623;
	--rn-accent-soft: #fff6eb;
	--rn-line: #eeeeee;
	--rn-shadow: 0 10px 32px rgba(17, 17, 17, 0.08);
}

* {
	box-sizing: border-box;
}

body {
	background: var(--rn-paper);
	color: var(--rn-text);
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.6;
	margin: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

.rn-container {
	margin: 0 auto;
	max-width: 1180px;
	padding: 0 24px;
}

.rn-header {
	backdrop-filter: blur(14px);
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--rn-line);
	position: sticky;
	top: 0;
	z-index: 30;
}

.rn-nav {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	min-height: 76px;
}

.rn-brand {
	align-items: center;
	color: var(--rn-ink);
	display: inline-flex;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: 0;
	white-space: nowrap;
}

.rn-brand-logo {
	height: auto;
	width: 174px;
}

.rn-site-search {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--rn-line);
	border-radius: 8px;
	display: flex;
	flex: 1 1 240px;
	max-width: 310px;
	min-height: 42px;
	overflow: hidden;
}

.rn-site-search input {
	background: transparent;
	border: 0;
	color: var(--rn-ink);
	flex: 1;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	min-width: 0;
	outline: 0;
	padding: 0 12px;
}

.rn-site-search input::placeholder {
	color: #8a8a8a;
}

.rn-site-search button {
	align-self: stretch;
	background: var(--rn-accent);
	border: 0;
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 900;
	padding: 0 14px;
}

.rn-menu {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rn-menu a {
	border-radius: 24px;
	color: #555555;
	display: inline-flex;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	padding: 12px 13px;
}

.rn-menu a:hover,
.rn-menu .current-menu-item > a,
.rn-menu .current_page_item > a {
	color: var(--rn-accent);
}

.rn-hero {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 48%, rgba(255, 255, 255, 0.12) 100%),
		linear-gradient(135deg, #f6cf8f 0%, #f5a623 34%, #56a6b7 100%);
	min-height: 560px;
	overflow: hidden;
	padding: 92px 0 62px;
	position: relative;
}

.rn-hero-inner {
	align-items: center;
	display: grid;
	gap: 42px;
	grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.8fr);
	position: relative;
	z-index: 1;
}

.rn-kicker {
	color: var(--rn-accent);
	font-size: 13px;
	font-weight: 900;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.rn-hero h1 {
	color: var(--rn-ink);
	font-size: clamp(44px, 6vw, 82px);
	letter-spacing: 0;
	line-height: 0.98;
	margin: 0 0 22px;
	max-width: 760px;
}

.rn-hero p {
	color: #555555;
	font-size: 19px;
	margin: 0;
	max-width: 650px;
}

.rn-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.rn-button {
	align-items: center;
	background: var(--rn-accent);
	border: 1px solid var(--rn-accent);
	border-radius: 8px;
	color: #ffffff;
	display: inline-flex;
	font-weight: 900;
	justify-content: center;
	min-height: 46px;
	padding: 0 20px;
}

.rn-button:hover {
	background: #d98d14;
	border-color: #d98d14;
}

.rn-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin-top: 32px;
}

.rn-stats span {
	color: #555555;
	font-weight: 800;
}

.rn-stats strong {
	color: var(--rn-ink);
	display: block;
	font-size: 28px;
	line-height: 1;
}

.rn-hero-panel {
	align-items: flex-start;
	aspect-ratio: 4 / 5;
	background:
		linear-gradient(180deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.56)),
		linear-gradient(135deg, #d8c3a5, #7db9c5 48%, #4c7c59);
	border-radius: 22px;
	box-shadow: var(--rn-shadow);
	color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 390px;
	padding: 28px;
}

.rn-hero-panel .rn-hero-image-label {
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
}

.rn-hero-panel strong {
	font-size: 15px;
	font-weight: 800;
	margin-top: 8px;
}

.rn-hero-panel a {
	align-self: flex-start;
	background: var(--rn-accent);
	border-radius: 8px;
	color: #ffffff;
	font-size: 13px;
	font-weight: 900;
	margin-top: 18px;
	padding: 11px 16px;
}

.rn-section {
	padding: 66px 0;
}

.rn-section.alt {
	background: var(--rn-soft);
}

.rn-section-head {
	align-items: end;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 28px;
}

.rn-section-head h1,
.rn-section-head h2 {
	color: var(--rn-ink);
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.1;
	margin: 0;
}

.rn-section-head p {
	color: var(--rn-muted);
	font-size: 18px;
	margin: 8px 0 0;
	max-width: 690px;
}

.rn-discovery-panel {
	align-items: start;
	background:
		linear-gradient(135deg, rgba(245, 166, 35, 0.12), rgba(86, 166, 183, 0.12)),
		#ffffff;
	border: 1px solid #ece6dc;
	border-radius: 8px;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
	padding: clamp(20px, 3vw, 30px);
}

.rn-discovery-panel h2 {
	color: var(--rn-ink);
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.08;
	margin: 0;
}

.rn-discovery-form {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(180px, 2fr) repeat(3, minmax(120px, 1fr));
}

.rn-discovery-form input[type="search"],
.rn-discovery-form select {
	appearance: none;
	background: #ffffff;
	border: 1px solid var(--rn-line);
	border-radius: 8px;
	color: var(--rn-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	height: 46px;
	min-width: 0;
	padding: 0 12px;
	width: 100%;
}

.rn-discovery-form select {
	background-image: linear-gradient(45deg, transparent 50%, #777777 50%), linear-gradient(135deg, #777777 50%, transparent 50%);
	background-position: calc(100% - 16px) 19px, calc(100% - 11px) 19px;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	padding-right: 30px;
}

.rn-discovery-check {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--rn-line);
	border-radius: 8px;
	color: var(--rn-ink);
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	gap: 8px;
	min-height: 46px;
	padding: 0 12px;
}

.rn-discovery-check input {
	accent-color: var(--rn-accent);
}

.rn-discovery-form button {
	background: var(--rn-accent);
	border: 1px solid var(--rn-accent);
	border-radius: 8px;
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 900;
	min-height: 46px;
	padding: 0 16px;
}

.rn-city-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin: 8px 0 34px;
}

.rn-city-pill {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--rn-line);
	border-radius: 12px;
	display: flex;
	justify-content: space-between;
	min-height: 48px;
	padding: 12px 14px;
}

.rn-city-pill:hover {
	border-color: rgba(245, 166, 35, 0.45);
	box-shadow: 0 10px 24px rgba(245, 166, 35, 0.14);
}

.rn-city-pill span {
	color: var(--rn-ink);
	font-weight: 800;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rn-city-pill strong {
	background: var(--rn-accent-soft);
	border-radius: 999px;
	color: var(--rn-accent);
	font-size: 13px;
	min-width: 28px;
	padding: 3px 8px;
	text-align: center;
}

.rn-filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: -8px 0 28px;
}

.rn-filter {
	border: 1px solid var(--rn-line);
	border-radius: 8px;
	color: var(--rn-ink);
	font-size: 14px;
	font-weight: 800;
	padding: 9px 12px;
}

.rn-filter.active {
	background: var(--rn-accent);
	border-color: var(--rn-accent);
	color: #ffffff;
}

.rn-selected-city-note {
	align-items: center;
	background: var(--rn-accent-soft);
	border: 1px solid rgba(245, 166, 35, 0.24);
	border-radius: 8px;
	color: #5f5648;
	display: flex;
	flex-wrap: wrap;
	font-weight: 800;
	gap: 10px;
	margin: -6px 0 28px;
	padding: 12px 14px;
}

.rn-selected-city-note a {
	color: var(--rn-accent);
	font-weight: 900;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rn-card-grid {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rn-card {
	background: #ffffff;
	border: 1px solid transparent;
	border-radius: 16px;
	box-shadow: none;
	overflow: hidden;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.rn-card:hover {
	border-color: rgba(245, 166, 35, 0.22);
	box-shadow: var(--rn-shadow);
	transform: translateY(-2px);
}

.rn-card-media {
	align-items: end;
	aspect-ratio: 16 / 10;
	background:
		linear-gradient(180deg, rgba(17, 17, 17, 0), rgba(17, 17, 17, 0.48)),
		linear-gradient(135deg, #f8d99f, #71bac6 52%, #8dbb75);
	border-radius: 16px 16px 0 0;
	color: #ffffff;
	display: flex;
	font-weight: 900;
	justify-content: flex-start;
	overflow: hidden;
	padding: 20px;
}

.rn-card-media img {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.rn-card-media {
	position: relative;
}

.rn-card-media span {
	position: relative;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.rn-card-body {
	padding: 20px;
}

.rn-card-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 12px;
}

.rn-card-badge {
	background: var(--rn-accent-soft);
	border-radius: 6px;
	color: var(--rn-accent);
	display: inline-block;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.3;
	padding: 4px 10px;
}

.rn-card h2,
.rn-card h3,
.rn-card-title {
	color: var(--rn-ink);
	font-size: 22px;
	line-height: 1.28;
	margin: 0 0 10px;
}

.rn-card p {
	color: #777777;
	margin: 0;
}

.rn-card-footer {
	align-items: center;
	border-top: 1px solid var(--rn-line);
	color: #aaaaaa;
	display: flex;
	font-size: 13px;
	font-weight: 800;
	justify-content: space-between;
	margin-top: 16px;
	padding-top: 16px;
}

.rn-card-footer span:last-child {
	color: var(--rn-accent);
}

.rn-content {
	padding: 44px 0 76px;
}

.rn-content article {
	margin: 0 auto;
	max-width: 920px;
}

.rn-breadcrumb {
	color: #999999;
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
	gap: 8px;
	margin-bottom: 22px;
}

.rn-breadcrumb a {
	color: #666666;
	font-weight: 800;
}

.rn-content h1 {
	color: var(--rn-ink);
	font-size: clamp(34px, 4vw, 58px);
	line-height: 1.08;
	margin: 0 0 14px;
}

.rn-content .entry-meta {
	color: #999999;
	font-size: 14px;
	font-weight: 800;
	margin-bottom: 24px;
}

.rn-featured-media {
	align-items: end;
	aspect-ratio: 16 / 8;
	background:
		linear-gradient(180deg, rgba(17, 17, 17, 0), rgba(17, 17, 17, 0.55)),
		linear-gradient(135deg, #f7d794, #7dc7d5 50%, #88b36e);
	border-radius: 18px;
	color: #ffffff;
	display: flex;
	font-size: clamp(22px, 3vw, 40px);
	font-weight: 900;
	margin-bottom: 34px;
	overflow: hidden;
	padding: 28px;
}

.rn-featured-media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.rn-content .entry-body {
	font-size: 18px;
}

.rn-content .entry-body h2 {
	color: var(--rn-ink);
	font-size: 30px;
	line-height: 1.2;
	margin: 42px 0 14px;
}

.rn-content .entry-body p {
	margin: 0 0 20px;
}

.rn-related {
	margin: 64px auto 0;
	max-width: 1180px;
}

.rn-related h2 {
	font-size: 34px;
	line-height: 1.1;
	margin: 0 0 24px;
}

.rn-subscribe-band {
	background: #111111;
	color: #ffffff;
	padding: 42px 0;
}

.rn-subscribe-box {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 16px;
	padding: 24px;
}

.rn-footer {
	background: #122022;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.72);
	padding: 38px 0;
}

.rn-footer-brand {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-bottom: 18px;
}

.rn-footer-logo {
	height: auto;
	width: 184px;
}

.rn-footer p {
	margin: 0;
	max-width: 640px;
}

.rn-footer a {
	color: rgba(255, 255, 255, 0.76);
}

.rn-legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 16px;
}

.rn-legal-links a {
	color: rgba(255, 255, 255, 0.58);
	font-size: 13px;
	font-weight: 800;
}

.pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 34px;
}

.page-numbers {
	border: 1px solid var(--rn-line);
	border-radius: 8px;
	color: var(--rn-ink);
	font-weight: 800;
	padding: 9px 12px;
}

.page-numbers.current {
	background: var(--rn-accent);
	border-color: var(--rn-accent);
	color: #ffffff;
}

@media (max-width: 980px) {
	.rn-nav {
		flex-wrap: wrap;
	}

	.rn-site-search {
		max-width: none;
		order: 3;
		width: 100%;
	}

	.rn-city-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rn-hero-inner,
	.rn-card-grid,
	.rn-discovery-panel,
	.rn-discovery-form {
		grid-template-columns: 1fr;
	}

	.rn-hero {
		min-height: auto;
	}
}

@media (max-width: 720px) {
	.rn-container {
		padding: 0 18px;
	}

	.rn-nav,
	.rn-section-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.rn-menu {
		gap: 0;
	}

	.rn-menu a {
		font-size: 14px;
		padding: 9px 10px;
	}

	.rn-brand-logo {
		width: 156px;
	}

	.rn-hero {
		padding: 62px 0 44px;
	}

	.rn-city-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rn-featured-media {
		aspect-ratio: 4 / 3;
	}
}


/* Planning tools and narrow-screen reading. */
.rn-city-directory { margin: 20px 0; }
.rn-city-directory label { display: block; font-weight: 700; margin-bottom: 8px; }
.rn-city-directory input { width: 100%; max-width: 520px; padding: 13px 16px; border: 1px solid #cbd3d5; border-radius: 8px; font: inherit; }
.rn-city-directory summary { cursor: pointer; padding: 12px 0; font-weight: 700; }
.rn-city-count { color: #52656c; font-size: .9rem; }
.rn-city-grid [hidden] { display: none !important; }
.rn-table-scroll { width: 100%; overflow-x: auto; margin: 20px 0; }
.entry-body .rn-table-scroll table { border-collapse: collapse; width: 100%; min-width: 470px; font-size: .95rem; }
.entry-body .rn-table-scroll th, .entry-body .rn-table-scroll td { border: 1px solid #dfe5e7; padding: 12px; vertical-align: top; text-align: left; }
.entry-body .rn-table-scroll th { background: #f8f4e8; }
.entry-body a { overflow-wrap: anywhere; }
.rn-booking-panel { padding: 24px; margin: 32px 0; border: 1px solid #e4d8b4; border-radius: 12px; background: #fff9eb; }
.rn-commercial-note { font-size: .85rem; color: #52656c; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #936b08; outline-offset: 3px; }
/* Keep one breadcrumb and the footer newsletter instead of duplicate content forms. */
.entry-body .rn-topic-path { display: none; }
.entry-body .wp-block-group.has-border-color:has(.wp-block-jetpack-subscriptions) { display: none; }
@media (max-width: 600px) { .rn-booking-panel { padding: 18px; } .rn-actions { flex-wrap: wrap; } .rn-city-directory input { max-width: 100%; } }
	