/*
Theme Name: Adabkhana
Theme URI: https://adabkhana.com
Author: Adabkhana Team
Author URI: https://adabkhana.com
Description: A classic Urdu literary website for poetry, ghazals, and classical literature. Bilingual English and Urdu with Nastaliq typography.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adabkhana
Tags: urdu, poetry, literature, rtl, bilingual, classic
*/

:root {
    --color-bg:        #faf8f3;
    --color-bg-2:      #f3f0e8;
    --color-navy:      #1a2340;
    --color-navy-dark: #111828;
    --color-footer:    #000000;
    --text-black:      #1a1a1a;
    --text-grey:       #555050;
    --text-muted:      #8a8478;
    --text-white:      #f5f5f0;
    --border-grey:     #e2ddd2;
    --font-en: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --font-ur: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-en);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-black);
    background-color: var(--color-bg);
    min-height: 100vh;
}

body.lang-ur { direction: rtl; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ── TYPOGRAPHY ENGLISH ────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-en);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-black);
    margin-bottom: 0.75rem;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p {
    font-family: var(--font-en);
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-grey);
    margin-bottom: 1rem;
}

a { color: var(--color-navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-navy-dark); text-decoration: underline; }

/* ── TYPOGRAPHY URDU ───────────────────────────── */
.urdu-text, [lang="ur"] {
    font-family: var(--font-ur);
    direction: rtl;
    text-align: right;
    line-height: 2.6;
    unicode-bidi: embed;
}

body.lang-ur h1, body.lang-ur h2, body.lang-ur h3, body.lang-ur h4, body.lang-ur p {
    font-family: var(--font-ur);
    direction: rtl;
    text-align: right;
}
body.lang-ur h1 { font-size: 2rem;    line-height: 2.4; }
body.lang-ur h2 { font-size: 1.55rem; line-height: 2.3; }
body.lang-ur h3 { font-size: 1.2rem;  line-height: 2.2; }
body.lang-ur p  { font-size: 1rem;    line-height: 2.5; }

.poem-urdu-line {
    font-family: var(--font-ur);
    direction: rtl;
    text-align: right;
    line-height: 2.8;
    font-size: 1.3rem;
    color: var(--text-black);
    display: block;
    unicode-bidi: isolate;
}

.roman-text {
    font-family: var(--font-en);
    font-style: italic;
    font-size: 0.875rem;
    color: var(--text-muted);
    direction: ltr;
    text-align: left;
    line-height: 1.9;
    display: block;
}
body.lang-ur .roman-text { display: none; }

/* ── LAYOUT ────────────────────────────────────── */
.container     { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.site-wrapper  { display: flex; flex-direction: column; min-height: 100vh; }
.site-main     { flex: 1; padding: 48px 0; }

/* ── LANGUAGE BAR (desktop only) ───────────────── */
.lang-bar {
    background: var(--color-bg-2);
    border-bottom: 1px solid var(--border-grey);
    padding: 5px 0;
}
.lang-bar-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: flex-end; gap: 4px;
}
.lang-bar__label {
    font-family: var(--font-en); font-size: 0.68rem; font-weight: 600;
    color: var(--text-muted); letter-spacing: 0.08em;
    text-transform: uppercase; margin-right: 8px;
}
.lang-btn {
    font-family: var(--font-en); font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.04em; padding: 3px 12px;
    border-radius: var(--r-sm); border: 1px solid var(--border-grey);
    background: transparent; color: var(--text-grey);
    cursor: pointer; text-decoration: none; transition: all 0.2s;
}
.lang-btn.active { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.lang-btn:hover:not(.active) { background: #fff; color: var(--color-navy); border-color: var(--color-navy); text-decoration: none; }
.lang-btn .ur-label { font-family: var(--font-ur); font-size: 0.95rem; line-height: 1; vertical-align: middle; }

/* ── HEADER ────────────────────────────────────── */
.site-header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--border-grey);
    position: sticky; top: 0; z-index: 200;
}
.header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    height: 64px; display: flex; align-items: center; gap: 24px;
}

/* Logo */
.site-logo {
    font-family: var(--font-en); font-size: 1.25rem; font-weight: 800;
    color: var(--text-black); letter-spacing: 0.14em;
    text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.site-logo:hover { text-decoration: none; color: var(--text-black); }

/* Primary nav */
.primary-nav { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.primary-nav a {
    font-family: var(--font-en); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--text-black); padding: 7px 12px;
    border-radius: var(--r-sm); text-decoration: none;
    transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.primary-nav a:hover, .primary-nav a.current-menu-item {
    background: var(--color-navy); color: #fff; text-decoration: none;
}
body.lang-ur .primary-nav a {
    font-family: var(--font-ur); font-size: 1rem;
    letter-spacing: 0; text-transform: none; line-height: 2;
}

/* Header search (desktop) */
.header-search { flex: 1; min-width: 0; }
.header-search__wrap { position: relative; display: flex; align-items: center; max-width: 320px; }
.header-search__icon { position: absolute; left: 10px; color: var(--text-muted); pointer-events: none; }
body.lang-ur .header-search__icon { left: auto; right: 10px; }
.header-search__input {
    width: 100%; padding: 7px 10px 7px 32px;
    border: 1.5px solid var(--border-grey); border-radius: var(--r-md);
    background: #fff; font-family: var(--font-en);
    font-size: 0.82rem; color: var(--text-black);
    outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
body.lang-ur .header-search__input {
    padding: 7px 32px 7px 10px; font-family: var(--font-ur);
    direction: rtl; font-size: 0.95rem;
}
.header-search__input:focus { border-color: var(--color-navy); box-shadow: 0 0 0 3px rgba(26,35,64,0.08); }
.header-search__input::placeholder { color: var(--text-muted); font-size: 0.8rem; }

/* Header right */
.header-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Login */
.btn-login {
    font-family: var(--font-en); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    background: var(--color-navy); border: 1.5px solid var(--color-navy);
    color: #fff; padding: 7px 18px; border-radius: var(--r-sm);
    cursor: pointer; text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.btn-login:hover { background: var(--color-navy-dark); border-color: var(--color-navy-dark); color: #fff; text-decoration: none; }
body.lang-ur .btn-login { font-family: var(--font-ur); font-size: 0.9rem; letter-spacing: 0; text-transform: none; }

/* Hamburger (mobile only) */
.hamburger {
    display: none; background: transparent; border: none;
    color: var(--text-black); cursor: pointer; padding: 4px;
    line-height: 1; flex-shrink: 0;
}

/* ── LANGUAGE DROPDOWN (mobile only) ───────────── */
.lang-dropdown { display: none; position: relative; }
.lang-dropdown__btn {
    font-family: var(--font-en); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.04em; background: transparent;
    border: 1.5px solid var(--border-grey); color: var(--text-black);
    padding: 5px 10px; border-radius: var(--r-sm);
    cursor: pointer; display: flex; align-items: center; gap: 4px;
    white-space: nowrap; transition: border-color 0.2s;
}
.lang-dropdown__btn:hover { border-color: var(--color-navy); }
.lang-dropdown__menu {
    display: none; position: absolute; top: calc(100% + 6px); right: 0;
    background: #fff; border: 1.5px solid var(--border-grey);
    border-radius: var(--r-md); box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 130px; z-index: 500; overflow: hidden;
}
.lang-dropdown__menu.open { display: block; }
.lang-dropdown__item {
    display: block; padding: 10px 16px; font-family: var(--font-en);
    font-size: 0.82rem; font-weight: 500; color: var(--text-black);
    text-decoration: none; transition: background 0.15s;
}
.lang-dropdown__item:hover { background: var(--color-bg-2); text-decoration: none; }
.lang-dropdown__item--active { font-weight: 700; color: var(--color-navy); }

/* ── MOBILE DRAWER (navy, white text, from left) ─ */
.mobile-nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); z-index: 300;
    opacity: 0; transition: opacity 0.3s;
}
.mobile-nav-overlay.open { display: block; opacity: 1; }

.mobile-nav-drawer {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 280px; background: var(--color-navy);
    z-index: 400; transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex; flex-direction: column; overflow: hidden;
}
.mobile-nav-drawer.open { transform: translateX(0); }

.mobile-nav-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-logo {
    font-family: var(--font-en); font-size: 1rem; font-weight: 800;
    letter-spacing: 0.12em; color: #fff;
}
.mobile-nav-close {
    background: transparent; border: none; color: rgba(255,255,255,0.6);
    cursor: pointer; padding: 4px; line-height: 1; transition: color 0.2s;
}
.mobile-nav-close:hover { color: #fff; }

.mobile-nav-search { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav-search__input {
    width: 100%; padding: 9px 12px;
    border: 1.5px solid rgba(255,255,255,0.2); border-radius: var(--r-md);
    background: rgba(255,255,255,0.08); font-family: var(--font-en);
    font-size: 0.85rem; color: #fff; outline: none; transition: border-color 0.2s;
}
.mobile-nav-search__input::placeholder { color: rgba(255,255,255,0.4); }
.mobile-nav-search__input:focus { border-color: rgba(255,255,255,0.5); }
body.lang-ur .mobile-nav-search__input { font-family: var(--font-ur); direction: rtl; }

.mobile-nav-links { flex: 1; padding: 8px 0; overflow-y: auto; }
.mobile-nav-links a {
    display: block; font-family: var(--font-en); font-size: 0.85rem;
    font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
    color: rgba(255,255,255,0.85); padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none; transition: background 0.2s, color 0.2s;
}
.mobile-nav-links a:hover { background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; }
body.lang-ur .mobile-nav-links a {
    font-family: var(--font-ur); font-size: 1rem;
    letter-spacing: 0; text-transform: none; text-align: right; line-height: 2.2;
}

.mobile-nav-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.mobile-nav-register {
    display: block; width: 100%; padding: 12px; text-align: center;
    font-family: var(--font-en); font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--color-navy); background: #fff;
    border-radius: var(--r-md); text-decoration: none; transition: opacity 0.2s;
}
.mobile-nav-register:hover { opacity: 0.9; text-decoration: none; }

/* ── HERO ──────────────────────────────────────── */
.hero-verse {
    background: var(--color-bg-2); padding: 72px 24px;
    text-align: center; border-bottom: 1px solid var(--border-grey);
}
.hero-verse__eyebrow {
    font-family: var(--font-en); font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 24px;
}
body.lang-ur .hero-verse__eyebrow {
    font-family: var(--font-ur); font-size: 0.9rem;
    letter-spacing: 0; text-transform: none; line-height: 2;
}
.hero-verse__urdu {
    font-family: var(--font-ur); font-size: 2.1rem; direction: rtl;
    line-height: 2.9; color: var(--text-black);
    max-width: 760px; margin: 0 auto 10px;
}
.hero-verse__roman {
    font-family: var(--font-en); font-style: italic; font-size: 1rem;
    color: var(--text-muted); margin-bottom: 22px; letter-spacing: 0.02em;
}
body.lang-ur .hero-verse__roman { display: none; }
.hero-verse__poet {
    font-family: var(--font-en); font-size: 0.8rem; font-weight: 700;
    color: var(--color-navy); letter-spacing: 0.1em; text-transform: uppercase;
}
body.lang-ur .hero-verse__poet {
    font-family: var(--font-ur); font-size: 1rem;
    letter-spacing: 0; text-transform: none; line-height: 2;
}

/* ── SECTION HEADING ───────────────────────────── */
.section-heading {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--border-grey);
}
.section-heading__title {
    font-family: var(--font-en); font-size: 0.75rem; font-weight: 800;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-black); position: relative; padding-left: 12px;
}
.section-heading__title::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 4px; height: 14px; background: var(--color-navy); border-radius: 2px;
}
body.lang-ur .section-heading__title {
    font-family: var(--font-ur); font-size: 1.1rem;
    letter-spacing: 0; text-transform: none; line-height: 2;
    padding-left: 0; padding-right: 12px;
}
body.lang-ur .section-heading__title::before { left: auto; right: 0; }
.section-heading__link {
    font-family: var(--font-en); font-size: 0.75rem; font-weight: 600;
    color: var(--color-navy); letter-spacing: 0.04em;
}
.section-heading__link:hover { text-decoration: underline; }
body.lang-ur .section-heading__link { font-family: var(--font-ur); font-size: 0.9rem; letter-spacing: 0; line-height: 2; }

/* ── TAGS ──────────────────────────────────────── */
.tag {
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    font-family: var(--font-en); font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none;
    background: transparent; color: var(--color-navy); border: 1px solid var(--color-navy);
    transition: all 0.2s;
}
.tag:hover { background: var(--color-navy); color: #fff; text-decoration: none; }
body.lang-ur .tag { font-family: var(--font-ur); font-size: 0.85rem; letter-spacing: 0; text-transform: none; line-height: 2; }

/* ── POEM CARD ─────────────────────────────────── */
.poem-card {
    background: #fff; border: 1px solid var(--border-grey); border-radius: var(--r-lg);
    padding: 24px; display: block; color: inherit; text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.poem-card:hover { border-color: var(--color-navy); box-shadow: 0 4px 20px rgba(26,35,64,0.08); text-decoration: none; color: inherit; }
.poem-card__genre { margin-bottom: 12px; }
.poem-card__verse {
    font-family: var(--font-ur); font-size: 1.2rem; direction: rtl; text-align: right;
    line-height: 2.7; color: var(--text-black); border-right: 3px solid var(--color-navy);
    padding-right: 14px; margin-bottom: 10px; display: block;
}
.poem-card__roman {
    font-family: var(--font-en); font-style: italic; font-size: 0.83rem;
    color: var(--text-muted); direction: ltr; text-align: left;
    line-height: 1.8; margin-bottom: 14px; display: block;
}
body.lang-ur .poem-card__roman { display: none; }
.poem-card__footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 12px; border-top: 1px solid var(--border-grey); flex-wrap: wrap; gap: 8px;
}
.poem-card__poet { font-family: var(--font-en); font-size: 0.8rem; font-weight: 700; color: var(--color-navy); letter-spacing: 0.03em; }
body.lang-ur .poem-card__poet { font-family: var(--font-ur); font-size: 0.95rem; letter-spacing: 0; line-height: 2; }
.poem-card__meta { font-family: var(--font-en); font-size: 0.7rem; color: var(--text-muted); }

/* ── POET CARD ─────────────────────────────────── */
.poet-card {
    background: #fff; border: 1px solid var(--border-grey); border-radius: var(--r-lg);
    padding: 22px 18px; text-align: center; display: block; color: inherit;
    text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.poet-card:hover { border-color: var(--color-navy); box-shadow: 0 4px 20px rgba(26,35,64,0.08); text-decoration: none; color: inherit; }
.poet-card__avatar {
    width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px;
    background: var(--color-bg-2); border: 2.5px solid var(--color-navy); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-ur); font-size: 1.5rem; color: var(--color-navy);
}
.poet-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.poet-card__name { font-family: var(--font-en); font-size: 0.9rem; font-weight: 700; color: var(--text-black); margin-bottom: 2px; letter-spacing: 0.02em; }
.poet-card__name-urdu { font-family: var(--font-ur); font-size: 1rem; direction: rtl; color: var(--text-grey); line-height: 2.2; display: block; }
body.lang-ur .poet-card__name { display: none; }
body.lang-ur .poet-card__name-urdu { font-size: 1.1rem; color: var(--text-black); }
.poet-card__era { font-family: var(--font-en); font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.03em; margin-top: 4px; }
body.lang-ur .poet-card__era { font-family: var(--font-ur); font-size: 0.85rem; line-height: 2; letter-spacing: 0; }

/* ── GRIDS ─────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ── BUTTONS ───────────────────────────────────── */
.btn {
    display: inline-block; padding: 10px 24px; border-radius: var(--r-md);
    font-family: var(--font-en); font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.07em; text-transform: uppercase;
    cursor: pointer; text-decoration: none; border: none; transition: all 0.2s;
}
body.lang-ur .btn { font-family: var(--font-ur); font-size: 0.95rem; letter-spacing: 0; text-transform: none; line-height: 2; }
.btn--primary { background: var(--color-navy); color: #fff; }
.btn--primary:hover { background: var(--color-navy-dark); color: #fff; text-decoration: none; }
.btn--outline { background: transparent; border: 1.5px solid var(--color-navy); color: var(--color-navy); }
.btn--outline:hover { background: var(--color-navy); color: #fff; text-decoration: none; }

/* ── BOOKMARK ──────────────────────────────────── */
.bookmark-btn {
    background: transparent; border: 1.5px solid var(--border-grey); border-radius: var(--r-md);
    padding: 6px 14px; cursor: pointer; font-family: var(--font-en); font-size: 0.75rem;
    font-weight: 600; color: var(--text-muted); transition: all 0.2s;
    display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0.03em;
}
.bookmark-btn:hover, .bookmark-btn.bookmarked { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }

/* ── FOOTER (black bg, white text) ─────────────── */
.site-footer { background: var(--color-footer); padding: 52px 0 24px; margin-top: auto; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    max-width: 1200px; margin: 0 auto; padding: 0 24px 36px;
    border-bottom: 1px solid #2a2a2a;
}
body.lang-ur .footer-grid { direction: rtl; }
.footer-brand__logo {
    font-family: var(--font-en); font-size: 1.4rem; font-weight: 800;
    letter-spacing: 0.12em; color: var(--text-white); text-decoration: none;
    display: block; margin-bottom: 10px;
}
.footer-brand__tagline { font-family: var(--font-en); font-size: 0.8rem; color: #999; line-height: 1.7; max-width: 220px; }
body.lang-ur .footer-brand__tagline { font-family: var(--font-ur); font-size: 0.9rem; line-height: 2.2; direction: rtl; text-align: right; max-width: 100%; }
.footer-col__title {
    font-family: var(--font-en); font-size: 0.68rem; font-weight: 800;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-white); margin-bottom: 16px;
}
body.lang-ur .footer-col__title { font-family: var(--font-ur); font-size: 0.95rem; letter-spacing: 0; text-transform: none; line-height: 2; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-family: var(--font-en); font-size: 0.82rem; color: #999; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
body.lang-ur .footer-col ul li a { font-family: var(--font-ur); font-size: 0.95rem; line-height: 2.2; letter-spacing: 0; }
.footer-bottom {
    max-width: 1200px; margin: 0 auto; padding: 20px 24px 0;
    text-align: center; font-family: var(--font-en); font-size: 0.72rem;
    color: #777; letter-spacing: 0.03em;
}

/* ── HOME SECTIONS SPACING ─────────────────────── */
.home-section { padding: 48px 0; }
.home-section + .home-section { padding-top: 0; }

/* ── SHER OF THE DAY ──────────────────────────── */
.sher-section {
    background: var(--color-bg-2);
    padding: 64px 24px;
    border-bottom: 1px solid var(--border-grey);
}
.sher-section__eyebrow {
    display: block;
    font-family: var(--font-en); font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 28px;
}
.sher-section__verse {
    font-family: var(--font-ur); font-size: 2rem; direction: rtl;
    line-height: 2.8; color: var(--text-black);
    max-width: 700px; margin: 0 auto 4px;
}
.sher-section__roman {
    font-family: var(--font-en); font-style: italic; font-size: 0.95rem;
    color: var(--text-muted); margin: 16px 0 20px; letter-spacing: 0.02em;
}
.sher-section__poet {
    font-family: var(--font-en); font-size: 0.82rem; font-weight: 700;
    color: var(--color-navy); letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 28px;
}
.sher-section__actions {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; flex-wrap: wrap;
}
.sher-btn {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-en); font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.04em; color: var(--text-grey);
    background: #fff; border: 1.5px solid var(--border-grey);
    border-radius: var(--r-md); padding: 8px 16px;
    cursor: pointer; transition: all 0.2s;
}
.sher-btn:hover {
    border-color: var(--color-navy); color: var(--color-navy);
}
.sher-btn.bookmarked {
    background: var(--color-navy); border-color: var(--color-navy); color: #fff;
}
.sher-btn svg { flex-shrink: 0; }

/* ── HORIZONTAL SCROLL ROW ────────────────────── */
.scroll-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-grey) transparent;
}
.scroll-row::-webkit-scrollbar { height: 6px; }
.scroll-row::-webkit-scrollbar-track { background: transparent; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--border-grey); border-radius: 3px; }
.scroll-row::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

.scroll-row__item {
    flex: 0 0 340px;
    scroll-snap-align: start;
    min-width: 0;
}
.scroll-row__item .poem-card {
    height: 100%;
}

.scroll-row--sm .scroll-row__item--sm {
    flex: 0 0 200px;
}
.scroll-row__item--sm .poet-card {
    height: 100%;
}

/* ── WORD OF THE DAY ──────────────────────────── */
.wotd-section {
    background: var(--color-navy);
    padding: 64px 24px;
    color: #fff;
}
.wotd-section__eyebrow {
    display: block;
    font-family: var(--font-en); font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(255,255,255,0.4); margin-bottom: 24px;
}
.wotd-section__word {
    font-family: var(--font-ur); font-size: 3rem; direction: rtl;
    line-height: 2.2; color: #fff; margin-bottom: 4px;
}
.wotd-section__roman {
    font-family: var(--font-en); font-size: 1.1rem; font-weight: 600;
    color: rgba(255,255,255,0.7); letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.wotd-section__meaning {
    font-family: var(--font-en); font-size: 1rem; font-weight: 500;
    color: rgba(255,255,255,0.9); margin-bottom: 24px;
    letter-spacing: 0.02em;
}
.wotd-section__example {
    font-family: var(--font-ur); font-size: 1.1rem; direction: rtl;
    line-height: 2.4; color: rgba(255,255,255,0.5);
    font-style: italic; max-width: 500px; margin: 0 auto;
}

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
    .lang-bar { display: none; }
    .primary-nav { display: none; }
    .header-search { display: none; }
    .hamburger { display: flex; }
    .lang-dropdown { display: block; }
    .header-inner { gap: 12px; }
    .site-logo { font-size: 1.05rem; flex: 1; }
    .btn-login { font-size: 0.68rem; padding: 6px 12px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-verse { padding: 48px 20px; }
    .hero-verse__urdu { font-size: 1.65rem; }
    .site-main { padding: 32px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .footer-brand { text-align: center; }
    .footer-brand__logo { display: inline-block; }
    .footer-brand__tagline { margin: 0 auto; text-align: center; }
    .footer-col { text-align: center; }
    .sher-section { padding: 48px 20px; }
    .sher-section__verse { font-size: 1.6rem; }
    .scroll-row__item { flex: 0 0 280px; }
    .wotd-section { padding: 48px 20px; }
    .wotd-section__word { font-size: 2.2rem; }
    .home-section { padding: 36px 0; }
}

@media (max-width: 480px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .container { padding: 0 16px; }
    .header-inner { padding: 0 16px; gap: 8px; }
    .site-logo { font-size: 0.95rem; letter-spacing: 0.1em; }
    .btn-login { padding: 5px 10px; font-size: 0.65rem; }
    .lang-dropdown__btn { font-size: 0.68rem; padding: 4px 8px; }
    .hero-verse__urdu { font-size: 1.35rem; }
    .poem-card { padding: 18px 16px; }
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    .sher-section { padding: 36px 16px; }
    .sher-section__verse { font-size: 1.35rem; }
    .sher-section__actions { gap: 8px; }
    .sher-btn { padding: 6px 12px; font-size: 0.7rem; }
    .scroll-row__item { flex: 0 0 260px; }
    .scroll-row--sm .scroll-row__item--sm { flex: 0 0 170px; }
    .wotd-section__word { font-size: 1.8rem; }
}

/* ── UTILITIES ─────────────────────────────────── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-1 { margin-top: 8px; }  .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 28px; } .mt-4 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; }  .mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 28px; } .mb-4 { margin-bottom: 48px; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}