
    :root {
        --text: #5A5654;
--links: #008A49;
--titles: #5A5654;
--page-background: #F6F8FB;
--highlight: #008A49;
--boxes-background: #FFFFFF;
--boxes-border: #008A49;
--section-titles: #FFFFFF;
--section-titles-background: #5A5654;
--header-background: #5A5654;
--header-links: #ffffff;
--footer-background: #1D1F22;
--footer-links: #ffffff;
    }
    
.language-switcher{
    position: absolute;
    left: 25px;
    top: 10px;
    z-index: 999;
}

.language-switcher a{color: #fff;}

:lang(ar-001) .language-switcher{
    left: unset;
    right: 25px;
}

:lang(ar-001) .language-switcher .langarabe,
:lang(en-GB) .language-switcher .langingles{color: #008A49 !important;}

.language-switcher a{
    text-transform: uppercase;
    display: block-table;
    padding: 5px;
}
:lang(en-GB) .onlyarabian{display: none;}
:lang(ar-001) .onlyenglish{display: none;}

/** Header **/

/* ─── Footer compacting & alignment ─── */
.footerpie2 {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

/* Remove extra gutter under the first row */
.footerpie2 .row.gy-4 {
  row-gap: 0.5rem !important;
}

/* Headings tighter above lists */
.footerpie2 h4 {
  margin-bottom: 0.25rem !important;
}

/* Lists flush with heading, no bullets */
.footerpie2 ul.footer-links {
  margin: 0 0 1rem 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Small gap between items */
.footerpie2 ul.footer-links li {
  margin-bottom: 0.25rem !important;
}

/* White links, no indent */
.footerpie2 ul.footer-links li a {
  color: #fff !important;
  display: block;
  text-decoration: none;
}

/* Bottom row spacing */
.ods-front-footer {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

 
.ods-front-header__menu-item-link--active,
.ods-catalog-card:hover,
.ods-catalog-card:hover:before{
    border-color: #D7B25D !important;
}

.ods-catalog-card:hover:before{
    background: #D7B25D !important;
}


.ods-front-header{
/*  background: #3A4833;*/
    background-image: url('https://testrodp.com/wp-content/uploads/2025/01/head.png') !important;
    background-size: 100% auto !important;
    background-position:   right 590px !important;
    border-bottom: 1px solid #3B4F4F !important;
}

.home-header{
    background-size: 100% auto !important;
    background-position: right bottom !important;
}

/***************************** Fonts *****************************/

/* English fonts */

@font-face {
    font-family: 'Lato';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/Lato-Light.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/Lato-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/Lato-Regular.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/Lato-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/Oswald-Medium.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/Oswald-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/Lato-Bold.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/Lato-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/Lato-BoldItalic.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/Lato-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/Oswald-Regular.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/Oswald-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/Oswald-Bold.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/Oswald-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/Oswald-Light.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/Oswald-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Arabian fonts */

@font-face {
    font-family: 'IBMPlex';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/IBMPlexSansArabic-Thin.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/IBMPlexSansArabic-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBMPlex';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/IBMPlexSansArabic-ExtraLight.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/IBMPlexSansArabic-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBMPlex';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/IBMPlexSansArabic-Light.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/IBMPlexSansArabic-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'IBMPlex';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/IBMPlexSansArabic-Regular.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/IBMPlexSansArabic-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'IBMPlex';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/IBMPlexSansArabic-Medium.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/IBMPlexSansArabic-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'IBMPlex';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/IBMPlexSansArabic-SemiBold.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/IBMPlexSansArabic-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBMPlex';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/IBMPlexSansArabic-Bold.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/IBMPlexSansArabic-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}




@font-face {
    font-family: 'RB';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/RB-Bold.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/RB-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RB';
    src: url('https://opendata.rcrc.gov.sa/assets/theme_font/RB-Regular.woff2') format('woff2'),
        url('https://opendata.rcrc.gov.sa/assets/theme_font/RB-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Apply */

h1:lang(en-GB),h2:lang(en-GB),h3:lang(en-GB){font-family:'RB','Oswald', Times;font-weight: 600;}
p:lang(en-GB),li:lang(en-GB){font-family: 'Lato', Times;}

h1:lang(ar-001),h2:lang(ar-001),h3:lang(ar-001){font-family:'RB', Times;font-weight: 600;}
p:lang(ar-001), div:lang(ar-001),li:lang(ar-001){font-family: 'IBMPlex', Times;}

h1 em, h2 em, h3 em, h4 em{
    font-style: normal;
    display: block;
}

.ods-front-header{ /* header style */
    height: 125px;
    padding-top: 50px !important;

}

.ods-front-header__portal-brand{ 
/*    pointer-events: none; 
    cursor: default;*/
    margin-top: -10px;

}

.ods-front-header__portal-brand img{ /* logo size */
    width: 200px;
    height: 57px !important;
    margin-top: -9px;
}

/* main logo */

.ods-front-header__portal-brand__text:lang(en-GB){
    line-height: 60px;
    font-size: 32px;
    font-family: Oswald, Times;
    font-weight: lighter;
}


.ods-front-header__portal-brand__text:lang(ar-001){
    line-height: 60px;
    font-size: 18px;
    font-family: RB;
    font-weight: normal;
}



/* main menu */

.ods-front-header__menu{float:right;margin-top: 15px;}
:lang(ar-001) .ods-front-header__menu{float: left;}

.ods-front-header__menu-item-link{
    font-size: 14px;
    font-weight: 300;
    line-height: 35px;
    text-transform: uppercase;
    opacity: 0.8;
    border-radius: 3px;
}

.ods-front-header__menu li:last-child a{ /* subscribe button */
    background: #008A49;
    border-radius:30px;
    color: #fff !important;
    text-transform: none !important;
}



/* developer menu  */

.ods-front-header__management-menu{
    margin-top: -10px;
}

/* Footer */

.ods-front-footer .onlyenglish,
.ods-front-footer .onlyarabian{color: #fff !important;}

/** Footerpie **/

.ods-front-footer{
    background-color: #1D1F22 !important;
}

.footerpie{
    padding-bottom: 60px;
    background: #1D1F22;
    margin-bottom: 40px;
    margin-top: 0;
}

.footerpie *{
    color: #fff;
    border-color: #fff:
    padding-bottom: 0 !important;
}

.footerpie .content-card-button{
    color: #fff !important;
    font-size: 20px;
    margin-left: 20px;
    border-color: #fff !important;
}

/* Footerpie 2 */

.footerpie2{
    padding: 70px 0 !important;
    background-size: 100% auto;
    background-image: url('https://testrodp.com/wp-content/uploads/2025/01/RCRC-Shape.svg') !important;
    background-repeat: repeat-x !important;
    background-color: #1D1F22 !important;
}

.footerpie2 h4 {
  margin-bottom: 0.5rem;
}

.footerpie2 .footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0; /* no left-indent so items align under heading */
}

.footerpie2 .footer-links li {
  margin-bottom: 0.25rem;
}

.footerpie2 .footer-links li a {
  color: #fff !important;
  text-decoration: none;
}

.footerpie2 .footer-links li a:hover {
  text-decoration: underline;
}

/* ensure lists sit flush under their h4 */
.footerpie2 .footer-links {
  list-style: none;
  margin: 0 0 1rem 0;   /* no left indent */
  padding: 0;
}
.footerpie2 .footer-links li {
  margin-bottom: 0.25rem;
}
.footerpie2 .footer-links li a {
  color: #fff !important;
  text-decoration: none;
  display: block;       /* force vertical stacking */
}
.footerpie2 .footer-links li a:hover {
  text-decoration: underline;
}

/* tighten up text and spacing in the dark bar */
.ods-front-footer {
  font-size: 0.9rem;
}
.ods-front-footer a {
  color: #fff !important;
  text-decoration: none;
}
.ods-front-footer a:hover {
  text-decoration: underline;
}

/* ─── FooterPie2 Top Row ───────────────────── */
.footerpie2 .row.footer-links {
  padding: 8px 0;
}
.footerpie2 h4 {
  color: #fff;
  margin-bottom: 0.5rem;
}
.footerpie2 .footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1rem; /* indent under heading */
}
.footerpie2 .footer-links-list li {
  margin-bottom: 0.25rem;
}
.footerpie2 .footer-links-list li a {
  color: #fff;
  text-decoration: none;
}
.footerpie2 .footer-links-list li a:hover {
  text-decoration: underline;
}

/* ─── ODS Front Footer Bottom Bar ──────────── */
.ods-front-footer {
  padding: 8px 0;
  text-align: center;
  font-size: 0.85rem;
}
.ods-front-footer .onlyenglish,
.ods-front-footer .onlyarabian {
  display: block;
  color: #fff;
  margin: 2px 0;
}
.ods-front-footer .footer-bottom-links {
  margin: 4px 0;
}
.ods-front-footer .footer-bottom-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 0.5rem;
}
.ods-front-footer .footer-bottom-links a:hover {
  text-decoration: underline;
}
.ods-front-footer .footer-logo {
  margin-top: 4px;
}

/* ─── FooterPie2 Top Row: reduce padding/margins ───────────────────── */
.footerpie2 .container {
  padding-top: 5px;
  padding-bottom: 5px;
}
.footerpie2 .row.gx-4 {
  row-gap: 4px;     /* less vertical gutter */
  column-gap: 8px;  /* slightly tighter horizontal spacing */
}
.footerpie2 h4 {
  margin-bottom: 4px;  /* shrink space under headings */
  font-size: 1rem;
}
.footerpie2 .footer-links-list {
  margin: 0 0 4px 1rem;  /* only a small indent */
}
.footerpie2 .footer-links-list li {
  margin-bottom: 2px;    /* very tight line spacing */
}
.footerpie2 .footer-links-list li a {
  line-height: 1.2;      /* tighter line height */
}

/* ─── ODS Front Footer Bottom Bar: compact all elements ──────────── */
.ods-front-footer {
  padding: 4px 0;        /* less top/bottom padding */
  font-size: 0.8rem;     /* slightly smaller text */
  line-height: 1.2;
}
.ods-front-footer .onlyenglish,
.ods-front-footer .onlyarabian {
  display: inline-block;
  margin: 0 6px;         /* small horizontal separation */
}
.ods-front-footer .footer-bottom-links a {
  margin: 0 6px;         /* tighten link spacing */
  font-size: 0.8rem;
}
.ods-front-footer .footer-logo {
  display: inline-block;
  margin-left: 6px;
}

/* Top row – remove nearly all padding */
.footerpie2 .container {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

/* Tighten the grid gaps */
.footerpie2 .row.gx-4 {
  row-gap: 2px !important;
  column-gap: 4px !important;
}

/* Shrink heading–to–list gap */
.footerpie2 h4 {
  margin-bottom: 2px !important;
  font-size: 0.95rem;
}

/* Reduce list indent and spacing */
.footerpie2 .footer-links-list {
  margin: 0 0 2px 0.75rem !important;
}
.footerpie2 .footer-links-list li {
  margin-bottom: 1px !important;
}

/* Bottom bar – pull up and tighten */
.ods-front-footer {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  line-height: 1.1 !important;
  font-size: 0.75rem !important;
}

/* Inline‐block elements in bottom bar very close */
.ods-front-footer .onlyenglish,
.ods-front-footer .onlyarabian,
.ods-front-footer .footer-bottom-links a,
.ods-front-footer .footer-logo {
  margin: 0 4px !important;
  padding: 0 !important;
}

/* Remove extra breaks if any */
.ods-front-footer p {
  margin: 0 !important;
  padding: 0 !important;
}
/* ─── New tweaks to mimic official spacing ─── */
.footer-logo-stack img { height:auto; }

.ods-front-footer .footer-bottom-links a {
  font-weight:600;           /* caps look более «уверенно» */
  letter-spacing:0.2px;
}

.ods-front-footer .footer-bottom-links {
  display:inline-block;
  margin-top:2px;
}

@media (max-width:576px){
  .ods-front-footer .footer-bottom-links {
     display:block;
     margin-top:4px;
  }
}

/* полностью убрать отступы в списках колонок */
.footerpie2 .footer-links-list{margin:0;padding:0;}
/* крупнее и жирнее нижнюю строку */
.ods-front-footer{font-size:1rem;font-weight:600;letter-spacing:.2px;}
/* сделать иконки более читаемыми на тёмном фоне */
.footer-social img{filter:invert(1);}

/* ─── FOOTER LAYOUT & COLOR FIXES ───────────────────────────── */

/* Container for the four footer columns */
.footer-top{
  display:flex;
  gap:2rem;          /* space between columns            */
  flex-wrap:wrap;    /* stack on small screens            */
}

/* 1 – logo/social column: flush left, fixed width, gap to next col */
.footer-logo-block{
  padding-left:0;               /* hug viewport edge         */
  flex:0 0 350px;               /* exactly 350 px wide       */
  max-width:350px;
}

/* social-icon strip: width = content, never stretches wider        */
.footer-logo-social{
  margin-top:32px;
  display:flex;
  gap:18px;
  justify-content:flex-start;   /* removes extra stretch     */
  width:max-content;            /* equals icon row’s width   */
}

/* 2 & 3 – list columns grow to fill remaining space                */
.footer-col-grow{
  flex:1 1 240px;               /* min 240 px, then expand   */
}

/* 4 – “Contact Us” box pinned right                                */
.footer-contact-box{
  flex:0 0 240px;               /* min 240 px                */
  margin-left:auto;             /* pushes to extreme right   */
}

/* ensure white links even if theme overrides                       */
.footer-top a{color:#fff !important; text-decoration:none;}
.footer-top a:hover{text-decoration:underline;}

/* keep all four columns on one line ≥ 992 px                       */
@media (min-width:992px){
  .footer-top{flex-wrap:nowrap;}
}

/* ── keep list text hard-left under its heading ──────────── */
.footer-col-grow{
  text-align:left;          /* ensure left alignment       */
}
.footer-col-grow ul{
  margin-left:0;            /* kill default indent         */
  padding-left:0;
}
.footer-col-grow li{
  margin-left:0;            /* no offset for list items    */
}

/* ─── PATCH:  top-align every footer column ──────────────── */
.footer-top{
  align-items:flex-start;        /* columns share same top edge   */
}

.footer-top > div{               /* each direct column            */
  display:flex;                  /* behave like a vertical stack  */
  flex-direction:column;
}

.footer-top h4{                  /* kill any built-in top margin  */
  margin-top:0;
}

/* gold link inside the Contact-Us box */
.footer-contact-box a{
  color:#D7B25D !important;
}

/* hide both lines by default */
.footer-bottom-block { display:none; }

/* showEnglish when page lang = en-GB  */
:lang(en-GB)  .footer-bottom-block.en { display:flex; }

/* showArabic when page lang = ar-001 */
:lang(ar-001) .footer-bottom-block.ar { display:flex; }

/* keep alignment tidy */
.footer-bottom-block{
  justify-content:space-between;
  align-items:center;
  width:100%;
}
/* --- Supervised text styling --- */
.ods-front-header__supervised {
  display: inline-block;
  margin-inline-start: 20px;
  vertical-align: middle;
}

.ods-front-header__supervised a {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;                 /* default header color */
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.25s ease;
}

/* ✨ Gold on hover */
.ods-front-header__supervised a:hover {
  color: #bf9447;
  text-decoration: none;
}

/* --- Responsive behavior --- */
@media (max-width: 1000px) {
  .ods-front-header__supervised {
    display: none;
  }
  .ods-front-header__supervised.mobile-only {
    display: block;
    text-align: center;
    margin-top: 10px;
  }
  .ods-front-header__supervised.mobile-only a {
    font-size: 16px;
    color: #ffffff;
  }
  .ods-front-header__supervised.mobile-only a:hover {
    color: #bf9447;
  }
}

/* Показ/скрытие по языку страницы */
html[lang^="ar"], html[dir="rtl"] { direction: rtl; }
html[lang^="ar"] .ods-front-header__supervised.en,
html[dir="rtl"]   .ods-front-header__supervised.en { display: none !important; }

html[lang^="ar"] .ods-front-header__supervised.ar,
html[dir="rtl"]   .ods-front-header__supervised.ar { display: inline-flex !important; }

html:not([lang^="ar"]):not([dir="rtl"]) .ods-front-header__supervised.en { display: inline-flex !important; }
html:not([lang^="ar"]):not([dir="rtl"]) .ods-front-header__supervised.ar { display: none !important; }

/* Визуальный стиль под сайт */
.ods-front-header__supervised {
  align-items: center;
  line-height: 1;
  margin-left: 16px;             /* отступ после логотипа */
  font-family: 'RB', sans-serif; /* как заголовки на сайте */
  font-weight: 600;
  font-size: 18px;               /* чуть крупнее по просьбе */
}

.ods-front-header__supervised a {
  color: #5A5654;                /* базовый текстовый цвет сайта */
  text-decoration: none;
  transition: color .2s ease;
}
.ods-front-header__supervised a:hover,
.ods-front-header__supervised a:focus {
  color: #bf9447;                /* только цвет при наведении */
}

/* RTL: зеркалим внешний отступ, чтобы текст шёл после логотипа */
html[dir="rtl"] .ods-front-header__supervised {
  margin-left: 0;
  margin-right: 16px;
}

/* Show only the correct language version */
html[lang^="ar"], html[dir="rtl"] { direction: rtl; }

html[lang^="ar"] .ods-front-header__supervised.en,
html[dir="rtl"]   .ods-front-header__supervised.en { display: none !important; }

html[lang^="ar"] .ods-front-header__supervised.ar,
html[dir="rtl"]   .ods-front-header__supervised.ar { display: inline-flex !important; }

html:not([lang^="ar"]):not([dir="rtl"]) .ods-front-header__supervised.en { display: inline-flex !important; }
html:not([lang^="ar"]):not([dir="rtl"]) .ods-front-header__supervised.ar { display: none !important; }

/* Match site header style (white text, gold hover) */
.ods-front-header__supervised {
  align-items: center;
  margin-left: 16px;                 /* space after logo */
  font-family: 'RB', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
}

.ods-front-header__supervised a {
  color: #fff;                       /* white text */
  text-decoration: none;
  transition: color .2s ease;
}

.ods-front-header__supervised a:hover,
.ods-front-header__supervised a:focus {
  color: #bf9447;                    /* gold on hover */
}

/* Mirror for Arabic layout */
html[dir="rtl"] .ods-front-header__supervised {
  margin-left: 0;
  margin-right: 16px;
}


/* Align the 'Open Data' span perfectly with the logo */
.ods-front-header__supervised {
  display: flex;
  align-items: center;
  margin-left: 16px;
  font-family: 'RB', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
}
/* 'Open Data' / 'البيانات المفتوحة' text styling */
.ods-front-header__supervised {
  display: flex;
  align-items: flex-start;      /* allows text to be slightly higher than logo */
  position: relative;
  top: -4px;                    /* lift text upward slightly */
  margin-left: 18px;
  font-family: 'RB', sans-serif;
  font-weight: 700;
  font-size: 22px;              /* larger size */
  line-height: 1.1;
}

/* Show only the correct language version */
html[lang^="ar"], html[dir="rtl"] {
  direction: rtl;
}

html[lang^="ar"] .en,
html[dir="rtl"]   .en {
  display: none !important;
}

html[lang^="ar"] .ar,
html[dir="rtl"]   .ar {
  display: inline-flex !important;
}

html:not([lang^="ar"]):not([dir="rtl"]) .en {
  display: inline-flex !important;
}
html:not([lang^="ar"]):not([dir="rtl"]) .ar {
  display: none !important;
}

/* Align everything on one line, vertically centered */
.ods-front-header > ods-responsive-menu-collapsible {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 'Open Data' / 'البيانات المفتوحة' text style */
.ods-front-header__supervised {
  display: flex;
  align-items: flex-start;
  position: relative;
  top: -4px;
  margin-left: 18px;
  font-family: 'RB', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
}

html[dir="rtl"] .ods-front-header__supervised {
  margin-left: 0;
  margin-right: 18px;
}

.ods-front-header__supervised a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.ods-front-header__supervised a:hover {
  color: #bf9447; /* gold hover */
}


/* Position adjustment for 'Open Data' / 'البيانات المفتوحة' text */
.ods-front-header__supervised {
  display: flex;
  align-items: flex-start;
  position: relative;
  top: -12px;                   /* lift higher than before */
  margin-left: 18px;
  font-family: 'RB', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
}

html[dir="rtl"] .ods-front-header__supervised {
  margin-left: 0;
  margin-right: 18px;
}

/* Color + hover */
.ods-front-header__supervised a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.ods-front-header__supervised a:hover {
  color: #bf9447;
}
 