/* ============================================================
   SCF US INC — custom theme styles (no frameworks, no plugins)
   ============================================================ */

:root {
	--emerald: #0b3d2e;
	--emerald-2: #0e5b43;
	--emerald-3: #147a5c;
	--gold: #c9a227;
	--gold-soft: #e8cf7a;
	--cream: #faf7f0;
	--ink: #1e2a26;
	--muted: #5d6f68;
	--line: #e5ded0;
	--donate: #c0392b;
	--donate-2: #e74c3c;
	--white: #ffffff;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(11, 61, 46, 0.10);
	--font: "Inter", "Hind Siliguri", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	color: var(--ink);
	background: var(--white);
	line-height: 1.75;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--emerald-2); text-decoration: none; }
a:hover { color: var(--emerald-3); }

h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 0.6em; color: var(--emerald); }

.scf-container { width: min(1140px, 92%); margin: 0 auto; }
.scf-section { padding: 64px 0; }
.scf-section-alt { background: var(--cream); }
.scf-center { text-align: center; }

/* ---------- Top bar ---------- */
.scf-topbar {
	background: #111;
	color: var(--gold-soft);
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 22px;
	padding: 9px 12px;
	flex-wrap: wrap;
}
.scf-dhikr-text {
	font-size: 13px;
	letter-spacing: 2.5px;
	font-weight: 700;
	color: var(--gold-soft);
	white-space: nowrap;
}
/* Shimmer sweep across the dhikr text (graceful fallback above). */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.scf-dhikr-text {
		background: linear-gradient(100deg, var(--gold-soft) 35%, #fffbe8 50%, var(--gold-soft) 65%);
		background-size: 220% auto;
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
		-webkit-text-fill-color: transparent;
		animation: scf-shine 4.5s linear infinite;
	}
}
@keyframes scf-shine { to { background-position: 220% center; } }

/* ---------- Announcement ticker ---------- */
.scf-ticker {
	background: var(--emerald-2, #0e5c44);
	color: #fff;
	overflow: hidden;
	white-space: nowrap;
	border-top: 1px solid rgba(201, 162, 39, 0.35);
}
.scf-ticker-track { display: inline-flex; animation: scf-ticker-scroll 26s linear infinite; will-change: transform; }
.scf-ticker-item { padding: 9px 0; padding-right: 70px; font-size: 13px; font-weight: 600; letter-spacing: 0.4px; }
.scf-ticker:hover .scf-ticker-track { animation-play-state: paused; }
@keyframes scf-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* ---------- Premium two-tier desktop header ---------- */
@media (min-width: 761px) {
	.scf-header-inner {
		flex-wrap: wrap;
		row-gap: 0;
		padding-top: 14px;
		padding-bottom: 0;
	}
	.scf-brand { margin-right: auto; }
	.scf-header-actions { margin-left: auto; }
	.scf-nav {
		order: 3;
		flex: 1 1 100%;
		border-top: 1px solid var(--line);
		margin-top: 12px;
	}
	.scf-nav .scf-menu {
		justify-content: center;
		flex-wrap: nowrap;
	}
	.scf-nav .scf-menu a {
		padding: 14px 16px;
	}
	.scf-nav .scf-menu a::after {
		left: 16px;
		right: 16px;
		bottom: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.scf-ticker-track, .scf-dhikr-text { animation: none; }
}

/* ---------- Header ---------- */
.scf-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.25s;
}
.scf-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--emerald-2) 0%, var(--gold) 30%, var(--gold-soft) 50%, var(--gold) 70%, var(--emerald-2) 100%);
}
.scf-header.scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08); }
.scf-header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 12px 0;
}
.scf-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.scf-brand .scf-site-logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.scf-logo-fallback { display: inline-flex; }
.scf-brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.scf-brand-name { font-weight: 800; font-size: 22px; color: var(--emerald); letter-spacing: 1.5px; }
.scf-brand-tag { font-size: 12px; letter-spacing: 2px; color: var(--muted); font-weight: 600; }
/* Premium motion: slow gold sheen sweeps across the brand name. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.scf-brand-name {
		background: linear-gradient(105deg, var(--emerald) 40%, #c9a227 50%, var(--emerald) 60%);
		background-size: 250% auto;
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
		-webkit-text-fill-color: transparent;
		animation: scf-brand-sheen 7s ease-in-out infinite;
	}
}
@keyframes scf-brand-sheen {
	0%, 100% { background-position: 0% center; }
	50% { background-position: 100% center; }
}
@media (prefers-reduced-motion: reduce) {
	.scf-brand-name { animation: none; }
}

.scf-nav .scf-menu {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}
.scf-nav .scf-menu a {
	position: relative;
	display: block;
	padding: 10px 14px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--ink);
	white-space: nowrap;
	background: none;
	border-radius: 0;
	transition: color 0.25s;
}
.scf-nav .scf-menu a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 5px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--gold), var(--gold-soft));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s ease;
}
.scf-nav .scf-menu a:hover { background: none; color: var(--emerald-2); }
.scf-nav .scf-menu a:hover::after { transform: scaleX(1); }
/* Dropdown submenu (e.g. Forms). */
.scf-nav .scf-menu .menu-item-has-children { position: relative; }
.scf-nav .scf-menu .menu-item-has-children > a { padding-right: 26px; }
.scf-nav .scf-menu .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 12px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	opacity: .6;
}
.scf-nav .scf-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	box-shadow: 0 14px 34px rgba(11,61,46,.14);
	padding: 6px;
	list-style: none;
	margin: 0;
	z-index: 50;
}
.scf-nav .scf-menu .menu-item-has-children:hover > .sub-menu,
.scf-nav .scf-menu .menu-item-has-children:focus-within > .sub-menu,
.scf-nav .scf-menu .menu-item-has-children.open > .sub-menu { display: block; }
.scf-nav .scf-menu .sub-menu a {
	padding: 10px 14px;
	font-size: 12px;
	letter-spacing: 1px;
	white-space: normal;
	border-radius: 6px;
}
.scf-nav .scf-menu .sub-menu a:hover { background: #f4f1e4; }
.scf-nav .scf-menu .sub-menu a::after { display: none; }
@media (max-width: 900px) {
	.scf-nav .scf-menu .sub-menu {
		position: static;
		box-shadow: none;
		border: 0;
		border-left: 2px solid var(--gold);
		border-radius: 0;
		padding: 0 0 0 8px;
		margin: 2px 0 6px 14px;
	}
}
.scf-nav .scf-menu .current-menu-item > a,
.scf-nav .scf-menu .current_page_item > a { color: var(--emerald-2); background: none; }
.scf-nav .scf-menu .current-menu-item > a::after,
.scf-nav .scf-menu .current_page_item > a::after { transform: scaleX(1); }

.scf-header-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- Buttons ---------- */
.scf-btn {
	display: inline-block;
	border: 0;
	cursor: pointer;
	font-family: var(--font);
	font-weight: 700;
	font-size: 15px;
	padding: 12px 26px;
	border-radius: 999px;
	transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
	text-align: center;
}
.scf-btn:hover { transform: translateY(-1px); }
.scf-btn:active { transform: translateY(0); }
.scf-btn-lg { padding: 14px 34px; font-size: 16px; }
.scf-btn-small { padding: 8px 20px; font-size: 13.5px; }
.scf-btn-block { display: block; width: 100%; }
.scf-btn-primary { background: var(--emerald-2); color: #fff; box-shadow: var(--shadow); }
.scf-btn-primary:hover { background: var(--emerald-3); color: #fff; }
.scf-btn-donate {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--donate-2), var(--donate));
	color: #fff;
	box-shadow: 0 8px 20px rgba(192, 57, 43, 0.35);
	letter-spacing: 1px;
}
.scf-btn-donate::after {
	content: "";
	position: absolute;
	top: 0;
	left: -70%;
	width: 45%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	transform: skewX(-20deg);
	animation: scf-shine 3.8s ease-in-out infinite;
	pointer-events: none;
}
@keyframes scf-shine {
	0%, 55% { left: -70%; }
	100% { left: 140%; }
}
@media (prefers-reduced-motion: reduce) {
	.scf-btn-donate::after { animation: none; }
}
.scf-btn-donate:hover { color: #fff; box-shadow: 0 10px 24px rgba(192, 57, 43, 0.45); }
.scf-btn-outline {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.7);
}
.scf-btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.scf-hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
}
.scf-hamburger span { width: 26px; height: 3px; background: var(--emerald); border-radius: 2px; transition: 0.25s; }
.scf-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.scf-hamburger.open span:nth-child(2) { opacity: 0; }
.scf-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.scf-hero {
	position: relative;
	background: linear-gradient(140deg, var(--emerald) 0%, var(--emerald-2) 60%, #0a2e23 100%);
	color: #fff;
	overflow: hidden;
}
.scf-hero-pattern {
	position: absolute;
	inset: 0;
	opacity: 0.10;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath d='M48 8l10 22 24 2-18 16 6 24-22-12-22 12 6-24-18-16 24-2z' fill='none' stroke='%23C9A227' stroke-width='2'/%3E%3C/svg%3E");
	background-size: 96px 96px;
}
.scf-hero-inner { position: relative; padding: 88px 0; text-align: center; max-width: 820px; }
.scf-eyebrow {
	display: inline-block;
	font-size: 13px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--gold-soft);
	border: 1px solid rgba(201, 162, 39, 0.5);
	border-radius: 999px;
	padding: 7px 20px;
	margin: 0 0 22px;
	font-weight: 600;
}
.scf-hero-title { color: #fff; font-size: clamp(30px, 4.8vw, 50px); margin-bottom: 18px; font-weight: 800; letter-spacing: 0.5px; text-shadow: 0 3px 24px rgba(0, 0, 0, 0.35); }
.scf-hero-sub { color: rgba(255, 255, 255, 0.85); font-size: 18px; max-width: 640px; margin: 0 auto 30px; }
.scf-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Signature details ---------- */
.scf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 14px;
}
.scf-eyebrow::before,
.scf-eyebrow::after {
	content: "";
	width: 34px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--gold));
}
.scf-eyebrow::after {
	background: linear-gradient(90deg, var(--gold), transparent);
}
.scf-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--gold-soft);
	border: 1px solid rgba(201, 162, 39, 0.45);
	border-radius: 999px;
	padding: 9px 22px;
	margin: 0 0 22px;
	background: rgba(201, 162, 39, 0.08);
	backdrop-filter: blur(4px);
}
.scf-ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 0 auto 20px;
	color: var(--gold);
	font-size: 15px;
}
.scf-ornament::before,
.scf-ornament::after {
	content: "";
	height: 1px;
	width: min(120px, 22vw);
	background: linear-gradient(90deg, transparent, var(--gold));
}
.scf-ornament::after {
	background: linear-gradient(90deg, var(--gold), transparent);
}

/* ---------- Page hero ---------- */
.scf-page-hero {
	background: linear-gradient(120deg, #07271e 0%, var(--emerald) 45%, var(--emerald-2) 100%);
	background-size: 220% 220%;
	color: #fff;
	padding: 30px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
	animation: scf-hero-flow 14s ease-in-out infinite alternate;
}
@keyframes scf-hero-flow {
	from { background-position: 0% 40%; }
	to { background-position: 100% 60%; }
}
/* Twinkling star field (pure CSS "live" background). */
.scf-page-hero::before {
	content: "";
	position: absolute;
	inset: -40px;
	background-image:
		radial-gradient(1.5px 1.5px at 12% 30%, rgba(255, 244, 214, 0.9), transparent 60%),
		radial-gradient(1px 1px at 68% 12%, rgba(255, 244, 214, 0.7), transparent 60%),
		radial-gradient(2px 2px at 82% 66%, rgba(201, 162, 39, 0.8), transparent 60%),
		radial-gradient(1px 1px at 34% 78%, rgba(255, 244, 214, 0.6), transparent 60%),
		radial-gradient(1.5px 1.5px at 52% 42%, rgba(201, 162, 39, 0.7), transparent 60%),
		radial-gradient(1px 1px at 90% 34%, rgba(255, 244, 214, 0.55), transparent 60%),
		radial-gradient(2px 2px at 22% 62%, rgba(255, 244, 214, 0.65), transparent 60%),
		radial-gradient(1px 1px at 44% 8%, rgba(201, 162, 39, 0.6), transparent 60%);
	animation: scf-hero-stars 9s ease-in-out infinite alternate;
}
@keyframes scf-hero-stars {
	from { opacity: 0.35; transform: translate3d(0, 0, 0); }
	to { opacity: 1; transform: translate3d(-18px, 10px, 0); }
}
.scf-page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath d='M48 8l10 22 24 2-18 16 6 24-22-12-22 12 6-24-18-16 24-2z' fill='none' stroke='%23C9A227' stroke-width='2'/%3E%3C/svg%3E");
	background-size: 96px 96px;
	animation: scf-hero-pan 44s linear infinite;
}
@keyframes scf-hero-pan {
	from { background-position: 0 0; }
	to { background-position: 192px 96px; }
}
.scf-page-hero h1 { color: #fff; margin: 0 0 6px; font-size: clamp(22px, 3.2vw, 30px); position: relative; z-index: 1; }
.scf-page-sub { color: rgba(255, 255, 255, 0.8); margin: 0; position: relative; z-index: 1; }
/* Tighten the gap between the page hero and the content below it. */
.scf-page-hero + .scf-container.scf-section { padding-top: 26px; }
@media (prefers-reduced-motion: reduce) {
	.scf-page-hero, .scf-page-hero::before, .scf-page-hero::after { animation: none; }
}

/* ---------- Section headings ---------- */
.scf-section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.scf-section-head h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 8px; }
.scf-section-head h2::after {
	content: "✦ ✦ ✦";
	display: block;
	margin: 12px auto 0;
	font-size: 12px;
	letter-spacing: 10px;
	text-indent: 10px;
	color: var(--gold);
}
.scf-section-head p { color: var(--muted); margin: 0; }
.scf-section-head-light h2 { color: #fff; }
.scf-section-head-light p { color: rgba(255, 255, 255, 0.8); }

/* ---------- Video ---------- */
.scf-video-wrap {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}
.scf-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Accordion (upodesh) ---------- */
.scf-accordion { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.scf-acc-item {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow 0.2s;
}
.scf-acc-item.open { box-shadow: var(--shadow); border-color: var(--gold); }
.scf-acc-btn {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 14px;
	background: none;
	border: 0;
	padding: 18px 20px;
	cursor: pointer;
	font-family: var(--font);
	text-align: left;
}
.scf-acc-num {
	flex: 0 0 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--emerald);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}
.scf-acc-item.open .scf-acc-num { background: var(--gold); color: var(--emerald); }
.scf-acc-title { flex: 1; font-weight: 600; font-size: 17px; color: var(--ink); }
.scf-acc-icon { font-size: 24px; color: var(--gold); font-weight: 300; transition: transform 0.25s; }
.scf-acc-item.open .scf-acc-icon { transform: rotate(45deg); }
.scf-acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.scf-acc-panel p { padding: 0 20px 22px 72px; margin: 0; color: var(--muted); }
/* Bilingual counsels: per-counsel language toggle (EN | বাং). */
.scf-acc-lang { display: inline-flex; gap: 4px; margin: 4px 0 12px 72px; background: rgba(11, 61, 46, 0.06); border: 1px solid rgba(11, 61, 46, 0.14); border-radius: 999px; padding: 3px; }
.scf-acc-lang-btn { border: 0; background: transparent; border-radius: 999px; padding: 6px 16px; font: 700 12.5px/1 system-ui, -apple-system, sans-serif; letter-spacing: 0.4px; color: var(--muted); cursor: pointer; transition: background 0.2s, color 0.2s; }
.scf-acc-lang-btn.is-active { background: var(--emerald); color: #fff; }
.scf-acc-lang-btn:not(.is-active):hover { color: var(--ink); }
/* Show only the selected language inside each counsel. */
.scf-acc-item:not(.scf-show-bn) .scf-acc-bn { display: none; }
.scf-acc-item.scf-show-bn .scf-acc-en { display: none; }
.scf-acc-panel p.scf-acc-bn {
	color: var(--ink);
	line-height: 2;
	font-size: 16.5px;
	font-family: 'Noto Sans Bengali', 'Hind Siliguri', 'SolaimanLipi', system-ui, -apple-system, sans-serif;
}

/* ---------- Donate band (home) ---------- */
.scf-donate-band { background: linear-gradient(140deg, #7c2018 0%, var(--donate) 55%, #a93226 100%); padding: 64px 0; }
.scf-donate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.scf-donate-card {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--radius);
	padding: 26px 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: background 0.2s, transform 0.15s;
}
.scf-donate-card:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-3px); }
.scf-donate-card-title { color: #fff; font-weight: 700; font-size: 15px; letter-spacing: 0.5px; }
.scf-donate-card-link { color: var(--gold-soft); font-weight: 600; font-size: 14px; }

/* ---------- Visit / map ---------- */
.scf-visit-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
.scf-map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; }
.scf-map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.scf-map-small iframe { min-height: 220px; }
.scf-visit-info { display: flex; flex-direction: column; gap: 14px; }
.scf-info-card {
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.scf-info-label { font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); font-weight: 700; }
.scf-info-value { font-weight: 600; color: var(--ink); font-size: 16.5px; }

/* ---------- KHEDMOT page ---------- */
.scf-khedmot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.scf-khedmot-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px 28px;
	text-align: center;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	transition: transform 0.15s;
}
.scf-khedmot-card:hover { transform: translateY(-4px); }
.scf-khedmot-title { font-size: 19px; letter-spacing: 0.5px; margin: 0; }
.scf-khedmot-desc { color: var(--muted); margin: 0; font-size: 15px; }
.scf-qr { border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: #fff; }
.scf-khedmot-note { font-size: 12.5px; color: var(--muted); margin: 0; }

/* ---------- Donation popup modal (Zeffy embed) ---------- */
.scf-modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 20px; }
.scf-modal[hidden] { display: none; }
.scf-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 30, 25, 0.72); }
.scf-modal-box {
	position: relative;
	background: #fff;
	border-radius: 16px;
	width: min(720px, 100%);
	max-height: 92vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
	animation: scf-modal-in 0.25s ease;
}
@keyframes scf-modal-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.scf-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 20px;
	background: var(--emerald);
	color: #fff;
}
.scf-modal-head strong { letter-spacing: 1px; font-size: 15px; }
.scf-modal-close {
	background: rgba(255, 255, 255, 0.15);
	border: 0;
	color: #fff;
	font-size: 22px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	line-height: 1;
}
.scf-modal-close:hover { background: rgba(255, 255, 255, 0.32); }
.scf-modal-body { flex: 1; min-height: 0; background: #fff; }
.scf-modal-body iframe { width: 100%; height: min(70vh, 640px); border: 0; display: block; }
.scf-modal-foot {
	padding: 10px 20px;
	border-top: 1px solid var(--line);
	font-size: 13.5px;
	color: var(--muted);
	display: flex;
	gap: 8px;
	align-items: center;
}

/* ---------- Forms ---------- */
.scf-form-wrap { max-width: 860px; margin: 0 auto; }
.scf-form-narrow { max-width: 620px; }
.scf-form {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 36px;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.scf-field { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.scf-field-row { display: flex; gap: 16px; }
.scf-field-row .scf-field { min-width: 0; }
.scf-phone-row .scf-code { flex: 0 0 90px; }
.scf-field label { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.scf-field input[type="text"],
.scf-field input[type="email"],
.scf-field input[type="tel"],
.scf-field input[type="url"],
.scf-field input[type="date"],
.scf-field input[type="password"],
.scf-field select,
.scf-field textarea {
	font-family: var(--font);
	font-size: 15.5px;
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	width: 100%;
	transition: border-color 0.2s, box-shadow 0.2s;
}
/* Password show/hide toggle */
.scf-pass-wrap { position: relative; }
.scf-pass-wrap input[type="password"],
.scf-pass-wrap input[type="text"] { padding-right: 46px; }
.scf-pass-toggle {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: 0;
	cursor: pointer;
	padding: 9px;
	color: var(--muted);
	display: flex;
	align-items: center;
	border-radius: 8px;
}
.scf-pass-toggle:hover { color: var(--emerald-2); }
.scf-pass-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.scf-pass-toggle svg { width: 20px; height: 20px; display: block; }
.scf-pass-toggle svg[hidden] { display: none; }
.scf-field input:focus,
.scf-field select:focus,
.scf-field textarea:focus {
	outline: none;
	border-color: var(--emerald-3);
	box-shadow: 0 0 0 3px rgba(20, 122, 92, 0.15);
}
.scf-field input[type="file"] { padding: 8px 0; }
.scf-hint { font-size: 12.5px; color: var(--muted); }
.scf-fieldset {
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
}
.scf-fieldset legend {
	font-weight: 700;
	color: var(--emerald);
	padding: 0 10px;
	font-size: 16px;
}
.scf-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.scf-checks label, .scf-check-single {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
	cursor: pointer;
}
.scf-checks input[type="checkbox"], .scf-check-single input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: var(--emerald-2);
}
.scf-check-single a { text-decoration: underline; }
.scf-field-hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.scf-logo-picker { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.scf-logo-picker img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
.scf-logo-picker .scf-btn { padding: 9px 16px; font-size: 14px; }
.scf-form-links { text-align: center; font-size: 14px; margin: 4px 0 0; }
.scf-remember { margin: 0; }

.scf-notice {
	border-radius: 10px;
	padding: 14px 18px;
	font-weight: 600;
	margin-bottom: 20px;
}
.scf-notice-success { background: #e6f4ec; color: #14663a; border: 1px solid #bfe3cd; }
.scf-notice-error { background: #fdecea; color: #a93226; border: 1px solid #f5c6c0; }

/* ---------- Contact page ---------- */
.scf-contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; align-items: start; }
.scf-contact-info { display: flex; flex-direction: column; gap: 14px; }

/* ---------- About ---------- */
.scf-about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.scf-about-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 110px; }

/* ---------- Prose ---------- */
.scf-prose { max-width: 780px; }
.scf-page-intro { padding: 44px 0 0; }
.scf-page-intro:empty { display: none; }
.scf-prose p { margin: 0 0 1.1em; }
.scf-prose h2, .scf-prose h3 { margin-top: 1.6em; }
.scf-prose ul, .scf-prose ol { padding-left: 1.4em; }

.scf-empty-note {
	background: var(--cream);
	border: 1px dashed var(--gold);
	border-radius: var(--radius);
	padding: 48px 32px;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	color: var(--emerald);
}
.scf-empty-sub { font-size: 13.5px; font-weight: 400; color: var(--muted); margin-top: 8px; }

/* ---------- Post list / cards ---------- */
.scf-post-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.scf-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px;
	box-shadow: var(--shadow);
}
.scf-card h2 { font-size: 20px; }
.scf-card-excerpt { color: var(--muted); font-size: 15px; }
.scf-link-more { font-weight: 700; }
.scf-pagination { margin-top: 32px; text-align: center; }
.scf-404-code { font-size: 90px; font-weight: 800; color: var(--emerald); margin: 0; line-height: 1; }

/* ---------- Footer ---------- */
.scf-footer { background: #0a2e23; color: rgba(255, 255, 255, 0.82); margin-top: 40px; }
.scf-footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1.2fr;
	gap: 36px;
	padding: 56px 0 40px;
}
.scf-footer-brand { color: #fff; font-weight: 800; font-size: 20px; letter-spacing: 1px; margin-bottom: 10px; }
.scf-footer-tag { font-size: 14.5px; margin: 0 0 16px; }
.scf-footer-title { color: var(--gold-soft); font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.scf-footer-menu, .scf-footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.scf-footer a { color: rgba(255, 255, 255, 0.82); }
.scf-footer a:hover { color: var(--gold-soft); }
.scf-footer-contact strong { color: #fff; font-weight: 600; }
.scf-social { display: flex; gap: 10px; }
.scf-social a {
	width: 38px; height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 700; color: #fff;
}
.scf-social a:hover { background: var(--gold); color: var(--emerald); }
.scf-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0; font-size: 13.5px; }
.scf-footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Theme uploader (admin) ---------- */
.scf-uploader-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px;
	box-shadow: var(--shadow);
	max-width: 640px;
	margin: 0 auto 40px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.scf-uploader-current { margin: 0; font-size: 17px; font-weight: 600; }
.scf-version-badge {
	display: inline-block;
	background: var(--emerald);
	color: #fff;
	font-weight: 700;
	padding: 5px 16px;
	border-radius: 999px;
	font-size: 14px;
	letter-spacing: 0.5px;
}
.scf-version-current { background: var(--gold); color: var(--emerald); font-size: 12px; text-transform: uppercase; }
.scf-changelog { max-width: 720px; margin: 0 auto; }
.scf-changelog-item {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px 26px;
	margin-bottom: 14px;
}
.scf-changelog-item h3 { margin: 0 0 10px; font-size: 19px; display: flex; align-items: center; gap: 10px; }
.scf-changelog-item ul { margin: 0; padding-left: 1.2em; color: var(--muted); font-size: 14.5px; display: flex; flex-direction: column; gap: 4px; }

/* ---------- Admin version pill (frontend, admins only) ---------- */
.scf-admin-pill {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 400;
	background: var(--emerald);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	padding: 9px 18px;
	border-radius: 999px;
	box-shadow: var(--shadow);
	text-decoration: none;
}
.scf-admin-pill:hover { color: var(--gold-soft); }

/* ---------- Header auth (login / profile chip) ---------- */
.scf-btn-login {
	background: transparent;
	color: var(--emerald);
	border: 2px solid var(--emerald);
	padding: 10px 24px;
}
.scf-btn-login:hover { background: var(--emerald); color: #fff; transform: translateY(-1px); }
.scf-user { position: relative; }
.scf-user-chip {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 5px 14px 5px 5px;
	cursor: pointer;
	font-family: var(--font);
}
.scf-user-chip:hover { border-color: var(--gold); }
.scf-user-avatar {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--emerald);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
	flex-shrink: 0;
}
.scf-user-meta { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; gap: 2px; }
.scf-user-name {
	font-weight: 700;
	font-size: 14px;
	color: var(--ink);
	max-width: 130px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.scf-user-role {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: var(--emerald);
	background: #e8f0eb;
	padding: 2px 9px;
	border-radius: 999px;
}
.scf-user-caret { font-size: 11px; color: var(--muted); }
.scf-user-menu {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow);
	min-width: 190px;
	padding: 6px;
	z-index: 300;
}
.scf-user-menu a {
	display: block;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
}
.scf-user-menu a:hover { background: var(--cream); color: var(--emerald-2); }

/* ---------- Admin Panel ---------- */
.scf-tabs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 28px;
	border-bottom: 2px solid var(--line);
	padding-bottom: 0;
}
.scf-tabs a {
	padding: 12px 22px;
	font-weight: 700;
	font-size: 15px;
	color: var(--muted);
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
}
.scf-tabs a:hover { color: var(--emerald-2); }
.scf-tabs a.active { color: var(--emerald-2); border-bottom-color: var(--gold); }
.scf-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
.scf-panel-head h2 { margin: 0; font-size: 24px; }
.scf-table-wrap { overflow-x: auto; }
.scf-admin-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	font-size: 14.5px;
}
.scf-admin-table th, .scf-admin-table td {
	text-align: left;
	padding: 13px 16px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}
.scf-admin-table thead th { background: #f4f7f5; font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); }
.scf-admin-table tbody tr:last-child th, .scf-admin-table tbody tr:last-child td { border-bottom: 0; }
.scf-admin-table .scf-actions { white-space: nowrap; }
.scf-admin-table .scf-actions a, .scf-admin-table .scf-actions button { margin-right: 14px; font-weight: 600; }
.scf-admin-table .scf-actions a { color: var(--emerald-2); }
.scf-inline-form { display: inline; }
.scf-link-danger {
	background: none;
	border: 0;
	padding: 0;
	color: #b3261e;
	font-weight: 600;
	font-size: 14.5px;
	font-family: var(--font);
	cursor: pointer;
}
.scf-link-danger:hover { text-decoration: underline; }
.scf-muted { color: var(--muted); }
.scf-form-wide { max-width: 860px; }
.scf-form-group-title {
	font-size: 17px;
	margin: 30px 0 6px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	color: var(--emerald-2);
}
.scf-entry {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin-bottom: 12px;
}
.scf-entry summary {
	padding: 16px 20px;
	cursor: pointer;
	display: flex;
	gap: 12px;
	align-items: baseline;
	flex-wrap: wrap;
	list-style: none;
}
.scf-entry summary::-webkit-details-marker { display: none; }
.scf-entry summary::before { content: "▸"; color: var(--gold); font-weight: 700; }
.scf-entry[open] summary::before { content: "▾"; }
.scf-entry-body { padding: 0 20px 18px; }
.scf-admin-table-plain { margin-bottom: 14px; }
.scf-panel-emergency {
	margin-top: 44px;
	padding: 18px 22px;
	background: #f4f7f5;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	font-size: 14.5px;
	color: var(--muted);
}
.scf-panel-emergency a { font-weight: 700; color: var(--emerald-2); }

/* ---------- Admin Panel: Counsels editor ---------- */
.scf-counsel-card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 20px 20px;
	margin: 0 0 18px;
	background: #fff;
}
.scf-counsel-card legend {
	font-weight: 700;
	font-size: 15px;
	color: var(--emerald);
	padding: 0 10px;
}
.scf-counsel-card .scf-field { margin-bottom: 14px; }
.scf-counsel-card .scf-field:last-of-type { margin-bottom: 12px; }
.scf-counsel-card textarea { width: 100%; min-height: 90px; resize: vertical; }
.scf-counsel-card textarea[lang="bn"] { line-height: 1.9; font-size: 15.5px; }
.scf-counsels-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0 26px; align-items: center; }

/* ---------- Admin Panel: Users tab ---------- */
.scf-notice-info { background: #e8f0fe; color: #1a4fa0; border: 1px solid #c2d7f5; }
.scf-newpass-box {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
	background: #fff8e1; border: 1.5px dashed #c9a227; border-radius: 12px;
	padding: 16px 18px; margin-bottom: 20px; font-size: 15px;
}
.scf-newpass-box code {
	font-size: 18px; font-weight: 700; letter-spacing: 1px; color: #0b3d2e;
	background: #fff; border: 1px solid #e5e0d0; border-radius: 8px; padding: 8px 14px;
	user-select: all;
}
.scf-form-inline { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.scf-form-inline input[type="search"] { flex: 1; min-width: 200px; max-width: 340px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 14px; }
.scf-form-narrow { max-width: 560px; }
.scf-form-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.scf-actions { white-space: nowrap; }
.scf-actions a { margin-right: 10px; }
.scf-actions a:last-child { margin-right: 0; }
.scf-danger { color: #c0392b !important; }
.scf-access-pages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 16px; margin: 8px 0 20px; }
.scf-pagination nav, nav.scf-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.scf-pagination a, .scf-pagination .scf-page-current {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px;
	border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; color: var(--emerald);
}
.scf-pagination .scf-page-current { background: var(--emerald); border-color: var(--emerald); color: #fff; }

/* ---------- Floating UI ---------- */
.scf-to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 0;
	background: var(--emerald-2);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	box-shadow: var(--shadow);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s, transform 0.2s;
	z-index: 200;
}
.scf-to-top.show { opacity: 1; pointer-events: auto; }
.scf-to-top:hover { transform: translateY(-3px); }

.scf-cookie {
	position: fixed;
	left: 22px;
	bottom: 22px;
	max-width: 380px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
	padding: 20px 22px;
	z-index: 300;
}
.scf-cookie p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.scf-visit-grid, .scf-contact-grid, .scf-about-grid { grid-template-columns: 1fr; }
	.scf-about-side { position: static; }
	.scf-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
	.scf-hamburger { display: flex; }
	.scf-user-meta { display: none; }
	.scf-user-chip { padding: 5px; }
	.scf-user-caret { display: none; }
	.scf-btn-login { padding: 8px 16px; font-size: 13.5px; }
	.scf-btn-donate { padding: 10px 18px; font-size: 13.5px; }
	.scf-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 18px 30px rgba(0, 0, 0, 0.10);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}
	.scf-nav.open { max-height: 70vh; overflow-y: auto; }
	.scf-nav .scf-menu { flex-direction: column; padding: 10px; }
	.scf-nav .scf-menu a { padding: 13px 14px; font-size: 16px; }
	.scf-header { position: sticky; }
	.scf-header-inner { position: relative; flex-wrap: wrap; gap: 10px 12px; }
	/* Mobile: brand + profile + hamburger on row 1, KHEDMOT full-width CTA bar on row 2 */
	.scf-header-actions { display: contents; }
	.scf-brand { order: 1; flex: 1 1 auto; min-width: 0; }
	.scf-brand-name { white-space: nowrap; }
	.scf-user { order: 2; }
	.scf-header-actions > .scf-btn-login { order: 2; }
	.scf-hamburger { order: 3; }
	.scf-header-actions > .scf-btn-donate {
		order: 4;
		flex: 1 1 100%;
		padding: 10px 18px;
		font-size: 14px;
		border-radius: 12px;
	}
	.scf-form { padding: 24px 20px; }
	.scf-field-row { flex-direction: column; }
	.scf-acc-panel p { padding-left: 20px; }
	.scf-footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.scf-cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
	.scf-hero-inner { padding: 64px 0; }
}

/* ---------- Small phones: compact topbar + header ---------- */
@media (max-width: 560px) {
	.scf-topbar { gap: 12px; padding: 8px; }
	.scf-dhikr-text { font-size: 10.5px; letter-spacing: 1.5px; }
	.scf-ticker-item { font-size: 12px; padding: 8px 0; padding-right: 50px; }
	.scf-header-inner { gap: 8px 10px; padding: 10px 0; }
	.scf-brand { gap: 8px; }
	.scf-brand-name { font-size: 16px; letter-spacing: 0.8px; white-space: nowrap; }
	.scf-brand-tag { font-size: 8.5px; letter-spacing: 1px; white-space: nowrap; }
	.scf-logo-fallback svg { width: 36px; height: 36px; }
	.scf-brand .scf-site-logo { width: 36px; height: 36px; }
	.scf-hamburger { padding: 6px; }
}
/* Tiny screens: keep row 1 on a single line. */
@media (max-width: 360px) {
	.scf-brand-tag { display: none; }
}


/* Cookie consent: banner, preferences modal, embed gate */
.scf-cookie { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9990; background: #0b3d2e; color: #fff; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; box-shadow: 0 -4px 20px rgba(0,0,0,.25); }
.scf-cookie[hidden] { display: none; }
.scf-cookie p { margin: 0; font-size: 14px; flex: 1 1 260px; }
.scf-cookie p a { color: #e8c84a; text-decoration: underline; }
.scf-cookie-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.scf-cookie-modal-box { max-width: 520px; }
.scf-cookie-modal-intro { color: #5d6f68; margin-bottom: 18px; line-height: 1.6; }
.scf-cookie-cat { border: 1px solid #e5e0d0; border-radius: 12px; padding: 16px; margin-bottom: 12px; background: #fdfcf9; }
.scf-cookie-cat-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.scf-cookie-cat-head strong { color: #0b3d2e; }
.scf-cookie-cat p { margin: 0; font-size: 14px; color: #5d6f68; line-height: 1.6; }
.scf-cookie-always { font-size: 12px; font-weight: 700; color: #0e5b43; background: #e6f0eb; padding: 4px 12px; border-radius: 999px; }
.scf-switch { position: relative; display: inline-block; width: 48px; height: 26px; flex-shrink: 0; }
.scf-switch input { opacity: 0; width: 0; height: 0; }
.scf-switch-slider { position: absolute; inset: 0; cursor: pointer; background: #c9c4b4; border-radius: 999px; transition: .25s; }
.scf-switch-slider:before { content: ""; position: absolute; height: 20px; width: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .25s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.scf-switch input:checked + .scf-switch-slider { background: #0e5b43; }
.scf-switch input:checked + .scf-switch-slider:before { transform: translateX(22px); }
.scf-cookie-modal-foot { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.scf-embed-gate { position: relative; min-height: 180px; background: #f4f1e8; border-radius: 12px; overflow: hidden; }
.scf-embed-gate iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.scf-embed-placeholder { padding: 40px 24px; text-align: center; color: #5d6f68; }
.scf-embed-placeholder p { margin: 0 0 14px; }

/* Native donate page */
.scf-donate-page { max-width: 640px; margin: 0 auto; }
.scf-donate-step-title { color: #0b3d2e; font-size: 19px; margin: 28px 0 14px; }
.scf-donate-step-title:first-child { margin-top: 0; }
.scf-donate-campaigns { display: grid; gap: 12px; }
.scf-donate-campaign-card { display: block; background: #fff; border: 1.5px solid #e5e0d0; border-radius: 14px; padding: 20px; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.scf-donate-campaign-card:hover { border-color: #c9a227; box-shadow: 0 6px 18px rgba(201,162,39,.15); }
.scf-donate-campaign-card strong { display: block; color: #0b3d2e; font-size: 17px; margin-bottom: 6px; }
.scf-donate-campaign-card span { color: #5d6f68; font-size: 14px; line-height: 1.5; }
.scf-donate-selected { display: flex; align-items: center; justify-content: space-between; background: #eef4f0; border-radius: 12px; padding: 14px 18px; margin-bottom: 8px; }
.scf-donate-selected strong { color: #0b3d2e; }
.scf-donate-selected a { color: #0e5b43; font-size: 14px; }
.scf-amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.scf-amount-btn { padding: 16px 8px; border: 1.5px solid #d8d2c2; border-radius: 12px; background: #fff; font-size: 18px; font-weight: 700; color: #0b3d2e; cursor: pointer; transition: all .2s; }
.scf-amount-btn:hover { border-color: #c9a227; }
.scf-amount-btn.selected { background: #0b3d2e; border-color: #0b3d2e; color: #fff; }
.scf-freq-toggle { display: flex; gap: 10px; }
.scf-freq-toggle label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border: 1.5px solid #d8d2c2; border-radius: 12px; cursor: pointer; font-weight: 600; color: #0b3d2e; }
.scf-freq-toggle label:has(input:checked) { background: #0b3d2e; border-color: #0b3d2e; color: #fff; }
.scf-donate-native .scf-form-row { margin-bottom: 14px; }
.scf-donate-native label { display: block; font-weight: 600; margin-bottom: 6px; color: #0b3d2e; }
.scf-donate-native input[type="text"], .scf-donate-native input[type="email"], .scf-donate-native input[type="tel"], .scf-donate-native input[type="number"] { width: 100%; padding: 12px 14px; border: 1.5px solid #d8d2c2; border-radius: 10px; font-size: 16px; font-family: inherit; }
.scf-donate-native input:focus { outline: none; border-color: #0e5b43; }
.scf-btn-block { width: 100%; }
.scf-donate-secure-note { text-align: center; color: #7a8a83; font-size: 13px; margin-top: 12px; }

/* KHEDMOT fund picker (modern dropdown) */
.scf-khedmot-picker-wrap { max-width: 640px; margin: 0 auto; text-align: center; }
.scf-khedmot-picker-hint { color: #5d6f68; margin-bottom: 18px; font-size: 16px; }
.scf-khedmot-picker { position: relative; text-align: left; }
.scf-picker-btn { width: 100%; display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #0b3d2e, #0e5b43); color: #fff; border: none; border-radius: 16px; padding: 20px 22px; font-size: 18px; cursor: pointer; box-shadow: 0 8px 24px rgba(11,61,46,.25); transition: transform .15s, box-shadow .15s; }
.scf-picker-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11,61,46,.32); }
.scf-picker-icon { color: #c9a227; font-size: 22px; }
.scf-picker-label { flex: 1; font-weight: 600; }
.scf-picker-arrow { font-size: 20px; color: #c9a227; transition: transform .25s; }
.scf-picker-btn.open .scf-picker-arrow { transform: rotate(180deg); }
.scf-picker-menu { position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(11,61,46,.22); overflow: hidden; z-index: 50; border: 1px solid #e8e2d0; }
.scf-picker-menu[hidden] { display: none; }
.scf-picker-item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; text-decoration: none; border-bottom: 1px solid #f0ebdd; transition: background .15s; }
.scf-picker-item:last-child { border-bottom: none; }
.scf-picker-item:hover { background: #faf7ef; }
.scf-picker-num { font-size: 13px; font-weight: 800; color: #c9a227; letter-spacing: 1px; }
.scf-picker-text { flex: 1; }
.scf-picker-text strong { display: block; color: #0b3d2e; font-size: 15px; margin-bottom: 4px; }
.scf-picker-text span span { color: #7a8a83; font-size: 13px; line-height: 1.45; display: block; }
.scf-picker-go { color: #c9a227; font-size: 20px; font-weight: 700; transition: transform .15s; }
.scf-picker-item:hover .scf-picker-go { transform: translateX(4px); }

/* Other ways to give: Zelle + bank transfer */
.scf-give-method { background: #fff; border: 1.5px solid #e5e0d0; border-radius: 16px; padding: 28px; margin: 20px auto; max-width: 640px; text-align: center; }
.scf-give-method h3 { color: #0b3d2e; margin-bottom: 10px; }
.scf-give-method p { color: #5d6f68; margin-bottom: 16px; }
.scf-zelle-id { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; }
.scf-zelle-id strong { font-size: 20px; color: #0b3d2e; background: #f4f1e8; padding: 10px 20px; border-radius: 10px; }
.scf-give-method .scf-qr { margin: 0 auto 16px; display: block; }
.scf-bank-table { margin: 0 auto 18px; border-collapse: collapse; text-align: left; }
.scf-bank-table th, .scf-bank-table td { padding: 10px 16px; border-bottom: 1px solid #f0ebdd; }
.scf-bank-table th { color: #7a8a83; font-weight: 600; white-space: nowrap; }
.scf-bank-table td { color: #0b3d2e; font-weight: 600; }
.scf-notify-details { margin-top: 8px; }
.scf-notify-details summary { cursor: pointer; list-style: none; display: inline-block; }
.scf-notify-details summary::-webkit-details-marker { display: none; }
.scf-notify-form { margin-top: 18px; text-align: left; max-width: 440px; margin-left: auto; margin-right: auto; }
.scf-notify-form .scf-form-row { margin-bottom: 12px; }
.scf-notify-form label { display: block; font-weight: 600; margin-bottom: 6px; color: #0b3d2e; font-size: 14px; }
.scf-notify-form input { width: 100%; padding: 10px 12px; border: 1.5px solid #d8d2c2; border-radius: 10px; font-size: 15px; font-family: inherit; }
.scf-notify-form input:focus { outline: none; border-color: #0e5b43; }

/* Zeffy tip note on the donate page */
.scf-tip-note { background: #fdf6e3; border: 1.5px solid #e8d48a; border-radius: 12px; padding: 14px 16px; margin-top: 14px; font-size: 14px; line-height: 1.6; color: #5d5340; }
.scf-tip-note strong { color: #0b3d2e; }

/* Tip banner inside the donation modal, above the Zeffy frame */
.scf-modal-tip { background: #fdf6e3; border-bottom: 1.5px solid #e8d48a; padding: 10px 18px; font-size: 13px; line-height: 1.5; color: #5d5340; text-align: center }
.scf-modal-wallet { padding: 14px 18px 12px; border-bottom: 1px solid #e7e2d5; text-align: center; }
.scf-wallet-btn { display: block; background: #000; color: #fff; font-weight: 700; font-size: 15.5px; letter-spacing: 0.2px; text-decoration: none; padding: 13px 18px; border-radius: 12px; transition: background 0.2s, transform 0.15s; }
.scf-wallet-btn:hover { background: #1c1c1e; color: #fff; }
.scf-wallet-btn:active { transform: scale(0.99); }
.scf-wallet-note { margin-top: 8px; font-size: 12.5px; line-height: 1.45; color: #5d6f68; }

.scf-khedmot-type-note { background: #fdf6e3; border-radius: 10px; padding: 12px 16px; font-size: 14px; color: #5d5340; margin: 0 auto 16px; max-width: 480px; }

/* Donation method picker + panels */
.scf-method-picker { margin-bottom: 24px; }
.scf-method-panel[hidden] { display: none; }
.scf-method-panel .scf-give-method { margin-top: 0; }

/* Merged KHEDMOT page: fund cards + smart share dropdown */
.scf-funds-title { margin-top: 48px; }
.scf-fund-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.scf-fund-card { position: relative; background: #fff; border: 1.5px solid #e5e0d0; border-radius: 14px; overflow: visible; transition: border-color .2s, box-shadow .2s; }
.scf-fund-card:hover { border-color: #c9a227; box-shadow: 0 6px 18px rgba(201,162,39,.15); }
.scf-fund-card-main { display: block; padding: 20px 44px 18px 20px; text-decoration: none; }
.scf-fund-card-main strong { display: block; color: #0b3d2e; font-size: 17px; margin-bottom: 6px; }
.scf-fund-card-main span { color: #5d6f68; font-size: 14px; line-height: 1.5; }
/* Share trigger: small icon button, top-right corner. */
.scf-share-trigger { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(11,61,46,.14); background: #f7f5ec; color: #0b3d2e; border-radius: 50%; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.scf-share-trigger:hover { background: #0b3d2e; color: #e8cf7a; border-color: #0b3d2e; }
.scf-share-trigger:active { transform: scale(.94); }
/* Share dropdown menu. */
.scf-share-menu { position: absolute; top: 50px; right: 10px; z-index: 20; min-width: 168px; background: #fff; border: 1px solid #e5e0d0; border-radius: 12px; box-shadow: 0 12px 32px rgba(11,61,46,.16); padding: 6px; }
.scf-share-item { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: transparent; padding: 10px 12px; border-radius: 8px; font: 600 13.5px/1.3 system-ui, -apple-system, sans-serif; color: #0b3d2e; cursor: pointer; text-decoration: none; text-align: left; transition: background .15s; }
.scf-share-item:hover { background: #f4f1e4; }
.scf-share-item svg { flex: none; opacity: .75; }

/* Admin: Khedmot Funds tab */
.scf-fund-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
@media (max-width: 640px) { .scf-fund-grid { grid-template-columns: 1fr; } }
.scf-fund-card-admin input[type="url"] { width: 100%; }
.scf-fund-share-admin { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 12px; background: #f7f5ec; border: 1px dashed rgba(11,61,46,.25); border-radius: 10px; padding: 10px 12px; }
.scf-fund-share-label { font-weight: 700; font-size: 13px; color: #0b3d2e; }
.scf-fund-share-link { font-size: 12.5px; color: #5d6f68; word-break: break-all; }
