/**
 * BRACKENHOLT — Responsive Refinements & Print Stylesheet
 */

/* ==========================================================================
   Mobile & Tablet Responsive Refinements
   ========================================================================== */
@media (max-width: 767px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .discovery-bar-wrapper {
    margin-top: -2rem;
  }

  .discovery-bar {
    padding: 1.25rem 1rem;
  }

  .card-media {
    aspect-ratio: 16 / 11;
  }

  .split-feature-media {
    min-height: 280px;
  }

  .planner-stop-card {
    flex-direction: column;
  }

  .planner-stop-controls {
    flex-direction: row;
    justify-content: flex-start;
  }

  .toast {
    max-width: calc(100vw - 2.5rem);
  }

  .toast-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    gap: 0.75rem;
  }

  .brand-link {
    font-size: 1.15rem;
  }

  .brand-emblem {
    width: 26px;
    height: 26px;
  }

  .catalog-toolbar {
    padding: 1rem;
  }
}

/* ==========================================================================
   Touch Optimization & Accessibility Targets
   ========================================================================== */
@media (pointer: coarse) {
  .btn,
  .header-icon-btn,
  .card-bookmark-btn,
  .drawer-close-btn,
  .drawer-nav-link {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ==========================================================================
   Print Stylesheet for Itineraries and Articles
   ========================================================================== */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    background: #fff;
  }

  .site-header,
  .site-footer,
  .hero-bg-wrapper,
  .hero-overlay,
  .hero-scroll-indicator,
  .drawer-backdrop,
  .modal-overlay,
  .toast-container,
  .sidebar-actions,
  .planner-stop-controls,
  .article-share-bar,
  .btn,
  .card-bookmark-btn {
    display: none !important;
  }

  .hero,
  .hero-page {
    min-height: auto !important;
    padding: 2rem 0 !important;
    color: #000 !important;
    background: none !important;
  }

  .hero-title,
  .article-headline {
    color: #000 !important;
    font-size: 24pt !important;
  }

  .hero-desc,
  .article-standfirst {
    color: #333 !important;
    font-size: 14pt !important;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .detail-layout,
  .planner-wrapper {
    display: block !important;
  }

  .planner-stop-card {
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
    margin-bottom: 1.5rem;
    padding: 1rem !important;
  }

  .article-cover-img,
  .card-media img {
    max-height: 300px;
    object-fit: cover;
  }

  a[href]::after {
    content: "";
  }
}
