/*
Theme Name: Roshdar Tours
Theme URI: https://roshdartours.com/
Author: CorteX Solutions
Author URI: https://cortex.lk
Description: Lightweight classic WordPress theme for Roshdar Tours.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: roshdar-tours
*/

.admin-bar #siteHeader {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar #siteHeader {
		top: 46px;
	}
}

.rt-custom-logo {
	display: block;
	width: auto;
	max-width: 12rem;
	max-height: 3rem;
	object-fit: contain;
}

.rt-menu {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-menu a {
	font-size: .875rem;
	font-weight: 800;
	text-transform: uppercase;
	color: #172033;
	transition: color .15s ease;
}

.rt-menu a:hover,
.rt-menu .current-menu-item > a,
.rt-menu .current_page_item > a {
	color: #0d8a69;
}

.rt-menu-mobile {
	display: grid;
	gap: .25rem;
	width: 100%;
}

.rt-menu-mobile a {
	display: block;
	border-radius: .375rem;
	padding: .75rem .5rem;
}

.rt-menu-mobile li {
	width: 100%;
}

.rt-menu-mobile a:hover {
	background: #ecfdf7;
}

.rt-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-footer-menu a {
	font-size: .875rem;
	font-weight: 700;
	color: rgba(255, 255, 255, .75);
}

.rt-footer-menu a:hover {
	color: #fff;
}

.rt-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 1rem;
}

.rt-social-links a {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	font-size: .875rem;
	font-weight: 700;
	color: rgba(255, 255, 255, .75);
}

.rt-social-links a:hover {
	color: #fff;
}

.rt-page-shell,
.rt-content-card {
	border: 1px solid rgba(18, 168, 125, .15);
	border-radius: .5rem;
	background: #fff;
	padding: clamp(1.5rem, 3vw, 3rem);
	box-shadow: 0 16px 40px rgba(23, 32, 51, .1);
}

.rt-entry-content {
	font-size: 1rem;
	line-height: 1.85;
	color: #475569;
}

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

.rt-entry-content h2,
.rt-entry-content h3,
.rt-entry-content h4 {
	color: #172033;
	font-weight: 800;
	line-height: 1.25;
}

.rt-entry-content h2 {
	font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.rt-entry-content h3 {
	font-size: 1.5rem;
}

.rt-entry-content ul,
.rt-entry-content ol {
	padding-left: 1.25rem;
}

.rt-entry-content ul {
	list-style: disc;
}

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

.rt-entry-content a {
	color: #0d8a69;
	font-weight: 700;
}

.rt-card-link {
	display: block;
}

.rt-tour-card-meta {
	display: grid;
	gap: .5rem;
	margin-top: 1rem;
	font-size: .875rem;
	line-height: 1.45;
	color: #475569;
}

.rt-tour-card-meta span {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
}

.rt-tour-meta-grid {
	display: grid;
	gap: .75rem;
	margin-top: 1.5rem;
}

.rt-tour-meta-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: .75rem;
	font-size: .95rem;
}

.rt-tour-meta-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.rt-tour-meta-label {
	font-weight: 800;
	color: #172033;
}

.rt-tour-meta-value {
	text-align: right;
	color: #475569;
}

.rt-tour-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: .75rem;
	margin-top: 1rem;
}

.rt-tour-gallery img {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: .5rem;
	object-fit: cover;
}

.rt-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-list li {
	position: relative;
	padding-left: 1.3rem;
	font-size: .95rem;
	line-height: 1.75;
	color: #475569;
}

.rt-list li::before {
	position: absolute;
	top: .72em;
	left: 0;
	width: .45rem;
	height: .45rem;
	border-radius: 999px;
	background: #12a87d;
	content: "";
}

.rt-empty-state {
	border: 1px solid rgba(18, 168, 125, .15);
	border-radius: .5rem;
	background: #fff;
	padding: clamp(1.5rem, 4vw, 3rem);
	text-align: center;
	color: #475569;
}

.rt-post-card-thumbnail {
	display: block;
	height: 16rem;
	overflow: hidden;
}

.rt-post-card-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.package-card:hover .rt-post-card-thumbnail img {
	transform: scale(1.05);
}

.rt-admin-gallery-preview {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: .75rem;
}

.rt-admin-gallery-preview img {
	width: 80px;
	height: 80px;
	border-radius: 4px;
	object-fit: cover;
}

@media (max-width: 1023px) {
	.rt-menu {
		gap: 1rem;
	}
}

@media (max-width: 640px) {
	#home h1 {
		font-size: clamp(2.35rem, 12vw, 3rem);
		overflow-wrap: anywhere;
	}

	#home .container-pad {
		min-height: 640px;
		padding-top: 5rem;
		padding-bottom: 5rem;
	}

	.btn-primary,
	.btn-secondary,
	.btn-outline {
		width: 100%;
		min-height: 3rem;
	}

	.package-card .grid-cols-2 {
		grid-template-columns: 1fr;
	}

	.rt-tour-hero-image {
		height: 340px;
	}

	.rt-tour-meta-item {
		display: block;
	}

	.rt-tour-meta-value {
		display: block;
		margin-top: .25rem;
		text-align: left;
	}
}
