/*
 * Elhayat 2.1.0 — restrained visual layer.
 * This file intentionally does NOT redefine site width, fonts, archive card sizing,
 * grid geometry, header variants, or widget positions. Those remain controlled by
 * the original theme settings and main.css.
 */
:root {
  --eh-clean-border: rgba(100,116,139,.20);
}
.arena-section,
.arena-latest,
.arena-news-card,
.arena-article,
.arena-page-card,
.arena-archive-card,
.arena-widget,
.arena-footer-widget {
  box-shadow: none !important;
}
.arena-section,
.arena-latest,
.arena-news-card,
.arena-article,
.arena-page-card,
.arena-archive-card,
.arena-widget {
  border-radius: 8px;
}

/* Remove Moroccan motifs, patterned backgrounds and decorative pseudo-elements
   across the public site, while leaving real content images and layout untouched. */
html body,
body .arena-top,
body .arena-header,
body .arena-footer,
body .arena-section,
body .arena-latest,
body .arena-static-page-head,
body .arena-tag-archive-head,
body .arena-slider-shell,
body .arena-hero-slider,
body .arena-slide,
body .arena-slide-overlay {
  background-image: none !important;
}
body .arena-header::before,
body .arena-header::after,
body .ezh::before,
body .ezh::after,
body .arena-moroccan-corner,
body .arena-section-head::before,
body .arena-section-head::after,
body .arena-section-head h1::before,
body .arena-section-head h1::after,
body .arena-section-head h2::before,
body .arena-section-head h2::after,
body .arena-news-card h3::before,
body .arena-breaking-ticker b::before,
body .arena-article > header h1::after,
body .arena-entry h2::before,
body .arena-entry blockquote::before,
body .arena-footer::before,
body .arena-slider-shell::before,
body .arena-slider-shell::after,
body .arena-hero-slider::before,
body .arena-hero-slider::after,
body .arena-slide::before,
body .arena-slide::after,
body .arena-slide-overlay::before,
body .arena-slide-overlay::after {
  display: none !important;
  content: none !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Archive: restore a stable two-column desktop layout and predictable responsive
   collapse. Width continues to come from the original --arena-container setting. */
.arena-archive-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 24px !important;
  align-items: start !important;
  min-width: 0;
}
.arena-archive-main,
.arena-archive-sidebar {
  min-width: 0 !important;
  width: auto !important;
  max-width: 100%;
}
.arena-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}
.arena-archive-grid > * {
  min-width: 0;
  max-width: 100%;
}
.arena-archive-grid img {
  max-width: 100%;
}
.arena-pagination {
  clear: both;
  min-width: 0;
}
@media (max-width: 1100px) {
  .arena-archive-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .arena-archive-sidebar {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (max-width: 760px) {
  .arena-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .arena-archive-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .arena-archive-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
