/*
 * FAKHIRA RECORD — CTA & Stat Cards Mobile refinement
 * rilis 2026-10-27.1. Affects only hero buttons and summary cards on public homepage.
 * Does not modify video, navbar, gallery, desktop styles, or routing.
 */
@media screen and (max-width: 720px) {
  body.public-site .tech-hero .hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas: "booking live" "schedule schedule" !important;
    column-gap: 9px !important;
    row-gap: 9px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
  }
  body.public-site .tech-hero .hero-actions > :first-child {
    grid-area: booking !important;
    grid-column: auto !important;
  }
  body.public-site .tech-hero .hero-actions > :nth-child(2) {
    grid-area: live !important;
    grid-column: auto !important;
  }
  body.public-site .tech-hero .hero-actions > :nth-child(3) {
    grid-area: schedule !important;
    grid-column: auto !important;
  }
  body.public-site .tech-hero .hero-actions > a.btn {
    box-sizing: border-box !important;
    display: inline-flex !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 49px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 9px !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    vertical-align: middle !important;
    border-radius: 14px !important;
    border: 1px solid transparent !important;
    font-size: clamp(10px, 2.85vw, 11.5px) !important;
    font-weight: 850 !important;
    letter-spacing: .05px !important;
    line-height: 1.26 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    text-shadow: none !important;
    transition: filter .15s ease, transform .15s ease !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .11) !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  body.public-site .tech-hero .hero-actions > a.btn::after,
  body.public-site .tech-hero .hero-actions > a.btn::before {
    display: none !important;
    content: none !important;
  }
  /* Two primary actions, matched sizing and balanced emphasis. */
  body.public-site .tech-hero .hero-actions > a.btn:first-child {
    background: linear-gradient(112deg, #11c5e5, #287bf3) !important;
    color: #fff !important;
    border-color: rgba(70, 198, 243, .26) !important;
  }
  body.public-site .tech-hero .hero-actions > a.btn:nth-child(2) {
    background: linear-gradient(112deg, #f63d79, #fd812b) !important;
    color: #fff !important;
    border-color: rgba(255, 144, 106, .26) !important;
  }
  /* Less visual noise for schedule — full-width neutral secondary row. */
  body.public-site .tech-hero .hero-actions > a.btn:nth-child(3) {
    min-height: 43px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    background: rgba(158, 181, 217, .095) !important;
    color: var(--heading, #eef6ff) !important;
    border: 1px solid var(--line, rgba(180, 204, 230, .23)) !important;
    box-shadow: none !important;
  }
  html[data-theme="light"] body.public-site .tech-hero .hero-actions > a.btn:nth-child(3) {
    color: #24364d !important;
    background: rgba(255, 255, 255, .80) !important;
    border-color: rgba(60, 91, 130, .19) !important;
  }
  @media (hover: hover) and (pointer: fine) {
    body.public-site .tech-hero .hero-actions > a.btn:hover {
      filter: brightness(1.07) !important;
      transform: translateY(-1px) !important;
    }
  }
  body.public-site .tech-hero .hero-actions > a.btn:focus-visible {
    outline: 2px solid #1fc7f3 !important;
    outline-offset: 3px !important;
  }
  /* Four elegant summary cards: concise 2×2 grid on mobile. */
  body.public-site .tech-hero .tech-metrics {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
  }
  body.public-site .tech-hero .tech-metrics > .tech-metric {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 70px !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    border-radius: 15px !important;
    border: 1px solid rgba(180, 207, 237, .17) !important;
    background: rgba(255, 255, 255, .055) !important;
    background-image: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
  }
  body.public-site .tech-hero .tech-metrics > .tech-metric b {
    display: block !important;
    width: 100% !important;
    color: var(--heading, #f7faff) !important;
    font-size: 19px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    letter-spacing: -.3px !important;
    margin: 0 0 4px !important;
  }
  body.public-site .tech-hero .tech-metrics > .tech-metric small {
    display: block !important;
    width: 100% !important;
    color: var(--muted, #b3c3d8) !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    font-weight: 790 !important;
    text-transform: uppercase !important;
    letter-spacing: .35px !important;
    margin: 0 !important;
  }
  html[data-theme="light"] body.public-site .tech-hero .tech-metrics > .tech-metric {
    background: rgba(255, 255, 255, .78) !important;
    border-color: rgba(73, 102, 139, .13) !important;
  }
}
@media screen and (max-width: 340px) {
  /* Very narrow screens still use the same visual rhythm without clipped labels. */
  body.public-site .tech-hero .hero-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "booking" "live" "schedule" !important;
  }
  body.public-site .tech-hero .hero-actions > a.btn {min-height: 44px !important;font-size: 11px !important;}
}
@media (prefers-reduced-motion: reduce) {
  body.public-site .tech-hero .hero-actions > a.btn {transition: none !important;}
}
