@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap");

:root {
  --sgcm-yellow: #ffd84d;
  --sgcm-orange: #ff6b2c;
  --sgcm-purple: #5732a8;
  --sgcm-ink: #201837;
  --sgcm-muted: #6c6579;
  --sgcm-line: #e8e0f2;
}

.sgcm-modern-archive-body {
  margin: 0 !important;
  color: var(--sgcm-ink);
  background: #fffdf6;
  font-family: "DM Sans", Arial, sans-serif !important;
}

.sgcm-modern-archive-body .elementor-location-header,
.sgcm-modern-archive-body [data-elementor-type="header"],
.sgcm-modern-archive-body .elementor-location-footer,
.sgcm-modern-archive-body [data-elementor-type="footer"] {
  display: none !important;
}

.sgcm-archive-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.sgcm-archive-header {
  position: relative;
  z-index: 10000;
  border-top: 6px solid var(--sgcm-yellow);
  box-shadow: 0 8px 30px rgba(55, 30, 96, .09);
}

.sgcm-archive-nav { background: rgba(255, 255, 255, .98); }

.sgcm-archive-nav__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.sgcm-archive-brand { display: inline-flex; margin-right: auto; }
.sgcm-archive-brand img { width: auto; height: 68px; object-fit: contain; }

.sgcm-archive-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.sgcm-archive-nav a,
.sgcm-archive-footer a { text-decoration: none !important; }

.sgcm-archive-menu > a {
  color: var(--sgcm-ink) !important;
  font-size: 14px;
  font-weight: 800;
}

.sgcm-archive-menu > a:hover { color: var(--sgcm-orange) !important; }

.sgcm-archive-menu .sgcm-archive-cta {
  padding: 13px 20px;
  border: 2px solid var(--sgcm-ink);
  border-radius: 999px;
  color: var(--sgcm-ink) !important;
  background: var(--sgcm-yellow);
  box-shadow: 4px 4px 0 var(--sgcm-ink);
}

.sgcm-archive-menu .sgcm-archive-cta:hover {
  color: #fff !important;
  background: var(--sgcm-orange);
}

.sgcm-archive-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 2px solid var(--sgcm-ink);
  border-radius: 10px;
  background: var(--sgcm-yellow);
}

.sgcm-archive-menu-button span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--sgcm-ink);
}

.sgcm-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sgcm-modern-archive-body .site-content,
.sgcm-modern-archive-body #content,
.sgcm-modern-archive-body #page {
  background: radial-gradient(circle at 8% 4%, #fff1b5 0, transparent 290px), linear-gradient(180deg, #fffaf0 0, #fff 430px);
}

.sgcm-modern-archive-body main.site-main,
.sgcm-modern-archive-body .elementor-location-single {
  font-family: "DM Sans", Arial, sans-serif;
}

.sgcm-modern-archive-body article:not(.elementor-post) { border-radius: 22px; }

.sgcm-modern-archive-body article :is(h1, h2, h3, h4),
.sgcm-modern-archive-body .elementor-location-single :is(h1, h2, h3, h4) {
  color: var(--sgcm-ink);
  font-family: "Space Grotesk", "DM Sans", sans-serif !important;
  line-height: 1.12;
}

.sgcm-modern-archive-body article :is(p, li),
.sgcm-modern-archive-body .elementor-location-single :is(p, li) { line-height: 1.75; }

.sgcm-modern-archive-body article img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.sgcm-modern-archive-body article a { color: var(--sgcm-purple); }

.sgcm-modern-archive-body article blockquote {
  padding: 18px 22px;
  border-left: 5px solid var(--sgcm-orange);
  background: #fff4c9;
}

.sgcm-archive-footer {
  position: relative;
  z-index: 20;
  color: #efe8ff;
  background: #29164b;
  font-family: "DM Sans", Arial, sans-serif;
}

.sgcm-archive-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 64px;
  padding-block: 58px;
}

.sgcm-archive-footer img { width: auto; height: 82px; object-fit: contain; }
.sgcm-archive-footer h2 { margin: 0 0 16px; color: var(--sgcm-yellow); font: 700 15px/1.2 "Space Grotesk", sans-serif; }
.sgcm-archive-footer p { max-width: 390px; color: #cbbde2; line-height: 1.7; }
.sgcm-archive-footer__grid > div:not(.sgcm-archive-footer__brand) { display: flex; flex-direction: column; gap: 11px; }
.sgcm-archive-footer a { color: #efe8ff !important; font-size: 14px; }
.sgcm-archive-footer a:hover { color: var(--sgcm-yellow) !important; }
.sgcm-archive-footer__bar { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .13); color: #b9a9d4; font-size: 13px; }

@media (max-width: 1000px) {
  .sgcm-archive-menu-button { display: block; }
  .sgcm-archive-menu {
    position: absolute;
    top: 94px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 18px;
    border: 2px solid var(--sgcm-ink);
    border-radius: 18px;
    background: #fff;
    box-shadow: 6px 6px 0 var(--sgcm-ink);
  }
  .sgcm-archive-menu.is-open { display: grid; gap: 4px; }
  .sgcm-archive-menu > a { padding: 10px 12px; }
  .sgcm-archive-menu .sgcm-archive-cta { margin-top: 6px; text-align: center; }
}

@media (max-width: 700px) {
  .sgcm-archive-container { width: min(100% - 28px, 1180px); }
  .sgcm-archive-nav__inner { min-height: 76px; }
  .sgcm-archive-brand img { height: 56px; max-width: 160px; }
  .sgcm-archive-menu { top: 82px; left: 14px; right: 14px; }
  .sgcm-archive-footer__grid { grid-template-columns: 1fr; gap: 30px; padding-block: 44px; }
}
