/* ==========================================================================
   Hawaii Filming Locations — /hawaii-filming-locations
   All sizes in px (site base: html { font-size: 62.5% }, 1rem = 10px).
   Scoped to .fl-* to avoid global conflicts.
   ========================================================================== */

/* --- Hero --- */
.fl-hero {
  position: relative;
  border-radius: 80px 80px 80px 20px;
  overflow: hidden;
  margin: 10px 0 0;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center center;
  background-color: #0d2a3a;
}
.fl-hero-back {
  position: absolute;
  top: 34px;
  left: 38px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 12px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.fl-hero-back:hover,
.fl-hero-back:focus {
  background: rgba(0, 0, 0, 0.62);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateX(-2px);
}
.fl-hero-back i { font-size: 11px; opacity: 0.9; }
@media (max-width: 540px) {
  .fl-hero-back { top: 24px; left: 26px; font-size: 12px; padding: 6px 12px 6px 10px; }
}
.fl-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 5% 28px;
  background: linear-gradient(0deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
}
.fl-hero h1 {
  color: #fff;
  font-size: 34px;
  margin: 0 0 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
  line-height: 1.15;
}
.fl-hero p {
  color: rgba(255,255,255,.92);
  font-size: 19px;
  margin: 0;
  max-width: 640px;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  line-height: 1.5;
}
@media (min-width: 768px) {
  .fl-hero { min-height: 340px; }
  .fl-hero h1 { font-size: 42px; }
  .fl-hero p { font-size: 21px; }
}

/* --- Intro --- */
.fl-intro {
  margin: 28px 0 8px;
  max-width: 780px;
}
.fl-intro p {
  font-size: 18px;
  color: #444;
  line-height: 1.65;
  margin: 0 0 14px;
}

/* --- Jump Links --- */
.fl-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 24px;
}
.fl-jump-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  border: 2px solid #ddd;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.fl-jump-link:hover { border-color: #0a5e8c; color: #0a5e8c; }
.fl-jump-link i { font-size: 13px; }

/* --- Island Section --- */
.fl-island-section { margin: 4px 0 12px; }
.fl-island-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}
.fl-island-header h2 {
  font-size: 27px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
}
.fl-island-header i { font-size: 22px; }

/* --- Grid --- */
.fl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 0 32px;
}
@media (min-width: 480px) {
  .fl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .fl-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Location Card --- */
.fl-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}
.fl-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }

.fl-card-img-wrap {
  position: relative;
  overflow: hidden;
  padding-top: 56%;
}
.fl-card-img-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.fl-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fl-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
  line-height: 1.3;
}

/* --- Film Tags --- */
.fl-films {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}
.fl-film-tag {
  display: inline-block;
  padding: 3px 9px;
  background: #edf4fb;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #0a5e8c;
  white-space: nowrap;
}

.fl-card-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 12px;
}
.fl-card-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #0a5e8c;
  text-decoration: none;
  margin-top: auto;
}
.fl-card-link:hover { text-decoration: underline; }
.fl-card-link i { font-size: 11px; margin-left: 3px; }

/* --- Tour CTA --- */
.fl-tour-cta {
  background: linear-gradient(135deg, #0a3d62 0%, #0a5e8c 100%);
  border-radius: 16px;
  padding: 28px 24px;
  margin: 0 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.fl-tour-cta-text { flex: 1; min-width: 200px; }
.fl-tour-cta-text h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
}
.fl-tour-cta-text p {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  margin: 0;
  line-height: 1.5;
}
.fl-tour-btn {
  display: inline-block;
  padding: 13px 24px;
  background: #F27A24;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.fl-tour-btn:hover { background: #d4641a; }

/* --- Related --- */
.fl-related {
  margin: 10px 0 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 16px;
}
.fl-related h3 {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin: 0 0 14px;
}
.fl-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fl-related-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.fl-related-link:hover { border-color: #0a5e8c; color: #0a5e8c; }
.fl-related-link i { font-size: 13px; }

/* --- Print --- */
@media print {
  .fl-hero-back, .fl-jump-links, .fl-tour-cta, .fl-related { display: none; }
}
