/* ==========================================================================
   Rakib NEWS Portal Theme — BanglaNews24-Inspired Stylesheet
   ========================================================================== */

:root {
	--rn-primary: #e11d24;
	--rn-primary-dark: #b9141a;
	--rn-dark: #10243e;
	--rn-bg: #f4f6f8;
	--rn-surface: #ffffff;
	--rn-border: #e2e8f0;
	--rn-text: #111827;
	--rn-text-muted: #6b7280;
	--rn-font: "Noto Sans Bengali", "Hind Siliguri", system-ui, -apple-system, sans-serif;
	--rn-radius: 4px;
	--rn-container: 1240px;
}

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--rn-font);
	background-color: var(--rn-bg);
	color: var(--rn-text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: var(--rn-primary);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.rn-container {
	max-width: var(--rn-container);
	margin: 0 auto;
	padding: 0 16px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* ==========================================================================
   Top Utility Bar
   ========================================================================== */
.rn-topbar {
	background-color: var(--rn-dark);
	color: #e5e7eb;
	font-size: 0.8125rem;
	padding: 6px 0;
}

.rn-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.rn-topbar-date {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
}

.rn-topbar-links {
	display: flex;
	align-items: center;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rn-topbar-links a:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* ==========================================================================
   Masthead (Logo + Leaderboard Ad)
   ========================================================================== */
.rn-masthead {
	background-color: var(--rn-surface);
	padding: 12px 0;
	border-bottom: 1px solid var(--rn-border);
}

.rn-top-leaderboard {
	background: var(--rn-surface);
	padding: 8px 0 4px;
	text-align: center;
}

.rn-masthead-bn24 {
	display: grid;
	grid-template-columns: 240px 1fr 240px;
	align-items: center;
	gap: 18px;
}

.rn-logo-badge {
	font-size: 1.9rem;
	font-weight: 800;
	letter-spacing: -0.5px;
	line-height: 1.1;
	color: var(--rn-dark);
}

.rn-logo-badge .rn-logo-red {
	color: var(--rn-primary);
}

.rn-header-mini-news {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.rn-mini-card {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #f8f9fa;
	border: 1px solid #eef2f6;
	border-radius: 6px;
	padding: 6px;
	min-height: 74px;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.rn-mini-card:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
}

.rn-mini-thumb {
	width: 68px;
	height: 60px;
	flex-shrink: 0;
	border-radius: 4px;
	overflow: hidden;
	background: #e2e8f0;
}

.rn-mini-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rn-mini-title {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--rn-text);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rn-masthead-right {
	text-align: right;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	min-width: 0;
	position: relative;
}

.rn-topbar-dropdown {
	position: relative;
	display: inline-block;
}

.rn-topbar-drop-btn {
	background: transparent;
	border: none;
	color: #0284c7;
	font-family: var(--rn-font);
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	padding: 2px 4px;
}

.rn-topbar-drop-btn:hover {
	color: var(--rn-primary);
}

.rn-topbar-drop-menu {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	min-width: 190px;
	max-height: 320px;
	overflow-y: auto;
	background: #ffffff;
	border: 1px solid var(--rn-border);
	border-radius: var(--rn-radius);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
	list-style: none;
	margin: 4px 0 0;
	padding: 6px 0;
	z-index: 1000;
	text-align: left;
}

.rn-topbar-dropdown:hover .rn-topbar-drop-menu,
.rn-topbar-dropdown:focus-within .rn-topbar-drop-menu {
	display: block;
}

.rn-topbar-drop-menu li a {
	display: block;
	padding: 6px 14px;
	font-size: 0.85rem;
	color: var(--rn-text);
	white-space: nowrap;
}

.rn-topbar-drop-menu li a:hover {
	background: #f8fafc;
	color: var(--rn-primary);
}

.rn-topbar-links-light {
	justify-content: flex-end;
	color: #0284c7;
	font-size: 0.82rem;
	font-weight: 600;
}

.rn-topbar-links-light a:hover {
	color: var(--rn-primary);
}

.rn-masthead-date {
	font-size: 0.78rem;
	color: var(--rn-text-muted);
	line-height: 1.45;
}

.rn-masthead-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.rn-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.rn-logo-img,
.rn-site-branding .custom-logo {
	max-height: 70px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.rn-logo-text {
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 1.1;
	color: var(--rn-dark);
}

.rn-logo-text span {
	color: var(--rn-primary);
}

.rn-logo-tagline {
	font-size: 0.75rem;
	color: var(--rn-text-muted);
	margin: 2px 0 0;
}

.rn-header-ad {
	max-width: 728px;
	overflow: hidden;
	text-align: right;
}

/* ==========================================================================
   Sticky Primary Navigation Bar
   ========================================================================== */
.rn-navbar {
	background-color: var(--rn-surface);
	border-top: 1px solid var(--rn-border);
	border-bottom: 1px solid var(--rn-border);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
	position: sticky;
	top: 0;
	z-index: 900;
}

.rn-nav-home {
	font-size: 1.15rem;
	color: var(--rn-text);
	padding: 6px 8px;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.rn-nav-home:hover {
	color: var(--rn-primary);
}

.rn-search-btn {
	width: auto;
	padding: 0 10px;
	gap: 5px;
	font-size: 0.85rem;
	font-family: var(--rn-font);
	font-weight: 600;
}

.admin-bar .rn-navbar {
	top: 32px;
}

.rn-navbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 46px;
}

.rn-nav-menu {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 2px;
	overflow-x: auto;
	scrollbar-width: none;
}

.rn-nav-menu::-webkit-scrollbar {
	display: none;
}

.rn-nav-menu > li > a {
	display: block;
	padding: 10px 12px;
	font-size: 0.95rem;
	font-weight: 600;
	white-space: nowrap;
	color: var(--rn-text);
	border-bottom: 2px solid transparent;
}

.rn-nav-menu > li > a:hover,
.rn-nav-menu > li.current-menu-item > a,
.rn-nav-menu > li.current-category-ancestor > a {
	color: var(--rn-primary);
	background-color: rgba(225, 29, 36, 0.05);
}

.rn-nav-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.rn-icon-btn {
	background: #f3f4f6;
	border: 1px solid var(--rn-border);
	border-radius: var(--rn-radius);
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--rn-text);
	transition: background 0.15s ease, color 0.15s ease;
}

.rn-icon-btn:hover {
	background: var(--rn-primary);
	color: #ffffff;
	border-color: var(--rn-primary);
}

.rn-mobile-toggle {
	display: none;
}

/* Search Overlay Bar */
.rn-search-drawer {
	display: none;
	background: var(--rn-surface);
	border-top: 1px solid var(--rn-border);
	padding: 12px 0;
}

.rn-search-drawer.is-open {
	display: block;
}

.rn-search-form {
	display: flex;
	gap: 8px;
	max-width: 640px;
	margin: 0 auto;
}

.rn-search-form input[type="search"] {
	flex: 1;
	padding: 9px 14px;
	border: 1px solid #cbd5e1;
	border-radius: var(--rn-radius);
	font-family: var(--rn-font);
	font-size: 0.95rem;
}

.rn-search-form button {
	background: var(--rn-primary);
	color: #fff;
	border: none;
	padding: 9px 20px;
	border-radius: var(--rn-radius);
	font-family: var(--rn-font);
	font-weight: 600;
	cursor: pointer;
}

/* ==========================================================================
   Breaking News Ticker (এইমাত্র)
   ========================================================================== */
.rn-ticker-bar {
	background: var(--rn-surface);
	border-bottom: 1px solid var(--rn-border);
	margin-bottom: 18px;
}

.rn-ticker-inner {
	display: flex;
	align-items: center;
	overflow: hidden;
	min-height: 38px;
}

.rn-ticker-badge {
	background: var(--rn-primary);
	color: #ffffff;
	font-weight: 700;
	font-size: 0.85rem;
	padding: 7px 14px;
	white-space: nowrap;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.rn-pulse-dot {
	width: 8px;
	height: 8px;
	background: #ffffff;
	border-radius: 50%;
	display: inline-block;
	animation: rnPulse 1.4s infinite;
}

@keyframes rnPulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.8); }
}

.rn-ticker-track-wrap {
	flex: 1;
	overflow: hidden;
	position: relative;
	padding: 0 12px;
}

.rn-ticker-track {
	display: flex;
	gap: 32px;
	white-space: nowrap;
	animation: rnTicker var(--rn-ticker-speed, 20s) linear infinite;
}

.rn-ticker-track:hover {
	animation-play-state: paused;
}

.rn-ticker-item {
	font-size: 0.9rem;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.rn-ticker-item::before {
	content: "•";
	color: var(--rn-primary);
	font-weight: 700;
}

.rn-ticker-sep {
	color: var(--rn-border);
	margin: 0 4px;
}

.rn-hero-lead-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}

.rn-hero-lead-meta .rn-cat-badge {
	margin-bottom: 0;
}

.rn-hero-lead-card .rn-hero-lead-img-link {
	display: block;
	margin-top: 10px;
}

@keyframes rnTicker {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Common Card & Image Styles
   ========================================================================== */
.rn-thumb-wrap {
	position: relative;
	overflow: hidden;
	border-radius: var(--rn-radius);
	background: #e2e8f0;
	aspect-ratio: 16 / 9;
}

.rn-thumb-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.rn-card:hover .rn-thumb-wrap img {
	transform: scale(1.03);
}

.rn-thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--rn-dark), #1e3a5f);
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.85rem;
	font-weight: 600;
	padding: 8px;
	text-align: center;
}

.rn-cat-badge {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--rn-primary);
	text-transform: uppercase;
	margin-bottom: 4px;
}

.rn-post-time {
	font-size: 0.78rem;
	color: var(--rn-text-muted);
	display: inline-block;
}

.rn-card-title {
	margin: 4px 0 6px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--rn-text);
}

.rn-card-excerpt {
	font-size: 0.88rem;
	color: #4b5563;
	margin: 0;
	line-height: 1.55;
}

/* Section Header */
.rn-section-block {
	background: var(--rn-surface);
	border: 1px solid var(--rn-border);
	border-radius: var(--rn-radius);
	padding: 18px;
	margin-bottom: 22px;
}

.rn-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 2px solid var(--rn-border);
	margin-bottom: 16px;
	padding-bottom: 8px;
}

.rn-section-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	position: relative;
	color: var(--rn-dark);
}

.rn-section-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 60px;
	height: 2px;
	background: var(--rn-primary);
}

.rn-section-more {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--rn-primary);
}

/* ==========================================================================
   Hero Variants (Hero 1 & Hero 2)
   ========================================================================== */
.rn-hero-section {
	background: var(--rn-surface);
	padding: 14px 0 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--rn-border);
}

.rn-hero-grid-bn24 {
	display: grid;
	grid-template-columns: 3fr 6fr 3fr;
	gap: 20px;
	align-items: start;
}

.rn-hero-left-col {
	display: flex;
	flex-direction: column;
	gap: 14px;
	border-right: 1px solid var(--rn-border);
	padding-right: 16px;
}

.rn-bn24-side-card {
	border-bottom: 1px solid var(--rn-border);
	padding-bottom: 12px;
}

.rn-bn24-side-card:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.rn-bn24-side-top {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 6px;
}

.rn-bn24-side-thumb {
	width: 96px;
	flex-shrink: 0;
	aspect-ratio: 16 / 10;
	border-radius: 4px;
	overflow: hidden;
	background: #e2e8f0;
}

.rn-bn24-side-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rn-bn24-side-card .rn-card-title {
	margin: 0;
	font-size: 0.96rem;
	line-height: 1.38;
}

.rn-bn24-lead .rn-card-title {
	font-size: 1.75rem;
	line-height: 1.3;
	margin: 4px 0 12px;
}

.rn-bn24-lead-body {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 14px;
	align-items: start;
}

.rn-bn24-lead-body .rn-hero-lead-img-link {
	margin-top: 0;
}

.rn-bn24-sub-card .rn-card-title {
	font-size: 0.95rem;
}

.rn-hero-grid-1 {
	display: grid;
	grid-template-columns: 5fr 3fr 4fr;
	gap: 18px;
}

.rn-hero-lead .rn-card-title {
	font-size: 1.5rem;
	margin-top: 10px;
}

.rn-hero-sub-stack {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rn-hero-sub-stack .rn-card {
	border-bottom: 1px solid var(--rn-border);
	padding-bottom: 12px;
}

.rn-hero-sub-stack .rn-card:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.rn-hero-sub-stack .rn-card-title {
	font-size: 1rem;
}

/* Hero 2: Lead + Dual Sidebar */
.rn-hero-grid-2 {
	display: grid;
	grid-template-columns: 3fr 5fr 4fr;
	gap: 18px;
}

.rn-hero-left-list .rn-compact-item:last-child {
	border-bottom: none;
}

.rn-hero-center-sub {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--rn-border);
}

/* Hero Right Tabbed Sidebar (এইমাত্র / জনপ্রিয়) */
.rn-tab-box {
	border: 1px solid var(--rn-border);
	border-radius: var(--rn-radius);
	display: flex;
	flex-direction: column;
	background: #fafbfc;
}

.rn-tab-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-bottom: 2px solid var(--rn-primary);
}

.rn-tab-btn {
	background: #f1f5f9;
	border: none;
	padding: 10px 12px;
	font-family: var(--rn-font);
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	color: var(--rn-text);
	transition: background 0.15s ease, color 0.15s ease;
}

.rn-tab-btn.is-active {
	background: var(--rn-primary);
	color: #ffffff;
}

.rn-tab-panel {
	display: none;
	max-height: 410px;
	overflow-y: auto;
	padding: 10px 12px;
}

.rn-tab-panel.is-active {
	display: block;
}

.rn-compact-item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 9px 0;
	border-bottom: 1px solid var(--rn-border);
}

.rn-compact-item:last-child {
	border-bottom: none;
}

.rn-compact-thumb {
	width: 88px;
	flex-shrink: 0;
	aspect-ratio: 16 / 10;
	border-radius: 3px;
	overflow: hidden;
	background: #e2e8f0;
}

.rn-compact-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rn-compact-title {
	margin: 0 0 3px;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.38;
}

/* ==========================================================================
   Homepage Block Variants (Block 1 – Block 6)
   ========================================================================== */
/* Block 1: 4-Column Photo Grid */
.rn-block-1-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.rn-block-1-grid .rn-card-title {
	font-size: 0.98rem;
}

/* Block 2: Combo Lead + Compact List */
.rn-block-2-grid {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 20px;
}

.rn-block-2-lead .rn-card-title {
	font-size: 1.3rem;
}

.rn-block-2-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	align-content: start;
}

/* Block 3: 3-Column Feature + List */
.rn-block-3-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.rn-block-3-col {
	display: flex;
	flex-direction: column;
}

.rn-bullet-list {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	border-top: 1px solid var(--rn-border);
}

.rn-bullet-list li {
	padding: 8px 0;
	border-bottom: 1px solid var(--rn-border);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.4;
}

.rn-bullet-list li:last-child {
	border-bottom: none;
}

.rn-bullet-list li a::before {
	content: "› ";
	color: var(--rn-primary);
	font-weight: 700;
}

/* Block 4: Mixed Grid + Stacked Headlines */
.rn-block-4-top {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 16px;
}

.rn-block-4-bottom {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	border-top: 1px solid var(--rn-border);
	padding-top: 14px;
}

/* Block 5: Horizontal Spotlight + 2-Col */
.rn-block-5-lead {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 18px;
	align-items: center;
	padding-bottom: 16px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--rn-border);
}

.rn-block-5-lead .rn-card-title {
	font-size: 1.35rem;
}

.rn-block-5-sub {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

/* Block 6: Dark Multimedia / Video Strip */
.rn-block-6-dark {
	background: var(--rn-dark);
	color: #f8fafc;
	border-color: #1e3a5f;
}

.rn-block-6-dark .rn-section-title {
	color: #ffffff;
}

.rn-block-6-dark .rn-section-header {
	border-bottom-color: rgba(255, 255, 255, 0.15);
}

.rn-block-6-dark .rn-card-title {
	color: #f8fafc;
	font-size: 0.95rem;
}

.rn-block-6-dark .rn-card-title a:hover {
	color: #fca5a5;
}

.rn-block-6-dark .rn-post-time {
	color: #cbd5e1;
}

.rn-play-badge {
	position: absolute;
	bottom: 8px;
	left: 8px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(225, 29, 36, 0.9);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
}

/* ==========================================================================
   Single Post, Archive, Sidebar & Breadcrumbs
   ========================================================================== */
.rn-content-layout {
	display: grid;
	grid-template-columns: 8fr 4fr;
	gap: 24px;
	margin: 20px 0 32px;
}

/* Single post: centered, max-width, no forced 2-col */
.rn-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 760px) minmax(0, 320px);
	gap: 24px;
	margin: 20px auto 32px;
	align-items: start;
}

.rn-single-wrap {
	background: var(--rn-surface);
	border: 1px solid var(--rn-border);
	border-radius: var(--rn-radius);
	padding: 28px 32px;
	min-width: 0;
}

.rn-single-article {
	margin: 0;
}

.rn-main-card {
	background: var(--rn-surface);
	border: 1px solid var(--rn-border);
	border-radius: var(--rn-radius);
	padding: 24px;
}

.rn-breadcrumbs {
	font-size: 0.85rem;
	color: var(--rn-text-muted);
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--rn-border);
}

.rn-single-title {
	font-size: 1.85rem;
	line-height: 1.35;
	margin: 8px 0 12px;
	color: var(--rn-dark);
}

.rn-single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 0.85rem;
	color: var(--rn-text-muted);
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--rn-border);
}

.rn-single-featured {
	margin-bottom: 20px;
	border-radius: var(--rn-radius);
	overflow: hidden;
}

.rn-entry-content {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: #1f2937;
}

.rn-entry-content p {
	margin-bottom: 1.2em;
}

.rn-sidebar .rn-widget {
	background: var(--rn-surface);
	border: 1px solid var(--rn-border);
	border-radius: var(--rn-radius);
	padding: 16px;
	margin-bottom: 18px;
}

.rn-widget-title {
	margin: 0 0 12px;
	font-size: 1.1rem;
	border-bottom: 2px solid var(--rn-primary);
	padding-bottom: 6px;
}

.rn-archive-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.rn-pagination {
	margin-top: 24px;
	display: flex;
	gap: 8px;
	justify-content: center;
}

.rn-pagination .page-numbers {
	padding: 6px 12px;
	border: 1px solid var(--rn-border);
	background: var(--rn-surface);
	border-radius: var(--rn-radius);
	font-weight: 600;
}

.rn-pagination .page-numbers.current {
	background: var(--rn-primary);
	color: #fff;
	border-color: var(--rn-primary);
}

/* ==========================================================================
   Ad Slots
   ========================================================================== */
.rn-ad-slot {
	text-align: center;
	margin: 0 auto 20px;
	padding: 8px;
	background: #ffffff;
	border: 1px dashed #cbd5e1;
	border-radius: var(--rn-radius);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.rn-footer {
	background: var(--rn-dark);
	color: #cbd5e1;
	padding: 34px 0 18px;
	margin-top: 30px;
	border-top: 4px solid var(--rn-primary);
}

.rn-footer-logo {
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rn-footer-logo img {
	max-height: 60px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.rn-footer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rn-footer-widget-title {
	color: #ffffff;
	margin: 0 0 12px;
	font-size: 1.05rem;
}

.rn-footer-bottom {
	padding-top: 16px;
	text-align: center;
	font-size: 0.85rem;
	color: #94a3b8;
}

.rn-footer-bottom p {
	margin: 4px 0;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* ==========================================================================
   Social Media Icons (Header)
   ========================================================================== */
.rn-social-icons {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 4px;
}

.rn-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 4px;
	background: rgba(255,255,255,0.12);
	color: var(--rn-dark);
	transition: background 0.2s, color 0.2s;
	border: 1px solid var(--rn-border);
}

.rn-social-icon:hover {
	background: var(--rn-primary);
	color: #fff;
	border-color: var(--rn-primary);
}

.rn-social-icon svg {
	display: block;
	width: 16px;
	height: 16px;
}

/* Platform colors on hover */
.rn-social-facebook:hover  { background: #1877f2; border-color: #1877f2; }
.rn-social-youtube:hover   { background: #ff0000; border-color: #ff0000; }
.rn-social-twitter:hover   { background: #000000; border-color: #000000; }
.rn-social-instagram:hover { background: #e1306c; border-color: #e1306c; }
.rn-social-whatsapp:hover  { background: #25d366; border-color: #25d366; }
.rn-social-telegram:hover  { background: #229ed9; border-color: #229ed9; }

/* Single post tag styles */
.rn-single-tags {
	margin-top: 20px;
	padding-top: 14px;
	border-top: 1px solid var(--rn-border);
	font-size: 0.9rem;
}

.rn-single-tags a {
	background: var(--rn-bg);
	padding: 2px 8px;
	border-radius: 3px;
	margin: 2px;
	display: inline-block;
}

.rn-single-tags a:hover {
	background: var(--rn-primary);
	color: #fff;
}

@media (max-width: 1024px) {
	.rn-single-layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
	}
	.rn-masthead-bn24 {
		grid-template-columns: 200px 1fr;
	}
	.rn-masthead-right {
		display: none;
	}
	.rn-hero-grid-bn24,
	.rn-hero-grid-1,
	.rn-hero-grid-2 {
		grid-template-columns: 1fr 1fr;
	}
	.rn-hero-left-col {
		border-right: none;
		padding-right: 0;
	}
	.rn-hero-grid-bn24 > .rn-tab-box,
	.rn-hero-grid-1 > .rn-tab-box,
	.rn-hero-grid-2 > .rn-tab-box {
		grid-column: 1 / -1;
	}
	.rn-block-1-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.rn-block-2-grid {
		grid-template-columns: 1fr;
	}
	.rn-block-4-top,
	.rn-block-4-bottom {
		grid-template-columns: repeat(2, 1fr);
	}
	.rn-content-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.rn-single-layout {
		grid-template-columns: 1fr;
	}
	.rn-single-wrap {
		padding: 18px 16px;
	}
	.rn-hide-mobile,
	.rn-topbar-links {
		display: none !important;
	}
	.rn-masthead-bn24 {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.rn-site-branding {
		display: flex;
		justify-content: center;
	}
	.rn-header-ad {
		display: none;
	}
	.rn-hero-grid-bn24 {
		grid-template-columns: 1fr;
	}
	.rn-mobile-big-hero .rn-hero-lead {
		order: -1;
		border-bottom: 1px solid var(--rn-border);
		padding-bottom: 14px;
		margin-bottom: 10px;
	}
	.rn-bn24-lead-body {
		grid-template-columns: 1fr;
	}
	.rn-mobile-big-hero .rn-bn24-lead-text {
		order: -1;
	}
	.rn-mobile-big-hero .rn-hero-lead .rn-card-title {
		font-size: 1.45rem;
		line-height: 1.32;
		margin: 4px 0 8px;
	}
	.rn-mobile-big-hero .rn-hero-lead .rn-card-excerpt {
		font-size: 0.94rem;
		margin-bottom: 10px;
	}
	.rn-mobile-big-hero .rn-hero-lead .rn-thumb-wrap {
		aspect-ratio: 16 / 10;
	}
	.rn-mobile-toggle {
		display: inline-flex;
	}
	.rn-nav-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--rn-surface);
		flex-direction: column;
		align-items: stretch;
		border-bottom: 2px solid var(--rn-primary);
		box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
		padding: 8px 16px;
	}
	.rn-nav-menu.is-open {
		display: flex;
	}
	.rn-hero-grid-1,
	.rn-hero-grid-2,
	.rn-block-3-grid,
	.rn-block-5-lead,
	.rn-block-5-sub,
	.rn-archive-grid,
	.rn-footer-grid {
		grid-template-columns: 1fr;
	}
	.rn-block-2-list {
		grid-template-columns: 1fr;
	}
	.rn-block-1-grid,
	.rn-block-4-top,
	.rn-block-4-bottom {
		grid-template-columns: 1fr;
	}
	.rn-single-title {
		font-size: 1.45rem;
	}
}
