/* ==========================================================
   Hamat Articles Manager — Widget Styles
   يشمل: لوب الأرشيف + قالب المقال الواحد
   ========================================================== */

/* ---------- CSS Variables ---------- */
.hamat-articles-archive-widget,
.hamat-article-single-widget {
  --hm-navy:       #0B1F33;
  --hm-gold:       #C9A24D;
  --hm-white:      #FFFFFF;
  --hm-soft:       #F5F7FA;
  --hm-text:       #2B2B2B;
  --hm-muted:      #6B7280;
  --hm-border:     #E5E7EB;
  --hm-radius:     16px;
  --hm-radius-lg:  28px;
  --hm-shadow:     0 22px 60px rgba(11, 31, 51, 0.11);
  --hm-shadow-soft:0 12px 34px rgba(11, 31, 51, 0.08);
  font-family: "Tajawal", sans-serif;
  color: var(--hm-text);
}

.hamat-articles-archive-widget *,
.hamat-article-single-widget * {
  box-sizing: border-box;
}

.hamat-articles-archive-widget img,
.hamat-article-single-widget img {
  max-width: 100%;
  display: block;
}

.hamat-articles-archive-widget a,
.hamat-article-single-widget a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Container ---------- */
.hm-art-container {
  width: min(1200px, calc(100% - 36px));
  margin-inline: auto;
}

/* ---------- Eyebrow Badge ---------- */
.hm-art-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--hm-gold);
  background: rgba(201, 162, 77, 0.12);
  border: 1px solid rgba(201, 162, 77, 0.2);
  font-size: 14px;
  font-weight: 900;
}

.hm-art-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hm-gold);
}

/* ---------- Buttons ---------- */
.hm-art-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 900;
  font-family: inherit;
  transition: 0.25s ease;
  cursor: pointer;
  border: none;
}

.hm-art-btn-gold {
  background: linear-gradient(135deg, var(--hm-gold), #e6c66d);
  color: var(--hm-navy);
  box-shadow: 0 14px 32px rgba(201, 162, 77, 0.28);
}

.hm-art-btn-outline {
  border: 1px solid rgba(201, 162, 77, 0.6);
  color: var(--hm-white);
  background: rgba(255, 255, 255, 0.06);
}

.hm-art-btn:hover { transform: translateY(-3px); }

/* ==========================================================
   ARCHIVE WIDGET — Posts Loop
   ========================================================== */

/* --- Hero Section --- */
.hamat-articles-archive-widget .hm-art-hero {
  position: relative;
  padding: 96px 0 76px;
  overflow: hidden;
  color: var(--hm-white);
  background:
    radial-gradient(circle at 20% 15%, rgba(201, 162, 77, 0.26), transparent 32%),
    linear-gradient(135deg, #071827 0%, var(--hm-navy) 55%, #102c46 100%);
}

.hamat-articles-archive-widget .hm-art-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% -10%;
  height: 350px;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(-3deg);
  pointer-events: none;
}

.hamat-articles-archive-widget .hm-art-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hamat-articles-archive-widget .hm-art-hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -1px;
}

.hamat-articles-archive-widget .hm-art-hero-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.9;
  margin: 0;
}

.hamat-articles-archive-widget .hm-art-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* Featured Article Card in Hero */
.hamat-articles-archive-widget .hm-art-featured {
  position: relative;
  padding: 34px;
  min-height: 360px;
  border-radius: var(--hm-radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.hamat-articles-archive-widget .hm-art-featured::after {
  content: "مقالات";
  position: absolute;
  bottom: -22px;
  left: 16px;
  color: rgba(255, 255, 255, 0.05);
  font-size: 96px;
  font-weight: 900;
  pointer-events: none;
}

.hamat-articles-archive-widget .hm-art-featured-label,
.hamat-articles-archive-widget .hm-art-mini-tag {
  display: inline-block;
  color: var(--hm-navy);
  background: var(--hm-gold);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
}

.hamat-articles-archive-widget .hm-art-featured-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 38px 0 18px;
  border-radius: 22px;
  color: var(--hm-gold);
  background: rgba(11, 31, 51, 0.72);
  font-size: 34px;
}

.hamat-articles-archive-widget .hm-art-featured h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.25;
}

.hamat-articles-archive-widget .hm-art-featured p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.hamat-articles-archive-widget .hm-art-featured a:not(.hm-art-btn) {
  color: var(--hm-gold);
  font-weight: 900;
}

/* --- Toolbar (Search + Filter) --- */
.hamat-articles-archive-widget .hm-art-toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hm-border);
}

.hamat-articles-archive-widget .hm-art-toolbar-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.hamat-articles-archive-widget .hm-art-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--hm-border);
  border-radius: 999px;
  background: var(--hm-white);
  box-shadow: var(--hm-shadow-soft);
}

.hamat-articles-archive-widget .hm-art-search-box .hm-art-search-icon {
  color: var(--hm-gold);
  font-size: 22px;
  flex-shrink: 0;
}

.hamat-articles-archive-widget .hm-art-search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  font-family: inherit;
  font-size: 16px;
  background: transparent;
  color: var(--hm-text);
}

.hamat-articles-archive-widget .hm-art-filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hamat-articles-archive-widget .hm-art-chip {
  cursor: pointer;
  border: 1px solid var(--hm-border);
  background: var(--hm-white);
  color: var(--hm-muted);
  border-radius: 999px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  transition: 0.22s ease;
}

.hamat-articles-archive-widget .hm-art-chip:hover,
.hamat-articles-archive-widget .hm-art-chip.is-active {
  color: var(--hm-navy);
  border-color: rgba(201, 162, 77, 0.65);
  background: rgba(201, 162, 77, 0.12);
}

/* --- Articles List Section --- */
.hamat-articles-archive-widget .hm-art-list-section {
  padding: 86px 0;
  background: var(--hm-soft);
}

.hamat-articles-archive-widget .hm-art-section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.hamat-articles-archive-widget .hm-art-section-head h2 {
  margin: 14px 0 12px;
  color: var(--hm-navy);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.15;
  font-weight: 900;
}

.hamat-articles-archive-widget .hm-art-section-head p {
  margin: 0;
  color: var(--hm-muted);
  font-size: 18px;
  line-height: 1.8;
}

/* --- Articles Grid --- */
.hamat-articles-archive-widget .hm-art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* --- Article Card --- */
.hamat-articles-archive-widget .hm-art-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--hm-radius-lg);
  background: var(--hm-white);
  border: 1px solid var(--hm-border);
  box-shadow: var(--hm-shadow-soft);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.hamat-articles-archive-widget .hm-art-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 77, 0.8);
  box-shadow: var(--hm-shadow);
}

.hamat-articles-archive-widget .hm-art-card-media {
  position: relative;
  display: block;
  min-height: 230px;
  overflow: hidden;
  background: var(--hm-navy);
}

.hamat-articles-archive-widget .hm-art-card-media img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.5s ease, opacity 0.35s ease;
}

.hamat-articles-archive-widget .hm-art-card:hover .hm-art-card-media img {
  transform: scale(1.06);
  opacity: 1;
}

.hamat-articles-archive-widget .hm-art-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(11, 31, 51, 0.62));
}

.hamat-articles-archive-widget .hm-art-card-cat-tag {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  right: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--hm-navy);
  background: var(--hm-gold);
  font-size: 13px;
  font-weight: 900;
}

.hamat-articles-archive-widget .hm-art-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.hamat-articles-archive-widget .hm-art-card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  color: var(--hm-muted);
  font-size: 13px;
  font-weight: 800;
}

.hamat-articles-archive-widget .hm-art-card-meta span {
  position: relative;
}

.hamat-articles-archive-widget .hm-art-card-meta span:not(:last-child)::after {
  content: "•";
  margin-inline-start: 12px;
  color: var(--hm-gold);
}

.hamat-articles-archive-widget .hm-art-card-body h3 {
  margin: 0 0 12px;
  color: var(--hm-navy);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.hamat-articles-archive-widget .hm-art-card-body p {
  margin: 0 0 20px;
  color: var(--hm-muted);
  font-size: 16px;
  line-height: 1.8;
  flex: 1;
}

.hamat-articles-archive-widget .hm-art-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--hm-gold);
  font-weight: 900;
  transition: 0.22s ease;
}

.hamat-articles-archive-widget .hm-art-read-more:hover {
  transform: translateX(-4px);
}

/* Dark card variant */
.hamat-articles-archive-widget .hm-art-card-dark {
  color: var(--hm-white);
  background:
    radial-gradient(circle at top left, rgba(201, 162, 77, 0.25), transparent 34%),
    linear-gradient(145deg, var(--hm-navy), #071827);
  border-color: rgba(201, 162, 77, 0.25);
}

.hamat-articles-archive-widget .hm-art-card-dark .hm-art-card-body {
  justify-content: flex-end;
  min-height: 420px;
}

.hamat-articles-archive-widget .hm-art-card-dark h3,
.hamat-articles-archive-widget .hm-art-card-dark p { color: var(--hm-white); }
.hamat-articles-archive-widget .hm-art-card-dark p { opacity: 0.75; }

/* Empty State */
.hamat-articles-archive-widget .hm-art-empty {
  margin-top: 32px;
  padding: 48px 32px;
  border-radius: var(--hm-radius-lg);
  text-align: center;
  background: var(--hm-white);
  border: 1px dashed rgba(201, 162, 77, 0.6);
}

.hamat-articles-archive-widget .hm-art-empty h3 {
  margin: 0 0 8px;
  color: var(--hm-navy);
}

.hamat-articles-archive-widget .hm-art-empty p {
  margin: 0;
  color: var(--hm-muted);
}

/* --- CTA Section --- */
.hamat-articles-archive-widget .hm-art-cta-section {
  padding: 80px 0;
  background: var(--hm-white);
}

.hamat-articles-archive-widget .hm-art-cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 42px;
  border-radius: var(--hm-radius-lg);
  color: var(--hm-white);
  background:
    radial-gradient(circle at 10% 20%, rgba(201, 162, 77, 0.24), transparent 30%),
    linear-gradient(135deg, var(--hm-navy), #071827);
  box-shadow: var(--hm-shadow);
}

.hamat-articles-archive-widget .hm-art-cta-box h2 {
  margin: 12px 0 10px;
  font-size: clamp(28px, 3vw, 42px);
}

.hamat-articles-archive-widget .hm-art-cta-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

/* ==========================================================
   SINGLE WIDGET — Article Single Template
   ========================================================== */

/* --- Hero --- */
.hamat-article-single-widget .hm-art-single-hero {
  padding: 80px 0 70px;
  color: var(--hm-white);
  background:
    radial-gradient(circle at top right, rgba(201, 162, 77, 0.22), transparent 35%),
    linear-gradient(135deg, var(--hm-navy), #071827);
}

.hamat-article-single-widget .hm-art-single-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 44px;
  align-items: center;
}

.hamat-article-single-widget .hm-art-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  transition: 0.2s ease;
}

.hamat-article-single-widget .hm-art-back-link:hover {
  color: var(--hm-gold);
}

.hamat-article-single-widget .hm-art-single-hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.hamat-article-single-widget .hm-art-single-hero-copy p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.9;
  margin: 0;
}

.hamat-article-single-widget .hm-art-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.hamat-article-single-widget .hm-art-single-meta span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.hamat-article-single-widget .hm-art-single-hero-media {
  position: relative;
  border-radius: var(--hm-radius-lg);
}

.hamat-article-single-widget .hm-art-single-hero-media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--hm-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.hamat-article-single-widget .hm-art-media-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hm-navy);
  box-shadow: var(--hm-shadow-soft);
}

.hamat-article-single-widget .hm-art-media-note strong,
.hamat-article-single-widget .hm-art-media-note span { display: block; }
.hamat-article-single-widget .hm-art-media-note strong {
  margin-bottom: 6px;
  color: var(--hm-gold);
  font-size: 15px;
}
.hamat-article-single-widget .hm-art-media-note span {
  color: var(--hm-muted);
  line-height: 1.6;
  font-size: 14px;
}

/* --- Layout Section --- */
.hamat-article-single-widget .hm-art-single-layout-section {
  padding: 76px 0;
  background: var(--hm-soft);
}

.hamat-article-single-widget .hm-art-single-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  align-items: start;
}

/* --- Sidebar --- */
.hamat-article-single-widget .hm-art-sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 18px;
}

.hamat-article-single-widget .hm-art-toc-card,
.hamat-article-single-widget .hm-art-help-card,
.hamat-article-single-widget .hm-art-content-card {
  border-radius: var(--hm-radius-lg);
  background: var(--hm-white);
  border: 1px solid var(--hm-border);
  box-shadow: var(--hm-shadow-soft);
}

.hamat-article-single-widget .hm-art-toc-card,
.hamat-article-single-widget .hm-art-help-card { padding: 24px; }

.hamat-article-single-widget .hm-art-toc-card h3 {
  margin: 0 0 16px;
  color: var(--hm-navy);
  font-size: 20px;
}

.hamat-article-single-widget .hm-art-toc-card a {
  display: block;
  padding: 12px 0;
  color: var(--hm-muted);
  font-weight: 800;
  font-size: 15px;
  border-bottom: 1px solid var(--hm-border);
  transition: 0.2s ease;
}

.hamat-article-single-widget .hm-art-toc-card a:hover,
.hamat-article-single-widget .hm-art-toc-card a.is-active {
  color: var(--hm-gold);
  padding-right: 8px;
}

.hamat-article-single-widget .hm-art-help-card {
  background:
    radial-gradient(circle at top left, rgba(201, 162, 77, 0.2), transparent 40%),
    var(--hm-navy);
  color: var(--hm-white);
  border-color: rgba(201, 162, 77, 0.22);
}

.hamat-article-single-widget .hm-art-help-card .hm-art-help-label {
  color: var(--hm-gold);
  font-weight: 900;
  font-size: 14px;
}

.hamat-article-single-widget .hm-art-help-card h3 {
  color: var(--hm-white);
  margin: 8px 0 12px;
  font-size: 20px;
}

.hamat-article-single-widget .hm-art-help-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin: 0 0 16px;
  font-size: 15px;
}

.hamat-article-single-widget .hm-art-help-card a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--hm-gold);
  color: var(--hm-navy);
  font-weight: 900;
  transition: 0.25s ease;
}

.hamat-article-single-widget .hm-art-help-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 77, 0.35);
}

/* --- Article Content --- */
.hamat-article-single-widget .hm-art-content-card {
  padding: clamp(26px, 4vw, 56px);
}

.hamat-article-single-widget .hm-art-content-card h2 {
  position: relative;
  margin: 0 0 18px;
  color: var(--hm-navy);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.25;
  font-weight: 900;
  padding-top: 24px;
}

.hamat-article-single-widget .hm-art-content-card h2::before {
  content: "";
  display: inline-block;
  width: 38px;
  height: 4px;
  margin-left: 12px;
  border-radius: 999px;
  background: var(--hm-gold);
  vertical-align: middle;
}

.hamat-article-single-widget .hm-art-content-card p {
  color: var(--hm-muted);
  font-size: 18px;
  line-height: 2;
  margin: 0 0 18px;
}

.hamat-article-single-widget .hm-art-content-card ul,
.hamat-article-single-widget .hm-art-content-card ol {
  padding-right: 20px;
  color: var(--hm-muted);
  font-size: 17px;
  line-height: 2;
}

.hamat-article-single-widget .hm-art-content-card img {
  border-radius: var(--hm-radius);
  margin: 24px 0;
}

.hamat-article-single-widget .hm-art-content-card blockquote {
  margin: 24px 0;
  padding: 20px 24px 20px 20px;
  border-right: 4px solid var(--hm-gold);
  background: rgba(201, 162, 77, 0.06);
  border-radius: 0 12px 12px 0;
  color: var(--hm-navy);
  font-weight: 700;
  font-size: 18px;
}

/* --- Related Articles Section --- */
.hamat-article-single-widget .hm-art-related-section {
  padding: 86px 0;
  background: var(--hm-soft);
}

/* Inherit card styles */
.hamat-article-single-widget .hm-art-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--hm-radius-lg);
  background: var(--hm-white);
  border: 1px solid var(--hm-border);
  box-shadow: var(--hm-shadow-soft);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.hamat-article-single-widget .hm-art-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 77, 0.8);
  box-shadow: var(--hm-shadow);
}

.hamat-article-single-widget .hm-art-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hamat-article-single-widget .hm-art-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--hm-navy);
}

.hamat-article-single-widget .hm-art-card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.5s ease, opacity 0.35s ease;
}

.hamat-article-single-widget .hm-art-card:hover .hm-art-card-media img {
  transform: scale(1.06);
  opacity: 1;
}

.hamat-article-single-widget .hm-art-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(11, 31, 51, 0.62));
}

.hamat-article-single-widget .hm-art-card-cat-tag {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  right: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--hm-navy);
  background: var(--hm-gold);
  font-size: 13px;
  font-weight: 900;
}

.hamat-article-single-widget .hm-art-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.hamat-article-single-widget .hm-art-card-body h3 {
  margin: 0 0 12px;
  color: var(--hm-navy);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
}

.hamat-article-single-widget .hm-art-card-body p {
  margin: 0 0 16px;
  color: var(--hm-muted);
  font-size: 15px;
  line-height: 1.8;
  flex: 1;
}

.hamat-article-single-widget .hm-art-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--hm-gold);
  font-weight: 900;
  transition: 0.22s ease;
}

.hamat-article-single-widget .hm-art-section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.hamat-article-single-widget .hm-art-section-head h2 {
  margin: 14px 0 12px;
  color: var(--hm-navy);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  font-weight: 900;
}

/* ==========================================================
   ACF Structured Blocks — Check Grid / Steps / Benefits / FAQ
   ========================================================== */

/* ---- Check Grid ---- */
.hamat-article-single-widget .hm-art-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 32px;
}

.hamat-article-single-widget .hm-art-check-grid div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(201, 162, 77, 0.06);
  border: 1px solid rgba(201, 162, 77, 0.22);
  color: var(--hm-navy);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  transition: background 0.22s ease, border-color 0.22s ease;
}

.hamat-article-single-widget .hm-art-check-grid div::before {
  content: "\2714";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hm-gold);
  color: var(--hm-navy);
  font-size: 13px;
  font-weight: 900;
}

.hamat-article-single-widget .hm-art-check-grid div:hover {
  background: rgba(201, 162, 77, 0.12);
  border-color: rgba(201, 162, 77, 0.45);
}

/* ---- Step List ---- */
.hamat-article-single-widget .hm-art-step-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 32px;
  counter-reset: steps;
}

.hamat-article-single-widget .hm-art-step-list li {
  counter-increment: steps;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--hm-border);
  color: var(--hm-muted);
  font-size: 17px;
  line-height: 1.8;
}

.hamat-article-single-widget .hm-art-step-list li:last-child {
  border-bottom: none;
}

.hamat-article-single-widget .hm-art-step-list li::before {
  content: counter(steps, decimal-leading-zero);
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--hm-navy);
  color: var(--hm-gold);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.hamat-article-single-widget .hm-art-step-list li strong {
  color: var(--hm-navy);
}

/* ---- Benefit Cards ---- */
.hamat-article-single-widget .hm-art-benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 32px;
}

.hamat-article-single-widget .hm-art-benefit-cards > div {
  padding: 24px;
  border-radius: var(--hm-radius);
  background: var(--hm-white);
  border: 1px solid var(--hm-border);
  box-shadow: var(--hm-shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hamat-article-single-widget .hm-art-benefit-cards > div:hover {
  transform: translateY(-6px);
  box-shadow: var(--hm-shadow);
}

.hamat-article-single-widget .hm-art-benefit-cards span {
  display: block;
  margin-bottom: 12px;
  font-size: 36px;
  font-weight: 900;
  color: var(--hm-gold);
  opacity: 0.7;
  letter-spacing: -1px;
}

.hamat-article-single-widget .hm-art-benefit-cards h3 {
  margin: 0 0 10px;
  color: var(--hm-navy);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.3;
}

.hamat-article-single-widget .hm-art-benefit-cards p {
  margin: 0;
  color: var(--hm-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ---- FAQ Accordion ---- */
.hamat-article-single-widget .hm-art-faq-item {
  border-radius: 14px;
  border: 1px solid var(--hm-border);
  background: var(--hm-white);
  overflow: hidden;
  margin-bottom: 10px;
  transition: border-color 0.22s ease;
}

.hamat-article-single-widget .hm-art-faq-item:has(.hm-art-faq-btn[aria-expanded="true"]) {
  border-color: rgba(201, 162, 77, 0.5);
}

.hamat-article-single-widget .hm-art-faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  font-weight: 900;
  color: var(--hm-navy);
  text-align: right;
  transition: color 0.2s ease;
}

.hamat-article-single-widget .hm-art-faq-btn::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 162, 77, 0.12);
  color: var(--hm-gold);
  font-size: 20px;
  font-weight: 900;
  transition: transform 0.28s ease, background 0.22s ease;
}

.hamat-article-single-widget .hm-art-faq-btn[aria-expanded="true"] {
  color: var(--hm-gold);
}

.hamat-article-single-widget .hm-art-faq-btn[aria-expanded="true"]::after {
  content: "\2212";
  background: var(--hm-gold);
  color: var(--hm-navy);
  transform: rotate(180deg);
}

.hamat-article-single-widget .hm-art-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.28s ease;
}

.hamat-article-single-widget .hm-art-faq-answer.is-open {
  max-height: 800px;
  padding: 0 24px 22px;
}

.hamat-article-single-widget .hm-art-faq-answer p {
  margin: 0;
  color: var(--hm-muted);
  font-size: 16px;
  line-height: 1.9;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .hamat-articles-archive-widget .hm-art-hero-grid,
  .hamat-article-single-widget .hm-art-single-hero-grid,
  .hamat-article-single-widget .hm-art-single-layout,
  .hamat-articles-archive-widget .hm-art-cta-box {
    grid-template-columns: 1fr;
  }

  .hamat-articles-archive-widget .hm-art-toolbar-inner {
    grid-template-columns: 1fr;
  }

  .hamat-articles-archive-widget .hm-art-filter-chips {
    justify-content: flex-start;
  }

  .hamat-articles-archive-widget .hm-art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hamat-article-single-widget .hm-art-sidebar {
    position: static;
  }

  .hamat-article-single-widget .hm-art-benefit-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hamat-articles-archive-widget .hm-art-hero,
  .hamat-article-single-widget .hm-art-single-hero {
    padding: 56px 0;
  }

  .hamat-articles-archive-widget .hm-art-hero-copy h1 {
    font-size: 34px;
  }

  .hamat-articles-archive-widget .hm-art-grid,
  .hamat-article-single-widget .hm-art-related-grid {
    grid-template-columns: 1fr;
  }

  .hamat-articles-archive-widget .hm-art-cta-box {
    padding: 28px 20px;
  }

  .hamat-article-single-widget .hm-art-single-hero-media img {
    height: 280px;
  }

  .hamat-article-single-widget .hm-art-check-grid,
  .hamat-article-single-widget .hm-art-benefit-cards {
    grid-template-columns: 1fr;
  }
}

