/*! PrimeMag Pro — main stylesheet */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--pm-primary: #b3122e;
	--pm-primary-rgb: 179, 18, 46;
	--pm-accent: #c9a227;
	--pm-accent-rgb: 201, 162, 39;
	--pm-dark: #0d1321;
	--pm-dark-rgb: 13, 19, 33;
	--pm-text: #1f2937;
	--pm-bg: #f5f6f8;
	--pm-surface: #ffffff;
	--pm-surface-2: #f8f9fb;
	--pm-border: #e6e8ec;
	--pm-muted: #6b7280;
	--pm-heading: #0f172a;
	--pm-container: 1240px;
	--pm-radius: 10px;
	--pm-base: 17px;
	--pm-gap: 28px;
	--pm-font-body: "Hind Siliguri", system-ui, sans-serif;
	--pm-font-head: "Noto Serif Bengali", serif;
	--pm-head-weight: 700;
	--pm-banner-h: 200px;
	--pm-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .14);
	--pm-shadow-lg: 0 24px 48px -20px rgba(15, 23, 42, .35);
	--pm-gold: linear-gradient(135deg, #f6dc8a 0%, var(--pm-accent) 45%, #9a7614 100%);
	--pm-ease: cubic-bezier(.2, .7, .2, 1);
}

html.pm-dark {
	--pm-bg: #0a0e17;
	--pm-surface: #121827;
	--pm-surface-2: #0f1522;
	--pm-border: #222b3d;
	--pm-text: #d5dbe6;
	--pm-muted: #8b95a8;
	--pm-heading: #f3f5f9;
	--pm-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
	color-scheme: dark;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--pm-bg);
	color: var(--pm-text);
	font-family: var(--pm-font-body);
	font-size: var(--pm-base);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	transition: background-color .3s, color .3s;
}
img, video, iframe, embed, object { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--pm-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pm-accent); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--pm-font-head);
	font-weight: var(--pm-head-weight);
	color: var(--pm-heading);
	line-height: 1.35;
	margin: 0 0 .6em;
}
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--pm-accent); color: #111; }
:focus-visible { outline: 2px solid var(--pm-accent); outline-offset: 2px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000;
	left: 10px; top: 10px; padding: 12px 18px; background: var(--pm-dark); color: #fff; border-radius: 6px;
}

.pm-container { width: 100%; max-width: var(--pm-container); margin: 0 auto; padding: 0 20px; }
.pm-layout-boxed .pm-site { max-width: calc(var(--pm-container) + 40px); margin: 0 auto; background: var(--pm-bg); box-shadow: 0 0 60px rgba(0, 0, 0, .08); }
.pm-content { padding-bottom: 40px; min-height: 40vh; }

.pm-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

.pm-btn, .button, button.pm-btn, input[type=submit], .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 22px; border: 0; border-radius: calc(var(--pm-radius) * .8);
	background: var(--pm-primary); color: #fff; font-weight: 600; line-height: 1.2;
	transition: transform .2s var(--pm-ease), box-shadow .2s, background .2s;
}
.pm-btn:hover, .button:hover, input[type=submit]:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(var(--pm-primary-rgb), .7); }

input[type=text], input[type=email], input[type=url], input[type=password], input[type=search], input[type=number], input[type=tel], textarea, select {
	width: 100%; padding: 11px 14px; border: 1px solid var(--pm-border); border-radius: calc(var(--pm-radius) * .7);
	background: var(--pm-surface); color: var(--pm-text); transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--pm-accent); box-shadow: 0 0 0 3px rgba(var(--pm-accent-rgb), .2); }

/* ==========================================================================
   3. Preloader / progress / back to top
   ========================================================================== */
.pm-preloader { position: fixed; inset: 0; z-index: 99999; background: var(--pm-dark); display: grid; place-items: center; transition: opacity .4s, visibility .4s; }
.pm-preloader span { width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .12); border-top-color: var(--pm-accent); animation: pm-spin .8s linear infinite; }
.pm-preloader.is-done { opacity: 0; visibility: hidden; }
@keyframes pm-spin { to { transform: rotate(360deg); } }

.pm-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 10001; background: var(--pm-gold); box-shadow: 0 0 10px rgba(var(--pm-accent-rgb), .7); }
.admin-bar .pm-progress { top: 32px; }

.pm-to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; border: 0;
	background: var(--pm-dark); color: var(--pm-accent); display: grid; place-items: center; box-shadow: var(--pm-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(14px); transition: .3s var(--pm-ease);
}
.pm-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.pm-to-top:hover { background: var(--pm-primary); color: #fff; }

/* ==========================================================================
   4. Header — top bar
   ========================================================================== */
.pm-header { position: relative; z-index: 50; }
.pm-topbar { background: #070b14; color: #b8c0d0; font-size: 13.5px; }
.pm-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.pm-topbar-left, .pm-topbar-right { display: flex; align-items: center; gap: 18px; }
.pm-today { display: inline-flex; align-items: center; gap: 7px; color: #e8ecf3; }
.pm-today .pm-icon { color: var(--pm-accent); }
.pm-topbar-menu { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.pm-topbar-menu a, .pm-topbar a { color: #b8c0d0; }
.pm-topbar-menu a:hover { color: var(--pm-accent); }

.pm-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.pm-social a { display: grid; place-items: center; color: inherit; transition: .2s; }
.pm-social-mini a { width: 26px; height: 26px; border-radius: 50%; color: #b8c0d0; }
.pm-social-mini a:hover { color: var(--pm-dark); background: var(--pm-accent); }
.pm-social-boxed a { width: 38px; height: 38px; border-radius: calc(var(--pm-radius) * .8); background: var(--pm-surface-2); border: 1px solid var(--pm-border); color: var(--pm-text); }
.pm-social-boxed a:hover { color: #fff; transform: translateY(-2px); }
.pm-s-facebook:hover { background: #1877f2 !important; border-color: #1877f2 !important; }
.pm-s-youtube:hover { background: #ff0000 !important; border-color: #ff0000 !important; }
.pm-s-x:hover { background: #000 !important; border-color: #000 !important; }
.pm-s-instagram:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888) !important; border-color: #dc2743 !important; }
.pm-s-linkedin:hover { background: #0a66c2 !important; border-color: #0a66c2 !important; }
.pm-s-tiktok:hover { background: #111 !important; border-color: #111 !important; }
.pm-s-telegram:hover { background: #229ed9 !important; border-color: #229ed9 !important; }
.pm-s-whatsapp:hover { background: #25d366 !important; border-color: #25d366 !important; }
.pm-s-pinterest:hover { background: #e60023 !important; border-color: #e60023 !important; }

/* ==========================================================================
   5. Header — dynamic banner
   ========================================================================== */
.pm-banner {
	position: relative; overflow: hidden; min-height: var(--pm-banner-h);
	display: flex; align-items: center; color: #fff; isolation: isolate;
}
.pm-banner-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 26px; padding-bottom: 26px; }
.pm-banner-brand { display: flex; align-items: center; gap: 22px; min-width: 0; }
.pm-banner-logo img { max-height: calc(var(--pm-banner-h) * .55); width: auto; }
.pm-banner-title { margin: 0; font-size: clamp(34px, 5.4vw, 66px); line-height: 1.1; letter-spacing: -.5px; font-weight: 800; }
.pm-banner-title a { color: #fff; display: inline-block; }
.pm-banner-sub { margin: 8px 0 0; font-size: clamp(14px, 1.5vw, 18px); color: rgba(255, 255, 255, .78); letter-spacing: .3px; }
.pm-banner-sub::before { content: ""; display: inline-block; width: 34px; height: 2px; background: var(--pm-accent); vertical-align: middle; margin-right: 10px; }

/* gradient */
.pm-banner-gradient {
	background: linear-gradient(120deg, var(--pm-dark) 0%, rgba(var(--pm-primary-rgb), 1) 45%, var(--pm-dark) 70%, rgba(var(--pm-accent-rgb), .85) 100%);
	background-size: 300% 300%; animation: pm-grad 16s ease infinite;
}
@keyframes pm-grad { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* mesh */
.pm-banner-mesh { background: var(--pm-dark); }
.pm-banner-glow { display: none; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 0; }
.pm-banner-mesh .pm-banner-glow { display: block; }
.pm-banner-glow.g1 { width: 420px; height: 420px; background: rgba(var(--pm-primary-rgb), .9); left: -80px; top: -160px; animation: pm-float 14s ease-in-out infinite; }
.pm-banner-glow.g2 { width: 360px; height: 360px; background: rgba(var(--pm-accent-rgb), .7); right: 10%; bottom: -200px; animation: pm-float 18s ease-in-out infinite reverse; }
.pm-banner-glow.g3 { width: 260px; height: 260px; background: #3b5bdb; left: 45%; top: -120px; opacity: .35; animation: pm-float 22s ease-in-out infinite; }
.pm-banner-mesh::after { content: ""; position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
@keyframes pm-float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 30px) scale(1.12); } }

/* image */
.pm-banner-image { background-color: var(--pm-dark); background-size: cover; background-position: center; background-attachment: fixed; }
.pm-banner-image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(var(--pm-dark-rgb), .9), rgba(var(--pm-dark-rgb), .35)); }
.pm-banner-solid { background: var(--pm-dark); }
.pm-banner-solid::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--pm-gold); }

/* title effects */
.pm-effect-shine .pm-banner-title a {
	background: linear-gradient(110deg, #fff 0%, #fff 40%, #f6dc8a 50%, #fff 60%, #fff 100%);
	background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
	animation: pm-shine 5s linear infinite;
}
@keyframes pm-shine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.pm-effect-fade .pm-banner-title, .pm-effect-fade .pm-banner-sub { animation: pm-fadeup .9s var(--pm-ease) both; }
.pm-effect-fade .pm-banner-sub { animation-delay: .2s; }
@keyframes pm-fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.pm-effect-typing .pm-banner-title a::after { content: "|"; color: var(--pm-accent); margin-left: 4px; animation: pm-blink 1s steps(1) infinite; }
@keyframes pm-blink { 50% { opacity: 0; } }

.pm-header-ad { flex-shrink: 1; min-width: 0; max-width: 728px; }
.pm-header-ad .pm-ad { margin: 0; }
.pm-banner .pm-ad-label { color: rgba(255, 255, 255, .5); }

/* classic / centered */
.pm-header-main { background: var(--pm-surface); border-bottom: 1px solid var(--pm-border); }
.pm-header-main-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 120px; padding-top: 18px; padding-bottom: 18px; }
.pm-site-title { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; font-weight: 800; }
.pm-site-title a { color: var(--pm-heading); }
.pm-tagline { margin: 4px 0 0; color: var(--pm-muted); font-size: 14px; }
.custom-logo { max-height: 90px; width: auto; }
.pm-header-centered .pm-header-main-inner { flex-direction: column; justify-content: center; text-align: center; }
.pm-header-centered .pm-branding .custom-logo-link { display: inline-block; }
.pm-header-centered .custom-logo { margin: 0 auto; }

/* ==========================================================================
   6. Navigation
   ========================================================================== */
.pm-nav-wrap { position: relative; z-index: 60; }
.pm-nav { background: var(--pm-dark); color: #fff; border-top: 3px solid transparent; border-image: var(--pm-gold) 1; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.pm-nav-wrap.is-sticky.is-stuck { position: fixed; top: 0; left: 0; right: 0; animation: pm-slidedown .35s var(--pm-ease); }
.admin-bar .pm-nav-wrap.is-sticky.is-stuck { top: 32px; }
@keyframes pm-slidedown { from { transform: translateY(-100%); } to { transform: none; } }
.pm-nav-inner { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.pm-nav-logo { display: none; margin-right: 10px; }
.pm-nav-logo.is-on, .is-stuck .pm-nav-logo { display: block; }
.pm-nav-logo .custom-logo { max-height: 40px; }
.pm-nav-logo .pm-site-title { font-size: 22px; }
.pm-nav-logo .pm-site-title a { color: #fff; }

.pm-primary-menu { flex: 1; min-width: 0; }
.pm-menu { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.pm-menu > li { position: relative; }
.pm-menu > li > a {
	display: flex; align-items: center; gap: 6px; padding: 0 15px; height: 58px; color: #e8ecf3; font-weight: 600; font-size: 16px; position: relative;
}
.pm-nav-upper .pm-menu > li > a { text-transform: uppercase; font-size: 14px; letter-spacing: .6px; }
.pm-menu > li > a::after {
	content: ""; position: absolute; left: 15px; right: 15px; bottom: 10px; height: 2px; background: var(--pm-accent);
	transform: scaleX(0); transform-origin: left; transition: transform .3s var(--pm-ease);
}
.pm-menu > li:hover > a, .pm-menu > li.current-menu-item > a, .pm-menu > li.current-menu-ancestor > a, .pm-menu > li.current-category-ancestor > a { color: #fff; }
.pm-menu > li:hover > a::after, .pm-menu > li.current-menu-item > a::after, .pm-menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.pm-menu > li.menu-item-has-children > a { padding-right: 26px; }
.pm-menu > li.menu-item-has-children > a::before {
	content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); opacity: .7;
}
.pm-menu .sub-menu {
	list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: 0; min-width: 230px; z-index: 99;
	background: var(--pm-surface); border-radius: 0 0 var(--pm-radius) var(--pm-radius); border-top: 2px solid var(--pm-accent);
	box-shadow: var(--pm-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s var(--pm-ease);
}
.pm-menu .sub-menu .sub-menu { top: -10px; left: 100%; border-radius: var(--pm-radius); }
.pm-menu li:hover > .sub-menu, .pm-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.pm-menu .sub-menu a { display: block; padding: 8px 20px; color: var(--pm-text); font-size: 15px; font-weight: 500; }
.pm-menu .sub-menu a:hover { color: var(--pm-primary); background: var(--pm-surface-2); padding-left: 24px; }

.pm-nav-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.pm-icon-btn {
	position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%;
	background: transparent; color: #e8ecf3; transition: .2s;
}
.pm-icon-btn:hover { background: rgba(255, 255, 255, .08); color: var(--pm-accent); }
.pm-menu-toggle { display: none; }
.pm-dark-toggle .i-sun { display: none; }
html.pm-dark .pm-dark-toggle .i-sun { display: block; }
html.pm-dark .pm-dark-toggle .i-moon { display: none; }

/* ==========================================================================
   7. Ticker
   ========================================================================== */
.pm-ticker { background: var(--pm-surface); border-bottom: 1px solid var(--pm-border); }
.pm-ticker-inner { display: flex; align-items: center; gap: 14px; height: 46px; overflow: hidden; }
.pm-ticker-label {
	display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 5px 14px; border-radius: 30px;
	background: var(--pm-primary); color: #fff; font-weight: 700; font-size: 14px; position: relative;
}
.pm-ticker-label::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-left: 4px; animation: pm-pulse 1.4s infinite; }
@keyframes pm-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); } 70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.pm-ticker-viewport { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.pm-ticker-track { display: inline-flex; white-space: nowrap; animation: pm-marquee 45s linear infinite; }
.pm-ticker:hover .pm-ticker-track { animation-play-state: paused; }
.pm-ticker-track a { color: var(--pm-text); font-weight: 500; padding: 0 22px; position: relative; }
.pm-ticker-track a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; background: var(--pm-accent); transform: translateY(-50%) rotate(45deg); }
.pm-ticker-track a:hover { color: var(--pm-primary); }
@keyframes pm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   8. Search overlay & drawer
   ========================================================================== */
.pm-search-overlay {
	position: fixed; inset: 0; z-index: 9999; background: rgba(var(--pm-dark-rgb), .96); backdrop-filter: blur(8px);
	display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s;
}
.pm-search-overlay.is-open { opacity: 1; visibility: visible; }
.pm-search-close { position: absolute; top: 24px; right: 24px; color: #fff; }
.pm-search-box { width: min(760px, 90vw); transform: translateY(20px); transition: .4s var(--pm-ease); }
.is-open .pm-search-box { transform: none; }
.pm-search-hint { color: rgba(255, 255, 255, .5); text-align: center; margin-bottom: 12px; }
.pm-search-overlay .pm-search-form { border-bottom: 2px solid var(--pm-accent); }
.pm-search-overlay .pm-search-field { background: transparent; border: 0; color: #fff; font-size: clamp(22px, 4vw, 38px); padding: 14px 0; box-shadow: none; }
.pm-search-overlay .pm-search-submit { color: var(--pm-accent); background: transparent; }

.pm-search-form { display: flex; align-items: center; position: relative; }
.pm-search-field { padding-right: 50px; }
.pm-search-submit { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--pm-primary); color: #fff; display: grid; place-items: center; }

.pm-drawer { position: fixed; inset: 0; z-index: 9998; background: rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transition: .3s; }
.pm-drawer.is-open { opacity: 1; visibility: visible; }
.pm-drawer-panel {
	position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 86vw); background: var(--pm-surface); overflow-y: auto; padding: 18px;
	transform: translateX(-100%); transition: transform .35s var(--pm-ease); display: flex; flex-direction: column; gap: 18px;
}
.pm-drawer.is-open .pm-drawer-panel { transform: none; }
.pm-drawer-head { display: flex; justify-content: space-between; align-items: center; }
.pm-drawer-head .pm-site-title { font-size: 24px; }
.pm-drawer-head .custom-logo { max-height: 44px; }
.pm-drawer .pm-icon-btn { color: var(--pm-text); }
.pm-drawer-menu, .pm-drawer-menu ul { list-style: none; margin: 0; padding: 0; }
.pm-drawer-menu li { border-bottom: 1px solid var(--pm-border); position: relative; }
.pm-drawer-menu a { display: block; padding: 12px 4px; color: var(--pm-heading); font-weight: 600; }
.pm-drawer-menu .sub-menu { display: none; padding-left: 14px; }
.pm-drawer-menu .sub-menu a { font-weight: 500; font-size: 15px; }
.pm-drawer-menu li.is-open > .sub-menu { display: block; }
.pm-sub-toggle { position: absolute; right: 0; top: 4px; width: 38px; height: 38px; border: 0; background: var(--pm-surface-2); border-radius: 8px; color: var(--pm-text); }
.pm-sub-toggle::before { content: "+"; font-size: 20px; line-height: 1; }
.is-open > .pm-sub-toggle::before { content: "−"; }
body.pm-locked { overflow: hidden; }

/* ==========================================================================
   9. Layout & section heads
   ========================================================================== */
.pm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--pm-gap); margin-top: var(--pm-gap); align-items: start; }
.pm-layout-left { grid-template-columns: 340px minmax(0, 1fr); }
.pm-layout-left .pm-primary { order: 2; }
.pm-layout-none { grid-template-columns: minmax(0, 1fr); }
.pm-primary { min-width: 0; }
.pm-sticky-sidebar .pm-sidebar-inner { position: sticky; top: 80px; }

.pm-section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; --pm-line: var(--pm-accent); }
.pm-section-title { margin: 0; font-size: 22px; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.pm-section-title::before { content: ""; width: 6px; height: 26px; border-radius: 4px; background: linear-gradient(180deg, var(--pm-primary), var(--pm-line)); }
.pm-section-title a { color: inherit; }
.pm-section-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--pm-border), transparent); order: 2; }
.pm-more { order: 3; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--pm-muted); padding: 5px 12px; border: 1px solid var(--pm-border); border-radius: 30px; white-space: nowrap; }
.pm-more:hover { color: #fff; background: var(--pm-primary); border-color: var(--pm-primary); }

.pm-block { margin-bottom: var(--pm-gap); }
.pm-style-light { background: var(--pm-surface); padding: 24px; border-radius: var(--pm-radius); box-shadow: var(--pm-shadow); }
.pm-style-plain { background: transparent; }
.pm-style-dark {
	--pm-surface: #121a2b; --pm-surface-2: #0f1626; --pm-border: rgba(255, 255, 255, .1); --pm-text: #cfd6e3; --pm-heading: #fff; --pm-muted: #94a0b6;
	background: radial-gradient(circle at 0 0, rgba(var(--pm-accent-rgb), .18), transparent 40%), var(--pm-dark); color: var(--pm-text);
	padding: 26px; border-radius: var(--pm-radius); box-shadow: var(--pm-shadow-lg);
}
.pm-style-accent { background: linear-gradient(135deg, rgba(var(--pm-accent-rgb), .12), rgba(var(--pm-primary-rgb), .06)); border: 1px solid rgba(var(--pm-accent-rgb), .3); padding: 24px; border-radius: var(--pm-radius); }
.pm-cards-border .pm-style-light { box-shadow: none; border: 1px solid var(--pm-border); }
.pm-cards-flat .pm-style-light { box-shadow: none; }
.pm-empty { padding: 16px; border: 1px dashed var(--pm-border); border-radius: var(--pm-radius); color: var(--pm-muted); }

/* ==========================================================================
   10. Cards
   ========================================================================== */
.pm-card { position: relative; min-width: 0; }
.pm-thumb { position: relative; overflow: hidden; border-radius: var(--pm-radius); background: var(--pm-surface-2); aspect-ratio: 16 / 10; }
.pm-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--pm-ease); }
.pm-card:hover .pm-thumb img { transform: scale(1.06); }
.pm-thumb a { display: block; height: 100%; }
.pm-noimg { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--pm-dark), rgba(var(--pm-primary-rgb), .85)); }
.pm-noimg span { font: 800 40px/1 var(--pm-font-head); background: var(--pm-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pm-card-overlay .pm-format { left: auto; bottom: auto; right: 14px; top: 14px; z-index: 3; }
.pm-format { position: absolute; left: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; backdrop-filter: blur(4px); border: 2px solid rgba(255, 255, 255, .7); }

.pm-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pm-cat {
	--pm-cat: var(--pm-primary);
	display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 12.5px; font-weight: 700; line-height: 1.5;
	background: var(--pm-cat); color: #fff; letter-spacing: .2px;
}
.pm-cat:hover { color: #fff; filter: brightness(1.12); }

.pm-card-title { font-size: 18px; line-height: 1.45; margin: 0 0 8px; }
.pm-card-title a {
	color: var(--pm-heading);
	background: linear-gradient(var(--pm-accent), var(--pm-accent)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--pm-ease), color .2s;
}
.pm-card-title a:hover { color: var(--pm-primary); background-size: 100% 2px; }
.pm-excerpt { color: var(--pm-muted); font-size: .92em; margin: 0 0 10px; line-height: 1.65; }

.pm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--pm-muted); }
.pm-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.pm-meta a { color: var(--pm-heading); font-weight: 600; }
.pm-meta a:hover { color: var(--pm-primary); }
.pm-meta .avatar { border-radius: 50%; width: 28px; height: 28px; }

/* grid card */
.pm-card-grid .pm-thumb { margin-bottom: 14px; }
.pm-card-grid.is-big .pm-card-title { font-size: clamp(22px, 2.2vw, 28px); }
.pm-card-grid.is-compact .pm-thumb { margin-bottom: 10px; }
.pm-card-grid.is-compact .pm-card-title { font-size: 16px; }
.pm-card-grid.is-compact .pm-cats { display: none; }

/* overlay card */
.pm-card-overlay { border-radius: var(--pm-radius); overflow: hidden; min-height: 220px; color: #fff; isolation: isolate; height: 100%; }
.pm-card-overlay .pm-thumb { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.pm-card-overlay::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(5, 8, 15, .55) 55%, rgba(5, 8, 15, .92) 100%); transition: .4s; }
.pm-card-overlay:hover::after { background: linear-gradient(180deg, rgba(0, 0, 0, .05) 15%, rgba(var(--pm-dark-rgb), .65) 50%, rgba(var(--pm-dark-rgb), .96) 100%); }
.pm-overlay-link { position: absolute; inset: 0; z-index: 2; }
.pm-card-overlay .pm-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 20px; pointer-events: none; }
.pm-card-overlay .pm-card-body a { pointer-events: auto; }
.pm-card-overlay .pm-card-title { font-size: 19px; margin-bottom: 6px; }
.pm-card-overlay .pm-card-title a { color: #fff; }
.pm-card-overlay .pm-card-title a:hover { color: #fff; }
.pm-card-overlay .pm-excerpt { color: rgba(255, 255, 255, .8); }
.pm-card-overlay .pm-meta, .pm-card-overlay .pm-meta a { color: rgba(255, 255, 255, .85); }
.pm-card-overlay.is-big .pm-card-body { padding: 30px; }
.pm-card-overlay.is-big .pm-card-title { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.3; }

/* list card */
.pm-card-list { display: grid; grid-template-columns: 38% 1fr; gap: 22px; align-items: center; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--pm-border); }
.pm-card-list:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.pm-card-list .pm-card-title { font-size: 21px; }

/* mini card */
.pm-card-mini { display: grid; grid-template-columns: 100px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--pm-border); }
.pm-card-mini:last-child { border-bottom: 0; }
.pm-card-mini.no-img { grid-template-columns: 1fr; }
.pm-card-mini .pm-thumb { aspect-ratio: 4 / 3; border-radius: calc(var(--pm-radius) * .7); }
.pm-card-mini .pm-card-title { font-size: 15.5px; margin-bottom: 4px; line-height: 1.45; }
.pm-card-mini .pm-meta { font-size: 12px; }

/* ==========================================================================
   11. Block layouts
   ========================================================================== */
.pm-grid { display: grid; gap: 24px; }
.pm-cols-1 { grid-template-columns: 1fr; }
.pm-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pm-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pm-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pm-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.pm-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.pm-hero-main .pm-card-overlay { min-height: 440px; }
.pm-hero-side { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }

.pm-biglist { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; }
.pm-biglist-side .pm-card-mini:first-child { padding-top: 0; }

.pm-overlay-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.pm-overlay-grid > :first-child { grid-column: span 2; grid-row: span 2; }

.pm-list .pm-card-list:first-child { padding-top: 0; }

.pm-slider { position: relative; overflow: hidden; border-radius: var(--pm-radius); }
.pm-slider-track { display: flex; transition: transform .7s var(--pm-ease); }
.pm-slide { flex: 0 0 100%; min-width: 0; }
.pm-slide .pm-card-overlay { min-height: 460px; border-radius: 0; }
.pm-slider-prev, .pm-slider-next, .pm-car-prev, .pm-car-next {
	position: absolute; top: 50%; z-index: 5; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
	background: rgba(0, 0, 0, .35); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); transition: .25s; opacity: 0;
}
.pm-slider:hover .pm-slider-prev, .pm-slider:hover .pm-slider-next, .pm-carousel:hover .pm-car-prev, .pm-carousel:hover .pm-car-next { opacity: 1; }
.pm-slider-prev:hover, .pm-slider-next:hover, .pm-car-prev:hover, .pm-car-next:hover { background: var(--pm-accent); color: #111; border-color: var(--pm-accent); }
.pm-slider-prev, .pm-car-prev { left: 16px; }
.pm-slider-next, .pm-car-next { right: 16px; }
.pm-slider-dots { position: absolute; right: 24px; top: 22px; z-index: 5; display: flex; gap: 6px; }
.pm-slider-dots button { width: 9px; height: 9px; border-radius: 10px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); transition: .3s; }
.pm-slider-dots button.active { width: 28px; background: var(--pm-accent); }

.pm-carousel { position: relative; }
.pm-carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.pm-carousel-track::-webkit-scrollbar { display: none; }
.pm-carousel-track > * { scroll-snap-align: start; }
.pm-car-prev, .pm-car-next { top: 34%; background: var(--pm-dark); }
.pm-layout-right .pm-carousel-track, .pm-layout-left .pm-carousel-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }

.pm-numbered { list-style: none; margin: 0; padding: 0; counter-reset: pm; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 30px; }
.pm-numbered li { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 4px; border-bottom: 1px solid var(--pm-border); }
.pm-numbered li .pm-card-mini { border: 0; }
.pm-numbered li:first-child { grid-column: 1 / -1; }
.pm-numbered li:first-child .pm-card-mini { grid-template-columns: 200px 1fr; }
.pm-numbered li:first-child .pm-card-title { font-size: 20px; }
.pm-num {
	font: 800 38px/1 var(--pm-font-head); background: var(--pm-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.pm-catcols { display: grid; gap: 26px; }
.pm-catcols.pm-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pm-catcols.pm-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pm-catcols.pm-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pm-catcol .pm-card-grid { margin-bottom: 6px; }
.pm-catcol .pm-section-title { font-size: 19px; }

/* ==========================================================================
   12. Featured area
   ========================================================================== */
.pm-featured { padding-top: var(--pm-gap); }
.pm-feat-grid { display: grid; gap: 14px; }
.pm-featured-mosaic .pm-feat-grid { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; }
.pm-featured-mosaic .pm-feat-grid > :first-child { grid-row: span 2; }
.pm-featured-trio .pm-feat-grid { grid-template-columns: repeat(3, 1fr); }
.pm-featured-trio .pm-card-overlay { min-height: 460px; }
.pm-featured-slider .pm-container { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.pm-feat-slider .pm-card-overlay { min-height: 514px; }
.pm-feat-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.pm-home-widgets { margin-top: var(--pm-gap); }

/* ==========================================================================
   13. Sidebar & widgets
   ========================================================================== */
.pm-sidebar .widget {
	background: var(--pm-surface); border-radius: var(--pm-radius); padding: 22px; margin-bottom: var(--pm-gap); box-shadow: var(--pm-shadow);
}
.pm-cards-border .pm-sidebar .widget { box-shadow: none; border: 1px solid var(--pm-border); }
.widget-title { font-size: 18px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--pm-border); position: relative; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 52px; height: 2px; background: var(--pm-primary); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget > ul.pm-social > li { border: 0; padding: 0; }
.widget > ul > li, .widget .menu > li, .widget_categories li, .widget_archive li { padding: 8px 0; border-bottom: 1px dashed var(--pm-border); }
.widget li a { color: var(--pm-text); }
.widget li a:hover { color: var(--pm-primary); }
.widget_categories li, .widget_archive li { display: flex; justify-content: space-between; }
.tagcloud a, .pm-tags a { display: inline-block; margin: 0 6px 8px 0; padding: 5px 12px; font-size: 13.5px !important; border: 1px solid var(--pm-border); border-radius: 30px; color: var(--pm-text); }
.tagcloud a:hover, .pm-tags a:hover { background: var(--pm-primary); border-color: var(--pm-primary); color: #fff; }
.pm-wposts .pm-card-overlay { min-height: 200px; margin-bottom: 8px; }
.pm-wnum { display: grid; grid-template-columns: 44px 1fr; align-items: center; border-bottom: 1px solid var(--pm-border); }
.pm-wnum .pm-card-mini { border: 0; }
.pm-wnum .pm-num { font-size: 30px; }
.pm-sidebar-sticky-ad { position: sticky; top: 90px; }

.pm-tab-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--pm-surface-2); padding: 4px; border-radius: calc(var(--pm-radius) * .8); margin-bottom: 8px; }
.pm-tab-nav button { border: 0; background: transparent; padding: 8px 4px; border-radius: calc(var(--pm-radius) * .6); font-weight: 600; font-size: 14px; color: var(--pm-muted); }
.pm-tab-nav button.active { background: var(--pm-dark); color: #fff; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .6); }
.pm-tab-pane { display: none; }
.pm-tab-pane.active { display: block; animation: pm-fadeup .4s var(--pm-ease); }

/* ==========================================================================
   14. Page heads, breadcrumbs, pagination
   ========================================================================== */
.pm-page-head { padding: 26px 0 0; }
.pm-archive-head { --pm-cat: var(--pm-primary); padding: 34px 0; background: linear-gradient(135deg, var(--pm-surface) 60%, rgba(var(--pm-accent-rgb), .12)); border-bottom: 1px solid var(--pm-border); position: relative; }
.pm-archive-head::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--pm-cat); }
.pm-archive-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--pm-cat, var(--pm-primary)); margin-bottom: 4px; }
.pm-page-title { font-size: clamp(28px, 3.6vw, 42px); margin: 0; }
.pm-archive-desc { color: var(--pm-muted); max-width: 760px; margin-top: 8px; }
.pm-subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pm-subcats a { padding: 6px 14px; border-radius: 30px; background: var(--pm-surface); border: 1px solid var(--pm-border); color: var(--pm-text); font-size: 14px; font-weight: 600; }
.pm-subcats a:hover { border-color: var(--pm-primary); color: var(--pm-primary); }
.pm-author-head { display: flex; gap: 18px; align-items: center; }
.pm-author-head .avatar { border-radius: 50%; border: 3px solid var(--pm-accent); }
.pm-search-inline { max-width: 520px; margin-top: 16px; }

.pm-breadcrumbs { font-size: 13.5px; color: var(--pm-muted); margin-bottom: 12px; }
.pm-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.pm-breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--pm-accent); }
.pm-breadcrumbs a { color: var(--pm-muted); }
.pm-breadcrumbs a:hover { color: var(--pm-primary); }
.pm-breadcrumbs li:last-child span { color: var(--pm-heading); display: inline-block; max-width: 420px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }

.pm-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 34px 0 10px; }
.pm-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: calc(var(--pm-radius) * .8); background: var(--pm-surface); border: 1px solid var(--pm-border); color: var(--pm-text); font-weight: 600; }
.pm-pagination .page-numbers.current, .pm-pagination a.page-numbers:hover { background: var(--pm-dark); border-color: var(--pm-dark); color: var(--pm-accent); }
.pm-pagination .dots { border: 0; background: none; }

.pm-archive-posts.pm-classic > .pm-card { background: var(--pm-surface); padding: 22px; border-radius: var(--pm-radius); box-shadow: var(--pm-shadow); margin-bottom: var(--pm-gap); }
.pm-archive-posts.pm-list { background: var(--pm-surface); padding: 24px; border-radius: var(--pm-radius); box-shadow: var(--pm-shadow); }
.pm-archive-posts.pm-grid > .pm-card { background: var(--pm-surface); border-radius: var(--pm-radius); padding: 14px 14px 18px; box-shadow: var(--pm-shadow); }
.pm-archive-posts .pm-ad-infeed { grid-column: 1 / -1; }

.pm-none { background: var(--pm-surface); padding: 40px; border-radius: var(--pm-radius); text-align: center; }
.pm-none .pm-search-form { max-width: 480px; margin: 0 auto; }

/* ==========================================================================
   15. Single post
   ========================================================================== */
.pm-single { background: var(--pm-surface); border-radius: var(--pm-radius); padding: clamp(20px, 3vw, 40px); box-shadow: var(--pm-shadow); }
.pm-subtitle { color: var(--pm-primary); font-weight: 700; margin: 0 0 6px; font-size: 1.02em; }
.pm-entry-title { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.3; margin: 0 0 14px; letter-spacing: -.2px; }
.pm-entry-lead { font-size: 1.12em; color: var(--pm-muted); border-left: 3px solid var(--pm-accent); padding-left: 16px; margin: 0 0 18px; }
.pm-entry-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--pm-border); border-bottom: 1px solid var(--pm-border); margin-bottom: 18px; }
.pm-entry-tools { display: flex; gap: 6px; }
.pm-font-btn { width: 38px; height: 34px; border-radius: 8px; border: 1px solid var(--pm-border); background: var(--pm-surface-2); font-weight: 700; font-size: 13px; color: var(--pm-text); }
.pm-font-btn:hover { border-color: var(--pm-accent); color: var(--pm-primary); }
.pm-updated { font-size: 13px; color: var(--pm-muted); display: flex; align-items: center; gap: 6px; margin-top: -6px; }
.pm-entry-image { margin: 0 0 20px; }
.pm-entry-image img { width: 100%; border-radius: var(--pm-radius); }
.pm-entry-image figcaption { font-size: 13px; color: var(--pm-muted); padding: 8px 2px 0; border-bottom: 1px solid var(--pm-border); padding-bottom: 8px; }

.pm-single-hero { position: relative; }
.pm-single-hero-img img { width: 100%; height: 70vh; min-height: 420px; max-height: 720px; object-fit: cover; }
.pm-single-hero-overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 20%, rgba(5, 8, 15, .92)); }
.pm-single-hero-text { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 2; color: #fff; }
.pm-single-hero-text .pm-entry-title { color: #fff; max-width: 920px; }
.pm-single-hero-text .pm-subtitle { color: var(--pm-accent); }
.pm-single-hero-text .pm-meta, .pm-single-hero-text .pm-meta a { color: rgba(255, 255, 255, .85); }
.pm-single-hero-wide .pm-single-hero-img img { height: 56vh; }

.pm-entry-content { font-size: 1.06em; line-height: 1.9; overflow-wrap: break-word; }
.pm-entry-content > * { margin-bottom: 1.3em; }
.pm-entry-content h2 { font-size: 1.6em; margin-top: 1.6em; }
.pm-entry-content h3 { font-size: 1.35em; margin-top: 1.4em; }
.pm-entry-content a { text-decoration: underline; text-decoration-color: rgba(var(--pm-accent-rgb), .6); text-underline-offset: 3px; }
.pm-entry-content blockquote {
	margin: 1.6em 0; padding: 22px 26px 22px 60px; background: var(--pm-surface-2); border-radius: var(--pm-radius); position: relative;
	font-family: var(--pm-font-head); font-size: 1.1em; border-left: 4px solid var(--pm-accent);
}
.pm-entry-content blockquote::before { content: "“"; position: absolute; left: 16px; top: 4px; font-size: 64px; line-height: 1; color: var(--pm-accent); font-family: Georgia, serif; }
.pm-entry-content blockquote p:last-child { margin: 0; }
.pm-entry-content ul, .pm-entry-content ol { padding-left: 1.4em; }
.pm-entry-content li { margin-bottom: .4em; }
.pm-entry-content img { border-radius: calc(var(--pm-radius) * .8); }
.pm-entry-content table { width: 100%; border-collapse: collapse; font-size: .95em; }
.pm-entry-content th, .pm-entry-content td { border: 1px solid var(--pm-border); padding: 10px 12px; text-align: left; }
.pm-entry-content th { background: var(--pm-surface-2); }
.pm-entry-content pre { background: #0f172a; color: #e2e8f0; padding: 18px; border-radius: var(--pm-radius); overflow-x: auto; font-size: .85em; }
.pm-entry-content code { background: var(--pm-surface-2); padding: 2px 6px; border-radius: 4px; font-size: .88em; }
.pm-entry-content pre code { background: none; padding: 0; }
.pm-entry-content iframe { width: 100%; border-radius: var(--pm-radius); }
.pm-entry-content .wp-block-embed iframe { aspect-ratio: 16 / 9; height: auto; }
.wp-caption, .wp-block-image figcaption { font-size: 13.5px; color: var(--pm-muted); text-align: center; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.pm-layout-none .alignwide { margin-left: -60px; margin-right: -60px; max-width: calc(100% + 120px); }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.pm-page-links { display: flex; gap: 8px; align-items: center; margin-top: 20px; font-weight: 600; }
.sticky .pm-card-title a::before { content: "★ "; color: var(--pm-accent); }

.pm-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0; }
.pm-share-label { font-weight: 700; color: var(--pm-heading); margin-right: 4px; }
.pm-share a, .pm-copy-link { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 0; transition: transform .2s var(--pm-ease); }
.pm-share a:hover, .pm-copy-link:hover { transform: translateY(-3px); color: #fff; }
.pm-share .pm-s-facebook { background: #1877f2; }
.pm-share .pm-s-x { background: #000; }
.pm-share .pm-s-whatsapp { background: #25d366; }
.pm-share .pm-s-telegram { background: #229ed9; }
.pm-share .pm-s-linkedin { background: #0a66c2; }
.pm-share .pm-s-pinterest { background: #e60023; }
.pm-copy-link { background: var(--pm-dark); }
.pm-copy-link.is-copied { background: #16a34a; }

.pm-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 24px 0; }
.pm-tags span { font-weight: 700; margin-right: 10px; margin-bottom: 8px; color: var(--pm-heading); }

.pm-author-box { display: flex; gap: 20px; padding: 24px; margin: 30px 0; border-radius: var(--pm-radius); background: linear-gradient(135deg, var(--pm-surface-2), rgba(var(--pm-accent-rgb), .08)); border: 1px solid var(--pm-border); }
.pm-author-avatar img { border-radius: 50%; border: 3px solid var(--pm-accent); }
.pm-author-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--pm-muted); }
.pm-author-info h4 { margin: 2px 0 6px; font-size: 20px; }
.pm-author-info h4 a { color: var(--pm-heading); }
.pm-author-info p { margin: 0; color: var(--pm-muted); font-size: .94em; }

.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.post-navigation a { display: block; height: 100%; padding: 18px; border: 1px solid var(--pm-border); border-radius: var(--pm-radius); color: var(--pm-heading); transition: .25s; }
.post-navigation a:hover { border-color: var(--pm-accent); box-shadow: var(--pm-shadow); }
.post-navigation .nav-next { text-align: right; }
.pm-nav-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--pm-primary); font-weight: 700; margin-bottom: 4px; }
.pm-nav-title { font-family: var(--pm-font-head); font-weight: 600; line-height: 1.45; }

.pm-related { margin-top: 34px; }
.pm-related .pm-card-title { font-size: 16.5px; }

.pm-comments { margin-top: 40px; }
.pm-comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.pm-comment-list .children { list-style: none; padding-left: 40px; }
.pm-comment-list .comment-body { padding: 18px; border: 1px solid var(--pm-border); border-radius: var(--pm-radius); margin-bottom: 14px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata { font-size: 12.5px; margin: 4px 0 10px; }
.comment-metadata a { color: var(--pm-muted); }
.reply a { font-size: 13px; font-weight: 700; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent input { width: auto; margin-top: 6px; }

.pm-page { background: var(--pm-surface); border-radius: var(--pm-radius); padding: clamp(20px, 3vw, 40px); box-shadow: var(--pm-shadow); }
.pm-fullwidth { margin-top: var(--pm-gap); }
.pm-home-page-content { margin-top: var(--pm-gap); }

/* ==========================================================================
   16. Ads
   ========================================================================== */
.pm-ad { text-align: center; margin: 22px auto; max-width: 100%; overflow: hidden; clear: both; }
.pm-ad-label { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--pm-muted); margin-bottom: 4px; opacity: .8; }
.pm-ad-inner { display: flex; justify-content: center; }
.pm-ad-inner > * { max-width: 100%; }
.pm-ad-inner ins { display: block; min-width: 250px; }
.pm-ad-row { margin-top: 18px; }
.pm-ad-row .pm-ad { margin: 0 auto; }
.pm-ad-incontent { padding: 10px 0; border-top: 1px solid var(--pm-border); border-bottom: 1px solid var(--pm-border); }
.pm-ad-between { margin: 0 0 var(--pm-gap); }
.pm-ad-placeholder { padding: 30px; text-align: center; border: 2px dashed var(--pm-accent); color: var(--pm-muted); border-radius: var(--pm-radius); }
.pm-mobile-anchor { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; background: var(--pm-surface); box-shadow: 0 -6px 20px rgba(0, 0, 0, .15); padding: 4px 0 2px; }
.pm-mobile-anchor .pm-ad { margin: 0 auto; }
.pm-mobile-anchor .pm-ad-label { display: none; }
.pm-anchor-close { position: absolute; top: -26px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 6px 6px 0 0; background: var(--pm-surface); color: var(--pm-text); font-size: 18px; line-height: 1; box-shadow: 0 -4px 10px rgba(0, 0, 0, .1); }
.pm-mobile-anchor.is-closed { display: none; }
@media (min-width: 768px) { .pm-ad-dev-mobile { display: none !important; } }
@media (max-width: 767px) { .pm-ad-dev-desktop { display: none !important; } }

/* ==========================================================================
   17. Footer
   ========================================================================== */
.pm-footer {
	--pm-surface: #121a2b; --pm-surface-2: #0f1626; --pm-border: rgba(255, 255, 255, .09); --pm-text: #aeb7c8; --pm-heading: #fff; --pm-muted: #7f8aa0;
	background: var(--pm-dark); color: var(--pm-text); margin-top: 20px; position: relative;
}
.pm-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--pm-gold); }
.pm-footer-brand { padding: 46px 0 30px; border-bottom: 1px solid var(--pm-border); background: radial-gradient(circle at 50% -40%, rgba(var(--pm-accent-rgb), .18), transparent 60%); }
.pm-footer-brand-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.pm-footer-brand .pm-site-title a { color: #fff; }
.pm-footer-logo { max-height: 70px; width: auto; }
.pm-footer-about { max-width: 640px; margin: 0; }
.pm-footer-widgets { padding: 44px 0 20px; }
.pm-footer-grid { display: grid; gap: 34px; }
.pm-fcols-1 { grid-template-columns: 1fr; }
.pm-fcols-2 { grid-template-columns: repeat(2, 1fr); }
.pm-fcols-3 { grid-template-columns: repeat(3, 1fr); }
.pm-fcols-4 { grid-template-columns: repeat(4, 1fr); }
.pm-footer .widget { margin-bottom: 26px; }
.pm-footer .widget-title { color: #fff; border-color: var(--pm-border); }
.pm-footer .widget-title::after { background: var(--pm-accent); }
.pm-footer a { color: var(--pm-text); }
.pm-footer a:hover { color: var(--pm-accent); }
.pm-footer .pm-card-title a { color: #fff; }
.pm-footer-bottom { border-top: 1px solid var(--pm-border); background: rgba(0, 0, 0, .25); font-size: 14px; }
.pm-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; min-height: 62px; padding-top: 12px; padding-bottom: 12px; }
.pm-copyright p { margin: 0; }
.pm-footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }

/* ==========================================================================
   18. 404
   ========================================================================== */
.pm-404 { text-align: center; padding-top: 60px; }
.pm-404-code { font: 800 clamp(100px, 18vw, 180px)/1 var(--pm-font-head); background: var(--pm-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pm-404 .pm-search-form { max-width: 480px; margin: 20px auto; }
.pm-404 .pm-block { margin-top: 50px; text-align: left; }

/* Builder (Elementor) */
.pm-builder-content, .elementor-page .pm-content { padding-bottom: 0; }
.elementor-widget-primemag-post-block .pm-block { margin-bottom: 0; }
.pm-canvas { background: var(--pm-surface); }

/* ==========================================================================
   19. Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.pm-layout { grid-template-columns: minmax(0, 1fr) 300px; }
	.pm-layout-left { grid-template-columns: 300px minmax(0, 1fr); }
	.pm-cols-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.pm-menu-toggle { display: grid; }
	.pm-primary-menu { display: none; }
	.pm-nav-logo { display: block; flex: 1; }
	.pm-header-banner .pm-nav-logo:not(.is-on) { visibility: hidden; }
	.is-stuck .pm-nav-logo { visibility: visible !important; }
	.pm-layout, .pm-layout-left { grid-template-columns: minmax(0, 1fr); }
	.pm-layout-left .pm-primary { order: 0; }
	.pm-sticky-sidebar .pm-sidebar-inner { position: static; }
	.pm-cols-4, .pm-cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pm-hero { grid-template-columns: 1fr; }
	.pm-featured-mosaic .pm-feat-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 210px 210px; }
	.pm-featured-mosaic .pm-feat-grid > :first-child { grid-column: span 2; grid-row: auto; }
	.pm-featured-slider .pm-container { grid-template-columns: 1fr; }
	.pm-feat-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.pm-feat-side .pm-card-overlay { min-height: 220px; }
	.pm-feat-slider .pm-card-overlay { min-height: 400px; }
	.pm-carousel-track, .pm-layout-right .pm-carousel-track, .pm-layout-left .pm-carousel-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
	.pm-fcols-4 { grid-template-columns: repeat(2, 1fr); }
	.pm-header-ad { display: none; }
	.pm-banner-image { background-attachment: scroll; }
}
@media (max-width: 782px) {
	.admin-bar .pm-nav-wrap.is-sticky.is-stuck { top: 0; }
	.admin-bar .pm-progress { top: 0; }
}
@media (max-width: 767px) {
	:root { --pm-gap: 20px; }
	body { font-size: calc(var(--pm-base) - 1px); }
	.pm-container { padding: 0 14px; }
	.pm-topbar-text, .pm-topbar-menu { display: none; }
	.pm-banner-brand { flex-direction: column; text-align: center; gap: 10px; }
	.pm-banner-inner { justify-content: center; }
	.pm-banner-sub::before { display: none; }
	.pm-cols-2, .pm-cols-3, .pm-cols-4, .pm-cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.pm-archive-posts.pm-cols-2 { grid-template-columns: 1fr; }
	.pm-card-title { font-size: 16px; }
	.pm-excerpt { display: none; }
	.pm-card-grid.is-big .pm-excerpt, .pm-card-overlay.is-big .pm-excerpt { display: block; }
	.pm-style-light, .pm-style-dark, .pm-style-accent { padding: 16px; }
	.pm-hero-main .pm-card-overlay { min-height: 320px; }
	.pm-biglist, .pm-catcols.pm-cols-2, .pm-catcols.pm-cols-3, .pm-catcols.pm-cols-4 { grid-template-columns: 1fr; }
	.pm-overlay-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
	.pm-overlay-grid > :first-child { grid-column: span 2; grid-row: span 1; }
	.pm-card-overlay .pm-card-body { padding: 14px; }
	.pm-card-overlay .pm-card-title { font-size: 16px; }
	.pm-card-list { grid-template-columns: 120px 1fr; gap: 14px; }
	.pm-card-list .pm-card-title { font-size: 16.5px; }
	.pm-card-list .pm-cats { display: none; }
	.pm-slide .pm-card-overlay { min-height: 340px; }
	.pm-carousel-track, .pm-layout-right .pm-carousel-track, .pm-layout-left .pm-carousel-track { grid-auto-columns: 72%; }
	.pm-featured-mosaic .pm-feat-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 10px; }
	.pm-featured-mosaic .pm-feat-grid > :first-child { grid-column: span 2; }
	.pm-featured-mosaic .pm-card-overlay { min-height: 190px; }
	.pm-featured-mosaic .pm-card-overlay:not(:first-child) .pm-card-body { padding: 12px; }
	.pm-featured-mosaic .pm-card-overlay:not(:first-child) .pm-card-title { font-size: 14.5px; }
	.pm-featured-mosaic .pm-card-overlay:not(:first-child) .pm-cats { display: none; }
	.pm-featured-mosaic .pm-card-overlay:first-child { min-height: 320px; }
	.pm-featured-trio .pm-feat-grid { grid-template-columns: 1fr; }
	.pm-banner { min-height: calc(var(--pm-banner-h) * .7); }
	.pm-featured-trio .pm-card-overlay { min-height: 300px; }
	.pm-feat-side { grid-template-columns: 1fr; }
	.pm-numbered li:first-child .pm-card-mini { grid-template-columns: 110px 1fr; }
	.pm-section-title { font-size: 19px; }
	.pm-single { padding: 18px; }
	.pm-single-hero-img img { height: 52vh; min-height: 320px; }
	.pm-author-box { flex-direction: column; align-items: center; text-align: center; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.pm-fcols-2, .pm-fcols-3, .pm-fcols-4 { grid-template-columns: 1fr; }
	.pm-footer-bottom-inner { flex-direction: column; text-align: center; justify-content: center; }
	.pm-to-top { bottom: 80px; right: 14px; width: 42px; height: 42px; }
	.pm-layout-none .alignwide { margin-left: 0; margin-right: 0; max-width: 100%; }
	.pm-breadcrumbs li:last-child span { max-width: 200px; }
}
@media (max-width: 420px) {
	.pm-hero-side { grid-template-columns: 1fr 1fr; gap: 12px; }
	.pm-cols-2, .pm-cols-3, .pm-cols-4, .pm-cols-5 { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
	.pm-header, .pm-footer, .pm-sidebar, .pm-ad, .pm-share, .pm-related, .pm-comments, .pm-to-top, .post-navigation { display: none !important; }
	.pm-layout { display: block; }
	.pm-single { box-shadow: none; padding: 0; }
}
