/**
 * Hello Home — "Look Inside Drum Channel" element.
 * Designed for a white background. Accent color comes from the
 * --hello-li-accent custom property set inline by the shortcode.
 */

.hello-look-inside {
  --hello-li-accent: #C51A39;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  font-family: "Raleway", sans-serif;
  color: #000;
}

.hello-look-inside__heading {
  margin: 0 0 12px;
  font-family: "Raleway", sans-serif;
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #000;
}

.hello-look-inside__subtitle {
  margin: 0 auto 40px;
  max-width: 640px;
  font-family: "Raleway", sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  line-height: 1.4;
  color: #333;
}

.hello-look-inside__buttons {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 48px;
  flex-wrap: wrap;
}

/* Big rounded square button, red border, white fill. Fills red on hover. */
.hello-look-inside__btn {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 280px;
  aspect-ratio: 1 / 1;
  padding: 24px;
  margin: 0;
  background: #fff;
  border: 4px solid var(--hello-li-accent);
  border-radius: 24px;
  color: var(--hello-li-accent);
  font-family: "Raleway", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
/* Older Safari without aspect-ratio support. */
@supports not (aspect-ratio: 1 / 1) {
  .hello-look-inside__btn { height: 280px; }
}

.hello-look-inside__btn:hover,
.hello-look-inside__btn:focus-visible {
  background: var(--hello-li-accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  outline: none;
}
.hello-look-inside__btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.15), 0 10px 24px rgba(0, 0, 0, 0.16);
}
.hello-look-inside__btn:active {
  transform: translateY(-1px);
}

.hello-look-inside__btn.is-disabled,
.hello-look-inside__btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.hello-look-inside__btn.is-disabled:hover {
  background: #fff;
  color: var(--hello-li-accent);
}

.hello-look-inside__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 3px solid currentColor;
  border-radius: 50%;
}
.hello-look-inside__play svg {
  display: block;
  width: 40px;
  height: 40px;
  margin-left: 4px; /* optical centering of the triangle */
}

.hello-look-inside__label {
  display: block;
}

@media (max-width: 767px) {
  .hello-look-inside {
    padding: 32px 16px;
  }
  .hello-look-inside__buttons {
    gap: 24px;
  }
  .hello-look-inside__btn {
    width: min(280px, 100%);
    font-size: 18px;
  }
}

/* --------------------------------------------------------------------------
 * Modal (one shared instance appended to <body> by look-inside.js).
 * ------------------------------------------------------------------------ */
.hello-li-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.hello-li-modal.is-open {
  display: flex;
}
.hello-li-modal.is-visible {
  opacity: 1;
}

.hello-li-modal__dialog {
  position: relative;
  width: min(1100px, 100%);
  background: #000;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.96);
  transition: transform 0.2s ease;
}
.hello-li-modal.is-visible .hello-li-modal__dialog {
  transform: scale(1);
}

.hello-li-modal__body {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
}
@supports not (aspect-ratio: 16 / 9) {
  .hello-li-modal__body { height: 0; padding-bottom: 56.25%; }
}
.hello-li-modal__body iframe,
.hello-li-modal__body video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hello-li-modal__close {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: -44px;
  right: -8px;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.hello-li-modal__close:hover,
.hello-li-modal__close:focus-visible {
  opacity: 1;
  outline: none;
}
.hello-li-modal__close::before,
.hello-li-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
}
.hello-li-modal__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.hello-li-modal__close::after  { transform: translate(-50%, -50%) rotate(-45deg); }

@media (max-width: 767px) {
  .hello-li-modal {
    padding: 12px;
  }
  .hello-li-modal__close {
    top: -46px;
    right: 0;
  }
}

body.hello-li-modal-open {
  overflow: hidden;
}
