
/*
Theme Name: GeneratePress Child
Theme URI: https://rpdubai.ae
Description: Child theme for RP Dubai built on GeneratePress.
Author: RP Dubai
Template: generatepress
Version: 1.0.0
Text Domain: generatepress-child
*/

/* ========================================
   Custom Header & Navigation Styles
   ======================================== */

:root {
	--accent: #ff4c60;
	--ink: #433f67;
	--muted: #746f8a;
	--bg: #fafaff;
	--card: #ffffff;
	--border: rgba(67, 64, 103, 0.08);
	--button: #5a5078;
	--button-hover: #453f66;
	--body-font: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
	--heading-font: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* Reset any conflicting GeneratePress styles */
.rpd-header,
.rpd-menu-toggle,
.rpd-navigation {
	all: unset;
}

/* Restore essential display properties */
.rpd-header {
	display: block;
	width: 100%;
}

.rpd-navigation {
	display: block;
}

.grid-container {
  max-width: 1240px;
}

.inside-navigation.grid-container {
  margin-right: 0;
}

.is-right-sidebar {
  width: 32%;
}

.widget-area .widget {
  padding: 30px;
}

.site-footer {
  margin-top: 80px;
}

/* ========================================
   Desktop Header & Navigation (1024px+)
   ======================================== */

@media (min-width: 1024px) {
	.rpd-header {
		background: var(--bg);
		border-bottom: 1px solid var(--border);
		position: relative;
	}

	.rpd-header .inside-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 48px;
		padding: 32px 20px;
		margin: 0 auto;
	}

	.rpd-header .site-branding {
		flex-shrink: 0;
		margin: 0;
	}

	.rpd-header .site-branding img {
		max-height: 60px;
		width: auto;
		display: block;
	}

	/* Hide mobile toggle on desktop */
	.rpd-menu-toggle {
		display: none !important;
	}

	/* Desktop Navigation */
	.rpd-navigation {
		flex: 1;
		display: flex;
		justify-content: flex-end;
	}

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

	.rpd-menu > li {
		position: relative;
		margin: 0;
		padding: 0;
	}

	.rpd-menu a {
		font-family: var(--body-font);
		font-size: 17px;
		font-weight: 700;
		color: #434067;
		letter-spacing: 0.02em;
		text-decoration: none;
		transition: color 0.2s ease;
		display: block;
	}

	.rpd-menu > li > a:hover,
	.rpd-menu > li.current-menu-item > a,
	.rpd-menu > li.current-menu-ancestor > a {
		color: #e33d5b;
	}

	/* Desktop Dropdowns */
	.rpd-menu ul {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 220px;
		padding: 10px;
		margin: 0;
		border-radius: 12px;
		background: #ffffff;
		border: 1px solid rgba(67, 64, 103, 0.08);
		box-shadow: 0 16px 34px rgba(67, 64, 103, 0.18);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(8px);
		transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
		z-index: 40;
		list-style: none;
	}

	.rpd-menu li:hover > ul,
	.rpd-menu li:focus-within > ul {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
	}

	.rpd-menu ul ul {
		top: -6px;
		left: calc(100% + 14px);
	}

	.rpd-menu ul li {
		margin: 0;
		padding: 0;
	}

	.rpd-menu ul li + li {
		margin-top: 4px;
	}

	.rpd-menu ul a {
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 11px 12px 11px 14px;
		background: #ffffff;
		border-radius: 10px;
		color: #4a4668;
		font-size: 15px;
		box-shadow: inset 0 0 0 1px rgba(67, 64, 103, 0.05);
		transition: all 0.16s ease;
	}

	.rpd-menu ul a::before {
		content: "";
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background: rgba(67, 64, 103, 0.2);
		transition: all 0.16s ease;
	}

	.rpd-menu ul li:hover > a {
		color: #e33d5b;
		background: #fff6f8;
		box-shadow: inset 0 0 0 1px rgba(255, 76, 96, 0.12), 0 10px 22px rgba(67, 64, 103, 0.12);
		transform: translateX(2px);
	}

	.rpd-menu ul li:hover > a::before {
		background: #ff4c60;
		box-shadow: 0 0 0 6px rgba(255, 76, 96, 0.14);
		transform: scale(1.08);
	}
}

/* ========================================
   Mobile Header & Navigation (max 768px)
   ======================================== */

@media (max-width: 768px) {
	.rpd-header {
		background: var(--card);
		border-bottom: 1px solid var(--border);
		box-shadow: 0 4px 16px rgba(67, 64, 103, 0.08);
		position: relative;
		z-index: 1000;
	}

	.rpd-header .inside-header {
		padding: 16px 20px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		margin: 0 auto;
    flex-direction: row;
	}

	.rpd-header .site-branding {
		flex-shrink: 0;
		margin: 0;
	}

	.rpd-header .site-branding img {
		max-height: 40px;
		width: auto;
		display: block;
	}

	/* Mobile Menu Toggle Button */
	.rpd-menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		padding: 0;
		margin: 0;
		margin-left: auto;
		background: linear-gradient(135deg, var(--accent), #ff6b7a);
		border: none;
		border-radius: 12px;
		cursor: pointer;
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		box-shadow: 0 4px 12px rgba(255, 76, 96, 0.25);
		position: relative;
		z-index: 1001;
		flex-shrink: 0;
	}

	.rpd-menu-toggle:hover {
		transform: scale(1.05);
		box-shadow: 0 6px 20px rgba(255, 76, 96, 0.35);
	}

	.rpd-menu-toggle:active {
		transform: scale(0.95);
	}

	.rpd-menu-toggle:focus {
		outline: 2px solid var(--accent);
		outline-offset: 2px;
	}

	/* Hide screen reader text */
	.rpd-menu-toggle .screen-reader-text {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		border: 0;
		white-space: nowrap;
	}

	/* Burger Icon Container */
	.rpd-burger-icon {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 24px;
		height: 18px;
		pointer-events: none;
	}

	/* Burger Icon Lines */
	.rpd-burger-line {
		display: block;
		width: 100%;
		height: 2.5px;
		background: #ffffff;
		border-radius: 2px;
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		transform-origin: center;
	}

	/* Animated transformation to X when menu is open */
	.rpd-menu-toggle[aria-expanded="true"] {
		background: linear-gradient(135deg, #433f67, #5a5078);
		box-shadow: 0 4px 12px rgba(67, 63, 103, 0.3);
	}

	.rpd-menu-toggle[aria-expanded="true"] .rpd-burger-line:nth-child(1) {
		transform: translateY(7.75px) rotate(45deg);
	}

	.rpd-menu-toggle[aria-expanded="true"] .rpd-burger-line:nth-child(2) {
		opacity: 0;
		transform: scaleX(0);
	}

	.rpd-menu-toggle[aria-expanded="true"] .rpd-burger-line:nth-child(3) {
		transform: translateY(-7.75px) rotate(-45deg);
	}

	/* Mobile Navigation Container */
	.rpd-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--card);
		box-shadow: 0 8px 24px rgba(67, 64, 103, 0.15);
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		visibility: hidden;
		transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		            opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
		            visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		z-index: 999;
	}

	.rpd-navigation.is-open {
		max-height: calc(100vh - 81px);
		overflow-y: auto;
		opacity: 1;
		visibility: visible;
		padding: 24px 20px;
	}

	/* Backdrop overlay when menu is open */
	body.rpd-mobile-menu-open::before {
		content: '';
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(67, 63, 103, 0.3);
		backdrop-filter: blur(2px);
		z-index: 998;
		animation: fadeIn 0.3s ease;
	}

	@keyframes fadeIn {
		from { opacity: 0; }
		to { opacity: 1; }
	}

	/* Mobile Menu */
	.rpd-menu {
		display: flex;
		flex-direction: column;
		gap: 8px;
		margin: 0;
		padding: 0;
		list-style: none;
		opacity: 0;
		transform: translateY(-20px);
		transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.rpd-navigation.is-open .rpd-menu {
		opacity: 1;
		transform: translateY(0);
	}

	/* Mobile Menu Items */
	.rpd-menu li {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.rpd-menu > li {
		animation: slideInItem 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
	}

	.rpd-menu > li:nth-child(1) { animation-delay: 0.05s; }
	.rpd-menu > li:nth-child(2) { animation-delay: 0.1s; }
	.rpd-menu > li:nth-child(3) { animation-delay: 0.15s; }
	.rpd-menu > li:nth-child(4) { animation-delay: 0.2s; }
	.rpd-menu > li:nth-child(5) { animation-delay: 0.25s; }
	.rpd-menu > li:nth-child(6) { animation-delay: 0.3s; }

	@keyframes slideInItem {
		from {
			opacity: 0;
			transform: translateX(-20px);
		}
		to {
			opacity: 1;
			transform: translateX(0);
		}
	}

	.rpd-menu a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16px 18px;
		background: #ffffff;
		border: 1px solid var(--border);
		border-radius: 10px;
		color: var(--ink);
		font-family: var(--body-font);
		font-size: 16px;
		font-weight: 700;
		text-decoration: none;
		transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
		box-shadow: 0 2px 8px rgba(67, 64, 103, 0.06);
		position: relative;
		overflow: hidden;
	}

	/* Gradient accent line on hover */
	.rpd-menu a::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 4px;
		height: 100%;
		background: linear-gradient(180deg, var(--accent), #35c6d7);
		transform: translateX(-4px);
		transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.rpd-menu a:hover::before,
	.rpd-menu .current-menu-item > a::before,
	.rpd-menu .current-menu-ancestor > a::before {
		transform: translateX(0);
	}

	.rpd-menu a:hover,
	.rpd-menu a:focus,
	.rpd-menu .current-menu-item > a,
	.rpd-menu .current-menu-ancestor > a {
		background: linear-gradient(135deg, #fff6f8, #ffffff);
		border-color: rgba(255, 76, 96, 0.2);
		color: var(--accent);
		transform: translateX(4px);
		box-shadow: 0 4px 16px rgba(255, 76, 96, 0.15);
		padding-left: 22px;
	}

	.rpd-menu a:active {
		transform: translateX(2px) scale(0.98);
	}

	/* Submenu indicator arrow */
	.rpd-menu .menu-item-has-children > a::after {
		content: '›';
		font-size: 24px;
		color: var(--muted);
		transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
		font-weight: 400;
	}

	.rpd-menu .menu-item-has-children.is-open > a::after {
		color: var(--accent);
		transform: rotate(90deg);
	}

	/* Mobile Submenus */
	.rpd-menu ul {
		display: none;
		flex-direction: column;
		gap: 6px;
		margin: 8px 0 0 16px;
		padding: 12px;
		background: rgba(250, 250, 255, 0.6);
		border-left: 3px solid var(--accent);
		border-radius: 8px;
		list-style: none;
	}

	.rpd-menu .menu-item-has-children.is-open > ul {
		display: flex;
		animation: expandSubmenu 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	}

	@keyframes expandSubmenu {
		from {
			opacity: 0;
			max-height: 0;
			transform: translateY(-10px);
		}
		to {
			opacity: 1;
			max-height: 500px;
			transform: translateY(0);
		}
	}

	.rpd-menu ul a {
		padding: 12px 14px;
		font-size: 15px;
		background: #ffffff;
		box-shadow: 0 1px 4px rgba(67, 64, 103, 0.08);
	}

	.rpd-menu ul a::before {
		width: 3px;
		background: var(--accent);
	}

	/* Nested submenu */
	.rpd-menu ul ul {
		margin-left: 12px;
		border-color: #35c6d7;
	}

	/* Prevent body scroll when menu is open */
	body.rpd-mobile-menu-open {
		overflow: hidden;
		height: 100vh;
	}
}

/* Tablet view */
@media (min-width: 769px) and (max-width: 1023px) {
	.rpd-header {
		background: var(--bg);
	}
}

/* --- Blog feed cards --- */
body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--body-font);
}

a {
	color: var(--button);
	text-decoration: none;
}

a:hover {
	color: var(--accent);
}

.site-content {
	background: var(--bg);
}

.site-main {
	padding-top: 12px;
}

.rpd-post-card {
	margin: 0 0 64px;
	border: none;
}

.rpd-card-inner {
	display: flex;
	flex-direction: column;
	gap: 18px;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 6px;
	box-shadow: 0 18px 35px rgba(67, 64, 103, 0.1);
	padding: 34px 36px 40px;
  position: relative;
}

.rpd-card-header {
	display: flex;
	align-items: center;
	gap: 26px;
}

.rpd-card-image {
	flex: 0 0 96px;
	width: 96px;
	height: 96px;
	border-radius: 2px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 12px 26px rgba(67, 64, 103, 0.18);
}

.rpd-card-image a,
.rpd-card-image img {
	display: block;
	width: 100%;
	height: 100%;
  padding: 5px;
}

.rpd-card-image img {
	object-fit: contain;
	aspect-ratio: 1 / 1;
	transition: transform 0.35s ease;
}

.rpd-card-image:hover img {
	transform: scale(1.03);
}

.rpd-card-placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	background: linear-gradient(135deg, #d6d2f0, #f0eefb);
	color: var(--button-hover);
	font-family: var(--heading-font);
	font-weight: 700;
	letter-spacing: 0.08em;
}

.rpd-card-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.rpd-card-headings {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rpd-card-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #8b86a1;
}

.rpd-meta-label {
	font-weight: 700;
	color: #56a6b5;
}

.rpd-meta-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #d3cfeb;
	display: inline-block;
}

.rpd-meta-text {
	color: #8b86a1;
}

.rpd-meta-sep {
	width: 16px;
	height: 3px;
	background: var(--accent);
	display: inline-block;
	border-radius: 3px;
}

.rpd-card-title {
	margin: 6px 0 6px;
	font-family: var(--heading-font);
	font-size: 26px;
	line-height: 1.2;
	color: #363154;
}

.rpd-card-title a {
	color: inherit;
}

.rpd-card-title a:hover {
	color: var(--accent);
}

.rpd-card-excerpt {
	margin: 4px 0 0;
	color: var(--muted);
	font-size: 18px;
	line-height: 1.7;
}

.rpd-card-excerpt p {
	margin: 0;
}

.rpd-card-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 6px;
}

.rpd-button {
	display: inline-block;
	padding: 13px 24px;
	background: #4a4266;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 3px;
	box-shadow: 0 12px 24px rgba(67, 64, 103, 0.22);
	transition: background 0.2s ease, transform 0.2s ease;
}

.rpd-button:hover {
	background: var(--button-hover);
	transform: translateY(-1px);
}

.rpd-author {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--muted);
	font-weight: 600;
}

.rpd-author .avatar {
	border-radius: 50%;
	box-shadow: 0 6px 18px rgba(67, 64, 103, 0.2);
}

.rpd-card-button {
	text-align: center;
	margin-top: 4px;
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
}

.rpd-card-tags .rpd-tag {
	border: 1px solid #e5e1f3;
	box-shadow: 0 6px 16px rgba(67, 64, 103, 0.1);
  font-size: 14px;
}

.rpd-tag.is-ghost {
	background: #fff;
}

.rpd-sidebar {
	padding: 10px 6px 30px;
	background: var(--bg);
}

.rpd-widget {
	margin: 0 0 40px;
}

.rpd-widget-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--heading-font);
	font-weight: 700;
	font-size: 28px;
	color: #433f67;
	letter-spacing: 0.015em;
}

.rpd-widget-heading {
	white-space: nowrap;
}

.rpd-title-bar {
	flex: 1;
	height: 3px;
	background: var(--accent);
	border-radius: 3px;
}

.rpd-recent-list {
	list-style: none;
	padding: 20px 0 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.rpd-recent-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.rpd-recent-thumb {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 2px;
	overflow: hidden;
	background: linear-gradient(135deg, #d6d2f0, #f0eefb);
	box-shadow: 0 10px 20px rgba(67, 64, 103, 0.2);
	flex-shrink: 0;
}

.rpd-recent-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.rpd-thumb-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--button-hover);
	font-weight: 700;
	letter-spacing: 0.08em;
}

.rpd-recent-meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.rpd-recent-title {
	font-size: 16px;
	font-weight: 700;
	color: #433f67;
	line-height: 1.32;
}

.rpd-recent-title:hover {
	color: var(--accent);
}

.rpd-recent-date {
	font-size: 15px;
	color: #7a758f;
	letter-spacing: 0.01em;
}

.rpd-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 18px;
}

.rpd-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border: 1px solid #e5e1f3;
	border-radius: 4px;
	background: #ffffff;
	box-shadow: 0 10px 22px rgba(67, 64, 103, 0.12);
	color: var(--button-hover);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.rpd-tag::before {
	content: "#";
	color: var(--accent);
	font-weight: 800;
}

.rpd-tag:hover {
	color: var(--accent);
	border-color: #ffc0cc;
	box-shadow: 0 10px 22px rgba(255, 76, 96, 0.14);
}

/* Responsive adjustments */
@media (max-width: 900px) {
	.rpd-card-inner {
		flex-direction: column;
		padding: 24px;
	}

	.rpd-card-header {
		flex-direction: row;
		align-items: flex-start;
	}

	.rpd-card-title {
		font-size: 24px;
	}
}

@media (max-width: 768px) {
	.rpd-card-inner {
		padding: 28px 24px 44px;
	}

	.rpd-card-title {
		font-size: 22px;
	}

	.rpd-card-excerpt {
		font-size: 17px;
	}
}

@media (max-width: 600px) {
	.rpd-card-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.rpd-card-inner {
		padding: 24px 20px 48px;
	}

	.rpd-card-image {
		flex: 0 0 80px;
		width: 80px;
		height: 80px;
	}

	.rpd-card-title {
		font-size: 20px;
	}

	.rpd-card-excerpt {
		font-size: 16px;
	}

	.rpd-card-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.rpd-card-button {
		position: static;
		transform: none;
		width: 100%;
		margin-top: 16px;
	}

	.rpd-card-button .rpd-button {
		width: 100%;
		text-align: center;
		max-width: 100%;
		padding: 14px 20px;
		font-size: 14px;
	}

	.rpd-author {
		font-size: 14px;
	}

	.rpd-author .avatar {
		width: 36px;
		height: 36px;
	}
}

/* Footer */
.site-footer {
	margin-top: 80px;
	background: #f4f3f8;
	padding: 0;
	border-top: 1px solid #ebe9f3;
}

.rpd-footer {
	padding: 60px 0 50px;
	background: #f4f3f8;
}

.rpd-footer-top {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
	align-items: flex-start;
}

.rpd-footer-col {
	min-width: 0;
}

.rpd-footer-heading {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
}

.rpd-footer-title {
	font-family: var(--heading-font);
	font-size: 28px;
	font-weight: 700;
	color: var(--ink);
}

.rpd-footer-bar {
	flex: 1;
	height: 3px;
	background: #e53d52;
	border-radius: 3px;
	min-width: 60px;
}

.rpd-footer-posts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.rpd-footer-post {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.rpd-footer-thumb {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 2px;
	overflow: hidden;
	background: linear-gradient(135deg, #d6d2f0, #f0eefb);
	box-shadow: 0 10px 20px rgba(67, 64, 103, 0.18);
	flex-shrink: 0;
}

.rpd-footer-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rpd-footer-thumb-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--button-hover);
	font-weight: 700;
	letter-spacing: 0.08em;
}

.rpd-footer-post-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.rpd-footer-post-title {
	font-size: 17px;
	font-weight: 700;
	color: #433f67;
	line-height: 1.32;
	text-decoration: none;
}

.rpd-footer-post-title:hover {
	color: var(--accent);
}

.rpd-footer-post-date {
	font-size: 14px;
	color: #8d89a2;
	letter-spacing: 0.01em;
}

.rpd-footer-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 4px;
}

.rpd-footer-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border: 1px solid #e5e1f3;
	border-radius: 4px;
	background: #ffffff;
	box-shadow: 0 10px 22px rgba(67, 64, 103, 0.12);
	color: var(--button-hover);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.rpd-footer-tag::before {
	content: "#";
	color: var(--accent);
	font-weight: 800;
}

.rpd-footer-tag:hover {
	color: var(--accent);
	border-color: #ffc0cc;
	box-shadow: 0 10px 22px rgba(255, 76, 96, 0.14);
}

.rpd-footer-links {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rpd-footer-links a {
	display: block;
	padding: 8px 0;
	color: #6c6881;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none;
	border-bottom: 1px solid #ebe9f3;
}

.rpd-footer-links a:hover {
	color: var(--accent);
	border-color: #ffc0cc;
}

.rpd-footer-empty {
	color: #8d89a2;
	margin: 0;
}

.rpd-footer-bottom {
	margin-top: 46px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.rpd-footer-logo img {
	max-height: 80px;
	width: auto;
}

.rpd-footer-logo .custom-logo-link {
	display: inline-block;
}

.rpd-footer-logo-text {
	font-family: var(--heading-font);
	font-size: 20px;
	font-weight: 700;
	color: var(--button-hover);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rpd-footer-site {
	color: #6c6881;
	font-size: 16px;
	letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
	.rpd-footer {
		padding: 50px 20px 40px;
	}

	.rpd-footer-top {
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
		gap: 36px;
	}
}

@media (max-width: 768px) {
	.rpd-footer {
		padding: 44px 20px 36px;
	}

	.rpd-footer-top {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.rpd-footer-title {
		font-size: 24px;
	}

	.rpd-footer-post {
		gap: 14px;
	}

	.rpd-footer-thumb {
		width: 64px;
		height: 64px;
	}

	.rpd-footer-post-title {
		font-size: 16px;
	}
}

@media (max-width: 640px) {
	.rpd-footer {
		padding: 44px 20px 40px;
	}

	.rpd-footer-top {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.rpd-footer-col {
		padding: 0;
	}

	.rpd-footer-heading {
		flex-wrap: wrap;
		gap: 10px;
		margin-bottom: 20px;
	}

	.rpd-footer-bar {
		min-width: 40px;
		flex: 1 1 100px;
	}

	.rpd-footer-post {
		align-items: flex-start;
	}

	.rpd-footer-bottom {
		margin-top: 36px;
	}
}


.comments.meta-info.icon.mobile, .views-counter.meta-info.icon.comments {
	display: none;
}