:root {
  --ayc-hibiscus: #e36085;
  --ayc-sand: #fdf6e8;
  --ayc-white: #ffffff;
  --ayc-shadow: rgba(142, 71, 92, 0.18);
}

html,
body {
  background: var(--ayc-sand) !important;
  color: var(--ayc-hibiscus) !important;
}

body,
body * {
  color: var(--ayc-hibiscus);
}

.session-page,
.session-page .header,
.session-page .card,
.session-page .card-body,
.session-page .card-footer,
.session-page .footer,
.session-page footer,
.session-page .container,
.session-page .container-fluid {
  background: transparent !important;
}

/* Media */
.card-body figure,
.card-body .preview,
.card-body img,
.card-body video,
img.preview,
video.preview {
  border-radius: 20px;
  box-shadow: 0 10px 26px var(--ayc-shadow);
}

.card-body figure {
  overflow: hidden;
}

.card-body img,
.card-body video,
img.preview,
video.preview {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Keep each media item's download control centered. */
.card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 8px;
  padding-bottom: 18px;
  text-align: center;
}

.card-footer .action-buttons,
.card-footer form,
.action-buttons,
form[action*="/download"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Download button: covers the link/button structures used by Breeze microsites. */
.card-footer a,
.card-footer button,
.card-footer [role="button"],
.action-buttons a,
.action-buttons button,
.action-buttons [role="button"],
form[action*="/download"] button,
form[action*="/download"] [type="submit"],
.session-page .fa-download,
.session-page .button.fa-download,
.session-page i.fa-download {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 48px;
  margin: 0 auto !important;
  padding: 0 24px;
  float: none !important;
  border: 0 !important;
  border-radius: 999px;
  background: var(--ayc-hibiscus) !important;
  color: var(--ayc-white) !important;
  box-shadow: 0 7px 16px rgba(227, 96, 133, 0.24);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0 !important;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.card-footer a::after,
.card-footer button::after,
.card-footer [role="button"]::after,
.action-buttons a::after,
.action-buttons button::after,
.action-buttons [role="button"]::after,
form[action*="/download"] button::after,
form[action*="/download"] [type="submit"]::after,
.session-page .fa-download::after,
.session-page .button.fa-download::after,
.session-page i.fa-download::after {
  content: "DOWNLOAD";
  color: var(--ayc-white) !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
}

.card-footer a:hover,
.card-footer button:hover,
.card-footer [role="button"]:hover,
.action-buttons a:hover,
.action-buttons button:hover,
.action-buttons [role="button"]:hover,
form[action*="/download"] button:hover,
form[action*="/download"] [type="submit"]:hover,
.session-page .fa-download:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(227, 96, 133, 0.3);
}

.card-footer a:active,
.card-footer button:active,
.card-footer [role="button"]:active,
.action-buttons a:active,
.action-buttons button:active,
.action-buttons [role="button"]:active,
form[action*="/download"] button:active,
form[action*="/download"] [type="submit"]:active,
.session-page .fa-download:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(227, 96, 133, 0.22);
}

/* Hide Breeze's original download icon/label; the ::after label above replaces it. */
.card-footer a svg,
.card-footer button svg,
.card-footer [role="button"] svg,
.card-footer a i,
.card-footer button i,
.card-footer [role="button"] i,
.card-footer a span,
.card-footer button span,
.card-footer [role="button"] span,
.action-buttons a svg,
.action-buttons button svg,
.action-buttons [role="button"] svg,
.action-buttons a i,
.action-buttons button i,
.action-buttons [role="button"] i,
.action-buttons a span,
.action-buttons button span,
.action-buttons [role="button"] span,
form[action*="/download"] button svg,
form[action*="/download"] [type="submit"] svg,
form[action*="/download"] button i,
form[action*="/download"] [type="submit"] i,
form[action*="/download"] button span,
form[action*="/download"] [type="submit"] span {
  display: none !important;
}

.session-page .fa-download::before,
.session-page .button.fa-download::before,
.session-page i.fa-download::before,
.session-page button .fa-download,
.session-page [role="button"] .fa-download,
.session-page a .fa-download,
.action-buttons button .fa-download,
.action-buttons [role="button"] .fa-download,
.action-buttons a .fa-download,
form[action*="/download"] button .fa-download,
form[action*="/download"] [type="submit"] .fa-download {
  display: none !important;
  content: "" !important;
}

@supports selector(:has(*)) {
  a[download]:not(:has(img, video, picture)),
  a[aria-label*="download" i]:not(:has(img, video, picture)),
  a[title*="download" i]:not(:has(img, video, picture)) {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 48px;
    margin: 0 auto !important;
    padding: 0 24px;
    float: none !important;
    border: 0 !important;
    border-radius: 999px;
    background: var(--ayc-hibiscus) !important;
    color: var(--ayc-white) !important;
    box-shadow: 0 7px 16px rgba(227, 96, 133, 0.24);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0 !important;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
  }

  a[download]:not(:has(img, video, picture))::after,
  a[aria-label*="download" i]:not(:has(img, video, picture))::after,
  a[title*="download" i]:not(:has(img, video, picture))::after {
    content: "DOWNLOAD";
    color: var(--ayc-white) !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
  }

  a[download]:not(:has(img, video, picture)) svg,
  a[aria-label*="download" i]:not(:has(img, video, picture)) svg,
  a[title*="download" i]:not(:has(img, video, picture)) svg,
  a[download]:not(:has(img, video, picture)) i,
  a[aria-label*="download" i]:not(:has(img, video, picture)) i,
  a[title*="download" i]:not(:has(img, video, picture)) i,
  a[download]:not(:has(img, video, picture)) span,
  a[aria-label*="download" i]:not(:has(img, video, picture)) span,
  a[title*="download" i]:not(:has(img, video, picture)) span {
    display: none !important;
  }
}

/* Footer and Instagram link */
.session-page .footer,
.session-page footer {
  padding: 28px 16px;
  color: var(--ayc-hibiscus) !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.session-page .footer a[href*="instagram.com"],
.session-page footer a[href*="instagram.com"] {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-left: 10px;
  border: 3px solid var(--ayc-hibiscus);
  border-radius: 9px;
  color: var(--ayc-hibiscus) !important;
  font-size: 0;
  line-height: 0;
  vertical-align: middle;
  text-decoration: none;
  box-sizing: border-box;
}

.session-page .footer a[href*="instagram.com"]::before,
.session-page footer a[href*="instagram.com"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  border: 3px solid var(--ayc-hibiscus);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
}

.session-page .footer a[href*="instagram.com"]::after,
.session-page footer a[href*="instagram.com"]::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ayc-hibiscus);
}

.session-page .footer a[href*="instagram.com"]:hover,
.session-page footer a[href*="instagram.com"]:hover {
  opacity: 0.72;
}

@media (prefers-reduced-motion: reduce) {
  .card-footer a,
  .card-footer button,
  .card-footer [role="button"],
  .action-buttons a,
  .action-buttons button,
  .action-buttons [role="button"],
  form[action*="/download"] button,
  form[action*="/download"] [type="submit"] {
    transition: none !important;
  }
}
