/*
Theme Name: UrduPaper
Theme URI: http://stylothemes.com/shop/product/urdupress-premium-urdu-theme-for-wordpress/
Author: StyloThemes
Author URI: http://stylothemes.com
Description: News/Magazine Website Theme in Urdu Language for WordPress. 16+ Pre Loaded Urdu Fonts with Urdu Editor Included
Version: 6.1.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: Split License
License URI: http://stylothemes.com/split-licensing-gpl/
Text Domain: upaper
Tags: news,magazine,urdu,arabic,urdu theme,urdu news

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonatha.siten Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Load Fonts
# Variables
# Normalize
# Typography
# Elements
# Forms
# Header
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
    ## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Load Fonts
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/
:root {
	--primary-color: #121212;
	--secondary-color: #282828;
	--accent-color: #f4ac04;
	--accent-light: #fbf5e6;
	--background: #ffffff;
	--body-bg: #f5f8f8;
	--links-color: #000000;
	--border-dark: #999999;
	--border-medium: #cccccc;
	--border-light: #f9f9f9;
	--text-dark: #333333;
	--text-medium: #767676;
	--text-white: #ffffff;
	--border-radius: 4px;
	--img-border-radius: 4px;
	--logo-width: 120px;
}
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
	direction: rtl;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	direction: rtl;
	background: var(--body-bg);
	background-size: auto !important;
}
.container {
	direction: rtl;
}
.site {
	background: #fff;
	position: relative;
	border-left: 1px solid var(--border-medium);
	border-right: 1px solid var(--border-medium);
	padding: 5px 10px;
	box-shadow: 0px 0px 150px rgba(0, 0, 0, 0.1);
	overflow-x: hidden;
}
.site.site-has-full-header {
	margin-top: 10px;
	border-top: 1px solid var(--border-medium);
	border-radius: var(--border-radius) var(--border-radius) 0 0;
}
.site-header-full .container {
	padding: 0;
}
.container-fluid {
	width: 100%;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
	border-radius: var(--border-radius);
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	appearance: button;
	-webkit-appearance: button;
	cursor: pointer;
	font-family: "Lateef", sans-serif;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	appearance: textfield;
	-webkit-appearance: textfield;
	box-sizing: content-box;
	font-weight: normal;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body,
button,
input,
select,
textarea {
	color: #404040;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
	font-family:'Noto Naskh Arabic', nafeesnastaleeq;
	direction: rtl;
	unicode-bidi: embed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: normal;
	margin: 0;
	text-align: right;
	unicode-bidi: embed;
}
h1 {
	font-size: 48px;
}
h1 small {font-size: 22px;}
h2 {
	font-size: 42px;
}
h2 small {font-size: 22px;}
h3 {
	font-size: 36px;
}
h3 small {font-size: 20px;}
h3 small p {display: inline;}
h4 {
	font-size: 30px;
}
h4 small {font-size: 20px;}
h5 {
	font-size: 22px;
}
h5 small {font-size: 18px;}
h6 {
	font-size: 18px;
}
p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
p, .textwidget {
	font-size:20px;
	unicode-bidi: embed;
}
code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}
p {
	font-size:22px;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
	border-radius: var(--img-border-radius);
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}
.align-center {
	text-align: center !important;
}
@media (max-width: 768px) {
	body {
		padding-top: 60px !important;
	}
	.site-content {
		padding-top: 15px !important;
	}
}
/*--------------------------------------------------------------
# Margins and Paddings
--------------------------------------------------------------*/
.pl-0 {padding-left: 0 !important}
.pr-0 {padding-right: 0 !important}
.pt-0 {padding-top: 0 !important}
.pb-0 {padding-bottom: 0 !important}


.pl-5 {padding-left: 5px !important}
.pr-5 {padding-right: 5px !important}
.pt-5 {padding-top: 5px !important}
.pb-5 {padding-bottom: 5px !important}
.pb-6 {padding-bottom: 6px !important}

.pl-10 {padding-left: 10px !important}
.pr-10 {padding-right: 10px !important}
.pt-10 {padding-top: 10px !important}
.pb-10 {padding-bottom: 10px !important}

.ml-0 {margin-left: 0 !important}
.mr-0 {margin-right: 0 !important}
.mt-0 {margin-top: 0 !important}
.mb-0 {margin-bottom: 0 !important}

.ml-5 {margin-left: 5px !important}
.mr-5 {margin-right: 5px !important}
.mt-5 {margin-top: 5px !important}
.mb-5 {margin-bottom: 5px !important}

.ml-10 {margin-left: 10px !important}
.mr-10 {margin-right: 10px !important}
.mt-10 {margin-top: 10px !important}
.mb-10 {margin-bottom: 10px !important}

.ml-20 {margin-left: 20px !important}
.mr-20 {margin-right: 20px !important}
.mt-20 {margin-top: 20px !important}
.mb-20 {margin-bottom: 20px !important}
/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #000;
	border-radius: 5px;
	background: var(--secondary-color);
	color: #fff;
	font-size: 20px;
	font-size: 1.75rem;
	line-height: 1;
	padding: 10px 20px;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border:none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 10px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
	outline: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 10px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
	width: 100%;
	clear: both;
	position: relative;
}
/* Desktop Header Layout = Full Width: structural mode.
   The masthead is rendered OUTSIDE #page.site (see header.php), so every
   header row spans 100% of the viewport automatically. Each row in
   template-parts/header-desktop.php wraps its inner content in a `.container`
   div (`.upaper-header-row-inner`) to constrain items back to container width.
   In full-width mode the row-level flex layout moves onto the inner wrapper. */
.upaper-desktop-header-full .desktop-header .header-content {
	display: block; /* flex moves onto the .container inner â€” see rule below */
}
.upaper-desktop-header-full .desktop-header .header-content > .upaper-header-row-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.mobile-header {
	height: 60px;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background: #222222;
	z-index: 999;
}
.mobile-header .header-content {
	padding-left: 15px;
	padding-right: 15px;
	height: 60px !important;
}
.mobile-logo img {
	max-height: 40px;
}
.mobile-header-btns, .mobile-logo {
	height: 100%;;
}
.mobile-header-btns a {
	display: inline-block;
	padding: 5px;
	font-size: 30px;
	line-height: 1;
	color: #fff !important;
	height: 100%;
}
.small-header {
	min-height: 30px;
	background: var(--primary-color);
	color: #666666;
	font-size: 18px;
	padding: 0;
	position: relative;
	border-radius: var(--border-radius);
	overflow: hidden;
}
.site-header-full .small-header {
	border-radius: 0 !important;
}
.small-header-flex {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	direction: ltr;
}
.small-header-flex > .epaper-button,
.small-header-flex > .header-socil-icons,
.small-header-flex > .small-nav,
.small-header-flex > .small-header-date {
	flex: 0 0 auto;
}
.small-header-flex > .epaper-button {
	border-radius: 3px 0 0 3px !important;
	overflow: hidden;
}
.site-header-full .small-header-flex > .epaper-button {
	border-radius: 0 0 0 0 !important;
}
.small-header-date {
	border-radius: 0 3px 3px 0;
}
.site-header-full .small-header-date {
	border-radius: 0 0 0 0 !important;
}
/* Right-side group (menu + date) pinned to the far end. Whichever of the
   two appears first gets margin-left: auto; if only one exists it still
   floats to the right. */
.small-header-flex > .small-nav,
.small-header-flex > .small-header-date,
.small-header-flex > .upaper-weather {
	margin-left: auto;
}
.small-header-flex > .small-nav ~ .small-header-date,
.small-header-flex > .small-header-date ~ .small-nav,
.small-header-flex > .upaper-weather ~ .small-header-date,
.small-header-flex > .upaper-weather ~ .small-nav,
.small-header-flex > .small-nav ~ .upaper-weather,
.small-header-flex > .small-header-date ~ .upaper-weather {
	margin-left: 0;
}
.search-box {
	display: block;
	width: 800px;
	height: 300px;
	max-width: 100%;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-left: -400px;
	margin-top: -150px;
	background: rgba(0,0,0,0.95);
	z-index: 9999;
	padding: 20px;
	color: #fff;
	box-shadow: 0px 0px 10px 1px #000;
	border-radius: 10px;
	display: none;
}
.search-box h2 {
	color: #fff;
	margin: 20px 0 30px 0;
	font-family: "nafeesnastaleeq", Nastaleeq Like !important;
	font-size: 26px !important;
	line-height: 2 !important;
}
.search-box label {
	width: 90%;
	display: block;
	margin: 20px auto;
}
.search-box .search-field {
	padding: 10px;
	width: 100%;
	font-size: 20px !important;
	font-family: "nafeesnastaleeq", Nastaleeq Like !important;
	outline: none !important;
}
.search-box .search-submit {
	display: block;
	width: 300px;
	max-width: 100%;
	margin: 0 auto;
	padding: 20px;
	text-align: center;
	font-size: 22px;
	border: none;
	background: #da9a06;
}
#closeSearchBox {
	padding: 10px;
	width: 50px;
	height: 50px;
	text-align: center;
	border-radius: 50%;
	display: inline-block;
	line-height: 1;
	color: #1a1a1a;
	font-size: 30px;
	position: absolute;
	top: -15px;
	right: -15px;
}
.header-socil-icons ul {
	list-style: none;
	margin: 0;
	padding: 0 0 0 3px;
	text-align: left;
	direction: ltr;
}
.header-socil-icons ul li {
	display: inline-block;
    /*border-right: 1px solid #000;
 	border-left: 1px solid #444;*/
    outline: 1px solid transparent;
	margin-left: -3px;
}
.header-socil-icons ul li:last-child:after {
	border-right: 1px solid #444;
}
.header-socil-icons ul li a {
	color: #f0f0f0;
	display: inline-block;
	padding: 5px 0px;
	width: 40px;
	text-align: center;
}
.header-socil-icons ul li a i {
	position: relative;
	top: 1px;
}
.header-socil-icons ul li a i.icon-search {
	top: 0px;
}
.header-socil-icons ul li a:hover {
	color: #000000;
}
.small-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.small-nav ul li {
	float: right;
	margin-left: 10px;
}
.small-nav ul li a {
	color: #f0f0f0;
	font-size: 16px;
	line-height: 1.5;
	padding: 5px;
	display: inline-block;
	font-family: "Lateef", sans-serif;
}

/* Live TV / Live Radio links â€” sit in the same `.small-nav` slot the wp
   menu used to occupy. Sized + coloured to match the Urdu menu links above
   so the row stays visually consistent. */
.upaper-live-nav {
	display: flex;
	align-items: center;
	gap: 14px;
}
.upaper-live-nav .upaper-live-nav-link {
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	color: #f0f0f0;
	font-size: 16px;
	line-height: 1.5;
	font-family: "Lateef", sans-serif;
	position: relative;
	text-decoration: none;
	transition: background 0.18s ease, color 0.18s ease;
}
.upaper-live-nav .upaper-live-nav-link:hover,
.upaper-live-nav .upaper-live-nav-link:focus {
	color: var(--accent-color, #f4ac04);
	background: rgba(255, 255, 255, 0.08);
	text-decoration: none;
}
.upaper-live-nav .upaper-live-nav-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.upaper-live-nav .upaper-live-nav-icon svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
}
.upaper-live-nav .upaper-live-nav-text {
	white-space: nowrap;
	font-size: 18px;
}
/* Tiny pulsing red dot on the TV link â€” same convention as the cards
   inside the Live TV page so the surface clearly reads as "live". */
.upaper-live-nav .upaper-live-nav-tv .upaper-live-nav-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #dc2626;
	box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.25);
	animation: upaper-live-nav-blink 1.6s ease-in-out infinite;
	margin-right: 2px;
}
@keyframes upaper-live-nav-blink {
	50% { opacity: 0.35; }
}

/* Below the tablet break the small-header gets cramped â€” hide the Urdu
   text labels so the icons alone keep the row neat. Aria-label survives. */
@media (max-width: 991px) {
	.upaper-live-nav .upaper-live-nav-text { display: none; }
	.upaper-live-nav .upaper-live-nav-link { padding: 4px 6px; }
	.upaper-live-nav { gap: 6px; }
}

/* Authorship surface â€” Login link / Account dropdown in the small header.
   Reuses .upaper-live-nav-link chrome so the row stays visually consistent
   with the Live TV / Live Radio links. Self-hides when the Authorship
   module is OFF (the PHP gate doesn't render anything). */
.upaper-auth-nav-link {
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	color: #f0f0f0;
	font-size: 18px;
	line-height: 1.5;
	font-family: "Lateef", sans-serif;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease;
}
.upaper-auth-nav-link:hover,
.upaper-auth-nav-link:focus {
	color: var(--accent-color, #f4ac04);
	background: rgba(255, 255, 255, 0.08);
	text-decoration: none;
	outline: none;
}
.upaper-auth-nav-link .upaper-live-nav-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.upaper-auth-nav-link .upaper-live-nav-icon svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
}
.upaper-auth-nav-link .upaper-live-nav-text {
	white-space: nowrap;
}

/* Account dropdown wrapper â€” anchored so the menu can absolute-position
   below the toggle. tabindex=0 on the wrapper lets keyboard users open
   the menu via :focus-within without any JS. */
.upaper-auth-nav-account {
	position: relative;
	display: inline-flex;
	align-items: center;
}
.upaper-auth-nav-account:focus { outline: none; }

.upaper-auth-nav-caret {
	font-size: 12px;
	line-height: 1;
	margin-inline-start: 2px;
	transition: transform 0.2s ease;
}
.upaper-auth-nav-account:hover .upaper-auth-nav-caret,
.upaper-auth-nav-account:focus-within .upaper-auth-nav-caret {
	transform: rotate(180deg);
}

/* The menu itself â€” hidden until the wrapper is hovered or has focus
   somewhere inside (CSS-only show/hide, no JS). Visually distinct from
   the dark header bar so it reads as a popover. Direction:rtl so menu
   items align right by default; toggle still inherits page direction. */
.upaper-auth-nav-menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	left: auto;
	min-width: 200px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #1a1a1a;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
	z-index: 9999;
	direction: rtl;
}
.upaper-auth-nav-account:hover .upaper-auth-nav-menu,
.upaper-auth-nav-account:focus-within .upaper-auth-nav-menu,
.upaper-auth-nav-menu:hover {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.upaper-auth-nav-menu li {
	margin: 0;
	list-style: none;
}
.upaper-auth-nav-menu li a {
	display: block;
	padding: 9px 16px;
	color: #f0f0f0;
	font-family: "Lateef", "Noto Naskh Arabic", serif;
	font-size: 16px;
	line-height: 1.5;
	text-decoration: none;
	text-align: right;
	transition: background 0.15s ease, color 0.15s ease;
}
.upaper-auth-nav-menu li a:hover,
.upaper-auth-nav-menu li a:focus {
	background: rgba(244, 172, 4, 0.12);
	color: var(--accent-color, #f4ac04);
	outline: none;
}
.upaper-auth-nav-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.08);
	margin: 4px 0;
	pointer-events: none;
}
.upaper-auth-nav-signout {
	color: #ff9b9b !important;
}

/* Mobile parity with the live-nav row â€” hide the toggle's label so the
   account icon still fits in the cramped row, dropdown still works on tap. */
@media (max-width: 991px) {
	.upaper-auth-nav-link .upaper-live-nav-text { display: none; }
	.upaper-auth-nav-link { padding: 4px 6px; }
	.upaper-auth-nav-caret { display: none; }
}
.small-header-date {
	color: #f0f0f0;
	font-size: 16px;
	line-height: 1.5;
	padding: 6px 10px 4px;
	font-family: "Lateef", "nafeesnastaleeq", Nastaleeq Like, sans-serif;
	white-space: nowrap;
	text-align: center;
	background: var(--secondary-color);
}
.small-header-flex > .small-nav {
	padding:0 8px;
}
.small-header-date .small-header-date-text {
	display: inline-block;
}

/* Small-header responsive trim. The row is `flex-wrap: nowrap` and every
   child is `flex: 0 0 auto`, so on narrower desktops (E-PAPER + ~8 social
   icons + secondary nav + weather + Urdu date) the combined width spills
   past the viewport â€” visible because `.small-header:has(.upaper-weather)`
   intentionally drops `overflow: hidden` so the weather panel can escape.
   Progressively tighten icon widths and drop the lower-value items rather
   than let the row clip off-screen. */
@media (max-width: 1366px) {
	.small-header-flex .header-socil-icons ul li a {
		width: 32px;
	}
}
@media (max-width: 1199px) {
	.small-header-flex > .small-nav {
		display: none;
	}
	/* .small-nav is `display: none` but still in the DOM, so the existing
	   `.small-nav ~ .upaper-weather` / `~ .small-header-date` rules still
	   match and zero out their `margin-left: auto`. Re-anchor the first
	   remaining right-side item so weather + date stay pinned to the end. */
	.small-header-flex > .small-nav ~ .upaper-weather,
	.small-header-flex > .small-nav ~ .small-header-date {
		margin-left: auto;
	}
	.small-header-flex > .upaper-weather ~ .small-header-date {
		margin-left: 0;
	}
	.small-header-flex .header-socil-icons ul li a {
		width: 28px;
	}
	.small-header-date {
		padding: 6px 8px 4px;
	}
}
@media (max-width: 991px) {
	.small-header-flex > .small-header-date {
		display: none;
	}
}

.ticker-container {
	padding: 5px !important;
	background: #f0f0f0;
	height: 40px !important;
	position: relative;
	overflow: hidden;
	border-radius: var(--border-radius);
}

.ticker-above-header {
	margin-top: 5px;
}
.newsTicker {
    width: 100%;
    overflow: hidden;
	margin-right: 120px;
}
.newsTicker a {
	display: inline-block;
	padding: 10px;
	font-size: 12px;
	height: 25px;
	margin-left: 10px;
}
.breaking_head {
	position: absolute;
	right: 0;
	top: 0;
	height: 40px;
	background: #999;
	font-size: 20px;
	line-height: 1;
	font-size: 23px;
	z-index: 9999;
	padding: 0 10px 0 20px;
	color: #fff;
}
.breaking_head #left-triangle {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    position: absolute;
    left: -9px;
    top: 12px;
}

#news-star-sign {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
	margin-left: 5px;
}
#news-star-sign {
	animation-iteration-count:infinite;
	-moz-animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
}
.search-form label img {
	display: none;
}
.searchBtn {
	line-height:1.5em;
	padding:2px;
}
.searchBtn .fa{
	margin-right: 5px;
	font-size:20px;
}
.header-content {
	width: 100%;
	padding: 10px 0;
	height:auto;
	overflow:hidden;
}
.desktop-header .header-content {
	padding: 15px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.logo {
	width: var(--logo-width);
}
.logo a {
	display: block;
	width: 100%;
}
.logo img {
	max-width: 100%;
}
.header-banner {
	width: calc(100% - var(--logo-width));
}
.actiavtion-notice {
	text-align: center;
	font-family: "Roboto", serif;
	padding: 10px;
	background: #c10000;
	color: #ff0;
	font-size: 18px;
}
.epaper-button a {
	display: inline-block;
	width: 100%;
	height: 100%;
	text-align: center;
	background-color: var(--accent-color);
	text-transform: uppercase;
	font-family: "Roboto", serif;
	font-size: 16px;
	font-weight: bold;
	padding: 8px 10px 5px 10px;
	direction: ltr;
}
.epaper-button a, .epaper-button a:visited {
	color: #000000;
}
.epaper-button a:hover, .epaper-button a:visited:hover {
	background-color: var(--accent-color);
	color: #ffffff;
}
@media screen and (max-width: 768px){
	.logo {
		width:100%;
		clear: both;
		text-align: center;
		float: none;
	}
	.header-banner {
		width:100%;
		float: none;
		height:60px;
		margin-top:10px;
	}
	.search-box {
		width: 90%;
		left: 0;
		top: 30%;
		margin-left: 5%;
		margin-right: 5%;
		margin-top: 10px;
	}
	.search-box label {
		margin: 5px;
	}
	.search-box h2 {
		font-size: 19px !important;
	}
	.ticker-container.hidden-mobile {
		display: none;
	}
}
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #222;
	transition: 0.5s all;
}

a:visited {
	color: #333;
}

a:hover,
a:focus,
a:active {
	color: inherit;
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.nav-wrap {
	position: relative;
}
.mobile-nav-row {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 20px;
	background: #222222;
	display: none;
	overflow: auto;
}
.nav-container {
	width: 100%;
	max-width: 1360px;
	margin: 0 auto;
	height: 45px;
}
.main-menu {
	clear: both;
	display: block;
	width: 100%;
	background: #121212;
	min-height: 55px;
	direction:ltr;
	border-radius: var(--border-radius) !important;
	border-left: none;
	border-right: none;
	margin-bottom: 10px;
}
.site-header-full .main-menu {
	border-radius: 0 !important;
}
.navbar-collapse, .navbar-nav {
	padding: 0 !important;
	border-radius: 0 !important;
}
.sticknav {
	position: fixed;
	left: 50%;
    top: 0%;
    transform: translateX(-50%);
	z-index: 999999999;
	background: #222;
	width: 100%;
	border-radius: 0 !important;
	box-shadow: 0px 20px 50px rgba(0,0,0,0.3);
}
#primary-menu {
	height: 50px;
	display: flex;
	flex-direction: row-reverse;
	align-items: stretch;
}
.site-header-full #primary-menu {
	direction: ltr;
	padding: 0;
	height: 49px;
}
.main-menu ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-menu li {
	position: relative;
    background-repeat: no-repeat;
    background-position: left top 60%;
    border-left: 1px solid #222222;
	flex: 1;
	height: calc(100% - 2px);
}
.main-menu li:last-child {
	background: none;
	background-image: none;
	border: none;
}
.site-header-full .main-menu li:last-child {
	border-left: 1px solid #222222;
}
.main-menu li:first-child {
	border-right: none;
}
.main-menu li:last-child a {
	border-left: none
}
.main-menu li.menu-item-has-children .parent::before {
	content: "\e817";
	font-family: "fontello";
	font-size: 14px;
	display: inline-block;
	padding-right: 10px;
	position: relative;
	top: 2px;
}
.main-menu li a {
	display: block;
	text-decoration: none;
	color: #fff;
	font-size: 20px;
	padding: 10px 15px !important;
	transition: all 0.5s;
	height: 50px;
	position: relative;
	top: -1px;
	text-align: center;
}
.main-menu li a i {
	margin-left: 10px !important;
	position: relative;
	top: 2px;
	font-size: 16px !important;
}
.navbar-toggle {
	background: #222 !important;
	color: #fff !important;
	border: none !important;
}

.main-menu .current-menu-item a{
	background:#c10000;
}
.main-menu ul .sub-menu {
	float: none;
	position: absolute;
	top: calc(100% + 2px);
	right: 0;
	z-index: 99999;
	display: none;
	border-radius: var(--border-radius) !important;
	overflow: hidden;
}
.main-menu ul .sub-menu .sub-menu {
	top: 0;
	right: 100%;
	padding: 0;
}
.main-menu ul .sub-menu li {
	direction: rtl;
	text-align: right;
	background-image: none;
	border-left: none;
	border-right: none;
	width: 100%;
}
.upaper-nav-more .sub-menu  li {
	direction: ltr !important;
	border: none !important;
}
.upaper-nav-more > a::after {
	display: none;
}
.main-menu ul .sub-menu li:last-child, .main-menu ul .sub-menu li:last-child a {
	border-left: none;
	border-right: none;
}
.main-menu ul .sub-menu li a {
	border-top: 1px solid rgba(0,0,0,0.4);
	border-left: none !important;
	background-color: var(--primary-color);
	width: 100%;
}

.main-menu ul .sub-menu li a:hover {
	background: var(--accent-color);
}
.main-menu ul li.hover .sub-menu {
	display: block;
}
.main-menu ul li.hover .sub-menu .sub-menu {
	display: none;
}
.main-menu ul .sub-menu li.hover .sub-menu {
	display: block;
}

.main-menu ul ul a {
	width: 200px;
}

@media screen and (max-width: 768px) {
	.main-menu {
		margin: 0;
		height: 100%;
		width: 100%;
		border: none !important;
	}
	.main-menu li {
		float: none;
		width: 100%;
		text-align: right;
		padding-right: 0px;
		border: none;
		margin-bottom: 0;
		margin-top: 0;
		border-left: none !important;
	}
	.main-menu li a {
		text-align: center;
		border-bottom: 1px solid #333333;
		padding: 10px 0 !important;
	}
	.main-menu li:last-child, .main-menu li:last-child a {
		border: none !important;
	}
	#primary-menu {
		position: relative;
		z-index: 9999;
		background: #222;
		width: 100%;
		height: 100%;
		border: none !important;
		flex-direction: column;
	}
	.navbar-collapse.collapsed {
		display: none !important;
	}
	.sub-menu {
        display: block;
        width: 100%;
	}
	.main-menu ul .sub-menu .sub-menu {
		position: relative;
		right: 0;
	}
    .menu > li.hover > ul,
    .menu li li.hover ul{
		margin-right: 0px;
		background: #333333;
		width: 100%;
		padding: 10px;
    }
    .menu > li.hover > ul li,
    .menu li li.hover ul li{
        background: none;
    }
    .menu > li ul li a,
    .menu li li ul li a{
        width: 100%;
    }
	.main-menu li.menu-item-has-children .parent::before {
		float: left;
		left: 10px;
	}
	#closeMenuM {
		position: absolute;
		top: 10px;
		right: 10px;
		color: #1a1a1a;
		padding: 6px;
		background: #E18501;
		font-size: 18px;
		z-index: 99999;
		display: inline-block;
		line-height: 1;
		border-radius: var(--border-radius);
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
.container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
	margin-right: 0;
	margin-left: 0;
}
/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}


/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 10px 0;
}
.widget ul {
	list-style: none;
	margin:0;
	padding:0;
}
.widget_media_image, .widget_custom_html {
	text-align: center;
}
.header-banner .custom-html-widget {
	text-align: left;
}
.mini-sidebar {
	background: #f0f0f0;
}
.mini-sidebar .widget-title {
	text-align: center;
}
.main-sidebar .widget .textwidget, .mini-sidebar .widget .textwidget {
	text-align: center;
}
.main-sidebar .widget ul li {
	margin-bottom: 15px;
	font-size: 16px;
}
.widget .widget-title {
	padding: 12px 10px;
	background:#f0f0f0;
	margin-bottom:10px;
	position: relative;
	display: block;
	width: 100%;
	border-radius: var(--border-radius);
}
/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}
/* Search widget. */
.widget_search .search-submit {
	display: none;
}
.widget  ul li a {
	font-size:20px;
}
.widget-content {
	position: relative;
}
.upress-cat-posts {
	background: #f8f8f8;
	height: auto;
	overflow: hidden;
}
.widget-cat-post-row {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
}
.widget-cat-posts-full {
	padding: 10px;
	border: 1px solid #dddddd;
}
.upress-cat-posts .widget-title {
	margin-bottom: 0;
}
.upress-cat-posts .widget-content {
	padding: 25px 0 10px 0;
	height: auto;
	overflow: hidden;
	background: #fff;
}
.upress-cat-posts .row {
	border-bottom: 1px dashed #ccc;
	margin-bottom: 10px;
}
.upress-post-thumb img {
	width: 100%;
}
.upaper-popular-posts-row {
	margin-bottom: 5px;
	padding: 5px;
	transition: 0.5s all;
	align-items: center;
    display: flex;
    flex-direction: row-reverse;
}
.upaper-popular-posts-row:hover {
	background: #f0f0f0;
	border-radius: var(--border-radius);
}
.upress-post-title, .upaper-post-title {
	padding: 5px 0;
	font-size: 18px;
	line-height: 2;
}
.upaper-post-thumb {
	padding-top: 5px;
}
.upaper-newsletter {
	padding: 5px;
}
.upaper-newsletter .div.wpcf7-response-output {
	margin-top: 0 !important;
}
.upaper-newsletter p {
	text-align: center;
	line-height: 1.8;
	text-shadow: 0 0 0.1px #8f8f8f;
	color: #555;
}
.upaper-newsletter input[type=email] {
	padding: 5px;
	width: 100%;
	height: 50px;
	font-size: 18px;
	font-family: "Roboto", serrif;
	outline: none;
}
.upaper-newsletter input[type=submit] {
	width: 100%;
	padding: 10px;
	margin-top: 10px;
	font-family: "AlQalam Telenor", nafeesnastaleeq;
	font-size: 28px;
	border: none;
}
.upaper-newsletter input[type=submit]:hover {
	border: none;
}
.mini-sidebar .upress-post-title {
	text-align: center;
}
.upaper-epapers-slider {
	height: auto;
	overflow: hidden;
	text-align: center;
}
.upaper-epapers-slider .thumbnail {
	margin-bottom: 5px;
}
.upaper-epapers-slider h4 {
	margin: 5px 0;
	text-align: center;
	font-size: 24px;
}
.upaper-epapers-slider h4 a {
	padding: 10px;
	background-color: #101010;
	color: #ffffff;
	display: block;
	width: 100%;
	border-radius: var(--border-radius);
}
.upaper-epapers-slider .owl-nav {
	top: 50%;
	margin-top: -25px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}
.footer-widget p {
	font-size: 20px !important;
	color: #ccc !important;
	line-height: 1.5em !important;
}
/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.content-area {
	padding-top: 15px;
	height: auto;
	overflow: hidden;
	direction: rtl;
	position: relative;
}
.home .content-area {
	padding-top: 0;
}
.content-area .page-header {
	margin-top:0;
}
.content-search  .entry-header, .archive-main .entry-header{
	height: auto !important;
	overflow: hidden !important;
	padding:10px 0 !important;
}
.content-search .entry-title, .archive-main .entry-title {
	background: #fff !important;
	font-size:38px !important;
	position: relative !important;
}
.content-search .entry-title:hover, .archive-main .entry-title:hover{
	color: #d00000 !important;
}
.content-search  .entry-meta, .archive-main .entry-meta{
	text-align: right;
	padding-right: 10px;
}
.search-main h2 {
	color: #d00000;
}
.featured_row, .cat_row {
	width: 100%;
	height: auto;
	overflow: hidden;
}
/* HOME */
.home-slider {
	height: auto;
	overflow: hidden;
}
.featured_banner {
	float: left;
}
.box-125 {
	max-width:175px;
}
.home-category-posts {
	margin-bottom: 10px;
}
.home-cat-title {
	color: #d20000;
	width: 100%;
	padding-bottom: 5px;
	border-bottom:2px solid #f0f0f0;
	margin-bottom: 10px;
}
.home-post-row {
	margin-bottom: 10px;
	padding: 5px;
}
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } 
.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.home-carousel {
	position: relative;
}
.owl-nav {
	position: absolute;
	top: -50px;
	right: 0;
}
.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev {
	width: 50px;
	height: 50px;
	background: var(--secondary-color) !important;
	border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
	color: #ffffff !important;
	font-size: 30px !important;
	font-family: "Roboto", sans-serif !important;
}
.owl-carousel .owl-nav button.owl-next {
	margin-right: 10px;
}
.home-blocks .block-head {
	width: 100%;
	background: #f0f0f0;
	margin-bottom: 10px;
	height: auto;
	overflow: hidden;
	padding: 10px;
	position: relative;
	display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
	border-radius: var(--border-radius);
}
.home-blocks .block-head.grid-block-head {
	padding: 0;
}
.home-blocks .block-head .title-text {
	padding: 15px 10px 10px 10px;
}
.home-blocks .block-head .block-head-icon {
	padding: 0 15px;
    color: #fff;
    display: flex;
    align-items: center;
    height: 60px;
}
.home-blocks .block-head .block-head-icon i {
	font-size: 28px;
	width: 28px;
	height: 28px;
	position: relative;
	top: 2px;
}
.block-more-btn {
	height: 40px;
	padding: 0 10px;
	border-radius: 5px;
	text-align: center;
	font-size: 24px;
	line-height: 1.9;
	border: 2px solid #767676;
	color: #767676;
	transition: 0.5s all;
}
.grid-block-head .block-more-btn {
	margin-left: 10px;
}
.block-more-btn span {
	font-family: "Lateef", serif;
	position: relative;
	top: -8px;
	display: none;
	
}
.block-more-btn:hover {
	border: 2px solid #333333;
	color: #333333;
}
.block-more-btn:hover span {
	display: inline-block;
}
.home-blocks .row {
	margin-left: 0;
	margin-right: 0;
}
.block-post-row {
	margin-bottom: 10px;
}
.block-post-row h4 {
	margin-bottom: 10px;
	min-height: 56px;
}
.block-post-row p {
	font-size: 16px
}
.archive .entry-content p{
	font-size: 16px !important;
}
.block-post-row .post-info, .post-info-xs,  .archive-post-details .post-info {
	display: flex;
    flex-direction: row;
    align-items: center;
	gap: 5px;
}
.block-post-smallrow {
	border-bottom: 1px solid #f0f0f0;
}
.block-post-smallrow:last-child {
	border-bottom: none;
}
.block-post-smallrow .post-content {
	margin-bottom: 0;
}
.block-post-smallrow.noborder {
	border: none;
}
.block-post-first img, .block-post-smallrow img {
	width: 100%;
}
.block-body.block-large .block-post-thumbnail {
	height: 210px;
	background: #f0f0f0;
	padding: 5px;
}
.block-body.block-large .block-post-thumbnail img {
	width: 100%;
	height: 100%;
}
.posted-on a i, .post-comments i, .post-views i, .post-author i {
	font-size: 14px;
	position: relative;
	top: 1px;
}
.posted-on a, .post-comments, .post-views, .post-author, .post-author a {
	font-size: 16px;
	color: #666 !important;
	font-family: "Lateef", serif;
}
.post-info small {
	font-family: "Roboto", sans-serif;
}
.classic-block-flex {
	display: flex;
}
.classic-block-flex .cb-flex-item {
	flex: 1;
	padding: 10px;
}
.classic-block-flex .cb-flex-item .post-content-sm {
	margin: 0;
	display: flex;
	align-items: center;
}
.columns-block .column-post-title {
	font-size: 20px;
	line-height: 2;
}
.columns-block .column-post-icon {
	padding: 5px 0;
	color: #666;
	line-height: 2;
	text-align: center;
	font-size: 16px;
}
.bg-black-head {
	padding: 15px;
	background-color: var(--secondary-color);
	border-radius: var(--border-radius);
}
.bg-black-head a {
	color: #ffffff;
}
.home-grid-block-inner {
	height: 100%;
}
/*.home-grid-block {
	float: right;
	width: 32.5%;
	margin-left: 1.2%;
	min-width: 280px;
}*/
.home-grid-block.center-block {
	border-right: 1px solid #f0f0f0;
	border-left: 1px solid #f0f0f0;
}
.home-grid-block.center-block .block-post-row img {
	height: 250px;
}
.home-grid-block.center-block .block-post-smallrow.pb-5 {
	padding-bottom: 9px !important;
}
.home-grid-block .block-post-first img, .home-grid-block .block-post-smallrow img {
	position: relative;
}
.home-grid-row .home-grid-block:last-child {
	margin-left: 0;
}
.home-grid-row .grid-frist-post-heading {
	min-height: 70px;
	padding: 10px;
	background-color: var(--primary-color);
	border-radius: var(--border-radius);
}
.home-grid-row .grid-frist-post-heading h4 {
	margin-bottom: 10px;
}
.home-grid-row .grid-frist-post-heading h4 a {
	color: #ffffff;
}
.grid-frist-post-heading .post-info-xs span, .grid-frist-post-heading .post-info-xs span a {
	color: #767676 !important;
}
@media (min-width: 1200px) {
	.post-blocks-increased-width.col-lg-11 {
		width: 72%;
	}
}
@media (max-width: 769px) {
	.columns-block, .home-grid-block, .post-main, .page-content p, .entry-content p, .entry-summary p {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.block-post-first h5  {
		padding-top: 10px;
		padding-right: 10px;
	}
	.classic-block-flex {
		display: block;
	}
	.classic-block-flex .post-content h4 {
		padding: 10px;
	}
	.home-blocks .block-head.grid-block-head h2 {
		font-size: 28px !important;
	}
	.block-post-row img {
		width: 100%;
	}
	.block-post-smallrow {
		padding: 5px !important;
	}
	.block-post-smallrow .post-info-xs {
		display: none;
	}
}
@media (max-width: 480px) {
	.block-post-smallrow {
		padding: 0px !important;
	}
}
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.post .entry-header {
	width:100%;
	text-align: center;
	color: #fff;
	position: relative;
}
.post .entry-header h1 {
	width:100%;
	color: #fff;
	background: var(--primary-color);
	padding: 20px;
	border-radius: var(--border-radius);
}
.post-head-img {
	width: 100%;
}
.post-header-image {
	position: relative;
}
.post-views-box {
	position: absolute;
	left: 10px;
	bottom: 10px;
	padding: 5px 10px;
	background: rgba(0,0,0,0.7);
	direction: ltr !important;
	font-family: "Roboto", sans-serif !important;
	font-size: 18px;
	font-weight: bold;
	color: #ffffff;
	border-radius: var(--border-radius);
}
.entry-meta {
	color: #000;
	font-size:20px;
	padding: 10px;
	background-color: #f0f0f0;
	border-radius: var(--border-radius);
}
.entry-meta .post-info {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-direction: row;
}
.entry-meta .post-info > span {
	padding: 0 10px;
}
.entry-meta .post-info > span:first-child {
	padding-right: 5px;
}
.entry-meta .post-info > span:last-child {
	padding-left: 5px;
}
.entry-meta .post-info .font-size-controls {
	margin-right: auto;
	font-size: 18px;
}
.entry-meta .post-info .font-size-controls a, .entry-meta .post-info .font-size-controls a i {
	line-height: 1;
}
.entry-footer {
	height: auto;
	overflow: hidden;
	padding:5px 0;
	margin: 10px 0;
}
.entry-footer span{
	margin:0 5px;
	font-size:18px;
	float: right;
}
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}
.post-sharing {
	height: auto;
	overflow: hidden;
	display: flex;
}
.post-sharing .sharing-label {
	padding: 0px 15px;
	height: 50px;
	font-size: 30px;
	margin: 5px 0px 5px 5px;
}
.post-sharing .sharing-label .share-icon {
	display: inline-block;
	transform: rotate(180deg);
	line-height: 1.2;
}
.post-sharing .sharing-label .share-icon i {
	position: relative;
	display: inline-block;
}
.sharing-label span {
	color: #fff;
}
.post-sharing .sharing-label h3 {
	margin: 0;
	color: #fff;
	font-family: "Lateef", serif;
}
.post-content {
	margin-bottom: 15px;
}
.post-content h4{
	margin:0 0 10px 0;
}
.post-content  p{
	font-size: 20px;
	direction: rtl;
	margin:0 0 5px 0 !important;
}
.posted-on {
	line-height: 1;
}
.post-main .entry-meta {
	height: auto;
	overflow: hidden;
}
.single-post-main article {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.single-post-main article.comment-body {
	align-items: flex-start;
	flex-direction: row;
	align-items: center;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.single-post-main .entry-content {
	margin: 20px 0 15px 0;
}
.page-content p,
.entry-content p,
.entry-summary p {
	text-shadow:0 0 0.1px #8f8f8f;
	padding: 0 10px;
}
.page-template-template-english .page-main {
	border-right: 1px solid #f0f0f0;
}
.english-content .entry-content p {
	direction: ltr;
	font-family: "Roboto", serrif !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	text-shadow: none !important; 
}
.english-content .entry-title {
	direction: ltr !important; 
	text-align: left !important;
	font-family: "Roboto", serrif !important;
}
.read-more, .read-more:visited {
	color: #d20000;
	margin:0 10px;
}
.read-more::before {
	content:"...";
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.nav-links a {
	font-size: 24px;
	color: #d00000;
}
.below-post {
	margin-left: 0;
	margin-right: 0;
}
.post-ratings-block {
	height: auto;
	overflow: hidden;
	border: 1px solid #ddd;
	border-radius: var(--border-radius);
}
.post-ratings-container {
	height: auto;
	overflow: hidden;
}
.rating-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
	flex-wrap: wrap;
}
.rating-list li {
	flex: 1;
	padding: 10px;
	min-width: 150px;
}
.rating-list li a {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	width: 100%;
	height: 120px;
	border-radius: 5px;
	border: 2px solid #ddd;
	text-align: center;
}
.rating-list li:first-child a { border: 2px solid red; }
.rating-list li:nth-child(2) a { border: 2px solid orange; }
.rating-list li:nth-child(3) a { border: 2px solid #666; }
.rating-list li:nth-child(4) a { border: 2px solid #0a9bdf; }
.rating-list li:last-child a { border: 2px solid green; }

.rating-list li:first-child a:hover,
.rating-list li:first-child.voted a { background: red; color: #fff; }
.rating-list li:nth-child(2) a:hover,
.rating-list li:nth-child(2).voted a { background: orange; color: #fff; }
.rating-list li:nth-child(3) a:hover,
.rating-list li:nth-child(3).voted a { background: #666; color: #fff; }
.rating-list li:nth-child(4) a:hover,
.rating-list li:nth-child(4).voted a { background: #0a9bdf; color: #fff; }
.rating-list li:last-child a:hover,
.rating-list li:last-child.voted a { background: green; color: #fff; }

.post-ratings-block[data-user-vote] .rating-list li:not(.voted) a {
	opacity: 0.55;
	cursor: default;
}
.post-ratings-block[data-user-vote] .rating-list li:not(.voted) a:hover {
	background: transparent;
	color: inherit;
}

.rating-list li a span {
	display: inline-block;
	padding: 5px;
}
.rating-list li a .rating-icon {
	font-size: 40px;
	line-height: 1;
	padding: 20px 10px 10px 10px;
}
.rating-list li a .rating-icon .icon-emo-thumbsup {
	margin-left: 20px;
}
.rating-list li a .rating-text {
	font-size: 14px;
	line-height: 1;
	padding: 0;
}
.rating-list li a .rating-result {
	font-size:10px;
	direction: ltr;
	font-family: "Roboto", serrif;
}
.related-posts {
	margin-top: 0;
}
.related-posts-header h2{
	text-align: center;
	padding-bottom: 10px;
	border-radius: var(--border-radius);
}
.post-ratings-header h2 {
	text-align: center;
	font-size: 24px;
	background: #f0f0f0;
	padding: 10px;
	line-height: 1.5;
}
#rating-ajax-response {
	width: 100%;
	display: none;
	margin-top: 10px;
}
#rating-ajax-response h2 {
	text-align: center;
	font-size: 20px;
	padding: 10px 10px 5px 10px;
	font-family: "Alkatib Regular", nafeesnastaleeq;
	border-radius: 0;
	margin-bottom: 0;
}
.related-posts-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, 1fr);
}
.block-post-grid:nth-child(3), .block-post-grid:nth-child(6) {
	margin-right: 0;
}
.inside-post-banner {
	float: right;
    margin: 5px 0 5px 15px;
}
.above-post-ad, .below-post-ad {
	width: 100%;
	padding: 5px;
	margin:5px 0;
}
@media all and (max-width: 768px) {
	.post-ratings-header h2 {
		font-size: 26px;
	}
	.single-post-main {
		padding-left: 0 !important;
	}
	.archive-post-thumbnail img {
		width: 100%;
	}
	.related-posts-grid {
		grid-template-columns: 100%;
	}
}
/*----------------------------------------
Social Sharing Bar 
----------------------------------------*/
.social-sharing {
	width: 100%;
	height: auto;
	overflow: hidden;
}
.social-bar {
	position: relative;
	padding: 0px;
	background: transparent;
	text-align: center;
	width: 100%;
}
.social-bar ul, .social-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.social-bar ul li {
	width: 100%;
	height: 50px;
	text-align: center;
	display: inline-block;
	padding: 0 5px;
	min-width: 180px;
}
.social-bar ul li:first-child {
	padding-right: 0;
}
.social-bar ul li:last-child {
	padding-left: 0;
}
.social-bar ul li a {
	width: 100%;
	height: 100%;
	padding: 10px;
	line-height: 1.1;
	position: relative;
	display: block;
	color: #333333;
	font-size: 24px;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	overflow: hidden;
}
.social-sharing.style-1 .social-bar ul li a {
	line-height: 1.2;
}
.social-sharing.style-2 .social-bar ul li a {
	border: 2px solid #000000;
}
.social-bar ul li a span {
	font-family: "Lateef", serif;
}
.social-bar ul li a.layout-1 span {
	padding-right: 10px;
}
.social-bar ul li a.layout-1 i {
	position: relative;
	top: 5px;
}
.social-sharing.style-1 .social-bar ul li #fb {background: #4862A3 !important; color: #fff;}
.social-sharing.style-1 .social-bar ul li #tw {background: #55ACEE !important; color: #fff;}
.social-sharing.style-1 .social-bar ul li #wa {background: #24CD63 !important; color: #fff;}
.social-sharing.style-1 .social-bar ul li #em {background: #b83b3b !important; color: #fff;}

.social-sharing.style-2 .social-bar ul li #fb {border-color: #4862A3 !important;}
.social-sharing.style-2 .social-bar ul li #tw {border-color: #55ACEE !important;}
.social-sharing.style-2 .social-bar ul li #wa {border-color: #24CD63 !important;}
.social-sharing.style-2 .social-bar ul li #em {border-color: #b83b3b !important;}

.social-sharing.style-2 .social-bar ul li #fb i {color: #4862A3 !important;}
.social-sharing.style-2 .social-bar ul li #tw i {color: #55ACEE !important;}
.social-sharing.style-2 .social-bar ul li #wa i {color: #24CD63 !important;}
.social-sharing.style-2 .social-bar ul li #em i {color: #b83b3b !important;}

.social-footer {
	padding-top: 10px;
}
.social-footer ul li{
	width: 25px;
	display: inline;
	margin-left: 5px;
}
.social-footer ul li a {
	width:25px;
	height: 25px;
	font-size: 18px;
	text-align: center !important;
	border-radius: 5px;
}
@media screen and (min-width: 786px) {
	.social-bar ul li a.layout-1 i {
		position: absolute;
		top: 0;
		right: 0;
		height: 100%;
		width: 50px;
		text-align: center;
		line-height: 2.3;
		font-size: 25px;
	}
	.social-sharing.style-1 .social-bar ul li a.layout-2 {
		line-height: 1.6;
	}
	.social-sharing.style-1 .social-bar ul li a.layout-1 i {
		background: rgba(0,0,0,0.4);
	}
}
@media all and (max-width: 768px) {
	.post .entry-header h1 {
		font-size: 26px !important;
		line-height: 1.5 !important;
	}
	.post-views-box {
		font-size: 18px !important;
	}
	.comments-area {
		margin-bottom: 30px;
	}
	.comment-form-field .field {
		width: 100% !important;
	}
	.comment-form-field label {
		margin: 10px 0 !important;
		font-size: 18px !important;
	}
	.social-bar.fixed {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		margin-bottom: 0 !important;
		padding: 5px;
		background-color: #ffffff;
		z-index: 999;
		box-shadow: 0px 0px 5px #cccccc;
		height: 50px;
	}
	.social-bar ul li {
		height: 35px;
	}
	.social-bar ul li a {
		font-size: 18px;
		padding: 5px 10px;
		line-height: 30px;
    	height: 40px;
	}
	.social-bar.fixed li {
		min-width: 70px;
	}
	.social-bar.fixed li a span {
		display: none;
	}
	.single-post-main article.comment-body {
		flex-direction: column;
	}
}
/*-------------- Archive Post Styling ----------------*/
.archive-header {
	padding: 15px;
	background-color: #f0f0f0;
	border-bottom: 2px solid #000000;
	margin-bottom: 30px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
.archive-header h1 {
	margin: 0;
	font-size: 34px;
	color: #000000;
}
.archive-header .archive-info {
	font-size: 24px;
	font-family: "Lateef", sans-serif;
}
.archive-header .archive-info span {
	display: inline-block;
}
.archive-header .posts-count {
	margin: 0 5px;
}
.archive-header-controls {
    min-width: 200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}
.archive-header-controls form {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 5px;
	margin: 0;
}
.archive-header .heading-block {
	margin: 0;
}
.archive-header-controls input[type="radio"]{
	appearance: none;
    -webkit-appearance: none;
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
}
.archive-header-controls label{
	height: 40px;
	width: 40px;
	border: 2px solid #000000;
	margin: 0;
	border-radius: 5px;
	position: relative;
	color: #000000;
	transition: 0.5s;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-sizing: border-box;
}
.archive-header-controls #grid {
	margin: 0;
}
.archive-header-controls i {
	display: inline-block;
    font-size: 20px;
	line-height: 1;
}
.archive-header-controls label>span {
	position: absolute;
	left: 0;
	bottom: -20px;
	background-color: #000000;
	padding: 2px 5px;
	font-size: 8px;
	text-transform: uppercase;
	font-family: "Roboto", sans-serif;
	border-radius: 3px;
	color: #fff !important;
	width: 100%;
	text-align: center;
	display: none;
}
.archive-header-controls label:hover >span  {
	display: block;
}
.archive-header-controls input[type="radio"]:checked + label {
	background-color: #000000;
	color: #ffffff;
}
.archive-posts-container {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	margin-bottom: 10px;
	padding-top: 10px;
	clear: both;
}
.archive-post-grid {
	float: none;
	margin-bottom: 10px;
	padding: 0 5px;
	display: flex;
}
.archive-post-grid article{
	padding: 10px;
	border: 1px solid #ddd;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: all 0.5s;
	border-radius: var(--border-radius);
}
.archive-post-grid .archive-grid-inner {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	border-radius: var(--border-radius);
}
.archive-post-grid .entry-header {
	padding-top: 0 !important;
}
.archive-post-thumbnail {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	margin-bottom: 10px;
	background: #f1f1f1;
	border-radius: var(--border-radius);
}
.archive-post-thumbnail a {
	display: block;
	width: 100%;
	height: 100%;
}
.archive-post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* Older browsers without aspect-ratio: fall back to padding-top trick. */
@supports not (aspect-ratio: 1 / 1) {
	.archive-post-thumbnail { aspect-ratio: auto; padding-top: 56.25%; height: 0; }
	.archive-post-thumbnail a, .archive-post-thumbnail img { position: absolute; inset: 0; }
}
.archive-grid-heading {
	margin-top: 15px;
	font-size: 16px;
	line-height: 1.5;
}
.archive-post-list {
	direction: rtl;
	padding: 15px;
	border: 1px solid #dddddd;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	flex-direction: row-reverse;
	transition: .5s all;
	border-radius: var(--border-radius);
}
.archive-post-list:hover {
	border: 1px solid #222222;
}
/* List view: force a 60/40 split (details / thumbnail) at tablet+ regardless of the col-* classes on the markup. */
@media (min-width: 768px) {
	.archive-post-list .archive-post-details { flex: 0 0 60%; max-width: 60%; width: 60%; }
	.archive-post-list .archive-post-thumbnail { flex: 0 0 40%; max-width: 40%; width: 40%; aspect-ratio: 16 / 9; }
	.archive-post-list .archive-post-thumbnail a { display: block; width: 100%; height: 100%; }
	.archive-post-list .archive-post-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }
}
.archive-post-details .post-info span {
	font-family: "Lateef", sans-serif;
}
.archive-post-details .post-info span,  .archive-post-details .post-info span i {
	font-size: 12px !important;
}
.archive-post-details p {
	font-size: 12px !important;
}
.epaper-grid .archive-entry-content h4{
	text-align: center;
	font-family: "Roboto", serif;
	font-weight: bold;
	line-height: 1.3;
	font-size: 16px;
}
.archive-footer {
	margin-left: -10px;
	margin-right: -10px;
	margin-top: 10px;
}
.archive-post-meta {
	background: #f9f9f9;
	padding: 5px 10px;
	display: flex;
    flex-direction: row;
    align-items: center;
}
.archive-post-meta span {
	font-family: "Lateef", sans-serif;
}
.archive-post-meta span {
	font-size: 12px !important;
}
.archive-post-meta span i {
	font-size: 10px !important;
}
.epaper-grid .archive-post-meta .post-info{
	text-align: center;
}
.epaper-grid .archive-post-meta .post-info {
	text-align: center;
	width: 100%;
    height: auto;
    overflow: hidden;
}
.epaper-grid .archive-post-meta .post-info span{
	margin: 0 5px;
	display: inline-block;
	float: none !important;
}
@media (min-width: 1200px) {
  .home-grid-row .home-grid-block.col-lg-5 {
    width: 33.33333333333333333333333333333%;
  }
}
@media (min-width: 992px) {
	.home-grid-row .home-grid-block.col-md-5 {
	    width: 33.33333333333333333333333333333%;
	  }
}
@media screen and (max-width: 960px) {
	.block-post-grid {
		width: 48%;
		float: right;
		margin-right: 9px;
		margin-bottom: 15px;
	}
	.block-post-grid:nth-child(2), .block-post-grid:nth-child(4), .block-post-grid:nth-child(6) {
		margin-left: 0;
	}
	.block-post-grid:nth-child(3), .block-post-grid:nth-child(6) {
		margin-left: 10px;
	}
	.post-thumbnail img {
		width: 100%;
	}
	.columns-block ul li {
		width: 100%;
		min-height: auto;
	}
}
@media screen and (max-width: 768px) {
	.archive-main {
		padding: 0;
	}
	.archive-header {
		flex-direction: column;
	}
	.archive-list-row {
		display: flex;
		flex-direction: column-reverse;
	}
	.block-post-grid {
		width: 100%;
		float: none;
		margin: 0;
		height: auto;
		overflow: hidden;
	}
	.archive-post-meta {
		position: relative;
	}
	.post-thumbnail img {
		width: 100%;
	}
	.block-body.block-large .block-post-thumbnail {
		height: auto;
		overflow: hidden;
	}
	.columns-block ul li {
		width: 100%;
	}
	.home-grid-block .block-post-first img, .home-grid-block .block-post-smallrow img {
		height: auto !important;
		max-height: inherit;
	}
	.rating-list li {
		width: 50%;	}
	.sharing-icons ul li a {
		width: 30px;
		height: 30px;
		line-height: 32px;
		font-size: 16px;
	}
	.archive-header-controls {
		flex-direction: column;
		align-items: center;
	}
	.archive-header .heading-block {
		margin-right: 0;
	}
	.archive-header-controls form {
		display: none;
	}
	.archive-post-list {
		flex-direction: column-reverse;
		text-align: center;
	}
	.archive-post-list  > div {
		width: 100%;
		padding: 0;
		text-align: center;
	}
	.archive-post-grid {
		padding: 0;
	}
	.archive-list-heading {
		font-size: 28px;
		font-weight: bold;
		text-align: center;
	}
	.archive-post-details .post-info {
		justify-content: center;
	}
}

.block-post-grid .post-thumbnail, .block-post-grid .post-title {
	width: 100%;
}
.block-post-grid .post-thumbnail img {
	width: 100%;
}
.below-post-ad, .above-post-ad {
	margin: 5px 0;
	padding:0px;
}
.related-posts-container .post-title h5 {
	text-align: center;
}
.posts-404 {
	margin-top: 50px;
}
.page-content-404 .icon-404 {
	color: #ddd;
	font-size: 300px;
	line-height: 1;
}
.content-search .entry-footer {
	margin-top: 10px;
}
.content-search article {
	margin-bottom: 20px;
	border-bottom: 1px dashed #ccc;
	height: auto;
	overflow: hidden;
	padding-bottom: 10px;
}
#incSize, #dcrSize {
	color: #767676 !important;
	display: inline-block;
}
#incSize:hover, #dcrSize:hover {
	color: #a86c00 !important;
}
.post-header-image img {
	width: 100%;
}
/*
* Featured Grid CSS
*/
.featured-grid-layout-1 {
	display: grid;
	grid-template-columns: 50% 25% 25%;
	column-gap: 0px;
	height: auto;
	min-height: 500px;
	align-items: center;
	background-color: transparent;
}
.featured-grid-layout-2 {
	display: grid;
	grid-template-columns: 60% 20% 20%;
	column-gap: 0px;
	height: auto;
	min-height: 500px;
	align-items: center;
	background-color: transparent;
}
.featured-grid-layout-3 {
	display: grid;
	grid-template-columns: 25% 25% 25% 25%;
	column-gap: 0px;
	height: auto;
	min-height: 500px;
	align-items: center;
	background-color: transparent;
}
.featured-grid-layout-4 {
	display: grid;
	grid-template-columns: 25% 25% 25% 25%;
	column-gap: 0px;
	height: auto;
	align-items: center;
	background-color: transparent;
	clear: both;
}
.featured-grid-layout-5 {
	display: grid;
	grid-template-columns: 25% 25% 25% 25%;
	column-gap: 0px;
	height: auto;
	align-items: center;
	background-color: transparent;
	clear: both;
}
.featured-grid-item {
	height: 250px;
	padding: 5px;
}
.featured-grid-layout-1 .featured-grid-item.grid-item-1, .featured-grid-layout-2 .featured-grid-item.grid-item-1, .featured-grid-layout-3 .featured-grid-item.grid-item-1 {
	grid-column-start: 1;
	grid-column-end: 2;
	grid-row-start: 1;
	grid-row-end: 4;
	height: 100%;
}
.featured-grid-layout-2 .featured-grid-item.grid-item-2 {
	grid-column-start: 2;
	grid-column-end: 4;
}
.featured-grid-layout-3 .featured-grid-item.grid-item-2 {
	grid-row-start: 1;
	grid-row-end: 4;
	height: 100%;
}
.featured-grid-layout-4 .featured-grid-item.grid-item-1 {
	grid-column-start: 1;
	grid-column-end: 4;
	grid-row-start: 1;
	grid-row-end: 3;
	height: 100%;
}

.grid-item-inner {
	position: relative;
	width: 100%;
	height: 100%;
	padding: 10px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.featured-grid-item .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 5;
	transition: 0.5s all;
}
.featured-grid-item .grid-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 20;
	display: block;
}
.featured-grid-item:hover .overlay {
	background: rgba(0, 0, 0, 0.2);
}
.featured-grid-item .featured-meta {
	width: 100%;
	height: 100%;
	padding: 5px;
	position: relative;
	z-index: 10;
	display: flex;
    align-items: flex-end;
}
.featured-grid-layout-1 .featured-grid-item.grid-item-1 .featured-meta, .featured-grid-layout-2 .featured-grid-item.grid-item-1 .featured-meta {
	padding: 20px;
}
.featured-grid-item .featured-meta-inner {
	width: 100%;
}
.featured-grid-item .featured-meta.meta-overlay .featured-meta-inner {
	width: auto;
	position: absolute;
    right: -10px;
    bottom: -10px;
    width: calc(100% + 20px);
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.92) 0%,
		rgba(0, 0, 0, 0.75) 45%,
		rgba(0, 0, 0, 0.35) 80%,
		rgba(0, 0, 0, 0) 100%
	);
	padding: 15px;
	padding-top: 25px;
}
.featured-grid-item.grid-item-1 .featured-meta.meta-overlay .featured-meta-inner {
	padding-top: 70px;
	padding-right: 25px;
}
.featured-grid-item .featured-meta .grid-post-title {
	width: 100%;
	display: block;
	font-size: 18px;
	margin-bottom: 10px;
	font-weight: 500;
	line-height: 1;
}
.featured-grid-item .featured-meta .grid-post-title a {
	color: #ffffff !important;
}
.featured-grid-item .featured-meta .post-info {
	display: flex;
	flex-direction: row;
	align-items: center;
}
.featured-grid-layout-1 .featured-grid-item.grid-item-1 .featured-meta h3, .featured-grid-layout-2 .featured-grid-item.grid-item-1 .featured-meta h3, .featured-grid-layout-4 .featured-grid-item.grid-item-1 .featured-meta h3 {
	margin-bottom: 10px;
	margin-top: 15px;
}
.featured-grid-layout-1 .featured-grid-item.grid-item-1 .featured-meta h3 a, .featured-grid-layout-2 .featured-grid-item.grid-item-1 .featured-meta h3 a, .featured-grid-layout-4 .featured-grid-item.grid-item-1 .featured-meta h3 a {
	font-weight: inherit;
	font-size: 2em;
}
.featured-grid-layout-2 .featured-grid-item.grid-item-2 .featured-meta h3 {
	font-size: 1.6em;
	font-weight: bold;
}
.featured-grid-layout-3 .featured-grid-item.grid-item-1 .featured-meta h3, .featured-grid-layout-3 .featured-grid-item.grid-item-2 .featured-meta h3 {
	font-size: 1.5em;
	font-weight: bold;
	margin-bottom: 10px;
}
.featured-grid-item .featured-meta h3 a{
	text-decoration: none;
	text-shadow: 0px 0px 5px #000000;
}
.featured-posts .featured-meta span {
	display: block;
	width: 100%;
}
.featured-grid-item .featured-meta-inner .post-info span, .featured-grid-item .featured-meta-inner .post-info span a, .featured-grid-item .featured-meta-inner .post-meta.post-comments {
	font-size: 14px !important;
	color: #dddddd !important;
	font-family: "Lateef", serif;
}
.post-info-xs span, .post-info-xs span i, .featured-grid-item .featured-meta .post-info i {
	font-size: 14px !important;
}
.featured-grid-layout-1 .featured-grid-item.grid-item-1 .featured-meta-inner span,
.featured-grid-layout-1 .featured-grid-item.grid-item-1 .featured-meta-inner > span a,
.featured-grid-layout-2 .featured-grid-item.grid-item-1 .featured-meta-inner span,
.featured-grid-layout-2 .featured-grid-item.grid-item-1 .featured-meta-inner > span a,
.featured-grid-layout-4 .featured-grid-item.grid-item-1 .featured-meta-inner span,
.featured-grid-layout-4 .featured-grid-item.grid-item-1 .featured-meta-inner > span a,
.featured-grid-layout-4 .featured-grid-item.grid-item-1 .featured-meta-inner .post-meta.post-comments i,
.featured-grid-layout-1 .featured-grid-item.grid-item-1 .featured-meta-inner .post-meta.post-comments i,
.featured-grid-layout-2 .featured-grid-item.grid-item-1 .featured-meta-inner .post-meta.post-comments i {
	font-size: 16px;
}
.featured-posts .featured-meta span .posted-on, .featured-posts .featured-meta span .post-comments {
	display: inline-block;
	width: auto;
}
.featured-grid-item .grid-post-term {
	display: inline-block;
	margin-bottom: 10px;
}
.featured-grid-item .grid-post-term span {
	display: inline-block;
	padding: 5px 10px;
	background-color: #f6ce2b;
	height: 100%;
	display: inline-block;
}
.featured-grid-item .grid-post-term span.term-icon {
	background-color: #000000;
	color: #ffffff;
	position: relative;
	font-size: 16px;
}
.featured-grid-item .grid-post-term span.term-name {
	color: #000000;
	font-size: 16px !important;
	text-transform: uppercase;
	font-weight: bold;
	font-family: "Lateef", serif;
	text-shadow: none !important;
}
.featured-grid-item.small-grid .grid-post-term span.term-icon, .featured-grid-item.small-grid .grid-post-term span.term-name {
	font-size: 10px;
}
@media all and (max-width: 575px) { 
	.featured-grid-item {
		width: 100% !important;
		height: 250px !important;
		grid-column-start: 1 !important;
		grid-column-end: 5 !important;
		grid-row-start:  auto !important;
		grid-row-end: auto !important;
	}
	.featured-grid-layout-4 .featured-grid-item.grid-item-1 {
		grid-column-start: 1;
		grid-column-end: 5;
	}
	.featured-grid-layout-1 .featured-grid-item.grid-item-1 .featured-meta h3 a, .featured-grid-layout-2 .featured-grid-item.grid-item-1 .featured-meta h3 a, .featured-grid-layout-4 .featured-grid-item.grid-item-1 .featured-meta h3 a {
		font-weight: bold;
		font-size: 1.2em;
	}
	.featured-grid-item .featured-meta-inner span, .featured-grid-item .featured-meta-inner span a, .featured-grid-item.grid-item-1 .featured-meta-inner span, .featured-grid-item .featured-meta-inner .post-meta.post-comments i, .featured-grid-item.grid-item-1 .featured-meta-inner span a {
		font-size: 12px !important;
	}
	.featured-grid-item .featured-meta h3 {
		font-weight: bold !important;
		margin-bottom: 10px !important;
	}
	.featured-grid-layout-1 .featured-grid-item.grid-item-1 .featured-meta-inner span, .featured-grid-layout-1 .featured-grid-item.grid-item-1 .featured-meta-inner > span a, .featured-grid-layout-2 .featured-grid-item.grid-item-1 .featured-meta-inner span, .featured-grid-layout-2 .featured-grid-item.grid-item-1 .featured-meta-inner > span a, .featured-grid-layout-4 .featured-grid-item.grid-item-1 .featured-meta-inner span, .featured-grid-layout-4 .featured-grid-item.grid-item-1 .featured-meta-inner > span a, .featured-grid-layout-4 .featured-grid-item.grid-item-1 .featured-meta-inner .post-meta.post-comments i, .featured-grid-layout-1 .featured-grid-item.grid-item-1 .featured-meta-inner .post-meta.post-comments i, .featured-grid-layout-2 .featured-grid-item.grid-item-1 .featured-meta-inner .post-meta.post-comments i {
		font-size: 12px !important;
	}
}
@media all and (max-width: 768px) {
	.featured-grid-layout-1, .featured-grid-layout-2, .featured-grid-layout-3, .featured-grid-layout-4, .featured-grid-layout-5 {
		display: grid;
		grid-template-columns: 50% 50%;
		column-gap: 0px;
		height: auto;
		align-items: center;
		background-color: transparent;
		clear: both;
	}
	.featured-grid-layout-1 .featured-grid-item.grid-item-1, .featured-grid-layout-2 .featured-grid-item.grid-item-1, .featured-grid-layout-2 .featured-grid-item.grid-item-2, .featured-grid-layout-4 .featured-grid-item.grid-item-1 {
		grid-column-start: 1;
		grid-column-end: 3;
		height: 350px;
	}
	.featured-grid-layout-3 .featured-grid-item.grid-item-1, .featured-grid-layout-3 .featured-grid-item.grid-item-2 {
		grid-column-start: 1;
		grid-column-end: 3;
		grid-row-start: auto;
		grid-row-end: auto;
		height: 350px;
	}
}
/*--------------------------------------------------------------
## Carousel
--------------------------------------------------------------*/
.carousel-row-2 {
	margin: 80px 0 30px 0;
	position: relative;
}
.carousel-container {
	position: relative;
	width: 100%;
	height: 225px;
	overflow: hidden;
}
.carousel-layout-2 {
	height: 320px;
	overflow: visible;
}
.carousel-row-2 .carousel-container .carousel-content {
	background-color: #f0f0f0;
	padding: 20px 10px;
}
.carousel-thumb {
	text-align: center;
	position: relative;
	width: 100%;
	clear: both;
	background-color: #000000;
	border-radius: var(--border-radius);
}
.carousel-thumb .views-counter {
	position: absolute;
	right: 0;
	bottom: 0;
	font-family: "Amiri", serif;
	padding: 5px 10px;
	background-color: rgba(0, 0, 0, 0.7);
	color: #ffffff;
	font-size: 14px;
}
.carousel-title {
	padding: 10px 15px;
	width: 100%;
	clear: both;
}
.carousel-title h5 {
	font-weight: bold;
	font-size: 16px;
	line-height: 32px;
	text-align: center;
}
.carousel-thumb .overlay {
	width: 60px;
	height: 60px;
	position: absolute;
	top: 50%;
	margin-top: -30px;
	left: 50%;
	margin-left: -30px;
	color: #fff;
	font-size: 60px;
	line-height: 1;
	text-shadow: 0px 1px 3px #333;
}
.carousel-thumb img {
	opacity: 0.6;
	transition: .5s all;
}
.carousel-thumb:hover img {
	opacity: 1;
}
.carousel-layout-2 .slick-prev, .carousel-layout-2 .slick-next, .carousel-layout-2 .slick-prev:active, .carousel-layout-2 .slick-next:active, .carousel-layout-2 .slick-prev:focus, .carousel-layout-2 .slick-next:focus {
	border-radius: 0;
	-moz-box-shadow:    none;
   -webkit-box-shadow: none;
   box-shadow:         none;
   border: none;
}
.carousel-layout-2 .slick-prev {
	right: 0;
	top: -35px;
	bottom: auto;
}
.carousel-layout-2 .slick-next {
	left: auto;
	right: 65px;
	top: -35px;
}
.carousel-layout-2 .slick-prev:hover, .carousel-layout-2 .slick-next:hover {
	background: var(--accent-color);
	color: #333;
	border: 2px solid rgba(0,0,0,0.2);
}
.carousel-more-btn {
	position: absolute;
	left: 0;
	top: -50px;
}
.carousel-more-btn a {
	font-family: "Lateef", serif;
	padding: 10px 20px 20px;
	background-color: var(--secondary-color);
	color: #ffffff;
	font-size: 24px;
	display: inline-block;
	font-weight: normal !important;
	border-radius: var(--border-radius);
	line-height: 1.1;
}
.carousel-more-btn a i {
	position: relative;
	font-size: 20px;
	top: 3px;
}
/*--------------------------------------------------------------
## E-Paper
--------------------------------------------------------------*/
.epaper-container {
	position: relative;
	padding-top: 20px;
}
.epaper-control-row {
	font-weight: bold;
	background-color: #333333;
	color: #fff;
	display: flex;
	width: 100%;
	align-items: center;
	padding: 5px;
	box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.3);
	position: relative;
	z-index: 99;
	border-radius: var(--border-radius);
	justify-content: flex-start;
}
.epaper-control-row span {
	display: inline-block;
}
.epaper-control-row .epaper-buttons {
	text-align: right;
	position: relative;
	margin: 0 10px;
}
.epaper-control-row .epaper-buttons > a {
	color: #ffffff;
	font-family: "nafeesnastaleeq", serif;
	font-weight: normal;
	font-size: 20px;
	padding: 15px 30px;
	background-color: #000000;
	line-height: 1;
	display: inline-block;
	width: 100%;
	text-align: center;
	border-radius: var(--border-radius);
}
.archive-controls .epaper-buttons {
	max-width: 180px;
}
.archive-controls .epaper-buttons > a {
	font-family: "Amiri", serif;
	padding: 15px;
}
.epaper-control-row .epaper-buttons a i {
	margin-left: 10px;
}
.epaper-control-row .epaper-buttons #toggleArchive {
	position: relative;
}
.epaper-control-row .epaper-buttons.dl-btn a {
	background-color: var(--accent-color);
	color: #000000;
}
.epaper-control-row .epaper-buttons.dl-btn span {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
}
.epaper-nav-links {
	text-align: left;
	margin-right: auto;
}
.epaper-nav-links a {
	color: #ffffff;
	font-weight: normal;
	padding: 5px;
	font-size: 30px;
	display: inline-block;
	width: 50px;
	text-align: center;
	background-color: #000000;
	margin: 0 5px;
	border-radius: var(--border-radius);
	line-height: 1;
}
.epaper-nav-links a i {
	position: relative;
	top: 3px;
}
.epaper-nav-links a:hover {
	background-color: #da9a06;
	color: #1a1a1a;
}
button.epaper_nav_thumb {
	background: none;
	padding: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
}
button.epaper_nav_thumb:focus-visible {
	outline: 3px solid var(--accent-color);
	outline-offset: 2px;
}
.epaper-control-row .posted-on {
	padding: 12px 10px;
	line-height: 1 !important;
	font-family: "nafeesnastaleeq", serif;
	background-color: #ffffff;
	max-width: 200px;
	margin-left: 10px;
	margin-right: 5px;
	text-align: center;
	border-radius: var(--border-radius);
}
.epaper-control-row .posted-on i {
	margin-left: 10px;
}
.epaper-control-row .posted-on a {
	color: #333333 !important;
	font-weight: normal;
	font-size: 24px !important;
	display: inline-block;
	width: 100%;
	height: 100%;
	position: relative;
	top: -2px;
}
.epaper-archives-list, .epaper-cities-list {
	list-style: none;
	margin: 0;
	padding: 10px;
	position: absolute;
	top: 100%;
	right: 0;
	width: auto;
	max-width: 200px;
	background-color: #f0f0f0;
	box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
	z-index: 0;
	display: none;
}
.epaper-archives-list li, .epaper-cities-list li {
	width: 100%;
	padding: 5px;
}
.epaper-archives-list li, .epaper-archives-list li a, .epaper-cities-list li, .epaper-cities-list li a {
	color: #333333;
	font-family: "Roboto", serif !important;
	display: inline-block;
	direction: ltr;
	font-size: 14px;
}
.epaper-archives-list li a, .epaper-cities-list li a {
	padding: 0;
	background-color: transparent;
}
.epaper-search-box {
	position: relative;
	padding: 0 10px;
	width: 50%;
	margin-right: auto;
}
.epaper-ajax-search {
	width: 100%;
	padding: 10px !important;
	font-size: 16px !important;
	font-family: "Roboto", serif;
	direction: ltr;
	border-radius: var(--border-radius);
}
.epaper-search-box #searchResults {
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #f0f0f0;
	width: calc(100% - 20px);
	padding: 15px;
	margin-left: 10px;
	display: none;
}
.epaper-search-box #searchResults a {
	color: #333333;
	display: inline-block;
	width: 100%;
	padding: 5px;
	margin-bottom: 10px;
	font-size: 16px !important;
}
.epaper-search-box #searchResults a, .epaper-search-box #searchResults h3 {
	font-family: "Roboto", serif;
	direction: ltr;
	text-align: left;
}
.epaper-preview {
	height: auto;
	overflow: hidden;
	min-height: 600px;
	position: relative;
}
#epaperImgLoading {
	width: 100%;
	height: 100%;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.8);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 999;
	display: none;
}
.epaper-thumbs-nav {
	text-align: right;
	margin-bottom: 20px;
	padding: 10px 10px 5px 10px;
	background-color: #f0f0f0;
	transition: 0.5s all;
}
.epaper-thumbs-nav.sticky {
	position: fixed;
	background-color: rgba(0, 0, 0, 0.8);
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
}
.epaper-thumbs-nav .epaper_nav_thumb {
	display: inline-block;
	width: 100px;
	margin: 0 5px;
	border: 5px solid #ffffff;
	position: relative;
}
.epaper-thumbs-nav .epaper_nav_thumb.active {
	border: 5px solid var(--accent-color);
}
.epaper-thumbs-nav .epaper_nav_thumb .arrow-bottom{
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 14px 10px 0 10px;
	border-color: var(--accent-color) transparent transparent transparent;
	position: absolute;
	bottom: -19px;
	left: 50%;
	margin-left: -7px;
	display: none;
	z-index: 99;
}
.epaper-thumbs-nav .page-count {
	display: inline-block;
	padding: 5px;
	background-color: rgba(0, 0, 0, 0.8);
	text-transform: uppercase;
	font-family: "Roboto", serif;
	color: #ffffff;
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
	text-align: center;
	font-size: 14px;
}
.epaper-thumbs-nav .epaper_nav_thumb.active .arrow-bottom {
	display: inline-block;
}
.epaper-preview img {
	width: 100%;
}
.epaper-preview {
	position: relative;
}
  
.img-magnifier-glass {
	position: absolute;
	border: 3px solid #000;
	border-radius: 5px;
	cursor: none;
	/*Set the size of the magnifier glass:*/
	width: 500px;
	height: 200px;
}
.columns-block .block-body {
	padding-top: 10px;
}
.column-block-posts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}
@media all and (max-width: 768px) {
	.epaper-control-row {
		width: 100%;
		height: auto;
		flex-direction: column;
		gap: 10px;
	}
	.epaper-control-row span {
		display: block !important;
		margin: 0 !important;
		width: 100%;
		clear: both;
	}
	.epaper-control-row .epaper-buttons > a span {
		display: inline-block !important;
		padding-right: 10px;
		width: auto !important;
	}
	.epaper-control-row .posted-on {
		max-width: 100%;
		margin: 0;
	}
	.epaper-search-box {
		width: 100%;
	}
	.epaper-thumbs-nav .epaper_nav_thumb {
		width: 95px;
		margin: 5px;
	}
	.epaper-archives-list, .epaper-cities-list {
		z-index: 99;
		width: 100%;
		max-width: 100%;
	}
	.archive-controls .epaper-buttons {
		max-width: 100%;
		width: 100%;
		margin-bottom: 10px !important;
	}
	.columns-block {
		margin-bottom: 15px;
	}
	.column-block-posts {
		grid-template-columns: 1fr;
	}
	.column-block-posts .column-post-title h5, .upaper-post-title h5 {
		font-size: 20px;
	}
}
/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}
.classic-block {
	border-left: 1px solid #f0f0f0;
}
.banner-row {
	padding: 5px;
	margin: 10px 0;
}
@media screen and (max-width: 768px) {
	.classic-block {
		border: none;
		padding-left: 0;
	}
}
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comments-area {
	padding:10px;
	background:#f8f8f8;
	clear:both;
	margin-top:20px;
	border-radius:5px;
	border:2px solid #ccc;
	display: flex;
	flex-direction: column;
}
.comments-area .reply {
	font-size: 14px;
	font-family: "Roboto", sans-serif;
	position: absolute;
	left: 10px;
	bottom: 10px;
}
.comments-title {
	font-family: "Lateef", serif;
	font-weight: 700;
	margin: 15px 0 25px 0;
}
.comment-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.comment-list .children {
	margin: 0;
	padding-right: 25px;
	list-style: none;
}
.comment-navigation {
	margin: 20px 0;
}
.comment-navigation .nav-links {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.comment-navigation .nav-links a {
	font-family: "Lateef", sans-serif;
	padding: 5px 20px 7px 20px;
	background-color: #101010;
	color: var(--text-white);
	border-radius: var(--border-radius);
}
.comment-navigation .nav-links .nav-next {
	text-align: left;
}
.post-navigation {
    clear: both;
    height: auto;
    overflow: hidden;
}
.comment-content a {
	word-wrap: break-word;
}
.comment-author {
	margin: 0;
}
.comment-author img {
	border-radius: 50%;
}
.comment-author b {
	display: block;
	margin-top: 10px;
}
.comment-author .says {
	display: none;
}
.comment-content {
	padding: 10px;
	margin-top: 0;
	width: calc( 100% - 170px);
	float: right;
}
.comment-content p {
	margin-bottom: 0;
}
.bypostauthor {
	display: block;
}
.comment-reply-title {
	padding-top: 15px;
	display: none !important;
}
.comment-body {
	padding: 15px;
	border: 1px solid #dddddd;
	border-radius: 5px;
	background-color: #ffffff;
	position: relative;
	height: auto;
	overflow: hidden;
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}
.comment-form-field {
	margin:5px 0;
}
.comment-form-field label {
	font-size:22px;
	font-weight: normal;
	width:100%;
	display: block;
	font-family: "Lateef", sans-serif;
}
.comment-form-cookies-consent label {
	margin-top: 20px;
	font-size: 12px;
	margin-right: 5px;
}
.comment-form-field .field {
	padding:10px;
	border:2px solid #f0f0f0;
	border-radius:5px;
	font-size: 18px!important;
	font-family: "nafeesnastaleeq" !important;
	width: 100%;
}
.comment-form-field #email {
	font-family: Arial, Helvetica, sans-serif !important;
}
.comment-form-field .field:focus {
	border:2px solid #d00000;
	outline:none;
}
.comment-meta {
    font-size: 16px;
    padding: 20px 10px;
    background: #f0f0f0;
    border-radius: 10px;
    font-family: "Lateef", serrif;
    width: 150px;
    text-align: center;
    float: right;
    margin-left: 20px;
    margin-top: 0;
}
.comment-metadata {
	font-size: 12px;
}
.email-note {
	padding-top:15px;
	padding-bottom:5px;
	color:#d00000;
	font-size: 16px;
}
.form-submit .submit {
	padding:10px 20px;
	font-size:22px;
}
.logged-in-as, .logged-in-as a {
	direction: ltr;
	font-family: "Roboto", sans-serif !important;
	font-size: 14px;
}
.comment-control {
	width: 100%;
	margin-bottom: 10px;
}
#comment-toggle {
	padding: 10px 5px;
	font-size: 20px;
	font-family: "Roboto", sans-serif;
	background: #f0f0f0;
	border-radius: 5px;
	border:1px solid #ccc;
	display: inline-block;
	width: 100%;
	margin-top: 15px;
	text-align: center;
}
.comment-reply-link {
	padding: 2px 10px;
	background: #f0f0f0;
	font-size: 16px;
	border:1px solid #ccc;
	font-family: "Lateef", sans-serif;
	border-radius: 5px;
}
#comment-box {
	width: 100%;
	display: none;
}
@media all and (max-width: 768px) {
	.comments-title {
		font-size: 22px;
		text-align: center;
		line-height: 1.5;
	}
	.comment-body {
		flex-direction: column;
	}
	.comment-meta, .comment-content, .comments-area .reply {
		width: 100%;
		text-align: center;
		margin: 0;
	}
	.comments-area .reply {
		position: relative;
		margin-top: 15px;
	}
	.comment-list .children {
		padding-left: 15px;
	}
}
/*--------------------------------------------------------------
# Infinite scroll & Pagination
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}
.pagination-container {
	width: 100%;
	text-align: center;
	padding: 15px 0;
}
.archive-list-row .pagination-container {
	text-align: right;
}
.pagination {
	padding: 10px;
	border-radius: 10px;
	text-align: center;
	display: inline-block;
	margin: 0;
}
.pagination ul {
	margin:0;
	padding: 0;
	list-style: none;
}
.pagination ul li {
	display: inline;
	margin-right: 5px;
}
.pagination ul li a, .pagination ul li .current {
	display: inline-block;
	padding: 3px;
	width:35px;
	height: 35px;
	text-align: center;
	font-size: 18px;
	color: #000000;
	background: var(--body-bg);
	border-radius: 5px;
	font-family: "Roboto", sans-serif;
	font-weight: bold;
	line-height: 1.6 ;
}
.pagination ul li .current, .pagination ul li a:hover {
	background: #000000;
	color: #ffffff;
}
/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}
.post-header-media { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; }
.post-header-media iframe, .post-header-media object, .post-header-media embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
	margin-top: 50px;
	padding: 0;
	background: var(--secondary-color);
	color: #f0f0f0;
	border-top:2px solid #000000;
	border-radius: 6px;
	overflow: hidden;
}
.footer-copyrights-row {
	background-color: var(--primary-color);
	margin-left: 0;
	margin-right: 0;
}
.footer_widgets {
	padding-bottom: 10px;
	height: auto;
	overflow: hidden;
}
.footer-widget-col {
	border-right: 1px solid #1c1c1c;
	padding-top: 10px;
}
.footer-widget-col:first-child {
	border-left: none;
}
.footer-widget-col:last-child {
	border-right: none;
}
#footer a {
	color: #ffffff;
}
#footer .widget-title {
	color: #ffffff;
	padding-bottom: 10px;
	border-bottom: 2px solid #1c1c1c;
	margin-bottom: 20px;
	padding-top: 5px;
}
.footer-widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-widget ul li {
	margin-bottom: 15px;
	font-family: "Lateef", sans-serif;
	font-size: 20px;
}
.footer-widget ul li a {
	font-weight: normal;
}
.footer-widget .tagcloud a {
	margin: 5px;
	padding: 5px;
}
.footer-copyrights {
	width: 100%;
	text-align: center;
	padding:5px;
	font-family: "Roboto", sans-serif !important;
	font-size: 12px;
}
.footer-copyrights p {
	font-size:12px;
	margin-bottom: 0;
	font-family: "Roboto", sans-serif !important;
	color: #999999;
	text-transform: capitalize;
	text-align: center;
}
.footer-copyrights a {
	text-transform: uppercase;
	font-weight: bold;
}
#scrollup{
    width: 50px;
    height: 45px;
    position: fixed;
    bottom: 20px;
    left: 10px;
    z-index: 999999999999;
    background: rgba(0,0,0,0.8);
    color: #fff;
    text-align: center;
    font-size: 25px;
	line-height: 45px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}
@media (min-width: 1280px) {
	.home-blocks.col-lg-8, .archive-main.col-lg-8 {
		width:56%;
	}
	.main-sidebar.col-lg-5 {
		width: 27.25%;
	}
	.mini-sidebar.col-lg-3 {
		width:16.75%;
	}
	.post-view.col-lg-11{
		width:72.75%;
	}
	.mini-sidebar-single.col-lg-3 {
		width: 15.75%;
	}
	.pot-view-content.col-lg-13 {
		width: 84.25%;
		padding-right: 0;
	}
	.page-view.col-lg-11 {
		width: 72.75%;
	}
}
@media all and (max-width: 768px) {
	.footer-widget-col {
		border: none;
		margin-bottom: 20px;
	}
	.single #scrollup {
		bottom: 55px;
	}
}
/*----------------------------------
// English Post Styling
----------------------------------*/
.english-post-view {
    direction: ltr !important;
}
.english-post-view article {
	padding: 15px;
}
.english-post-view .entry-content p {
    direction: ltr !important;
    font-family: "Roboto", serif !important;
    font-size: 15px;
    font-weight: normal !important;
    line-height: 1.4 !important;
    text-shadow: none !important;
	text-align: left !important;
}
.english-post-view .entry-meta span {
    direction: ltr !important;
    font-family: "Roboto", serif !important;
    font-weight: normal !important;
    line-height: 1.3 !important;
    text-shadow: none !important;
    display: inline-block;
}
.english-post-view .entry-header h1, .english-post-view .entry-content h2, .english-post-view .entry-content h3, .english-post-view .entry-content h4, .english-post-view .entry-content h5, .english-post-view .entry-content h6 {
    direction: ltr !important;
    font-family: "Poppins", serif !important;
    line-height: 1.2 !important;
    text-align: left !important;
    font-weight: bold;
	margin-bottom: 15px !important;
}

/*----------------------------------
// Footer: sortable rows + 5-col widgets layout
----------------------------------*/
/* Above Footer Row */
.footer-row-above {
	background-color: #171717;
	color: #cccccc;
	border-top: 1px solid #2a2a2a;
	border-bottom: 1px solid #2a2a2a;
	padding: 12px 20px;
	width: 100%;
}
.footer-row-above-inner {
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	max-width: 100%;
}
.footer-row-above .header-socil-icons ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 6px;
}
.footer-row-above .header-socil-icons ul li {
	margin: 0;
	border-radius: var(--border-radius) !important;
	overflow: hidden;
	background-color: #000000;
}
.footer-row-above .header-socil-icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	font-size: 16px;
	color: #ffffff;
	transition: color 0.2s ease;
	
}
.footer-row-above .footer-above-text {
	font-size: 24px;
	line-height: 1.4;
	font-family: "Lateef", serif;
}
.footer-row-above .footer-above-text a {
	color: inherit;
	text-decoration: underline;
}

/* Footer Widgets Row â€” flex-based grid */
.footer_widgets {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	padding: 40px 5px 20px;
	gap: 0;
	direction: ltr;
}
.footer_widgets .footer-widget-col {
	padding: 10px 25px;
	box-sizing: border-box;
	order: 0;
}
/* Subtle column separators ONLY between the four link columns, not flanking the subscriber card.
   DOM/visual order in the LTR flex line: [subscriber, footer-4, footer-3, footer-2, footer-1].
   Border-left on every link col EXCEPT the first one (footer-4, which sits right after the subscriber card). */
.footer-widgets-cols-5 .footer-widget-col:not(.footer-widget-col-subscriber) {
	border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-widgets-cols-5 .footer-widget-col-subscriber + .footer-widget-col {
	border-left: none;
}
.footer-widgets-cols-4 .footer-widget-col + .footer-widget-col {
	border-left: 1px solid rgba(255, 255, 255, 0.06);
}

/* 5-column layout: subscriber wide + 4 narrow.
   DOM order is [subscriber, footer-4, footer-3, footer-2, footer-1]; with the parent's
   direction:ltr and no order override, the subscriber renders leftmost and the link
   columns keep their existing visual order. */
.footer-widgets-cols-5 .footer-widget-col {
	flex: 0 0 17%;
	max-width: 17%;
}
.footer-widgets-cols-5 .footer-widget-col-subscriber {
	flex: 0 0 32%;
	max-width: 32%;
	border-radius: 4px;
	align-self: flex-start;
}
/* 4-column layout: subscriber hidden, all four widgets expand equally */
.footer-widgets-cols-4 .footer-widget-col {
	flex: 0 0 25%;
	max-width: 25%;
}

.footer-widgets-align-left   .footer-widget { text-align: left; }
.footer-widgets-align-center .footer-widget { text-align: center; }
.footer-widgets-align-right  .footer-widget { text-align: right; }

@media (max-width: 991px) {
	.footer-widgets-cols-5 .footer-widget-col,
	.footer-widgets-cols-4 .footer-widget-col {
		flex: 0 0 50%;
		max-width: 50%;
		border-right: none;
		border-left: none;
		order: initial;
	}
	/* On tablet the subscriber card spans the full row and sits above the
	 * 2x2 grid of link columns. */
	.footer-widgets-cols-5 .footer-widget-col-subscriber {
		flex: 0 0 100%;
		max-width: 100%;
		border-right: none;
		border-left: none;
		order: initial;
		margin-bottom: 20px;
	}
	/* Centre the above-footer row contents on tablet â€” social icons stack
	 * above the text and both sit in the middle instead of pinned to opposite
	 * edges. */
	.footer-row-above-inner {
		justify-content: center;
		text-align: center;
	}
	.footer-row-above .header-socil-icons ul {
		justify-content: center;
	}
}
@media (max-width: 600px) {
	.footer-widgets-cols-5 .footer-widget-col,
	.footer-widgets-cols-5 .footer-widget-col-subscriber,
	.footer-widgets-cols-4 .footer-widget-col {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.footer-above-text {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}
	.footer-above-text img {
		max-width: 60px;
	}
}

/*--------------------------------------------------------------
# Author Profile Taxonomy Archive
--------------------------------------------------------------*/
.author-archive-wrap { max-width: 100%; margin: 0 auto; padding: 30px 20px; direction: rtl; }
.author-archive-header { display: flex; flex-direction: row; align-items: center; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid #e5e7e6; margin-bottom: 35px; }
.author-archive-header .author-image { flex: 0 0 200px; width: 200px; height: 200px; overflow: hidden; border-radius: 6px; background: #f1f1f1; }
.author-archive-header .author-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-archive-header .author-info { flex: 1 1 auto; text-align: right; }
.author-archive-header .author-name { font-size: 42px; line-height: 1.2; color: #000000; margin: 0 0 14px; font-weight: 600; }
.author-archive-header .author-bio { font-size: 15px; line-height: 1.9; color: #444; margin: 0 0 14px; }
.author-archive-header .author-social { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; }
.author-archive-header .author-social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-color); color: #000000; text-decoration: none; font-size: 15px; transition: background .2s; }
.author-archive-header .author-social a:hover { background: #000000; color: #ffffff;}

.author-archive-count { font-size: 14px; color: #666; margin: 0 0 20px; text-align: right; }

.author-posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.author-post-card { background: var(--background); border-radius: 6px; padding: 25px 28px; transition: box-shadow .2s, transform .2s; border: 1px solid var(--border-medium)}
.author-post-card:hover { border-color: var(--accent-color);}
.author-post-card .post-title { margin: 0 0 14px; font-size: 22px; line-height: 1.4; font-weight: 700; }
.author-post-card .post-title a { color: #1f3a3b; text-decoration: none; }
.author-post-card .post-title a:hover { color: #000000; }
.author-post-card .post-divider { height: 1px; background: rgba(0, 0, 0, .08); margin: 0 0 14px; }
.author-post-card .post-excerpt { font-size: 15px; line-height: 1.9; color: #3a4a4a; margin: 0; }
.author-post-card .post-excerpt .read-more-dots { color: #2a8a8c; letter-spacing: 1px; }

.author-pagination { margin-top: 40px; text-align: center; }

/* Single-post variant: shown in place of the featured image when an author_profile term is assigned. */
.post-header-author { direction: rtl; margin: 0 0 25px; }
.post-header-author .author-archive-header { padding-bottom: 22px; margin-bottom: 0; }
.post-header-author .author-archive-header + .author-archive-header { margin-top: 18px; border-top: 1px solid #e5e7e6; padding-top: 22px; }
.post-header-author .author-archive-header--single .author-image { flex: 0 0 160px; width: 160px; height: 160px; }
.post-header-author .author-archive-header--single .author-name { font-size: 32px; }
.post-header-author .author-archive-header--single .author-name a { color: inherit; text-decoration: none; }
.post-header-author .author-archive-header--single .author-name a:hover { color: var(--accent-color, #1f6b6d); }
.post-header-author .post-views-box { display: inline-block; margin-top: 10px; }
.single-post-main .author-bio p {
	margin: 0;
}
.single-post-main .author-social {
	display: none;
}
@media (max-width: 768px) {
	.author-archive-header { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
	.author-archive-header .author-info { text-align: center; }
	.author-archive-header .author-social { justify-content: center; }
	.author-archive-header .author-name { font-size: 32px; }
	.author-posts-grid { grid-template-columns: 1fr; }
}

/*--------------------------------------------------------------
# Archive layout: Authors Carousel + Posts
--------------------------------------------------------------*/
.archive-layout-authors-columns { direction: rtl; }
.archive-layout-authors-columns .archive-layout-header { text-align: right; margin-bottom: 25px; padding-bottom: 18px; border-bottom: 1px solid #e5e7e6; }
.archive-layout-authors-columns .archive-layout-title { font-size: 36px; font-weight: 700; margin: 0 0 8px; color: #1f3a3b; }
.archive-layout-authors-columns .archive-layout-description { font-size: 15px; line-height: 1.9; color: #555; }

.authors-carousel-section { margin: 0 0 40px; }
.authors-carousel-title { font-size: 22px; font-weight: 700; margin: 0 0 18px; text-align: right; color: #1f3a3b; }
.authors-carousel.owl-carousel { direction: rtl; padding-right: 5px; }
.authors-carousel .authors-carousel-item { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; padding: 12px 6px; border-radius: 8px; transition: background .2s; border: 1px solid var(--border-medium); }
.authors-carousel .authors-carousel-item:hover { background: var(--accent-light, #eef5f4); }
.authors-carousel .authors-carousel-avatar { display: block; width: 110px; height: 110px; border-radius: 50%; overflow: hidden; background: #f1f1f1; border: 3px solid #fff; box-shadow: 0 1px 6px rgba(0,0,0,.08); margin-bottom: 10px; }
.authors-carousel .authors-carousel-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.authors-carousel .authors-carousel-name { font-size: 14px; font-weight: 700; color: #1f3a3b; line-height: 1.3; font-family: "Noto Naskh Arabic", serif; margin-top: 5px; margin-bottom: 5px;}
.authors-carousel .authors-carousel-item:hover .authors-carousel-name { color: var(--links-color, #000000); }

/* Owl nav buttons on the authors carousel â€” match theme look. */
.authors-carousel .owl-nav button.owl-prev,
.authors-carousel .owl-nav button.owl-next { width: 32px; height: 32px; border-radius: 50%; background: #fff !important; border: 1px solid #ddd !important; color: #1f3a3b !important; font-size: 18px !important; line-height: 30px !important; }
.authors-carousel .owl-nav button.owl-prev:hover,
.authors-carousel .owl-nav button.owl-next:hover { background: var(--accent-color, #2a8a8c) !important; color: #fff !important; border-color: var(--accent-color, #2a8a8c) !important; }

@media (max-width: 768px) {
	.archive-layout-authors-columns .archive-layout-title { font-size: 28px; }
	.authors-carousel .authors-carousel-avatar { width: 90px; height: 90px; }
}

/*--------------------------------------------------------------
# Stretched-link cards (whole archive card clickable)
--------------------------------------------------------------*/
/* The title <a> becomes a "stretched link" via an ::after overlay that
   covers the entire card. Any sibling element that should remain its own
   click target (separate <a>s such as the thumbnail anchor) gets pulled
   above the overlay via `position:relative; z-index:2`. */

.archive-post-grid article,
.archive-post-list,
.author-post-card { position: relative; cursor: pointer; }

.archive-post-grid .archive-grid-heading a::after,
.archive-post-list .archive-list-heading a::after,
.author-post-card .post-title a::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* Keep the thumbnail anchor + any meta links above the stretched overlay. */
.archive-post-grid .archive-post-thumbnail a,
.archive-post-list .archive-post-thumbnail a,
.archive-post-grid .archive-post-meta a,
.archive-post-list .archive-post-details a:not(.archive-list-heading a),
.author-post-card .post-excerpt a { position: relative; z-index: 2; }

/* ---------- Header weather pill ----------
 * Lives inside .small-header which has `overflow: hidden` for its border-radius.
 * We let the pill itself anchor the dropdown via `position: fixed` (set in JS-free
 * way below by escaping the clipping container â€” see .upaper-weather-panel rules)
 * but the easier path used here is to override the parent's overflow when this
 * widget is present so the dropdown can paint over the header edge. */
.small-header:has( .upaper-weather ) { overflow: visible; }

.upaper-weather {
	position: relative;
	display: inline-flex;
	align-items: center;
	font-size: 13px;
	line-height: 1;
	color: #fff;
}
.upaper-weather-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: none;
	color: inherit;
	font: inherit;
	padding: 6px 10px;
	cursor: pointer;
	border-radius: 4px;
	transition: background 0.15s ease;
}
.upaper-weather-pill:hover,
.upaper-weather:focus-within .upaper-weather-pill {
	background: rgba( 255, 255, 255, 0.12 );
	color: #ffffff;
}
.upaper-weather-icon { font-size: 16px; line-height: 1; }
.upaper-weather-temp { font-weight: 700; color: #fff; color: #ffffff;}
.upaper-weather-city { opacity: 0.9; }

.upaper-weather-panel {
	position: absolute;
	top: calc( 100% + 6px );
	right: 0;
	z-index: 99999;
	min-width: 280px;
	background: #fff;
	color: #222;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	box-shadow: 0 8px 28px rgba( 0, 0, 0, 0.15 );
	padding: 14px 16px;
	opacity: 0;
	visibility: hidden;
	transform: translateY( -4px );
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
	text-align: left;
	direction: ltr;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.upaper-weather:hover .upaper-weather-panel,
.upaper-weather:focus-within .upaper-weather-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY( 0 );
}

.upaper-weather-panel-head {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 12px;
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid #eee;
}
.upaper-weather-panel-icon { font-size: 36px; line-height: 1; }
.upaper-weather-panel-city { font-weight: 700; font-size: 15px; }
.upaper-weather-panel-label { font-size: 12px; color: #777; margin-top: 2px; }
.upaper-weather-panel-temp { font-size: 24px; font-weight: 700; }

.upaper-weather-stats {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 8px;
	margin: 0 0 12px;
}
.upaper-weather-stats div {
	text-align: center;
	padding: 6px 4px;
	background: #f7f7f7;
	border-radius: 6px;
}
.upaper-weather-stats dt {
	font-size: 11px;
	color: #777;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 2px;
}
.upaper-weather-stats dd {
	margin: 0;
	font-weight: 700;
	font-size: 13px;
}

.upaper-weather-forecast {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 6px;
}
.upaper-weather-day {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 8px 4px;
	background: #f7f7f7;
	border-radius: 6px;
	font-size: 12px;
}
.upaper-weather-day-label { color: #777; text-transform: uppercase; letter-spacing: 0.04em; font-size: 11px; }
.upaper-weather-day-icon { font-size: 18px; line-height: 1; }
.upaper-weather-day-temp { font-weight: 600; }

/* RTL layout fixes â€” pill text reads correctly, panel still aligns to its
 * own (LTR) baseline since temps/units are latin. */
[dir="rtl"] .upaper-weather-panel { right: auto; left: 0; }

/**
* Musalim Names Template
*/

/* Layout wrapper â€” hosts the optional left/right ad sidebars around both
 * the names listing and the single-name pages. PHP toggles one of three
 * classes (`has-both`, `has-left`, `has-right`) when the corresponding
 * widget area has widgets; with no sidebars active, the wrapper is a
 * plain block and the inner content centres via its own max-width.
 *
 * Sidebars are 300px wide â€” fits 300Ã—250, 300Ã—600, and 160Ã—600 ad units. */
.upaper-names-layout {
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 16px;
}
.upaper-names-layout.has-both,
.upaper-names-layout.has-left,
.upaper-names-layout.has-right {
	display: grid;
	gap: 28px;
	align-items: start;
}
.upaper-names-layout.has-both  { grid-template-columns: 300px minmax(0, 1fr) 300px; }
.upaper-names-layout.has-left  { grid-template-columns: 300px minmax(0, 1fr); }
.upaper-names-layout.has-right { grid-template-columns: minmax(0, 1fr) 300px; }

/* When the layout grid is active, drop the inner page's own max-width and
 * padding-left/right so the content fills its grid column edge-to-edge. */
.upaper-names-layout.has-both .upaper-names-page,
.upaper-names-layout.has-left .upaper-names-page,
.upaper-names-layout.has-right .upaper-names-page,
.upaper-names-layout.has-both .upaper-name-single,
.upaper-names-layout.has-left .upaper-name-single,
.upaper-names-layout.has-right .upaper-name-single {
	max-width: none;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
}

.upaper-names-sidebar {
	padding-top: 28px;
	position: sticky;
	top: 24px;
	align-self: start;
	/* Tall sticky columns clip their overflow gracefully â€” useful when a
	 * widget renders an oversized iframe. */
	max-height: calc(100vh - 48px);
	overflow-y: auto;
}
.upaper-names-sidebar .advert-widget,
.upaper-names-sidebar .widget {
	margin-bottom: 16px;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 10px;
	padding: 14px;
}
.upaper-names-sidebar .widget-title {
	font-size: 11px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .08em;
	color: #767676;
	margin: 0 0 10px;
}
.upaper-names-sidebar img { max-width: 100%; height: auto; display: block; margin: 0 auto; }

/* On narrower viewports the sidebars compete with the content for space â€”
 * collapse to single column and hide the ads. Most ad units don't size
 * down gracefully, so hiding is more honest than squashing. */
@media (max-width: 1100px) {
	.upaper-names-layout.has-both,
	.upaper-names-layout.has-left,
	.upaper-names-layout.has-right {
		display: block;
	}
	.upaper-names-sidebar { display: none; }
	.upaper-names-layout.has-both .upaper-names-page,
	.upaper-names-layout.has-left .upaper-names-page,
	.upaper-names-layout.has-right .upaper-names-page,
	.upaper-names-layout.has-both .upaper-name-single,
	.upaper-names-layout.has-left .upaper-name-single,
	.upaper-names-layout.has-right .upaper-name-single {
		max-width: 1180px;
		padding-left: 24px;
		padding-right: 24px;
	}
	.upaper-names-layout.has-both .upaper-name-single,
	.upaper-names-layout.has-left .upaper-name-single,
	.upaper-names-layout.has-right .upaper-name-single {
		max-width: 920px;
	}
}

.upaper-names-page {
	--upn-primary:   #121212;
	--upn-accent:    #f4ac04;
	--upn-accent-2:  #fbf5e6;
	--upn-muted:     #767676;
	--upn-border:    #ececec;
	--upn-card-bg:   #ffffff;
	--upn-page-bg:   #f5f8f8;
	--upn-radius:    14px;
	--upn-radius-sm: 8px;
	max-width: 100%;
	margin: 0 auto;
	padding: 28px 24px 60px;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #222;
}

.upaper-names-hero {
	background: linear-gradient(135deg, var(--upn-primary) 0%, #282828 100%);
	color: #fff;
	border-radius: var(--upn-radius);
	padding: 28px 32px;
	margin-bottom: 22px;
	position: relative;
	overflow: hidden;
}
.upaper-names-hero::after {
	content: ""; position: absolute; top: -60px; right: -60px;
	width: 220px; height: 220px; background: var(--upn-accent);
	opacity: .14; border-radius: 50%; pointer-events: none;
}
.upaper-names-hero h1 { margin: 0 0 6px; font-size: 26px; font-weight: 600; line-height: 1.2; color: #fff; text-align: center;}
.upaper-names-hero p  { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.6; max-width: 100%; text-align: center; }
.upaper-names-hero .upaper-names-counts {
	margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px;
	font-size: 13px; color: rgba(255,255,255,.7);
	justify-content: center;
}
.upaper-names-hero .upaper-names-counts strong { color: var(--upn-accent); font-weight: 600;}

.upaper-names-controls {
	background: var(--upn-card-bg);
	border: 1px solid var(--upn-border);
	border-radius: var(--upn-radius);
	padding: 16px 18px;
	margin-bottom: 22px;
	display: flex; flex-direction: column; gap: 14px;
}
.upaper-names-search { display: flex; gap: 10px; }
.upaper-names-search input[type="search"] {
	flex: 1; padding: 10px 14px;
	border: 1px solid var(--upn-border); border-radius: var(--upn-radius-sm);
	background: #fafafa; font-size: 14px;
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.upaper-names-search input[type="search"]:focus {
	outline: none; border-color: var(--upn-accent); background: #fff;
	box-shadow: 0 0 0 3px rgba(244,172,4,.18);
}
.upaper-names-search button {
	background: var(--upn-primary); color: var(--upn-accent);
	border: 0; padding: 10px 22px; border-radius: 999px;
	font-size: 13px; font-weight: 600; cursor: pointer;
}
.upaper-names-search button:hover { background: #000; color: #ffffff; }
.upaper-names-search .reset {
	background: transparent; color: var(--upn-muted);
	border: 1px solid var(--upn-border); padding: 10px 16px;
	border-radius: 999px; font-size: 13px; text-decoration: none;
	display: inline-flex; align-items: center;
}
.upaper-names-search .reset:hover { color: var(--upn-primary); border-color: #ccc; }

.upaper-names-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.upaper-names-chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 14px; border-radius: 999px;
	background: #f3f3f3; color: #444;
	font-size: 13px; font-weight: 500;
	text-decoration: none; border: 1px solid transparent;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.upaper-names-chip:hover { background: var(--upn-accent-2); color: var(--upn-primary); }
.upaper-names-chip.is-active {
	background: var(--upn-primary); color: var(--upn-accent); border-color: var(--upn-primary);
}
.upaper-names-chip .count { font-size: 11px; opacity: .65; }

.upaper-names-letters {
	display: flex; flex-wrap: wrap; gap: 4px;
	padding-top: 12px; border-top: 1px dashed var(--upn-border);
}
.upaper-names-letter {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; border-radius: 6px;
	background: transparent; color: #444;
	font-size: 13px; font-weight: 600;
	text-decoration: none;
	transition: background .12s ease, color .12s ease;
}
.upaper-names-letter:hover { background: var(--upn-accent-2); color: var(--upn-primary); }
.upaper-names-letter.is-active { background: var(--upn-primary); color: var(--upn-accent); }
.upaper-names-letter.is-disabled { color: #ccc; pointer-events: none; }

.upaper-names-summary {
	display: flex; justify-content: space-between; align-items: baseline;
	margin-bottom: 14px; color: var(--upn-muted); font-size: 13px;
}
.upaper-names-summary strong { color: var(--upn-primary); font-weight: 600; }

.upaper-names-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}
/* The card is wrapped in `.upaper-name-card-wrap` so the heart button
 * can sit as a sibling of the (possibly anchor) card without nesting
 * a <button> inside an <a> (invalid HTML). The wrap is the positioning
 * context for the absolute-positioned heart. */
.upaper-name-card-wrap { position: relative; }

.upaper-name-card {
	background: var(--upn-card-bg);
	border: 1px solid var(--upn-border);
	border-radius: var(--upn-radius);
	padding: 18px 18px 16px;
	display: flex; flex-direction: column; gap: 8px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	text-decoration: none; color: inherit;
}
.upaper-name-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(18,18,18,.08);
	border-color: transparent;
}
.upaper-name-card .row1 {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	/* Right side is reserved for the absolutely-positioned heart button â€”
	   leave space so the gender badge / english name don't sit under it. */
	padding-right: 34px;
}
.upaper-name-card .row1 .gender-badge {
	order: -1;
}
.upaper-name-card .english { font-size: 18px; font-weight: 600; color: var(--upn-primary); }
.upaper-name-card .gender-badge {
	font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	padding: 3px 10px; border-radius: 999px;
}
.upaper-name-card .gender-badge.male   { background: #e3effb; color: #1e4b80; }
.upaper-name-card .gender-badge.female { background: #fbe3ed; color: #7a1b4e; }
.upaper-name-card .gender-badge.unisex { background: #ece3fb; color: #4a1e80; }
.upaper-name-card .script-row {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 4px 0;
}
.upaper-name-card .script-row .arabic {
	text-align: left;
}
.upaper-name-card .script-row .urdu {
	text-align: right;
}
/* When Arabic is the only script (no Urdu present), pin it to the right edge. */
.upaper-name-card .script-row .arabic:only-child {
	margin-left: auto;
	text-align: right;
}
.upaper-name-card .arabic {
	font-family: 'Lateef', 'Amiri', 'Noto Naskh Arabic', serif;
	font-size: 26px;
	line-height: 1.2;
	color: #333;
	direction: rtl;
	text-align: right;
}
.upaper-name-card .urdu {
	font-family: 'nafeesnastaleeq', 'Jameel Noori Nastaleeq', 'Noto Nastaliq Urdu', serif;
	font-size: 20px;
	line-height: 1.5;
	color: #333;
	direction: rtl;
	text-align: right;
}
.upaper-name-card .meaning {
	font-size: 13px; line-height: 1.55; color: var(--upn-muted);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
	overflow: hidden;
}
.upaper-name-card .meaning-urdu {
	font-family: 'nafeesnastaleeq', 'Jameel Noori Nastaleeq', 'Noto Nastaliq Urdu', serif;
	font-size: 14px; line-height: 1.8; color: #555;
	direction: rtl; text-align: right;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden;
}

.upaper-names-empty {
	padding: 60px 20px; text-align: center; color: var(--upn-muted);
	background: var(--upn-card-bg); border: 1px dashed var(--upn-border);
	border-radius: var(--upn-radius);
}
.upaper-names-empty h3 { margin: 0 0 6px; color: var(--upn-primary); font-size: 18px; }

.upaper-names-pagination {
	display: flex; justify-content: center; gap: 6px; margin-top: 28px;
	flex-wrap: wrap;
}
.upaper-names-pagination a, .upaper-names-pagination span {
	min-width: 36px; height: 36px;
	padding: 0 10px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 6px; font-size: 13px; font-weight: 600;
	text-decoration: none; color: var(--upn-primary);
	border: 1px solid var(--upn-border); background: var(--upn-card-bg);
}
.upaper-names-pagination a:hover { background: var(--upn-accent-2); border-color: var(--upn-accent); }
.upaper-names-pagination .current {
	background: var(--upn-primary); color: var(--upn-accent); border-color: var(--upn-primary);
}
.upaper-names-pagination .gap { border: 0; background: transparent; }

@media (max-width: 600px) {
	.upaper-names-hero { padding: 22px 20px; }
	.upaper-names-hero h1 { font-size: 22px; }
	.upaper-name-card .english { font-size: 16px; }
	.upaper-name-card .arabic { font-size: 22px; }
}

/* =========================================================================
 * Muslim Names â€” bottom extras container (page content + comments +
 * related posts). Sits OUTSIDE the .upaper-names-layout sidebar grid so
 * it always renders full-width. Reuses the --upn-* token set already
 * defined on .upaper-names-page.
 * =======================================================================*/
.upaper-names-extras {
	--upn-primary:   #121212;
	--upn-accent:    #f4ac04;
	--upn-accent-2:  #fbf5e6;
	--upn-muted:     #767676;
	--upn-border:    #ececec;
	--upn-card-bg:   #ffffff;
	--upn-radius:    14px;
	--upn-radius-sm: 8px;
	max-width: 100%;
	margin: 10px auto 0;
	padding: 0 24px 60px;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #222;
	display: flex;
	flex-direction: column;
	gap: 28px;
	/* Content here is English-first (meanings, FAQ, etc.). Force LTR even
	   though the theme defaults to RTL via html/body/.container rules at
	   the top of this file. We avoid `* { direction: ltr }` so that
	   admins can still drop intentional Urdu/Arabic spans into the body
	   (e.g. <span lang="ur">Ø³Ù„Ø§Ù…</span>) and have them render RTL. */
	direction: ltr;
	text-align: left;
}
.upaper-names-extra {
	background: var(--upn-card-bg);
	border: 1px solid var(--upn-border);
	border-radius: var(--upn-radius);
	padding: 26px 28px;
	direction: ltr;
	text-align: left;
}
.upaper-names-extra h1,
.upaper-names-extra h2,
.upaper-names-extra h3,
.upaper-names-extra h4,
.upaper-names-extra h5,
.upaper-names-extra h6,
.upaper-names-extra p,
.upaper-names-extra ul,
.upaper-names-extra ol,
.upaper-names-extra li,
.upaper-names-extra blockquote,
.upaper-names-extra figcaption,
.upaper-names-extra table,
.upaper-names-extra th,
.upaper-names-extra td {
	direction: ltr;
	text-align: left;
}
.upaper-names-content .entry-content {
	font-size: 15px;
	line-height: 1.75;
	color: #333;
}
.upaper-names-content .entry-content > :first-child { margin-top: 0; }
.upaper-names-content .entry-content > :last-child  { margin-bottom: 0; }
.upaper-names-content .entry-content h2,
.upaper-names-content .entry-content h3,
.upaper-names-content .entry-content h4 {
	color: var(--upn-primary);
	margin-top: 1.6em;
}
.upaper-names-content .entry-content a {
	color: #b07a00;
	text-decoration: underline;
}
.upaper-names-content .entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--upn-radius-sm);
}
.upaper-names-comments .comments-area,
.upaper-names-comments .comments-title,
.upaper-names-comments #respond { color: #222; }
.upaper-names-comments .comment-list { list-style: none; padding-left: 0; }

.upaper-names-related-posts__title {
	margin: 0 0 18px;
	font-size: 20px;
	font-weight: 600;
	color: var(--upn-primary);
	border-bottom: 2px solid var(--upn-accent);
	padding-bottom: 8px;
	display: inline-block;
}
.upaper-names-related-posts__grid {
	display: grid;
	grid-template-columns: repeat(var(--cols, 3), 1fr);
	gap: 18px;
}
.upaper-names-related-post {
	display: flex;
	flex-direction: column;
	background: #fafafa;
	border: 1px solid var(--upn-border);
	border-radius: var(--upn-radius-sm);
	overflow: hidden;
	transition: box-shadow .15s ease, transform .15s ease;
}
.upaper-names-related-post:hover {
	box-shadow: 0 6px 16px rgba(0,0,0,.06);
	transform: translateY(-2px);
}
.upaper-names-related-post .thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eee;
}
.upaper-names-related-post .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.upaper-names-related-post .body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	direction: rtl;
	text-align: right;
}
.upaper-names-related-post .cat {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--upn-accent);
	text-decoration: none;
	align-self: flex-start;
}
.upaper-names-related-post .cat:hover { text-decoration: underline; }
.upaper-names-related-post .title {
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
	text-align: right;
}
.upaper-names-related-post .title a {
	color: var(--upn-primary);
	text-decoration: none;
}
.upaper-names-related-post .title a:hover { color: var(--upn-accent); }
.upaper-names-related-post .meta {
	font-size: 12px;
	color: var(--upn-muted);
}
@media (max-width: 900px) {
	.upaper-names-related-posts__grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}
@media (max-width: 520px) {
	.upaper-names-related-posts__grid {
		grid-template-columns: 1fr !important;
	}
	.upaper-names-extra { padding: 20px 18px; }
}

/* =========================================================================
 * Muslim Names â€” Single name page (template-muslim-name-single.php).
 *
 * Lives under .upaper-name-single. Distinct --ups-* tokens from the
 * listing wrapper --upn-* so future per-page restyling stays isolated.
 * =======================================================================*/

.upaper-name-single {
	--ups-primary:   #121212;
	--ups-accent:    #f4ac04;
	--ups-accent-2:  #fbf5e6;
	--ups-muted:     #767676;
	--ups-border:    #ececec;
	--ups-card-bg:   #ffffff;
	--ups-radius:    14px;
	--ups-radius-sm: 8px;
	max-width: 920px;
	margin: 0 auto;
	padding: 24px 24px 60px;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #222;
}

.upaper-name-breadcrumbs {
	font-size: 13px; color: var(--ups-muted); margin-bottom: 16px;
	display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.upaper-name-breadcrumbs a { color: var(--ups-muted); text-decoration: none; }
.upaper-name-breadcrumbs a:hover { color: var(--ups-primary); text-decoration: underline; }
.upaper-name-breadcrumbs .sep { opacity: .4; }
.upaper-name-breadcrumbs .current { color: var(--ups-primary); font-weight: 600; }

.upaper-name-hero {
	background: linear-gradient(135deg, #fff 0%, var(--ups-accent-2) 100%);
	border: 1px solid var(--ups-border);
	border-radius: var(--ups-radius);
	padding: 36px 36px 32px;
	margin-bottom: 22px;
	position: relative;
	overflow: hidden;
	text-align: center;
}
.upaper-name-hero::after {
	content: ""; position: absolute; top: -90px; right: -90px;
	width: 240px; height: 240px; background: var(--ups-accent);
	opacity: .14; border-radius: 50%; pointer-events: none;
}
/* English name + Arabic name share the same h1 so they read as a single
   bilingual title. Baseline alignment keeps the Arabic glyphs sitting
   with the Latin baseline; `flex-wrap` lets the Arabic drop to a new
   line on narrow viewports. */
.upaper-name-hero h1 {
	margin: 0 0 20px;
	color: var(--ups-primary);
	position: relative; z-index: 1;
	display: flex; flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 18px;
	font-weight: 700;
	line-height: 1.1;
	justify-content: center;
}
.upaper-name-hero h1 .english {
	font-size: 38px;
}
.upaper-name-hero h1 .arabic {
	font-family: "Lateef", "Amiri", "Noto Naskh Arabic", serif;
	font-size: 52px; font-weight: 400; line-height: 1;
	color: var(--ups-primary);
	direction: rtl;
}
.upaper-name-hero .urdu {
	font-family: "nafeesnastaleeq", "Jameel Noori Nastaleeq", "Noto Nastaliq Urdu", serif;
	font-size: 30px; line-height: 1.6; color: #444;
	direction: rtl; text-align: right;
	margin: 4px 0 12px;
	position: relative; z-index: 1;
}
.upaper-name-hero .lede {
	font-size: 14px; color: var(--ups-muted); margin: 0;
	position: relative; z-index: 1;
}
.upaper-name-hero .gender-badge {
	display: inline-flex; align-items: center;
	font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	padding: 5px 14px; border-radius: 999px; margin-right: 8px;
}
.upaper-name-hero .gender-badge.male   { background: #e3effb; color: #1e4b80; }
.upaper-name-hero .gender-badge.female { background: #fbe3ed; color: #7a1b4e; }
.upaper-name-hero .gender-badge.unisex { background: #ece3fb; color: #4a1e80; }
.upaper-name-hero .badge-row { margin-top: 14px; position: relative; z-index: 1; display: flex; gap: 5px; align-items: center; justify-content: center; flex-wrap: wrap; }
.upaper-name-hero .letter-badge {
	display: inline-flex; align-items: center; padding: 5px 14px;
	border-radius: 999px; background: #fff; border: 1px solid var(--ups-border);
	color: var(--ups-primary); font-size: 11px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
}
.upaper-name-hero .letter-badge:hover { background: var(--ups-primary); color: var(--ups-accent); border-color: var(--ups-primary); }
.upaper-name-hero .views-badge {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 11px; font-weight: 700; letter-spacing: .04em;
	padding: 5px 12px; border-radius: 999px;
	background: #f3f3f3; color: var(--ups-muted);
	margin-left: 6px;
}
.upaper-name-hero .views-badge .dashicons { font-size: 14px; width: 14px; height: 14px; line-height: 1; }

/* Origin badge â€” pastel chip, one tone per bucket. */
.upaper-name-hero .origin-badge {
	display: inline-flex; align-items: center;
	font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	padding: 5px 14px; border-radius: 999px;
}
.upaper-name-hero .origin-badge.origin-quranic   { background: #dcfce7; color: #065f46; }
.upaper-name-hero .origin-badge.origin-prophet   { background: #fef3c7; color: #7c2d12; }
.upaper-name-hero .origin-badge.origin-companion { background: #cffafe; color: #155e75; }
.upaper-name-hero .origin-badge.origin-modern    { background: #dbeafe; color: #1e3a8a; }

/* Lucky number badge â€” dark pill with a small label + a circular digit. */
.upaper-name-hero .lucky-badge {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	padding: 4px 6px 4px 12px; border-radius: 999px;
	background: #0f172a; color: #fff;
}
.upaper-name-hero .lucky-badge-num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--ups-accent, #f59e0b); color: #0f172a;
	font-size: 12px; letter-spacing: 0;
}

.upaper-name-meaning {
	background: var(--ups-card-bg);
	border: 1px solid var(--ups-border);
	border-radius: var(--ups-radius);
	padding: 24px 28px;
	margin-bottom: 22px;
	text-align: center;
}
.upaper-name-meaning h2 {
	margin: 0 0 10px; font-size: 13px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .08em;
	color: var(--ups-muted);
	text-align: center;
}
.upaper-name-meaning p { margin: 0 0 14px; font-size: 16px; line-height: 1.65; color: #333; }
.upaper-name-meaning .meaning-urdu {
	font-family: "nafeesnastaleeq", "Jameel Noori Nastaleeq", "Noto Nastaliq Urdu", serif;
	font-size: 18px; line-height: 2; color: #333;
	direction: rtl; text-align: right;
	margin: 0; padding-top: 14px; border-top: 1px dashed var(--ups-border);
}

.upaper-name-share {
	background: var(--ups-card-bg);
	border: 1px solid var(--ups-border);
	border-radius: var(--ups-radius);
	padding: 20px 24px 22px;
	margin-bottom: 22px;
	text-align: center;
}
.upaper-name-share h2 {
	margin: 0 0 14px; font-size: 13px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .08em;
	color: var(--ups-muted);
	display: inline-flex; align-items: center; gap: 8px;
}
.upaper-name-share h2 .icon-share { font-size: 14px; color: var(--ups-accent); }
.upaper-name-share-row {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.upaper-name-share-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 16px;
	border: 1px solid var(--ups-border);
	border-radius: 999px;
	background: #fff; color: #333;
	font-family: inherit; font-size: 13px; font-weight: 500;
	text-decoration: none; cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, color .15s ease,
	            background-color .15s ease, border-color .15s ease;
}
.upaper-name-share-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(18,18,18,.08);
	color: #fff;
}
.upaper-name-share-btn [class^="icon-"],
.upaper-name-share-btn .upaper-name-share-copy-icon {
	font-size: 14px; line-height: 1; display: inline-flex;
}
.upaper-name-share-btn.is-facebook:hover { background: #1877f2; border-color: #1877f2; }
.upaper-name-share-btn.is-twitter:hover  { background: #1da1f2; border-color: #1da1f2; }
.upaper-name-share-btn.is-whatsapp:hover { background: #25d366; border-color: #25d366; }
.upaper-name-share-btn.is-email:hover    { background: #555;    border-color: #555;    }
.upaper-name-share-btn.is-copy:hover     { background: var(--ups-primary); border-color: var(--ups-primary); }
.upaper-name-share-btn.is-copied {
	background: #2e7d32 !important; border-color: #2e7d32 !important; color: #fff !important;
}

.upaper-name-pnext {
	display: flex; justify-content: space-between; gap: 14px;
	margin-bottom: 28px;
}
.upaper-name-pnext a, .upaper-name-pnext .placeholder {
	flex: 1; background: var(--ups-card-bg);
	border: 1px solid var(--ups-border); border-radius: var(--ups-radius-sm);
	padding: 12px 16px;
	font-size: 13px; color: var(--ups-primary);
	text-decoration: none;
	display: flex; align-items: center; gap: 10px;
	transition: border-color .15s ease, transform .15s ease;
}
.upaper-name-pnext a:hover { border-color: var(--ups-accent); transform: translateY(-1px); }
.upaper-name-pnext .placeholder { opacity: .35; }
.upaper-name-pnext .label { font-size: 11px; color: var(--ups-muted); text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 2px; }
.upaper-name-pnext .name { font-weight: 600; font-size: 15px; }
.upaper-name-pnext .next { justify-content: flex-end; text-align: right; }

.upaper-name-related h2 {
	margin: 0 0 16px; font-size: 14px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .08em;
	color: var(--ups-muted);
}
.upaper-name-related-grid {
	display: grid; gap: 14px;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.upaper-name-related-card {
	background: var(--ups-card-bg);
	border: 1px solid var(--ups-border);
	border-radius: var(--ups-radius-sm);
	padding: 14px 16px;
	text-decoration: none; color: inherit;
	display: flex; flex-direction: column; gap: 6px;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.upaper-name-related-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(18,18,18,.07); border-color: transparent; }
.upaper-name-related-card .english { font-weight: 600; font-size: 15px; color: var(--ups-primary); }
.upaper-name-related-card .arabic {
	font-family: "Lateef", "Amiri", serif;
	font-size: 22px; direction: rtl; color: #333;
}
.upaper-name-related-card .meaning {
	font-size: 12.5px; line-height: 1.5; color: var(--ups-muted);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 700px) {
	.upaper-name-hero { padding: 24px 22px; }
	.upaper-name-hero h1 .english { font-size: 28px; }
	.upaper-name-hero h1 .arabic { font-size: 40px; }
	.upaper-name-hero .urdu { font-size: 24px; }
	.upaper-name-pnext { flex-direction: column; }
	.upaper-name-pnext .next { justify-content: flex-start; text-align: left; }
}

/* =========================================================================
 * Heart-react button for Muslim Names (listing cards + single-name hero).
 *
 * Two usage contexts:
 *   1. Inside `.upaper-name-card-wrap` on the listing â†’ absolutely
 *      positioned in the top-right corner of each card, floating above
 *      the card content.
 *   2. Inline inside `.upaper-name-hero .badge-row` on the single page â†’
 *      sits at the natural flow alongside the gender / letter / views
 *      badges, slightly larger to act as the primary CTA.
 *
 * Filled vs outline state is driven by `.is-liked` toggling fill / stroke
 * on the inline SVG. `.is-pulsing` runs a one-shot scale animation on
 * click for tactile feedback while the AJAX round-trip is in flight.
 * =======================================================================*/

.upaper-name-heart {
	appearance: none;
	background: rgba(255,255,255,.92);
	border: 1px solid rgba(18,18,18,.08);
	border-radius: 999px;
	padding: 6px 12px 6px 9px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font: inherit;
	font-size: 12.5px;
	font-weight: 600;
	color: #6b7280;
	line-height: 1;
	transition: color .18s ease, background .18s ease, transform .12s ease, box-shadow .18s ease;
	-webkit-tap-highlight-color: transparent;
}
.upaper-name-heart:hover,
.upaper-name-heart:focus-visible {
	color: #b91c1c;
	background: #fff;
	box-shadow: 0 2px 8px rgba(185,28,28,.18);
	outline: none;
}
.upaper-name-heart:active { transform: scale(.94); }

.upaper-name-heart-icon {
	width: 18px; height: 18px;
	fill: transparent;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: fill .18s ease, transform .18s ease;
}
.upaper-name-heart.is-liked { color: #dc2626; }
.upaper-name-heart.is-liked .upaper-name-heart-icon { fill: #dc2626; stroke: #dc2626; }

@keyframes upaper-name-heart-pulse {
	0%   { transform: scale(1); }
	35%  { transform: scale(1.25); }
	70%  { transform: scale(.95); }
	100% { transform: scale(1); }
}
.upaper-name-heart.is-pulsing .upaper-name-heart-icon {
	animation: upaper-name-heart-pulse .42s cubic-bezier(.34, 1.56, .64, 1);
}

.upaper-name-heart-count {
	font-variant-numeric: tabular-nums;
	letter-spacing: .01em;
}

/* Listing card placement â€” top-right floater. The card itself stays a
 * normal anchor; the heart is a sibling so the click is cleanly
 * separated from the card link. */
.upaper-name-card-wrap > .upaper-name-heart {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
}

/* Single-name hero placement â€” natural badge-row alignment, slightly
 * larger to act as the primary CTA. */
.upaper-name-hero .badge-row .upaper-name-heart {
	padding: 8px 14px 8px 11px;
	font-size: 13px;
}
.upaper-name-hero .badge-row .upaper-name-heart-icon { width: 20px; height: 20px; }

/* Optional: tighten on mobile so the heart doesn't crowd the corner */
@media (max-width: 480px) {
	.upaper-name-card-wrap > .upaper-name-heart {
		padding: 4px 9px 4px 7px;
		font-size: 12px;
	}
	.upaper-name-card-wrap > .upaper-name-heart .upaper-name-heart-icon {
		width: 16px; height: 16px;
	}
}

/*--------------------------------------------------------------
# Archive Layout â€” Featured Hero + Posts
--------------------------------------------------------------*/
.featured-hero-layout { max-width: 100%; margin: 0 auto; padding: 25px 20px; direction: rtl; }
/* Shared breadcrumb trail â€” emitted by template-parts/breadcrumbs.php and
   reused by every archive layout (default + featured-hero + future). */
.upaper-breadcrumbs {
	font-size: 13px;
	color: #555;
	margin: 0 0 18px;
	text-align: right;
	direction: rtl;
}
.upaper-breadcrumbs a {
	color: #555;
	text-decoration: none;
}
.upaper-breadcrumbs a:hover {
	color: #000;
}
.upaper-breadcrumbs .upaper-crumb-sep {
	margin: 0 6px;
	color: #999;
}
.upaper-breadcrumbs .upaper-crumb-current {
	color: #000;
	font-weight: 600;
}

/* Inside the default archive screen the breadcrumbs sit above the
   archive-header bar â€” give them a little inline padding so they don't
   touch the viewport edges. */
.archive-content > .upaper-breadcrumbs {
	padding: 15px 15px 0;
	margin-bottom: 10px;
}

.featured-hero-layout .fh-archive-header {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 25px;
	text-align: right;
	flex-wrap: wrap;
}
.featured-hero-layout .fh-archive-title {
	font-size: 38px;
	line-height: 1.2;
	margin: 0;
	color: #000;
	font-weight: 700;
	flex: 0 0 auto;
}

.featured-hero-layout .fh-subcats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 22px;
	flex: 1 1 auto;
	justify-content: flex-start;
}
.featured-hero-layout .fh-subcats li {
	margin: 0;
	padding: 0;
}
.featured-hero-layout .fh-subcats a {
	color: #1f3a3b;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: color .2s;
}
.featured-hero-layout .fh-subcats a:hover {
	color: var(--accent-color, #2a8a8c);
}

.featured-hero-layout .fh-archive-description {
	font-size: 15px;
	color: #555;
	line-height: 1.9;
	margin: 0 0 25px;
	text-align: right;
}

/* Featured strip wrapper: hero on top, small cards in 2-col grid below. */
.featured-hero-layout .fh-featured-strip { margin: 0 0 35px; }

/* Hero card â€” image fills the full width, the colored panel is an absolute
   overlay on the right side with a left-fading gradient (solid accent on
   the right, transparent on the left) so the underlying photo bleeds
   through behind the title. */
.featured-hero-layout .fh-hero { position: relative; min-height: 420px; background: #1f3a3b; border-radius: 6px; overflow: hidden; margin: 0 0 22px; }
.featured-hero-layout .fh-hero-thumb { position: absolute; inset: 0; display: block; overflow: hidden; }
.featured-hero-layout .fh-hero-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-hero-layout .fh-hero-panel { position: absolute; top: 0; bottom: 0; right: 0; width: 70%; padding: 50px 70px 50px 22%; display: flex; flex-direction: column; justify-content: center; align-items: start; text-align: right; color: #fff; background: linear-gradient(to left, #000 30%, rgba(0, 0, 0, .65) 75%, rgba(0, 0, 0, 0) 100%); pointer-events: none; }
.featured-hero-layout .fh-hero-panel > * { pointer-events: auto; }
/* Lighter vertical bar inset from the right edge â€” matches the reference. */
.featured-hero-layout .fh-hero-panel::after { content: ""; position: absolute; top: 18px; bottom: 18px; right: 10px; width: 5px; background: rgba(255, 255, 255, .45); border-radius: 4px; pointer-events: none; }
.featured-hero-layout .fh-hero-title { font-size: 44px; line-height: 1.45; margin: 0 0 16px; color: #fff; font-weight: 700; max-width: 90%;}
.featured-hero-layout .fh-hero-title a { color: #fff; text-decoration: none; }
.featured-hero-layout .fh-hero-title a:hover { opacity: .9; }
.featured-hero-layout .fh-hero-cat { display: inline-block; padding: 4px 12px; background: rgba(255, 255, 255, .15); color: #fff; border-radius: 4px; font-size: 13px; text-decoration: none; }
.featured-hero-layout .fh-hero-cat:hover { background: rgba(255, 255, 255, .25); color: #fff; }

/* 2-column grid of small horizontal cards. */
.featured-hero-layout .fh-small-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.featured-hero-layout .fh-small-card { background: #fff; border: 1px solid #eee; border-radius: 6px; overflow: hidden; position: relative; transition: box-shadow .2s, border-color .2s; }
.featured-hero-layout .fh-small-card:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, .06); border-color: #ddd; }
.featured-hero-layout .fh-small-card-inner { display: flex; flex-direction: row; align-items: stretch; min-height: 140px; }
/* In RTL: first DOM child (thumb) lands on the right edge. */
.featured-hero-layout .fh-small-card-thumb { flex: 0 0 45%; max-width: 45%; overflow: hidden; display: block; }
.featured-hero-layout .fh-small-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 140px; border-radius: 0 var(--border-radius) var(--border-radius) 0 !important; }
.featured-hero-layout .fh-small-card-content { flex: 1 1 auto; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; text-align: right; }
.featured-hero-layout .fh-small-card-title { font-size: 18px; line-height: 1.5; margin: 0 0 12px; font-weight: 700; color: #1f3a3b; }
.featured-hero-layout .fh-small-card-title a { color: inherit; text-decoration: none; }
.featured-hero-layout .fh-small-card-cat { color: var(--primary-color, #121212); font-size: 13px; font-weight: 600; text-decoration: none; }
.featured-hero-layout .fh-small-card-cat:hover { color: var(--accent-color); }

/* Stretched-link: whole small card clickable via title anchor. */
.featured-hero-layout .fh-small-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.featured-hero-layout .fh-small-card-thumb { position: relative; z-index: 2; }
.featured-hero-layout .fh-small-card-cat { position: relative; z-index: 2; }
/* Hero click behavior: the .fh-hero-thumb anchor is absolute inset:0 so it
   already covers the whole tile. The panel sits above it with pointer-events:
   none, and its children (title link, cat link) restore pointer-events. No
   stretched-link ::after needed â€” clicks on the transparent gradient area
   pass through to the thumb anchor below. */
.featured-hero-layout .fh-hero-cat { position: relative; z-index: 2; }
.featured-hero-layout .fh-hero-title a { position: relative; z-index: 2; }

/* Bottom posts section. */
.featured-hero-layout .fh-posts-section { margin-top: 30px; }
.featured-hero-layout .fh-section-heading { font-size: 22px; font-weight: 700; color: #1f3a3b; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--accent-color, #2a8a8c); display: inline-block; }

@media (max-width: 900px) {
	.featured-hero-layout .fh-hero { min-height: 0; display: flex; flex-direction: column; }
	.featured-hero-layout .fh-hero-thumb { position: relative; inset: auto; flex: 1 1 auto; }
	.featured-hero-layout .fh-hero-thumb img { width: 100%; height: auto; min-height: 220px; max-height: 320px; }
	.featured-hero-layout .fh-hero-panel { position: relative; top: auto; bottom: auto; right: auto; width: 100%; padding: 25px 20px; background: #000; border-right: none; border-top: 4px solid rgba(255, 255, 255, .35); align-items: flex-end; }
	.featured-hero-layout .fh-hero-title { font-size: 24px; }
}
@media (max-width: 640px) {
	.featured-hero-layout .fh-small-grid {
		grid-template-columns: 1fr;
	}
	.featured-hero-layout .fh-archive-title {
		font-size: 28px;
	}
	.featured-hero-layout .fh-small-card-inner {
		flex-direction: column;
	}
	.featured-hero-layout .fh-small-card-thumb {
		flex: 1 1 auto;
		max-width: 100%;
	}
	.featured-hero-layout .fh-small-card-thumb img {
		min-height: 180px;
	}

	.featured-hero-layout .fh-archive-header {
		flex-direction: column;
		align-items: flex-end;
		gap: 14px;
	}
	.featured-hero-layout .fh-subcats {
		justify-content: flex-start;
		gap: 14px;
		font-size: 14px;
	}
	.featured-hero-layout .fh-subcats a {
		font-size: 14px;
	}
}

/*--------------------------------------------------------------
# Archive Layout â€” Islamic (Widget Top + Posts)
--------------------------------------------------------------*/
.islamic-archive-layout {
	max-width: 100%;
	margin: 0 auto;
	padding: 25px 20px;
	direction: rtl;
}

.islamic-archive-layout .islamic-archive-header {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 25px;
	text-align: right;
	flex-wrap: wrap;
}
.islamic-archive-layout .islamic-archive-title {
	font-size: 38px;
	line-height: 1.2;
	margin: 0;
	color: #000;
	font-weight: 700;
	flex: 0 0 auto;
}
.islamic-archive-layout .islamic-subcats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 22px;
	flex: 1 1 auto;
	justify-content: flex-start;
}
.islamic-archive-layout .islamic-subcats li {
	margin: 0;
	padding: 0;
}
.islamic-archive-layout .islamic-subcats a {
	color: #1f3a3b;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: color .2s;
}
.islamic-archive-layout .islamic-subcats a:hover {
	color: var(--accent-color, #2a8a8c);
}

.islamic-archive-layout .islamic-archive-description {
	font-size: 15px;
	color: #555;
	line-height: 1.9;
	margin: 0 0 25px;
	text-align: right;
}

.islamic-archive-layout .islamic-top-widgets {
	margin: 0 0 30px;
}
.islamic-archive-layout .islamic-bottom-widgets {
	margin: 30px 0 0;
}
.islamic-archive-layout .islamic-top-widgets .widget,
.islamic-archive-layout .islamic-bottom-widgets .widget {
	margin: 0 0 18px;
}
.islamic-archive-layout .islamic-top-widgets .widget:last-child,
.islamic-archive-layout .islamic-bottom-widgets .widget:last-child {
	margin-bottom: 0;
}

.islamic-archive-layout .islamic-posts-section {
	margin-top: 10px;
}
.islamic-archive-layout .islamic-section-heading {
	font-size: 22px;
	font-weight: 700;
	color: #1f3a3b;
	margin: 0 0 18px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--accent-color, #2a8a8c);
	display: inline-block;
}

@media (max-width: 640px) {
	.islamic-archive-layout .islamic-archive-title {
		font-size: 28px;
	}
	.islamic-archive-layout .islamic-archive-header {
		flex-direction: column-reverse;
		align-items: flex-end;
		gap: 14px;
	}
	.islamic-archive-layout .islamic-subcats {
		justify-content: flex-start;
		gap: 14px;
	}
	.islamic-archive-layout .islamic-subcats a {
		font-size: 14px;
	}
}
