/*
Theme Name: Astal News
Theme URI: https://news.astalmediaservices.com
Author: Astal Media Services
Description: Custom bilingual (Arabic RTL / English LTR) news theme for Astal Media Services. Reuses the site's own styles3.css for a pixel-perfect match with the static homepage. News listing, article, categories, search and 404 all styled to match.
Version: 1.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: astal-news
*/

/* ============================================================
   This file only holds the required WordPress theme header
   plus small tweaks for content the editor produces.
   The real design lives in assets/styles3.css (enqueued in
   functions.php) — identical to the static site.
   ============================================================ */

/* Make editor-produced media behave inside the article body */
.art-body img{height:auto;margin-block:18px;border-radius:2px}
.art-body figure{margin-block:24px}
.art-body figure img{margin-block:0}
.art-body figcaption{font-size:.82rem;color:var(--ink-muted);font-style:italic;text-align:center;margin-block-start:8px}
.art-body ul,.art-body ol{margin-block:18px;padding-inline-start:26px;color:#2b323c;font-size:1.08rem;line-height:1.8}
.art-body li{margin-block-end:8px}
.art-body a{color:#9a7726;text-decoration:underline;text-underline-offset:3px}
.art-body a:hover{color:var(--gold)}
.art-body h2{font-family:var(--display);font-size:1.7rem;color:var(--ink-text);margin-block:28px 14px}
.art-body h4{font-family:var(--display);font-size:1.25rem;color:var(--ink-text);margin-block:22px 12px}
.art-body table{width:100%;border-collapse:collapse;margin-block:24px;font-size:.98rem}
.art-body th,.art-body td{border:1px solid var(--paper-2);padding:10px 12px;text-align:start}

/* WordPress alignment helpers */
.aligncenter{margin-inline:auto;text-align:center}
.alignright{float:inline-end;margin-inline-start:24px}
.alignleft{float:inline-start;margin-inline-end:24px}
.wp-caption-text{font-size:.82rem;color:var(--ink-muted);font-style:italic;text-align:center}

/* Pagination on archive/search pages */
.nav-links{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-block-start:50px}
.nav-links .page-numbers{font-family:var(--mono);font-size:.85rem;padding:.6em 1em;border:1px solid var(--paper-2);
  color:var(--ink-muted);transition:.25s}
.nav-links .page-numbers:hover{border-color:var(--gold);color:var(--ink-text)}
.nav-links .page-numbers.current{background:var(--ink-text);color:var(--paper);border-color:var(--ink-text)}

/* Empty / not-found message */
.empty-msg{grid-column:1/-1;color:var(--ink-muted);font-size:1.05rem;text-align:center;padding-block:40px}
