/* Vertex unified header/footer — deployment-safe */
:root{--uhf-navy:#123e73;--uhf-navy-dark:#08284e;--uhf-blue:#1f5a98;--uhf-gold:#e5b914;--uhf-soft:#f2f6fc}
html{scroll-behavior:smooth}body{margin:0;font-family:Poppins,Tajawal,Cairo,Arial,sans-serif;color:#082b5c;overflow-x:hidden}html[dir="rtl"] body{font-family:Tajawal,Cairo,Poppins,Arial,sans-serif}
.uhf-header{position:relative;z-index:1000}.uhf-topline{background:var(--uhf-navy);color:#fff;border-bottom:3px solid var(--uhf-gold)}
.uhf-topline-container{width:min(1720px,92%);min-height:72px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.uhf-top-left,.uhf-top-right{display:flex;align-items:center;gap:26px}.uhf-top-link,.uhf-contact,.uhf-login{color:#fff;text-decoration:none;font-weight:600;font-size:15px}.uhf-contact{display:flex;align-items:center;gap:10px}.uhf-contact i,.uhf-search-btn i{color:var(--uhf-gold)}.uhf-divider{width:1px;height:34px;background:rgba(255,255,255,.28)}.uhf-search-btn{width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff}.uhf-login{padding:13px 30px;border:1px solid rgba(255,255,255,.3);border-radius:999px}.uhf-lang-switch{display:flex;border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:3px}.lang-btn{border:0;background:transparent;color:#fff;font-weight:800;padding:11px 17px;border-radius:999px;cursor:pointer}.lang-btn.active{background:var(--uhf-gold);color:#07305d}
.uhf-navbar{background:#fff;border-bottom:3px solid var(--uhf-gold);position:sticky;top:0;z-index:1100;box-shadow:0 4px 14px rgba(5,34,70,.08)}.uhf-nav-container{width:min(1720px,94%);min-height:106px;margin:auto;display:flex;align-items:center;position:relative;padding-inline:125px}.uhf-logo{position:absolute;inset-inline-start:0;width:92px;height:92px;display:grid;place-items:center}.uhf-logo img{width:88px!important;height:88px!important;object-fit:contain!important}.uhf-main-menu{display:flex;align-items:center;justify-content:center;gap:29px;margin:auto;flex-wrap:wrap}.uhf-nav-link{display:flex;align-items:center;gap:9px;color:#072d61;text-decoration:none;font-size:17px;font-weight:500;white-space:nowrap}.uhf-nav-link i{color:var(--uhf-gold);font-size:20px}.uhf-mobile-menu-btn{display:none;margin-inline-start:auto;width:44px;height:44px;border:1px solid #c7d1df;border-radius:7px;background:#fff;color:#082c5c;font-size:20px}
.uhf-announcement{background:#205b99;color:#fff}.uhf-announcement-container{width:min(1720px,96%);min-height:58px;margin:auto;display:flex;align-items:center;justify-content:center;position:relative}.uhf-announcement-content{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:650;text-align:center}.uhf-announcement-content i,.uhf-announcement-content a{color:#ffd521}.uhf-announcement-content a{font-weight:800;text-decoration:none;border-bottom:1px solid #ffd521}.uhf-announcement-close{position:absolute;inset-inline-end:5px;border:0;background:transparent;color:#fff;font-size:24px;font-weight:800;cursor:pointer}
.uhf-footer{background:var(--uhf-navy-dark);color:rgba(255,255,255,.82);margin-top:0}.uhf-footer-inner{width:min(1180px,90%);margin:auto;padding:58px 0 38px;display:grid;grid-template-columns:1.45fr 1fr 1fr 1.15fr;gap:38px}.uhf-footer-block{min-width:0}.uhf-footer-logo{width:92px!important;height:92px!important;object-fit:contain!important;display:block!important;margin:0 0 18px!important}.uhf-footer h3,.uhf-footer h4{color:#fff;margin:0 0 16px;font-size:17px}.uhf-footer p{font-size:14px;line-height:1.8;margin:0}.uhf-footer-link{display:flex!important;align-items:center;gap:9px;color:rgba(255,255,255,.78)!important;text-decoration:none!important;font-size:14px!important;margin:0 0 11px!important}.uhf-footer-link i{color:var(--uhf-gold);width:18px}.uhf-footer-social-row{border-top:1px solid rgba(255,255,255,.11);padding:18px 5%;display:flex;justify-content:center;gap:14px}.uhf-footer-social-row a{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08);color:#fff;text-decoration:none}.uhf-footer-bottom{border-top:1px solid rgba(255,255,255,.1);width:min(1180px,90%);margin:auto;padding:18px 0 24px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px;color:rgba(255,255,255,.58)}
html[dir="rtl"] .uhf-topline-container,html[dir="rtl"] .uhf-nav-container,html[dir="rtl"] .uhf-footer-inner{direction:rtl}html[dir="rtl"] .uhf-main-menu{direction:rtl}html[dir="rtl"] .uhf-logo{inset-inline-start:0}html[dir="rtl"] .fa-arrow-right{transform:scaleX(-1)}
@media(max-width:1200px){.uhf-main-menu{gap:18px}.uhf-nav-link{font-size:15px}.uhf-nav-container{padding-inline:105px}}
@media(max-width:992px){.uhf-topline-container{padding:12px 0;align-items:flex-start}.uhf-top-left{display:none}.uhf-top-right{width:100%;justify-content:center;flex-wrap:wrap;gap:12px}.uhf-contact,.uhf-login{font-size:13px}.uhf-nav-container{min-height:86px;padding-inline:90px 12px}.uhf-logo{width:72px;height:72px}.uhf-logo img{width:68px!important;height:68px!important}.uhf-main-menu{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:18px;box-shadow:0 12px 24px rgba(0,0,0,.12);flex-direction:column;align-items:stretch}.uhf-main-menu.open{display:flex}.uhf-mobile-menu-btn{display:block}.uhf-announcement-content{font-size:13px;padding:10px 35px}.uhf-footer-inner{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.uhf-contact:first-of-type,.uhf-divider{display:none}.uhf-login{padding:9px 16px}.uhf-footer-inner{grid-template-columns:1fr}.uhf-footer-bottom{justify-content:center;text-align:center}}
/* Journal article cards: keep every publication in the same visual hierarchy. */
.articles-section .articles-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:22px!important;
}
.articles-section .article-card.featured{
  grid-column:auto!important;
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
}
.articles-section .article-card.featured .ac-img,
.articles-section .article-card.featured .ac-img-wrap-new,
.articles-section .article-card.featured .ac-img-panel{
  display:none!important;
}
.articles-section .article-card.featured .ac-title{
  font-size:18px!important;
}
.articles-section .article-card.featured .feat-label{
  display:none!important;
}

.lovable-journal-page .lv-uniform-article-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  grid-column:1 / -1;
}
/* CMS-rendered journal articles: the first article is never a blue feature card. */
.lovable-journal-page .lv-main-grid > div:first-child{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.lovable-journal-page .lv-main-grid > div:first-child > .lv-heading-row{
  grid-column:1 / -1;
  width:100%;
  margin-bottom:10px;
}
.lovable-journal-page .lv-main-grid > div:first-child > .lv-article-grid{
  display:contents;
}
.lovable-journal-page .lv-main-grid > div:first-child > .lv-featured{
  background:#fff!important;
  border:1px solid var(--lv-border)!important;
  border-radius:20px!important;
  color:#050c1c!important;
  margin:0!important;
  padding:28px 28px 24px!important;
}
.lovable-journal-page .lv-main-grid > div:first-child > .lv-featured h3{
  color:#050c1c!important;
  font-size:24px!important;
  line-height:1.18!important;
}
.lovable-journal-page .lv-main-grid > div:first-child > .lv-featured .authors,
.lovable-journal-page .lv-main-grid > div:first-child > .lv-featured .desc,
.lovable-journal-page .lv-main-grid > div:first-child > .lv-featured-foot{
  color:#4d5d78!important;
}
.lovable-journal-page .lv-main-grid > div:first-child > .lv-featured .lv-article-meta{
  color:#071b49!important;
}
.lovable-journal-page .lv-main-grid > div:first-child > .lv-featured-foot{
  border-top:1px solid var(--lv-border)!important;
  padding-top:18px!important;
}
.lovable-journal-page .lv-main-grid > div:first-child > .lv-featured-foot a{
  color:var(--lv-navy)!important;
}
.lovable-journal-page .lv-uniform-article-grid .lv-article-grid{
  display:contents;
}
.lovable-journal-page .lv-uniform-article-grid .lv-featured{
  background:#fff;
  border:1px solid var(--lv-border);
  border-radius:20px;
  color:#050c1c;
  margin:0;
  padding:28px 28px 24px;
  transition:.2s ease;
}
.lovable-journal-page .lv-uniform-article-grid .lv-featured:hover,
.lovable-journal-page .lv-uniform-article-grid .lv-article-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 34px rgba(7,27,73,.08);
}
.lovable-journal-page .lv-uniform-article-grid .lv-featured .lv-article-meta{
  color:#071b49;
  margin-bottom:18px;
}
.lovable-journal-page .lv-uniform-article-grid .lv-featured h3{
  color:#050c1c;
  font-size:24px;
  line-height:1.18;
}
.lovable-journal-page .lv-uniform-article-grid .lv-featured .authors{
  color:#4d5d78;
  font-size:13px;
  margin-top:14px;
}
.lovable-journal-page .lv-uniform-article-grid .lv-featured .desc{
  display:none;
}
.lovable-journal-page .lv-uniform-article-grid .lv-featured-foot{
  border-top:1px solid var(--lv-border);
  color:#4d5d78;
  font-size:12px;
  margin-top:22px;
  padding-top:18px;
}
.lovable-journal-page .lv-uniform-article-grid .lv-featured-foot a{
  color:var(--lv-navy);
}
.lovable-journal-page .lv-article-card{
  display:flex!important;
  flex-direction:column!important;
  min-height:260px!important;
}
.lovable-journal-page .lv-article-card .lv-card-foot{
  margin-top:auto!important;
}
.vtx-card-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:16px;
  margin-inline-start:auto;
}
.vtx-card-actions a{
  color:#d5a400!important;
  font-size:12px!important;
  font-weight:700!important;
  white-space:nowrap;
}
.articles-section .article-card{
  min-height:260px!important;
}
.articles-section .article-card .ac-footer{
  margin-top:auto!important;
}
.articles-section .article-card .ac-abstract,
.lovable-journal-page .lv-article-card .desc,
.lovable-journal-page .lv-featured .desc{
  display:none!important;
}
@media(max-width:760px){
  .articles-section .articles-grid,
  .lovable-journal-page .lv-uniform-article-grid,
  .lovable-journal-page .lv-main-grid > div:first-child{
    grid-template-columns:1fr!important;
  }
}
html[lang="ar"] body{visibility:visible!important}
.journal-card .journal-meta{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
.journal-card .journal-meta span{display:inline-flex!important;align-items:center!important;white-space:nowrap!important}
html[dir="rtl"] .journal-card .journal-meta{justify-content:flex-start!important;direction:rtl!important}

/* Localized journal covers supplied by the publisher. */
.vtx-cover-image-ar{display:none!important}
html[lang="ar"] .vtx-cover-image-en,
html[dir="rtl"] .vtx-cover-image-en{display:none!important}
html[lang="ar"] .vtx-cover-image-ar,
html[dir="rtl"] .vtx-cover-image-ar{display:block!important}

#journals .journal-cover{
  height:280px!important;
  flex:0 0 280px!important;
  aspect-ratio:auto!important;
  background:#f4f7fb!important;
}
#journals .journal-cover .vtx-cover-image{
  width:100%!important;
  height:100%!important;
  object-fit:var(--vtx-cover-fit,contain)!important;
  object-position:center top!important;
}
#journals .journal-card-body{display:flex!important;flex-direction:column!important}
#journals .journal-card h3{min-height:92px!important;margin-bottom:10px!important}
#journals .journal-card p{
  display:block!important;
  min-height:155px!important;
  flex:1 1 auto!important;
  margin-top:0!important;
  margin-bottom:14px!important;
}
#journals .journal-meta{
  min-height:48px!important;
  margin-top:auto!important;
  align-content:flex-start!important;
}
#journals .journal-link{margin-top:0!important}

.lovable-journal-page .lv-cover.vtx-localized-journal-cover{
  width:min(100%,var(--vtx-journal-cover-width,430px))!important;
  max-width:var(--vtx-journal-cover-width,430px)!important;
  aspect-ratio:1055 / 1490!important;
  padding:0!important;
  overflow:hidden!important;
  background:#fff!important;
  border-color:rgba(255,255,255,.22)!important;
}
.lovable-journal-page .lv-cover.vtx-localized-journal-cover .vtx-cover-image{
  width:100%!important;
  height:100%!important;
  object-fit:var(--vtx-cover-fit,contain)!important;
  object-position:center top!important;
  border-radius:23px!important;
}

/* Scientific journals listing: protect its card layout from generic card CSS. */
.journals-section-main .journals-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:30px!important;
  align-items:stretch!important;
}
.journals-section-main .journal-card{
  min-height:0!important;
  height:100%!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border:1px solid #dce5f1!important;
  border-radius:18px!important;
  background:#fff!important;
}
.journals-section-main .jc-img{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:520px!important;
  flex:0 0 520px!important;
  overflow:hidden!important;
  background:#eef3f8!important;
}
.journals-section-main .jc-img .vtx-cover-image{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:var(--vtx-cover-fit,contain)!important;
  object-position:center top!important;
}
html[lang="ar"] .journals-section-main .jc-img .vtx-cover-image-en,
html[dir="rtl"] .journals-section-main .jc-img .vtx-cover-image-en{display:none!important}
html:not([lang="ar"]):not([dir="rtl"]) .journals-section-main .jc-img .vtx-cover-image-ar{display:none!important}
.journals-section-main .jc-badge{
  position:absolute!important;
  top:14px!important;
  inset-inline-end:14px!important;
}
.journals-section-main .jc-issn{
  position:absolute!important;
  bottom:14px!important;
  inset-inline-start:14px!important;
}
.journals-section-main .jc-body{
  padding:28px!important;
  display:flex!important;
  flex:1!important;
  flex-direction:column!important;
  gap:10px!important;
}
.journals-section-main .jc-body h3{min-height:78px!important;margin:0!important;font-size:24px!important}
.journals-section-main .jc-body p{min-height:112px!important;margin:0!important;flex:1!important;font-size:15px!important}
.journals-section-main .jc-chip-row{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:9px!important;
  margin-bottom:4px!important;
}
.journals-section-main .jc-info-chip{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:36px!important;
  padding:7px 13px!important;
  border:1px solid #cddced!important;
  border-radius:999px!important;
  background:#f4f8fd!important;
  color:#0b2c5f!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
.journals-section-main .jc-open-chip{
  background:#eaf8f2!important;
  border-color:#a9ddc8!important;
  color:#087353!important;
}
.journals-section-main .jc-field-chip{
  background:#fff8df!important;
  border-color:#ecd47a!important;
  color:#775a00!important;
}
.journals-section-main .jc-info-chip:hover{
  transform:translateY(-2px)!important;
  background:#0b2c5f!important;
  border-color:#0b2c5f!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(11,44,95,.18)!important;
}
.journals-section-main .jc-meta{display:flex!important;flex-direction:column!important;gap:8px!important}
.journals-section-main .jc-footer{display:flex!important;gap:10px!important;margin-top:auto!important}
.journals-section-main .jc-btn-primary{display:flex!important;align-items:center!important;justify-content:center!important;flex:1!important}
.journals-section-main .jc-btn-outline{display:flex!important;align-items:center!important;justify-content:center!important}
.journals-section-main .jc-btn-primary,
.journals-section-main .jc-btn-outline{
  transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
.journals-section-main .jc-btn-primary:hover{
  transform:translateY(-3px)!important;
  background:#d6ad1f!important;
  color:#071a3e!important;
  box-shadow:0 10px 24px rgba(11,44,95,.22)!important;
}
.journals-section-main .jc-btn-outline:hover{
  transform:translateY(-3px)!important;
  background:#0b2c5f!important;
  border-color:#0b2c5f!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(11,44,95,.18)!important;
}
@media(max-width:1250px){
  .journals-section-main .journals-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .journals-section-main .jc-img{height:430px!important;flex-basis:430px!important}
}
@media(max-width:700px){
  .journals-section-main .journals-grid{grid-template-columns:1fr!important}
  .journals-section-main .jc-img{height:440px!important;flex-basis:440px!important}
  .journals-section-main .jc-body h3,
  .journals-section-main .jc-body p{min-height:0!important}
}

/* Emergency rollback: remove an orphaned maintenance template from public pages. */
html body{display:block!important;place-items:initial!important;padding:0!important}
body>.maintenance-card,.maintenance-card{display:none!important}

@media(max-width:700px){
  #journals .journal-card h3,
  #journals .journal-card p,
  #journals .journal-meta{min-height:0!important}
}
