/* Beck Page Specific Styles */

.beck-welcome {
  padding: 0 0 56px 0;
}

.beck-intro,
.beck-instructions,
.beck-closing {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}

.beck-warnings-container {
  max-width: 1200px;
  margin: 1.5rem auto 2rem auto;
  padding: 0 20px;
}

.beck-warnings {
  text-align: left;
  margin: 0;
  font-size: 0.8rem;
}

.beck-link {
  color: #0066cc;
}

.beck-link:hover {
  color: #0052a3;
}

.beck-intro {
  margin-bottom: 2.5rem;
}

.beck-intro p,
.beck-instructions p,
.beck-closing p {
  margin: 0.75rem 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.beck-instructions {
  margin-bottom: 3rem;
}

/* 2x2 Grid Layout */
.beck-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 3rem auto;
  max-width: 1000px;
}

@media (max-width: 768px) {
  .beck-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Individual Box Styling */
.beck-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  position: relative;
}

@media (min-width: 769px) {
  .beck-box-pdf {
    min-height: 380px;
  }
}

.beck-box-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 1rem 0;
  line-height: 1.3;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.beck-box-title em {
  font-style: italic;
  text-transform: none;
  font-size: 1.3rem;
}

.beck-box-emphasis {
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.beck-subtitle {
  font-size: 1.2rem;
  font-style: italic;
  text-transform: none;
}

/* Video Box Styling */
.beck-box-video .beck-box-content {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background: none;
  border: none;
  position: relative;
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
}

.beck-box-video iframe,
.beck-box-video video {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: none;
  display: block;
}

.beck-placeholder {
  color: var(--muted);
  font-size: 1.1rem;
  text-align: center;
  padding: 2rem;
}


/* PDF Box Styling */
.beck-box-pdf .beck-box-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem;
}

.beck-pdf-preview {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  background: #EDE7DE;
}

.beck-pdf-preview-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

@media (min-width: 769px) {
  .beck-pdf-preview-img {
    object-fit: cover;
  }
}

.beck-pdf-actions {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.beck-pdf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  flex: 1;
  min-width: 100px;
}

.beck-pdf-button:hover {
  text-decoration: none;
}

/* Image Viewer Specific Styles */
.beck-box-image-viewer {
  min-height: 500px;
}

.beck-image-viewer {
  flex: 1;
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #EDE7DE;
  border-radius: 12px;
  position: relative;
  touch-action: pan-y;
  cursor: pointer;
}

.beck-image-slider {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.beck-slider-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: none;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
}

.beck-slider-image.active {
  display: block;
}

.beck-slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.beck-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.beck-dot.active {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.beck-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  color: var(--ink);
}

.beck-arrow-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.beck-arrow-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.beck-arrow-prev {
  left: 12px;
}

.beck-arrow-next {
  right: 12px;
}

@media (min-width: 769px) {
  .beck-arrow-btn {
    display: flex;
  }
}

/* Closing Section */
.beck-closing {
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.beck-closing p {
  margin: 0.75rem 0;
  line-height: 1.65;
}

.beck-closing .beck-smile-spot {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .beck-box {
    min-height: 280px;
  }
  
  .beck-box-title {
    font-size: 1.3rem;
  }
  
  .beck-intro p,
  .beck-instructions p,
  .beck-closing p {
    font-size: 1rem;
  }

  .beck-warnings,
  .beck-warnings-container p {
    font-size: 0.8rem !important;
    text-align: center !important;
  }
}

