/* ════════════════════════════════════════════
   FRONT PAGE — فن العبارات
════════════════════════════════════════════ */

/* ── HERO ── */
.fp-hero {
	background: var(--ink2);
	position: relative;
	overflow: hidden;
}
.fp-hero-deco-quote {
	position: absolute;
	top: -60px; left: 10px;
	font-family: var(--ff-h);
	font-size: 420px;
	font-weight: 700;
	color: rgba(139,58,42,0.07);
	line-height: 1;
	pointer-events: none;
	user-select: none;
	z-index: 0;
}
.fp-hero-inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 380px;
	min-height: 460px;
}

/* RIGHT COL: main text */
.fp-hero-main {
	padding: 54px 52px 54px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-left: 1px solid rgba(255,255,255,0.06);
}

/* LEFT COL: image OR decorative panel */
.fp-hero-visual {
	position: relative;
	overflow: hidden;
	background: rgba(0,0,0,0.25);
	display: flex;
	flex-direction: column;
}
.fp-hero-visual-img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0.75;
}
.fp-hero-visual-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(26,20,16,0.7) 0%, transparent 60%);
}
/* no-image decorative panel */
.fp-hero-no-img {
	width: 100%; height: 100%;
	display: flex;
	flex-direction: column;
	padding: 28px 24px;
}
.fp-hero-trending-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	color: var(--muted);
	text-transform: uppercase;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.fp-hero-trending-label::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(255,255,255,0.07);
}
.fp-trending-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 11px 0;
	border-bottom: 1px solid rgba(255,255,255,0.05);
	text-decoration: none;
	transition: background .15s;
}
.fp-trending-item:last-child { border-bottom: none; }
.fp-trending-num {
	font-family: var(--ff-h);
	font-size: 1.7rem;
	font-weight: 700;
	color: rgba(139,58,42,0.3);
	line-height: 1;
	flex-shrink: 0;
	width: 26px;
}
.fp-trending-body { flex: 1; min-width: 0; }
.fp-trending-title {
	font-family: var(--ff-h);
	font-size: 1rem;
	color: #c8bdb1;
	line-height: 1.5;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color .2s;
}
.fp-trending-item:hover .fp-trending-title { color: #faf6ef; }
.fp-trending-cat {
	font-size: 10px;
	color: var(--rust3);
	font-weight: 700;
	margin-top: 2px;
	display: block;
}

/* Hero text elements */
.fp-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(139,58,42,0.22);
	border: 1px solid rgba(196,90,63,0.3);
	color: var(--rust3);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	padding: 5px 14px;
	border-radius: 20px;
	margin-bottom: 18px;
	width: fit-content;
}
.fp-hero-eyebrow::before {
	content: '';
	width: 5px; height: 5px;
	background: var(--rust3);
	border-radius: 50%;
	animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
	0%,100% { opacity:1; transform:scale(1); }
	50%      { opacity:.35; transform:scale(.65); }
}
.fp-hero-cat {
	display: inline-block;
	background: var(--rust);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 12px;
	border-radius: 3px;
	margin-bottom: 14px;
	text-decoration: none;
	transition: background .2s;
}
.fp-hero-cat:hover { background: var(--rust2); color: #fff; }
.fp-hero-title {
	font-family: var(--ff-h);
	font-size: 2.6rem;
	font-weight: 700;
	color: #faf6ef;
	line-height: 1.48;
	margin-bottom: 14px;
	text-decoration: none;
	display: block;
}
.fp-hero-title:hover { color: var(--ivory3); }
.fp-hero-excerpt {
	font-size: 15px;
	color: #a89b8e;
	line-height: 1.85;
	margin-bottom: 22px;
	max-width: 520px;
}
.fp-hero-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 22px;
}
.fp-hero-meta-sep { color: rgba(255,255,255,0.12); }
.fp-hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--rust);
	color: #fff;
	font-family: var(--ff-b);
	font-size: 14px;
	font-weight: 700;
	padding: 12px 28px;
	border-radius: 7px;
	text-decoration: none;
	width: fit-content;
	transition: background .2s, transform .15s;
}
.fp-hero-btn:hover { background: var(--rust2); color: #fff; transform: translateY(-1px); }
.fp-hero-btn-arrow { transition: transform .2s; }
.fp-hero-btn:hover .fp-hero-btn-arrow { transform: translateX(-4px); }

/* ── CATEGORIES ── */
.fp-cats {
	background: var(--ivory2);
	border-top: 3px solid var(--rust);
	border-bottom: 1px solid var(--border);
	padding: 30px 48px;
}
.fp-cats-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}
.fp-cats-title {
	font-family: var(--ff-h);
	font-size: 1.1rem;
	color: var(--ink3);
	white-space: nowrap;
}
.fp-cats-line { flex: 1; height: 1px; background: var(--border); }
.fp-cats-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 10px;
}
.fp-cat-card {
	background: #fff;
	border: 1px solid var(--border);
	border-top: 3px solid transparent;
	border-radius: 8px;
	padding: 16px 12px 14px;
	text-align: center;
	text-decoration: none;
	display: block;
	transition: border-top-color .2s, box-shadow .2s, transform .2s;
}
.fp-cat-card:hover {
	border-top-color: var(--rust);
	box-shadow: 0 6px 20px rgba(139,58,42,0.09);
	transform: translateY(-3px);
	color: inherit;
}
.fp-cat-icon {
	display: block;
	font-family: var(--ff-h);
	font-size: 22px;
	margin-bottom: 7px;
	line-height: 1;
	color: var(--rust);
	transition: transform .2s;
}
.fp-cat-card:hover .fp-cat-icon { transform: scale(1.15); }
.fp-cat-name {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--ink3);
	line-height: 1.3;
}
.fp-cat-count {
	display: block;
	font-size: 11px;
	color: var(--muted);
	margin-top: 4px;
}

/* ── SECTION WRAPPER ── */
.fp-section { padding: 44px 48px; }
.fp-section.alt-bg { background: var(--ivory2); }
.fp-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}
.fp-section-title {
	font-family: var(--ff-h);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--ink2);
	display: flex;
	align-items: center;
	gap: 12px;
}
.fp-section-title::before {
	content: '';
	width: 4px;
	height: 26px;
	background: var(--rust);
	border-radius: 2px;
	flex-shrink: 0;
}
.fp-section-more {
	font-size: 13px;
	color: var(--rust);
	font-weight: 700;
	border: 1px solid var(--rust);
	border-radius: 20px;
	padding: 5px 18px;
	text-decoration: none;
	transition: all .2s;
	white-space: nowrap;
}
.fp-section-more:hover { background: var(--rust); color: #fff; }

/* ── GRIDS ── */
.fp-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.fp-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }

/* ── FEATURED LAYOUT ── */
.fp-featured-layout {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 20px;
}
.fp-featured-main {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .25s, transform .25s;
}
.fp-featured-main:hover { box-shadow: 0 10px 36px rgba(26,20,16,0.11); transform: translateY(-3px); }
.fp-featured-main-thumb {
	height: 230px;
	background: var(--ivory3);
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.fp-featured-main-thumb img { width:100%;height:100%;object-fit:cover;transition:transform .4s; }
.fp-featured-main:hover .fp-featured-main-thumb img { transform: scale(1.04); }
.fp-featured-main-body { padding: 20px 22px 22px; flex:1; display:flex; flex-direction:column; }
.fp-featured-main-title {
	font-family: var(--ff-h);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--ink2);
	line-height: 1.55;
	margin-bottom: 10px;
	text-decoration: none;
	display: block;
}
.fp-featured-main-title:hover { color: var(--rust); }
.fp-featured-main-excerpt {
	font-size: 14px;
	color: var(--ink3);
	line-height: 1.8;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
	margin-bottom: 14px;
}
.fp-featured-side { display: flex; flex-direction: column; gap: 16px; }
.fp-side-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
	flex: 1;
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s, transform .2s;
}
.fp-side-card:hover { box-shadow: 0 6px 20px rgba(26,20,16,0.09); transform: translateY(-2px); }
.fp-side-card-thumb {
	height: 120px;
	background: var(--ivory3);
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.fp-side-card-thumb img { width:100%;height:100%;object-fit:cover;transition:transform .4s; }
.fp-side-card:hover .fp-side-card-thumb img { transform: scale(1.05); }
.fp-side-card-body { padding: 12px 14px 14px; flex:1; display:flex; flex-direction:column; }
.fp-side-card-title {
	font-family: var(--ff-h);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ink2);
	line-height: 1.5;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 8px;
}
.fp-side-card-title:hover { color: var(--rust); }

/* shared meta */
.fp-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
	color: var(--muted);
	border-top: 1px solid var(--ivory3);
	padding-top: 10px;
	margin-top: auto;
}
.fp-card-badge {
	position: absolute;
	top: 10px; right: 10px;
	background: var(--rust);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 3px;
	text-decoration: none;
}
.fp-card-badge:hover { background: var(--rust2); color: #fff; }

/* standard post card */
.fp-post-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .25s, transform .25s;
}
.fp-post-card:hover { box-shadow: 0 8px 28px rgba(26,20,16,0.1); transform: translateY(-3px); }
.fp-post-card-thumb {
	height: 170px;
	background: var(--ivory3);
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.fp-post-card-thumb img { width:100%;height:100%;object-fit:cover;transition:transform .4s; }
.fp-post-card:hover .fp-post-card-thumb img { transform: scale(1.04); }
.fp-thumb-placeholder {
	font-family: var(--ff-h);
	font-size: 4.5rem;
	color: rgba(139,58,42,0.13);
	line-height: 1;
	user-select: none;
}
.fp-post-card-body { padding: 14px 16px 16px; flex:1; display:flex; flex-direction:column; }
.fp-post-card-title {
	font-family: var(--ff-h);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--ink2);
	line-height: 1.55;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 8px;
}
.fp-post-card-title:hover { color: var(--rust); }
.fp-post-card-excerpt {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.75;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 12px;
	flex: 1;
}

/* ── QUOTE BANNER ── */
.fp-quote-banner {
	background: var(--ink);
	padding: 54px 48px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.fp-quote-banner::before, .fp-quote-banner::after {
	content: '';
	position: absolute;
	left: 0; right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--rust), var(--gold), var(--rust), transparent);
}
.fp-quote-banner::before { top: 0; }
.fp-quote-banner::after  { bottom: 0; }
.fp-quote-icon {
	font-family: var(--ff-h);
	font-size: 3rem;
	color: rgba(139,58,42,0.4);
	line-height: 1;
	margin-bottom: 14px;
}
.fp-quote-text {
	font-family: var(--ff-h);
	font-size: 1.95rem;
	font-style: italic;
	color: #e8dfd0;
	line-height: 1.7;
	max-width: 680px;
	margin: 0 auto 12px;
}
.fp-quote-author { font-size: 14px; color: var(--muted); font-weight: 300; }

/* ── STATS BAR ── */
.fp-stats {
	background: var(--rustlt);
	border-top: 1px solid #e8d5d0;
	border-bottom: 1px solid #e8d5d0;
	padding: 26px 48px;
}
.fp-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.fp-stat {
	text-align: center;
	padding: 8px 20px;
	border-left: 1px solid #e8d5d0;
}
.fp-stat:last-child { border-left: none; }
.fp-stat-number {
	font-family: var(--ff-h);
	font-size: 2.1rem;
	font-weight: 700;
	color: var(--rust);
	line-height: 1;
	margin-bottom: 6px;
	display: block;
}
.fp-stat-label { font-size: 13px; color: var(--ink3); font-weight: 600; }

/* ── HORIZONTAL LIST ── */
.fp-list { display: flex; flex-direction: column; gap: 10px; }
.fp-list-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 8px;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 13px;
	text-decoration: none;
	transition: border-color .2s, box-shadow .2s;
}
.fp-list-card:hover { border-color: var(--rust3); box-shadow: 0 4px 14px rgba(139,58,42,0.07); }
.fp-list-num {
	font-family: var(--ff-h);
	font-size: 1.5rem;
	color: rgba(139,58,42,0.2);
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
	width: 26px;
}
.fp-list-body { flex: 1; }
.fp-list-title { font-family: var(--ff-h); font-size: 1rem; color: var(--ink2); line-height: 1.5; }
.fp-list-card:hover .fp-list-title { color: var(--rust); }
.fp-list-meta { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ── TWO COL ── */
.fp-two-col { display: grid; grid-template-columns: 1fr 330px; gap: 28px; }
.fp-two-col-title {
	font-family: var(--ff-h);
	font-size: 1.05rem;
	color: var(--ink3);
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--border);
	display: flex;
	align-items: center;
	gap: 8px;
}
.fp-col-icon { color: var(--rust); }

/* ── CTA ── */
.fp-cta { background: var(--ink2); padding: 48px; text-align: center; }
.fp-cta-title { font-family: var(--ff-h); font-size: 2rem; color: #faf6ef; margin-bottom: 10px; }
.fp-cta-sub { font-size: 15px; color: #a89b8e; margin-bottom: 28px; line-height: 1.7; }
.fp-cta-cats { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.fp-cta-cat-btn {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.14);
	color: #c8bdb1;
	font-family: var(--ff-b);
	font-size: 14px;
	font-weight: 600;
	padding: 9px 20px;
	border-radius: 6px;
	text-decoration: none;
	transition: all .2s;
}
.fp-cta-cat-btn:hover { background: var(--rust); border-color: var(--rust); color: #fff; }

/* ════════════ RESPONSIVE ════════════ */
@media (max-width: 1100px) {
	.fp-hero-inner { grid-template-columns: 1fr; }
	.fp-hero-visual { display: none; }
	.fp-hero-main { padding: 44px 36px; border-left: none; }
	.fp-grid-4 { grid-template-columns: repeat(2,1fr); }
	.fp-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.fp-cats-grid { grid-template-columns: repeat(4,1fr); }
	.fp-featured-layout { grid-template-columns: 1fr; }
	.fp-featured-side { flex-direction: row; }
	.fp-stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
	.fp-hero-main { padding: 32px 20px; }
	.fp-hero-title { font-size: 1.9rem; }
	.fp-cats { padding: 22px 20px; }
	.fp-cats-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
	.fp-section { padding: 28px 20px; }
	.fp-quote-banner { padding: 36px 20px; }
	.fp-quote-text { font-size: 1.4rem; }
	.fp-grid-3 { grid-template-columns: 1fr; }
	.fp-grid-4 { grid-template-columns: 1fr; }
	.fp-featured-side { flex-direction: column; }
	.fp-stats { padding: 20px; }
	.fp-stats-grid { grid-template-columns: repeat(2,1fr); }
	.fp-cta { padding: 32px 20px; }
}
