:root {
    /* Brand Colors */
    --color-primary: #f89c0c;
    /* Primary brand color */
    --color-primary-hover: #d17e00;
    /* Darker shade for hover states */
    --color-accent: #ffe7c7;
    /* Soft accent color compatible with primary */
    --color-bg: #fff;
    --color-overlay: rgba(0, 0, 0, 0.5);
    /* Neutrals */
    --color-surface: #f5f5f5;
    /* Light background surface */
    --color-content-bg: #ffffff;
    /* Main content area background */
    --color-border: #e0e0e0;
    /* Subtle border lines */
    --color-dark: #1c1c1e;
    /* Dark tone for high-contrast elements */
    --color-muted: #8e8e93;
    /* Muted text and icons */

    /* States */
    --color-success: #2e7d32;
    /* Success messages and icons */
    --color-danger: #e53935;
    /* Error and danger states */

    /* Typography */
    --text-primary: #1c1c1e;
    /* Main body text */
    --text-secondary: var(--color-muted);
    /* Secondary text */

    /* Spacing scale */
    --space-xxs: 4px;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 64px;

    /* Fluid spacing: pick the smaller value between fixed px and % of viewport */

    /* Fluid small gap: min(16px, 4%) */
    --space-fluid-sm: min(var(--space-sm), 4%);
    /* Fluid medium gap: min(24px, 6%) */
    --space-fluid-md: min(var(--space-md), 6%);
    /* Fluid large gap: min(32px, 8%) */
    --space-fluid-lg: min(var(--space-lg), 8%);

    /* Fluid container padding: min(5em, 8% of width) */
    --container-padding-horizontal: min(2em, 8%);
    /* مثال على padding عمودي أقل */
    --container-padding-vertical: min(2em, 5%);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 32px;

    /* Fluid Font Sizes using clamp(min, preferred, max) */
    --font-xs: clamp(0.75rem, calc(0.75rem + 0.5vw), 0.875rem);
    --font-sm: clamp(0.875rem, calc(0.875rem + 0.75vw), 1rem);
    --font-md: clamp(1rem, calc(1rem + 1vw), 1.25rem);
    --font-lg: clamp(1.25rem, calc(1.25rem + 1.5vw), 1.5rem);
    --font-xl: clamp(1.5rem, calc(1.5rem + 2vw), 2rem);
    --font-xxl: clamp(2rem, calc(2rem + 3vw), 3rem);
    --font-display: clamp(3rem, calc(3rem + 4vw), 5rem);
}

/* ===== Top Bar ===== */
.top-bar {
    background-color: #343a55;
    color: #fff;
}

.top-bar .logo img {
    height: 60px;
}

/* Search Box as Input Group */
.search-box .input-group .form-control {
    border: 1px solid var(--color-border);
    padding: 0.5rem 1rem;
}

.search-box .input-group .btn-search {
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 0 1rem;
    color: #fff;
}

.search-box .input-group .btn-search i {
    line-height: 1;
}

/* Social Media Icons */
.social-media .sm-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.social-media .sm-icon:hover {
    background-color: var(--color-primary-hover);
}

/* ===== Bottom Navigation ===== */


.bottom-bar .navbar-nav .nav-link {
    color: var(--color-dark);
    font-weight: 700;
    padding: 0.75rem 1rem;
    transition: color 0.3s, border-color 0.3s;
    font-family: "Al-Jazeera-Bold";
    font-size: 16px;
    border-bottom: 2px solid transparent;

}

.bottom-bar .navbar-nav .nav-link.active,
.bottom-bar .navbar-nav .nav-link:hover {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

/* Navbar Toggler Icon */
.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23343A55' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* Slider item full-screen background */
.slider-item {
    width: 100%;
    height: 500px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

/* Gradient overlay at bottom */
.slider-overlay {
    /* Dark gradient for better text readability */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

/* Caption container in bottom-right (RTL) */
.slider-caption {
    position: absolute;
    bottom: 2rem;
    right: 8rem;
    max-width: 600px;
    z-index: 2;
}

/* White info box */
.caption-box {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Speech-bubble tail */
.caption-box::before {
    content: "";
    position: absolute;
    top: 100%;
    right: 2rem;
    border-width: 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

/* Title styling */
.caption-box h2 {

    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

/* Meta info */
#mainSlider .caption-meta {
    font-size: 0.875rem;
    color: var(--color-muted);
}

#mainSlider .caption-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-left: 0.5rem;
    /* في RTL = margin-inline-start */
    object-fit: cover;
}

.date,
.author {
    font-size: var(--font-xs);
    font-size: 12px;
    font-family: "greta";
    gap: 6px;
    color: var(--color-muted);

}

.caption-meta {
    color: var(--color-muted);

}

/* Override Owl Carousel nav buttons */
.owl-nav .owl-prev,
.owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-nav .owl-prev {
    left: 1rem;
}

.owl-nav .owl-next {
    right: 1rem;
}


/* Controls (arrows) */
#mainSlider .carousel-control-prev,
#mainSlider .carousel-control-next {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mainSlider .carousel-control-prev {
    left: 1rem;
}

#mainSlider .carousel-control-next {
    right: 1rem;
}

#mainSlider .owl-nav i {
    font-size: 1.5rem;
    color: #fff;
}


.icon-date {
    width: 20px !important;
}


/* Section Wrapper */
.dual-news-section,
.scene-section {
    background-color: #fff;
    padding: var(--container-padding-vertical) 0;
}

.scene-section .article-img-wrapper img {
    height: auto;
    border-radius: 16px;
    aspect-ratio: 16 / 9;
    object-position: left;
}

.header-line {
    /* dashed separator */
    border-bottom: 1px dashed var(--color-primary);
}

.section-title {
    /* title text */
    color: var(--color-primary);
    font-size: var(--space-lg);
}

.title-underline {
    /* solid underline next to title */
    width: 50px;
    height: 3px;
    background: var(--color-primary);
    align-self: flex-end;
}

/* ===== Article Card ===== */
.card-article {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.article-content {
    padding: 1rem;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-category {
    font-size: var(--font-xs);
    font-size: 14px;
    color: #f89c0c;
}

.article-category i {
    font-size: 0.6rem;
    margin-left: 0.3rem;
}

.article-title {
    margin: 0.5rem 0;
    font-size: var(--font-lg);
    font-size: 18px;
}

.article-title a {
    color: var(--color-dark);
    text-decoration: none;
}

.article-title a:hover {
    color: #f89c0c;
}

.article-meta {
    font-size: var(--font-sm);
    color: var(--color-muted);
}

.author .caption-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.article-excerpt {
    font-size: var(--font-sm);
    font-size: 14px;
    color: var(--color-muted);
}

/* ===== Section Header ===== */
.section-header {
    align-items: center;
}

.section-header {
    margin-bottom: 32px;

}

.section-title {
    font-weight: bold;
    font-size: var(--font-xl);
    font-size: 24px;
    color: var(--color-primary);
    line-height: 1.2;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 4px;
    background: var(--color-primary);
}

.section-title::before {
    content: "";
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 50%;
    height: 2px;
    background: var(--color-primary);
}

.header-divider {
    border-bottom: 1px dashed var(--color-primary);
}

.btn-view-all {
    background: var(--color-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: var(--font-sm);
    height: 40px;
}

.btn-view-all:hover {
    background: var(--color-primary-hover);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: var(--font-sm);
}


/* ===== Article Card ===== */
.article-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.read-also .article-card img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);

}

.article-img-wrapper {
    width: 65%;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.article-body {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 0 !important;
}


.article-meta i {
    margin-left: 0.4rem;
}


/* news-card: vertical layout with image on top */

.israeli-scene-section {
    padding: var(--container-padding-vertical) 0;
}

.israeli-scene-section:nth-child(odd) {
    background: var(--color-surface);
}

.dual-news-section {
    background: var(--color-surface);
    padding: var(--container-padding-vertical) 0;
}

.israeli-scene-section:nth-child(even) {
    background: #fff;
}

.news-card {
    background-color: var(--color-content-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: var(--space-sm);

}

.news-card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.news-card-body {
    padding: var(--space-sm) 0 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.dual-news-section .article-img {
    height: auto;
    aspect-ratio: 16 / 9;
}

.dual-news-section .article-img-wrapper {
    width: 50%;
}

/* ===== Authors Slider ===== */
.authors-section {
    padding: var(--space-lg) 0;

}

.authors-section {
    background: #3E435B;

}

.authors-section .section-title {
    color: #fff;
}

.authors-section .title-underline {
    background: #fff;

}

.authors-slider {

    padding: var(--space-lg);

}

.author-card {
    background-color: var(--color-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.author-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.author-info {
    border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
    background: #FFF3DD;
    padding: var(--space-xs) var(--space-sm);
    position: absolute;
    bottom: 0;
    left: 0;
}

.author-role {
    font-size: var(--font-xs);
    color: var(--color-muted);
}

.author-name {
    font-size: var(--font-md);
    color: var(--color-dark);
}

/* Owl settings – inherit existing nav styles */
/* Footer wrapper */
.site-footer {
    background-color: #3E435B;
    color: var(--color-content-bg);
    font-size: var(--font-sm);
}

/* Reduced vertical padding */
.footer-top {
    padding-block: var(--space-md);
}

/* Brand */
.footer-logo {
    height: 50px;
}

/* Social icons */
.footer-social {
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background-color 0.3s;
}

.footer-social:hover {
    background-color: var(--color-primary-hover);
}

/* Navigation */
.footer-heading {
    font-size: var(--font-md);
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: var(--space-sm);
}

.footer-nav a {
    display: block;
    color: var(--color-content-bg);
    padding: 2px 0;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--color-primary);
}

/* Suggested articles: compact horizontal block */
.suggested-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.suggested-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background-color: #3E435B;
    text-decoration: none;
    color: var(--color-content-bg);
}

.suggested-item img {
    width: 60px;
    height: 46px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.suggested-item span {
    font-size: var(--font-xs);
    line-height: 1.3;
}

.suggested-item:hover span {
    color: var(--color-primary);
}

/* Bottom copyright */
.footer-bottom {
    border-top: 1px solid hsl(230 19% 50% / 1);
    font-size: var(--font-xs);
    background-color: #3E435B;
    max-width: 80%;
    margin: auto;
}


/* Advanced Filter Styling */
.filter-bar {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
}

.advanced-filter .input-group {
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.advanced-filter .input-group-text {
    background: var(--color-accent);
    color: var(--color-primary);
    border: none;
    padding: var(--space-xs) var(--space-sm);
}

.advanced-filter .form-control,
.advanced-filter .form-select {
    border: none;
    box-shadow: none;
    padding: var(--space-xs) var(--space-sm);
}

.advanced-filter .form-control:focus,
.advanced-filter .form-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-primary) inset;
}

.btn-search {
    background: var(--color-primary);
    color: #fff;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

/* Breadcrumb base */
.breadcrumb-nav .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0.95rem 1rem;
    margin-bottom: 1rem;
    height: 55px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: #3E435B;
}

/* Separator “>” */
.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    margin: 0 var(--space-xs);
    color: #fff;

}

/* Links */
.breadcrumb-link {
    color: var(--color-primary);
    color: #fff;
    text-decoration: none;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

/* Active item */
.breadcrumb-nav .breadcrumb-item.active {
    color: #fff;
}


/* Pagination */
.pagination .page-link {
    color: var(--color-dark);
    border: 1px solid var(--color-border);
    margin: 0 var(--space-xs);
    border-radius: var(--radius-sm);
}

.pagination .page-item.active .page-link {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.pagination .page-link:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: #fff;
}

.pagination .page-link i {
    font-size: var(--font-sm);
}

.pagination .page-link {
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Single Post Page Layout */
.single-post-page {
    gap: var(--space-lg);
}

/* Post Title */
.post-title {
    font-size: var(--font-xl);
    color: var(--color-dark);
    line-height: 1.2;
}

/* Meta Info */
.post-meta span {
    font-size: var(--font-xs);
    color: var(--color-muted);
}

/* Featured Image */
.post-image {
    object-position: center;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Blockquote Styling */
blockquote,
.post-quote {
    background: var(--color-accent);
    padding: 20px 50px;
    font-size: var(--font-md);
    color: var(--color-dark);
    border-radius: var(--radius-sm);
    background: #F2F2F2;
    position: relative;
}

/* Common styles for quote icons */
blockquote:before,
.post-quote:before,
blockquote:after,
.post-quote:after {
    position: absolute;
    color: var(--color-primary);
    font-family: "Font Awesome 6 Free"; /* Correct family name for FA 6.7.2 */
    font-weight: 900; /* '900' for solid icons (Free) */
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    pointer-events: none;
}

/* Opening quote – top right */
blockquote:before,
.post-quote:before {
    content: "\f10d"; /* fa-quote-left */
    right: 16px;
    top: 10px;
}

/* Closing quote – bottom left */
blockquote:after,
.post-quote:after {
    content: "\f10e"; /* fa-quote-right */
    left: 16px;
    bottom: 10px;
}

blockquote p,
.post-quote p {
    margin: 0 !important;
    color: var(--color-primary) !important;

}

/* Article Body */
.post-body p {
    color: var(--text-primary);
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;

}

/* Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.post-tags a {
    font-size: 14px;
    padding: 4px 14px;
    border-radius: 30px;
    background-color: #fff;
    border: 1px solid #f2f5f8;

}

.post-tags a:hover {
    color: #fff;
    border-color: transparent;
    background: var(--color-primary);
}


/* Share Buttons */
.post-share a {
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background 0.3s;
}

.post-share span {
}

.post-share a:hover {
    background: var(--color-primary-hover);
}

/* Section Heading */
.section-heading {
    font-size: var(--font-lg);
    color: var(--color-primary);
    position: relative;
    padding-bottom: var(--space-xs);
}

.section-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--color-primary);
}


.article-card-body {
    padding: var(--space-sm);
}


/* Sidebar */
.post-sidebar {
    gap: var(--space-lg);
}

/* Author Widget */
.author-widget {

    text-align: center;
}

.author-widget-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--space-sm);
}

.author-name {
    font-size: var(--font-md);
    color: var(--color-dark);
}

.author-info2 .author-role {
    font-size: var(--font-sm);
    color: var(--color-muted);
    margin-bottom: var(--space-sm);
}

.author-bio {
    font-size: var(--font-sm);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.author-social a {
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin: 0 var(--space-xxs);
    transition: background 0.3s;
}

.author-social a:hover {
    background: var(--color-primary-hover);
}

/* Similar News Sidebar */
.sidebar-similar .similar-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.sidebar-similar .similar-content {
    flex: 1;
}

.sidebar-similar .similar-title {
    font-size: var(--font-sm);
    color: var(--color-dark);
    text-decoration: none;
}

.sidebar-similar .similar-title:hover {
    color: var(--color-primary-hover);
}

.sidebar-similar .similar-date {
    font-size: var(--font-xs);
    color: var(--color-muted);
}


/* Hero Section */
.contact-hero {
    position: relative;
    background-color: #3E435B;
    color: #fff;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -20%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 70%);
    transform: rotate(45deg);
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.contact-hero h1 {
    font-size: var(--font-lg);
    margin-bottom: var(--space-sm);
}

.contact-hero p {
    font-size: var(--font-md);
    color: var(--color-accent);
}

.contact-info-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.info-card {
    background: #fff;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    min-width: 280px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-card i {
    font-size: 1.75rem;
    color: var(--color-primary);
}

.info-card h5 {
    margin: 0;
    font-size: var(--font-md);
    font-weight: 500;
}

.info-card a {
    display: block;
    color: var(--text-primary);
    font-size: var(--font-sm);
    text-decoration: none;
}

.info-card a:hover {
    color: var(--color-primary-hover);
}

/* Contact Form Section */
.contact-form-section {
    background: var(--color-surface);
    padding: var(--space-xl) 0;
}

.contact-form-section h2 {
    font-size: var(--font-lg);
    color: var(--color-dark);
    margin-bottom: var(--space-md);
}

.contact-form-section .form-control,
.contact-form-section .form-select {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-xs) var(--space-sm);
}

.contact-form-section .input-group-text {
    background: var(--color-accent);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    color: var(--color-primary);
}

.contact-form-section .btn-submit {
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-sm) 0;
    width: 100%;
    font-size: var(--font-md);
    transition: background 0.3s;
}

.contact-form-section .btn-submit:hover {
    background: var(--color-primary-hover);
}

/* Sidebar Social */
.sidebar-social h4 {
    font-size: var(--font-md);
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

.sidebar-social .social-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.3s;
}

.sidebar-social .social-btn i {
    font-size: 1.25rem;
    color: var(--color-primary);
}

.sidebar-social .social-btn:hover {
    background: var(--color-accent);
}


/* Sidebar Social & Extras */
/* Widget Titles */
.widget-title {
    font-size: var(--font-lg);
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.widget-title-sm {
    font-size: var(--font-md);
    color: var(--color-dark);
}

/* Social Buttons Grid */
.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
}

.social-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-xs) var(--space-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.3s;
}

.social-btn i {
    font-size: 1.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.social-info {
    display: flex;
    flex-direction: column;
    font-size: var(--font-sm);
}

.social-name {
    font-weight: 500;
}

.social-count {
    color: var(--color-muted);
    font-size: var(--font-xs);
}

.social-btn:hover {
    background: var(--color-accent);
}

/* Newsletter */
.newsletter-widget {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.form-label {
    font-size: var(--font-sm);
}

.newsletter-form input,
.newsletter-form button {
    border-radius: 0 !important;
}

.newsletter-form input {
    border-top-right-radius: var(--radius-md) !important;
    border-bottom-right-radius: var(--radius-md) !important;
}

.newsletter-form button {
    border-top-left-radius: var(--radius-md) !important;
    border-bottom-left-radius: var(--radius-md) !important;
}

.newsletter-text {
    font-size: var(--font-sm);
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.newsletter-form .form-control {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: var(--space-xs) var(--space-sm);
}

.btn-subscribe {
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-sm);
    transition: background 0.3s;
}

.btn-subscribe:hover {
    background: var(--color-primary-hover);
}

/* Quick Links */
.quick-links li {
    margin-bottom: var(--space-xs);
}

.quick-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--font-sm);
}

.quick-links a:hover {
    color: var(--color-primary);
}


/* ===========================================================
   Author Bio Section
=========================================================== */

/* Section wrapper */
.author-bio-section {
    background: var(--color-content-bg);
    padding: 100px 0;
}

/* Flex container spacing */
.author-bio-wrapper {
    gap: var(--space-xl);
}

/* Author name styling */
.author-info2 .author-name {
    font-size: var(--font-xxl);
    color: var(--color-dark);
    line-height: 1.2;
}

/* Author role styling */
.author-info2 .author-role {
    font-size: var(--font-md);
    color: var(--color-muted);
    margin: 0;
}

/* Author description paragraph */
.author-info2 .author-desc {
    font-size: var(--font-sm);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Social icons */
.author-social a {
    width: 40px;
    height: 40px;
    background: var(--color-surface);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: background 0.3s, color 0.3s;
}

.author-social a:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Photo wrapper with decorative elements */
.author-photo-wrapper {
    position: relative;
    flex-shrink: 0;
    margin-bottom: 30px;
    margin-left: 30px;
}

/* Decorative background shape behind photo */
.author-photo-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    border-radius: var(--radius-lg);
    z-index: 1;
    transform: rotate(-23.123deg);
}

/* Author photo */
.author-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 2;
}

/* Scribble overlay */
.author-photo-wrapper::after {
    content: url('../img/scribble.svg');
    position: absolute;
    bottom: -60px;
    left: -80px;
    opacity: 0.8;
    z-index: 2;
    display: none;
}

/* About Section */
.about-section {
    background: var(--color-content-bg);
    padding: 90px 0;
}

/* Heading with highlighted span */
.about-heading {
    font-size: var(--font-xxl);
    color: var(--color-dark);
}


/* Paragraph text */
.about-text {
    font-size: var(--font-sm);
    color: var(--text-primary);
    line-height: 1.7;
}

/* Image stack */
.image-stack .img-large {
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.image-stack .img-small {
    position: absolute;
    bottom: -65px;
    right: -65px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid #fff;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Vision & Mission */
.vision-mission .info-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    /* padding: var(--space-md); */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.box-icon {
    width: 55px;
    height: 45px;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.box-icon i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.box-title {
    font-size: var(--font-md);
    color: var(--color-dark);
}

.box-text {
    font-size: var(--font-sm);
    color: var(--text-primary);
    line-height: 1.6;
}


/* Values Section */
.values-section {
    background: var(--color-surface);
    margin-bottom: 50px;
}

/* Heading */
.values-heading {
    font-size: var(--font-xxl);
    color: var(--color-dark);
}


/* Text */
.values-text {
    font-size: var(--font-sm);
    color: var(--text-primary);
    line-height: 1.7;
}

/* Value Card */
.value-card {
    position: relative;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.value-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* Overlay Box */
.value-box {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: calc(100% - var(--space-md));
    background: #fff;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
    min-height: 268px;
}

/* Icon Circle */
.value-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

/* Title & Description */
.value-title {
    margin-top: var(--space-sm);
    font-size: var(--font-md);
    color: var(--color-dark);
}

.value-desc {
    margin-top: var(--space-xs);
    font-size: var(--font-xs);
    color: var(--color-muted);
    line-height: 1.5;
}


/* Policy Section */
.policy-section {
    background: var(--color-content-bg);
    padding: 120PX 0;
}

/* Section Label */
.section-label {
    font-size: var(--font-xs);
    color: var(--color-primary);
    text-transform: uppercase;

}


.highlight {
    color: var(--color-primary);
}

/* Numbered List */
.policy-list li {
    position: relative;
    padding-inline-start: 30px;
    margin-bottom: var(--space-sm);
    font-size: var(--font-sm);
    color: var(--text-primary);
    line-height: 1.6;
}

.policy-num {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    color: var(--color-primary);
    font-weight: bold;
    font-size: var(--font-xs);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Images Stack */
.policy-images {
    position: relative;
}

.policy-images {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: auto;
    margin-bottom: 100px;
}

.policy-images img {
    flex: 1;
    width: 50%;
}

.img-main {
    object-fit: cover;
    border-radius: 160px;
    position: relative;
    bottom: -100px;
}

.img-overlay {

    border-radius: 160px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Decorative Icon */
.policy-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    padding: 20px;
    background: var(--color-primary);
    border-radius: 160px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.policy-icon i {
    color: #fff;
    font-size: 1.25rem;
}


.values-section2 {
    background: transparent;
    padding: 120px 0;
}

.values-section2 .value-title {
    font-size: var(--font-lg);

}

.values-section2 .value-desc {
    font-size: var(--font-md);
}


/* Responsive */
@media (max-width: 992px) {
    .policy-images {
        max-width: 300px;
    }

    .image-stack {
        max-width: 300px;
    }

    .author-bio-wrapper {
        flex-direction: column-reverse;
        text-align: center;
    }

    .author-photo-wrapper {
        margin-bottom: 80px;
    }

    .author-photo {
        width: 240px;
        height: 240px;
    }

    .author-bio-section {
        padding: 40px 0;
    }

    .contact-info-cards {
        flex-direction: column;
    }

    .search-box {
        display: none;
    }

    .slider-caption {
        max-width: 300px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .owl-nav .owl-prev,
    .owl-nav .owl-next {
        top: 35%;
    }

    .single-post-page {
        display: flex;
        flex-direction: column;
        gap: var(--space-lg);
    }

    .social-media {
        display: none !important;
    }

    .bottom-bar {
        display: none !important;

    }
}


/* From Uiverse.io by Nawsome */
.loader {
    --background: linear-gradient(135deg, #f89c0c, #d17e00);
    --shadow: rgba(209, 126, 0, 0.28);
    --text: #6C7486;
    --page: rgba(255, 255, 255, 0.36);
    --page-fold: rgba(255, 255, 255, 0.52);
    --duration: 3s;
    width: 200px;
    height: 140px;
    position: relative;
}

.loader:before,
.loader:after {
    --r: -6deg;
    content: "";
    position: absolute;
    bottom: 8px;
    width: 120px;
    top: 80%;
    box-shadow: 0 16px 12px var(--shadow);
    transform: rotate(var(--r));
}

.loader:before {
    left: 4px;
}

.loader:after {
    --r: 6deg;
    right: 4px;
}

.loader div {
    width: 100%;
    height: 100%;
    border-radius: 13px;
    position: relative;
    z-index: 1;
    perspective: 600px;
    box-shadow: 0 4px 6px var(--shadow);
    background-image: var(--background);
}

.loader div ul {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

.loader div ul li {
    --r: 180deg;
    --o: 0;
    --c: var(--page);
    position: absolute;
    top: 10px;
    left: 10px;
    transform-origin: 100% 50%;
    color: var(--c);
    opacity: var(--o);
    transform: rotateY(var(--r));
    -webkit-animation: var(--duration) ease infinite;
    animation: var(--duration) ease infinite;
}

.loader div ul li:nth-child(2) {
    --c: var(--page-fold);
    -webkit-animation-name: page-2;
    animation-name: page-2;
}

.loader div ul li:nth-child(3) {
    --c: var(--page-fold);
    -webkit-animation-name: page-3;
    animation-name: page-3;
}

.loader div ul li:nth-child(4) {
    --c: var(--page-fold);
    -webkit-animation-name: page-4;
    animation-name: page-4;
}

.loader div ul li:nth-child(5) {
    --c: var(--page-fold);
    -webkit-animation-name: page-5;
    animation-name: page-5;
}

.loader div ul li svg {
    width: 90px;
    height: 120px;
    display: block;
}

.loader div ul li:first-child {
    --r: 0deg;
    --o: 1;
}

.loader div ul li:last-child {
    --o: 1;
}

.loader span {
    display: block;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 20px;
    text-align: center;
    color: var(--text);
}

@keyframes page-2 {
    0% {
        transform: rotateY(180deg);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    35%,
    100% {
        opacity: 0;
    }

    50%,
    100% {
        transform: rotateY(0deg);
    }
}

@keyframes page-3 {
    15% {
        transform: rotateY(180deg);
        opacity: 0;
    }

    35% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }

    65%,
    100% {
        transform: rotateY(0deg);
    }
}

@keyframes page-4 {
    30% {
        transform: rotateY(180deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    65%,
    100% {
        opacity: 0;
    }

    80%,
    100% {
        transform: rotateY(0deg);
    }
}

@keyframes page-5 {
    45% {
        transform: rotateY(180deg);
        opacity: 0;
    }

    65% {
        opacity: 1;
    }

    80%,
    100% {
        opacity: 0;
    }

    95%,
    100% {
        transform: rotateY(0deg);
    }
}

#preloadr {
    opacity: 1;
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    z-index: 9999;
}

#preloadr[data-hidden="true"] {
    opacity: 0;
}

.mobile-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Container */
.mobile-menu {
    position: relative;
    z-index: 2000;
}

/* Toggle & Close Buttons */
.mobile-search__btn,
.mobile-menu__btn {
    border: none;
    display: flex;
    width: 36px;
    height: 36px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background: #FFF;
    color: var(--color-primary);
    cursor: pointer;
}

.mobile-menu__btn:focus {
    outline: 2px solid var(--color-primary);
}

/* Backdrop */
.mobile-menu__backdrop {
    position: fixed;
    inset: 0;
    background: var(--color-overlay);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

/* Fullscreen Nav */
.mobile-menu__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    padding: var(--space-md);
    transition: right var(--transition);
    overflow-y: auto;
}

/* Open State */
.mobile-menu--open .mobile-menu__backdrop {
    opacity: 1;
    visibility: visible;
}

.mobile-menu--open .mobile-menu__nav {
    right: 0;
}

/* Close Button in Nav */
.mobile-menu__btn--close {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 50px;
    background: var(--color-primary);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-right-radius: 16px;
}

/* Menu List */
.mobile-menu__list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.mobile-menu__item + .mobile-menu__item {
    margin-top: var(--space-xs);
}

.mobile-menu__link {
    display: block;
    font-size: var(--font-lg);
    color: var(--color-dark);
    text-decoration: none;
    padding: var(--space-xs);
    transition: color var(--transition), background var(--transition);
    border-radius: var(--space-md);
}


.mobile-menu__link:hover {
    color: var(--color-primary);
    background: var(--color-surface);
}

.mobile-menu__link.active {
    color: var(--color-primary);
}

/* Prevent body scroll when open */
body.mobile-menu--open {
    overflow: hidden;
}

.single-article .post-content {
    padding: 1.25rem;
    background-color: #fff;
    text-align: center;
    margin-bottom: 1.25rem;

}

.single-article .post-content .post-title {
    font-size: var(--font-lg);
}

.single-article .post-content .date {
    margin: auto;
    width: max-content;
    font-size: 14px;
    margin-bottom: 1rem;

}

.single-article .container-post-body {
    padding: 1.25rem;
    padding: 40px;
    background-color: #fff;
}


.single-article .widget {
    background: #fff;
    padding: 0 1.25rem 1.25rem;
}

.single-article .contact-widget .widget-title {
    height: 54px;
    border-bottom: 1px solid #f2f5f8;
    padding-left: 1.25rem;
    display: flex;
    align-items: center;
    font-size: var(--font-md);
    font-family: "Al-Jazeera-Bold";

}

.short-link {
    height: 40px;
    border-radius: 30px;
    border: 1px solid #e8ebf8;
    background-color: #f9faff;
    margin-bottom: 1.25rem;
    width: max-content;
    font-size: 14px;
}


.short-link input {
    margin: 0;
    padding: 0;
    width: 200px;
    font-family: Arial;
    font-size: 14px;
    border: none;
    direction: ltr;
    background: none;
}

.short-link
span {
    display: block;
    text-wrap-mode: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .about-section {
        padding: 40px 0;
    }

    .values-heading,
    .about-heading {
        font-size: var(--font-xl);
    }

    .vision-mission {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .image-stack {
        max-width: 300px !important;
    }

    .value-img {
        height: 200px;

    }

    .values-section {
        margin: 0;
    }

    .policy-section,
    .values-section2 {
        padding: 40px 0;
    }

    .value-card {

        margin-bottom: 100px;
    }

    .social-media {
        display: none;
    }

    .value-box {
        width: 90%;
        transform: translate(-50%, 50%);
        min-height: 140px;
    }

    .value-icon {
        top: var(--space-md);
        width: 56px;
        height: 56px;
    }

    .card-article {
        flex-direction: column;
        text-align: center;
    }

    .article-img,
    .article-content {
        width: 100%;
        border-radius: 0;
    }

    .article-img {
        height: 200px;
    }


    .title-underline {
        margin: 0 auto;
    }

    .article-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .scene-section .caption-meta {
        justify-content: center;
    }

    .article-img-wrapper,
    .article-body {
        width: 100% !important;
        text-align: start;
    }

    .article-img {
        height: 200px;
        border-radius: 8px 8px 0 0;
    }


    .section-header {
        justify-content: space-between;
    }

    .header-divider {
        display: none;
    }

    /*.section-title {*/
    /*  font-size: 1.6rem;*/
    /*}*/
    .dual-news-section,
    .scene-section {
        padding: 40px 0;
    }

    .btn-view-all {
        font-size: var(--font-xs);
    }


    .israeli-scene-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: var(--font-lg);
    }

    .scene-section {
        padding-top: 0;
    }

    .article-title {
        font-size: 20px;
    }
}


@media (max-width: 576px) {
    .top-bar .container {
        gap: 0.75rem;
        text-align: center;
    }


    .navbar-nav {
        text-align: center;
    }

    .slider-item {
        height: 330px;
        background-size: auto 220px;
        background-position: top center;
    }

    .slider-caption {
        bottom: 0;
        max-width: 100%;
        right: 0;
        width: 100%;

    }

    .p-sm-0 {
        padding: 0 !important;
    }

    .caption-box {
        background: #fff;
        border-radius: 0;
        box-shadow: none;
    }

    .caption-box::before {
        display: none;
    }

    .footer-nav {
        columns: 1;
    }

    .suggested-item img {
        width: 48px;
        height: 36px;
    }

    .social-buttons {
        grid-template-columns: 1fr;
    }

    .breadcrumb-nav .breadcrumb {

        margin: 1rem 0;
        height: auto;
    }

    .post-body p {
        overflow-wrap: break-word;
    }

    .single-article .widget {

        margin-bottom: 1rem;
    }

    .single-article .container-post-body {
        padding: 1.25rem;
    }

    .main-slider {
        margin-top: 20px;
    }

    .post-body
    iframe {
        width: 100% !important;
    }
}

