/* Al Haqeeqa edition. Loaded after the app bundle. */

:root {
    --hq-teal: #0c3f3c;
    --hq-teal-deep: #082f2d;
    --hq-gold: #c9973e;
    --hq-red: #d62828;
    --hq-paper: #faf8f3;
    --hq-ink: #102f31;
    --hq-muted: #6b7475;
    --hq-line: #e6e1d6;
    --hq-drawer-from: -110%;
}

html[dir="rtl"] { --hq-drawer-from: 110%; }

[x-cloak] { display: none !important; }

body.hb-body {
    background: var(--hq-paper);
    color: var(--hq-ink);
    font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Tajawal", sans-serif;
}

.container-site,
.hq-wrap {
    width: min(1400px, 100%);
    margin-inline: auto;
    padding-inline: 24px;
}

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--hq-gold);
    outline-offset: 2px;
}

.hq-top {
    background: var(--hq-teal-deep);
    color: rgba(255,255,255,.86);
    font-size: 13px;
}

.hq-top__row {
    min-height: 38px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    direction: ltr;
}

.hq-top__social, .hq-top__links, .hq-top__live {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hq-top__links { justify-content: flex-end; }
.hq-top a { color: inherit; text-decoration: none; }
.hq-top a:hover { color: #fff; }

.hq-head { background: #fff; border-bottom: 1px solid var(--hq-line); }

.hq-head__row {
    min-height: 92px;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    gap: 16px;
    direction: ltr;
}

.hq-head__search { width: 100%; max-width: 420px; }
.hq-logo { justify-self: center; }
.hq-logo img { height: 68px; width: auto; object-fit: contain; }
.hq-head__tools { justify-self: end; display: flex; align-items: center; gap: 8px; }

.hq-lang {
    display: inline-flex;
    border: 1px solid var(--hq-line);
    border-radius: 8px;
    overflow: hidden;
}
.hq-lang button {
    border: 0;
    background: #fff;
    color: var(--hq-ink);
    font-weight: 800;
    font-size: 12px;
    padding: 6px 10px;
    cursor: pointer;
}
.hq-lang button.is-on { background: var(--hq-teal); color: #fff; }

.hq-icon {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--hq-teal);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}
.hq-icon--menu { display: inline-flex; }

.hq-searchbox .shell-search__field {
    border: 1px solid var(--hq-line);
    border-radius: 999px;
    background: #f6f4ee;
    min-height: 42px;
}
.hq-searchbox .shell-search__input { font-size: 14px; }

.hq-nav { border-top: 1px solid var(--hq-line); }
.hq-nav__row {
    display: flex;
    justify-content: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-block: 0;
}
.hq-nav__row::-webkit-scrollbar { display: none; }
.hq-nav__link {
    flex: 0 0 auto;
    color: var(--hq-ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 14px 12px;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}
.hq-nav__link.is-on,
.hq-nav__link:hover { color: var(--hq-teal); border-bottom-color: var(--hq-gold); }

.hq-search-drop { background: #fff; border-bottom: 1px solid var(--hq-line); padding: 12px 0 16px; }

.hb-break-strip {
    background: var(--hq-teal-deep);
    color: #fff;
    min-height: 44px;
}
.hb-break-strip__row { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.hb-break-strip__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--hq-red);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border-radius: 8px;
    padding: 4px 10px;
    flex: 0 0 auto;
}
.hb-break-strip__marquee { flex: 1; min-width: 0; overflow: hidden; }
.hb-break-strip__item { color: #fff; text-decoration: none; font-weight: 600; padding-inline: 10px; }
.hb-break-strip__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.7); display: inline-block; }

.hb-home-hero { padding: 16px 0 8px; background: transparent; }
.hb-home-hero__wide { width: min(1400px, 100%); margin-inline: auto; padding-inline: 24px; }
.hb-home-hero__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.72fr) !important;
    gap: 16px;
    align-items: start;
    direction: ltr;
}
.hb-home-hero__slider,
.hb-important {
    grid-column: auto !important;
    width: auto !important;
    min-width: 0;
    direction: rtl;
}
.hb-home-hero__slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    min-height: 0 !important;
    background: var(--hq-teal);
}
.hb-home-hero__feature { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.hb-home-hero__img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover !important;
    object-position: center;
}
.hb-home-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,30,28,0) 42%, rgba(8,30,28,.9) 100%);
}
.hb-home-hero__copy {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 1;
    padding: 28px 72px 42px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-height: 48%;
    overflow: hidden;
}
.hb-chip {
    display: inline-flex;
    background: var(--hq-gold);
    color: #fff;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 800;
}
.hb-home-hero__title {
    margin: 0;
    font-size: clamp(20px, 2vw, 32px);
    font-weight: 800;
    line-height: 1.4;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hb-home-hero__dek {
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hb-home-hero__cta { display: none; }
.hb-home-hero__nav {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--hq-teal);
    cursor: pointer;
}
.hb-home-hero__nav--prev { inset-inline-start: 14px; }
.hb-home-hero__nav--next { inset-inline-end: 14px; }
.hb-home-hero__dots {
    position: absolute;
    z-index: 2;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}
.hb-home-hero__dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
}
.hb-home-hero__dot.is-active { background: #fff; width: 18px; border-radius: 999px; }

.hb-important {
    background: #fff;
    border: 1px solid var(--hq-line);
    border-radius: 18px;
    padding: 16px 16px 8px;
    min-width: 0;
}
.hb-important__title {
    margin: 0 0 8px;
    font-size: 22px;
    color: var(--hq-teal);
}
.hb-important__title::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-top: 6px;
    border-radius: 999px;
    background: var(--hq-gold);
}
.hb-important__list { list-style: none; margin: 0; padding: 0; }
.hb-important__link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--hq-line);
    text-decoration: none;
    color: inherit;
}
.hb-important__thumb {
    position: relative;
    width: 64px !important;
    height: 64px !important;
    border-radius: 50%;
    overflow: visible;
    flex: 0 0 auto;
}
.hb-important__thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; display: block; }
.hb-important__num {
    position: absolute;
    top: -4px;
    inset-inline-end: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--hq-red);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
}
.hb-important__body { min-width: 0; }
.hb-important__headline {
    margin: 2px 0 0;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hb-important__time, .hb-chip--plain { color: var(--hq-muted); font-size: 12px; background: transparent; padding: 0; }

.hb-cats { padding: 28px 0 8px; }
.hb-section-title { margin: 0 0 16px; font-size: 28px; color: var(--hq-teal); }
.hb-cats__track {
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 12px;
    overflow: visible;
}
.hb-cat-card {
    position: relative;
    display: block;
    width: auto !important;
    height: 112px !important;
    min-height: 0 !important;
    border-radius: 14px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}
.hb-cat-card > img,
.hb-story-card__media > img,
.hb-home-hero__feature > img,
.hb-home-hero__img,
.hb-card__media img,
.hb-media img,
.news-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
}
.hb-cat-card > img { transition: transform .35s ease; }
.hb-cat-card:hover img { transform: scale(1.03); }
.hb-cat-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,40,38,.15), rgba(8,40,38,.78)); }
.hb-cat-card__label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    font-size: 16px;
    text-align: center;
    padding: 8px;
}
.hb-cat-card__label i { font-size: 22px; }

.hb-latest-block { padding: 28px 0 40px; }
.hb-latest-block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.hb-link-all { color: var(--hq-teal); font-weight: 800; text-decoration: none; }
.hb-latest-block__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.hb-story-card {
    background: #fff;
    border: 1px solid var(--hq-line);
    border-radius: 16px;
    overflow: hidden;
}
.hb-story-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.hb-story-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.hb-story-card:hover img { transform: scale(1.03); }
.hb-story-card__media .hb-chip { position: absolute; top: 10px; inset-inline-start: 10px; }
.hb-story-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.hb-story-card__title { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 800; }
.hb-story-card__title a { color: inherit; text-decoration: none; }
.hb-story-card__meta { color: var(--hq-muted); font-size: 12px; }

.hq-foot {
    margin-top: 32px;
    background: var(--hq-teal-deep);
    color: rgba(255,255,255,.86);
}
.hq-foot__gold { height: 3px; background: var(--hq-gold); }
.hq-foot__grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) minmax(200px, 1.2fr) minmax(160px, 0.8fr);
    gap: 36px 40px;
    padding-block: 48px 32px;
    justify-items: center;
    text-align: center;
}
.hq-foot__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}
.hq-foot__logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
    background: transparent;
}
.hq-foot__logo strong { display: block; font-size: 18px; line-height: 1.2; }
.hq-foot__logo small {
    display: block;
    margin-top: 4px;
    color: var(--hq-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.hq-foot__brand a { color: #fff; text-decoration: none; }
.hq-foot__brand { max-width: 28rem; }
.hq-foot__brand p {
    margin: 14px auto 0;
    max-width: 28rem;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,.78);
}
.hq-foot h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}
.hq-foot h2::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin: 8px auto 0;
    border-radius: 999px;
    background: var(--hq-gold);
}
.hq-foot__links {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-items: center;
}
.hq-foot__links--cols {
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    width: min(280px, 100%);
}
.hq-foot__links a { color: rgba(255,255,255,.8); text-decoration: none; font-size: 14px; }
.hq-foot__links a:hover { color: #fff; }
.hq-foot__social { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.hq-foot__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.1);
    color: #fff;
    text-decoration: none;
}
.hq-foot__bar { border-top: 1px solid rgba(255,255,255,.14); }
.hq-foot__bar .hq-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 64px;
    text-align: center;
}
.hq-foot__bar p { margin: 0; font-size: 13px; color: rgba(255,255,255,.65); }
.hq-foot__bar a { color: #fff; font-weight: 700; text-decoration: none; font-size: 13px; }

.hq-drawer {
    position: fixed;
    inset: 0;
    z-index: 80;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear .32s;
}
.hq-drawer.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.hq-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 30, 28, .5);
    opacity: 0;
    transition: opacity .28s ease;
}
.hq-drawer.is-open .hq-drawer__backdrop { opacity: 1; }
.hq-drawer__panel {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: min(320px, 88vw);
    background: #fff;
    padding: 16px;
    overflow: auto;
    transform: translate3d(var(--hq-drawer-from), 0, 0);
    transition: transform .34s cubic-bezier(.22,.9,.24,1);
}
.hq-drawer.is-open .hq-drawer__panel { transform: none; }
.hq-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.hq-drawer__head img { height: 40px; width: auto; }
.hq-drawer__head button { border: 0; background: transparent; font-size: 20px; cursor: pointer; }
.hq-drawer nav { display: grid; margin-top: 12px; }
.hq-drawer nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--hq-line);
    text-decoration: none;
    color: var(--hq-ink);
    font-weight: 700;
}

.mobile-bottom-nav { background: #fff; border-top: 1px solid var(--hq-line); }

article.bg-white, .kn-section { background: transparent; }
.badge-breaking { background: var(--hq-red); color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 800; }
.badge-cat, .badge-category, .badge-gold { background: var(--hq-gold); color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 800; text-decoration: none; }
.kn-section__title, h1 { color: var(--hq-teal); }
.mobile-bottom-nav__link.is-active { color: var(--hq-teal); }

@media (max-width: 1199px) {
    .hb-cats__track { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .hb-latest-block__cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
    .hb-home-hero__grid {
        grid-template-columns: 1fr !important;
        direction: rtl !important;
    }
}
@media (max-width: 767px) {
    .hq-wrap, .container-site, .hb-home-hero__wide { padding-inline: 16px; }
    .hq-top, .hq-head__search, .hq-lang { display: none; }
    .hq-icon--search { display: inline-flex; }
    .hq-head__row {
        display: flex;
        min-height: 64px;
        direction: ltr;
    }
    .hq-head__tools { display: contents; }
    .hq-icon--menu { order: 1; }
    .hq-logo { order: 2; flex: 1; display: flex; justify-content: center; }
    .hq-logo img { height: 42px; }
    .hq-icon--search { order: 3; }
    .hq-nav__link { font-size: 14px; padding: 12px 10px; }
    .hb-cats__track { grid-template-columns: 1fr 1fr !important; }
    .hb-cat-card { height: 108px !important; }
    .hb-latest-block__cards { grid-template-columns: 1fr !important; }
    .hb-story-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
    .hb-story-card__media { aspect-ratio: 1; }
    .hb-story-card__title { font-size: 16px; }
    .hb-home-hero__copy { padding: 20px 52px 36px; }
    .hb-home-hero__nav { top: 34%; width: 36px; height: 36px; }
    .hb-home-hero__dots { bottom: 8px; }
    .hb-home-hero__dek { display: none; }
    .hb-home-hero__title { font-size: 20px; }
    .hq-foot__grid { grid-template-columns: 1fr; }
    .hq-foot__bar .hq-wrap { padding-block: 14px; }
    .hb-break-strip { min-height: 42px; }
}

.hb-home-hero__slider,
.hb-story-card__media,
.hb-cat-card,
.hb-card__media,
.hb-media {
    position: relative;
    overflow: hidden;
}

.hb-important__thumb { position: relative; }

.hb-home-hero__img,
.hb-story-card__media img,
.hb-cat-card img,
.hb-card__media img,
.hb-media img,
.news-image,
.hb-important__thumb img,
.hb-media--brand img,
.hb-media__brand-img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover !important;
    object-position: center;
    padding: 0 !important;
    background: transparent !important;
}

.hb-card__media,
.hb-media { aspect-ratio: 16 / 9; display: block; }

.share-bar {
    display: block;
    margin-top: 28px;
    padding: 16px;
    border: 1px solid #e6ebf1;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}
.share-bar__head { margin: 0 0 12px; text-align: start; }
.share-bar__title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    color: #102033;
}
.share-bar__hint { margin: 4px 0 0; font-size: 13px; color: #5d6b7a; }
.share-bar__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 72px;
    margin: 0;
    padding: 10px 6px;
    border: 1px solid #e6ebf1;
    border-radius: 12px;
    background: #f6f8fb;
    color: #102033;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
}
.share-btn[style*="display: none"] { display: none; }
.share-btn i { font-size: 18px; line-height: 1; width: auto; }
.share-btn span { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.share-btn--whatsapp i { color: #128C7E; }
.share-btn--facebook i { color: #1877F2; }
.share-btn--x i { color: #102033; }
.share-btn--linkedin i { color: #0A66C2; }
.share-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.share-inline__label, .share-inline > span { font-size: 13px; font-weight: 800; }
.share-inline__btn, .share-inline .kn-icon-btn {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #e6ebf1;
    background: #fff;
    color: #102033;
    text-decoration: none;
}
@media (min-width: 768px) {
    .share-bar__actions { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
