.elementor-2315 .elementor-element.elementor-element-3c5d5eec{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:108px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;overflow:visible;}.elementor-2315 .elementor-element.elementor-element-3c5d5eec:not(.elementor-motion-effects-element-type-background), .elementor-2315 .elementor-element.elementor-element-3c5d5eec > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F3F3F3;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-2315 .elementor-element.elementor-element-6a0c098f img{width:58%;}.elementor-2315 .elementor-element.elementor-element-a335b61{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;overflow:visible;}@media(max-width:767px){.elementor-2315 .elementor-element.elementor-element-6a0c098f img{width:100%;}}/* Start custom CSS *//* =========================
   MSPL MAGAZINE DESIGN SYSTEM
   ========================= */

:root {
  --mspl-bg: #f7f4ef;
  --mspl-surface: #ffffff;
  --mspl-text: #1a1a2e;
  --mspl-muted: #6b7280;
  --mspl-soft: #9ca3af;
  --mspl-accent: #c9a84c;
  --mspl-accent-soft: rgba(201, 168, 76, 0.13);
  --mspl-border: #d1c9bb;
  --mspl-line: #e5e0d8;
  --mspl-hero-1: #1a1a2e;
  --mspl-hero-2: #16213e;
  --mspl-hero-3: #0f3460;
  --mspl-radius: 4px;
  --mspl-shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.07);
  --mspl-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.13);
  --mspl-trans: all 0.3s ease;
}

.mspl-mag-page {
  background: var(--mspl-bg);
  color: var(--mspl-text);
  font-family: "DM Sans", sans-serif;
}

.mspl-mag-page h1,
.mspl-mag-page h2,
.mspl-mag-page h3,
.mspl-featured-title,
.mspl-archive-title,
.mspl-mag-title {
  font-family: "Playfair Display", serif;
  color: var(--mspl-text);
}

/* Shared utilities */
.mspl-tag {
  display: inline-block;
  background: var(--mspl-accent-soft);
  color: #a07830;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 2px;
  line-height: 1.2;
}

.mspl-read-btn .elementor-button,
a.mspl-read-btn,
.mspl-card-btn-wrap .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--mspl-text);
  color: var(--mspl-accent) !important;
  border: none;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.mspl-read-btn .elementor-button:hover,
a.mspl-read-btn:hover,
.mspl-card-btn-wrap .elementor-button:hover {
  background: var(--mspl-accent);
  color: var(--mspl-text) !important;
}

/* =========================
   FEATURED SECTION
   ========================= */

.mspl-featured-section {
  background: var(--mspl-surface);
  border-bottom: 1px solid #f1f1f1;
  padding: 48px 0;
}

.mspl-featured-card {
  background: var(--mspl-surface);
  border-radius: var(--mspl-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
  display: flex;
  transition: box-shadow 0.3s ease;
}

.mspl-featured-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.mspl-featured-cover {
  width: 220px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: #e8e4dd;
}

.mspl-featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* If no image, keeps your gradient mood */
.mspl-featured-cover.is-placeholder {
  background: linear-gradient(145deg, var(--mspl-hero-1) 0%, var(--mspl-hero-2) 50%, var(--mspl-hero-3) 100%);
}

.mspl-featured-content {
  flex: 1;
  padding: 32px;
}

.mspl-featured-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 14px;
}

.mspl-featured-excerpt {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 640px;
}

.mspl-featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.mspl-download-link {
  color: var(--mspl-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.mspl-download-link:hover {
  opacity: 0.7;
}

/* =========================
   FILTER + SEARCH TOOLBAR
   ========================= */

.mspl-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--mspl-surface);
  border-bottom: 1px solid #f1f1f1;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.mspl-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mspl-filter-btn {
  padding: 8px 16px;
  border-radius: 2px;
  border: 1px solid var(--mspl-border);
  background: #fff;
  color: var(--mspl-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: none;
}

.mspl-filter-btn:hover,
.mspl-filter-btn.is-active {
  background: var(--mspl-text);
  color: var(--mspl-accent);
  border-color: var(--mspl-text);
}

.mspl-search-wrap {
  position: relative;
  width: 220px;
  max-width: 100%;
}

.mspl-search-input {
  width: 100%;
  padding: 10px 42px 10px 14px;
  border: 1px solid var(--mspl-border);
  border-radius: 2px;
  background: #fff;
  color: var(--mspl-text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.mspl-search-input:focus {
  border-color: var(--mspl-accent);
}

/* =========================
   ARCHIVE SECTION
   ========================= */

.mspl-archive-section {
  background: var(--mspl-bg);
  padding: 48px 0;
}

.mspl-archive-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.mspl-archive-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.mspl-issue-count {
  color: var(--mspl-soft);
  font-size: 14px;
}

/* =========================
   MAGAZINE GRID + CARD
   ========================= */

/* Works with Loop Grid and Posts widget wrappers */
.mspl-magazine-grid .e-loop-item,
.mspl-magazine-grid .elementor-post,
.mspl-magazine-grid .mspl-mag-card {
  background: var(--mspl-surface);
  border-radius: var(--mspl-radius);
  overflow: hidden;
  box-shadow: var(--mspl-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.mspl-magazine-grid .e-loop-item:hover,
.mspl-magazine-grid .elementor-post:hover,
.mspl-magazine-grid .mspl-mag-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--mspl-shadow-lg);
}

/* Cover ratio: 1120 / 1754 */
.mspl-mag-cover,
.mspl-magazine-grid .elementor-post__thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 1120 / 1754;
  overflow: hidden;
  background: #e8e4dd;
}

.mspl-mag-cover img,
.mspl-magazine-grid .elementor-post__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card body spacing */
.mspl-mag-meta,
.mspl-mag-title,
.mspl-card-btn-wrap {
  padding-left: 14px;
  padding-right: 14px;
}

.mspl-mag-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mspl-soft);
}

.mspl-mag-meta .vol {
  color: var(--mspl-accent);
  font-weight: 600;
}

.mspl-mag-title,
.mspl-magazine-grid .elementor-post__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--mspl-text);
  margin: 0 14px 12px;
}

.mspl-magazine-grid .elementor-post__title a {
  color: inherit;
  text-decoration: none;
}

.mspl-card-btn-wrap {
  margin-bottom: 14px;
}

.mspl-card-btn-wrap .elementor-button {
  width: 100%;
  padding: 7px 12px;
  font-size: 10px;
}

/* =========================
   EMPTY STATE
   ========================= */

.mspl-empty-state {
  text-align: center;
  padding: 64px 0;
  color: #b6b6b6;
  font-size: 14px;
}

/* =========================
   PAGINATION
   ========================= */

.mspl-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.mspl-page-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--mspl-border);
  border-radius: 2px;
  background: #fff;
  color: var(--mspl-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mspl-page-btn:hover {
  background: #f0ebe3;
}

.mspl-page-btn.is-active {
  background: var(--mspl-text);
  color: var(--mspl-accent);
  border-color: var(--mspl-text);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1024px) {
  .mspl-featured-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .mspl-featured-card {
    flex-direction: column;
  }

  .mspl-featured-cover {
    width: 100%;
    height: 260px;
  }

  .mspl-featured-content {
    padding: 22px;
  }

  .mspl-featured-title,
  .mspl-archive-title {
    font-size: 24px;
  }

  .mspl-toolbar .elementor-container {
    row-gap: 12px;
  }

  .mspl-search-wrap {
    width: 100%;
  }
}/* End custom CSS */