/* ===================================================================
     
   =================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&display=swap'); 
body {
    font-family: "Alexandria", sans-serif !important;
   min-height: 100vh;
    background-color: #d5eded;
    background-image: linear-gradient(to bottom, #408e8e 0%, #408e8e 5%, #408e8e 8%, #418f8f 10%, #469290 15%, #4c9695 20%, #559b9b 25%, #5a9e9d 30%, #65a5a5 35%, #6dabaa 40%, #77b2b0 45%, #82b8b8 50%, #8cbebd 55%, #94c4c4 60%, #a1cbca 65%, #a9d1d1 70%, #b3d7d7 75%, #bbdddc 80%, #c4e2e2 85%, #cae6e7 90%, #d0eae9 95%, #d5eded 100%);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100vh; 
}

.container-header {
    background: #4c9594 !important;
}

/* ============================ Variables ============================ */
:root {
    /* Brand colors */
    --c-bg: #ffffff;
    --c-text: #1a1a1a;
    --c-muted: #6b7280;
    --c-link: #0d9488;
    --c-link-hover: #115e59;
    --c-border: #e5e7eb;
    /* Topbar */
    --topbar-bg: #1f2937;
    --topbar-text: #ffffff;
    --topbar-active: #dc2626;
    --topbar-first: #facc15;
    --topbar-hover: rgba(255, 255, 255, 0.08);
    /* Hero gradient (kept as variables in case user wants to re-enable) */
    --hero-grad-1: #0d9488;
    --hero-grad-2: #15803d;
    /* Footer */
    --footer-bg: #111827;
    --footer-text: #d1d5db;
    --footer-muted: #9ca3af;
    /* Layout */
    --container-max: 1320px;
    --gap: 1rem;
    --radius: 8px;
    /* Typography */
    --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "Tahoma", "Cairo", "Noto Sans Arabic", system-ui, Arial, sans-serif;
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
    --shadow: 0 2px 8px rgba(0, 0, 0, .08);
    /* Mobile breakpoint */
    --bp-mobile: 767px;
}

/* ============================ Dark theme overrides ============================ */
:root[data-theme="dark"] {
    --c-bg: #0f172a;
    --c-text: #e5e7eb;
    --c-muted: #94a3b8;
    --c-link: #5eead4;
    --c-link-hover: #99f6e4;
    --c-border: #1f2937;
    --topbar-bg: #0b1220;
    --topbar-text: #e5e7eb;
    --topbar-hover: rgba(255, 255, 255, 0.06);
    --footer-bg: #050a14;
    --footer-text: #cbd5e1;
    --footer-muted: #64748b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
    --shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

/* Smooth color transitions when switching theme */
body, .site-footer, .topbar, .moduletable, .moduletable.card, .moduletable-card {
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

/* Dark-mode tweak for component-neutral module cards */
:root[data-theme="dark"] .moduletable.card, :root[data-theme="dark"] .moduletable-card, :root[data-theme="dark"] .layout-sidebar .moduletable {
    background: #111827;
    border-color: #1f2937;
}

/* ============================ Reset (minimal) ============================ */
*, *::before, *::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img, picture, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--c-link);
    text-decoration: none;
    transition: color .15s ease;
}

a:hover, a:focus-visible {
    color: var(--c-link-hover);
    text-decoration: underline;
}

button {
    font: inherit;
    cursor: pointer;
}

/* ============================ Accessibility ============================ */
:focus-visible {
    outline: 2px solid var(--c-link);
    outline-offset: 2px;
    border-radius: 2px;
}

.skip-link {
    position: absolute;
    inset-inline-start: -9999px;
    top: 0;
    background: #fff;
    color: var(--c-text);
    padding: .5rem 1rem;
    z-index: 1000;
}

.skip-link:focus, .skip-link:focus-visible {
    inset-inline-start: 0;
}

/* ============================ Container ============================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto; padding-inline: var(--gap); }

/* ============================ Topbar ============================ */ .topbar {
    /* background: var(--topbar-bg); */
    color: var(--topbar-text);
    position: relative;
    z-index: 10;
    background: linear-gradient(212deg, #064c50 0%, #005954 19%, #005554 78%, #387b7b 100%);
}

/* Horizontal scroll wrapper for many items on desktop */
.topbar > .container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    display: flex;
    align-items: center;
    gap: .25rem;
}

.topbar > .container::-webkit-scrollbar {
    display: none;
}

/* Menu wrapper takes available space; theme button stays at the end */
.topbar > .container > nav, .topbar > .container > ul {
    /* flex: 1 1 auto; */
    /* min-width: 0; */
    /* background: var(--topbar-bg); */
    color: var(--topbar-text);
    position: relative;
    z-index: 10;
    /* background: linear-gradient(301deg, #02302c 0%, #00403d 19%, #023531 78%, #02302c 100%); */
    padding: 5px;
    /* border-bottom-right-radius: 13px; */
    /* border-bottom-left-radius: 15px; */
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ============================ Theme toggle ============================ */
.theme-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    background: transparent;
    color: var(--topbar-text);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    cursor: pointer;
    margin-inline-start: auto; transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.theme-toggle:hover, .theme-toggle:focus-visible {
    background: var(--topbar-hover);
    transform: scale(1.05);
}

/* Show the moon in light mode (click to go dark), sun in dark mode */
.theme-toggle .theme-icon-sun {
    display: none;
    position: relative;
    width: 18px;
    height: 18px;
}

/* CSS-only sun icon ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â no SVG, no external icon library.
   ::after draws the solid disc; ::before draws 8 small ray-dots around it
   via box-shadow (no mask needed here, so it is also the most conservative
   / broadly-supported technique). Both pieces use currentColor so the icon
   recolors automatically with the button's own color in any theme. */
.theme-toggle .theme-icon-sun::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: currentColor;
}

.theme-toggle .theme-icon-sun::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.5px;
    height: 2.5px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: transparent;
    box-shadow:
        0 -6.5px 0 0 currentColor,
        0 6.5px 0 0 currentColor,
        6.5px 0 0 0 currentColor,
        -6.5px 0 0 0 currentColor,
        4.6px -4.6px 0 0 currentColor,
        -4.6px 4.6px 0 0 currentColor,
        4.6px 4.6px 0 0 currentColor,
        -4.6px -4.6px 0 0 currentColor;
}

.theme-toggle .theme-icon-moon {
    display: block;
    position: relative;
    width: 18px;
    height: 18px;
}

/* CSS-only crescent moon ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â no SVG, no external icon library.
   A solid currentColor circle with a circular "bite" cut via mask,
   so it recolors automatically with the button's own color (both
   light/dark themes) without any theme-specific override needed. */
.theme-toggle .theme-icon-moon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgb(255 255 255);
    -webkit-mask-image: radial-gradient(circle 7px at 65% 32%, transparent 99%, #000 100%);
    mask-image: radial-gradient(circle 7px at 65% 32%, transparent 99%, #000 100%);
}

:root[data-theme="dark"] .theme-toggle .theme-icon-sun {
    display: block;
    color: #facc15;
}

:root[data-theme="dark"] .theme-toggle .theme-icon-moon {
    display: none;
}

/* Hero-located theme toggle: visible on mobile only (default hidden) */
.theme-toggle-hero {
    display: none;
    background: #005b5b;
    border-color: #106868;
    color: #ffffff;
    margin-inline-start: 0;
    }

.theme-toggle-hero:hover, .theme-toggle-hero:focus-visible {
    background: #004d4a;
}

/* ----------------------------------------------------------------
   Neutralize Bootstrap-style menu wrapper that some mod_menu layouts
   output (e.g. <nav class="navbar navbar-expand-md"> + navbar-toggler
   + collapsible content). We have our OWN .menu-toggle so we hide the
   module's toggler and force the menu list to always be visible.
   ---------------------------------------------------------------- */
.topbar .navbar-toggler, .topbar [class*="navbar-toggler"], .topbar button[data-bs-toggle="collapse"] {
    display: none !important;
}

.topbar .navbar-collapse, .topbar .collapse:not(.show) {
    display: block !important;
    width: 100%;
    height: auto !important;
    visibility: visible !important;
}

.topbar .navbar {
    display: block;
    padding: 0;
    margin: 0;
    width: 100%;
    background: transparent;
}

.lastnews {
    display: none;
}

.topbar ul {
    /* display: flex; */
    /* flex-wrap: nowrap; */
    /* list-style: none; */
    /* margin: 0; */
    /* padding: 0; */
    /* gap: 0; */
}

.topbar li {
    flex: 0 0 auto;
    list-style: none;
}

.topbar a {
     display: flex;
     align-items: center;
     justify-content: center;
     min-height: 26px;
     padding: 4px 14px;
     border-radius: 8px;
     color: #fff;
     font-size: 13.5px;
     white-space: nowrap;
     background: rgb(255 255 255 / 1%);
     border: 1px solid rgba(255, 255, 255, .08);
     text-decoration: none;
     transition: background-color .15s ease, border-color .15s ease;
}
.topbar li.current > a, .topbar li.active > a {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
    font-weight: 600;
}
li.nav-item.item-668 a {
    /* border-bottom: 3px solid #c5fffe59; */
    /* color: #e5fffd; */
}

.topbar a:hover, .topbar a:focus-visible {
    background: var(--topbar-hover);
    color: var(--topbar-text);
    text-decoration: none;
}

li.nav-item.item-285 a {
    /* color: #ffffc8; */
}

.topbar li.current > a, .topbar li.active > a, .topbar li[class*="current"] > a, .topbar .nav-item.active > a, .topbar a.nav-link.active, .topbar a.active {
    /* color: var(--topbar-active); */
    /* font-weight: 600; */
    /* border-bottom-color: var(--topbar-active); */
}

.topbar > .container > ul > li:first-child > a, .topbar .navbar-nav > li:first-child > a, .topbar .mod-menu > li:first-child > a, .topbar .nav > li:first-child > a {
    /* color: var(--topbar-first); */
    /* font-weight: 600; */
}

/* ============================ Hamburger toggle ============================
   Hidden by default (desktop). Visible only on mobile inside the hero.
   ============================================================ */
.menu-toggle {
    display: none;
    background: #004d4a;
    border: 0;
    width: 33px;
    height: 33px;
    padding: 0;
    cursor: pointer;
    border-radius: 6px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffe44d;
    margin: 3px 0;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============================ Hero (logo + banner) ============================ */
.hero {
    /* background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2)); */
    padding: 10px 0px 0px 0px;
    color: #fff;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--gap);
    flex-wrap: nowrap;
    width: 100%;
}

.logo {
    flex: 0 0 220px;
    width: 223px;
    max-width: 220px;
    display: inline-block;
    order: 1;
}

.logo img {
    width: 100%;
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    display: block;
}

.hero-banner {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    order: 1;
    text-align: start;
}

.hero-banner > *, .hero-banner .moduletable, .hero-banner .custom, .hero-banner .banneritem, .hero-banner img, .hero-banner iframe, .hero-banner ins {
    width: 95% !important;
    max-width: 100% !important;
    float: left;
}

.hero-banner img {
    /* height: auto !important; */
    /* object-fit: cover; */
}

/* ============================ Main layout ============================ */
.site-main {
    padding: 1.5rem 0;
    min-height: 50vh;
}

.main-top, .main-bottom {
    margin-block: 1rem; }

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .layout.has-sidebar {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    [dir="rtl"] .layout.has-sidebar {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}

.layout-content, .layout-sidebar {
    min-width: 0;
}

/* ============================ Module cards (generic, no component conflict) ============================ */
.moduletable.card, .moduletable-card, .layout-sidebar .moduletable {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.moduletable.card > h3, .moduletable-card > h3, .layout-sidebar .moduletable > h3 {
    margin: 0 0 .75rem;
    font-size: 1.1rem;
    color: var(--c-text);
    border-bottom: 2px solid var(--c-link);
    padding-bottom: .5rem;
    display: inline-block;
}

/* ============================ Footer ============================ */
.site-footer {
    background: #00302c;
    color: var(--footer-text);
    /* padding: 2rem 0 1rem; */
    /* margin-top: 3rem; */
}

.site-footer a {
    color: #fff;
}

.site-footer a:hover {
    color: var(--topbar-first);
}

.footer-modules {
    /* display: grid; */
    /* grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); */
    /* gap: 1.5rem; */
    /* margin-bottom: 1.5rem; */
}

/* ============================ Footer link grid (mod_menu @ position "footer") ============================
   Same 19-item mainmenu instance as the topbar, rendered here with
   class_sfx="bottom" ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Joomla emits <ul class="mod-menu mod-list nav bottom">,
   so `.bottom` is the real, already-wired hook for this exact list (no new
   selector introduced). Desktop: flex-wrap rows. Mobile (<=767px): explicit
   2/3-column grid (see media queries below) ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â no auto-fit, fixed thresholds
   chosen from live measurement so no column is ever too narrow for the
   longest labels ("ÃƒËœÃ‚Â¢ÃƒËœÃ‚Â®ÃƒËœÃ‚Â± ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚Â£ÃƒËœÃ‚Â®ÃƒËœÃ‚Â¨ÃƒËœÃ‚Â§ÃƒËœÃ‚Â±", "Francais"). */
.bottom {
    background: var(--topbar-bg);
    color: var(--topbar-text);
    position: relative;
    z-index: 10;
    background: linear-gradient(301deg, #02302c 0%, #00403d 19%, #023531 78%, #02302c 100%);
    padding: 12px;
    border-bottom-right-radius: 13px;
    border-bottom-left-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bottom li {
    list-style: none;
}

.bottom li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 2px 14px;
    border-radius: 8px;
    color: #fff;
    font-size: 13.5px;
    white-space: nowrap;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease;
}

/* Active / current page */
.bottom li.current > a,
.bottom li.active > a {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
    font-weight: 600;
}

.bottom li a:hover {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
    text-decoration: none;
}

.bottom li a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Language links (Francais / EN ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â last two menu items). No hreflang or
   semantic class exists on these Joomla menu items (checked: language="*"
   and anchor_css empty on both), so grouping falls back to their stable
   item IDs ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â same pattern already used for item-274 in this file. */
.bottom li.item-285,
.bottom li.item-969 {
    background: rgba(255, 255, 255, .05);
    border-radius: 8px;
}

.bottom li.item-285 {
    /* margin-inline-start: 10px; */
    /* padding-inline-start: 10px; */
    /* border-inline-start: 1px solid rgba(255, 255, 255, .2); */
}

.bottom li.item-285 a,
.bottom li.item-969 a {
    /* background: rgba(255, 255, 255, .07); */
}

.copyright {
    text-align: center;
    margin: 1rem 0 0;
    font-size: 10px;
    color: var(--footer-muted);
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: block;
}

/* ===================================================================
   Footer redesign (compact desktop row + stacked mobile layout).
   CSS-only — no markup/menu-item/link/pagination-logic change. Every
   selector below targets elements that already exist in index.php /
   the two footer mod_menu instances; grouping within the single flat
   "bottom" <ul> (nav + "page" items + language items, all siblings) is
   done via each item's own stable Joomla item-{id} class, never by
   editing the menu or the template markup.
   =================================================================== */

/* Whole footer: one continuous dark teal/green gradient (reuses the
   exact gradient already used on .bottom, extended to the full footer
   instead of stopping at the nav row) and compact height. */
.site-footer {
    background: linear-gradient(301deg, #02302c 0%, #00403d 19%, #023531 78%, #02302c 100%);
    padding-block: 18px 10px;
}

.site-footer .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    row-gap: 12px;
}

/* Row 1: nav+pagination (.bottom) and secondary links (.bottomsub),
   side by side in one row, as in the desktop reference. */
.footer-modules {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    padding-block-end: 12px;
    border-block-end: 1px solid rgba(255, 255, 255, .12);
    min-width: 0;
}

.bottom {
    /* Existing rule already sets the gradient/padding/flex-wrap for this
       exact element; only tightening spacing here for the compact look. */
    padding: 0;
    background: none;
    border-radius: 0;
    flex: 1 1 auto;
    row-gap: 8px;
}

/* Group order within the single flat list — visual only, DOM/tab order
   untouched: primary nav first, "page" items (today's pagination) next,
   language switcher last. */
.bottom li.item-274,
.bottom li.item-734,
.bottom li.item-668,
.bottom li.item-970 {
    order: 1;
}

.bottom li.item-285,
.bottom li.item-969 {
    order: 3;
}

.bottom li:not(.item-274):not(.item-734):not(.item-668):not(.item-970):not(.item-285):not(.item-969) {
    order: 2;
}

/* Pagination pills: smaller and numeric-looking, distinct from the 4
   primary nav pills. Current page reuses the existing .current/.active
   highlight rule already defined above — untouched. */
.bottom li:not(.item-274):not(.item-734):not(.item-668):not(.item-970):not(.item-285):not(.item-969) > a {
    min-width: 24px;
    min-height: 24px;
    padding: 2px 5px;
    font-size: 12px;
    border-radius: 6px;
}

/* Compact the 4 primary-nav pills and tighten the row's own gaps so the
   full desktop row (primary nav + pages 2–9, right, and the secondary
   links, left) fits on one line without wrapping down to ~1024px,
   before any wrap is allowed. */
.bottom {
    gap: 6px;
}

.bottom li.item-274 > a,
.bottom li.item-734 > a,
.bottom li.item-668 > a,
.bottom li.item-970 > a {
    padding-inline: 9px;
    font-size: 13px;
}

.footer-modules ul.mod-menu.mod-list.nav.bottomsub li a {
    padding-inline: 9px;
    font-size: 12px;
}

/* Hidden from the footer only — the Joomla menu items (EN, Français,
   "الصفحة 1") still exist untouched; this purely removes them from this
   one rendered list, and since they're taken fully out of flow they
   leave no gap behind (same technique already used for مقالات/رياضة/
   مواقع/جهوية further down this file). */
.footer-modules .item-101,
.footer-modules .item-285,
.footer-modules .item-969 {
    display: none;
}

/* Secondary links row (من نحن / للإعلان / إضافة موقع / نشر مقال / معايير
   الترتيب) — replaces the old float/absolute-offset positioning with a
   normal in-flow flex row, same visual family as the primary pills but
   quieter. Selectors prefixed with ".footer-modules" purely to outrank
   the older same-selector rules further down this file (equal-specificity
   ties in CSS resolve to whichever is later in source, and the old rules
   currently are) — no change to what those old rules do anywhere else,
   since ".footer-modules ul...bottomsub" only ever matches this one list. */
.footer-modules ul.mod-menu.mod-list.nav.bottomsub {
    position: static;
    float: none;
    top: auto;
    z-index: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.footer-modules ul.mod-menu.mod-list.nav.bottomsub li {
    float: none;
    margin: 0;
}

.footer-modules ul.mod-menu.mod-list.nav.bottomsub li a {
    display: flex;
    align-items: center;
    min-height: 28px;
    padding: 2px 12px;
    font-size: 12.5px;
    border-radius: 6px;
}

/* Row 2: follow-us + social on the visual left, copyright centred in
   the remaining space — placed via grid-column on the existing elements
   (no wrapper added). Column 3 is an empty balancing track so column 2
   (copyright) sits at the true horizontal centre of the footer. */
.footer-social {
    grid-column: 3;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
}

.copyright {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    margin: 0;
    margin-inline-start: 60px;
    padding: 0;
    border-top: none;
}

.footer-social-title {
    font-size: 12.5px;
    color: var(--footer-text);
    white-space: nowrap;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    transition: background-color .15s ease, border-color .15s ease;
}

.footer-social-icons a:hover {
    background: rgba(255, 255, 255, .14);
}

.footer-social-icons a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.footer-social-icons svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

/* ============================ Footer — mobile ( <= 767px ) ============================
   Stacked layout: [4 primary-nav buttons row] [pagination row, wraps]
   → divider → [secondary links, centred, wraps] → divider →
   [follow-us + social icons, centred] → [copyright, centred]. */
@media (max-width: 767px) {
    .site-footer .container {
        display: flex;
        flex-direction: column;
        padding-inline: 16px;
    }

    .footer-modules {
        display: flex;
        flex-direction: column;
        gap: 12px;
        border-block-end: none;
        padding-block-end: 12px;
        order: 0;
    }

    /* Higher specificity than the older ".bottom{display:grid;...}" mobile
       rule further down this file (same breakpoint, later in source) so
       this flex layout reliably wins regardless of source order. */
    .footer-modules .bottom {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        border-block-end: 1px solid rgba(255, 255, 255, .12);
        padding-block-end: 12px;
    }

    /* The 4 primary-nav items exactly fill one row (4 × 25%), so the
       pagination/language items that follow are forced onto their own
       wrapped line(s) below — no markup split needed for two "rows"
       inside one flex-wrap list. */
    .bottom li.item-274,
    .bottom li.item-734,
    .bottom li.item-668,
    .bottom li.item-970 {
        flex: 1 1 calc(25% - 6px);
        min-width: 0;
    }

    .bottom li.item-274 > a,
    .bottom li.item-734 > a,
    .bottom li.item-668 > a,
    .bottom li.item-970 > a {
        width: 100%;
        padding-inline: 4px;
        font-size: 12.5px;
    }

    .bottom li:not(.item-274):not(.item-734):not(.item-668):not(.item-970):not(.item-285):not(.item-969) {
        flex: 0 0 auto;
    }

    /* Higher specificity than the older same-selector rule scoped to
       (min-width:414px) and (max-width:767px) further down this file,
       which still floats/offsets this list — this wins regardless of
       source order across the whole <=767px range. */
    .footer-modules ul.mod-menu.mod-list.nav.bottomsub {
        position: static;
        float: none;
        top: auto;
        clear: none;
        overflow: visible;
        width: 100%;
        justify-content: center;
        margin: 0;
    }

    .footer-social {
        grid-column: auto;
        grid-row: auto;
        order: 1;
        flex-direction: column;
        justify-self: auto;
        justify-content: center;
        gap: 8px;
        border-block-start: 1px solid rgba(255, 255, 255, .12);
        padding-block-start: 12px;
        margin-block-start: 2px;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .copyright {
        grid-column: auto;
        grid-row: auto;
        justify-self: auto;
        margin-inline-start: 0;
        order: 2;
        text-align: center;
        padding-block-start: 10px;
    }
}

/* ============================ Mobile ( <= 767px ) ============================ */
@media (max-width: 767px) {
    /* 1) Show hamburger button inside the hero */ .menu-toggle {
        display: inline-flex;
    }

    /* Show the hero theme toggle on mobile, as a normal in-flow flex item
       (no position:absolute) so it can never overlap a sibling regardless
       of viewport width ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â it simply takes its own place in the row. */
    .theme-toggle-hero {
        display: inline-flex;
        order: 2;
    }

    .topbar.is-open .theme-toggle:not(.theme-toggle-hero) {
        display: none;
    }

    .lastnews {
        display: inline-flex;
        order: 1;
        /* flex-wrap: wrap; */
        display: block !important;
        /* float: right; */
    }

    .lastnews a {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        min-width: 106px;
        /* min-height: 41px; */
        padding: 7px 7px;
        background: #cf1736;
        color: #fff !important;
        border-radius: 17px;
        text-decoration: none;
        font-size: 14px;
        /* border: 1px solid #b49a9e; */
    }

    .lastnews a:before {
        content: "";
        flex: 0 0 auto;
        width: 14px;
        height: 14px;
        border: 1px solid #ff5656;
        border-radius: 50%;
        background: #ffffff;
        animation: breaking-news-pulse 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    }

    /* 2) Hide the dark menu bar by default; reveal when toggled */
    .topbar {
        display: none;
    }

    .topbar.is-open {
        display: block;
        position: fixed;
        width: 100%;
        top: 53px;
        /* background: #213535; */
        padding: 17px 12px;
    }

    /* When open, drop down vertically with full-width items (no overflow / no hidden items) */
    .topbar.is-open > .container {
        overflow: visible;
        padding-inline: 0; max-width: 100%;
        display: block;
    }

    .topbar.is-open .theme-toggle {
        position: absolute;
        top: 8px;
        inset-inline-end: 12px;
        z-index: 11;
    }

    .topbar.is-open .navbar, .topbar.is-open .navbar-collapse {
        display: block !important;
        width: 100%;
    }

    .topbar.is-open ul {
        flex-direction: row;
        flex-wrap: wrap;
        width: unset;
        float: right;
    }

    .topbar.is-open li {
        flex: unset;
        /* width: 35%; */
        /* float: right; */
        background: unset;
    }

    li.nav-item.item-668 a {
        /* background: #105edc; */
        /* color: #076069; */
    }

    .topbar.is-open a {
        padding: 3px 10px!important;
        border: 1px solid rgba(255, 255, 255, .06);
        border-bottom-width: 1px;
        margin: 4px;
        border-radius: 13px;
        /* padding-right: 15px; */
        text-align: center;
    }

    .topbar.is-open {
        background: linear-gradient(177deg, #408e8e 0%, #316c6ce8 100%);
        border-bottom-left-radius: 13px;
        border-bottom-right-radius: 13px;
        padding-bottom: 42px;
        -webkit-box-shadow: 0px 9px 12px 0px rgb(64 142 142 / 44%), 1px 20px 47px rgb(66 142 142) inset;
        -moz-box-shadow: 0 1px 4px rgba(0,0,0,.3),0 0 40px rgba(0,0,0,.1) inset;
        box-shadow: 0 1px 4pxrgba(0,0,0,.3),0 0 40pxrgba(0,0,0,.1) inset;
    }

    .topbar.is-open a {
        display: flex;
        align-items: center;
        justify-content: center;
        /* min-height: 44px; */
        padding: 12px 10px;
        color: #066069;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.4;
        text-align: center;
        background: linear-gradient(115deg, rgba(255, 255, 255, 0.09), rgb(0 0 0 / 3%));
        border: 1px solid rgb(255 255 255 / 14%);
        border-radius: 6px;
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%), 0 12px 28px rgba(0, 0, 0, 0.18);
        transition: 0.22s ease;
        background: #f2ffff;
        border: 0px solid #e9ffff63;
    }

    /* Explicit fixed column counts (no auto-fit) ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â thresholds picked from
       live measurement so no column is ever too narrow for the longest
       label ("ÃƒËœÃ‚Â¢ÃƒËœÃ‚Â®ÃƒËœÃ‚Â± ÃƒËœÃ‚Â§Ãƒâ„¢Ã¢â‚¬Å¾ÃƒËœÃ‚Â£ÃƒËœÃ‚Â®ÃƒËœÃ‚Â¨ÃƒËœÃ‚Â§ÃƒËœÃ‚Â±" / "Francais"). 2 columns up to 413px, 3 columns
       from 414px up to the 767px mobile ceiling (see nested media query). */
    .bottom {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .bottom li {
        list-style: none;
    }

    .bottom li a {
        font-size: 13px;
        min-height: 33px;
        padding: 3px 5px;
    }

    .bottom li.item-285 {
        margin-inline-start: 0;
        padding-inline-start: 0;
        border-inline-start: 0;
    }

    .nav-item.item-274 a:before {
        display: none;
    }

    .bottom .nav-item.item-274 a {
        /* padding-right: 0px !important; */
        background: #d40000 !important;
        /* color: #fff !important; */
        /* padding: 8px !important; */
        /* text-align: center; */
        /* font-size: 13px !important; */
        /* min-height: 38px !important; */
        /* padding: 6px 8px !important; */
    }

    .topbar .nav-item.item-274 a {
        /* padding-right: 20px !important; */
        color: #008694 !important;
        position: relative;
    }

    .topbar.is-open li.current > a, .topbar.is-open li.active > a, .topbar.is-open li[class*="current"] > a, .topbar.is-open .nav-item.active > a, .topbar.is-open a.nav-link.active {
        border-bottom-color: rgba(255, 255, 255, .06);
        /* background: rgba(220, 38, 38, .18); */
    }

    /* 3) Hero: hide banner, keep logo + hamburger on the same line */
    .hero-banner {
        display: none;
    }

    .hero-inner {
        justify-content: space-between;
        flex-wrap: nowrap;
        text-align: start;
        padding: 0px 9px;
        gap: 8px;
    }

    .logo {
        flex: 0 1 140px;
        width: auto;
        max-width: 140px;
        order: 1;
    }

    .menu-toggle {
        order: 4;
    }

    /* In RTL, DOM order [logo, toggle] places toggle visually on the LEFT
	   of logo (Arabic convention). In LTR, toggle ends up on the right. */
}

/* Footer link grid: 3 columns once there's enough room (414px up to the
   767px mobile ceiling ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â desktop takes over as flex-wrap rows at 768px). */
@media (min-width: 414px) and (max-width: 767px) {
    .bottom {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ============================ Very small phones ( <= 340px ) ============================
   Only the sizes/spacing below are reduced at this width ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â no element is
   hidden, no extra row is introduced. Fixes the header horizontal overflow
   measured between 320px and ~340px (logo + breaking-news badge + toggle +
   hamburger no longer fit at their normal mobile sizes in a single nowrap row). */
@media (max-width: 340px) {
    .hero-inner {
        gap: 6px;
    }

    .logo {
        flex: 0 1 96px;
        width: auto;
        max-width: 96px;
        min-width: 64px;
    }

    .lastnews a {
        min-width: 0;
        gap: 6px;
        padding: 6px 8px;
        font-size: 12px;
    }

    .lastnews a:before {
        width: 11px;
        height: 11px;
    }
}

/* ============================ Desktop ( >= 768px ) ============================ */
@media (min-width: 768px) {
    /* Force-hide the hamburger on every desktop case */ .menu-toggle {
        display: none !important;
    }

    /* Hide the mobile-only hero theme toggle on desktop */
    .theme-toggle-hero {
        display: none !important;
    }

    /* Make sure topbar is always visible on desktop, even after JS toggling */
    .topbar {
        display: block;
    }
}

/* ============================ Smaller phones ============================ */
@media (max-width: 480px) {
    .topbar.is-open a {
        /* padding: .8rem 1rem; */
        /* font-size: .9rem; */
    }

    .logo img {
        width: 100%;
        max-width: 100%;
        max-height: 60px;
        object-fit: contain;
        display: block;
    }

    .site-main {
        padding: 1rem 0;
    }
    
body.site.option-com_rssaggregator.view-trend.itemid-734.dir-rtl main#content {
   
    margin-top: 13px;
}
}

/* ============================ Print ============================ */
@media print {
    .topbar, .hero-banner, .site-footer, .menu-toggle, .skip-link {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ============================ Reduced motion ============================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

div#mod-custom110 img {
    width: 100%;
}

.topbar .nav-item.item-274 a {
    position: relative;
    /* color: #c4fffe; */
    /* border-bottom: 1px solid #00e8ff; */
    /* background: #013439; */
    /* background: #024E56; */
    /* background: linear-gradient(
306deg, rgb(12 58 63) 4%, rgb(2 47 51) 35%); */
}

.nav-item.item-274 a:before {
}

.topbar li.nav-item.item-274 > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    /* justify-content: center; */
    gap: 11px;
    /* min-width: 139px; */
    /* min-height: 41px; */
    padding-left: 16px;
    background: #cf1736;
    /* color: #fff !important; */
    /* border-radius: 0; */
    /* font-size: 16px; */
    /* font-weight: 700; */
    /* line-height: 1; */
    /* text-decoration: none !important; */
    /* direction: rtl; */
    /* overflow: visible; */
}
.bottom .nav-item.item-274 a{
    /* border-radius:8px; */
}
 .bottom .nav-item.item-274 a {
         background: #d40000 !important;
 }
li.nav-item.item-274 > a::before {
    content: "";
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    animation: breaking-news-pulse 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes breaking-news-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

li.nav-item.item-274 > a:hover, li.nav-item.item-274 > a:focus {
    background: #b9122e;
    color: #fff !important;
}

@media (max-width: 767px) {
    .topbar li.nav-item.item-274 > a {
        display: block;
        align-items: unset;
        gap: unset;
        background: #f0fdfd;
        color: #066069 !important;
        border-radius: 6px;
        font-size: 13px;
    }

    li.nav-item.item-274 > a::before {
        width: 12px;
        height: 12px;
    }
}

.bottom .nav-item a:hover {
    /* background: #1da19f; */
    /* display: block; */
    /* margin-left: 28px; */
    text-decoration: none;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

.bottom .nav-item.item-274 a:before {
    display: none;
}

.com-users-login.login, .com-users-login {
    width: min(100%, 470px);
    max-width: 470px;
    margin: 3rem auto;
    padding: 34px;
    direction: rtl;
    background: rgba(255, 255, 255, .93);
    border: 1px solid rgba(13, 148, 136, .16);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(15, 118, 110, .20);
    backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
}

.com-users-login.login::after, .com-users-login__form, .com-users-login__form.well, .com-users-login .well, .com-users-login .form-horizontal {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.com-users-login__form fieldset, .com-users-login fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

.com-users-login .control-group {
    display: block;
    margin: 0 0 18px;
}

.com-users-login .control-label {
    display: block;
    width: auto;
    float: none;
    text-align: start;
    margin: 0 0 8px;
    padding: 0;
}

.com-users-login .control-label label, .com-users-login label {
    display: block;
    color: var(--c-text);
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.com-users-login .control-label .star, .com-users-login .star {
    color: #dc2626;
    margin-inline-start: 4px; font-weight: 800;
}

.com-users-login .form-control-feedback {
    display: block;
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    margin-top: 6px;
}

.com-users-login .controls {
    width: 100%;
}

.com-users-login input[type="text"], .com-users-login input[type="password"], .com-users-login .form-control {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--c-text);
    background: #fff;
    border: 1px solid rgba(13, 148, 136, .18);
    border-radius: 16px;
    outline: none;
    box-shadow: 0 8px 22px rgba(15, 118, 110, .06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease;
    box-sizing: border-box;
}

.com-users-login input:hover, .com-users-login .form-control:hover {
    border-color: rgba(13, 148, 136, .38);
}

.com-users-login input:focus, .com-users-login .form-control:focus, .com-users-login .form-control:focus-visible {
    border-color: var(--c-link);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, .14);
    transform: translateY(-1px);
}

.com-users-login .has-danger input, .com-users-login .has-danger .form-control, .com-users-login .invalid, .com-users-login .form-control.invalid, .com-users-login .form-control-danger {
    border-color: rgba(220, 38, 38, .58) !important;
    background: #fffafa;
}

.com-users-login .has-danger input:focus, .com-users-login .has-danger .form-control:focus, .com-users-login .form-control-danger:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, .13);
}

.com-users-login .password-group .input-group {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    position: static;
}

.com-users-login .password-group .form-control {
    flex: 1 1 auto;
    padding-inline-end: 16px; }

.com-users-login .input-password-toggle {
    position: static;
    width: 54px;
    min-width: 54px;
    height: 50px;
    margin: 0;
    padding: 0;
    background: #f7fbfb;
    border: 1px solid rgba(13, 148, 136, .18);
    border-radius: 16px;
    color: var(--c-link);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: background-color .2s ease, transform .2s ease, color .2s ease;
}

.com-users-login .input-password-toggle:hover, .com-users-login .input-password-toggle:focus-visible {
    background: #ecf8f6;
    color: var(--c-link-hover);
    transform: translateY(-1px);
}

.com-users-login .input-password-toggle [class*="icon-"] {
    font-size: 18px;
    line-height: 1;
}

.com-users-login__remember {
    margin: 2px 0 20px;
}

.com-users-login__remember .form-check, .com-users-login .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
}

.com-users-login__remember .form-check-input, .com-users-login .form-check-input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--c-link);
    cursor: pointer;
    flex-shrink: 0;
}

.com-users-login__remember .form-check-label, .com-users-login .form-check-label {
    color: var(--c-muted);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.com-users-login__submit {
    margin: 0 0 12px;
}

.com-users-login__submit .controls {
    width: 100%;
}

.com-users-login .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 50px;
    height: auto;
    padding: 13px 18px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    border: 1px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.com-users-login .btn:hover, .com-users-login .btn:focus-visible {
    transform: translateY(-2px);
    text-decoration: none;
}

.com-users-login .btn-primary {
    background: linear-gradient(135deg, var(--c-link), var(--c-link-hover));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(13, 148, 136, .28);
}

.com-users-login .btn-primary:hover, .com-users-login .btn-primary:focus-visible {
    background: linear-gradient(135deg, var(--c-link-hover), #0f4f4a);
    box-shadow: 0 18px 36px rgba(13, 148, 136, .34);
}

.com-users-login .btn-secondary, .com-users-login .plg_system_webauthn_login_button {
    background: #eef8f7;
    color: var(--c-link-hover);
    border-color: rgba(13, 148, 136, .16);
    box-shadow: none;
}

.com-users-login .btn-secondary:hover, .com-users-login .btn-secondary:focus-visible, .com-users-login .plg_system_webauthn_login_button:hover, .com-users-login .plg_system_webauthn_login_button:focus-visible {
    background: #e3f4f2;
    border-color: rgba(13, 148, 136, .28);
}

.com-users-login .plg_system_webauthn_login_button svg, .com-users-login .btn svg {
    width: 23px !important;
    height: 23px !important;
    flex-shrink: 0;
    display: inline-block;
    fill: currentColor;
    vertical-align: middle;
}

.com-users-login__options {
    list-style: none;
    margin: 22px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid rgba(13, 148, 136, .16);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.com-users-login__options .list-group-item {
    display: block;
    padding: 12px 14px;
    color: var(--c-link-hover);
    background: #f7fbfb;
    border: 1px solid rgba(13, 148, 136, .16);
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.com-users-login__options .list-group-item:hover, .com-users-login__options .list-group-item:focus-visible {
    background: #e8f7f5;
    color: var(--c-link);
    border-color: rgba(13, 148, 136, .30);
    transform: translateY(-1px);
    text-decoration: none;
}

.com-users-login .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body:has(.com-users-login) .site-main {
    padding-block: 2rem; }

body:has(.com-users-login) .layout {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 65vh;
}

/* ============ Dark mode ============ */
:root[data-theme="dark"] .com-users-login.login, :root[data-theme="dark"] .com-users-login {
    background: rgba(17, 24, 39, .94);
    border-color: #1f2937;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .40);
}

:root[data-theme="dark"] .com-users-login input[type="text"], :root[data-theme="dark"] .com-users-login input[type="password"], :root[data-theme="dark"] .com-users-login .form-control {
    background: #0f172a;
    color: #e5e7eb;
    border-color: #1f2937;
    box-shadow: none;
}

:root[data-theme="dark"] .com-users-login input:hover, :root[data-theme="dark"] .com-users-login .form-control:hover {
    border-color: #374151;
}

:root[data-theme="dark"] .com-users-login input:focus, :root[data-theme="dark"] .com-users-login .form-control:focus {
    border-color: #5eead4;
    box-shadow: 0 0 0 4px rgba(94, 234, 212, .16);
}

:root[data-theme="dark"] .com-users-login .has-danger input, :root[data-theme="dark"] .com-users-login .has-danger .form-control, :root[data-theme="dark"] .com-users-login .form-control.invalid {
    background: rgba(220, 38, 38, .08);
    border-color: #ef4444 !important;
}

:root[data-theme="dark"] .com-users-login .input-password-toggle, :root[data-theme="dark"] .com-users-login .btn-secondary, :root[data-theme="dark"] .com-users-login .plg_system_webauthn_login_button {
    background: #1f2937;
    color: #e5e7eb;
    border-color: #374151;
}

:root[data-theme="dark"] .com-users-login .input-password-toggle:hover, :root[data-theme="dark"] .com-users-login .btn-secondary:hover, :root[data-theme="dark"] .com-users-login .plg_system_webauthn_login_button:hover {
    background: #374151;
    border-color: #4b5563;
}

:root[data-theme="dark"] .com-users-login__options {
    border-top-color: #1f2937;
}

:root[data-theme="dark"] .com-users-login__options .list-group-item {
    background: transparent;
    border-color: #1f2937;
    color: #5eead4;
}

:root[data-theme="dark"] .com-users-login__options .list-group-item:hover {
    background: #5eead4;
    color: #0f172a;
    border-color: #5eead4;
}

/* ============ Responsive ============ */
@media (max-width: 600px) {
    body:has(.com-users-login) .layout {
        align-items: flex-start;
        min-height: auto;
    }

    .com-users-login.login, .com-users-login {
        margin: 1.5rem auto;
        padding: 26px 18px;
        border-radius: 22px;
    }

    .com-users-login.login::before, .com-users-login::before {
        font-size: 24px;
    }

    .com-users-login__options {
        grid-template-columns: 1fr;
    }

    .com-users-login .password-group .input-group {
        gap: 6px;
    }
}

body.site.option-com_rssaggregator.view-favorites.itemid-566.dir-rtl .site-main {
    padding: 1.5rem 0;
    min-height: 50vh;
    background: #f1f5f5;
}

.fr .rss-card-title {
    float: left;
}

div#mod-custom113,#mod-custom118 {
    background: #c60303;
    text-align: center;
    /* padding: 7px; */
    color: #fff;
    /* animation: blink 1s infinite; */
    border-radius: 15px;
    width: 50%;
    margin: 0 auto;
}

div#mod-custom113 a,#mod-custom118 a {
    color: #fff;
    display: block;
    padding: 5px;
    animation: blink 1s infinite;
}

button.menu-toggle {
    /* animation: blink 3s infinite; */
}

div#mod-custom113 a:hover {
    background: #ff4747;
}

.itemid-732 .com-content-article__body h1 {
    clear: both;
    width: 100%;
    background: #eee;
    padding: 5px 15px;
    font-size: 19px;
    margin: 25px 0px;
}

.itemid-732 .com-content-article__body p a {
    color: #333333;
    display: block;
    padding: 3px 12px;
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    /* margin: 9px; */
    text-decoration: none;
    line-height: 29px;
    font-size: 14px;
}

.itemid-732 .com-content-article__body p {
    float: right;
    display: block;
    margin: 6px;
}

.com-content-article.item-page {
    border: 5px solid #bfdfde69;
    background: #ffffff;
    border-radius: 14px;
    padding: 58px;
    padding-left: 70px;
}

.itemid-732 .com-content-article.item-page {
    padding: 4px 0px 50px 0px;
}

.itemid-732 .com-content-article__body p a:hover {
    background: #fff3ec;
    color: red;
}

.scroll-step-btn {
    position: fixed;
    right: 24px;
    bottom: 124px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #dc2626);
    color: #ffffff;
    font-size: 0;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.35);
    transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
    animation: scrollBtnPulse 1.8s ease-in-out infinite;
    display: none;
}

body.site.option-com_rssaggregator.view-platforms.itemid-668.dir-rtl .scroll-step-btn {
    display: unset;
}

.scroll-step-btn::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    margin: auto;
    border-right: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;
    transform: rotate(45deg);
    animation: scrollArrowDown 1.1s ease-in-out infinite;
}

.scroll-step-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 34px rgba(220, 38, 38, 0.45);
}

.scroll-step-btn:active {
    transform: translateY(0) scale(0.98);
}

.scroll-step-btn.is-hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes scrollBtnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.45), 0 12px 28px rgba(220, 38, 38, 0.32);
    }

    70% {
        box-shadow: 0 0 0 13px rgba(249, 115, 22, 0), 0 12px 28px rgba(220, 38, 38, 0.32);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0), 0 12px 28px rgba(220, 38, 38, 0.32);
    }
}

@keyframes scrollArrowDown {
    0%, 100% {
        transform: translateY(-3px) rotate(45deg);
        opacity: 0.75;
    }

    50% {
        transform: translateY(4px) rotate(45deg);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .scroll-step-btn {
        right: 24px;
        bottom: 237px;
        width: 42px;
        height: 42px;
    }

    .scroll-step-btn::before {
        width: 12px;
        height: 12px;
    }
}

/* ==============================
   Agenda Table, Glass Modern UI
   ============================== */
body.itemid-970 .agenda-page {
    --agenda-primary: #0f766e;
    --agenda-primary-2: #14b8a6;
    --agenda-dark: #0f172a;
    --agenda-text: #1f2937;
    --agenda-muted: #64748b;
    --agenda-line: rgba(148, 163, 184, 0.22);
    --agenda-glass: rgba(255, 255, 255, 0.72);
    --agenda-row: rgba(255, 255, 255, 0.58);
    position: relative;
    padding: 28px;
    border-radius: 28px;
    overflow: hidden;
    background: radial-gradient(circle at 18% 0%, rgba(20, 184, 166, 0.22), transparent 34%), linear-gradient(135deg, rgba(15, 118, 110, 0.20), rgba(255, 255, 255, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

body.itemid-970 .agenda-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.40), transparent 35%), radial-gradient(circle at 80% 10%, rgba(249, 115, 22, 0.12), transparent 28%);
    pointer-events: none;
}

body.itemid-970 .page-header {
    margin: 0 0 18px;
    border: 0;
}

body.itemid-970 .page-header h1 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    /* font-weight: 900; */
    letter-spacing: -0.6px;
}

body.itemid-970 .agenda-header {
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
}

body.itemid-970 .agenda-header p {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 16px;
    border-radius: 999px;
    color: #0f766e;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(15, 118, 110, 0.14);
    font-size: 15px;
    /* font-weight: 800; */
    line-height: 1.7;
    backdrop-filter: blur(14px);
}

body.itemid-970 .agenda-header p::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #14b8a6;
    box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.14);
}

body.itemid-970 .agenda-table-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow-x: auto;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 18px 38px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(18px);
}

body.itemid-970 .agenda-table {
    width: 100% !important;
    min-width: 850px;
    height: auto !important;
    border-collapse: collapse;
    table-layout: fixed;
    background: transparent;
}

body.itemid-970 .agenda-table th, body.itemid-970 .agenda-table td {
    width: auto !important;
    height: auto !important;
    text-align: right;
    border: 0 !important;
}

body.itemid-970 .agenda-table thead {
    background: rgba(255, 255, 255, 0.46);
}

body.itemid-970 .agenda-table th {
    padding: 17px 20px;
    color: #0f172a;
    font-size: 12px;
    font-weight: normal;
    white-space: nowrap;
    border-bottom: 1px solid var(--agenda-line) !important;
}

body.itemid-970 .agenda-table th:first-child {
    border-radius: 18px 0 0 0;
}

body.itemid-970 .agenda-table th:last-child {
    border-radius: 0 18px 0 0;
}

body.itemid-970 .agenda-table tbody tr {
    background: var(--agenda-row);
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

body.itemid-970 .agenda-table tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.62);
}

body.itemid-970 .agenda-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.86);
    box-shadow: inset -4px 0px 0 #14b8a6;
}

body.itemid-970 .agenda-table td {
    padding: 19px 20px;
    color: var(--agenda-text);
    font-size: 13px;
    line-height: 1.75;
    /* font-weight: 650; */
    vertical-align: middle;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
}

body.itemid-970 .agenda-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

body.itemid-970 .agenda-table td:nth-child(1) {
    color: #111827;
    /* font-weight: 900; */
    font-size: 13px;
}

body.itemid-970 .agenda-table td:nth-child(1)::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-radius: 50%;
    background: #0f766e;
    box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.10);
    vertical-align: middle;
}

body.itemid-970 .agenda-table td:nth-child(2) {
    color: #475569;
    /* font-weight: 800; */
}

body.itemid-970 .agenda-table td:nth-child(3) {
    color: #065f46;
    /* font-weight: 900; */
    white-space: nowrap;
}

body.itemid-970 .agenda-table td:nth-child(3)::before {
    content: "ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â±";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.12);
    color: #0f766e;
    font-size: 13px;
}

body.itemid-970 .agenda-table td:nth-child(4) {
    color: #475569;
    /* font-weight: 750; */
}

body.itemid-970 .agenda-table td:nth-child(4)::before {
    content: "";
    margin-left: 8px;
    color: #0f766e;
    font-size: 15px;
}

body.itemid-970 .agenda-table tbody tr:first-child td {
    background: transparent !important;
}

body.itemid-970 .agenda-table tbody tr:first-child td:nth-child(1) {
    color: #111827 !important;
}

body.itemid-970 .agenda-table tbody tr:has(td:empty), body.itemid-970 .agenda-table tbody tr:has(td:first-child:empty) {
    display: none;
}

/* Scrollbar */
body.itemid-970 .agenda-table-wrap::-webkit-scrollbar {
    height: 8px;
}

body.itemid-970 .agenda-table-wrap::-webkit-scrollbar-track {
    background: rgba(241, 245, 249, 0.7);
}

body.itemid-970 .agenda-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(15, 118, 110, 0.35);
    border-radius: 999px;
}

body.itemid-970 .agenda-table-wrap::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 118, 110, 0.55);
}

@media (max-width: 768px) {
    body.itemid-970 .agenda-page {
        padding: 16px;
        border-radius: 22px;
    }

    body.itemid-970 .page-header h1 {
        font-size: 28px;
    }

    body.itemid-970 .agenda-header p {
        font-size: 13px;
        padding: 8px 13px;
    }

    body.itemid-970 .agenda-table {
        min-width: 760px;
    }

    body.itemid-970 .agenda-table th {
        padding: 13px 14px;
        font-size: 13px;
    }

    body.itemid-970 .agenda-table td {
        padding: 14px;
        font-size: 14px;
    }

    body.itemid-970 .agenda-table td:nth-child(1) {
        font-size: 15px;
    }
}

li.nav-item.item-132 a, li.nav-item.item-268 a, li.nav-item.item-306 a, li.nav-item.item-307 a, li.nav-item.item-310 a, li.nav-item.item-309 a, li.nav-item.item-326 a, li.nav-item.item-327 a {
    padding: 5px 11px;
}

body.site.option-com_rssaggregator.view-page.itemid-285.dir-rtl a.rss-card-archive-icon {
    position: absolute;
    bottom: -7px;
    right: 10px !important;
    left: unset !important;
}

body.rss-dark-mode .rss-page-view, body.rss-dark-mode .mod-rimagenda__strip {
    background: none;
}

body.rss-dark-mode .rss-page-view, body.rss-dark-mode .mod-rimagenda__strip a,body.rss-dark-mode .rss-page-view, body.rss-dark-mode .mod-rimagenda__strip span {
    color: #fff;
}

body.rss-dark-mode .rss-page-view, body.rss-dark-mode .rimnow-coverage {
    background: #1c1c1c !important;
}

body.rss-dark-mode .rss-page-view, body.rss-dark-mode .rimnow-coverage__list-title {
    color: #fff;
}

body.rss-dark-mode .rss-page-view, body.rss-dark-mode .rimnow-coverage::before,body.rss-dark-mode #article-rimnow::before {
    background: none !important;
}

.rssaggregator-page.rss-aggregator.rss-rtl.fr a.rss-card-fb-icon {
    float: right;
}
 .lastnews-rotator a:not(:first-child) {
    display: none;
}
@media (max-width: 767px) {
    .lastnews-rotator {
        position: relative;
        width: 120px;
        height: 38px;
        overflow: hidden;
    }

    .lastnews-rotator a {
        position: absolute;
        inset: 0;
        display: inline-flex !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(100%);
        animation: lastnews-mobile-rotate 20s infinite;
    }

    .lastnews-rotator a:nth-child(1) {
        animation-delay: 0s;
    }

    .lastnews-rotator a:nth-child(2) {
        animation-delay: 5s;
    }

    .lastnews-rotator a:nth-child(3) {
        animation-delay: 10s;
    }

    .lastnews-rotator a:nth-child(4) {
        animation-delay: 15s;
    }

    @keyframes lastnews-mobile-rotate {
        0% {
            opacity: 0;
            visibility: hidden;
            transform: translateY(100%);
        }

        3% {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        22% {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        25% {
            opacity: 0;
            visibility: hidden;
            transform: translateY(-100%);
        }

        100% {
            opacity: 0;
            visibility: hidden;
            transform: translateY(-100%);
        }
    }
}

ul.mod-menu.mod-list.nav.bottomsub {
    float: left;
    /* position: relative; */
    top: -38px;
    z-index: 100;
}

ul.mod-menu.mod-list.nav.bottomsub li {
    float: right;
    list-style: none;
    margin-right: 10px;
    margin-bottom: 8px;
}

ul.mod-menu.mod-list.nav.bottomsub li a {
    font-size: 12px;
    background: #085046;
    padding: 1px 5px;
    display: block;
    color: #f6fffe;
    font-weight: normal;
    /* font-size: 13.5px; */
    white-space: nowrap;
    /* background: rgba(255, 255, 255, .04); */
    border: 1px solid rgb(0 150 136 / 39%);
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease;
    border-radius: 5px;
}

.bottom li.nav-item.item-658, .bottom li.nav-item.item-660, .bottom li.nav-item.item-732,.bottom li.nav-item.item-798 {
    display: none;
}

@media (min-width: 414px) and (max-width: 767px) {
    ul.mod-menu.mod-list.nav.bottomsub {position:unset;margin: 23px 7px;clear: both;overflow: hidden;width: 100%;/* margin: 0 auto; */margin: 23px 7px;}
}

ul.mod-menu.mod-list.nav.bottomsub li a:hover {
    background: #009688;
}

.com-content-article__body li {
    font-size: 15px;
    line-height: 35px;
    margin-right: 11px;
}

.com-content-article__body a {
    color: #be0000;
    font-size: 13px;
    font-weight: bold;
    /* background: #009688; */
    /* display: block; */
    padding: 3px 6px;
}

.com-content-article__body p {
    font-size: 15px;
    line-height: 39px;
}

.com-content-article.item-page h1 {
    font-size: 22px;
    color: #016863;
}

.com-content-article__body li::marker {
    color: #005b57;
    font-size: 20px;
    
}
@media (max-width: 767px) {
    .com-content-article.item-page{
    padding: 14px;
}
                          }

body.rss-dark-mode .rss-card-header{
    background: #828282;
    border:none;
    border-radius:0
}

