/* Header */
.alm-header{
  position:sticky; top:0; z-index:999;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(16,43,76,.08);
  direction: rtl;
  text-align: right !important;
}
.alm-container{ width:min(1160px, 92%); margin-inline:auto; }
.alm-header__inner{ display:flex; align-items:center; gap:16px; padding:12px 0; }

.alm-brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:inherit; }
.alm-brand__logo{
  width:40px; height:40px; border-radius:12px;
  background: radial-gradient(circle at 30% 30%, #D4AF37, #B8901F);
  box-shadow:0 6px 18px rgba(212,175,55,.35);
}
.alm-brand__text{ display:flex; flex-direction:column; line-height:1.1; }
.alm-brand__name{ font-weight:900; color:#0B1F3A; }
.alm-brand__tag{ font-size:.9rem; color:#5C6B80; font-weight:700; margin-top:4px; }

.alm-nav{ margin-inline:auto; }
.alm-nav__list{ list-style:none; display:flex; gap:14px; margin:0; padding:0; }
.alm-nav__item{ margin:0; }
.alm-nav__link{
  color:#0B1F3A; text-decoration:none;
  font-weight:800; font-size:.95rem; opacity:.92;
  padding:8px 10px; border-radius:12px;
}
.alm-nav__link:hover{ opacity:1; background:rgba(11,31,58,.05); }

.alm-actions{ display:flex; gap:10px; }
.alm-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:10px 14px; border-radius:14px; text-decoration:none; font-weight:900;
  border:1px solid transparent; transition:.2s ease; white-space:nowrap;
}
.alm-btn__meta{ font-size:.85rem; font-weight:800; opacity:.85; }
.alm-btn--primary{ background:#0B1F3A; color:#fff; }
.alm-btn--ghost{ background:#fff; color:#0B1F3A; border-color:rgba(11,31,58,.12); }
.alm-btn--wa{ background:linear-gradient(135deg, #D4AF37, #B8901F); color:#111; }
.alm-btn--full{ width:100%; padding:12px 14px; }

.alm-burger{ display:none; background:transparent; border:0; width:44px; height:44px; margin-inline-start:auto; }
.alm-burger span{ display:block; height:2px; background:#0B1F3A; margin:8px 0; border-radius:9px; }

.alm-mobilemenu{
  border-top:1px solid rgba(16,43,76,.08);
  padding:12px 4%;
  background:#fff;
}
.alm-mobilemenu__list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.alm-mobilemenu__list a{ display:block; padding:10px 10px; border-radius:12px; text-decoration:none; font-weight:900; color:#0B1F3A; }
.alm-mobilemenu__list a:hover{ background:rgba(11,31,58,.05); }
.alm-mobilemenu__ctas{ display:grid; gap:10px; margin-top:10px; }

/* Mobile Bottom Bar */
.alm-bottombar{
  display:none;
  position:fixed; inset:auto 0 0 0; z-index:999;
  background:#fff;
  border-top:1px solid rgba(16,43,76,.12);
  padding:10px;
  gap:10px;
}
.alm-bottombar__btn{
  flex:1; text-align:center; text-decoration:none; font-weight:1000;
  padding:12px; border-radius:14px;
}
.alm-bottombar__btn--call{ background:#0B1F3A; color:#fff; }
.alm-bottombar__btn--wa{ background:linear-gradient(135deg, #D4AF37, #B8901F); color:#111; }

@media (max-width: 980px){
  .alm-nav{ display:none; }
  .alm-actions{ display:none; }     /* top CTAs hidden on mobile (bottom bar replaces) */
  .alm-burger{ display:block; }
  .alm-bottombar{ display:flex; }
}

/* ================================== */
/* ===== Footer styles (put in your main CSS) ===== */
/* ==================================== */
.alm-footer{ background:#081A31; color:#fff; direction: rtl; text-align: right;}
.alm-footer a{ color:rgba(73, 68, 68, 0.9); text-decoration:none; }
.alm-footer a:hover{ color:#FFE7A6; }

.alm-footer__top{
  background: linear-gradient(135deg, rgba(11,31,58,.98), rgba(16,43,76,.98));
  border-bottom:1px solid rgba(255,255,255,.10);
}
.alm-footer__topinner{
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  padding: 16px 0;
}
.alm-footer__toptext{ font-weight:900; color:rgba(255,255,255,.9); }
.alm-footer__toptext span{ color:#FFE7A6; font-weight:1000; }
.alm-footer__topactions{ display:flex; gap:10px; flex-wrap:wrap; }

.alm-footer__main{ padding: 44px 0; }
.alm-footer__grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.15fr 1fr;
  gap: 18px;
  align-items:start;
}

.alm-footer__logo{ display:flex; gap:10px; align-items:center; }
.alm-footer__mark{
  width:42px; height:42px; border-radius:14px;
  background: radial-gradient(circle at 30% 30%, #D4AF37, #B8901F);
  box-shadow: 0 10px 22px rgba(212,175,55,.25);
}
.alm-footer__name{ display:block; font-weight:1000; font-size:1.05rem; }
.alm-footer__tag{ display:block; color:rgba(255,255,255,.72); font-weight:800; margin-top:2px; font-size:.92rem; }
.alm-footer__desc{ margin:12px 0 0; color:rgba(255,255,255,.75); font-weight:750; line-height:1.7; }

.alm-footer__trust{
  margin-top:12px; display:flex; gap:8px; flex-wrap:wrap;
}
.alm-footer__trust span{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 900;
  color: rgba(255,255,255,.9);
}

.alm-footer__title{ margin:0 0 10px; font-weight:1000; color:#FFE7A6; }
.alm-footer__subtitle{ margin:14px 0 10px; font-weight:1000; color:rgba(255,255,255,.92); font-size: .98rem; }

.alm-footer__list{ list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.alm-footer__label{ color:rgba(255,255,255,.65); font-weight:800; margin-left:6px; }

.alm-footer__links{ list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.alm-footer__links a{ color:rgba(255,255,255,.85); font-weight:850; }
.alm-footer__links a:hover{ color:#FFE7A6; }

.alm-footer__miniCTA{ margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; }

.alm-footareas{ margin-top: 12px; }
.alm-footareas__title{ font-weight:1000; color:rgba(255,255,255,.92); margin-bottom:8px; }
.alm-footareas__list{ list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.alm-footareas__list a{ color:rgba(255,255,255,.82); font-weight:800; }
.alm-footer__note{ margin-top: 12px; color: rgba(255,255,255,.72); font-weight:800; }

.alm-footposts{ display:grid; gap:10px; }
.alm-footpost{
  display:grid; gap:4px;
  padding:10px 12px;
  border-radius:16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.alm-footpost__title{ font-weight:900; color:rgba(255,255,255,.92); }
.alm-footpost__meta{ color:rgba(255,255,255,.62); font-weight:800; font-size:.9rem; }

.alm-footer__social{ margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; }
.alm-footicon{
  width:40px; height:40px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-weight:1000;
}

.alm-footer__bottom{
  border-top:1px solid rgba(255,255,255,.10);
  padding: 14px 0;
}
.alm-footer__bottominner{
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  color: rgba(255,255,255,.72);
  font-weight: 800;
}
.alm-footer__legal{ display:flex; gap:12px; flex-wrap:wrap; }
.alm-footer__legal a{ color: rgba(255,255,255,.75); }
.alm-footer__legal a:hover{ color:#FFE7A6; }

@media (max-width: 1100px){
  .alm-footer__grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px){
  .alm-footer__topinner{ flex-direction:column; align-items:stretch; text-align:center; }
  .alm-footer__topactions{ justify-content:center; }
  .alm-footer__grid{ grid-template-columns: 1fr; }
  .alm-footer__bottominner{ flex-direction:column; text-align:center; }
}
/* ================================== */

/* ===== page.php styling (add to main CSS) ===== */
.alm-page{ background:#fff; text-align: right; direction: rtl !important; }

/* Hero */
.alm-pagehero{
  position: relative;
  padding: 56px 0 26px;
  background:#0B1F3A;
  color:#fff;
  overflow:hidden;
}
.alm-pagehero__bg{
  position:absolute; inset:-160px -160px auto -160px;
  height: 520px;
  background:
    radial-gradient(circle at 18% 26%, rgba(212,175,55,.22), transparent 58%),
    radial-gradient(circle at 74% 18%, rgba(255,255,255,.10), transparent 58%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 16px);
  transform: skewY(-6deg);
  opacity:.95;
}
.alm-pagehero .container{ position:relative; z-index:2; }
.alm-pagehero__meta{
  display:flex; gap:10px; flex-wrap:wrap;
  color: rgba(255,255,255,.78);
  font-weight: 800;
  margin-top: 8px;
}
.alm-pagehero__actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }

.alm-pagehero__figure{
  margin: 18px 0 0;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 70px rgba(0,0,0,.25);
}
.alm-pagehero__figure img{ width:100%; height:auto; display:block; }

/* Layout */
.alm-section{ padding: 48px 0 70px; }
.alm-pagegrid{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap: 16px;
  align-items:start;
}

.alm-pagecontent .alm-content p{
  color:#4D5D75;
  font-weight: 750;
  line-height: 2;
  font-size: 1.05rem;
}
.alm-pagecontent .alm-content h2,
.alm-pagecontent .alm-content h3{
  margin-top: 26px;
  color:#0B1F3A;
  font-weight:1000;
  line-height: 1.3;
}
.alm-pagecontent .alm-content a{ color:#0B1F3A; font-weight:1000; }
.alm-pagecontent .alm-content a:hover{ color:#B8901F; }

.alm-page-links{
  margin-top: 18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  font-weight: 900;
  color:#0B1F3A;
}
.alm-page-links a{
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(16,43,76,.10);
  background: rgba(11,31,58,.04);
  text-decoration:none;
}

/* Sidebar */
.alm-pageside{ position: sticky; top: 20px; display:grid; gap:12px; }
.alm-sidelist{
  background: linear-gradient(180deg, #fff, #f7faff);
  border: 1px solid rgba(16,43,76,.10);
  border-radius: 22px;
  padding: 14px;
}
.alm-sidelist__title{ font-weight:1000; color:#0B1F3A; margin-bottom:10px; }
.alm-sidelist__nav{ display:grid; gap:8px; }
.alm-sidelist__link{
  text-decoration:none;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(16,43,76,.10);
  background:#fff;
  color:#0B1F3A;
  font-weight: 900;
}
.alm-sidelist__link:hover{ border-color: rgba(212,175,55,.28); }
.alm-sidelist__link.is-active{
  background: rgba(212,175,55,.16);
  border-color: rgba(212,175,55,.28);
}

.alm-sidebox{
  background: linear-gradient(135deg, rgba(11,31,58,.98), rgba(16,43,76,.98));
  color:#fff;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 18px 46px rgba(11,31,58,.18);
}
.alm-sidebox__title{ font-weight:1000; }
.alm-sidebox__text{ margin-top:6px; color: rgba(255,255,255,.80); font-weight: 800; line-height:1.7; }
.alm-sidebox__actions{ margin-top: 12px; display:flex; gap:10px; flex-wrap:wrap; }
.alm-sidebox__trust{ margin-top: 12px; display:flex; gap:8px; flex-wrap:wrap; }
.alm-sidebox__trust span{
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  padding:8px 12px;
  font-weight:900;
  color: rgba(255,255,255,.92);
}

.alm-widgetwrap .widget{
  border-radius: 22px;
  border: 1px solid rgba(16,43,76,.10);
  background:#fff;
  padding: 14px;
  box-shadow: 0 14px 34px rgba(11,31,58,.07);
}

/* Bottom CTA */
.alm-pagefinalcta{ margin-top: 16px; }
.alm-pagefinalcta__inner{
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(11,31,58,.98), rgba(16,43,76,.98));
  color:#fff;
  box-shadow: 0 18px 46px rgba(11,31,58,.18);
  display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap;
}
.alm-pagefinalcta__actions{ display:flex; gap:10px; flex-wrap:wrap; }

@media (max-width: 1100px){
  .alm-pagegrid{ grid-template-columns: 1fr; }
  .alm-pageside{ position: relative; top:auto; }
}


/* Archive hero */
.alm-archivehero{
  position: relative;
  padding: 56px 0 26px;
  background:#0B1F3A;
  color:#fff;
  overflow:hidden;
}
.alm-archivehero__bg{
  position:absolute; inset:-160px -160px auto -160px;
  height: 520px;
  background:
    radial-gradient(circle at 18% 26%, rgba(212,175,55,.22), transparent 58%),
    radial-gradient(circle at 74% 18%, rgba(255,255,255,.10), transparent 58%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 16px);
  transform: skewY(-6deg);
  opacity:.95;
}
.alm-archivehero .container{ position:relative; z-index:2; }

.alm-archivegrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Post card */
.alm-postcard{
  display:block;
  text-decoration:none;
  background:#fff;
  border: 1px solid rgba(16,43,76,.10);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 14px 34px rgba(11,31,58,.07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.alm-postcard:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(11,31,58,.12);
  border-color: rgba(212,175,55,.28);
}
.alm-postcard__media{
  height: 170px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.alm-postcard__media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(11,31,58,.10), rgba(11,31,58,.55));
}
.alm-postcard__body{ padding: 14px; }
.alm-postcard__meta{
  color:#5C6B80; font-weight: 800; font-size:.92rem;
  display:flex; gap:8px; flex-wrap:wrap; align-items:center;
}
.alm-postcard__title{
  margin: 8px 0 0;
  font-weight: 1000;
  color:#0B1F3A;
  line-height: 1.35;
  font-size: 1.05rem;
}
.alm-postcard__excerpt{
  margin: 10px 0 0;
  color:#5C6B80;
  font-weight: 750;
  line-height: 1.75;
}
.alm-postcard__read{
  display:inline-block;
  margin-top: 12px;
  font-weight: 1000;
  color:#0B1F3A;
}

/* Pagination */
.alm-pagination{ margin-top: 18px; }
.alm-pagination .nav-links{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
}
.alm-pagination a, .alm-pagination span{
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(16,43,76,.10);
  background:#fff;
  color:#0B1F3A;
  font-weight: 900;
  text-decoration:none;
}
.alm-pagination .current{
  background: rgba(212,175,55,.16);
  border-color: rgba(212,175,55,.28);
}

/* Search bar */
.alm-searchbar{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.alm-searchbar input{
  flex: 1;
  min-width: 240px;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color:#fff;
}
.alm-searchbar input::placeholder{ color: rgba(255,255,255,.70); }
.alm-searchbar button{
  padding: 10px 14px;
  border-radius: 14px;
  border:1px solid rgba(212,175,55,.30);
  background: rgba(212,175,55,.18);
  color:#FFE7A6;
  font-weight: 1000;
  cursor:pointer;
}

/* 404 */
.alm-404box{ padding: 70px 0; background:#fff; }
.alm-404card{
  border-radius: 26px;
  border:1px solid rgba(16,43,76,.10);
  box-shadow: 0 22px 60px rgba(11,31,58,.10);
  padding: 18px;
  background: linear-gradient(180deg,#fff,#f7faff);
}
.alm-404code{
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 1000;
  background: rgba(212,175,55,.16);
  border:1px solid rgba(212,175,55,.28);
  color:#0B1F3A;
}
.alm-404actions{ margin-top: 14px; display:flex; gap:10px; flex-wrap:wrap; }

@media (max-width: 980px){
  .alm-archivegrid{ grid-template-columns: 1fr; }
  .alm-postcard__media{ height: 190px; }
  .alm-searchbar input{ background: rgba(255,255,255,.14); }
}
