/*
  Comunidad Marroquí en España · Cabecera árabe consolidada v37
  FASE: escritorio árabe solamente.
  REGLA: no modifica ni depende de CSS/JS de cabecera españoles.
  Geometría copiada de la portada árabe aprobada (arabe.html):
  111/1920 franja superior · 166/1920 identidad/cuenta · 89/1920 navegación.
*/
@import url("cme-language-policy-v36.css?v=20260911-solid");

html{scrollbar-gutter:stable}
body{overflow-x:hidden}
.cme-unified-header,.cme-unified-header *{box-sizing:border-box}

@media (min-width:901px){
  body{margin:0!important}
  .cme-unified-header{
    display:block!important;
    width:100%;
    margin:0;
    padding:0;
    background:#fff;
    color:#073f32;
    font-family:Tahoma,"Segoe UI",Arial,sans-serif;
    direction:rtl;
  }

  /* 1 · FRANJA ROJA: recorte exacto de la portada aprobada. El texto, icono y
     botón cerrado ya forman parte de esta pieza; el botón HTML solo aporta interacción. */
  .cme-u-top{
    position:relative;
    width:100%;
    height:5.78125vw; /* 111 / 1920 */
    background:#913633 url("assets/cme-ar-top-approved-v37.png") center/100% 100% no-repeat;
    color:#fff;
  }
  .cme-u-top-inner{position:relative;width:100%;height:100%;z-index:1}
  .cme-u-info{display:none!important}
  .cme-u-lang{
    position:absolute;
    left:3.15%;
    right:auto;
    top:24.81%;
    width:9.8%;
    height:55.46%;
    z-index:3000;
    direction:ltr;
  }
  .cme-u-lang-btn{
    display:block!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:15px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:transparent!important;
    font-size:0!important;
    cursor:pointer;
    transition:filter .14s ease,transform .14s ease!important;
  }
  .cme-u-lang-btn:hover{filter:brightness(.94) saturate(1.03)!important}
  .cme-u-lang-btn:active{filter:brightness(.88) saturate(1.05)!important;transform:translateY(1px)}
  .cme-u-lang-btn:focus-visible{outline:3px solid #f4b928!important;outline-offset:2px!important}
  .cme-u-lang-menu{
    display:none;
    position:absolute;
    left:0;
    right:auto;
    top:105%;
    width:220px;
    min-width:220px;
    margin:0;
    padding:0;
    overflow:hidden;
    background:#fff;
    border:1px solid #d7dfda;
    border-radius:10px;
    box-shadow:0 10px 28px rgba(0,0,0,.18);
    z-index:4000;
    direction:ltr;
    text-align:left;
  }
  .cme-u-lang.open .cme-u-lang-menu{display:block}
  .cme-u-lang-menu a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    width:100%;
    padding:11px 14px 11px 16px;
    margin:0;
    border:0;
    background:#fff;
    color:#073f32;
    text-decoration:none;
    font:600 15px/1.25 Arial,sans-serif;
    white-space:nowrap;
    direction:ltr;
    text-align:left;
  }
  .cme-u-lang-menu a:hover,.cme-u-lang-menu a:focus{background:#edf6f2}
  .cme-u-lang-menu a[aria-current="page"]{background:#e5f2ec;font-weight:800}
  .cme-u-lang-menu a[hidden],
  .cme-u-lang-menu a[aria-hidden="true"],
  .cme-u-lang-menu .cme-lang-label[dir="rtl"]{direction:rtl;text-align:right}
  .cme-u-lang-menu .cme-lang-flag{
    display:flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:24px;
    flex:0 0 36px;
    overflow:hidden;
    border-radius:3px;
    box-shadow:0 1px 3px rgba(0,0,0,.18);
  }
  .cme-u-lang-menu .cme-lang-flag img{display:block;width:36px;height:24px;object-fit:cover}

  /* 2 · IDENTIDAD + CUENTA: fondo exacto de la portada; botones reales encima. */
  .cme-u-brandrow{
    position:relative;
    width:100%;
    height:8.645833vw; /* 166 / 1920 */
    margin:0;
    padding:0;
    background:#faf8f5 url("assets/cme-ar-brand-approved-v37.png") center/100% 100% no-repeat;
    border:0;
  }
  .cme-u-brand{
    position:absolute;
    left:56.0%;
    right:auto;
    top:1.45%;
    width:40.5%;
    height:93%;
    display:block;
    background:none!important;
    text-decoration:none;
  }
  .cme-u-brand::before,.cme-u-brand::after,.cme-u-brand img,.cme-u-name{display:none!important;content:none!important}
  .cme-u-account{
    position:absolute;
    /* Misma referencia que Inicio: Participar arranca bajo el selector y Perfil/Entrar queda a su derecha. */
    left:3.15%;
    right:auto;
    top:2.40%;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:.55vw!important;
    direction:rtl;
    z-index:700;
  }
  .cme-u-login,.cme-u-join{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    height:2.40vw!important;
    margin:0!important;
    border-radius:10px!important;
    font:800 clamp(13px,1.02vw,18px)/1 Tahoma,"Segoe UI",Arial,sans-serif!important;
    text-decoration:none!important;
    white-space:nowrap!important;
    transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
  }
  .cme-u-login{
    width:6.65vw!important;
    padding:0 8px!important;
    color:#07533f!important;
    background:transparent!important;
    border:1px solid transparent!important;
    box-shadow:none!important;
  }
  .cme-u-login:hover{background:#edf6f2!important;border-color:#d7e6df!important;transform:translateY(-1px)}
  .cme-u-login svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .cme-u-join{
    width:9.55vw!important;
    padding:0 12px!important;
    color:#fff!important;
    background:#087458!important;
    border:1px solid #07684f!important;
    box-shadow:0 4px 10px rgba(7,63,49,.14)!important;
  }
  .cme-u-join:hover{background:#065f49!important;border-color:#065f49!important;box-shadow:0 6px 14px rgba(7,63,49,.20)!important;transform:translateY(-1px)}
  .cme-u-join svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

  /* Perfil conectado: ocupa exactamente el hueco de Entrar; Participar no se reconstruye. */
  .cme-v36-profile-wrap{position:relative;width:6.65vw;height:2.40vw;direction:rtl;overflow:visible}
  .cme-v36-profile-trigger{
    width:100%;height:100%;display:flex;align-items:center;justify-content:center;gap:6px;
    padding:0 7px;border:1px solid transparent;border-radius:10px;background:transparent;color:#07533f;
    font:800 clamp(13px,1.02vw,18px)/1 Tahoma,"Segoe UI",Arial,sans-serif;cursor:pointer;
    box-sizing:border-box;white-space:nowrap;direction:rtl;
  }
  .cme-v36-profile-trigger:hover{background:#edf6f2;border-color:#d7e6df}
  .cme-v36-profile-avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;overflow:hidden;background:#17614f;color:#fff;font:800 12px/1 Arial,sans-serif;flex:0 0 28px}
  .cme-v36-profile-avatar img{width:100%;height:100%;object-fit:cover}
  .cme-v36-profile-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
  .cme-v36-profile-caret{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;flex:0 0 15px;color:#07533f}
  .cme-v36-profile-caret svg{display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round;transition:transform .14s ease}
  .cme-v36-profile-wrap.open .cme-v36-profile-caret svg,.cme-v36-index-profile-wrap.open .cme-v36-profile-caret svg{transform:rotate(180deg)}
  .cme-v36-profile-trigger:focus-visible,.cme-v36-index-profile-trigger:focus-visible{outline:3px solid #f4b928;outline-offset:2px}
  .cme-v36-profile-menu{
    display:none;position:absolute;left:0;right:auto;top:calc(100% + 8px);z-index:5000;min-width:205px;
    background:#fff;border:1px solid #d7dfda;border-radius:10px;box-shadow:0 10px 28px rgba(0,0,0,.18);overflow:hidden;
    direction:rtl;text-align:right;
  }
  .cme-v36-profile-wrap.open .cme-v36-profile-menu,.cme-v36-index-profile-wrap.open .cme-v36-profile-menu{display:block}
  .cme-v36-profile-menu a,.cme-v36-profile-menu button{
    width:100%;display:block;padding:12px 15px;border:0;background:#fff;color:#073f32;text-align:right;text-decoration:none;
    font:800 14px/1.35 Tahoma,"Segoe UI",Arial,sans-serif;cursor:pointer;
  }
  .cme-v36-profile-menu a:hover,.cme-v36-profile-menu button:hover{background:#edf6f2}

  /* A18 · NAVEGACIÓN ÁRABE REFINADA: mismo lenguaje visual que ES, respetando RTL. */
  .cme-u-nav{
    position:relative;
    width:100%;
    height:4.635417vw;
    margin:0;
    padding:0;
    display:block;
    background:#fbfaf7;
    border-top:1px solid #e6e0d7;
    border-bottom:1px solid #7f9c91;
    direction:rtl;
  }
  .cme-u-nav a{
    position:absolute;
    top:4.27%;
    height:93.44%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:clamp(5px,.47vw,9px);
    padding:0 .35em;
    margin:0!important;
    border:1px solid #e5dfd5;
    border-radius:11px;
    background:#fffdf8;
    color:#073f32;
    text-decoration:none;
    font:780 clamp(12px,1.02vw,20px)/1 Tahoma,"Segoe UI",Arial,sans-serif;
    white-space:nowrap;
    box-shadow:0 2px 7px rgba(24,54,45,.07);
    transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease,transform .15s ease;
  }
  .cme-u-nav a:nth-child(1){left:87.5011%;width:8.8989%}
  .cme-u-nav a:nth-child(2){left:75.5719%;width:11.6292%}
  .cme-u-nav a:nth-child(3){left:66.9798%;width:8.2921%}
  .cme-u-nav a:nth-child(4){left:59.0955%;width:7.5843%}
  .cme-u-nav a:nth-child(5){left:50.7056%;width:8.0899%}
  .cme-u-nav a:nth-child(6){left:37.2596%;width:13.1461%}
  .cme-u-nav a:nth-child(7){left:29.0719%;width:7.8876%}
  .cme-u-nav a:nth-child(8){left:20.8843%;width:7.8876%}
  .cme-u-nav a:nth-child(9){left:12.4944%;width:8.0899%}
  .cme-u-nav a:nth-child(10){left:3.7000%;width:8.4944%}
  .cme-u-nav a:hover{background:#edf5f1;color:#064d3c;border-color:#b9d2c7;box-shadow:0 5px 13px rgba(7,63,49,.12);transform:translateY(-1px)}
  .cme-u-nav a:active{background:#0a6750;color:#fff;border-color:#0a6750;box-shadow:0 1px 4px rgba(7,63,49,.16);transform:translateY(1px)}
  .cme-u-nav a:focus-visible{outline:3px solid #e9b942;outline-offset:2px}
  .cme-u-nav a.active{background:#075f49;color:#fff;border-color:#075f49;box-shadow:0 4px 11px rgba(7,63,49,.16);transform:none}
  .cme-u-nav a.pro{color:#9a6513;border-color:#d8ad5b;background:#fff9ee;box-shadow:0 2px 7px rgba(137,91,16,.07)}
  .cme-u-nav a.pro:hover{background:#f7edd9;color:#87570f;border-color:#c99538;box-shadow:0 5px 13px rgba(137,91,16,.12)}
  .cme-u-nav a.pro:active,.cme-u-nav a.pro.active{background:#a56f17;color:#fff;border-color:#a56f17;box-shadow:0 2px 7px rgba(137,91,16,.18)}
  .cme-u-nav a:nth-child(7){color:#9a6513;border-color:#dfbb72;background:#fffaf1}
  .cme-u-nav a:nth-child(7):hover{background:#f8efdc;color:#87570f;border-color:#cda04b}
  .cme-u-nav a:nth-child(7):active,.cme-u-nav a:nth-child(7).active{background:#a97522;color:#fff;border-color:#a97522;box-shadow:0 2px 7px rgba(137,91,16,.18)}
  .cme-u-nav a.support{background:#b82034;color:#fff;border-color:#b82034;box-shadow:0 3px 9px rgba(130,21,39,.15)}
  .cme-u-nav a.support:hover{background:#a51b2f;color:#fff;border-color:#a51b2f;box-shadow:0 5px 13px rgba(130,21,39,.18)}
  .cme-u-nav a.support:active,.cme-u-nav a.support.active{background:#8f1728;color:#fff;border-color:#8f1728;box-shadow:0 1px 4px rgba(130,21,39,.20)}
  .cme-u-nav svg{width:clamp(21px,1.55vw,30px);height:clamp(21px,1.55vw,30px);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}

  /* Sustituye únicamente cabeceras antiguas de las páginas árabes en escritorio. */
  body>.top,body>.nav,body>.brandbar{display:none!important}

  /* Hero de secciones: mantiene la base visual árabe ya aprobada. */
  main>.hero,main>section.hero,main>.page-hero,main>.section-hero,main>.intro-hero,main>.banner,main>.hero-section{
    position:relative!important;overflow:hidden!important;isolation:isolate!important;
    background:linear-gradient(90deg,#285f54 0%,#4f8579 100%)!important;
  }
  main>.hero::before,main>section.hero::before,main>.page-hero::before,main>.section-hero::before,main>.intro-hero::before,main>.banner::before,main>.hero-section::before{
    content:""!important;position:absolute!important;inset:0!important;
    background-image:url("assets/cme-zellige-secciones-v36.png")!important;background-repeat:repeat!important;
    background-size:245px 245px!important;background-position:left top!important;opacity:.52!important;mix-blend-mode:multiply!important;
    pointer-events:none!important;z-index:0!important;
  }
  main>.hero::after,main>section.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,58,47,.26),rgba(19,85,69,.08));pointer-events:none;z-index:1}
  main>.hero>*,main>section.hero>*,main>.page-hero>*,main>.section-hero>*,main>.intro-hero>*,main>.banner>*,main>.hero-section>*{position:relative!important;z-index:2!important}
}

/* ACCIONES DE CUENTA V2 — ÁRABE, ESCRITORIO
   Misma geometría que ES. Conserva el orden de lectura de derecha a izquierda. */
@media (min-width:901px){
  .cme-u-account{align-items:center!important;direction:rtl!important}
  .cme-u-join{
    width:9.55vw!important;min-width:150px!important;height:2.90vw!important;min-height:50px!important;
    box-sizing:border-box!important;transform:none!important;
  }
  .cme-u-join:hover,.cme-u-join:active{transform:none!important}
  .cme-v36-profile-wrap{
    width:14.80vw!important;max-width:310px!important;min-width:190px!important;
    height:3.26vw!important;min-height:54px!important;flex:0 0 14.80vw!important;
    direction:rtl!important;box-sizing:border-box!important;overflow:visible!important;
  }
  .cme-v36-profile-trigger{
    width:100%!important;height:100%!important;display:flex!important;align-items:center!important;
    justify-content:flex-start!important;gap:10px!important;padding:6px 10px!important;
    box-sizing:border-box!important;border:1px solid #d7e6df!important;border-radius:12px!important;
    background:#fff!important;color:#07533f!important;box-shadow:0 4px 11px rgba(7,63,49,.06)!important;
    direction:rtl!important;transform:none!important;
  }
  .cme-v36-profile-trigger:hover,.cme-v36-profile-trigger:active{transform:none!important}
  .cme-v36-profile-avatar{width:34px!important;height:34px!important;flex:0 0 34px!important}
  .cme-v36-profile-name{text-align:right!important}
}

/* ACCIONES V3 FINAL — mismas medidas que ES, inmóviles y RTL. */
@media (min-width:901px){
  .cme-u-account{position:absolute!important;left:3.15%!important;right:auto!important;top:26px!important;height:56px!important;gap:11px!important;align-items:center!important;direction:rtl!important}
  .cme-u-join{width:182px!important;height:56px!important;min-width:182px!important;min-height:56px!important;flex:0 0 182px!important;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease!important;transform:none!important}
  .cme-u-join:hover,.cme-u-join:active{transform:none!important}
  .cme-v36-profile-wrap{width:280px!important;height:56px!important;min-width:280px!important;min-height:56px!important;max-width:280px!important;flex:0 0 280px!important;direction:rtl!important}
  .cme-v36-profile-trigger{height:56px!important;min-height:56px!important;transform:none!important;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease!important}
  .cme-v36-profile-trigger:hover,.cme-v36-profile-trigger:active{transform:none!important}
  .cme-v36-profile-text{display:block!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;direction:rtl!important;text-align:right!important}
  .cme-v36-profile-name,.cme-v36-profile-sub{display:block!important;width:auto!important;max-width:100%!important;margin-inline-start:0!important;margin-inline-end:auto!important;text-align:right!important;direction:rtl!important}
  .cme-v36-index-text{width:100%!important;min-width:0!important;align-items:stretch!important;text-align:right!important}
  .cme-v36-index-name,.cme-v36-index-sub{display:block!important;width:100%!important;text-align:right!important;direction:rtl!important}
}

/* PERFIL ÁRABE V5 — el texto interior empieza por la derecha igual que Inicio. */
@media (min-width:901px){
  .cme-v36-profile-trigger .cme-v36-profile-text{
    display:block!important;
    flex:1 1 auto!important;
    min-width:0!important;
    width:auto!important;
    direction:rtl!important;
    text-align:right!important;
  }
  .cme-v36-profile-trigger .cme-v36-profile-name,
  .cme-v36-profile-trigger .cme-v36-profile-sub{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    margin-inline-start:0!important;
    margin-inline-end:auto!important;
    text-align:right!important;
    direction:rtl!important;
  }
}

/* ACCIONES V3 — mismas medidas que ES, inmóviles y con orden RTL. */
@media (min-width:901px){
  .cme-u-account{gap:11px!important;align-items:center!important;direction:rtl!important}
  .cme-u-join{width:182px!important;height:56px!important;min-width:182px!important;min-height:56px!important;flex:0 0 182px!important;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease!important;transform:none!important}
  .cme-u-join:hover,.cme-u-join:active{transform:none!important}
  .cme-v36-profile-wrap{width:280px!important;height:56px!important;min-width:280px!important;min-height:56px!important;max-width:280px!important;flex:0 0 280px!important;direction:rtl!important}
  .cme-v36-profile-trigger{height:56px!important;min-height:56px!important;transform:none!important;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease!important}
  .cme-v36-profile-trigger:hover,.cme-v36-profile-trigger:active{transform:none!important}
  .cme-v36-profile-text{display:block!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;direction:rtl!important;text-align:right!important}
  .cme-v36-profile-name,.cme-v36-profile-sub{display:block!important;width:auto!important;max-width:100%!important;margin-inline-start:0!important;margin-inline-end:auto!important;text-align:right!important;direction:rtl!important}
  .cme-v36-index-text{width:100%!important;min-width:0!important;align-items:stretch!important;text-align:right!important}
  .cme-v36-index-name,.cme-v36-index-sub{display:block!important;width:100%!important;text-align:right!important;direction:rtl!important}
}

/* Móvil queda expresamente fuera de esta fase. */
@media (max-width:900px){.cme-unified-header{display:none!important}}


/* CME-AR-INTERIOR-LANG-LAYER-20260912
   El desplegable de idiomas debe abrir por encima de Perfil/Participar. */
@media (min-width:901px){
  .cme-unified-header .cme-u-top{
    z-index:9000!important;
    overflow:visible!important;
  }
  .cme-unified-header .cme-u-lang{z-index:9200!important}
  .cme-unified-header .cme-u-lang-menu{z-index:9300!important}
  .cme-unified-header .cme-u-brandrow{z-index:10!important}
  .cme-unified-header .cme-u-nav{z-index:1!important}
}

/* A17 — selector directo ES | AR para cabeceras árabes interiores. */
@media (min-width:901px){
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang{
    left:3.15%!important;right:auto!important;top:21.5%!important;
    width:13.6%!important;height:62%!important;z-index:9200!important;direction:ltr!important;
  }
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-btn{display:none!important}
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu,
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang.open .cme-u-lang-menu{
    display:flex!important;position:static!important;width:100%!important;min-width:0!important;height:100%!important;
    margin:0!important;padding:0!important;overflow:hidden!important;background:#fffaf0!important;
    border:1px solid rgba(215,181,93,.92)!important;border-radius:15px!important;
    box-shadow:0 4px 12px rgba(55,42,20,.16)!important;direction:ltr!important;z-index:9300!important;
  }
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu a{
    position:relative!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;
    justify-content:center!important;flex:1 1 50%!important;min-width:0!important;width:50%!important;height:100%!important;
    margin:0!important;padding:0 8px 0 33px!important;border:0!important;color:#073f32!important;
    background:#fffaf0!important;text-decoration:none!important;font-weight:800!important;line-height:1!important;
    transition:background .15s ease,color .15s ease,box-shadow .15s ease!important;direction:ltr!important;text-align:center!important;
  }
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu a:first-child{border-right:1px solid rgba(215,181,93,.9)!important}
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu a[aria-current="page"]{background:#075f49!important;color:#fff!important}
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu a:not([aria-current="page"]):hover{background:#f4ead5!important;color:#073f32!important}
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu a:not([aria-current="page"]):active{background:#eadbbd!important;box-shadow:inset 0 1px 3px rgba(83,61,18,.16)!important}
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu a:focus-visible{outline:3px solid #f4b928!important;outline-offset:-3px!important}
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu a:first-child::after,
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu a:nth-child(2)::after{
    position:absolute;left:50%;top:29%;transform:translateX(-35%);
    font:900 clamp(14px,.98vw,19px)/1 Arial,sans-serif;letter-spacing:.02em;
  }
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu a:first-child::after{content:"ES"}
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu a:nth-child(2)::after{content:"AR"}
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu .cme-lang-label{
    position:absolute!important;left:50%!important;bottom:18%!important;transform:translateX(-35%)!important;
    min-width:0!important;font:700 clamp(8px,.55vw,10.5px)/1 Tahoma,"Segoe UI",Arial,sans-serif!important;
    white-space:nowrap!important;opacity:.92!important;text-align:center!important;
  }
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu a:nth-child(2) .cme-lang-label{direction:rtl!important}
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu .cme-lang-flag{
    position:absolute!important;left:10px!important;top:50%!important;transform:translateY(-50%)!important;
    width:18px!important;height:18px!important;flex:0 0 18px!important;border:1.8px solid currentColor!important;
    border-radius:50%!important;background:none!important;box-shadow:none!important;overflow:visible!important;opacity:.96!important;
  }
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu .cme-lang-flag img{display:none!important}
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu .cme-lang-flag::before{
    content:"";position:absolute;left:3px;right:3px;top:7px;border-top:1.4px solid currentColor;
  }
  .cme-unified-header[data-cme-ar-header="v37"] .cme-u-lang-menu .cme-lang-flag::after{
    content:"";position:absolute;inset:2px 5px;border-left:1.2px solid currentColor;border-right:1.2px solid currentColor;border-radius:50%;
  }
}


/* ==============================================================
   A15 — PERFIL ÁRABE COMO ESPAÑOL (A14), RESPETANDO RTL
   Solo perfil conectado. No cambia Participar, selector, navegación,
   enlaces, sesión ni móvil.
   ============================================================== */
@media (min-width:901px){
  .cme-v36-profile-wrap{
    position:relative!important;
    width:14.80vw!important;
    max-width:310px!important;
    min-width:190px!important;
    height:3.26vw!important;
    min-height:54px!important;
    direction:rtl!important;
    overflow:visible!important;
  }
  .cme-v36-profile-trigger{
    width:100%!important;height:100%!important;
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    gap:10px!important;
    border:1px solid #d7e6df!important;border-radius:12px!important;
    background:#fff!important;color:#07533f!important;
    font:800 clamp(13px,.92vw,17px)/1 Tahoma,"Segoe UI",Arial,sans-serif!important;
    cursor:pointer!important;padding:6px 10px!important;box-sizing:border-box!important;
    box-shadow:0 4px 11px rgba(7,63,49,.06)!important;
    white-space:normal!important;direction:rtl!important;
  }
  .cme-v36-profile-trigger:hover{
    background:#edf6f2!important;border-color:#c8ddd4!important;
    box-shadow:0 5px 12px rgba(7,63,49,.10)!important;
  }
  .cme-v36-profile-avatar{
    width:34px!important;height:34px!important;flex:0 0 34px!important;
  }
  .cme-v36-profile-text,.cme-v36-index-text{
    display:flex!important;flex-direction:column!important;justify-content:center!important;
    align-items:flex-end!important;flex:1 1 auto!important;min-width:0!important;
  }
  .cme-v36-profile-name,.cme-v36-index-name{
    display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
    overflow:hidden!important;min-width:0!important;white-space:normal!important;
    line-height:1.08!important;max-height:2.16em!important;text-align:right!important;
    font-size:clamp(12px,.88vw,15.5px)!important;font-weight:800!important;color:#07533f!important;
  }
  .cme-v36-profile-sub,.cme-v36-index-sub{
    display:block!important;margin-top:3px!important;
    font-size:clamp(10px,.68vw,12px)!important;font-weight:700!important;line-height:1!important;
    color:#5f776f!important;white-space:nowrap!important;text-align:right!important;
  }
  .cme-v36-profile-caret{margin-right:2px!important;margin-left:0!important}
}

/* ACCIONES V3 FINAL — mismas medidas que ES, inmóviles y RTL. */
@media (min-width:901px){
  .cme-u-account{position:absolute!important;left:3.15%!important;right:auto!important;top:26px!important;height:56px!important;gap:11px!important;align-items:center!important;direction:rtl!important}
  .cme-u-join{width:182px!important;height:56px!important;min-width:182px!important;min-height:56px!important;flex:0 0 182px!important;box-sizing:border-box!important;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease!important;transform:none!important}
  .cme-u-join:hover,.cme-u-join:active{transform:none!important}
  .cme-v36-profile-wrap{width:280px!important;height:56px!important;min-width:280px!important;min-height:56px!important;max-width:280px!important;flex:0 0 280px!important;direction:rtl!important;box-sizing:border-box!important}
  .cme-v36-profile-trigger{width:100%!important;height:56px!important;min-height:56px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;padding:6px 10px!important;box-sizing:border-box!important;border:1px solid #d7e6df!important;border-radius:12px!important;background:#fff!important;color:#07533f!important;box-shadow:0 4px 11px rgba(7,63,49,.06)!important;direction:rtl!important;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease!important;transform:none!important}
  .cme-v36-profile-trigger:hover,.cme-v36-profile-trigger:active{transform:none!important}
  .cme-v36-profile-avatar{width:34px!important;height:34px!important;flex:0 0 34px!important}
  .cme-v36-profile-text{display:block!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;direction:rtl!important;text-align:right!important}
  .cme-v36-profile-name,.cme-v36-profile-sub{display:block!important;width:auto!important;max-width:100%!important;margin-inline-start:0!important;margin-inline-end:auto!important;text-align:right!important;direction:rtl!important}
  .cme-v36-index-text{width:100%!important;min-width:0!important;align-items:stretch!important;text-align:right!important}
  .cme-v36-index-name,.cme-v36-index-sub{display:block!important;width:100%!important;text-align:right!important;direction:rtl!important}
}
