/*
Theme Name: Aurum Luxe
Theme URI: https://example.com/aurum-luxe
Author: Aurum Luxe
Description: תבנית יוקרתית וקלאסית בעברית (RTL) בסגנון שחור-זהב, מהירה וידידותית לקידום בגוגל. שומרת על כל הפוסטים, הכותרות, הקטגוריות והקישורים הקיימים – משנה רק את העיצוב. תואמת Yoast SEO ו-Rank Math.
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aurum-luxe
Tags: rtl-language-support, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================
   1. Design tokens
   ========================================================== */
:root {
	--al-black: #0b0a09;
	--al-ink: #14110e;
	--al-ink-2: #1d1915;
	--al-ink-3: #2a241e;
	--al-text: #3a332c;
	--al-muted: #85796b;
	--al-ivory: #f6f1e8;
	--al-cream: #fbf8f2;
	--al-paper: #ffffff;
	--al-line: #e6dccb;
	--al-gold: #b8955a;
	--al-gold-deep: #8a6a36;
	--al-gold-light: #e6d3a8;
	--al-gold-pale: #f3e8cf;
	--al-foil: linear-gradient(100deg, #8a6a36 0%, #c9a463 22%, #f4e4b8 45%, #c9a463 62%, #9c7a41 82%, #d8bb82 100%);
	--al-hair: linear-gradient(90deg, transparent, var(--al-gold) 18%, var(--al-gold-light) 50%, var(--al-gold) 82%, transparent);
	--al-serif: "Frank Ruhl Libre", "David Libre", Georgia, "Times New Roman", serif;
	--al-sans: "Assistant", "Heebo", "Segoe UI", Arial, sans-serif;
	--al-shadow: 0 2px 4px rgba(11,10,9,.04), 0 24px 48px -24px rgba(11,10,9,.28);
	--al-wrap: 1240px;
	--al-read: 740px;
	--al-ease: cubic-bezier(.2,.7,.2,1);
}

/* ==========================================================
   2. Base
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background-color: var(--al-ivory);
	background-image:
		radial-gradient(1200px 600px at 100% -10%, rgba(201,164,99,.10), transparent 60%),
		radial-gradient(900px 500px at -10% 30%, rgba(201,164,99,.06), transparent 60%);
	background-attachment: fixed;
	color: var(--al-text);
	font-family: var(--al-sans);
	font-size: 18px;
	line-height: 1.85;
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
::selection { background: var(--al-gold-light); color: var(--al-black); }
img, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--al-gold-deep); text-decoration: none; transition: color .25s var(--al-ease); }
a:hover, a:focus { color: var(--al-black); }
:focus-visible { outline: 1px solid var(--al-gold); outline-offset: 4px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--al-serif);
	color: var(--al-black);
	font-weight: 400;
	line-height: 1.25;
	margin: 1.7em 0 .6em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.25rem; }
h5, h6 { font-size: 1.1rem; }
p { margin: 0 0 1.35em; }
hr { border: 0; height: 1px; background: var(--al-hair); margin: 3.5rem 0; }
blockquote {
	position: relative;
	margin: 2.6rem 0;
	padding: 2rem 2.4rem 1.6rem;
	background: var(--al-ink);
	color: var(--al-gold-pale);
	font-family: var(--al-serif);
	font-size: 1.35rem;
	line-height: 1.6;
	border: 0;
}
blockquote::before {
	content: "”"; position: absolute; top: -.35em; right: 1.2rem;
	font-size: 5rem; line-height: 1; color: var(--al-gold);
}
blockquote p:last-child { margin: 0; }
blockquote cite { display: block; margin-top: .8rem; font: 600 .8rem var(--al-sans); letter-spacing: .2em; color: var(--al-gold); font-style: normal; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.8rem; background: var(--al-paper); font-size: .95rem; }
th, td { padding: .85rem 1.1rem; border-bottom: 1px solid var(--al-line); text-align: right; }
th { background: var(--al-ink); color: var(--al-gold-light); font-weight: 600; letter-spacing: .05em; border: 0; }
tr:nth-child(even) td { background: var(--al-cream); }
ul, ol { padding-right: 1.4em; padding-left: 0; }

.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000;
	top: 1rem; right: 1rem; padding: .8rem 1.2rem; background: var(--al-black); color: var(--al-gold-light);
}

.al-wrap { width: 100%; max-width: var(--al-wrap); margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) { .al-wrap { padding: 0 16px; } body { font-size: 17px; } }

/* Gold foil text helper */
.al-foil, .al-header .al-site-title a, .al-footer-brand .al-site-title a, .al-404 .al-big {
	background: var(--al-foil);
	background-size: 200% auto;
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: var(--al-gold);
}

/* Ornament – diamond between hairlines */
.al-ornament {
	display: flex; align-items: center; justify-content: center; gap: .9rem;
	margin: 1.1rem auto 0; max-width: 300px; color: var(--al-gold);
}
.al-ornament::before, .al-ornament::after { content: ""; flex: 1; height: 1px; }
.al-ornament::before { background: linear-gradient(270deg, var(--al-gold), transparent); }
.al-ornament::after  { background: linear-gradient(90deg, var(--al-gold), transparent); }
.al-ornament span {
	width: 9px; height: 9px; transform: rotate(45deg);
	border: 1px solid var(--al-gold); position: relative;
}
.al-ornament span::after { content: ""; position: absolute; inset: 2px; background: var(--al-gold); }

/* ==========================================================
   3. Top bar + header (dark, gold)
   ========================================================== */
.al-topbar {
	background: var(--al-black);
	color: var(--al-gold-light);
	font-size: .78rem;
	letter-spacing: .18em;
	border-bottom: 1px solid rgba(230,211,168,.12);
}
.al-topbar .al-wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; flex-wrap: wrap; }
.al-topbar a { color: var(--al-gold-light); }
.al-topbar a:hover { color: #fff; }
.al-topbar p { margin: 0; }

.al-header {
	background:
		radial-gradient(700px 260px at 50% 0%, rgba(201,164,99,.16), transparent 70%),
		var(--al-ink);
	color: var(--al-gold-pale);
	position: relative;
}
.al-header::after {
	content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--al-hair);
}
.al-brand { text-align: center; padding: 3.2rem 0 2rem; }
.al-brand .custom-logo { margin: 0 auto; max-height: 100px; width: auto; }
.al-site-title {
	font-family: var(--al-serif);
	font-size: clamp(2.1rem, 4.8vw, 3.4rem);
	font-weight: 400;
	margin: 0;
	line-height: 1.15;
	letter-spacing: .02em;
}
.al-site-title a { color: var(--al-gold-light); }
.al-site-desc {
	margin: .7rem 0 0;
	color: rgba(243,232,207,.62);
	font-size: .82rem;
	letter-spacing: .32em;
}

/* Navigation */
.al-nav { border-top: 1px solid rgba(230,211,168,.10); background: rgba(0,0,0,.22); }
.al-nav .al-wrap { display: flex; justify-content: center; align-items: center; }
.al-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.al-menu li { position: relative; }
.al-menu a {
	display: block; padding: 1.15rem 1.4rem;
	color: var(--al-gold-pale); font-size: .86rem; font-weight: 600; letter-spacing: .2em;
	position: relative;
}
.al-menu a:hover, .al-menu a:focus { color: #fff; }
.al-menu > li > a::after {
	content: ""; position: absolute; right: 50%; bottom: .7rem; width: 5px; height: 5px;
	background: var(--al-gold); transform: translateX(50%) rotate(45deg) scale(0);
	transition: transform .3s var(--al-ease);
}
.al-menu > li > a:hover::after,
.al-menu > .current-menu-item > a::after,
.al-menu > .current-menu-ancestor > a::after { transform: translateX(50%) rotate(45deg) scale(1); }
.al-menu > .current-menu-item > a, .al-menu > .current-menu-ancestor > a { color: var(--al-gold-light); }
.al-menu .sub-menu {
	list-style: none; margin: 0; padding: .6rem 0; position: absolute; top: 100%; right: 0;
	min-width: 240px; background: var(--al-ink); border: 1px solid rgba(230,211,168,.18);
	border-top: 1px solid var(--al-gold); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--al-ease); z-index: 50;
}
.al-menu li:hover > .sub-menu, .al-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.al-menu .sub-menu a { padding: .6rem 1.4rem; font-weight: 500; letter-spacing: .06em; font-size: .9rem; }
.al-menu .sub-menu a:hover { background: rgba(230,211,168,.06); }
.al-menu .sub-menu .sub-menu { right: 100%; top: -.6rem; }

.al-menu-toggle {
	display: none; background: none; border: 1px solid rgba(230,211,168,.35); color: var(--al-gold-light);
	font: 600 .82rem var(--al-sans); padding: .65rem 1.3rem; margin: .8rem auto; cursor: pointer; letter-spacing: .22em;
}
.al-menu-toggle .bars { display: inline-block; width: 18px; height: 11px; margin-left: .6rem; vertical-align: middle;
	background: linear-gradient(var(--al-gold),var(--al-gold)) top/100% 1px no-repeat,
	            linear-gradient(var(--al-gold),var(--al-gold)) center/70% 1px no-repeat,
	            linear-gradient(var(--al-gold),var(--al-gold)) bottom/100% 1px no-repeat; }
@media (max-width: 860px) {
	.al-brand { padding: 2.2rem 0 1.4rem; }
	.al-nav .al-wrap { flex-direction: column; }
	.al-menu-toggle { display: block; }
	.al-menu { display: none; flex-direction: column; width: 100%; padding-bottom: .8rem; }
	.al-nav.is-open .al-menu { display: flex; }
	.al-menu a { padding: .85rem 0; text-align: center; border-top: 1px solid rgba(230,211,168,.08); }
	.al-menu > li > a::after { display: none; }
	.al-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: rgba(0,0,0,.25); }
}

/* ==========================================================
   4. Layout
   ========================================================== */
.al-main { padding: 4rem 0 5rem; }
.al-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 3.5rem; align-items: start; }
.al-grid.no-sidebar { grid-template-columns: minmax(0,1fr); }
@media (max-width: 980px) { .al-grid { grid-template-columns: minmax(0,1fr); gap: 3rem; } }

.al-page-head { text-align: center; margin: 0 auto 3.5rem; max-width: var(--al-read); }
.al-eyebrow {
	display: inline-flex; align-items: center; gap: .8rem;
	color: var(--al-gold-deep); font-size: .74rem; font-weight: 700;
	letter-spacing: .34em; margin-bottom: .9rem;
}
.al-eyebrow::before, .al-eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--al-gold); }
.al-page-head h1 { margin: 0; }
.al-page-head .archive-description { color: var(--al-muted); margin-top: 1.2rem; font-size: 1.05rem; }

.al-breadcrumbs { font-size: .8rem; color: var(--al-muted); margin: 0 0 2rem; letter-spacing: .08em; }
.al-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.al-breadcrumbs li + li::before { content: "◆"; font-size: .45rem; color: var(--al-gold); margin-left: .5rem; vertical-align: middle; }
.al-breadcrumbs a { color: var(--al-muted); }
.al-breadcrumbs a:hover { color: var(--al-gold-deep); }

/* ==========================================================
   5. Post cards
   ========================================================== */
.al-posts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.6rem 2.2rem; }
@media (max-width: 700px) { .al-posts { grid-template-columns: minmax(0,1fr); } }

.al-card {
	position: relative; background: var(--al-paper);
	display: flex; flex-direction: column;
	box-shadow: 0 1px 0 var(--al-line);
	transition: box-shadow .5s var(--al-ease), transform .5s var(--al-ease);
}
/* inner gold frame that draws in on hover */
.al-card::after {
	content: ""; position: absolute; inset: 10px; pointer-events: none; z-index: 2;
	border: 1px solid var(--al-gold); opacity: 0; transform: scale(.985);
	transition: opacity .5s var(--al-ease), transform .5s var(--al-ease);
}
.al-card:hover { box-shadow: var(--al-shadow); transform: translateY(-4px); }
.al-card:hover::after { opacity: .7; transform: none; }
.al-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--al-ink-2); }
.al-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--al-ease), filter 1.2s; filter: saturate(.92); }
.al-card:hover .al-card-media img { transform: scale(1.05); filter: saturate(1); }
.al-card-body { padding: 2rem 2.1rem 2.3rem; display: flex; flex-direction: column; flex: 1; text-align: center; align-items: center; }
.al-cat-label a {
	display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .3em; color: var(--al-gold-deep);
	padding-bottom: .35rem; border-bottom: 1px solid var(--al-gold-light);
}
.al-card-title { font-size: 1.55rem; margin: 1rem 0 .8rem; line-height: 1.3; }
.al-card-title a { color: var(--al-black); }
.al-card-title a:hover { color: var(--al-gold-deep); }
.al-meta { font-size: .78rem; color: var(--al-muted); display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem .9rem; letter-spacing: .1em; }
.al-meta > span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; background: var(--al-gold); transform: rotate(45deg); margin-left: .9rem; vertical-align: middle; }
.al-meta a { color: var(--al-muted); }
.al-meta a:hover { color: var(--al-gold-deep); }
.al-excerpt { margin-top: 1.1rem; color: var(--al-text); font-size: 1rem; line-height: 1.8; }
.al-excerpt p:last-child { margin-bottom: 0; }
.al-readmore {
	margin-top: auto; padding-top: 1.6rem;
	font-size: .74rem; font-weight: 700; letter-spacing: .3em; color: var(--al-black);
	display: inline-flex; align-items: center; gap: .7rem; position: relative; z-index: 3;
}
.al-readmore::after { content: ""; width: 26px; height: 1px; background: var(--al-gold); transition: width .35s var(--al-ease); }
.al-readmore:hover { color: var(--al-gold-deep); }
.al-readmore:hover::after { width: 44px; }

/* Featured (first) card – text over image */
.al-posts > .al-card:first-child { grid-column: 1 / -1; }
.al-posts > .al-card:first-child.has-post-thumbnail { min-height: 520px; justify-content: flex-end; background: var(--al-black); }
.al-posts > .al-card:first-child.has-post-thumbnail .al-card-media { position: absolute; inset: 0; aspect-ratio: auto; }
.al-posts > .al-card:first-child.has-post-thumbnail .al-card-media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(11,10,9,.92) 0%, rgba(11,10,9,.55) 45%, rgba(11,10,9,.1) 100%);
}
.al-posts > .al-card:first-child.has-post-thumbnail .al-card-body {
	position: relative; z-index: 3; flex: 0; padding: 3.2rem 3rem 3.4rem; max-width: 820px; margin: 0 auto;
}
.al-posts > .al-card:first-child .al-card-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.al-posts > .al-card:first-child.has-post-thumbnail .al-card-title a { color: #fff; }
.al-posts > .al-card:first-child.has-post-thumbnail .al-card-title a:hover { color: var(--al-gold-light); }
.al-posts > .al-card:first-child.has-post-thumbnail .al-cat-label a { color: var(--al-gold-light); border-color: rgba(230,211,168,.4); }
.al-posts > .al-card:first-child.has-post-thumbnail .al-meta,
.al-posts > .al-card:first-child.has-post-thumbnail .al-meta a { color: rgba(243,232,207,.75); }
.al-posts > .al-card:first-child.has-post-thumbnail .al-excerpt { color: rgba(255,255,255,.82); font-size: 1.05rem; }
.al-posts > .al-card:first-child.has-post-thumbnail .al-readmore { color: var(--al-gold-light); }
.al-posts > .al-card:first-child.has-post-thumbnail::after { border-color: var(--al-gold-light); opacity: .45; transform: none; }
@media (max-width: 700px) {
	.al-posts > .al-card:first-child.has-post-thumbnail { min-height: 460px; }
	.al-posts > .al-card:first-child.has-post-thumbnail .al-card-body { padding: 2.2rem 1.4rem 2.4rem; }
}

/* Pagination */
.al-pagination { margin-top: 4rem; text-align: center; }
.al-pagination .nav-links { display: inline-flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.al-pagination .page-numbers {
	min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .9rem;
	border: 1px solid var(--al-line); background: transparent; color: var(--al-black);
	font-family: var(--al-serif); font-size: 1.05rem; transition: all .25s var(--al-ease);
}
.al-pagination .page-numbers.current, .al-pagination a.page-numbers:hover { background: var(--al-ink); color: var(--al-gold-light); border-color: var(--al-ink); }
.al-pagination .prev, .al-pagination .next { font-family: var(--al-sans); font-size: .78rem; letter-spacing: .2em; font-weight: 700; }

/* ==========================================================
   6. Single post / page
   ========================================================== */
.al-article { background: var(--al-paper); box-shadow: var(--al-shadow); }
.al-article-head {
	position: relative; text-align: center; padding: 4rem 3.2rem 3.4rem;
	background: radial-gradient(600px 240px at 50% 0%, rgba(201,164,99,.18), transparent 70%), var(--al-ink);
	color: var(--al-gold-pale);
}
.al-article-head::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(230,211,168,.22); pointer-events: none; }
.al-article-head h1 { margin: 1rem auto 1.2rem; color: #fff; max-width: 820px; }
.al-article-head .al-cat-label a { color: var(--al-gold-light); border-color: rgba(230,211,168,.4); }
.al-article-head .al-meta, .al-article-head .al-meta a { color: rgba(243,232,207,.7); }
.al-article-head .al-meta a:hover { color: var(--al-gold-light); }
.al-article-head .al-ornament { margin-top: 1.6rem; }
.al-article-media { margin: 0; position: relative; }
.al-article-media img { width: 100%; }
.al-article-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--al-hair); }
.al-article-media figcaption { font-size: .82rem; color: var(--al-muted); text-align: center; padding: .8rem 1rem 0; letter-spacing: .05em; }
.al-content { padding: 3.4rem 3.2rem 3.4rem; max-width: calc(var(--al-read) + 6.4rem); margin: 0 auto; font-size: 1.08rem; }
.al-content > *:first-child { margin-top: 0; }
/* Drop cap */
.al-content > p:first-of-type::first-letter {
	float: right; font-family: var(--al-serif); font-size: 4.4em; line-height: .85;
	margin: .08em 0 0 .14em; color: var(--al-gold-deep);
}
.al-content h2 { text-align: center; margin-top: 2.4em; }
.al-content h2::after {
	content: ""; display: block; width: 7px; height: 7px; margin: .9rem auto 0;
	background: var(--al-gold); transform: rotate(45deg);
	box-shadow: 18px -18px 0 -3px var(--al-gold-light), -18px 18px 0 -3px var(--al-gold-light);
}
.al-content h3 { color: var(--al-ink-3); }
.al-content a { color: var(--al-gold-deep); text-decoration: underline; text-decoration-color: var(--al-gold-light); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.al-content a:hover { color: var(--al-black); text-decoration-color: var(--al-gold); }
.al-content ul li::marker { color: var(--al-gold); }
.al-content ol li::marker { color: var(--al-gold-deep); font-family: var(--al-serif); }
.al-content img { margin: 2rem auto; }
.al-content .wp-caption, .al-content figure { margin: 2.4rem 0; max-width: 100%; }
.al-content .wp-caption-text, .al-content figcaption { font-size: .85rem; color: var(--al-muted); text-align: center; }
.al-content .alignleft { float: left; margin: .4rem 1.8rem 1rem 0; }
.al-content .alignright { float: right; margin: .4rem 0 1rem 1.8rem; }
.al-content .aligncenter { margin-left: auto; margin-right: auto; }
.al-content::after { content: ""; display: table; clear: both; }
@media (max-width: 700px) {
	.al-article-head { padding: 2.8rem 1.4rem 2.4rem; }
	.al-content { padding: 2.2rem 1.3rem 2.4rem; }
	.al-content .alignleft, .al-content .alignright { float: none; margin: 1rem auto; }
}

.al-tags { padding: 0 3.2rem 3rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.al-tags a { font-size: .78rem; letter-spacing: .08em; padding: .35rem 1rem; border: 1px solid var(--al-line); color: var(--al-text); transition: all .25s; }
.al-tags a:hover { border-color: var(--al-ink); background: var(--al-ink); color: var(--al-gold-light); }
@media (max-width: 700px) { .al-tags { padding: 0 1.3rem 2rem; } }

.al-author-box { position: relative; display: flex; gap: 1.5rem; align-items: center; margin-top: 3rem; padding: 2.2rem; background: var(--al-paper); box-shadow: 0 1px 0 var(--al-line); }
.al-author-box::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--al-gold-light); pointer-events: none; }
.al-author-box img { border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 3px var(--al-paper), 0 0 0 4px var(--al-gold); }
.al-author-box h2 { font-size: 1.25rem; margin: 0 0 .3rem; }
.al-author-box p { margin: 0; font-size: .95rem; color: var(--al-muted); }

.al-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 3rem; background: var(--al-line); border: 1px solid var(--al-line); }
.al-post-nav > div { background: var(--al-paper); }
.al-post-nav a { display: block; padding: 1.6rem 1.8rem; color: var(--al-black); font-family: var(--al-serif); font-size: 1.15rem; line-height: 1.4; height: 100%; transition: background .3s; }
.al-post-nav a:hover { background: var(--al-cream); color: var(--al-gold-deep); }
.al-post-nav small { display: block; font-family: var(--al-sans); font-size: .7rem; color: var(--al-gold-deep); letter-spacing: .3em; font-weight: 700; margin-bottom: .4rem; }
.al-post-nav .nav-next { text-align: left; }
@media (max-width: 600px) { .al-post-nav { grid-template-columns: 1fr; } .al-post-nav .nav-next { text-align: right; } }

.al-related { margin-top: 4.5rem; }
.al-section-title { text-align: center; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 2.4rem; }
.al-section-title::after {
	content: ""; display: block; width: 120px; height: 9px; margin: 1rem auto 0;
	background:
		linear-gradient(45deg, transparent 40%, var(--al-gold) 40% 60%, transparent 60%) center/9px 9px no-repeat,
		linear-gradient(var(--al-gold), var(--al-gold)) right center/48px 1px no-repeat,
		linear-gradient(var(--al-gold), var(--al-gold)) left center/48px 1px no-repeat;
}
.al-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.6rem; }
.al-related-grid .al-card-body { padding: 1.4rem 1.3rem 1.6rem; }
.al-related-grid .al-card-title { font-size: 1.12rem; margin: 0; }
@media (max-width: 760px) { .al-related-grid { grid-template-columns: minmax(0,1fr); } }

/* ==========================================================
   7. Sidebar & widgets
   ========================================================== */
.al-sidebar { position: sticky; top: 2rem; }
.al-sidebar .widget { position: relative; background: var(--al-paper); padding: 2.1rem 2rem; margin-bottom: 2rem; font-size: .97rem; box-shadow: 0 1px 0 var(--al-line); }
.al-sidebar .widget::before { content: ""; position: absolute; top: 0; right: 2rem; left: 2rem; height: 2px; background: var(--al-foil); }
.al-sidebar .widget-title, .al-sidebar .widget h2, .al-sidebar .wp-block-heading {
	font-size: 1.25rem; margin: 0 0 1.3rem; text-align: center;
}
.al-sidebar .widget-title::after, .al-sidebar .widget h2::after {
	content: ""; display: block; width: 6px; height: 6px; margin: .7rem auto 0; background: var(--al-gold); transform: rotate(45deg);
}
.al-sidebar ul { list-style: none; padding: 0; margin: 0; }
.al-sidebar li { padding: .7rem 0; border-bottom: 1px solid var(--al-line); }
.al-sidebar li:last-child { border-bottom: 0; }
.al-sidebar li a { color: var(--al-text); transition: color .25s, padding .25s var(--al-ease); display: inline-block; }
.al-sidebar li a:hover { color: var(--al-gold-deep); padding-right: .35rem; }
.al-sidebar .cat-item { display: flex; justify-content: space-between; gap: .5rem; }
@media (max-width: 980px) { .al-sidebar { position: static; } }

.al-search { display: flex; border: 1px solid var(--al-line); background: var(--al-cream); }
.al-search input[type=search] { flex: 1; border: 0; padding: .9rem 1.1rem; font: inherit; font-size: .95rem; background: transparent; min-width: 0; }
.al-search button { border: 0; background: var(--al-ink); color: var(--al-gold-light); padding: 0 1.3rem; font: 700 .75rem var(--al-sans); letter-spacing: .22em; cursor: pointer; transition: background .25s; }
.al-search button:hover { background: var(--al-gold-deep); color: #fff; }

/* ==========================================================
   8. Comments & forms
   ========================================================== */
.al-comments { margin-top: 3.5rem; background: var(--al-paper); padding: 2.8rem; box-shadow: 0 1px 0 var(--al-line); }
.al-comments .comment-list { list-style: none; padding: 0; }
.al-comments .comment-list .children { list-style: none; padding-right: 2.2rem; border-right: 1px solid var(--al-gold-light); }
.al-comments .comment-body { padding: 1.5rem 0; border-bottom: 1px solid var(--al-line); }
.al-comments .comment-author img { border-radius: 50%; float: right; margin-left: .9rem; box-shadow: 0 0 0 2px var(--al-paper), 0 0 0 3px var(--al-gold-light); }
.al-comments .comment-author .fn { font-family: var(--al-serif); font-size: 1.1rem; font-style: normal; }
.al-comments .comment-metadata { font-size: .78rem; letter-spacing: .05em; }
.al-comments .comment-metadata a { color: var(--al-muted); }
.al-comments .reply a { font-size: .72rem; font-weight: 700; letter-spacing: .25em; }
input[type=text], input[type=email], input[type=url], input[type=tel], textarea {
	width: 100%; border: 0; border-bottom: 1px solid var(--al-line); background: var(--al-cream); padding: .9rem 1.1rem; font: inherit; font-size: 1rem; color: var(--al-black);
	transition: border-color .25s, background .25s;
}
input:focus, textarea:focus { border-bottom-color: var(--al-gold); outline: none; background: #fff; }
.button, button[type=submit], input[type=submit] {
	display: inline-block; background: var(--al-ink); color: var(--al-gold-light); border: 1px solid var(--al-ink); padding: 1rem 2.4rem;
	font: 700 .78rem var(--al-sans); letter-spacing: .26em; cursor: pointer; transition: all .3s var(--al-ease);
}
.button:hover, button[type=submit]:hover, input[type=submit]:hover { background: transparent; color: var(--al-ink); border-color: var(--al-gold); }
@media (max-width: 600px) { .al-comments { padding: 1.6rem 1.2rem; } }

/* ==========================================================
   9. Footer
   ========================================================== */
.al-footer {
	position: relative; color: #bdb2a3; font-size: .95rem;
	background: radial-gradient(800px 300px at 50% 100%, rgba(201,164,99,.12), transparent 70%), var(--al-black);
}
.al-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--al-hair); }
.al-footer-brand { text-align: center; padding: 4rem 0 2rem; }
.al-footer-brand .al-site-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.al-footer-widgets { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 3rem; padding: 2rem 0 3.5rem; border-top: 1px solid rgba(230,211,168,.10); }
@media (max-width: 860px) { .al-footer-widgets { grid-template-columns: minmax(0,1fr); text-align: center; } }
.al-footer .widget-title, .al-footer .widget h2 { color: var(--al-gold-light); font-size: 1.15rem; margin: 0 0 1.2rem; letter-spacing: .04em; }
.al-footer a { color: #d9cfbf; }
.al-footer a:hover { color: var(--al-gold-light); }
.al-footer ul { list-style: none; padding: 0; margin: 0; }
.al-footer li { padding: .4rem 0; }
.al-footer-bottom { padding: 1.6rem 0; font-size: .76rem; letter-spacing: .14em; color: #8a8073; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; border-top: 1px solid rgba(230,211,168,.10); }
.al-footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 1.6rem; margin: 0; padding: 0; }
.al-footer-menu a { color: #a89d8e; }

.al-top {
	position: fixed; left: 1.4rem; bottom: 1.4rem; width: 48px; height: 48px; display: grid; place-items: center;
	background: var(--al-ink); color: var(--al-gold-light); border: 1px solid rgba(230,211,168,.35);
	font-size: 1.1rem; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .35s var(--al-ease); z-index: 90;
}
.al-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.al-top:hover { background: var(--al-gold-deep); color: #fff; border-color: var(--al-gold-deep); }

/* 404 */
.al-404 { text-align: center; padding: 3rem 1rem; }
.al-404 .al-big { font-family: var(--al-serif); font-size: clamp(6rem, 16vw, 11rem); line-height: 1; margin: 0; }
.al-404 .al-search { max-width: 480px; margin: 2rem auto 0; }

/* WordPress core classes */
.sticky .al-cat-label a::before { content: "✦ "; color: var(--al-gold); }
.bypostauthor > .comment-body .fn::after { content: " ✦"; color: var(--al-gold); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem; }
.wp-block-button__link { background: var(--al-ink); color: var(--al-gold-light); border-radius: 0; letter-spacing: .18em; font-size: .82rem; font-weight: 700; padding: 1rem 2.2rem; }
.wp-block-separator { border: 0; height: 1px; background: var(--al-hair); }
.wp-block-pullquote { border-top: 1px solid var(--al-gold); border-bottom: 1px solid var(--al-gold); }
.wp-block-pullquote blockquote { background: none; color: var(--al-black); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.al-topbar, .al-nav, .al-sidebar, .al-footer, .al-top, .al-comments, .al-related, .al-post-nav { display: none !important; }
	body { background: #fff; }
	.al-article { box-shadow: none; }
	.al-article-head { background: none; color: #000; }
	.al-article-head h1 { color: #000; }
}
