/*
Theme Name: Saudi Jobs Minimal
Theme URI: https://example.com/
Author: OpenAI
Description: Lightweight Arabic RTL WordPress theme for Saudi jobs portals.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: saudi-jobs-minimal
*/
:root{--accent:#176b4d;--text:#17211b;--muted:#69736d;--line:#e7ebe8;--bg:#f7f8f7;--card:#fff;--max:820px}
*{box-sizing:border-box}html{direction:rtl}body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;line-height:1.75}
a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.wrap{width:min(calc(100% - 28px),var(--max));margin:auto}
.site-header{background:#fff;border-bottom:1px solid var(--line)}.head{padding:20px 0 14px;text-align:center}.custom-logo{max-height:58px;width:auto}.site-title{font-size:24px;font-weight:800}.tagline{font-size:13px;color:var(--muted)}
.nav{border-top:1px solid var(--line);overflow:auto;white-space:nowrap}.nav ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:4px}.nav a{display:block;padding:11px 12px;font-size:14px;color:#445049}.nav a:hover,.nav .current-menu-item>a{color:var(--accent)}
.main{padding:22px 0 50px}.searchbar{display:flex;gap:8px;margin-bottom:16px}.searchbar input{flex:1;border:1px solid var(--line);background:#fff;border-radius:8px;padding:12px 14px;font:inherit}.btn{border:0;border-radius:8px;background:var(--accent);color:#fff;padding:11px 16px;font:inherit;font-weight:700;cursor:pointer}
.section-title{font-size:19px;margin:8px 0 14px}.jobs{display:grid;gap:10px}.job-card{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:15px;display:flex;gap:13px;align-items:flex-start}.company-logo{width:54px;height:54px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#fff;flex:0 0 54px}.job-body{min-width:0;flex:1}.company{font-size:13px;color:var(--muted);margin-bottom:1px}.job-title{font-size:17px;line-height:1.45;margin:0 0 5px;font-weight:800}.meta{display:flex;flex-wrap:wrap;gap:7px 14px;color:var(--muted);font-size:12px}
.single-head,.content-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px}.single-head{display:flex;gap:15px;align-items:center;margin-bottom:12px}.single-head .company-logo{width:70px;height:70px;flex-basis:70px}.single-title{margin:0 0 5px;font-size:25px;line-height:1.45}.content-card h2{font-size:18px;border-bottom:1px solid var(--line);padding-bottom:8px;margin:22px 0 10px}.content-card h2:first-child{margin-top:0}.content-card p,.content-card ul{font-size:15px}.apply{display:block;text-align:center;margin-top:22px;background:var(--accent);color:#fff;padding:13px;border-radius:8px;font-weight:800}
.pagination{display:flex;justify-content:center;gap:6px;margin-top:18px}.pagination a,.pagination span{background:#fff;border:1px solid var(--line);padding:7px 11px;border-radius:7px;font-size:13px}
.site-footer{border-top:1px solid var(--line);background:#fff;color:var(--muted);font-size:12px;text-align:center;padding:22px 0}
@media(max-width:700px){.wrap{width:min(calc(100% - 20px),var(--max))}.head{padding:16px 0 10px}.nav ul{justify-content:flex-start}.job-card{padding:12px}.job-title{font-size:16px}.single-head{padding:15px}.single-title{font-size:21px}.content-card{padding:16px}.searchbar{display:grid;grid-template-columns:1fr auto}.related-grid{grid-template-columns:1fr}.related-card{padding:10px}.related-logo{width:56px;height:56px;flex-basis:56px}}

.related-posts{margin-top:22px}.related-posts .section-title{margin-top:0}

/* Footer notice and policy links */
.footer-notice{background:#fffaf0;border:1px solid #ead9ae;border-radius:10px;padding:13px 15px;text-align:right;color:#4d4431;margin-bottom:14px}.footer-notice strong{display:block;font-size:14px;margin-bottom:3px;color:#3f392b}.footer-notice p{font-size:12px;line-height:1.85;margin:0}.footer-links{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin:12px 0 8px}.footer-links a{font-size:13px;color:var(--accent);font-weight:700}.footer-links a:hover{text-decoration:underline}.footer-copy{font-size:12px;color:var(--muted)}

.policy-updated{color:var(--muted);font-size:12px!important;border-top:1px solid var(--line);padding-top:12px;margin-top:20px!important}
@media(max-width:700px){.footer-notice{padding:11px 12px}.footer-notice p{font-size:11px;line-height:1.8}.footer-links{gap:14px}.footer-links a{font-size:12px}}
