/*
Theme Name: Jumlay Creative Portal
Theme URI: https://jumlay.com
Description: Creative content portal — quotes, shayari, jokes, greetings, and videos in Hindi and English. Free with ads, premium ad-free.
Author: Jumlay
Template: twentytwentyfive
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: jumlay-portal
*/

:root {
	--jumlay-ink: #1a1523;
	--jumlay-muted: #6b6478;
	--jumlay-surface: #faf8fc;
	--jumlay-surface-strong: #ffffff;
	--jumlay-border: #e8e0ef;
	--jumlay-accent: #c44b7a;
	--jumlay-accent-dark: #8b2f52;
	--jumlay-premium: #7c3aed;
	--jumlay-shadow: 0 10px 28px rgba(26, 21, 35, 0.07);
	--jumlay-max: 640px;
	--jumlay-header-h: 112px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	color: var(--jumlay-ink);
	background: #fefcff;
	font-size: 16px;
	line-height: 1.6;
}

body.jumlay-nav-open { overflow: hidden; }

.wp-site-blocks { padding-top: 0 !important; max-width: 100%; overflow-x: hidden; }

.jumlay-site-header {
	background: #fff;
	border-bottom: 1px solid var(--jumlay-border);
	position: sticky;
	top: 0;
	z-index: 100;
}

.jumlay-site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	max-width: var(--jumlay-max);
	margin: 0 auto;
}

.jumlay-brand-lockup .wp-block-site-title,
.jumlay-brand-lockup .wp-block-site-title a {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 800;
	text-decoration: none;
	color: var(--jumlay-accent-dark);
	white-space: nowrap;
}

.jumlay-header-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

.jumlay-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--jumlay-border);
	border-radius: 10px;
	background: #fff;
	color: var(--jumlay-ink);
	cursor: pointer;
	font-size: 1.2rem;
	line-height: 1;
}

.jumlay-account-link {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--jumlay-accent);
	text-decoration: none;
	padding: 0.45rem 0.65rem;
	border-radius: 999px;
	background: #fdf5f8;
	white-space: nowrap;
}

.jumlay-nav-panel {
	position: fixed;
	inset: var(--jumlay-header-h) 0 0 0;
	background: rgba(26, 21, 35, 0.35);
	z-index: 90;
}

.jumlay-nav-panel[hidden] { display: none !important; }

.jumlay-nav-panel__inner {
	background: #fff;
	padding: 0.75rem 1rem 1.25rem;
	max-height: calc(100vh - var(--jumlay-header-h));
	overflow-y: auto;
	border-bottom: 1px solid var(--jumlay-border);
	box-shadow: var(--jumlay-shadow);
}

.jumlay-nav-panel__link {
	display: block;
	padding: 0.85rem 0.5rem;
	border-bottom: 1px solid var(--jumlay-border);
	color: var(--jumlay-ink);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
}

.jumlay-nav-panel__link:last-child { border-bottom: 0; }

.jumlay-nav-panel__link.is-active,
.jumlay-nav-panel__link:hover { color: var(--jumlay-accent-dark); }

.jumlay-category-strip {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 0.55rem 1rem 0.75rem;
	max-width: 100%;
}

.jumlay-category-strip::-webkit-scrollbar { display: none; }

.jumlay-category-strip__link {
	flex: 0 0 auto;
	padding: 0.45rem 0.85rem;
	border: 1px solid var(--jumlay-border);
	border-radius: 999px;
	background: #fff;
	color: var(--jumlay-ink);
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 700;
	white-space: nowrap;
}

.jumlay-category-strip__link.is-active {
	background: var(--jumlay-accent);
	border-color: var(--jumlay-accent);
	color: #fff;
}

.jumlay-shell,
.jumlay-front-page,
.jumlay-single-shell,
.jumlay-archive-shell,
.jumlay-page-shell {
	max-width: var(--jumlay-max);
	margin: 0 auto;
	padding: 1rem 1rem 5rem;
}

.jumlay-section { padding-top: 0.5rem; }
.jumlay-section--compact { padding-top: 0.25rem; }

.jumlay-hero__title {
	font-size: clamp(1.45rem, 5vw, 2rem);
	line-height: 1.2;
	margin: 0 0 0.65rem;
}

.jumlay-hero__lead {
	margin: 0;
	color: var(--jumlay-muted);
	font-size: 0.95rem;
	line-height: 1.55;
}

.jumlay-hero__eyebrow,
.jumlay-brand-story__eyebrow {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--jumlay-accent-dark);
	margin: 0 0 0.35rem;
}

.jumlay-content-card,
.jumlay-single-card {
	padding: 1.25rem;
	border: 1px solid var(--jumlay-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--jumlay-shadow);
}

.jumlay-content-card__meta,
.jumlay-single-card__meta {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--jumlay-accent-dark);
	margin: 0 0 0.5rem;
}

.jumlay-content-card__title,
.jumlay-single-card__title {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	line-height: 1.3;
}

.jumlay-content-card__title a {
	color: var(--jumlay-ink);
	text-decoration: none;
}

.jumlay-content-card__excerpt,
.jumlay-single-card__body {
	color: var(--jumlay-muted);
	font-size: 0.95rem;
	line-height: 1.65;
}

.jumlay-single-card__body p:last-child { margin-bottom: 0; }

.jumlay-content-card__lang {
	display: inline-block;
	margin-top: 0.65rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: #f3ecfa;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--jumlay-premium);
}

.jumlay-content-card__cta {
	display: inline-block;
	margin-top: 1rem;
	padding: 0.7rem 1.1rem;
	border-radius: 999px;
	background: var(--jumlay-accent);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.9rem;
}

.jumlay-content-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.jumlay-content-list__item {
	border: 1px solid var(--jumlay-border);
	border-radius: 14px;
	background: #fff;
}

.jumlay-content-list__link {
	display: block;
	padding: 1rem;
	text-decoration: none;
	color: inherit;
}

.jumlay-content-list__label {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--jumlay-accent-dark);
	margin-bottom: 0.35rem;
}

.jumlay-content-list__title {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--jumlay-ink);
}

.jumlay-quote-block {
	padding: 1rem 1rem 1rem 1.1rem;
	border-left: 4px solid var(--jumlay-accent);
	border-radius: 0 12px 12px 0;
	background: #fdf8fb;
	font-size: 1.05rem;
	line-height: 1.65;
	font-style: italic;
	margin: 0 0 1rem;
}

.jumlay-share {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.25rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid var(--jumlay-border);
}

.jumlay-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0.55rem 0.95rem;
	border-radius: 999px;
	border: 1px solid var(--jumlay-border);
	background: #fff;
	color: var(--jumlay-ink);
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
}

.jumlay-share__btn--whatsapp {
	background: #25d366;
	border-color: #25d366;
	color: #fff;
}

.jumlay-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
	margin-top: 1rem;
}

.jumlay-post-nav__link {
	display: block;
	padding: 0.85rem;
	border: 1px solid var(--jumlay-border);
	border-radius: 12px;
	background: #fff;
	text-decoration: none;
	color: var(--jumlay-ink);
	min-height: 3.5rem;
}

.jumlay-post-nav__link--next { text-align: right; }

.jumlay-post-nav__link.is-disabled {
	opacity: 0.45;
	pointer-events: none;
}

.jumlay-post-nav__label {
	display: block;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--jumlay-muted);
	margin-bottom: 0.2rem;
}

.jumlay-post-nav__title {
	display: block;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.35;
}

.jumlay-sticky-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 80;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	background: #fff;
	border-top: 1px solid var(--jumlay-border);
	box-shadow: 0 -8px 24px rgba(26, 21, 35, 0.08);
	padding: 0.5rem;
	max-width: var(--jumlay-max);
	margin: 0 auto;
}

.jumlay-sticky-nav__link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.5rem 0.75rem;
	border-radius: 10px;
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--jumlay-ink);
	background: var(--jumlay-surface);
}

.jumlay-sticky-nav__link--next { background: var(--jumlay-accent); color: #fff; }
.jumlay-sticky-nav__link.is-disabled { opacity: 0.4; pointer-events: none; }

.jumlay-archive-title {
	font-size: 1.35rem;
	margin: 0 0 0.35rem;
}

.jumlay-archive-intro {
	margin: 0 0 1rem;
	color: var(--jumlay-muted);
	font-size: 0.92rem;
}

.jumlay-pricing { display: grid; gap: 1rem; margin: 1rem 0; }
.jumlay-pricing__card { padding: 1.25rem; border: 1px solid var(--jumlay-border); border-radius: 16px; background: #fff; }
.jumlay-pricing__card--premium { border-color: var(--jumlay-premium); }
.jumlay-pricing__price { font-size: 1.5rem; font-weight: 800; margin: 0.35rem 0; }
.jumlay-pricing__btn { display: inline-block; margin-top: 0.75rem; padding: 0.7rem 1rem; border-radius: 999px; background: var(--jumlay-accent); color: #fff; text-decoration: none; font-weight: 700; }

.jumlay-account-panel { padding: 1.25rem; border: 1px solid var(--jumlay-border); border-radius: 16px; background: #fff; }
.jumlay-plan-badge { display: inline-block; padding: 0.3rem 0.7rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.jumlay-plan-badge--free { background: #f3ecfa; color: var(--jumlay-muted); }
.jumlay-plan-badge--premium { background: #ede9fe; color: var(--jumlay-premium); }

.jumlay-premium-gate { padding: 1rem; border: 2px dashed var(--jumlay-border); border-radius: 14px; background: #faf8fc; margin-top: 1rem; }

.jumlay-ad-slot {
	margin: 1rem 0;
	padding: 0.75rem;
	min-height: 70px;
	border: 1px dashed var(--jumlay-border);
	border-radius: 12px;
	background: #faf8fc;
	text-align: center;
	color: var(--jumlay-muted);
	font-size: 0.78rem;
}

body.jumlay-ad-free .jumlay-ad-slot { display: none !important; }

.jumlay-site-footer {
	margin-top: 2rem;
	border-top: 1px solid var(--jumlay-border);
	padding: 1.25rem 1rem 1.5rem;
	max-width: var(--jumlay-max);
	margin-left: auto;
	margin-right: auto;
}

.jumlay-site-footer__copy { margin: 0; color: var(--jumlay-muted); font-size: 0.85rem; line-height: 1.5; }

.jumlay-newsletter-form { display: grid; gap: 0.65rem; margin-top: 0.75rem; }
.jumlay-newsletter-form input[type="email"] { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--jumlay-border); border-radius: 999px; }
.jumlay-newsletter-form button { padding: 0.75rem 1rem; border: 0; border-radius: 999px; background: var(--jumlay-accent); color: #fff; font-weight: 700; cursor: pointer; }

.jumlay-page-shell .wp-block-post-content { max-width: 100%; }

@media (min-width: 782px) {
	:root { --jumlay-header-h: 104px; }

	.jumlay-sticky-nav { display: none; }

	.jumlay-single-shell,
	.jumlay-archive-shell,
	.jumlay-front-page,
	.jumlay-page-shell {
		padding-bottom: 2rem;
	}
}

@media (max-width: 781px) {
	.jumlay-post-nav { display: none; }

	.jumlay-single-shell { padding-bottom: 5.5rem; }
}
