/* Single base */
.alm-single{ background:#fff; direction: rtl; text-align: right;}
.alm-readingbar{
  position: sticky; top:0; z-index: 9999;
  height: 3px; background: rgba(11,31,58,.08);
}
.alm-readingbar__fill{
  display:block; height:100%;
  width: 0%;
  background: linear-gradient(90deg, #D4AF37, #B8901F);
  transition: width .08s linear;
}

.alm-single-hero{
  position: relative;
  padding: 56px 0 30px;
  background:#0B1F3A;
  color:#fff;
  overflow:hidden;
}
.alm-single-hero__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-single-hero .container{ position:relative; z-index:2; }

.alm-bc{ display:flex; gap:8px; flex-wrap:wrap; color:rgba(255,255,255,.72); font-weight:800; font-size:.92rem; }
.alm-bc a{ color:rgba(255,255,255,.85); text-decoration:none; }
.alm-bc a:hover{ color:#FFE7A6; }
.alm-bc__current{ color: rgba(255,255,255,.92); }

.alm-single-hero__cat{
  display:inline-flex; margin-top: 10px;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(212,175,55,.18);
  border: 1px solid rgba(212,175,55,.30);
  color:#FFE7A6; font-weight:1000;
  text-decoration:none;
}
.alm-single-hero__title{
  margin: 12px 0 10px;
  font-weight:1000;
  line-height:1.25;
  font-size: clamp(26px, 3vw, 46px);
}
.alm-single-hero__meta{
  display:flex; gap:10px; flex-wrap:wrap;
  color: rgba(255,255,255,.78);
  font-weight: 800;
}
.alm-dot{ opacity:.6; }

.alm-single-hero__actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }

.alm-single-hero__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-single-hero__figure img{
  width:100%; height:auto; display:block;
}

/* Body layout */
.alm-single-body{ padding: 48px 0 70px; background:#fff; }
.alm-single-grid{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap: 16px;
  align-items:start;
}

/* Article */
.alm-single-article{
  background:#fff;
  border: 1px solid rgba(16,43,76,.10);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(11,31,58,.07);
}
.alm-single-content{ color:#0B1220; }
.alm-single-content p{
  color:#4D5D75;
  font-weight: 750;
  line-height: 2;
  font-size: 1.05rem;
}
.alm-single-content h2, .alm-single-content h3{
  margin-top: 26px;
  color:#0B1F3A;
  font-weight:1000;
  line-height: 1.3;
}
.alm-single-content ul, .alm-single-content ol{
  color:#4D5D75;
  font-weight: 800;
  line-height: 1.9;
}
.alm-single-content a{ color:#0B1F3A; font-weight:1000; }
.alm-single-content a:hover{ color:#B8901F; }

/* Aside */
.alm-single-aside{
  position: sticky;
  top: 20px;
  display:grid;
  gap: 12px;
}
.alm-toc{
  background: linear-gradient(180deg, #fff, #f7faff);
  border: 1px solid rgba(16,43,76,.10);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 14px 34px rgba(11,31,58,.07);
}
.alm-toc__title{ font-weight:1000; color:#0B1F3A; margin-bottom:10px; }
.alm-toc__nav{ display:grid; gap:8px; }
.alm-toc__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-toc__link.level-3{ padding-right: 22px; opacity:.92; }
.alm-toc__link:hover{ border-color: rgba(212,175,55,.28); }

.alm-share{
  background:#fff;
  border: 1px solid rgba(16,43,76,.10);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 14px 34px rgba(11,31,58,.07);
}
.alm-share__title{ font-weight:1000; color:#0B1F3A; margin-bottom:10px; }
.alm-share__row{ display:flex; gap:10px; flex-wrap:wrap; }
.alm-share__btn{
  flex: 1;
  text-align:center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(16,43,76,.10);
  background: rgba(11,31,58,.04);
  color:#0B1F3A;
  font-weight: 1000;
  text-decoration:none;
}
.alm-share__btn:hover{ background: rgba(11,31,58,.07); border-color: rgba(212,175,55,.28); }

.alm-sidecta{
  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-sidecta__title{ font-weight:1000; }
.alm-sidecta__text{ margin-top:6px; color: rgba(255,255,255,.80); font-weight: 800; line-height:1.7; }
.alm-sidecta__actions{ margin-top: 12px; display:flex; gap:10px; flex-wrap:wrap; }

/* Tags */
.alm-tags{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 16px; }
.alm-tag{
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(16,43,76,.10);
  background: rgba(11,31,58,.04);
  text-decoration:none;
  color:#0B1F3A;
  font-weight: 1000;
}
.alm-tag:hover{ border-color: rgba(212,175,55,.28); }

/* Author */
.alm-author{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
  border-radius: 22px;
  border: 1px solid rgba(16,43,76,.10);
  background: linear-gradient(180deg, #fff, #f7faff);
  padding: 14px;
}
.alm-author__avatar{ width:56px; height:56px; border-radius: 18px; }
.alm-author__name{ font-weight:1000; color:#0B1F3A; }
.alm-author__desc{ margin-top:6px; color:#5C6B80; font-weight:800; line-height:1.7; }

/* Related */
.alm-related{ margin-top: 18px; }
.alm-related__head{
  display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap;
  margin-bottom: 10px;
}
.alm-related__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.alm-rpost{
  text-decoration:none;
  border-radius: 22px;
  overflow:hidden;
  border:1px solid rgba(16,43,76,.10);
  background:#fff;
  box-shadow: 0 14px 34px rgba(11,31,58,.07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.alm-rpost:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(11,31,58,.12);
  border-color: rgba(212,175,55,.28);
}
.alm-rpost__media{ height: 120px; background-size: cover; background-position:center; }
.alm-rpost__body{ padding: 12px; }
.alm-rpost__meta{ color:#5C6B80; font-weight:800; font-size:.92rem; }
.alm-rpost__title{ margin-top:6px; font-weight:1000; color:#0B1F3A; line-height:1.35; }

/* Final CTA */
.alm-single-finalcta{ margin-top: 16px; }
.alm-single-finalcta__inner{
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(159, 159, 159, 0.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-single-finalcta__actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* Responsive */
@media (max-width: 1100px){
  .alm-single-grid{ grid-template-columns: 1fr; }
  .alm-single-aside{ position: relative; top:auto; }
  .alm-related__grid{ grid-template-columns: 1fr; }
}

/* Blog Interactive */
.alm-blog{ background:#fff; }

/* Hero */
.alm-bloghero{
  position: relative;
  padding: 64px 0 36px;
  background:#0B1F3A;
  color:#fff;
  overflow:hidden;
}
.alm-bloghero__bg{
  position:absolute; inset:-160px -160px auto -160px;
  height: 560px;
  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-bloghero .container{ position:relative; z-index:2; }

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

/* Featured */
.alm-blogfeatured{ padding: 42px 0; background: linear-gradient(180deg,#fff,#f5f8ff); }
.alm-blogfeatured__head{ display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; align-items:center; margin-bottom: 12px; }
.alm-blogfeatured__hint{ color:#5C6B80; font-weight:850; }

.alm-fcard{
  display:block;
  text-decoration:none;
  border-radius: 22px;
  overflow:hidden;
  border:1px solid rgba(16,43,76,.10);
  background:#fff;
  box-shadow: 0 14px 34px rgba(11,31,58,.07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.alm-fcard:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(11,31,58,.12);
  border-color: rgba(212,175,55,.28);
}
.alm-fcard__media{ height: 190px; background-size:cover; background-position:center; position:relative; }
.alm-fcard__media::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(11,31,58,.08), rgba(11,31,58,.55)); }
.alm-fcard__body{ padding: 14px; }
.alm-fcard__meta{ color:#5C6B80; font-weight:850; display:flex; gap:8px; flex-wrap:wrap; }
.alm-fcard__title{ margin-top: 8px; color:#0B1F3A; font-weight:1000; line-height:1.3; }

.alm-fnav{ display:flex; gap:10px; margin-top: 10px; }
.alm-fprev,.alm-fnext{
  width:44px; height:44px; border-radius:14px;
  border: 1px solid rgba(16,43,76,.12);
  background:#fff; color:#0B1F3A; font-weight:1000; cursor:pointer;
}
.alm-fpag .swiper-pagination-bullet{ opacity:.25; background:#0B1F3A; }
.alm-fpag .swiper-pagination-bullet-active{ opacity:1; background: linear-gradient(135deg,#D4AF37,#B8901F); }

/* Filters */
.alm-blogfilters{ padding: 18px 0; background:#fff; border-top:1px solid rgba(16,43,76,.06); border-bottom:1px solid rgba(16,43,76,.06); }
.alm-filterbar{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; justify-content:space-between; }

.alm-filterchips{ display:flex; gap:10px; flex-wrap:wrap; }
.alm-chip{
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16,43,76,.10);
  background: rgba(11,31,58,.04);
  color:#0B1F3A;
  font-weight: 1000;
  cursor:pointer;
}
.alm-chip.is-active{
  background: rgba(212,175,55,.16);
  border-color: rgba(212,175,55,.28);
}
.alm-filters-right{ display:flex; gap:10px; flex-wrap:wrap; }
.alm-select{
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(16,43,76,.14);
  background:#fff;
  font-weight: 900;
  color:#0B1F3A;
}

/* Main layout */
.alm-blogmain{ padding: 42px 0 70px; background:#fff; }
.alm-bloggrid{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap: 16px;
  align-items:start;
}
.alm-blogstats{ margin-bottom: 12px; color:#5C6B80; font-weight: 900; }

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

/* Post card (same as archive) */
.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,.08), rgba(11,31,58,.55)); }
.alm-postcard__body{ padding: 14px; }
.alm-postcard__meta{ color:#5C6B80; font-weight:850; display:flex; gap:8px; flex-wrap:wrap; }
.alm-postcard__title{ margin-top: 8px; color:#0B1F3A; font-weight:1000; line-height:1.35; }
.alm-postcard__excerpt{ margin-top: 10px; color:#5C6B80; font-weight:750; line-height:1.75; }
.alm-postcard__read{ display:inline-block; margin-top: 12px; color:#0B1F3A; font-weight:1000; }

.alm-empty{
  padding: 18px;
  border-radius: 22px;
  border:1px solid rgba(16,43,76,.10);
  background: linear-gradient(180deg,#fff,#f7faff);
  color:#5C6B80;
  font-weight: 900;
}

/* Load more */
.alm-loadmore{
  margin-top: 16px;
  display:flex;
  gap: 12px;
  align-items:center;
}
.alm-loader{
  width: 0;
  height: 0;
}
.alm-loader.is-on{
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid rgba(11,31,58,.16);
  border-top-color: rgba(212,175,55,.9);
  animation: almspin .8s linear infinite;
}
@keyframes almspin{ to{ transform: rotate(360deg); } }

/* Sidebar */
.alm-blogside{ position: sticky; top: 20px; display:grid; gap: 12px; }

.alm-sidepanel{
  background: #fff;
  border:1px solid rgba(16,43,76,.10);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 14px 34px rgba(11,31,58,.07);
}
.alm-sidepanel__title{ font-weight:1000; color:#0B1F3A; margin-bottom: 10px; }
.alm-sidelinks{ display:grid; gap:10px; }
.alm-sidelink{
  text-decoration:none;
  padding: 10px 12px;
  border-radius: 18px;
  border:1px solid rgba(16,43,76,.10);
  background: rgba(11,31,58,.04);
}
.alm-sidelink__t{ display:block; color:#0B1F3A; font-weight:1000; line-height:1.35; }
.alm-sidelink__m{ display:block; margin-top: 4px; color:#5C6B80; font-weight:850; font-size:.92rem; }

.alm-tagcloud{ display:flex; gap:10px; flex-wrap:wrap; }

@media (max-width: 1100px){
  .alm-bloggrid{ grid-template-columns: 1fr; }
  .alm-blogside{ position: relative; top:auto; }
}
@media (max-width: 980px){
  .alm-archivegrid{ grid-template-columns: 1fr; }
  .alm-postcard__media{ height: 190px; }
  .alm-fcard__media{ height: 200px; }
}
