/* ════════════════════════════════════════════════════════
   PHASE 13 — INDEX / LISTING PAGES
   ════════════════════════════════════════════════════════ */

.np-index-hd {
    background: var(--deep-navy);
    padding: 2.5rem 0 2rem;
    margin-bottom: 2rem;
}
.np-index-kicker {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .5rem;
}
.np-index-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 .5rem;
    line-height: 1.2;
}
.np-index-desc {
    font-size: .95rem;
    color: rgba(255,255,255,.65);
    margin: 0;
}

/* filters */
.np-index-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 1.75rem;
    align-items: center;
}
.np-filter-search {
    flex: 1 1 220px;
    padding: .55rem .9rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: .9rem;
    background: #fff;
    color: var(--ink);
}
.np-filter-search:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.np-filter-select {
    padding: .55rem .9rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: .9rem;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}
.np-filter-btn {
    padding: .55rem 1.2rem;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.np-filter-btn:hover { background: var(--gold); color: var(--deep-navy); }
.np-filter-reset {
    font-size: .85rem;
    color: var(--muted);
    text-decoration: none;
}
.np-filter-reset:hover { color: var(--gold); }

/* grid */
.np-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.np-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--muted);
    font-size: 1rem;
}

/* pagination */
.np-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    padding: 1.5rem 0 2rem;
}
.np-pagination a {
    display: inline-flex;
    align-items: center;
    padding: .45rem .9rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: background .15s, color .15s;
}
.np-pagination a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.np-pagination span { font-size: .88rem; color: var(--muted); }
.np-pagination span[aria-current] { font-weight: 700; color: var(--navy); }
.np-pagination span.disabled {
    padding: .45rem .9rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--border);
    font-size: .88rem;
    font-weight: 600;
}

/* ════════════════════════════════════════════════════════
   PHASE 13 — MEDIA PAGES (PODCASTS / VIDEOS)
   ════════════════════════════════════════════════════════ */

.np-media-hd {
    background: var(--deep-navy);
    padding: 2.5rem 0 2rem;
    margin-bottom: 2rem;
}
.np-media-page-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 .4rem;
}
.np-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.np-media-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s;
}
.np-media-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.1); }
.np-media-thumb {
    position: relative;
    overflow: hidden;
    background: var(--deep-navy);
    aspect-ratio: 16/9;
}
.np-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.np-media-card:hover .np-media-thumb img { transform: scale(1.04); }
.np-media-thumb-blank {
    position: relative;
    background: var(--navy);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.np-media-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    background: rgba(0,0,0,.6);
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s, border-color .2s;
    pointer-events: none;
}
.np-media-card:hover .np-media-play,
[data-youtube-id]:hover .np-media-play {
    background: var(--accent, #c8102e);
    border-color: rgba(255,255,255,.7);
    transform: translate(-50%, -50%) scale(1.1);
}
.np-media-play svg { filter: none; margin-left: 2px; }
[data-youtube-id].np-media-card { cursor: pointer; }
.np-media-body { padding: 1rem 1.1rem 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.np-media-ep {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold);
}
.np-media-title {
    font-size: .97rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin: 0;
}
.np-media-desc {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.np-media-date {
    font-size: .75rem;
    color: var(--muted);
    margin-top: auto;
}

/* ════════════════════════════════════════════════════════
   PHASE 13 — STATIC PAGES (ABOUT, PRIVACY, TERMS etc.)
   ════════════════════════════════════════════════════════ */

.np-static-hd {
    background: var(--deep-navy);
    padding: 2.5rem 0 2rem;
    margin-bottom: 2.25rem;
}
.np-static-hd-kicker {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .5rem;
}
.np-static-hd-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 .35rem;
    line-height: 1.2;
}
.np-static-hd-sub {
    font-size: .9rem;
    color: rgba(255,255,255,.6);
    margin: 0;
}
.np-static-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 0 3rem;
    color: var(--ink);
    line-height: 1.75;
}
.np-static-body h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    margin: 2rem 0 .6rem;
    padding-bottom: .35rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}
.np-static-body p { margin: 0 0 1rem; font-size: .95rem; }
.np-static-body a { color: var(--gold); text-decoration: none; }
.np-static-body a:hover { text-decoration: underline; }
.np-static-body ul { padding-inline-start: 1.4rem; margin: 0 0 1rem; }
.np-static-body li { margin-bottom: .4rem; font-size: .95rem; }

/* ════════════════════════════════════════════════════════
   PHASE 13 — FORMS (CONTACT, SUBMIT ARTICLE)
   ════════════════════════════════════════════════════════ */

.np-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 0 3rem;
}
.np-form-wrap > p {
    font-size: .95rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.65;
}
.np-form-row { margin-bottom: 1.2rem; }
.np-form-label {
    display: block;
    font-size: .85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .35rem;
}
.np-form-input,
.np-form-textarea {
    width: 100%;
    padding: .6rem .85rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: .93rem;
    color: var(--ink);
    background: #fff;
    box-sizing: border-box;
    transition: border-color .15s;
}
.np-form-input:focus,
.np-form-textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201,162,74,.2);
}
.np-form-textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.np-form-submit {
    display: inline-block;
    padding: .65rem 1.8rem;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    margin-top: .5rem;
}
.np-form-submit:hover { background: var(--gold); color: var(--deep-navy); }
.np-form-success {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    border-radius: 4px;
    color: #065f46;
    padding: .8rem 1rem;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.np-form-error {
    display: block;
    font-size: .78rem;
    color: #dc2626;
    margin-top: .25rem;
}

/* ════════════════════════════════════════════════════════
   PHASE 13 — ABOUT PAGE
   ════════════════════════════════════════════════════════ */

.np-about-intro {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink);
}
.np-about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 0 auto 2.5rem;
    max-width: 760px;
}
.np-stat {
    background: var(--deep-navy);
    border-radius: 6px;
    padding: 1.5rem 1rem;
    text-align: center;
}
.np-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: .3rem;
}
.np-stat-lbl {
    font-size: .8rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════
   PHASE 13 — ADVERTISE PAGE
   ════════════════════════════════════════════════════════ */

.np-ad-formats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0 2.5rem;
}
.np-ad-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.5rem 1.25rem;
    transition: box-shadow .2s;
}
.np-ad-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.np-ad-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 .5rem;
}
.np-ad-card p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.55; }
.np-ad-cta {
    text-align: center;
    padding: 2rem 0 3rem;
}
.np-ad-cta p { font-size: 1rem; color: var(--ink); margin-bottom: 1rem; }
.np-ad-cta a {
    display: inline-block;
    padding: .7rem 2rem;
    background: var(--navy);
    color: #fff;
    border-radius: 4px;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s;
}
.np-ad-cta a:hover { background: var(--gold); color: var(--deep-navy); }

/* ════════════════════════════════════════════════════════
   PHASE 13 — RTL ADJUSTMENTS
   ════════════════════════════════════════════════════════ */

body.lang-ar .np-index-filters { flex-direction: row-reverse; }
body.lang-ar .np-static-body { text-align: right; }
body.lang-ar .np-static-body h2 { display: block; }
body.lang-ar .np-static-body ul { padding-inline-start: 0; padding-inline-end: 1.4rem; }
body.lang-ar .np-form-label { text-align: right; }
body.lang-ar .np-about-intro { text-align: right; }
body.lang-ar .np-ad-card { text-align: right; }

/* ════════════════════════════════════════════════════════
   PHASE 13 — RESPONSIVE
   ════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
    .np-index-grid,
    .np-media-grid,
    .np-ad-formats { grid-template-columns: 1fr; }
    .np-about-stats { grid-template-columns: repeat(2, 1fr); }
    .np-index-filters { flex-direction: column; align-items: stretch; }
    .np-filter-search,
    .np-filter-select { width: 100%; }
}

/* ════════════════════════════════════════════════════════
   PHASE 22D — Contact Page & Form Improvements
   ════════════════════════════════════════════════════════ */

/* Contact info cards */
.ct-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.ct-info-card {
    padding: 1.5rem 1.25rem;
    background: #faf9f6;
    border: 1px solid var(--border);
    border-radius: 4px;
    border-top: 3px solid var(--gold);
    text-align: center;
    transition: box-shadow .18s;
}
.ct-info-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.ct-info-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--deep-navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
}
.ct-info-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}
.ct-info-val {
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 600;
    word-break: break-all;
}

/* Form grid (two columns for name/email) */
.np-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.25rem;
}

/* Improved form inputs */
.np-form-input,
.np-form-textarea {
    padding: .7rem 1rem;
    font-size: .92rem;
    border-radius: 3px;
    font-family: inherit;
}
select.np-form-input { appearance: auto; }

/* Submit button with icon */
.np-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: .7rem 2rem;
    border-radius: 3px;
    font-size: .92rem;
}

/* Form success with icon */
.np-form-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: .85rem 1.1rem;
    border-radius: 3px;
    border-inline-start: 4px solid #059669;
    background: #ecfdf5;
    border-color: #6ee7b7;
}

/* RTL contact */
body.lang-ar .ct-info-row { direction: rtl; }
body.lang-ar .ct-info-card { text-align: right; }
body.lang-ar .ct-info-icon { margin: 0 0 .85rem auto; }

/* Responsive contact */
@media (max-width: 768px) {
    .ct-info-row { grid-template-columns: 1fr; }
    .np-form-grid { grid-template-columns: 1fr; }
}
