@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap");

/* Slim Studio – white card, navy #233746 + gold #D4BF9C */

/* Background overlay */
.ponce-modal {
  margin-top: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  line-height: normal;
}

.ponce-button {
  margin: 0;
  background: none;
  border: none;
  color: #232323;
  font-size: 2em;
  cursor: pointer;
  line-height: 0.5;
  padding: 8px;
  z-index: 10;
}

#ponce-modal .ponce-popup.slim-studio-branded .slim-studio-popup-header button.ponce-button,
#ponce-modal .ponce-popup.slim-studio-branded .slim-studio-popup-header .ponce-button {
  margin: 0 !important;
  padding: 8px !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #232323 !important;
  font-size: 2em !important;
  line-height: 0.5 !important;
  cursor: pointer !important;
  min-width: 0 !important;
  min-height: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

#ponce-modal .ponce-popup.slim-studio-branded .slim-studio-popup-header .ponce-button:hover {
  color: #D4BF9C !important;
}

.ponce-popup.slim-studio-branded {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  font-family: "Montserrat", sans-serif;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: auto;
  margin-top: 10vh;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid #e8ecec;
}

.slim-studio-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 16px 44px;
  background-color: #ffffff;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(35, 55, 70, 0.15);
}

.slim-studio-popup-header .slim-studio-logo {
  height: 48px;
  width: auto;
  max-width: 260px;
  margin: 0;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.slim-studio-popup-header .ponce-button {
  color: #232323;
}

/* Hero on the right, copy on the left */
.slim-studio-popup-body {
  display: flex;
  flex-direction: row-reverse;
  flex: 1;
  min-height: 0;
}

.ponce-popup.slim-studio-branded .ponce-popup-content {
  flex: 1;
  background-color: #ffffff;
  color: #232323;
  padding: 40px 40px 40px 44px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ponce-popup.slim-studio-branded .ponce-popup-content ponce-header {
  font-size: 2em;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  padding: 0;
  margin: 0 0 12px 0;
  color: #232323;
  display: block;
}

.ponce-popup.slim-studio-branded .ponce-popup-content ponce-body {
  font-size: 1.1em;
  font-weight: 300;
  margin: 0 0 28px 0;
  line-height: 1.5;
  color: #5a5f5e;
  display: block;
}

.ponce-popup.slim-studio-branded .ponce-popup-content .slim-studio-cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  margin-bottom: 0;
}

.ponce-popup.slim-studio-branded .ponce-popup-content a.button-link-slim-studio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  background-color: #233746;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.15em;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(35, 55, 70, 0.35);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ponce-popup.slim-studio-branded .ponce-popup-content a.button-link-slim-studio:hover {
  background-color: #1a2b37;
  box-shadow: 0 6px 18px rgba(35, 55, 70, 0.45);
  transform: translateY(-1px);
}

.ponce-popup.slim-studio-branded
  .ponce-popup-content
  .slim-studio-cta-block
  ponce-subtext {
  font-size: 0.7em;
  color: #7D8180;
  font-weight: 400;
  margin: 0;
  padding: 0;
  letter-spacing: 0.05em;
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.ponce-popup.slim-studio-branded .ponce-popup-image {
  flex: 1;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 30px 16px 8px;
  position: relative;
}

.ponce-popup.slim-studio-branded .ponce-popup-image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 0;
  padding: 0;
  object-fit: contain;
}

@media (max-width: 768px) {
  .ponce-popup.slim-studio-branded {
    width: 90%;
    margin-top: 5vh;
    margin-bottom: 5vh;
    max-height: 90vh;
    overflow-y: auto;
  }

  .slim-studio-popup-header {
    padding: 12px 16px 12px 28px;
  }

  .slim-studio-popup-header .slim-studio-logo {
    height: 40px;
    width: auto;
    max-width: 220px;
  }

  .slim-studio-popup-body {
    flex-direction: column;
  }

  .ponce-popup.slim-studio-branded .ponce-popup-content {
    padding: 32px 28px 32px;
  }

  .ponce-popup.slim-studio-branded .ponce-popup-content ponce-header {
    font-size: 1.65em;
  }

  .ponce-popup.slim-studio-branded .ponce-popup-content ponce-body {
    font-size: 1em;
    margin-bottom: 22px;
  }

  .ponce-popup.slim-studio-branded .ponce-popup-image {
    padding: 24px 20px;
  }

  .ponce-popup.slim-studio-branded .ponce-popup-image img {
    width: 85%;
  }
}
