/* Same framed card as the footer widgets. */
html body .mod-panel,
html body .mod-aside:not(.mod-design-media),
html body .mod-contact-form-panel,
html body .mod-journal-empty,
html body .mod-close,
html body #colophon .site-middle-footer-wrap .widget.widget_custom_html {
  border-radius: 18px !important;
  border: 1px solid rgba(212, 180, 131, .62) !important;
  background: linear-gradient(180deg, rgba(32, 22, 16, .84), rgba(10, 8, 6, .9)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 245, 225, .08),
    inset 0 0 0 6px rgba(14, 11, 8, .45),
    inset 0 0 0 7px rgba(184, 149, 106, .38),
    0 18px 36px rgba(0, 0, 0, .45) !important;
}

html body .mod-aside-item {
  border-radius: 10px !important;
  border: 0 !important;
  background: rgba(14, 11, 8, .35) !important;
  box-shadow: none !important;
}

html body .mod-card,
html body .mod-col,
html body .mod-design-card,
html body .mod-inv-card,
html body .mod-journal-card,
html body .mod-search-card,
html body .mod-cabinet-still,
html body .mod-video,
html body .mod-journal-figure,
html body .mod-design-media.mod-aside {
  position: relative !important;
  border-radius: 18px !important;
  border: 1px solid rgba(212, 180, 131, .62) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .45) !important;
  overflow: hidden !important;
}

html body .mod-card::after,
html body .mod-col::after,
html body .mod-design-card::after,
html body .mod-inv-card::after,
html body .mod-journal-card::after,
html body .mod-search-card::after,
html body .mod-cabinet-still::after,
html body .mod-video::after,
html body .mod-journal-figure::after,
html body .mod-design-media.mod-aside::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(184, 149, 106, .42);
  border-radius: 12px;
  pointer-events: none;
  z-index: 3;
}

html body .mod-card:hover,
html body .mod-col:hover,
html body .mod-design-card:hover,
html body .mod-inv-card:hover,
html body .mod-journal-card:hover,
html body .mod-search-card:hover {
  border-color: #e4c99a !important;
  transform: translateY(-3px);
}

/* Carnival plaques — primary is gilt enamel, the rest are dark tickets. */
html body .mod-cta a,
html body a.mod-inv-btn,
html body .mod-journal-empty a,
html body .mod-shop-readmore,
html body .mod-design-card a.button,
html body .wpforms-form button[type="submit"],
html body .wpforms-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
  border: 1px solid rgba(212, 180, 131, .7) !important;
  background: linear-gradient(180deg, #241910, #0e0b08) !important;
  color: #fff5e1 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 245, 225, .1),
    inset 0 0 0 4px rgba(14, 11, 8, .8),
    inset 0 0 0 5px rgba(184, 149, 106, .45),
    0 10px 20px rgba(0, 0, 0, .4) !important;
  transition: transform .15s ease, filter .15s ease !important;
}
html body .mod-cta a.mod-primary,
html body a.mod-inv-btn.mod-inv-btn-primary,
html body .mod-journal-empty a.mod-primary,
html body .mod-shop-readmore,
html body .mod-design-card a.button,
html body .wpforms-form button[type="submit"],
html body .wpforms-submit {
  border-color: #f0d7ae !important;
  background: linear-gradient(180deg, #f3dcba 0%, #d4b483 46%, #9a7344 100%) !important;
  color: #1a120c !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 225, .8),
    inset 0 0 0 3px rgba(90, 58, 28, .28),
    inset 0 0 0 4px rgba(255, 245, 225, .28),
    0 10px 22px rgba(0, 0, 0, .42) !important;
}
html body .mod-cta a:hover,
html body a.mod-inv-btn:hover,
html body .mod-journal-empty a:hover,
html body .mod-shop-readmore:hover,
html body .mod-design-card a.button:hover,
html body .wpforms-form button[type="submit"]:hover,
html body .wpforms-submit:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.06);
}
@media (max-width: 1024px) {
  html body .mod-cta,
  html body .mod-design-cta-inline,
  html body .mod-journal-empty,
  html body .wpforms-submit-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    text-align: center !important;
  }
  html body .mod-cta a,
  html body a.mod-inv-btn,
  html body .mod-journal-empty a,
  html body .mod-shop-readmore,
  html body .mod-design-card a.button,
  html body .wpforms-form button[type="submit"],
  html body .wpforms-submit,
  html body.single-mod_design .mod-design-cta-inline a.mod-primary {
    display: flex !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
}
