/*
Theme Name: RealtorX
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: RealtorX is a lightweight, reusable WordPress starter theme built with Bootstrap, Font Awesome and AOS.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.9
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: realtorx
Tags: custom-logo, custom-menu, featured-images, responsive-layout, bootstrap
*/

/* =========================================================
   1. CSS VARIABLES
   ========================================================= */

:root {

	/* Brand */
	--rx-primary: #882120;
	--rx-primary-dark: #600000;
	--rx-secondary: #6c757d;

	/* Text */
	--rx-heading: #111827;
	--rx-text: #4b5563;
	--rx-muted: #6b7280;

	/* Background */
	--rx-white: #ffffff;
	--rx-light: #f8fafc;
	--rx-dark: #111;

	/* Borders */
	--rx-border: #e5e7eb;

	/* Radius */
	--rx-radius-sm: 6px;
	--rx-radius-md: 10px;
	--rx-radius-lg: 16px;

	/* Shadows */
	--rx-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
	--rx-shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
	--rx-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);

	/* Typography */
	--rx-font-body: "Inter", sans-serif;
	--rx-font-heading: "Plus Jakarta Sans", sans-serif;

	/* Transition */
	--rx-transition: all 0.3s ease;

}


/* =========================================================
   2. RESET / GLOBAL
   ========================================================= */

html {
	scroll-behavior: smooth;
}

body {

	margin: 0;
	padding: 0;

	background: var(--rx-white);

	color: var(--rx-text);

	font-family: var(--rx-font-body);

	font-size: 16px;
	font-weight: 400;

	line-height: 1.7;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

}

*,
*::before,
*::after {
	box-sizing: border-box;
}

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

iframe {
	max-width: 100%;
}

a {

	color: var(--rx-primary);

	text-decoration: none;

	transition: var(--rx-transition);

}

a:hover {
	color: var(--rx-primary-dark);
}

button,
input,
textarea,
select {
	font-family: inherit;
}

button {
	cursor: pointer;
}


/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {

	margin-top: 0;

	color: var(--rx-heading);

	font-family: var(--rx-font-heading);

	font-weight: 700;

	line-height: 1.25;

}

h1 {
	font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
	font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
	font-size: 1.5rem;
}

h5 {
	font-size: 1.25rem;
}

h6 {
	font-size: 1rem;
}

p {
	margin-bottom: 1rem;
}

.text-muted {
	color: var(--rx-muted) !important;
}


/* =========================================================
   4. WORDPRESS CORE
   ========================================================= */

.alignleft {

	float: left;

	margin-right: 1.5rem;
	margin-bottom: 1rem;

}

.alignright {

	float: right;

	margin-left: 1.5rem;
	margin-bottom: 1rem;

}

.aligncenter {

	display: block;

	margin-left: auto;
	margin-right: auto;

}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 14px;
	color: var(--rx-muted);
}

.screen-reader-text {

	position: absolute;

	width: 1px;
	height: 1px;

	padding: 0;
	margin: -1px;

	overflow: hidden;

	clip: rect(0, 0, 0, 0);

	white-space: nowrap;

	border: 0;

}


/* =========================================================
   5. GLOBAL LAYOUT
   ========================================================= */

.site {
	width: 100%;
	overflow: hidden;
}

.site-main {
	width: 100%;
}

.section {

	position: relative;

	padding-top: 100px;
	padding-bottom: 100px;

}

.section-sm {

	padding-top: 60px;
	padding-bottom: 60px;

}

.section-lg {

	padding-top: 140px;
	padding-bottom: 140px;

}


/* =========================================================
   6. CONTAINER
   ========================================================= */

.container {

	width: 100%;

}

.container-wide {

	max-width: 1440px;

	margin-left: auto;
	margin-right: auto;

	padding-left: 20px;
	padding-right: 20px;

}


/* =========================================================
   7. BUTTONS
   ========================================================= */

.btn {

	border-radius: var(--rx-radius-sm);

	font-weight: 600;

	padding: 12px 24px;

	transition: var(--rx-transition);

}

.btn-primary {

	background-color: var(--rx-primary);

	border-color: var(--rx-primary);

}

.btn-primary:hover {

	background-color: var(--rx-primary-dark);

	border-color: var(--rx-primary-dark);

	transform: translateY(-2px);

}

.btn-outline-primary:hover {
	transform: translateY(-2px);
}


/* =========================================================
   8. HEADER / SITE BRANDING
   ========================================================= */

.site-header {

	position: relative;

	width: 100%;

	background: var(--rx-white);

	z-index: 1000;

}


/* =========================================================
   SITE BRANDING
   ========================================================= */

.site-branding {

	display: flex;

	align-items: center;

}

.site-branding .custom-logo-link {

	display: inline-flex;

	align-items: center;

}

.site-branding .custom-logo {

	display: block;

	width: auto;

	max-width: 180px;

	max-height: 60px;

}

.site-title {

	display: inline-block;

	color: var(--rx-heading);

	font-family: var(--rx-font-heading);

	font-size: 1.5rem;

	font-weight: 700;

	line-height: 1;

}

.site-title:hover {

	color: var(--rx-primary);

}


/* =========================================================
   NAVBAR
   ========================================================= */

.site-header .navbar {

	min-height: 80px;

	padding-top: 15px;
	padding-bottom: 15px;

}

.site-header .navbar-brand {

	margin-right: 40px;

	padding: 0;

}

.site-header .navbar-toggler {

	border: 0;

	padding: 8px;

	box-shadow: none;

}

.site-header .navbar-toggler:focus {

	box-shadow: none;

}


/* =========================================================
   9. PRIMARY NAVIGATION
   ========================================================= */

#primary-menu {

	align-items: center;

	gap: 5px;

}

#primary-menu .nav-item {

	position: relative;

}

#primary-menu .nav-link {

	padding: 10px 15px;

	color: var(--rx-heading);

	font-size: 15px;

	font-weight: 500;

}

#primary-menu .nav-link:hover,
#primary-menu .current-menu-item > .nav-link,
#primary-menu .current-menu-ancestor > .nav-link {

	color: var(--rx-primary);

}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 991.98px) {

	.site-header .navbar {

		min-height: 70px;

	}

	.site-header .navbar-collapse {

		margin-top: 15px;

		padding-top: 10px;

		border-top: 1px solid var(--rx-border);

	}

	#primary-menu {

		align-items: stretch;

		gap: 0;

	}

	#primary-menu .nav-link {

		padding: 12px 5px;

	}

	.site-branding .custom-logo {

		max-width: 150px;

		max-height: 50px;

	}

}


/* =========================================================
   10. HERO
   ========================================================= */

.hero-section {

	position: relative;

	display: flex;

	align-items: center;

	background-color: var(--rx-light);

}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero-title {

	margin-bottom: 25px;

	font-weight: 800;

}

.hero-description {

	max-width: 700px;

	margin-bottom: 35px;

	color: var(--rx-text);

	font-size: 18px;

}


/* =========================================================
   11. SECTION HEADER
   ========================================================= */

.section-header {

	max-width: 800px;

	margin: 0 auto 60px;

	text-align: center;

}

.section-subtitle {

	display: inline-block;

	margin-bottom: 12px;

	color: var(--rx-primary);

	font-size: 14px;

	font-weight: 700;

	letter-spacing: 1.5px;

	text-transform: uppercase;

}

.section-title {
	margin-bottom: 20px;
}

.section-description {
	color: var(--rx-muted);
}


/* =========================================================
   12. CARDS
   ========================================================= */

.realtorx-card {

	background: var(--rx-white);

	border: 1px solid var(--rx-border);

	border-radius: var(--rx-radius-md);

	box-shadow: var(--rx-shadow-sm);

	overflow: hidden;

	transition: var(--rx-transition);

}

.realtorx-card:hover {

	transform: translateY(-5px);

	box-shadow: var(--rx-shadow-md);

}


/* =========================================================
   13. PROPERTY CARD
   ========================================================= */

.property-card {

	position: relative;

	background: var(--rx-white);

	border-radius: var(--rx-radius-md);

	overflow: hidden;

	box-shadow: var(--rx-shadow-sm);

	transition: var(--rx-transition);

}

.property-card:hover {

	transform: translateY(-5px);

	box-shadow: var(--rx-shadow-lg);

}

.property-card-image {

	position: relative;

	overflow: hidden;

	aspect-ratio: 16 / 10;

}

.property-card-image img {

	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform 0.5s ease;

}

.property-card:hover .property-card-image img {
	transform: scale(1.05);
}

.property-card-content {
	padding: 25px;
}

.property-card-title {
	margin-bottom: 10px;
}


/* =========================================================
   14. FORMS
   ========================================================= */

.form-control,
.form-select {

	min-height: 50px;

	border: 1px solid var(--rx-border);

	border-radius: var(--rx-radius-sm);

	padding: 12px 15px;

}

.form-control:focus,
.form-select:focus {

	border-color: var(--rx-primary);

	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);

}


/* =========================================================
   15. FOOTER
   ========================================================= */

.site-footer {

	padding-top: 70px;
	padding-bottom: 30px;

	background: var(--rx-dark);

	color: #d1d5db;

}

.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {

	color: var(--rx-white);

}

.site-footer a {
	color: #d1d5db;
}

.site-footer a:hover {
	color: var(--rx-white);
}


/* =========================================================
   16. SOCIAL ICONS
   ========================================================= */

.social-links {

	display: flex;

	align-items: center;

	gap: 10px;

}

.social-links a {

	width: 42px;
	height: 42px;

	display: inline-flex;

	align-items: center;
	justify-content: center;

	border: 1px solid rgba(255, 255, 255, 0.15);

	border-radius: 50%;

	color: var(--rx-white);

}

.social-links a:hover {

	background: var(--rx-primary);

	border-color: var(--rx-primary);

	transform: translateY(-3px);

}


/* =========================================================
   17. BACK TO TOP
   ========================================================= */

.back-to-top {

	position: fixed;

	right: 25px;
	bottom: 25px;

	width: 45px;
	height: 45px;

	display: flex;

	align-items: center;
	justify-content: center;

	background: var(--rx-primary);

	color: var(--rx-white);

	border-radius: 50%;

	opacity: 0;
	visibility: hidden;

	z-index: 999;

	transition: var(--rx-transition);

}

.back-to-top.active {

	opacity: 1;
	visibility: visible;

}

.back-to-top:hover {

	background: var(--rx-primary-dark);

	color: var(--rx-white);

	transform: translateY(-3px);

}


/* =========================================================
   18. WORDPRESS ADMIN BAR
   ========================================================= */

.admin-bar .site-header {
	top: 32px;
}


/* =========================================================
   19. RESPONSIVE
   ========================================================= */

@media (max-width: 1199.98px) {

	.section {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.section-lg {
		padding-top: 110px;
		padding-bottom: 110px;
	}

}


@media (max-width: 991.98px) {

	.hero-section {
		min-height: 600px;
	}

	.main-navigation .navbar-nav {
		padding-top: 15px;
		padding-bottom: 15px;
	}

}


@media (max-width: 767.98px) {

	body {
		font-size: 15px;
	}

	.section,
	.section-lg {

		padding-top: 70px;
		padding-bottom: 70px;

	}

	.section-sm {

		padding-top: 45px;
		padding-bottom: 45px;

	}

	.hero-section {
		min-height: 550px;
	}

	.hero-description {
		font-size: 16px;
	}

	.section-header {
		margin-bottom: 40px;
	}

}


@media (max-width: 575.98px) {

	.section,
	.section-lg {

		padding-top: 55px;
		padding-bottom: 55px;

	}

	.hero-section {
		min-height: 500px;
	}

	.btn {

		padding: 11px 20px;

	}

}


/* =========================================================
   20. ACCESSIBILITY
   ========================================================= */

:focus-visible {

	outline: 3px solid rgba(13, 110, 253, 0.4);

	outline-offset: 3px;

}


/* =========================================================
   21. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {

		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;

	}

}

/* =========================================================
   PROPERTIES 
   ========================================================= */

.properties-secondary-hero {
	background-color: var(--rx-light);
}


/* =========================================================
   PROPERTIES SECTION
   ========================================================= */

.properties-section {
	padding: 80px 0;
}

.properties-section .section-heading-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 40px;
}

.properties-count {
	margin: 0;
	color: var(--rx-text);
	font-size: 14px;
}


/* =========================================================
   PROPERTY CARD
   ========================================================= */

.property-card {
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--rx-border);
	background: #fff;
	transition: all 0.3s ease;
}

.property-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}


/* =========================================================
   PROPERTY IMAGE
   ========================================================= */

.property-card-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 2.8;
	background: var(--rx-light);
}

.property-card-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.property-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.property-card:hover .property-card-image img {
	transform: scale(1.04);
}


/* =========================================================
   PROPERTY STATUS
   ========================================================= */

.property-card-status {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 11px;
	background: var(--rx-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}


/* =========================================================
   PROPERTY PRICE
   ========================================================= */

.property-card-price {
	position: absolute;
	right: 14px;
	bottom: 14px;
	padding: 7px 11px;
	background: #fff;
	color: var(--rx-heading);
	font-size: 14px;
	font-weight: 700;
}


/* =========================================================
   PROPERTY CONTENT
   ========================================================= */

.property-card-content {
	padding: 20px;
}

.property-card-location {
	margin-bottom: 8px;
	color: var(--rx-primary);
	font-size: 12px;
	font-weight: 600;
}

.property-card-location i {
	margin-right: 4px;
}

.property-card-title {
	margin: 0 0 9px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
}

.property-card-title a {
	color: var(--rx-heading);
	text-decoration: none;
	transition: color 0.3s ease;
}

.property-card-title a:hover {
	color: var(--rx-primary);
}

.property-card-description {
	margin: 0 0 16px;
	color: var(--rx-text);
	font-size: 13px;
	line-height: 1.6;
}


/* =========================================================
   PROPERTY META
   ========================================================= */

.property-card-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 11px;
	padding: 14px 0;
	border-top: 1px solid var(--rx-border);
	border-bottom: 1px solid var(--rx-border);
	color: var(--rx-text);
	font-size: 12px;
}

.property-card-meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.property-card-meta i {
	color: var(--rx-primary);
}


/* =========================================================
   PROPERTY FOOTER
   ========================================================= */

.property-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 15px;
}

.property-card-type {
	color: var(--rx-text);
	font-size: 12px;
	font-weight: 500;
}

.property-card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--rx-heading);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.3s ease;
}

.property-card-link:hover {
	color: var(--rx-primary);
}

.property-card-link i {
	font-size: 10px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

	.properties-section {
		padding: 70px 0;
	}

	.properties-section .section-heading-row {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 35px;
	}

	.property-card-content {
		padding: 18px;
	}

	.property-card-title {
		font-size: 18px;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

	.properties-section {
		padding: 55px 0;
	}

	.property-card-content {
		padding: 18px;
	}

	.property-card-title {
		font-size: 18px;
	}

	.property-card-meta {
		gap: 9px;
	}

	.property-card-footer {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

	.properties-section {
		padding: 45px 0;
	}

	.property-card-image {
		aspect-ratio: 4 / 2.7;
	}

	.property-card-content {
		padding: 16px;
	}

	.property-card-title {
		font-size: 17px;
	}

	.property-card-description {
		font-size: 12px;
	}

}
/* =========================================================
   BUYING / SELLING PAGE
   ========================================================= */

.buying-hero {
    padding: 100px 0;
    background: var(--rx-dark);
    color: var(--rx-white);
}

.buying-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(400px, 520px);
    align-items: center;
    gap: 75px;
}

.buying-hero-content {
    max-width: 720px;
}

.buying-overline {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--rx-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.4;
    text-transform: uppercase;
}

.buying-hero h1 {
    max-width: 760px;
    margin: 0 0 25px;
    color: var(--rx-white);
    font-size: clamp(44px, 5.5vw, 74px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -1.5px;
}

.buying-hero p {
    max-width: 650px;
    margin: 0;
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.8;
}

.buying-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 35px;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.buying-hero-image {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
}

.buying-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.buying-section {
    padding: 115px 0;
}

.buying-white {
    background: var(--rx-white);
}

.buying-gray {
    background: var(--rx-light);
}

.buying-section-grid {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 85px;
    max-width: 1120px;
    margin: 0 auto;
}

.buying-section-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 210px;
}

.buying-section-number {
    color: var(--rx-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.buying-section-content {
    max-width: 780px;
}

.buying-section-content h2 {
    margin: 0 0 25px;
    color: var(--rx-heading);
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -1px;
}

.buying-section-content h3 {
    margin: 38px 0 12px;
    color: var(--rx-heading);
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
}

.buying-section-content p {
    margin: 0 0 20px;
    color: var(--rx-text);
    font-size: 17px;
    line-height: 1.85;
}

.buying-content-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    color: var(--rx-heading);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.buying-content-link span {
    transition: transform 0.3s ease;
}

.buying-content-link:hover {
    color: var(--rx-primary);
}

.buying-content-link:hover span {
    transform: translateX(5px);
}


/* =========================================================
   INFO LINE
   ========================================================= */

.buying-info-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 35px;
    padding: 20px 0;
    border-top: 1px solid var(--rx-border);
    border-bottom: 1px solid var(--rx-border);
}

.buying-info-line strong {
    color: var(--rx-heading);
    font-size: 15px;
    font-weight: 700;
}

.buying-info-line a {
    color: var(--rx-primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.buying-info-line a:hover {
    opacity: 0.75;
}


/* =========================================================
   PROCESS
   ========================================================= */

.buying-process-section {
    padding: 115px 0;
    background: var(--rx-light);
}

.buying-process-heading {
    display: grid;
    grid-template-columns: 1fr 410px;
    gap: 80px;
    align-items: end;
    margin-bottom: 60px;
}

.buying-process-heading h2 {
    max-width: 720px;
    margin: 0;
    color: var(--rx-heading);
    font-size: clamp(38px, 4.5vw, 60px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -1px;
}

.buying-process-heading p {
    margin: 0;
    color: var(--rx-text);
    font-size: 16px;
    line-height: 1.8;
}

.buying-process-list {
    border-top: 1px solid var(--rx-border);
}

.buying-process-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    padding: 32px 0;
    border-bottom: 1px solid var(--rx-border);
}

.buying-process-item > span {
    color: var(--rx-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.buying-process-item h3 {
    margin: 0 0 8px;
    color: var(--rx-heading);
    font-size: 22px;
    line-height: 1.35;
    font-weight: 600;
}

.buying-process-item p {
    max-width: 720px;
    margin: 0;
    color: var(--rx-text);
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   CTA
   ========================================================= */

.buying-cta {
    padding: 90px 0;
    background: var(--rx-primary);
}

.buying-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.buying-cta .buying-overline {
    color: var(--rx-white);
    opacity: 0.85;
}

.buying-cta h2 {
    margin: 0 0 14px;
    color: var(--rx-white);
    font-size: clamp(35px, 4vw, 54px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.8px;
}

.buying-cta p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.8;
}

.buying-cta .btn-light {
    flex-shrink: 0;
    color: var(--rx-heading);
    background: var(--rx-white);
    border-color: var(--rx-white);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .buying-hero {
        padding: 80px 0;
    }

    .buying-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .buying-hero-content {
        max-width: 760px;
    }

    .buying-hero-image {
        height: 500px;
    }

    .buying-section {
        padding: 90px 0;
    }

    .buying-section-grid {
        grid-template-columns: 200px 1fr;
        gap: 50px;
    }

    .buying-process-section {
        padding: 90px 0;
    }

    .buying-process-heading {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .buying-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .buying-hero {
        padding: 65px 0 70px;
    }

    .buying-hero-grid {
        gap: 40px;
    }

    .buying-hero h1 {
        font-size: 42px;
        letter-spacing: -0.8px;
    }

    .buying-hero p {
        font-size: 16px;
        line-height: 1.75;
    }

    .buying-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .buying-hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .buying-hero-image {
        height: 420px;
    }


    /* GENERAL */

    .buying-section {
        padding: 70px 0;
    }

    .buying-section-grid {
        display: block;
    }

    .buying-section-label {
        min-height: auto;
        margin-bottom: 30px;
    }

    .buying-section-number {
        display: none;
    }

    .buying-section-content h2 {
        font-size: 36px;
    }

    .buying-section-content p {
        font-size: 16px;
        line-height: 1.8;
    }


    /* INFO */

    .buying-info-line {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }


    /* PROCESS */

    .buying-process-section {
        padding: 70px 0;
    }

    .buying-process-heading {
        margin-bottom: 40px;
    }

    .buying-process-heading h2 {
        font-size: 38px;
    }

    .buying-process-item {
        grid-template-columns: 45px 1fr;
        gap: 15px;
        padding: 26px 0;
    }

    .buying-process-item h3 {
        font-size: 19px;
    }

    .buying-process-item p {
        font-size: 15px;
    }


    /* CTA */

    .buying-cta {
        padding: 70px 0;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .buying-hero {
        padding: 55px 0 60px;
    }

    .buying-hero h1 {
        font-size: 36px;
    }

    .buying-hero-image {
        height: 350px;
    }

    .buying-section {
        padding: 60px 0;
    }

    .buying-section-content h2 {
        font-size: 31px;
    }

    .buying-process-section {
        padding: 60px 0;
    }

    .buying-process-heading h2 {
        font-size: 32px;
    }

    .buying-process-item {
        grid-template-columns: 35px 1fr;
        gap: 10px;
    }

    .buying-process-item h3 {
        font-size: 18px;
    }

    .buying-cta {
        padding: 60px 0;
    }

    .buying-cta h2 {
        font-size: 34px;
    }

}

/* ================================================================
   REALTORX — PROPERTY DETAILS PAGE
================================================================ */


/* ================================================================
   GLOBAL
================================================================ */

.property-details-page {
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #ffffff;
}

.property-details-page *,
.property-details-page *::before,
.property-details-page *::after {
	box-sizing: border-box;
}


/* ================================================================
   COMMON SECTION HEADING
================================================================ */

.property-section-heading {
	margin-bottom: 28px;
}

.property-section-heading > span,
.property-section-eyebrow {
	display: block;
	margin-bottom: 7px;
	color: #9f2727;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 1.2px;
}

.property-section-heading h2,
.property-quick-info-header h2 {
	margin: 0;
	color: #16213e;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
}


/* ================================================================
   PROPERTY HERO SECTION
================================================================ */

.property-detail-section {
	padding-top: 55px;
	padding-bottom: 70px;
}


/* ================================================================
   PROPERTY MEDIA
================================================================ */

.property-media {
	width: 100%;
}

.property-feature-image {
	position: relative;
	width: 100%;
	height: 520px;
	overflow: hidden;
	background: #f8f9fa;
	border-radius: 10px;
}

.property-feature-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}


/* ================================================================
   NO IMAGE
================================================================ */

.property-no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 100%;
	height: 100%;
	padding: 30px;
	color: #5f6b7a;
	text-align: center;
	background: #f8f9fa;
}

.property-no-image i {
	margin-bottom: 12px;
	color: #9f2727;
	font-size: 42px;
}

.property-no-image p {
	margin: 0;
	font-size: 15px;
}


/* ================================================================
   PROPERTY GALLERY
================================================================ */

.property-feature-image-gallery {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	margin-top: 12px;
}

.property-gallery-item {
	position: relative;
	display: block;
	width: 100%;
	height: 78px;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 6px;
	background: #f8f9fa;
	cursor: pointer;
}

.property-gallery-item::after {
	position: absolute;
	content: "";
	inset: 0;
	background: rgba(22, 33, 62, 0);
	transition: background 0.25s ease;
}

.property-gallery-item:hover::after {
	background: rgba(22, 33, 62, 0.18);
}

.property-gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.property-gallery-item:hover img {
	transform: scale(1.05);
}


/* ================================================================
   PROPERTY CONTENT
================================================================ */

.property-content {
	height: 100%;
	padding: 10px 0 0 20px;
}


/* ================================================================
   PROPERTY STATUS
================================================================ */

.property-status-badge {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	margin-bottom: 18px;
	color: #ffffff;
	background: #9f2727;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.8px;
}


/* ================================================================
   PROPERTY PRICE
================================================================ */

.property-price {
	margin-bottom: 12px;
	color: #16213e;
	font-size: 38px;
	font-weight: 700;
	line-height: 1.15;
}


/* ================================================================
   PROPERTY TITLE
================================================================ */

.property-title {
	margin: 0 0 10px;
	color: #16213e;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
}


/* ================================================================
   PROPERTY LOCATION
================================================================ */

.property-location {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	color: #5f6b7a;
	font-size: 15px;
	line-height: 1.5;
}

.property-location i {
	color: #9f2727;
	font-size: 14px;
}

.property-area {
	margin-bottom: 30px;
	color: #7b8490;
	font-size: 13px;
}


/* ================================================================
   MAIN PROPERTY STATS
================================================================ */

.property-main-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-bottom: 32px;
	border-top: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
}

.property-main-stat {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
	padding: 18px 12px;
	border-right: 1px solid #e5e7eb;
}

.property-main-stat:last-child {
	border-right: 0;
}

.property-stat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	color: #9f2727;
	background: #f8f9fa;
	border-radius: 50%;
	font-size: 14px;
}

.property-stat-content {
	min-width: 0;
}

.property-stat-content strong {
	display: block;
	margin-bottom: 2px;
	color: #16213e;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
}

.property-stat-content span {
	display: block;
	color: #5f6b7a;
	font-size: 12px;
	line-height: 1.3;
}


/* ================================================================
   SALE DETAILS
================================================================ */

.property-sale-details {
	padding-top: 5px;
}

.property-sale-details .property-section-heading {
	margin-bottom: 18px;
}

.property-sale-details-list {
	border-top: 1px solid #e5e7eb;
}

.property-sale-detail-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 13px 0;
	border-bottom: 1px solid #e5e7eb;
}

.property-sale-detail-item span {
	color: #5f6b7a;
	font-size: 13px;
}

.property-sale-detail-item strong {
	color: #16213e;
	font-size: 14px;
	font-weight: 700;
	text-align: right;
}


/* ================================================================
   PROPERTY EXCERPT
================================================================ */

.property-excerpt {
	margin-top: 28px;
	padding: 20px;
	background: #f8f9fa;
	border-left: 3px solid #9f2727;
}

.property-excerpt p {
	margin: 0;
	color: #5f6b7a;
	font-size: 15px;
	line-height: 1.7;
}


/* ================================================================
   WORDPRESS CONTENT
================================================================ */

.property-description {
	margin-top: 28px;
	color: #5f6b7a;
	font-size: 15px;
	line-height: 1.8;
}

.property-description > *:first-child {
	margin-top: 0;
}

.property-description > *:last-child {
	margin-bottom: 0;
}

.property-description h2,
.property-description h3,
.property-description h4 {
	margin-top: 30px;
	margin-bottom: 12px;
	color: #16213e;
	font-weight: 700;
}

.property-description p {
	margin-bottom: 16px;
}

.property-description ul,
.property-description ol {
	padding-left: 20px;
	margin-bottom: 20px;
}

.property-description li {
	margin-bottom: 7px;
}


/* ================================================================
   ABOUT THIS HOME
================================================================ */

.property-about-section {
	padding-bottom: 55px;
}

.property-about-box {
	padding: 42px;
	background: #f8f9fa;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
}

.property-about-content {
	max-width: 900px;
}

.property-about-content p {
	margin: 0 0 18px;
	color: #5f6b7a;
	font-size: 15px;
	line-height: 1.8;
}

.property-about-content p:last-child {
	margin-bottom: 0;
}


/* ================================================================
   PROPERTY INFORMATION SECTION
================================================================ */

.property-info-section {
	padding: 0 0 80px;
	background: #ffffff;
}


/* ================================================================
   QUICK INFO
================================================================ */

.property-quick-info {
	height: 100%;
	padding: 34px;
	background: #f8f9fa;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
}

.property-quick-info-header {
	margin-bottom: 25px;
}

.property-quick-info-header h2 {
	font-size: 28px;
}


/* ================================================================
   QUICK INFO GRID
================================================================ */

.property-quick-info-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	border-top: 1px solid #e5e7eb;
	border-left: 1px solid #e5e7eb;
}

.property-quick-info-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 105px;
	padding: 20px 25px;
	background: #ffffff;
	border-right: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
	transition: background 0.25s ease;
}

.property-quick-info-item:hover {
	background: #fcfcfc;
}

.property-quick-info-value {
	display: block;
	margin-bottom: 6px;
	color: #16213e;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
}

.property-quick-info-label {
	display: block;
	color: #5f6b7a;
	font-size: 13px;
	line-height: 1.4;
}


/* ================================================================
   CONTACT BOX
================================================================ */

.property-contact-box {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	height: 100%;
	min-height: 100%;
	padding: 34px;
	background: #16213e;
	border-radius: 10px;
}


/* ================================================================
   CONTACT ICON
================================================================ */

.property-contact-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	margin-top: 2px;
	color: #ffffff;
	background: #9f2727;
	border-radius: 50%;
	font-size: 15px;
}


/* ================================================================
   CONTACT CONTENT
================================================================ */

.property-contact-content {
	flex: 1;
	min-width: 0;
}

.property-contact-content .property-section-eyebrow {
	margin-bottom: 8px;
	color: #d4a45c;
}

.property-contact-content h3 {
	margin: 0 0 12px;
	color: #ffffff;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
}

.property-contact-content p {
	max-width: 330px;
	margin: 0 0 25px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	line-height: 1.65;
}


/* ================================================================
   CALL BUTTON
================================================================ */

.property-call-button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 14px 16px;
	color: #ffffff;
	text-decoration: none;
	background: #9f2727;
	border: 1px solid #9f2727;
	border-radius: 5px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	transition:
		background 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease;
}

.property-call-button:hover {
	color: #ffffff;
	background: #851f1f;
	border-color: #851f1f;
	transform: translateY(-2px);
}

.property-call-button span {
	display: flex;
	align-items: center;
	gap: 8px;
}

.property-call-button span i {
	font-size: 12px;
}

.property-call-button > i {
	font-size: 11px;
}


/* ================================================================
   GALLERY MODAL
================================================================ */

.property-gallery-modal .modal-dialog {
	max-width: 1100px;
	margin: 30px auto;
}

.property-gallery-modal .modal-content {
	overflow: hidden;
	background: #16213e;
	border: 0;
	border-radius: 10px;
}

.property-gallery-modal .modal-body {
	position: relative;
	padding: 25px;
}

.property-gallery-modal-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 550px;
	overflow: hidden;
	background: #10182d;
	border-radius: 7px;
}

.property-gallery-modal-image img {
	display: block;
	width: 100%;
	max-height: 650px;
	object-fit: contain;
}


/* ================================================================
   MODAL CLOSE
================================================================ */

.property-gallery-close {
	position: absolute;
	top: 38px;
	right: 38px;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	color: #ffffff;
	background: rgba(22, 33, 62, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.25s ease;
}

.property-gallery-close:hover {
	background: #9f2727;
}


/* ================================================================
   MODAL NAVIGATION
================================================================ */

.property-gallery-modal-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-top: 18px;
}

.property-gallery-modal-navigation .btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	color: #ffffff;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 5px;
	font-size: 13px;
	transition:
		background 0.25s ease,
		border-color 0.25s ease;
}

.property-gallery-modal-navigation .btn:hover {
	color: #ffffff;
	background: #9f2727;
	border-color: #9f2727;
}


/* ================================================================
   LARGE TABLET
================================================================ */

@media (max-width: 1199px) {

	.property-feature-image {
		height: 470px;
	}

	.property-content {
		padding-left: 5px;
	}

	.property-price {
		font-size: 34px;
	}

	.property-title {
		font-size: 29px;
	}

	.property-main-stat {
		padding: 16px 9px;
	}

	.property-stat-icon {
		flex-basis: 34px;
		width: 34px;
		height: 34px;
	}

	.property-stat-content strong {
		font-size: 15px;
	}

	.property-contact-box {
		padding: 30px;
	}

	.property-contact-content h3 {
		font-size: 22px;
	}

}


/* ================================================================
   TABLET
================================================================ */

@media (max-width: 991px) {

	.property-detail-section {
		padding-top: 40px;
		padding-bottom: 50px;
	}

	.property-feature-image {
		height: 500px;
	}

	.property-content {
		padding: 10px 0 0;
	}

	.property-about-section {
		padding-bottom: 45px;
	}

	.property-about-box {
		padding: 35px;
	}

	.property-info-section {
		padding-bottom: 60px;
	}

	.property-quick-info {
		padding: 30px;
	}

	.property-contact-box {
		min-height: auto;
		padding: 30px;
	}

	.property-gallery-modal-image {
		min-height: 450px;
	}

}


/* ================================================================
   SMALL TABLET
================================================================ */

@media (max-width: 767px) {

	.property-detail-section {
		padding-top: 30px;
		padding-bottom: 40px;
	}

	.property-feature-image {
		height: 420px;
	}

	.property-feature-image-gallery {
		grid-template-columns: repeat(4, 1fr);
	}

	.property-gallery-item {
		height: 70px;
	}

	.property-price {
		font-size: 32px;
	}

	.property-title {
		font-size: 28px;
	}

	.property-main-stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.property-main-stat:nth-child(2) {
		border-right: 0;
	}

	.property-main-stat:nth-child(1),
	.property-main-stat:nth-child(2) {
		border-bottom: 1px solid #e5e7eb;
	}

	.property-about-box {
		padding: 30px 25px;
	}

	.property-section-heading h2,
	.property-quick-info-header h2 {
		font-size: 24px;
	}

	.property-quick-info {
		padding: 28px 22px;
	}

	.property-quick-info-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.property-contact-box {
		padding: 28px 22px;
	}

	.property-gallery-modal .modal-dialog {
		margin: 15px;
	}

	.property-gallery-modal .modal-body {
		padding: 15px;
	}

	.property-gallery-modal-image {
		min-height: 380px;
	}

	.property-gallery-close {
		top: 25px;
		right: 25px;
		width: 38px;
		height: 38px;
	}

}


/* ================================================================
   MOBILE
================================================================ */

@media (max-width: 575px) {

	.property-detail-section {
		padding-top: 20px;
		padding-bottom: 35px;
	}

	.property-feature-image {
		height: 300px;
		border-radius: 8px;
	}

	.property-feature-image-gallery {
		grid-template-columns: repeat(3, 1fr);
		gap: 7px;
		margin-top: 8px;
	}

	.property-gallery-item {
		height: 65px;
		border-radius: 5px;
	}

	.property-status-badge {
		margin-bottom: 14px;
		font-size: 10px;
	}

	.property-price {
		margin-bottom: 9px;
		font-size: 29px;
	}

	.property-title {
		margin-bottom: 8px;
		font-size: 25px;
	}

	.property-location {
		font-size: 14px;
	}

	.property-area {
		margin-bottom: 22px;
	}

	.property-main-stats {
		margin-bottom: 25px;
	}

	.property-main-stat {
		gap: 9px;
		padding: 15px 10px;
	}

	.property-stat-icon {
		flex-basis: 32px;
		width: 32px;
		height: 32px;
		font-size: 12px;
	}

	.property-stat-content strong {
		font-size: 14px;
	}

	.property-stat-content span {
		font-size: 11px;
	}

	.property-sale-detail-item {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
		padding: 12px 0;
	}

	.property-sale-detail-item strong {
		text-align: left;
	}

	.property-about-section {
		padding-bottom: 35px;
	}

	.property-about-box {
		padding: 25px 20px;
		border-radius: 8px;
	}

	.property-about-content p {
		font-size: 14px;
		line-height: 1.7;
	}

	.property-info-section {
		padding-bottom: 40px;
	}

	.property-quick-info {
		padding: 24px 18px;
		border-radius: 8px;
	}

	.property-quick-info-header {
		margin-bottom: 20px;
	}

	.property-quick-info-header h2 {
		font-size: 23px;
	}

	.property-quick-info-grid {
		grid-template-columns: 1fr;
	}

	.property-quick-info-item {
		min-height: auto;
		padding: 17px;
	}

	.property-quick-info-value {
		font-size: 16px;
	}

	.property-quick-info-label {
		font-size: 12px;
	}


	/* Contact */

	.property-contact-box {
		flex-direction: column;
		gap: 15px;
		padding: 25px 18px;
		border-radius: 8px;
	}

	.property-contact-icon {
		flex-basis: 44px;
		width: 44px;
		height: 44px;
	}

	.property-contact-content h3 {
		font-size: 21px;
	}

	.property-contact-content p {
		margin-bottom: 20px;
		font-size: 13px;
	}

	.property-call-button {
		padding: 13px 15px;
		font-size: 12px;
	}

	.property-gallery-modal-image {
		min-height: 280px;
	}

	.property-gallery-modal-navigation .btn {
		padding: 8px 11px;
		font-size: 11px;
	}

	.property-gallery-modal-navigation .btn span {
		display: none;
	}

}


/* ================================================================
   EXTRA SMALL MOBILE
================================================================ */

@media (max-width: 375px) {

	.property-feature-image {
		height: 260px;
	}

	.property-price {
		font-size: 26px;
	}

	.property-title {
		font-size: 23px;
	}

	.property-main-stat {
		padding: 13px 8px;
	}

	.property-stat-icon {
		display: none;
	}

	.property-quick-info {
		padding: 22px 15px;
	}

	.property-contact-box {
		padding: 22px 15px;
	}

	.property-contact-content h3 {
		font-size: 20px;
	}

	.property-call-button {
		font-size: 11px;
	}

}



/* ================================================================
   SINGLE BLOG — WEBSITE MATCHED UI
================================================================ */

.blog-single-page {
    background: #fff;
    color: #202333;
}


/* ================================================================
   CONTAINER
================================================================ */

.blog-single-page .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* ================================================================
   HERO
================================================================ */

.blog-hero {
    padding: 75px 0 55px;
    background: #fff;
}

.blog-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}


/* CATEGORY */

.blog-category {
    display: inline-block;

    margin-bottom: 18px;

    color: #b58a4a;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 1.2px;
    text-transform: uppercase;
}


/* TITLE */

.blog-title {
    margin: 0;

    max-width: 900px;

    color: #202333;

    font-size: clamp(38px, 5vw, 64px);
    font-weight: 700;

    line-height: 1.08;
    letter-spacing: -1.8px;
}


/* META */

.blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 22px;

    color: #777b86;

    font-size: 14px;
}

.meta-dot {
    color: #b58a4a;
}


/* ================================================================
   FEATURED IMAGE
================================================================ */

.blog-featured {
    padding: 0 0 65px;
}

.blog-featured-image {
    overflow: hidden;

    border-radius: 4px;

    background: #f5f5f5;
}

.blog-featured-img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 620px;

    object-fit: cover;

    transition: transform .5s ease;
}

.blog-featured-image:hover .blog-featured-img {
    transform: scale(1.015);
}


/* ================================================================
   CONTENT AREA
================================================================ */

.blog-content-section {
    padding: 10px 0 85px;
}

.blog-layout {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 260px;

    gap: 80px;

    max-width: 1050px;

    margin: 0 auto;
}


/* ================================================================
   ARTICLE
================================================================ */

.blog-article {
    min-width: 0;
}

.blog-content {
    color: #4b4f5b;

    font-size: 17px;
    line-height: 1.85;
}


/* PARAGRAPHS */

.blog-content p {
    margin: 0 0 24px;
}


/* ================================================================
   HEADINGS
================================================================ */

.blog-content h2 {
    margin: 55px 0 20px;

    color: #202333;

    font-size: 32px;
    font-weight: 700;

    line-height: 1.25;
}

.blog-content h3 {
    margin: 42px 0 17px;

    color: #202333;

    font-size: 25px;
    font-weight: 700;

    line-height: 1.3;
}

.blog-content h4 {
    margin: 32px 0 15px;

    color: #202333;

    font-size: 21px;
}


/* ================================================================
   LINKS
================================================================ */

.blog-content a {
    color: #a97c3c;

    text-decoration: underline;

    text-decoration-thickness: 1px;

    text-underline-offset: 4px;

    transition: color .2s ease;
}

.blog-content a:hover {
    color: #202333;
}


/* ================================================================
   CONTENT IMAGES
================================================================ */

.blog-content img {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;

    margin: 38px auto;

    border-radius: 4px;
}


/* Full-width WordPress images */

.blog-content .alignwide,
.blog-content .alignfull {
    width: 100%;
    max-width: 100%;
}


/* IMAGE CAPTION */

.blog-content figcaption {
    margin-top: -25px;
    margin-bottom: 30px;

    color: #858894;

    font-size: 13px;

    text-align: center;
}


/* ================================================================
   LISTS
================================================================ */

.blog-content ul,
.blog-content ol {
    margin: 25px 0;

    padding-left: 25px;
}

.blog-content li {
    margin-bottom: 9px;
}


/* ================================================================
   BLOCKQUOTE
================================================================ */

.blog-content blockquote {
    margin: 38px 0;

    padding: 8px 0 8px 25px;

    border-left: 3px solid #b58a4a;

    color: #202333;

    font-size: 20px;

    font-weight: 500;

    line-height: 1.65;
}

.blog-content blockquote p {
    margin-bottom: 0;
}


/* ================================================================
   TABLE
================================================================ */

.blog-content table {
    width: 100%;

    margin: 35px 0;

    border-collapse: collapse;

    font-size: 15px;
}

.blog-content th,
.blog-content td {
    padding: 12px 14px;

    border-bottom: 1px solid #e5e5e5;

    text-align: left;
}

.blog-content th {
    color: #202333;

    font-weight: 600;
}


/* ================================================================
   SIDEBAR
================================================================ */

.blog-sidebar {
    position: relative;
}

.blog-sidebar-card {
    position: sticky;

    top: 30px;

    padding: 0 0 0 25px;

    border-left: 1px solid #ddd;
}


/* LABEL */

.sidebar-label {
    display: block;

    margin-bottom: 14px;

    color: #b58a4a;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


/* TITLE */

.blog-sidebar-card h3 {
    margin: 0 0 13px;

    color: #202333;

    font-size: 19px;
    line-height: 1.4;
}


/* TEXT */

.blog-sidebar-card p {
    margin: 0 0 18px;

    color: #777b86;

    font-size: 13px;
    line-height: 1.7;
}


/* LINK */

.sidebar-link {
    color: #202333;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition: color .2s ease;
}

.sidebar-link:hover {
    color: #b58a4a;
}


/* ================================================================
   TAGS
================================================================ */

.blog-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 55px;
    padding-top: 25px;

    border-top: 1px solid #e5e5e5;
}

.blog-tags-title {
    color: #202333;

    font-size: 13px;
    font-weight: 600;
}

.blog-tag-list {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}

.blog-tag {
    display: inline-block;

    padding: 6px 11px;

    border: 1px solid #dedede;

    color: #656975;

    font-size: 11px;

    text-decoration: none;

    transition: all .2s ease;
}

.blog-tag:hover {
    border-color: #202333;

    background: #202333;

    color: #fff;
}


/* ================================================================
   PREVIOUS / NEXT
================================================================ */

.blog-navigation {
    padding: 35px 0 75px;

    border-top: 1px solid #e5e5e5;
}

.blog-nav-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;
}

.blog-nav-item a {
    display: flex;
    flex-direction: column;

    gap: 8px;

    padding: 20px 0;

    color: #202333;

    text-decoration: none;
}

.blog-nav-item a:hover strong {
    color: #b58a4a;
}

.blog-nav-item span {
    color: #888b94;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.blog-nav-item strong {
    max-width: 400px;

    color: #202333;

    font-size: 17px;
    line-height: 1.4;

    transition: color .2s ease;
}

.blog-nav-next {
    text-align: right;
}

.blog-nav-next strong {
    margin-left: auto;
}


/* ================================================================
   TABLET
================================================================ */

@media (max-width: 991px) {

    .blog-hero {
        padding: 60px 0 45px;
    }

    .blog-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .blog-sidebar-card {
        position: static;

        padding: 25px 0 0;

        border-left: 0;
        border-top: 1px solid #ddd;
    }

    .blog-sidebar-card p {
        max-width: 600px;
    }

}


/* ================================================================
   MOBILE
================================================================ */

@media (max-width: 767px) {

    .blog-single-page .container {
        width: calc(100% - 30px);
    }

    .blog-hero {
        padding: 45px 0 35px;
    }

    .blog-title {
        font-size: 36px;

        letter-spacing: -1px;
    }

    .blog-meta {
        font-size: 13px;
    }

    .blog-featured {
        padding-bottom: 45px;
    }

    .blog-featured-image {
        border-radius: 3px;
    }

    .blog-content-section {
        padding-bottom: 55px;
    }

    .blog-content {
        font-size: 16px;

        line-height: 1.8;
    }

    .blog-content h2 {
        margin-top: 42px;

        font-size: 27px;
    }

    .blog-content h3 {
        font-size: 22px;
    }

    .blog-content blockquote {
        font-size: 18px;

        padding-left: 20px;
    }

    .blog-nav-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .blog-nav-next {
        text-align: left;
    }

    .blog-nav-next strong {
        margin-left: 0;
    }

}


/* ================================================================
   SMALL MOBILE
================================================================ */

@media (max-width: 480px) {

    .blog-title {
        font-size: 31px;
    }

    .blog-category {
        font-size: 11px;
    }

}