/* Choufachtari V3.4.0 — Global Prestige Design System */
:root{
  --prestige-ink:#071226;
  --prestige-navy:#041a43;
  --prestige-blue:#0b4fb8;
  --prestige-blue-2:#176bd8;
  --prestige-red:#e31b2f;
  --prestige-gold:#c99a32;
  --prestige-paper:#ffffff;
  --prestige-canvas:#f3f6fb;
  --prestige-line:#dce5f1;
  --prestige-muted:#68778d;
  --prestige-shadow:0 18px 55px rgba(4,26,67,.10);
  --prestige-shadow-lg:0 32px 90px rgba(4,26,67,.16);
  --prestige-ring:0 0 0 4px rgba(23,107,216,.14);
}

html{overflow-x:hidden;background:var(--prestige-canvas)}
body{overflow-x:hidden;background:
  radial-gradient(circle at 92% 3%,rgba(23,107,216,.055),transparent 28%),
  linear-gradient(180deg,#f8faff 0,#f2f6fb 38%,#f4f7fb 100%);color:var(--prestige-ink)}
.site-shell{width:min(1510px,calc(100% - 56px))}
::selection{background:rgba(11,79,184,.18);color:var(--prestige-ink)}

/* Header and institutional masthead */
.site-header{position:relative;z-index:120;background:#fff;transition:box-shadow .3s ease,transform .3s ease}
.site-header.is-scrolled{box-shadow:0 16px 45px rgba(4,26,67,.13)}
.utility-bar{background:linear-gradient(90deg,#031638,#06275f);border:0;color:#dce9ff}
.utility-bar__inner{min-height:37px}
.utility-links a{opacity:.82;transition:opacity .2s ease,color .2s ease}.utility-links a:hover{opacity:1;color:#fff}
.masthead{background:rgba(255,255,255,.96);backdrop-filter:saturate(150%) blur(14px);border-bottom:1px solid rgba(4,26,67,.055)}
.masthead__inner{min-height:148px}
.site-logo img{max-height:78px;filter:drop-shadow(0 10px 20px rgba(4,26,67,.08))}
.round-action,.language-switch,.newsroom-link{border-color:#dce6f2;background:#fff;box-shadow:0 8px 22px rgba(4,26,67,.055);transition:.22s ease}
.round-action:hover,.language-switch:hover,.newsroom-link:hover{transform:translateY(-2px);border-color:#bfd3ed;box-shadow:0 14px 30px rgba(4,26,67,.10)}
.primary-navigation{position:sticky;top:0;z-index:115;background:linear-gradient(100deg,#03183d,#073578 58%,#0d58c5);box-shadow:0 14px 34px rgba(4,26,67,.16)}
.primary-navigation__inner{min-height:68px}
.primary-navigation a{position:relative;isolation:isolate}
.primary-navigation a:after{content:"";position:absolute;inset-inline:18%;bottom:9px;height:2px;border-radius:20px;background:linear-gradient(90deg,transparent,#fff,transparent);transform:scaleX(0);transition:transform .25s ease;opacity:.85}
.primary-navigation a:hover:after,.primary-navigation .current-menu-item>a:after{transform:scaleX(1)}

/* Breaking and latest motion refinements */
.breaking-bar{border-radius:0;min-height:60px}
.breaking-stage{isolation:isolate}
.breaking-item a{font-size:14px;text-shadow:0 1px 0 rgba(0,0,0,.15)}
.breaking-item a span{opacity:1!important;visibility:visible!important;color:#fff!important}
.breaking-progress{height:3px}
.latest-carousel{padding:26px 28px 22px;border-radius:28px;border-color:#d7e2ef;box-shadow:var(--prestige-shadow)}
.latest-carousel:after{content:"";position:absolute;inset:-90px auto auto -90px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(23,107,216,.10),transparent 70%);pointer-events:none}
.latest-carousel-card{border-color:#dce6f2;box-shadow:0 12px 32px rgba(4,26,67,.075)}
.latest-carousel-card:hover{box-shadow:0 24px 48px rgba(4,26,67,.13)}

/* Homepage lead and section architecture */
.home-page>.site-shell{padding-block:36px 58px}
.lead-layout{gap:24px;align-items:stretch}
.lead-story{border-radius:30px;box-shadow:var(--prestige-shadow-lg);overflow:hidden}
.lead-story__media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,12,31,.03),rgba(2,14,36,.18) 42%,rgba(2,14,36,.88) 100%)}
.lead-story__content{padding:clamp(24px,4vw,54px)}
.lead-story h1{max-width:980px;font-size:clamp(34px,4.5vw,68px);line-height:1.22;letter-spacing:-1.2px;text-wrap:balance}
.lead-story__meta{gap:14px;color:#d8e4f5}
.latest-panel,.secondary-stories,.featured-strip,.newspaper-section{border:1px solid var(--prestige-line);box-shadow:var(--prestige-shadow);background:rgba(255,255,255,.96)}
.latest-panel{border-radius:26px;padding:26px}
.panel-heading h2,.section-heading h2{letter-spacing:-.5px}
.featured-strip,.newspaper-section{border-radius:28px;padding:30px}
.newspaper-section{margin-top:30px}
.newspaper-section__lead{overflow:hidden;border-radius:22px;background:#fff;box-shadow:0 15px 35px rgba(4,26,67,.08)}
.news-card--mini{border-bottom-color:#e1e8f1;transition:background .2s ease,transform .2s ease}
.news-card--mini:hover{background:#f7faff;transform:translateX(-3px)}
.chouf-v3-ltr .news-card--mini:hover{transform:translateX(3px)}
.news-card img{transition:transform .55s cubic-bezier(.2,.8,.2,1)}
.news-card:hover img{transform:scale(1.035)}

/* Premium article reading experience */
.single-page--premium{padding-block:42px 68px}
.article-shell--premium{max-width:1450px}
.premium-article__masthead{padding:clamp(28px,4.5vw,68px);border:1px solid var(--prestige-line);border-radius:32px;background:linear-gradient(145deg,#fff 0,#f8fbff 100%);box-shadow:var(--prestige-shadow)}
.premium-article__masthead h1{max-width:1120px;margin-inline:auto;font-size:clamp(38px,5vw,74px);line-height:1.22;letter-spacing:-1.5px;text-wrap:balance}
.premium-article__standfirst{max-width:980px;margin-inline:auto;color:#4e5f76;font-size:clamp(18px,2vw,25px);line-height:1.9}
.premium-article__meta-row{margin-top:28px;padding-top:22px;border-top:1px solid #e1e8f2}
.premium-article__cover{margin-top:28px;border-radius:30px;overflow:hidden;box-shadow:var(--prestige-shadow-lg);background:#e7edf5}
.premium-article__cover img{width:100%;max-height:760px;object-fit:cover}
.premium-article__body-grid{gap:30px;margin-top:34px}
.premium-article__prose-wrap{min-width:0;padding:clamp(24px,4vw,56px);border:1px solid var(--prestige-line);border-radius:30px;background:#fff;box-shadow:var(--prestige-shadow)}
.premium-article__prose{max-width:860px;margin-inline:auto;font-size:clamp(18px,1.4vw,21px);line-height:2.05;color:#172238}
.premium-article__prose>p:first-of-type:first-letter{float:right;margin:.12em 0 0 .14em;color:var(--prestige-blue);font-size:4.8em;font-weight:900;line-height:.78}
.chouf-v3-ltr .premium-article__prose>p:first-of-type:first-letter{float:left;margin:.12em .14em 0 0}
.premium-article__prose h2,.premium-article__prose h3{scroll-margin-top:115px;color:var(--prestige-navy);text-wrap:balance}
.premium-article__prose h2{position:relative;margin-top:2.3em;padding-inline-start:20px;font-size:clamp(28px,2.5vw,40px);line-height:1.45}
.premium-article__prose h2:before{content:"";position:absolute;inset-inline-start:0;top:.2em;bottom:.2em;width:5px;border-radius:8px;background:linear-gradient(var(--prestige-red),var(--prestige-blue))}
.premium-article__prose h3{margin-top:1.8em;font-size:clamp(23px,2vw,31px)}
.premium-article__prose blockquote{position:relative;margin:2.2em 0;padding:30px 34px;border:0;border-radius:22px;background:linear-gradient(135deg,#041a43,#0a4fb8);color:#fff;box-shadow:0 20px 45px rgba(4,26,67,.18);font-size:1.15em;font-weight:700}
.premium-article__prose blockquote:before{content:"“";position:absolute;top:-12px;inset-inline-start:20px;color:rgba(255,255,255,.18);font-size:86px;line-height:1}
.premium-article__prose img{border-radius:20px;box-shadow:0 16px 42px rgba(4,26,67,.12)}
.premium-article__prose iframe,.premium-article__prose video{max-width:100%;border-radius:20px;box-shadow:0 16px 42px rgba(4,26,67,.12)}
.premium-article__video{position:relative;width:100%;margin:0 auto 38px;overflow:hidden;border-radius:24px;background:#020817;box-shadow:0 24px 60px rgba(4,26,67,.2)}
.premium-article__video .wp-video,.premium-article__video video{width:100%!important;max-width:none!important;margin:0}
.premium-article__video iframe{display:block;width:100%;max-width:100%;aspect-ratio:16/9;height:auto;min-height:360px;border:0}
.premium-article__video-link{display:flex;min-height:260px;align-items:center;justify-content:center;padding:32px;color:#fff;font-size:18px;font-weight:900;background:linear-gradient(135deg,#041a43,#0a4fb8)}
.article-table-scroll{width:100%;overflow:auto;margin:2em 0;border:1px solid var(--prestige-line);border-radius:18px;background:#fff}
.article-table-scroll table{margin:0;min-width:680px}
.premium-sidebar-card{border:1px solid var(--prestige-line);border-radius:22px;background:#fff;box-shadow:0 14px 38px rgba(4,26,67,.08)}
.premium-author-box,.premium-correction-box,.premium-related-news,.premium-inline-newsletter{border-radius:26px;box-shadow:var(--prestige-shadow)}

/* Institutional and legal pages */
.page-view--premium{padding-block:42px 70px}
.premium-page-hero{position:relative;overflow:hidden;padding:clamp(34px,6vw,82px);border-radius:32px;background:
  radial-gradient(circle at 12% 20%,rgba(255,255,255,.14),transparent 28%),
  linear-gradient(135deg,#03183d,#0b4fb8);box-shadow:var(--prestige-shadow-lg)}
.premium-page-hero:after{content:"";position:absolute;inset:auto -70px -90px auto;width:260px;height:260px;border:1px solid rgba(255,255,255,.12);border-radius:50%}
.premium-page-hero h1{font-size:clamp(40px,5vw,72px);line-height:1.2;text-wrap:balance}
.premium-page-layout{gap:28px;margin-top:28px}
.premium-content-page__body,.premium-page-sidebar>.premium-sidebar-card,.premium-contact-intro,.premium-contact-directory{border:1px solid var(--prestige-line);border-radius:28px;background:#fff;box-shadow:var(--prestige-shadow)}
.premium-content-page__body{padding:clamp(26px,4vw,56px);font-size:18px;line-height:2}
.premium-page-nav a{border-radius:12px;transition:.2s ease}.premium-page-nav a:hover,.premium-page-nav .is-active{background:#eef4ff;color:var(--prestige-blue);transform:translateX(-3px)}
.chouf-v3-ltr .premium-page-nav a:hover,.chouf-v3-ltr .premium-page-nav .is-active{transform:translateX(3px)}
.premium-contact-channel{border:1px solid #dce6f2;border-radius:20px;box-shadow:0 12px 32px rgba(4,26,67,.065);transition:.25s ease}
.premium-contact-channel:hover{transform:translateY(-4px);box-shadow:0 22px 44px rgba(4,26,67,.12)}

/* Author and archive pages */
.author-page--premium,.archive-page{padding-block:42px 70px}
.premium-author-hero{border-radius:32px;border:1px solid var(--prestige-line);box-shadow:var(--prestige-shadow-lg);overflow:hidden;background:linear-gradient(145deg,#fff,#f6f9fe)}
.premium-author-hero__avatar img{object-fit:cover;object-position:center 18%}
.premium-author-featured,.premium-author-articles,.archive-grid--premium{border-radius:28px}
.archive-grid--premium{gap:22px}
.archive-grid--premium .news-card{border:1px solid var(--prestige-line);border-radius:22px;background:#fff;box-shadow:0 14px 35px rgba(4,26,67,.08);overflow:hidden;transition:.25s ease}
.archive-grid--premium .news-card:hover{transform:translateY(-5px);box-shadow:0 24px 52px rgba(4,26,67,.14)}
.archive-grid--premium .news-card__body{padding:20px}

/* Forms, comments, buttons */
.entry-content input,.entry-content textarea,.entry-content select,.premium-content-page__body input,.premium-content-page__body textarea,.premium-content-page__body select{width:100%;border:1px solid #ccd9e8;border-radius:14px;background:#fff;color:var(--prestige-ink);padding:14px 16px;transition:.2s ease}
.entry-content input:focus,.entry-content textarea:focus,.entry-content select:focus,.premium-content-page__body input:focus,.premium-content-page__body textarea:focus,.premium-content-page__body select:focus{outline:0;border-color:var(--prestige-blue-2);box-shadow:var(--prestige-ring)}
button,.premium-button,input[type=submit]{transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
button:hover,.premium-button:hover,input[type=submit]:hover{transform:translateY(-2px)}
.comment-list .comment-body{border:1px solid var(--prestige-line);border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(4,26,67,.07)}

/* Footer: newsroom-grade institutional close */
.site-footer{position:relative;overflow:hidden;background:
  radial-gradient(circle at 8% 10%,rgba(23,107,216,.20),transparent 28%),
  linear-gradient(135deg,#02102c,#061f50 52%,#0a3e8c);color:#fff;border-top:4px solid var(--prestige-red)}
.site-footer:before{content:"";position:absolute;inset:0;opacity:.15;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom,black,transparent 70%);pointer-events:none}
.site-footer__top,.site-footer__grid,.footer-departments,.site-footer__legal{position:relative;z-index:1}
.site-footer__grid--prestige{gap:34px;padding-block:46px}
.site-footer__brand img{max-height:62px;filter:drop-shadow(0 12px 28px rgba(0,0,0,.18))}
.footer-menu a,.footer-latest a,.footer-departments a{transition:.2s ease}.footer-menu a:hover,.footer-latest a:hover,.footer-departments a:hover{color:#fff;transform:translateX(-3px)}
.chouf-v3-ltr .footer-menu a:hover,.chouf-v3-ltr .footer-latest a:hover,.chouf-v3-ltr .footer-departments a:hover{transform:translateX(3px)}
.site-footer__legal{border-top-color:rgba(255,255,255,.12);background:rgba(1,10,28,.28);backdrop-filter:blur(10px)}
.discreet-panel-access{box-shadow:0 12px 28px rgba(0,0,0,.22)}

/* Reveal motion */
[data-prestige-reveal]{opacity:0;transform:translateY(24px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.8,.2,1)}
[data-prestige-reveal].is-revealed{opacity:1;transform:none}

@media(max-width:1180px){
  .site-shell{width:min(100% - 36px,1440px)}
  .premium-article__body-grid{grid-template-columns:minmax(0,1fr)}
  .premium-article__sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
}
@media(max-width:900px){
  .site-shell{width:min(100% - 28px,1440px)}
  .masthead__inner{min-height:112px}
  .site-logo img{max-height:62px}
  .home-page>.site-shell,.single-page--premium,.page-view--premium,.author-page--premium,.archive-page{padding-top:24px}
  .featured-strip,.newspaper-section,.latest-panel{padding:22px;border-radius:22px}
  .premium-page-layout{grid-template-columns:1fr}.premium-page-sidebar{order:2}
  .premium-article__masthead,.premium-article__prose-wrap{border-radius:24px}
}
@media(max-width:720px){
  .site-shell{width:calc(100% - 20px)}
  .masthead__inner{min-height:92px}
  .site-logo img{max-height:52px}
  .primary-navigation__inner{min-height:58px}
  .latest-carousel{padding:18px 14px;border-radius:20px}
  .lead-story{border-radius:22px}.lead-story h1{font-size:clamp(28px,9vw,42px);letter-spacing:-.5px}
  .featured-strip,.newspaper-section,.latest-panel{padding:17px;border-radius:19px}
  .premium-article__masthead{padding:24px 18px;border-radius:22px}.premium-article__masthead h1{font-size:clamp(31px,9vw,46px)}
  .premium-article__standfirst{font-size:17px;line-height:1.8}
  .premium-article__prose-wrap{padding:23px 18px;border-radius:21px}
  .premium-article__prose{font-size:17px;line-height:1.95}
  .premium-article__prose>p:first-of-type:first-letter{font-size:3.8em}
  .premium-article__sidebar{grid-template-columns:1fr}
  .premium-article__video{margin-bottom:24px;border-radius:18px}.premium-article__video iframe{min-height:220px}
  .premium-page-hero{padding:32px 22px;border-radius:23px}.premium-page-hero h1{font-size:38px}
  .premium-content-page__body{padding:22px 18px;border-radius:21px;font-size:17px}
  .premium-author-hero{border-radius:23px}
  .site-footer__grid--prestige{grid-template-columns:1fr;padding-block:34px}
}
@media(max-width:480px){
  .site-shell{width:calc(100% - 14px)}
  .round-action,.language-switch,.newsroom-link{min-height:40px}
  .premium-article__masthead h1{font-size:30px}.premium-page-hero h1{font-size:33px}
  .archive-grid--premium{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  [data-prestige-reveal]{opacity:1!important;transform:none!important}
}


/* Global Prestige 3.4.6 — premium utility panel and simplified institutional footer */
.utility-links{flex-wrap:wrap}
.utility-panel-link{display:inline-flex!important;align-items:center;gap:7px;padding:6px 12px!important;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.055));color:#fff!important;font-weight:900!important;box-shadow:0 8px 22px rgba(0,0,0,.14);backdrop-filter:blur(8px);transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease!important}
.utility-panel-link:hover,.utility-panel-link:focus-visible{transform:translateY(-1px);background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.34);box-shadow:0 12px 28px rgba(0,0,0,.2);outline:none}
.utility-panel-link__dot{width:7px;height:7px;border-radius:50%;background:#ff2a45;box-shadow:0 0 0 4px rgba(255,42,69,.15)}

.site-footer__grid--prestige{align-items:start}
.site-footer__brand--premium{position:relative;padding:24px 26px;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));box-shadow:0 20px 50px rgba(0,0,0,.16);overflow:hidden}
.site-footer__brand--premium:before{content:"";position:absolute;width:210px;height:210px;inset-inline-end:-90px;top:-115px;border-radius:50%;background:radial-gradient(circle,rgba(22,104,220,.35),transparent 68%);pointer-events:none}
.footer-brand-logo{position:relative;display:inline-flex;align-items:center;justify-content:center;width:min(100%,340px);min-height:82px;margin-bottom:15px;padding:9px 12px;border-radius:16px;background:linear-gradient(135deg,rgba(4,24,61,.34),rgba(6,48,119,.24));border:1px solid rgba(255,255,255,.08)}
.footer-brand-logo img,.site-footer__brand .footer-brand-logo img{display:block;width:100%;max-width:310px;max-height:76px;height:auto;object-fit:contain;filter:none!important;opacity:1!important}
.site-footer__brand--premium p{position:relative;margin:0 0 18px;color:rgba(255,255,255,.78);font-size:14px;line-height:1.95}
.site-footer__brand--premium .footer-socials{position:relative}
.site-footer__brand--premium .footer-socials a{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.13);transition:.2s ease}
.site-footer__brand--premium .footer-socials a:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.26);transform:translateY(-2px)}

.footer-office{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:42px;padding:24px 26px;border:1px solid rgba(255,255,255,.11);border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.025));box-shadow:0 18px 44px rgba(0,0,0,.14);overflow:hidden}
.footer-office:after{content:"";position:absolute;inset-inline-start:-95px;bottom:-135px;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(18,103,214,.2),transparent 68%);pointer-events:none}
.footer-office__heading{position:relative;min-width:230px}
.footer-office__heading>span{font-family:var(--chouf-font-latin);font-size:9px;letter-spacing:1.9px;color:#8db8f6;font-weight:900}
.footer-office__heading h2{margin:5px 0 3px!important;font-size:23px!important}
.footer-office__heading p{margin:0;color:rgba(255,255,255,.58);font-size:12px}
.footer-office__details{position:relative;display:grid;grid-template-columns:minmax(320px,1.55fr) minmax(210px,.75fr);gap:12px;flex:1;max-width:920px}
.footer-office__item{display:flex;align-items:center;gap:13px;min-width:0;padding:15px 16px;border:1px solid rgba(255,255,255,.11);border-radius:15px;background:rgba(255,255,255,.045);color:#fff;transition:transform .2s ease,background .2s ease,border-color .2s ease}
a.footer-office__item:hover{transform:translateY(-2px);background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.22);color:#fff}
.footer-office__icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#0e63cf,#17458e);box-shadow:0 10px 22px rgba(0,0,0,.18)}
.footer-office__icon svg{width:19px;height:19px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.footer-office__item div{min-width:0}
.footer-office__item small,.footer-office__item strong{display:block;text-align:left}
.footer-office__item small{margin-bottom:3px;color:#9ebce7;font-size:10px}
.footer-office__item strong{color:#fff;font-family:var(--chouf-font-latin);font-size:12px;line-height:1.55;overflow-wrap:anywhere}

@media(max-width:980px){
  .footer-office{align-items:flex-start;display:grid}
  .footer-office__details{width:100%;max-width:none}
}
@media(max-width:720px){
  .utility-bar__inner{align-items:flex-start;padding-block:9px}
  .utility-links,.utility-menu{gap:10px 13px}
  .utility-panel-link{padding:5px 10px!important}
  .site-footer__brand--premium{padding:20px}
  .footer-office{padding:20px;margin-bottom:28px}
  .footer-office__details{grid-template-columns:1fr}
  .footer-office__item{padding:13px}
}
