/* =========================================================
   CubeSat Salon top page: native disclosure and reservation
   ========================================================= */

body.page-id-9848.section-s031 .wp-block-details.unisec-cubesat-overview {
  display: flow-root;
  margin: clamp(16px, 2.2vw, 28px) 0 clamp(42px, 5vw, 64px);
}

body.page-id-9848.section-s031 .wp-block-details.unisec-cubesat-overview[open] {
  padding: clamp(20px, 3vw, 32px);
  border-left: 4px solid #007d93;
  border-radius: 0 16px 16px 0;
  background: #f5f9fa;
  color: #344b56;
  box-shadow: 0 12px 32px rgba(6, 29, 43, 0.06);
}

body.page-id-9848.section-s031 .wp-block-details.unisec-cubesat-overview > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: max-content;
  min-height: 46px;
  box-sizing: border-box;
  margin-left: auto;
  padding: 10px 18px;
  border: 1px solid #b9d9e1;
  border-radius: 999px;
  background: #f3f9fa;
  color: #07566a;
  cursor: pointer;
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 750;
  line-height: 1.45;
  list-style: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.page-id-9848.section-s031 .wp-block-details.unisec-cubesat-overview > summary::-webkit-details-marker {
  display: none;
}

body.page-id-9848.section-s031 .wp-block-details.unisec-cubesat-overview > summary::after {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

body.page-id-9848.section-s031 .wp-block-details.unisec-cubesat-overview[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

body.page-id-9848.section-s031 .wp-block-details.unisec-cubesat-overview > summary:hover {
  border-color: #007d93;
  background: #eaf5f7;
  color: #004f60;
}

body.page-id-9848.section-s031 .wp-block-details.unisec-cubesat-overview > summary:focus-visible {
  outline: 3px solid #007d93;
  outline-offset: 3px;
}

body.page-id-9848.section-s031 .wp-block-details.unisec-cubesat-overview > p {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.9;
}

body.page-id-9848.section-s031 .wp-block-details.unisec-cubesat-overview > summary + p {
  margin-top: clamp(20px, 2.5vw, 28px);
}

body.page-id-9848.section-s031 .wp-block-details.unisec-cubesat-overview > p + p {
  margin-top: 1.1em;
}

body.page-id-9848.section-s031 .wp-block-buttons.unisec-cubesat-reservation-cta {
  margin: clamp(26px, 3.5vw, 42px) 0 clamp(58px, 7vw, 88px);
}

body.page-id-9848.section-s031 .unisec-cubesat-reservation-cta .wp-block-button {
  width: 100%;
}

body.page-id-9848.section-s031 .unisec-cubesat-reservation-cta .wp-block-button__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  width: 100%;
  min-height: clamp(92px, 10vw, 116px);
  box-sizing: border-box;
  padding: clamp(20px, 2.8vw, 30px) clamp(22px, 3.5vw, 40px);
  border: 0;
  border-radius: 20px;
  background: linear-gradient(120deg, #0b4f6c 0%, #007d93 100%);
  color: #fff;
  box-shadow: 0 16px 38px rgba(6, 29, 43, 0.16);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

body.page-id-9848.section-s031 .unisec-cubesat-reservation-cta .wp-block-button__link::before {
  width: clamp(30px, 3.2vw, 40px);
  height: clamp(30px, 3.2vw, 40px);
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 2v3M17 2v3M3.5 8.5h17M5.5 4h13a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M7.5 12h2M11 12h2M14.5 12h2M7.5 15.5h2M11 15.5h2M14.5 15.5h2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 2v3M17 2v3M3.5 8.5h17M5.5 4h13a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M7.5 12h2M11 12h2M14.5 12h2M7.5 15.5h2M11 15.5h2M14.5 15.5h2'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.page-id-9848.section-s031 .unisec-cubesat-reservation-cta .wp-block-button__link::after {
  content: "\2192";
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

body.page-id-9848.section-s031 .unisec-cubesat-reservation-cta .wp-block-button__link:hover {
  background: #061d2b;
  color: #fff;
  box-shadow: 0 20px 44px rgba(6, 29, 43, 0.22);
  transform: translateY(-2px);
}

body.page-id-9848.section-s031 .unisec-cubesat-reservation-cta .wp-block-button__link:focus-visible {
  outline: 3px solid #007d93;
  outline-offset: 4px;
}

@media (max-width: 640px) {
  body.page-id-9848.section-s031 .wp-block-details.unisec-cubesat-overview {
    margin-bottom: 48px;
  }

  body.page-id-9848.section-s031 .wp-block-details.unisec-cubesat-overview[open] {
    padding: 20px;
  }

  body.page-id-9848.section-s031 .unisec-cubesat-reservation-cta .wp-block-button__link {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 86px;
    padding: 18px 20px;
    border-radius: 16px;
    text-align: left;
  }

  body.page-id-9848.section-s031 .unisec-cubesat-reservation-cta .wp-block-button__link::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-9848.section-s031 .wp-block-details.unisec-cubesat-overview > summary,
  body.page-id-9848.section-s031 .wp-block-details.unisec-cubesat-overview > summary::after,
  body.page-id-9848.section-s031 .unisec-cubesat-reservation-cta .wp-block-button__link {
    transition: none;
  }

  body.page-id-9848.section-s031 .unisec-cubesat-reservation-cta .wp-block-button__link:hover {
    transform: none;
  }
}
