/* ==========================================================================
   Afghanha Lovable Port — main stylesheet
   Hand-ported from the Lovable prototype (src/styles.css + Tailwind utilities).
   All rules are scoped under `.afghanha-lovable` (added to <body>) so the theme
   never collides with, and is defended against, legacy plugin output.
   ========================================================================== */

/* ----------------------------------------------------------------------------
   1. Design tokens (from src/styles.css :root). Hex/rgba fallbacks first, then
   the exact oklch source values for browsers that support them.
   ---------------------------------------------------------------------------- */
.afghanha-lovable {
	--background: #faf9f6;
	--background: oklch(0.977 0.004 70);
	--foreground: #1d1a17;
	--foreground: oklch(0.18 0.006 45);
	--card: #fcfbf9;
	--card: oklch(0.986 0.003 70);
	--primary: #8b371f;
	--primary: oklch(0.45 0.12 37);
	--primary-foreground: #fbfaf8;
	--primary-foreground: oklch(0.98 0.004 70);
	--secondary: #ece9e4;
	--secondary: oklch(0.935 0.009 70);
	--muted: #ece9e4;
	--muted: oklch(0.935 0.009 70);
	--muted-foreground: #6f6a62;
	--muted-foreground: oklch(0.46 0.015 45);
	--accent: #8b371f;
	--accent: oklch(0.45 0.12 37);
	--accent-foreground: #fbfaf8;
	--accent-foreground: oklch(0.98 0.004 70);
	--border: rgba(29, 26, 23, 0.12);
	--border: oklch(0.18 0.006 45 / 12%);
	--input: rgba(29, 26, 23, 0.18);
	--input: oklch(0.18 0.006 45 / 18%);
	--radius: 0.15rem;

	--font-display: "Cormorant Garamond", "Times New Roman", Tahoma, Georgia, serif;
	--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Tahoma, Roboto, Arial, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

	--wrap: 80rem;   /* max-w-7xl */
	--pad: 1rem;     /* px-4 */
}

/* ----------------------------------------------------------------------------
   2. Base
   ---------------------------------------------------------------------------- */
.afghanha-lovable {
	margin: 0;
	background-color: var(--background);
	color: var(--foreground);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.afghanha-lovable *,
.afghanha-lovable *::before,
.afghanha-lovable *::after {
	box-sizing: border-box;
	border-color: var(--border);
}

.afghanha-lovable img {
	max-width: 100%;
	height: auto;
}

.afghanha-lovable a {
	color: inherit;
	text-decoration: none;
	outline-offset: 4px;
}

.afghanha-lovable h1,
.afghanha-lovable h2,
.afghanha-lovable h3,
.afghanha-lovable h4 {
	margin: 0;
	font-weight: 600;
}

.afghanha-lovable p {
	margin: 0;
}

.afghanha-lovable ::selection {
	background: color-mix(in oklab, var(--primary) 22%, transparent);
}

.afghanha-lovable button {
	font-family: inherit;
}

/* Accessibility helpers */
.afghanha-lovable .screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	width: 1px;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
	border: 0;
	padding: 0;
	margin: -1px;
}

.afghanha-lovable .al-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--foreground);
	color: var(--background);
	padding: 0.75rem 1rem;
	font-family: var(--font-mono);
	font-size: 0.75rem;
}
.afghanha-lovable .al-skip-link:focus {
	left: 1rem;
	top: 1rem;
}

/* Shared image behaviour */
.afghanha-lovable .al-img {
	display: block;
	width: 100%;
	object-fit: cover;
}

/* ----------------------------------------------------------------------------
   3. Layout containers
   ---------------------------------------------------------------------------- */
.afghanha-lovable .al-container {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--pad);
}
@media (min-width: 640px) {
	.afghanha-lovable .al-container {
		padding-inline: 1.5rem;
	}
}

/* ----------------------------------------------------------------------------
   4. Kicker / eyebrow (font-mono 10px uppercase tracking, primary)
   ---------------------------------------------------------------------------- */
.afghanha-lovable .al-kicker {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--primary);
	line-height: 1.4;
}
.afghanha-lovable .al-kicker--invert {
	color: var(--primary);
}
.afghanha-lovable .al-eyebrow {
	font-family: var(--font-mono);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted-foreground);
	margin: 0;
}

/* ----------------------------------------------------------------------------
   5. Buttons (port of editorial / editorialOutline / editorialInverse)
   ---------------------------------------------------------------------------- */
.afghanha-lovable .al-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	height: 2.25rem;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	font-family: var(--font-sans);
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 0;
	background: transparent;
	color: var(--foreground);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.afghanha-lovable .al-btn svg {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}
.afghanha-lovable .al-btn--editorial {
	background: var(--foreground);
	color: var(--background);
}
.afghanha-lovable .al-btn--editorial:hover {
	background: var(--primary);
	color: var(--primary-foreground);
}
.afghanha-lovable .al-btn--outline {
	border-color: color-mix(in oklab, var(--foreground) 20%, transparent);
	background: transparent;
	color: var(--foreground);
}
.afghanha-lovable .al-btn--outline:hover {
	border-color: var(--primary);
	color: var(--primary);
}
.afghanha-lovable .al-btn--inverse {
	background: var(--background);
	color: var(--foreground);
}
.afghanha-lovable .al-btn--inverse:hover {
	background: var(--primary);
	color: var(--primary-foreground);
}
.afghanha-lovable .al-btn--sm {
	height: 2rem;
	padding: 0 0.75rem;
	font-size: 0.75rem;
}
.afghanha-lovable .al-btn--icon {
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
}

/* ----------------------------------------------------------------------------
   6. Header / masthead
   ---------------------------------------------------------------------------- */
.afghanha-lovable .al-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--border);
	background: color-mix(in oklab, var(--background) 95%, transparent);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
.afghanha-lovable .al-header .al-container {
	padding-block: 0.75rem;
}

.afghanha-lovable .al-masthead {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-masthead {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

.afghanha-lovable .al-masthead-issue {
	display: none;
	font-family: var(--font-mono);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--foreground);
}
@media (min-width: 640px) {
	.afghanha-lovable .al-masthead-issue {
		display: block;
	}
}

.afghanha-lovable .al-masthead-brand {
	min-width: 0;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-masthead-brand {
		text-align: center;
	}
}
.afghanha-lovable .al-brand {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.025em;
	text-transform: none;
	color: var(--foreground);
}
@media (min-width: 640px) {
	.afghanha-lovable .al-brand {
		font-size: 1.875rem;
	}
}
.afghanha-lovable .al-masthead-brand .custom-logo {
	display: inline-block;
	height: auto;
	max-height: 48px;
	width: auto;
}

.afghanha-lovable .al-masthead-actions {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: flex-end;
	gap: 0.25rem;
}
.afghanha-lovable .al-masthead-tagline {
	display: none;
	font-family: var(--font-mono);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--foreground);
	align-self: center;
	max-width: 16ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-masthead-tagline {
		display: inline;
	}
}

.afghanha-lovable .al-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: transparent;
	color: var(--foreground);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.afghanha-lovable .al-icon-btn:hover {
	background: var(--accent);
	color: var(--accent-foreground);
}
.afghanha-lovable .al-icon-btn svg {
	width: 1rem;
	height: 1rem;
}

/* Menu toggle: only below lg; icon swap handled by [aria-expanded] */
.afghanha-lovable .al-menu-toggle {
	display: inline-flex;
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-menu-toggle {
		display: none;
	}
}
.afghanha-lovable .al-menu-toggle .al-close-icon {
	display: none;
}
.afghanha-lovable .al-menu-toggle[aria-expanded="true"] .al-menu-icon {
	display: none;
}
.afghanha-lovable .al-menu-toggle[aria-expanded="true"] .al-close-icon {
	display: inline-flex;
}

/* Desktop nav row (thin editorial divider, centered) */
.afghanha-lovable .al-nav {
	display: none;
	margin-top: 0.75rem;
	padding-block: 0.75rem;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-nav {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 1.75rem;
		flex-wrap: wrap;
	}
}
.afghanha-lovable .al-nav-link {
	font-family: var(--font-mono);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.17em;
	color: var(--foreground);
	transition: color 0.2s ease;
}
.afghanha-lovable .al-nav-link:hover,
.afghanha-lovable .al-nav-link.is-current {
	color: var(--primary);
}

/* Search panel (revealed by the search toggle) */
.afghanha-lovable .al-search-panel {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--border);
}
.afghanha-lovable .al-search-panel[hidden] {
	display: none;
}

/* Mobile nav (controlled, two-column, clean) */
.afghanha-lovable .al-mobile-nav {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--border);
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
}
.afghanha-lovable .al-mobile-nav[hidden] {
	display: none;
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-mobile-nav {
		display: none !important;
	}
}
.afghanha-lovable .al-mobile-nav .al-nav-link {
	padding-block: 0.75rem;
	border-bottom: 1px solid var(--border);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
}

/* ----------------------------------------------------------------------------
   7. Footer
   ---------------------------------------------------------------------------- */
.afghanha-lovable .al-footer {
	margin-top: 4rem;
	border-top: 1px solid var(--border);
	background: var(--secondary);
	padding-block: 4rem;
	font-size: 0.875rem;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-footer {
		padding-block: 5rem;
	}
}
.afghanha-lovable .al-footer-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2.5rem;
}
@media (min-width: 768px) {
	.afghanha-lovable .al-footer-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-footer-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}
.afghanha-lovable .al-footer-brand {
	grid-column: span 2;
}
.afghanha-lovable .al-footer-wordmark {
	font-family: var(--font-display);
	font-size: 2.25rem;
	line-height: 1.1;
}
.afghanha-lovable .al-footer-desc {
	margin-top: 1.25rem;
	max-width: 24rem;
	line-height: 1.75;
	color: var(--muted-foreground);
}
.afghanha-lovable .al-footer-list-title {
	font-family: var(--font-mono);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0;
}
.afghanha-lovable .al-footer-list {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	color: var(--muted-foreground);
}
.afghanha-lovable .al-footer-list a:hover {
	color: var(--primary);
}
.afghanha-lovable .al-footer-follow {
	grid-column: span 2;
}
.afghanha-lovable .al-footer-social {
	margin-top: 1.25rem;
	display: flex;
	gap: 1.25rem;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
}
.afghanha-lovable .al-footer-note {
	margin-top: 2rem;
	font-size: 0.75rem;
	line-height: 1.5;
	color: var(--muted-foreground);
}
.afghanha-lovable .al-footer-bottom {
	margin-top: 3.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	font-family: var(--font-mono);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted-foreground);
}
@media (min-width: 640px) {
	.afghanha-lovable .al-footer-bottom {
		flex-direction: row;
		justify-content: space-between;
	}
}

/* ----------------------------------------------------------------------------
   8. Homepage
   ---------------------------------------------------------------------------- */
.afghanha-lovable .al-home {
	padding-top: 2rem;
	padding-bottom: 6rem;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-home {
		padding-top: 3rem;
	}
}

/* Hero */
.afghanha-lovable .al-hero {
	display: grid;
	gap: 2.5rem;
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-hero {
		grid-template-columns: repeat(12, 1fr);
		gap: 3rem;
	}
}
.afghanha-lovable .al-hero-main {
	grid-column: span 8;
}
.afghanha-lovable .al-hero-media {
	display: block;
	overflow: hidden;
}
.afghanha-lovable .al-hero-media .al-img {
	aspect-ratio: 16 / 9;
	transition: transform 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}
.afghanha-lovable .al-hero-media:hover .al-img {
	transform: scale(1.015);
}
.afghanha-lovable .al-hero-text {
	margin-top: 1.5rem;
	max-width: 48rem;
}
.afghanha-lovable .al-hero-title {
	margin-top: 1rem;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 6vw, 3rem);
	line-height: 0.98;
	letter-spacing: -0.025em;
	text-wrap: balance;
}
.afghanha-lovable .al-hero-deck {
	margin-top: 1.25rem;
	max-width: 42rem;
	font-size: 1.125rem;
	line-height: 1.78;
	color: var(--muted-foreground);
}
@media (min-width: 640px) {
	.afghanha-lovable .al-hero-title {
		font-size: 3.75rem;
	}
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-hero-title {
		font-size: 4.5rem;
	}
}

.afghanha-lovable .al-hero-aside {
	grid-column: span 4;
	border-top: 1px solid var(--border);
	padding-top: 1.5rem;
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-hero-aside {
		border-top: 0;
		border-left: 1px solid var(--border);
		padding-top: 0;
		padding-left: 2.5rem;
	}
}
.afghanha-lovable .al-hero-list {
	margin-top: 1.75rem;
	display: flex;
	flex-direction: column;
}
.afghanha-lovable .al-hero-list-item {
	display: block;
	padding-block: 1.5rem;
	border-top: 1px solid var(--border);
}
.afghanha-lovable .al-hero-list-item:first-child {
	border-top: 0;
	padding-top: 0;
}
.afghanha-lovable .al-hero-list-title {
	margin-top: 0.5rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.15;
}
.afghanha-lovable .al-hero-list-item:hover .al-hero-list-title {
	color: var(--primary);
}
.afghanha-lovable .al-hero-list-deck {
	margin-top: 0.75rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--muted-foreground);
}

/* News ticker */
.afghanha-lovable .al-ticker {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	margin-block: 4rem;
	padding-block: 0.75rem;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.afghanha-lovable .al-ticker-badge {
	position: relative;
	z-index: 10;
	flex-shrink: 0;
	align-self: center;
	background: var(--primary);
	color: var(--primary-foreground);
	padding: 0.25rem 0.75rem;
	font-family: var(--font-mono);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
.afghanha-lovable .al-ticker-track {
	display: flex;
	min-width: max-content;
	gap: 2.5rem;
	padding-left: 2rem;
	align-items: center;
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-style: italic;
}
.afghanha-lovable .al-ticker-sep {
	color: var(--muted-foreground);
}

/* Section heading */
.afghanha-lovable .al-section-heading {
	margin-bottom: 2rem;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	border-bottom: 1px solid var(--foreground);
	padding-bottom: 1rem;
}
.afghanha-lovable .al-section-heading h2 {
	font-family: var(--font-display);
	font-size: 2.25rem;
	line-height: 1;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-section-heading h2 {
		font-size: 3rem;
	}
}
.afghanha-lovable .al-section-link {
	display: none;
	font-family: var(--font-mono);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
.afghanha-lovable .al-section-link:hover {
	color: var(--primary);
}
@media (min-width: 640px) {
	.afghanha-lovable .al-section-link {
		display: block;
	}
}

/* Latest articles card grid */
.afghanha-lovable .al-card-grid {
	display: grid;
	gap: 3.5rem 2.5rem;
}
@media (min-width: 768px) {
	.afghanha-lovable .al-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.afghanha-lovable .al-card--wide {
		grid-column: span 2;
	}
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-card-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.afghanha-lovable .al-card--wide {
		grid-column: span 1;
	}
}
.afghanha-lovable .al-card-link {
	display: block;
}
.afghanha-lovable .al-card-media {
	display: block;
	overflow: hidden;
}
.afghanha-lovable .al-card-media .al-img {
	aspect-ratio: 4 / 3;
	transition: filter 0.5s ease;
}
.afghanha-lovable .al-card-link:hover .al-card-media .al-img {
	filter: grayscale(1);
}
.afghanha-lovable .al-card-body {
	display: block;
	margin-top: 1.25rem;
}
.afghanha-lovable .al-card-title {
	display: block;
	margin-top: 0.5rem;
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 1.05;
}
.afghanha-lovable .al-card-deck {
	display: block;
	margin-top: 0.75rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--muted-foreground);
}

/* Practical guides band */
.afghanha-lovable .al-guides {
	display: grid;
	gap: 2.5rem;
	margin-block: 6rem;
	padding-block: 3rem;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-guides {
		grid-template-columns: 1.2fr 0.8fr;
		gap: 3.5rem;
		align-items: center;
	}
}
.afghanha-lovable .al-guides-title {
	margin-top: 1rem;
	max-width: 36rem;
	font-family: var(--font-display);
	font-size: 3rem;
	line-height: 1;
}
.afghanha-lovable .al-guides-deck {
	margin-top: 1.5rem;
	max-width: 36rem;
	line-height: 1.75;
	color: var(--muted-foreground);
}
.afghanha-lovable .al-guides-cta {
	margin-top: 2rem;
}
.afghanha-lovable .al-guides-img {
	aspect-ratio: 16 / 10;
	margin-top: 2.5rem;
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-guides-img {
		margin-top: 0;
	}
}

/* Most read + newsletter split */
.afghanha-lovable .al-feature-split {
	display: grid;
	gap: 3.5rem;
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-feature-split {
		grid-template-columns: 1fr 1fr;
	}
}
.afghanha-lovable .al-mostread-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.afghanha-lovable .al-mostread-item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.25rem;
	align-items: baseline;
	padding-block: 1.25rem;
	border-top: 1px solid var(--border);
}
.afghanha-lovable .al-mostread-item:first-child {
	border-top: 0;
}
.afghanha-lovable .al-mostread-num {
	font-family: var(--font-display);
	font-size: 2.25rem;
	line-height: 1;
	color: var(--primary);
}
.afghanha-lovable .al-mostread-title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.15;
}
.afghanha-lovable .al-mostread-title:hover {
	color: var(--primary);
}

.afghanha-lovable .al-newsletter {
	background: var(--foreground);
	color: var(--background);
	padding: 2rem;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-newsletter {
		padding: 3rem;
	}
}
.afghanha-lovable .al-newsletter-title {
	margin-top: 1.25rem;
	font-family: var(--font-display);
	font-size: 3rem;
	line-height: 1;
}
.afghanha-lovable .al-newsletter-deck {
	margin-top: 1.25rem;
	max-width: 28rem;
	line-height: 1.75;
	opacity: 0.7;
}
.afghanha-lovable .al-newsletter-form {
	margin-top: 3rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border-bottom: 1px solid color-mix(in oklab, var(--background) 30%, transparent);
	padding-bottom: 0.75rem;
}
.afghanha-lovable .al-newsletter-input {
	min-width: 0;
	flex: 1;
	background: transparent;
	border: 0;
	color: inherit;
	font-family: var(--font-sans);
	font-size: 1rem;
	outline: none;
}
.afghanha-lovable .al-newsletter-input::placeholder {
	color: inherit;
	opacity: 0.5;
}
.afghanha-lovable .al-newsletter-social {
	margin-top: 2.5rem;
	display: flex;
	gap: 1.5rem;
	font-family: var(--font-mono);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	opacity: 0.6;
}

/* ----------------------------------------------------------------------------
   9. Archive / category / index
   ---------------------------------------------------------------------------- */
.afghanha-lovable .al-archive {
	padding-top: 3rem;
	padding-bottom: 6rem;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-archive {
		padding-top: 5rem;
	}
}
.afghanha-lovable .al-archive-header {
	display: grid;
	gap: 1.5rem;
	border-bottom: 1px solid var(--foreground);
	padding-bottom: 2.5rem;
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-archive-header {
		grid-template-columns: 1fr 1fr;
		align-items: end;
	}
}
.afghanha-lovable .al-archive-title {
	margin-top: 1.25rem;
	font-family: var(--font-display);
	font-size: clamp(3rem, 9vw, 4.5rem);
	line-height: 1;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-archive-title {
		font-size: 6rem;
	}
}
.afghanha-lovable .al-archive-desc {
	max-width: 36rem;
	font-size: 1.125rem;
	line-height: 1.78;
	color: var(--muted-foreground);
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-archive-desc {
		justify-self: end;
	}
}

.afghanha-lovable .al-filter {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	border-bottom: 1px solid var(--border);
	padding-block: 1.5rem;
	scrollbar-width: thin;
}

.afghanha-lovable .al-archive-grid {
	display: grid;
	gap: 3.5rem;
	padding-top: 3rem;
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-archive-grid {
		grid-template-columns: 1fr 300px;
	}
}

/* List rows */
.afghanha-lovable .al-list {
	display: flex;
	flex-direction: column;
}
.afghanha-lovable .al-list-item {
	display: grid;
	gap: 1.5rem;
	padding-block: 2rem;
	border-top: 1px solid var(--border);
}
.afghanha-lovable .al-list-item:first-child {
	border-top: 0;
	padding-top: 0;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-list-item {
		grid-template-columns: 220px 1fr;
	}
}
.afghanha-lovable .al-list-media {
	display: block;
	overflow: hidden;
}
.afghanha-lovable .al-list-media .al-img {
	aspect-ratio: 4 / 3;
	transition: filter 0.5s ease;
}
.afghanha-lovable .al-list-media:hover .al-img {
	filter: grayscale(1);
}
.afghanha-lovable .al-list-title {
	margin-top: 0.75rem;
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 1.15;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-list-title {
		font-size: 2.25rem;
	}
}
.afghanha-lovable .al-list-item a:hover .al-list-title {
	color: var(--primary);
}
.afghanha-lovable .al-list-deck {
	margin-top: 1rem;
	line-height: 1.75;
	color: var(--muted-foreground);
}
.afghanha-lovable .al-list-byline {
	margin-top: 1.25rem;
	font-family: var(--font-mono);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/* Sidebar */
.afghanha-lovable .al-sidebar-sticky {
	position: static;
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-sidebar-sticky {
		position: sticky;
		top: 9rem;
	}
}
.afghanha-lovable .al-sidebar-heading {
	border-bottom: 1px solid var(--foreground);
	padding-bottom: 0.75rem;
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 1;
}
.afghanha-lovable .al-editor-note {
	margin-top: 3rem;
	border: 1px solid var(--border);
	padding: 1.5rem;
}
.afghanha-lovable .al-editor-note-text {
	margin-top: 1rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.35;
}

/* Pagination */
.afghanha-lovable .al-pagination,
.afghanha-lovable .pagination {
	margin-top: 3.5rem;
}
.afghanha-lovable .al-pagination .nav-links,
.afghanha-lovable .pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}
.afghanha-lovable .al-pagination .page-numbers,
.afghanha-lovable .pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.75rem;
	border: 1px solid color-mix(in oklab, var(--foreground) 20%, transparent);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--foreground);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.afghanha-lovable .al-pagination .page-numbers.current,
.afghanha-lovable .pagination .page-numbers.current {
	background: var(--foreground);
	color: var(--background);
	border-color: var(--foreground);
}
.afghanha-lovable .al-pagination a.page-numbers:hover,
.afghanha-lovable .pagination a.page-numbers:hover {
	border-color: var(--primary);
	color: var(--primary);
}

/* Empty states */
.afghanha-lovable .al-empty {
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding-block: 5rem;
	text-align: center;
}
.afghanha-lovable .al-empty-title {
	font-family: var(--font-display);
	font-size: 3rem;
	line-height: 1.05;
}
.afghanha-lovable .al-empty-text {
	margin: 1rem auto 0;
	max-width: 28rem;
	line-height: 1.75;
	color: var(--muted-foreground);
}

/* ----------------------------------------------------------------------------
   10. Search
   ---------------------------------------------------------------------------- */
.afghanha-lovable .al-search {
	max-width: 72rem;
	padding-top: 3rem;
	padding-bottom: 6rem;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-search {
		padding-top: 5rem;
	}
}
.afghanha-lovable .al-search-title {
	margin-top: 1rem;
	font-family: var(--font-display);
	font-size: clamp(3.75rem, 12vw, 6rem);
	line-height: 1;
}
.afghanha-lovable .al-search-form {
	margin-top: 2.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border-bottom: 2px solid var(--foreground);
	padding-bottom: 0.75rem;
}
.afghanha-lovable .al-search-input {
	min-width: 0;
	flex: 1;
	background: transparent;
	border: 0;
	outline: none;
	font-family: var(--font-display);
	font-size: 1.875rem;
	color: var(--foreground);
}
@media (min-width: 640px) {
	.afghanha-lovable .al-search-input {
		font-size: 3rem;
	}
}
.afghanha-lovable .al-search-input::placeholder {
	color: var(--muted-foreground);
}
.afghanha-lovable .al-search-terms {
	margin-top: 1.75rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.afghanha-lovable .al-search-results {
	margin-top: 4rem;
}
.afghanha-lovable .al-section-heading--row {
	align-items: flex-end;
}
.afghanha-lovable .al-sorted {
	font-family: var(--font-mono);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted-foreground);
	white-space: nowrap;
}
.afghanha-lovable .al-search-list {
	display: flex;
	flex-direction: column;
}
.afghanha-lovable .al-search-result {
	display: grid;
	gap: 1.5rem;
	padding-block: 2rem;
	border-top: 1px solid var(--border);
	align-items: start;
}
.afghanha-lovable .al-search-result:first-child {
	border-top: 0;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-search-result {
		grid-template-columns: 180px 1fr auto;
	}
}
.afghanha-lovable .al-search-result-media {
	display: block;
	overflow: hidden;
}
.afghanha-lovable .al-search-result-media .al-img {
	aspect-ratio: 4 / 3;
	transition: filter 0.5s ease;
}
.afghanha-lovable .al-search-result-media:hover .al-img {
	filter: grayscale(1);
}
.afghanha-lovable .al-search-result-title {
	margin-top: 0.5rem;
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 1.15;
}
.afghanha-lovable .al-search-result-title:hover {
	color: var(--primary);
}
.afghanha-lovable .al-search-result-deck {
	margin-top: 0.75rem;
	max-width: 36rem;
	line-height: 1.75;
	color: var(--muted-foreground);
}
.afghanha-lovable .al-search-result-min {
	font-family: var(--font-mono);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted-foreground);
}
.afghanha-lovable .al-search-empty {
	margin-top: 5rem;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding-block: 5rem;
	text-align: center;
}
.afghanha-lovable .al-search-empty .al-btn {
	margin-top: 2rem;
}

/* Search form (header panel / 404) */
.afghanha-lovable .al-searchform {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border-bottom: 1px solid var(--foreground);
	padding-bottom: 0.5rem;
}
.afghanha-lovable .al-searchform-input {
	min-width: 0;
	flex: 1;
	background: transparent;
	border: 0;
	outline: none;
	font-family: var(--font-sans);
	font-size: 1rem;
	color: var(--foreground);
	padding: 0.25rem 0;
}

/* ----------------------------------------------------------------------------
   11. Single article
   ---------------------------------------------------------------------------- */
.afghanha-lovable .al-single {
	padding-bottom: 2rem;
}
.afghanha-lovable .al-article-header {
	max-width: 64rem;
	margin-inline: auto;
	padding: 3rem 1rem 2.5rem;
	text-align: center;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-article-header {
		padding: 5rem 1.5rem 2.5rem;
	}
}
.afghanha-lovable .al-article-title {
	max-width: 56rem;
	margin: 1.5rem auto 0;
	font-family: var(--font-display);
	font-size: clamp(3rem, 9vw, 3rem);
	line-height: 0.96;
	letter-spacing: -0.025em;
	text-wrap: balance;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-article-title {
		font-size: 4.5rem;
	}
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-article-title {
		font-size: 6rem;
	}
}
.afghanha-lovable .al-article-deck {
	max-width: 42rem;
	margin: 1.75rem auto 0;
	font-size: 1.125rem;
	line-height: 1.78;
	color: var(--muted-foreground);
}
@media (min-width: 640px) {
	.afghanha-lovable .al-article-deck {
		font-size: 1.25rem;
	}
}
.afghanha-lovable .al-article-meta {
	margin-top: 2rem;
	font-family: var(--font-mono);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
.afghanha-lovable .al-article-author {
	color: var(--foreground);
}
.afghanha-lovable .al-article-dot {
	margin-inline: 0.75rem;
	color: var(--muted-foreground);
}

.afghanha-lovable .al-article-figure {
	max-width: var(--wrap);
	margin: 0 auto;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-article-figure {
		padding-inline: 1.5rem;
	}
}
.afghanha-lovable .al-img--figure {
	aspect-ratio: 16 / 9;
}
.afghanha-lovable .al-article-figcaption {
	padding: 0.75rem 1rem 0;
	font-family: var(--font-mono);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--muted-foreground);
}
@media (min-width: 640px) {
	.afghanha-lovable .al-article-figcaption {
		padding-inline: 0;
	}
}

.afghanha-lovable .al-article-layout {
	max-width: 72rem;
	margin-inline: auto;
	display: grid;
	gap: 3rem;
	padding: 3.5rem 1rem;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-article-layout {
		padding-inline: 1.5rem;
	}
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-article-layout {
		grid-template-columns: 90px minmax(0, 680px) 1fr;
		padding-block: 5rem;
	}
}

.afghanha-lovable .al-share {
	display: flex;
	gap: 0.5rem;
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-share {
		position: sticky;
		top: 10rem;
		height: -moz-fit-content;
		height: fit-content;
		flex-direction: column;
	}
}

/* Article body */
.afghanha-lovable .al-article-body {
	font-family: var(--font-display);
	font-size: 1.4rem;
	line-height: 1.7;
	color: color-mix(in oklab, var(--foreground) 90%, transparent);
}
@media (min-width: 640px) {
	.afghanha-lovable .al-article-body {
		font-size: 1.55rem;
	}
}
.afghanha-lovable .al-article-body > p {
	margin: 0 0 0;
}
.afghanha-lovable .al-article-body > p + p,
.afghanha-lovable .al-article-body > * + p {
	margin-top: 2rem;
}
.afghanha-lovable .al-article-body > p:first-of-type::first-letter {
	float: left;
	margin-right: 0.75rem;
	font-family: var(--font-display);
	font-size: 6rem;
	line-height: 0.8;
	font-weight: 600;
}
.afghanha-lovable .al-article-body h2 {
	margin-top: 3.5rem;
	font-family: var(--font-display);
	font-size: 2.25rem;
	line-height: 1.15;
	color: var(--foreground);
}
.afghanha-lovable .al-article-body h3 {
	margin-top: 2.5rem;
	font-family: var(--font-display);
	font-size: 1.75rem;
	line-height: 1.2;
	color: var(--foreground);
}
.afghanha-lovable .al-article-body blockquote {
	margin: 3rem 0;
	border-top: 1px solid var(--primary);
	border-bottom: 1px solid var(--primary);
	padding-block: 2.25rem;
	text-align: center;
	font-family: var(--font-display);
	font-size: 2.25rem;
	font-style: italic;
	line-height: 1.15;
	color: var(--primary);
}
@media (min-width: 640px) {
	.afghanha-lovable .al-article-body blockquote {
		font-size: 3rem;
	}
}
.afghanha-lovable .al-article-body blockquote p {
	margin: 0;
}
.afghanha-lovable .al-article-body a {
	color: var(--primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.afghanha-lovable .al-article-body img {
	height: auto;
	margin-block: 2rem;
}
.afghanha-lovable .al-article-body ul,
.afghanha-lovable .al-article-body ol {
	margin: 2rem 0;
	padding-left: 1.5rem;
}
.afghanha-lovable .al-article-body li {
	margin-bottom: 0.5rem;
}

/* Right rail */
.afghanha-lovable .al-article-sidebar {
	border-top: 1px solid var(--border);
	padding-top: 2rem;
}
@media (min-width: 1024px) {
	.afghanha-lovable .al-article-sidebar {
		border-top: 0;
		border-left: 1px solid var(--border);
		padding-top: 0;
		padding-left: 2rem;
	}
}
.afghanha-lovable .al-sidebar-label {
	font-family: var(--font-mono);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0 0 1.25rem;
}
.afghanha-lovable .al-sidebar-label + .al-sidebar-rank {
	margin-top: 0;
}
.afghanha-lovable .al-sidebar-tags {
	list-style: none;
	margin: 0 0 2.5rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--muted-foreground);
}
.afghanha-lovable .al-sidebar-tags a:hover {
	color: var(--primary);
}
.afghanha-lovable .al-sidebar-rank {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.75rem;
	border-top: 1px solid var(--border);
	padding-top: 1.25rem;
	margin-top: 1.25rem;
}
.afghanha-lovable .al-sidebar-rank-num {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1;
	color: var(--primary);
}
.afghanha-lovable .al-sidebar-rank-title {
	font-family: var(--font-display);
	font-size: 1.125rem;
	line-height: 1.15;
}
.afghanha-lovable .al-sidebar-rank:hover .al-sidebar-rank-title {
	color: var(--primary);
}

/* Article foot: prev/next + related */
.afghanha-lovable .al-article-foot {
	max-width: 72rem;
	margin-inline: auto;
	border-top: 1px solid var(--border);
	padding: 3.5rem 1rem;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-article-foot {
		padding-inline: 1.5rem;
	}
}
.afghanha-lovable .al-prevnext {
	display: grid;
	gap: 2rem;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-prevnext {
		grid-template-columns: 1fr 1fr;
	}
}
.afghanha-lovable .al-prevnext-cell--next {
	text-align: right;
}
.afghanha-lovable .al-prevnext-label {
	display: block;
	font-family: var(--font-mono);
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted-foreground);
}
.afghanha-lovable .al-prevnext-title {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.75rem;
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 1.1;
}
.afghanha-lovable .al-prevnext-cell--next .al-prevnext-title {
	justify-content: flex-end;
}
.afghanha-lovable .al-prevnext-link:hover .al-prevnext-title {
	color: var(--primary);
}
.afghanha-lovable .al-related-heading {
	margin-top: 5rem;
	border-bottom: 1px solid var(--foreground);
	padding-bottom: 1rem;
	font-family: var(--font-display);
	font-size: 2.25rem;
	line-height: 1;
}
.afghanha-lovable .al-related-grid {
	margin-top: 2rem;
	display: grid;
	gap: 2rem;
}
@media (min-width: 768px) {
	.afghanha-lovable .al-related-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
.afghanha-lovable .al-related-card {
	display: block;
}
.afghanha-lovable .al-related-media {
	display: block;
	overflow: hidden;
	margin-bottom: 0.75rem;
}
.afghanha-lovable .al-related-media .al-img {
	aspect-ratio: 4 / 3;
	transition: filter 0.5s ease;
}
.afghanha-lovable .al-related-card:hover .al-related-media .al-img {
	filter: grayscale(1);
}
.afghanha-lovable .al-related-title {
	display: block;
	margin-top: 0.5rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.15;
}
.afghanha-lovable .al-related-card:hover .al-related-title {
	color: var(--primary);
}

/* ----------------------------------------------------------------------------
   12. Page
   ---------------------------------------------------------------------------- */
.afghanha-lovable .al-page {
	padding-top: 3rem;
	padding-bottom: 5rem;
}
@media (min-width: 640px) {
	.afghanha-lovable .al-page {
		padding-top: 4rem;
	}
}
.afghanha-lovable .al-page-header {
	max-width: 56rem;
	margin: 0 auto 2.5rem;
	text-align: center;
	border-bottom: 1px solid var(--border);
	padding-bottom: 2rem;
}
.afghanha-lovable .al-page-title {
	margin-top: 1rem;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 7vw, 4rem);
	line-height: 1.02;
	letter-spacing: -0.02em;
}
.afghanha-lovable .al-page-figure {
	max-width: var(--wrap);
	margin: 0 auto 2.5rem;
}
.afghanha-lovable .al-page-body {
	max-width: 44rem;
	margin: 0 auto;
	font-size: 1.0625rem;
	line-height: 1.75;
}
.afghanha-lovable .al-page-body > * + * {
	margin-top: 1.5rem;
}
.afghanha-lovable .al-page-body h2 {
	margin-top: 2.5rem;
	font-family: var(--font-display);
	font-size: 2rem;
	line-height: 1.15;
}
.afghanha-lovable .al-page-body h3 {
	margin-top: 2rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.2;
}
.afghanha-lovable .al-page-body a {
	color: var(--primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.afghanha-lovable .al-page-body ul,
.afghanha-lovable .al-page-body ol {
	padding-left: 1.5rem;
}
.afghanha-lovable .al-page-body img {
	height: auto;
}

/* ----------------------------------------------------------------------------
   13. 404
   ---------------------------------------------------------------------------- */
.afghanha-lovable .al-404 {
	padding-block: 6rem;
}
.afghanha-lovable .al-404-inner {
	max-width: 40rem;
	margin: 0 auto;
	text-align: center;
}
.afghanha-lovable .al-404-code {
	font-family: var(--font-display);
	font-size: clamp(5rem, 18vw, 9rem);
	line-height: 1;
	color: var(--primary);
}
.afghanha-lovable .al-404-title {
	margin-top: 1rem;
	font-family: var(--font-display);
	font-size: 2.25rem;
}
.afghanha-lovable .al-404-text {
	margin: 1rem auto 0;
	max-width: 30rem;
	line-height: 1.75;
	color: var(--muted-foreground);
}
.afghanha-lovable .al-404-search {
	max-width: 28rem;
	margin: 2rem auto;
}

/* ----------------------------------------------------------------------------
   14. Comments (minimal, on-brand)
   ---------------------------------------------------------------------------- */
.afghanha-lovable .al-comments {
	max-width: 44rem;
	margin: 0 auto;
	padding: 3rem 1rem 0;
}
.afghanha-lovable .comment-list {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
}
.afghanha-lovable .comment-list li {
	border-top: 1px solid var(--border);
	padding-block: 1.5rem;
}
.afghanha-lovable .comments-title,
.afghanha-lovable .comment-reply-title {
	font-family: var(--font-display);
	font-size: 2rem;
	line-height: 1.1;
}
.afghanha-lovable .comment-form input[type="text"],
.afghanha-lovable .comment-form input[type="email"],
.afghanha-lovable .comment-form input[type="url"],
.afghanha-lovable .comment-form textarea {
	width: 100%;
	border: 1px solid var(--input);
	background: var(--card);
	padding: 0.6rem 0.75rem;
	font-family: var(--font-sans);
	font-size: 0.95rem;
	color: var(--foreground);
}
.afghanha-lovable .comment-form .submit {
	display: inline-flex;
	align-items: center;
	height: 2.25rem;
	padding: 0 1rem;
	border: 0;
	background: var(--foreground);
	color: var(--background);
	font-weight: 500;
	cursor: pointer;
}

/* ----------------------------------------------------------------------------
   15. WordPress core / editor classes
   ---------------------------------------------------------------------------- */
.afghanha-lovable .alignleft {
	float: left;
	margin: 0.5rem 1.5rem 1rem 0;
}
.afghanha-lovable .alignright {
	float: right;
	margin: 0.5rem 0 1rem 1.5rem;
}
.afghanha-lovable .aligncenter {
	display: block;
	margin-inline: auto;
}
.afghanha-lovable .wp-caption {
	max-width: 100%;
}
.afghanha-lovable .wp-caption-text,
.afghanha-lovable figcaption {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--muted-foreground);
	margin-top: 0.5rem;
}
.afghanha-lovable .sticky-badge,
.afghanha-lovable .bypostauthor {
	/* no-op hooks to satisfy theme review */
}
.afghanha-lovable .wp-block-image img {
	height: auto;
}

/* Inline icons + small hooks */
.afghanha-lovable .al-icon {
	flex-shrink: 0;
}
.afghanha-lovable .al-menu-icon,
.afghanha-lovable .al-close-icon {
	display: inline-flex;
	align-items: center;
}
.afghanha-lovable .al-share-copy.is-copied {
	border-color: var(--primary);
	color: var(--primary);
}
.afghanha-lovable .al-prevnext-title .al-icon,
.afghanha-lovable .al-related-title .al-icon {
	width: 1.5rem;
	height: 1.5rem;
}
.afghanha-lovable .al-page-links {
	margin-top: 2rem;
	display: flex;
	gap: 0.5rem;
	font-family: var(--font-mono);
	font-size: 0.75rem;
}
.afghanha-lovable .al-page-links a {
	border: 1px solid var(--border);
	padding: 0.15rem 0.5rem;
}

/* Footer widget lists inherit the footer column look */
.afghanha-lovable .al-footer-widget ul {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	color: var(--muted-foreground);
}
.afghanha-lovable .al-footer-widget a:hover {
	color: var(--primary);
}

/* ----------------------------------------------------------------------------
   16. Animations (from src/styles.css)
   ---------------------------------------------------------------------------- */
@keyframes editorial-entrance {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes al-ticker {
	to {
		transform: translateX(-50%);
	}
}
.afghanha-lovable .editorial-entrance {
	animation: editorial-entrance 0.8s cubic-bezier(0.2, 1, 0.3, 1) both;
}
.afghanha-lovable .news-ticker {
	animation: al-ticker 42s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
	.afghanha-lovable .editorial-entrance,
	.afghanha-lovable .news-ticker {
		animation: none;
	}
}

/* ----------------------------------------------------------------------------
   17. RTL (Dari / Persian). Keep the Lovable layout; flip directional bits.
   ---------------------------------------------------------------------------- */
.afghanha-lovable[dir="rtl"] .al-masthead-actions {
	justify-content: flex-start;
}
.afghanha-lovable[dir="rtl"] .al-prevnext-cell--next {
	text-align: left;
}
.afghanha-lovable[dir="rtl"] .al-article-body > p:first-of-type::first-letter {
	float: right;
	margin-right: 0;
	margin-left: 0.75rem;
}
.afghanha-lovable[dir="rtl"] .al-hero-aside {
	border-left: 0;
}
@media (min-width: 1024px) {
	.afghanha-lovable[dir="rtl"] .al-hero-aside {
		border-right: 1px solid var(--border);
		padding-left: 0;
		padding-right: 2.5rem;
	}
	.afghanha-lovable[dir="rtl"] .al-article-sidebar {
		border-left: 0;
		border-right: 1px solid var(--border);
		padding-left: 0;
		padding-right: 2rem;
	}
}
.afghanha-lovable[dir="rtl"] .al-article-body a,
.afghanha-lovable[dir="rtl"] .al-page-body a {
	text-underline-offset: 3px;
}

/* ----------------------------------------------------------------------------
   18. Defensive CSS against legacy plugins (do NOT disable them — just keep
   their visual output from breaking this theme).
   ---------------------------------------------------------------------------- */

/* Mobile Menu plugin (mobmenu) — hide its injected trigger/panel; this theme
   provides its own controlled mobile nav. */
.afghanha-lovable #mobmenu_menu,
.afghanha-lovable .mobmenu,
.afghanha-lovable .mobmenu_wrapper,
.afghanha-lovable .slicknav_menu {
	display: none !important;
}

/* AddToAny share floats — keep them from overlapping the masthead/content. */
.afghanha-lovable .a2a_floating_style,
.afghanha-lovable .addtoany_floating {
	z-index: 40 !important;
}
.afghanha-lovable .addtoany_list a img,
.afghanha-lovable .a2a_svg {
	display: inline-block;
	vertical-align: middle;
}

/* bbPress — neutralise its heavy default chrome so forum URLs still read cleanly. */
.afghanha-lovable #bbpress-forums {
	font-family: var(--font-sans);
	font-size: 0.95rem;
}
.afghanha-lovable #bbpress-forums .bbp-body,
.afghanha-lovable #bbpress-forums ul.bbp-topics,
.afghanha-lovable #bbpress-forums ul.bbp-forums {
	border-color: var(--border);
	background: transparent;
}
.afghanha-lovable #bbpress-forums div.bbp-template-notice {
	border-color: var(--border);
	background: var(--secondary);
	color: var(--foreground);
}
.afghanha-lovable #bbpress-forums button,
.afghanha-lovable #bbpress-forums .button {
	background: var(--foreground);
	color: var(--background);
	border: 0;
	border-radius: 0;
}

/* WPBakery / js_composer leftovers — contain rows, fix oversized columns. */
.afghanha-lovable .wpb_row,
.afghanha-lovable .vc_row {
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}
.afghanha-lovable .wpb_column,
.afghanha-lovable .vc_column-inner {
	box-sizing: border-box;
}
.afghanha-lovable .wpb_wrapper img,
.afghanha-lovable .vc_single_image-wrapper img {
	height: auto;
	max-width: 100%;
}
.afghanha-lovable .wpb_text_column {
	line-height: 1.7;
}

/* WP-Optimize / lazyload placeholders — never let a 0-height image collapse. */
.afghanha-lovable img[data-src]:not([src]),
.afghanha-lovable img.lazyload:not([src]) {
	min-height: 1px;
}

/* Generic guard: stray full-width plugin widgets shouldn't cause h-scroll. */
.afghanha-lovable .al-page-body iframe,
.afghanha-lovable .al-article-body iframe {
	max-width: 100%;
}
