/*
Theme Name: Saba Newsroom Clean
Theme URI: https://newweb.sabatv.net/
Author: Saba TV
Description: Clean newsroom theme for Saba TV.
Version: 1.0.0
Text Domain: saba-newsroom-clean
Requires at least: 7.1
Requires PHP: 8.4
*/

:root {
    --saba-blue: #0d5ba6;
    --saba-blue-deep: #073f78;
    --saba-blue-soft: #eaf4ff;

    --saba-orange: #f28c28;
    --saba-orange-deep: #cf6710;
    --saba-orange-soft: #fff2e5;

    --saba-white: #ffffff;
    --saba-bg: #f6f8fb;
    --saba-text: #15202b;
    --saba-muted: #687383;
    --saba-border: #e4e9ef;

    --saba-radius: 18px;
    --saba-shadow: 0 8px 30px rgba(11, 42, 73, .08);

    --saba-font:
        "Saba Font 8",
        Tahoma,
        Arial,
        sans-serif;

    --saba-container: 1320px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--saba-bg);
    color: var(--saba-text);
    font-family: var(--saba-font);
    font-weight: 400;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.saba-container {
    width: min(calc(100% - 32px), var(--saba-container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--saba-border);
    backdrop-filter: blur(14px);
}

.saba-topbar {
    background:
        linear-gradient(
            90deg,
            var(--saba-blue-deep),
            var(--saba-blue)
        );
    color: #fff;
    font-size: 14px;
}

.saba-topbar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.saba-header-main {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.saba-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.saba-brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    background:
        linear-gradient(
            135deg,
            var(--saba-blue),
            var(--saba-orange)
        );
}

.saba-brand-text strong {
    display: block;
    font-size: 20px;
    line-height: 1.3;
}

.saba-brand-text span {
    display: block;
    margin-top: 2px;
    color: var(--saba-muted);
    font-size: 12px;
}

.saba-navigation {
    flex: 1;
}

.saba-navigation ul {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.saba-navigation a {
    font-weight: 600;
    transition: color .2s ease;
}

.saba-navigation a:hover {
    color: var(--saba-orange);
}

.saba-live-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding-inline: 18px;
    border-radius: 999px;
    color: white;
    font-weight: 700;
    background: var(--saba-orange);
}

.saba-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 0 5px rgba(255,255,255,.18);
}

.saba-hero {
    padding-block: 54px 34px;
}

.saba-hero-grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr;
    gap: 22px;
}

.saba-hero-main,
.saba-hero-side {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.saba-hero-main {
    min-height: 430px;
    padding: 54px;
    color: white;
    display: flex;
    align-items: flex-end;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(242,140,40,.55),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            var(--saba-blue-deep),
            var(--saba-blue)
        );
}

.saba-hero-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(0,0,0,.28)
        );
}

.saba-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.saba-kicker {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.15);
    font-weight: 600;
    font-size: 14px;
}

.saba-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(36px, 6vw, 74px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.03em;
}

.saba-hero p {
    margin: 0;
    max-width: 680px;
    color: rgba(255,255,255,.88);
    font-size: 18px;
}

.saba-hero-side {
    background: white;
    padding: 30px;
    box-shadow: var(--saba-shadow);
    border: 1px solid var(--saba-border);
}

.saba-section {
    padding-block: 36px;
}

.saba-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.saba-section-title {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
}

.saba-section-subtitle {
    margin: 5px 0 0;
    color: var(--saba-muted);
}

.saba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.saba-card {
    background: white;
    border: 1px solid var(--saba-border);
    border-radius: var(--saba-radius);
    overflow: hidden;
    box-shadow: var(--saba-shadow);
}

.saba-card-media {
    aspect-ratio: 16 / 10;
    background:
        linear-gradient(
            135deg,
            var(--saba-blue-soft),
            var(--saba-orange-soft)
        );
}

.saba-card-body {
    padding: 22px;
}

.saba-card-category {
    color: var(--saba-orange-deep);
    font-weight: 700;
    font-size: 13px;
}

.saba-card-title {
    margin: 8px 0 0;
    font-size: 20px;
    line-height: 1.55;
    font-weight: 700;
}

.saba-footer {
    margin-top: 64px;
    padding-block: 50px 24px;
    color: white;
    background: var(--saba-blue-deep);
}

.saba-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
}

.saba-footer-title {
    font-weight: 800;
    font-size: 20px;
}

.saba-footer p,
.saba-footer a {
    color: rgba(255,255,255,.76);
}

.saba-footer-bottom {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.58);
    font-size: 13px;
}

@media (max-width: 980px) {
    .saba-navigation {
        display: none;
    }

    .saba-hero-grid {
        grid-template-columns: 1fr;
    }

    .saba-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .saba-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .saba-container {
        width: min(calc(100% - 22px), var(--saba-container));
    }

    .saba-header-main {
        min-height: 70px;
        gap: 14px;
    }

    .saba-brand-text span {
        display: none;
    }

    .saba-live-button {
        margin-inline-start: auto;
        padding-inline: 13px;
        font-size: 13px;
    }

    .saba-hero {
        padding-top: 24px;
    }

    .saba-hero-main {
        min-height: 370px;
        padding: 28px;
    }

    .saba-grid {
        grid-template-columns: 1fr;
    }

    .saba-footer-grid {
        grid-template-columns: 1fr;
    }
}
