/**
 * Premium homepage — Bisim-style (RTL). High specificity vs Publisher theme CSS.
 */

html:has(body.publisher-home-premium),
html:has(body.publisher-bisim-footer) {
	font-size: 106.25%;
}

body.publisher-home-premium,
body.publisher-bisim-footer {
	--ph-fs-header-menu: 1.125rem;
	--ph-fs-header-search: 1rem;
	--ph-fs-header-tagline: 0.9375rem;
	--ph-fs-section-title: 1.35rem;
	--ph-fs-breaking-badge: 0.9375rem;
	--ph-fs-breaking-text: 1rem;
	--ph-fs-hero-featured: 1rem;
	--ph-fs-hero-title-max: 1.875rem;
	--ph-fs-hero-excerpt: 1.0625rem;
	--ph-fs-latest-title: 1rem;
	--ph-fs-card-title: 1.125rem;
	--ph-fs-card-excerpt: 0.9375rem;
	--ph-fs-card-meta: 0.875rem;
	--ph-fs-category-name: 1.0625rem;
	--ph-fs-category-desc: 0.8125rem;
	--ph-fs-category-link: 0.875rem;
	--ph-fs-video-title: 1rem;
	--ph-fs-footer-title: 1.125rem;
	--ph-fs-footer-text: 0.9375rem;
	--ph-fs-footer-links: 1rem;
}

body.publisher-home-premium {
	--ph-navy: #071a36;
	--ph-red: #e31e24;
	--ph-bg: #f7f8fa;
	--ph-card: #ffffff;
	--ph-text: #1a202c;
	--ph-muted: #64748b;
	--ph-radius: 16px;
	--ph-shadow: 0 10px 30px rgba(7, 26, 54, 0.1);
	--ph-border: rgba(7, 26, 54, 0.1);
	--ph-site-width: 1280px;
	background: var(--ph-bg) !important;
}

/* ——— Full width: override Publisher boxed layout ——— */
body.publisher-home-premium.boxed,
body.publisher-home-premium.ph-layout-full-width {
	background: var(--ph-bg) !important;
}

body.publisher-home-premium.boxed .main-wrap,
body.publisher-home-premium.boxed .content-main-wrap,
body.publisher-home-premium .main-wrap,
body.publisher-home-premium .content-main-wrap {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-shadow: none !important;
	background: var(--ph-bg) !important;
}

body.publisher-home-premium.boxed .content-wrap,
body.publisher-home-premium .ph-home > .content-wrap {
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: none !important;
}

body.publisher-home-premium .ph-home .ph-inner,
body.publisher-home-premium .ph-header-container {
	max-width: var(--ph-site-width);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

body.publisher-home-premium .ph-home .container,
body.publisher-home-premium .ph-home .ph-container {
	max-width: var(--ph-site-width);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

body.publisher-home-premium .back-top {
	display: none !important;
}

/* Break out of boxed .main-wrap (100vw bleed) */
body.publisher-home-premium .ph-full-bleed {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
}

body.publisher-home-premium .ph-main-wrap,
body.publisher-home-premium .main-wrap.ph-main-wrap {
	max-width: none !important;
	width: 100% !important;
	background: var(--ph-bg) !important;
}

body.publisher-home-premium #site-footer {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
}

/* ——— Unified header ——— */
body.publisher-home-premium .ph-unified-header {
	position: sticky;
	top: 0;
	z-index: 10050;
	width: 100%;
	background: var(--ph-navy) !important;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

body.publisher-home-premium .ph-header-bar {
	width: 100%;
	background: var(--ph-navy);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.publisher-home-premium .ph-header-container {
	max-width: var(--ph-site-width);
	margin: 0 auto;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
}

body.publisher-home-premium .ph-header-actions-left {
	grid-column: unset;
	justify-self: unset;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

body.publisher-home-premium .ph-header-nav {
	grid-column: unset;
	justify-self: unset;
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

body.publisher-home-premium .ph-header-actions-right {
	grid-column: unset;
	justify-self: unset;
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

body.publisher-home-premium .ph-logo-link {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: end;
	text-decoration: none;
	gap: 2px;
}

body.publisher-home-premium .ph-logo-tagline {
	display: block;
	color: rgba(255, 255, 255, 0.88);
	font-size: var(--ph-fs-header-tagline, 0.9375rem);
	font-weight: 400;
	line-height: 1.2;
	white-space: nowrap;
}

body.publisher-home-premium .ph-header-search {
	min-width: 200px;
	max-width: 260px;
}

@media (min-width: 992px) {
	body.publisher-home-premium .ph-header-offcanvas {
		display: none !important;
	}
}

body.publisher-home-premium .ph-header-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 2px;
	list-style: none;
	margin: 0;
	padding: 0;
	float: none !important;
	height: auto !important;
}

body.publisher-home-premium .ph-header-actions-right {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

body.publisher-home-premium .ph-header-logo {
	line-height: 1;
}

body.publisher-home-premium .ph-logo-title {
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: 1;
}

body.publisher-home-premium .ph-logo-img {
	display: block;
	height: auto;
	max-height: 42px;
	max-width: 150px;
	object-fit: contain;
}

body.publisher-home-premium .ph-logo-text {
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	white-space: nowrap;
}

body.publisher-home-premium .ph-header-menu > li {
	float: none !important;
	display: inline-block;
	margin: 0 !important;
}

body.publisher-home-premium .ph-header-menu > li > a {
	display: block;
	padding: 11px 16px !important;
	color: rgba(255, 255, 255, 0.92) !important;
	font-weight: 500;
	font-size: var(--ph-fs-header-menu, 1.125rem);
	text-decoration: none;
	border-radius: 6px;
	transition: color 0.2s ease, box-shadow 0.2s ease;
}

body.publisher-home-premium .ph-header-menu > li:hover > a,
body.publisher-home-premium .ph-header-menu > li.current-menu-item > a,
body.publisher-home-premium .ph-header-menu > li.current-menu-ancestor > a {
	color: #fff !important;
	box-shadow: inset 0 -3px 0 var(--ph-red);
}

body.publisher-home-premium .ph-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

body.publisher-home-premium .ph-header-search {
	min-width: 180px;
	max-width: 240px;
	flex: 0 1 240px;
}

body.publisher-home-premium .ph-search-form {
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	overflow: hidden;
	padding: 2px 4px 2px 14px;
}

body.publisher-home-premium .ph-search-field {
	flex: 1;
	border: none;
	background: transparent;
	color: #fff;
	font-size: var(--ph-fs-header-search, 1rem);
	min-width: 0;
	outline: none;
}

body.publisher-home-premium .ph-search-field::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

body.publisher-home-premium .ph-search-submit {
	border: none;
	background: transparent;
	color: rgba(255, 255, 255, 0.9);
	width: 36px;
	height: 36px;
	cursor: pointer;
}

body.publisher-home-premium .ph-theme-toggle,
body.publisher-home-premium .ph-theme-toggle-static {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	padding: 0;
}

body.publisher-home-premium .ph-header-offcanvas .off-canvas-menu-icon {
	border-color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 992px) {
	body.publisher-home-premium .rh-header {
		display: none !important;
	}
}

@media (max-width: 991px) {
	body.publisher-home-premium .ph-unified-header .ph-header-bar {
		display: none;
	}

	body.publisher-home-premium .rh-header {
		background: var(--ph-navy) !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	body.publisher-home-premium .rh-header .menu-handler .lines,
	body.publisher-home-premium .rh-header .menu-handler .lines:before,
	body.publisher-home-premium .rh-header .menu-handler .lines:after {
		background: #fff !important;
	}
}

/* Legacy header rules (non-unified) — kept minimal */
body.publisher-home-premium:not(:has(.ph-unified-header)) .site-header {
	position: sticky !important;
	top: 0;
	z-index: 10050;
	background: var(--ph-navy) !important;
}

body.publisher-home-premium .main-wrap,
body.publisher-home-premium .content-main-wrap {
	background: var(--ph-bg) !important;
}

/* ——— Homepage shell ——— */
.ph-home {
	direction: rtl;
	text-align: right;
	font-size: 1.0625rem;
	line-height: 1.7;
}

.ph-home .container,
.ph-home .ph-container {
	max-width: var(--ph-site-width, 1280px);
}

.ph-home .content-wrap.ph-content-wrap {
	background: transparent !important;
	padding: 0 0 40px !important;
	margin: 0 !important;
}

.ph-home .ph-main {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.publisher-home-premium .ph-main.content-container,
body.publisher-home-premium main.ph-main {
	width: 100% !important;
	max-width: none !important;
}

/* ——— Section title ——— */
.ph-section-head {
	margin-bottom: 18px;
}

.ph-section-title {
	position: relative;
	margin: 0;
	padding-inline-start: 14px;
	font-size: var(--ph-fs-section-title, 1.35rem);
	font-weight: 800;
	color: var(--ph-navy);
	line-height: 1.4;
}

.ph-section-title::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.2em;
	bottom: 0.2em;
	width: 4px;
	border-radius: 4px;
	background: var(--ph-red);
}

/* ——— Breaking ——— */
.ph-breaking {
	background: #fff;
	border-bottom: 1px solid var(--ph-border);
	padding: 12px 0;
	width: 100%;
}

.ph-breaking-inner {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ph-breaking-badge {
	flex-shrink: 0;
	padding: 8px 18px;
	border-radius: 8px;
	background: var(--ph-red);
	color: #fff;
	font-size: var(--ph-fs-breaking-badge, 0.9375rem);
	font-weight: 800;
}

.ph-breaking-track-wrap {
	flex: 1;
	overflow: hidden;
}

.ph-breaking-track {
	display: flex;
	gap: 40px;
	list-style: none;
	margin: 0;
	padding: 0;
	width: max-content;
	animation: ph-ticker-rtl 45s linear infinite;
}

.ph-breaking:hover .ph-breaking-track {
	animation-play-state: paused;
}

.ph-breaking-item {
	display: flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
	font-size: var(--ph-fs-breaking-text, 1rem);
}

.ph-breaking-item a {
	color: var(--ph-navy);
	font-weight: 600;
	text-decoration: none;
}

.ph-breaking-time {
	color: var(--ph-muted);
	font-size: 0.875rem;
}

@keyframes ph-ticker-rtl {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(50%);
	}
}

/* ——— Hero 70 / 30 ——— */
.ph-hero {
	padding: 24px 0 16px;
}

.ph-categories {
	padding: 16px 0 8px;
}

.ph-latest-posts,
.ph-archive,
.ph-videos {
	margin-top: 28px;
}

.ph-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
	gap: 22px;
	align-items: stretch;
}

.ph-hero-slider {
	position: relative;
	border-radius: var(--ph-radius);
	overflow: hidden;
	box-shadow: var(--ph-shadow);
	background: var(--ph-navy);
	min-height: 400px;
}

.ph-hero-featured-tag {
	position: absolute;
	top: 18px;
	inset-inline-end: 18px;
	z-index: 3;
	display: inline-block;
	padding: 8px 16px;
	border-radius: 8px;
	background: var(--ph-red);
	color: #fff;
	font-size: var(--ph-fs-hero-featured, 1rem);
	font-weight: 800;
	line-height: 1.3;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	pointer-events: none;
}

.ph-hero-slide {
	display: none;
}

.ph-hero-slide.is-active {
	display: block;
}

.ph-hero-slide-media {
	position: relative;
	display: block;
	min-height: 400px;
	color: #fff;
	text-decoration: none;
}

.ph-hero-slide-media img,
.ph-hero-slide-fallback {
	width: 100%;
	height: 400px;
	object-fit: cover;
	display: block;
}

.ph-hero-slide-fallback {
	background: linear-gradient(135deg, #0f2744, #071a36);
}

.ph-hero-slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 26, 54, 0.05) 0%, rgba(7, 26, 54, 0.88) 100%);
}

.ph-hero-slide-content {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 28px 28px 70px;
	z-index: 1;
}

.ph-badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 6px;
	background: var(--ph-red);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.ph-hero-slide-title {
	margin: 0 0 8px;
	font-size: clamp(1.35rem, 2.5vw, var(--ph-fs-hero-title-max, 1.875rem));
	font-weight: 800;
	line-height: 1.4;
	color: #fff;
}

.ph-hero-slide-excerpt {
	margin: 0;
	font-size: var(--ph-fs-hero-excerpt, 1.0625rem);
	line-height: 1.65;
	opacity: 0.92;
	max-width: 92%;
}

.ph-hero-controls {
	position: absolute;
	inset-inline: 0;
	bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 18px;
	z-index: 2;
}

.ph-hero-dots {
	display: flex;
	gap: 8px;
}

.ph-hero-dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}

.ph-hero-dot.is-active {
	background: #fff;
	transform: scale(1.15);
}

.ph-hero-arrows {
	display: flex;
	gap: 8px;
}

.ph-hero-arrow {
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
	cursor: pointer;
}

.ph-hero-arrow:hover {
	background: rgba(255, 255, 255, 0.38);
}

/* Latest panel */
.ph-latest-panel {
	background: var(--ph-navy);
	border-radius: var(--ph-radius);
	padding: 18px 16px;
	box-shadow: var(--ph-shadow);
	color: #fff;
}

.ph-latest-panel .ph-section-title {
	color: #fff;
}

.ph-latest-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ph-latest-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.ph-latest-thumb {
	flex-shrink: 0;
	width: 76px;
	height: 76px;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.1);
}

.ph-latest-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ph-latest-cat {
	display: block;
	color: var(--ph-red);
	font-size: 0.875rem;
	font-weight: 700;
}

.ph-latest-time {
	display: block;
	font-size: 0.8125rem;
	opacity: 0.65;
}

.ph-latest-title {
	margin: 6px 0 0;
	font-size: var(--ph-fs-latest-title, 1rem);
	font-weight: 600;
	line-height: 1.45;
}

.ph-latest-title a {
	color: #fff;
	text-decoration: none;
}

/* ——— Categories ——— */
.ph-categories-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.ph-category-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 22px 12px;
	background: var(--ph-card);
	border-radius: var(--ph-radius);
	border: 1px solid var(--ph-border);
	box-shadow: var(--ph-shadow);
	text-decoration: none;
	color: var(--ph-text);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ph-category-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 36px rgba(7, 26, 54, 0.14);
	color: var(--ph-navy);
}

.ph-category-icon {
	width: 54px;
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(7, 26, 54, 0.06);
	color: var(--ph-navy);
	font-size: 1.35rem;
	margin-bottom: 10px;
}

.ph-category-card:hover .ph-category-icon {
	background: var(--ph-red);
	color: #fff;
}

.ph-category-name {
	margin: 0 0 6px;
	font-size: var(--ph-fs-category-name, 1.0625rem);
	font-weight: 800;
}

.ph-category-desc {
	margin: 0 0 8px;
	font-size: var(--ph-fs-category-desc, 0.8125rem);
	color: var(--ph-muted);
	line-height: 1.5;
}

.ph-category-link {
	font-size: var(--ph-fs-category-link, 0.875rem);
	color: var(--ph-red);
	font-weight: 700;
}

/* ——— Post cards ——— */
.ph-posts-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.ph-post-card {
	display: flex;
	flex-direction: column;
	background: var(--ph-card);
	border-radius: var(--ph-radius);
	overflow: hidden;
	border: 1px solid var(--ph-border);
	box-shadow: var(--ph-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ph-post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 38px rgba(7, 26, 54, 0.14);
}

.ph-post-card-media {
	position: relative;
	display: block;
	overflow: hidden;
	background: #e2e8f0;
	min-height: 180px;
}

.ph-post-card-media img {
	width: 100%;
	height: 190px;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.ph-post-card:hover .ph-post-card-media img {
	transform: scale(1.07);
}

.ph-post-card-media .ph-badge {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
	margin: 0;
}

.ph-post-card-body {
	padding: 16px 16px 18px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.ph-post-card-title {
	margin: 0 0 8px;
	font-size: var(--ph-fs-card-title, 1.125rem);
	font-weight: 800;
	line-height: 1.45;
}

.ph-post-card-title a {
	color: var(--ph-navy);
	text-decoration: none;
}

.ph-post-card-excerpt {
	margin: 0 0 12px;
	font-size: var(--ph-fs-card-excerpt, 0.9375rem);
	color: var(--ph-muted);
	line-height: 1.55;
	flex: 1;
}

.ph-post-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: var(--ph-fs-card-meta, 0.875rem);
	color: var(--ph-muted);
}

/* ——— Videos ——— */
.ph-videos-carousel {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ph-videos-track-wrap {
	flex: 1;
	overflow: hidden;
}

.ph-videos-track {
	display: flex;
	gap: 16px;
	will-change: transform;
	transition: transform 0.35s ease;
}

.ph-video-card {
	flex: 0 0 calc(25% - 12px);
	min-width: 210px;
}

.ph-video-thumb {
	position: relative;
	display: block;
	border-radius: var(--ph-radius);
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--ph-navy);
}

.ph-video-thumb img,
.ph-video-thumb-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ph-video-thumb-fallback {
	display: block;
	background: linear-gradient(135deg, #334155, #071a36);
	min-height: 140px;
}

.ph-video-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(7, 26, 54, 0.35);
	color: #fff;
	font-size: 1.5rem;
}

.ph-video-title {
	margin: 10px 0 0;
	font-size: var(--ph-fs-video-title, 1rem);
	font-weight: 700;
	line-height: 1.45;
}

.ph-video-title a {
	color: var(--ph-navy);
	text-decoration: none;
}

.ph-carousel-arrow {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border: 1px solid var(--ph-border);
	border-radius: 50%;
	background: #fff;
	color: var(--ph-navy);
	cursor: pointer;
	box-shadow: var(--ph-shadow);
}

.ph-carousel-arrow:hover {
	background: var(--ph-navy);
	color: #fff;
}

.ph-pagination {
	margin-top: 28px;
	text-align: center;
}

.ph-pagination .pagination,
.ph-pagination .page-nav {
	background: transparent !important;
}

/* ——— Footer full width ——— */
body.publisher-home-premium #site-footer,
body.publisher-home-premium #site-footer.site-footer,
body.publisher-home-premium #site-footer.boxed,
body.publisher-home-premium .footer-instagram.boxed {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	background: var(--ph-navy) !important;
	color: rgba(255, 255, 255, 0.88) !important;
}

body.publisher-home-premium #site-footer:before {
	display: none;
}

body.publisher-home-premium .footer-widgets {
	width: 100% !important;
	max-width: none !important;
	padding: 48px 0 36px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.publisher-home-premium .footer-widgets .content-wrap,
body.publisher-home-premium .footer-widgets .container,
body.publisher-home-premium #site-footer .copy-footer .content-wrap,
body.publisher-home-premium #site-footer .copy-footer .container {
	max-width: var(--ph-site-width) !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

body.publisher-home-premium .footer-widgets.light-text .widget,
body.publisher-home-premium .footer-widgets.light-text .widget a,
body.publisher-home-premium .footer-widgets .widget-title {
	color: rgba(255, 255, 255, 0.92) !important;
}

body.publisher-home-premium .footer-widgets .widget {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

body.publisher-home-premium .copy-footer {
	background: rgba(0, 0, 0, 0.2) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 16px 0;
	text-align: center;
}

body.publisher-home-premium #site-footer a {
	color: rgba(255, 255, 255, 0.9);
}

body.publisher-home-premium #site-footer .footer-menu-wrapper,
body.publisher-home-premium #site-footer .better-social-counter {
	max-width: var(--ph-site-width);
	margin-left: auto;
	margin-right: auto;
}

body.publisher-home-premium .footer-widgets.light-text .widget.widget_nav_menu ul.menu li a {
	background: transparent !important;
}

/* ——— Back to top ——— */
.ph-back-top {
	position: fixed;
	inset-inline-end: 22px;
	bottom: 22px;
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 50%;
	background: var(--ph-red);
	color: #fff;
	font-size: 1.25rem;
	cursor: pointer;
	box-shadow: var(--ph-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
	z-index: 10040;
}

.ph-back-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* ——— Dark mode ——— */
body.publisher-home-premium.ph-dark-mode {
	--ph-bg: #0a1628;
	--ph-card: #111f36;
	--ph-text: #e2e8f0;
	--ph-muted: #94a3b8;
	--ph-border: rgba(255, 255, 255, 0.1);
}

/* ——— Bisim footer (footer.jpg) ——— */
body.publisher-bisim-footer {
	--ph-navy: #071a36;
	--ph-red: #e31e24;
	--ph-site-width: 1280px;
}

body.publisher-bisim-footer .ph-bisim-footer,
body.publisher-bisim-footer #site-footer.ph-bisim-footer {
	background: var(--ph-navy) !important;
	color: rgba(255, 255, 255, 0.9);
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
}

body.publisher-bisim-footer .ph-footer-main {
	padding: 48px 0 36px;
}

body.publisher-bisim-footer .ph-footer-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	direction: rtl;
	text-align: right;
}

body.publisher-bisim-footer .ph-footer-title {
	margin: 0 0 14px;
	font-size: var(--ph-fs-footer-title, 1.125rem);
	font-weight: 800;
	color: #fff;
}

body.publisher-bisim-footer .ph-footer-desc,
body.publisher-bisim-footer .ph-footer-about-text {
	margin: 0 0 16px;
	font-size: var(--ph-fs-footer-text, 0.9375rem);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.78);
}

body.publisher-bisim-footer .ph-footer-list,
body.publisher-bisim-footer .ph-footer-list.menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.publisher-bisim-footer .ph-footer-list li {
	margin: 0 0 8px;
}

body.publisher-bisim-footer .ph-footer-list a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: var(--ph-fs-footer-links, 1rem);
}

body.publisher-bisim-footer .ph-footer-list a:hover {
	color: #fff;
}

body.publisher-bisim-footer .ph-newsletter-form {
	display: flex;
	gap: 0;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

body.publisher-bisim-footer .ph-newsletter-form input[type="email"] {
	flex: 1;
	border: none;
	padding: 10px 12px;
	font-size: 0.8125rem;
	min-width: 0;
}

body.publisher-bisim-footer .ph-newsletter-form button {
	border: none;
	background: var(--ph-red);
	color: #fff;
	padding: 10px 18px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

body.publisher-bisim-footer .ph-footer-bottom {
	background: rgba(0, 0, 0, 0.22);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 14px 0;
}

body.publisher-bisim-footer .ph-footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

body.publisher-bisim-footer .ph-footer-copy-text {
	margin: 0;
	font-size: var(--ph-fs-footer-text, 0.9375rem);
	color: rgba(255, 255, 255, 0.75);
	flex: 1;
	text-align: center;
}

body.publisher-bisim-footer .ph-back-top-footer {
	position: static;
	opacity: 1;
	visibility: visible;
	transform: none;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

body.publisher-bisim-footer .ph-inner {
	max-width: var(--ph-site-width);
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

@media (max-width: 991px) {
	body.publisher-bisim-footer .ph-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575px) {
	body.publisher-bisim-footer .ph-footer-grid {
		grid-template-columns: 1fr;
	}
}

/* ——— Responsive ——— */
@media (max-width: 1199px) {
	.ph-categories-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ph-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ph-video-card {
		flex: 0 0 calc(50% - 8px);
	}
}

@media (max-width: 991px) {
	.ph-hero-grid {
		grid-template-columns: 1fr;
	}

	.ph-latest-panel {
		order: 2;
	}
}

@media (max-width: 767px) {
	.ph-categories-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ph-posts-grid {
		grid-template-columns: 1fr;
	}

	.ph-breaking-inner {
		flex-direction: column;
		align-items: stretch;
	}

	.ph-hero-slide-media,
	.ph-hero-slide-media img,
	.ph-hero-slider {
		min-height: 300px;
		height: 300px;
	}

	.ph-hero-slide-media img {
		height: 300px;
	}
}
