/* =========================================================
   Popular Cities - Pixel-focused responsive recreation
   Bootstrap 5 + custom CSS
   ========================================================= */

:root{
  --navy:#06265f;
  --blue:#0759d9;
  --muted:#55749d;
  --gold:#e5bd72;
  --border:#d9e5f4;
  --page:#ffffff;
  --shadow:0 5px 15px rgba(8,42,92,.10);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  background:#fff;
  color:#102b54;
  font-family:"DM Sans",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}

a{text-decoration:none;color:inherit}

.popular-cities-page{
  min-height:100vh;
  padding:8px 0 12px;
  background:
    radial-gradient(circle at 50% 30%, rgba(230,239,251,.30), transparent 42%),
    #fff;
}

.page-shell{
  max-width:1220px;
  position:relative;
}

/* Breadcrumb */
.breadcrumb-wrap{
  height:27px;
  display:flex;
  align-items:center;
  gap:11px;
  padding-left:7px;
  color:#6281aa;
  font-size:12px;
  font-weight:600;
}
.breadcrumb-wrap a{transition:color .2s ease}
.breadcrumb-wrap a:hover{color:var(--blue)}
.breadcrumb-arrow{
  color:#89a4c4;
  font-size:8px;
}
.breadcrumb-wrap .current{
  color:#183e77;
  font-weight:700;
}

/* Heading */
.hero-heading{
  position:relative;
  padding:3px 150px 20px;
}

.eyebrow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin:0 0 3px;
  color:#c08a3d;
  font-size:12px;
  line-height:1;
  font-weight:700;
  letter-spacing:1.25px;
}
.eyebrow span:first-child,
.eyebrow span:last-child{
  width:27px;
  height:2px;
  display:block;
  background:#e5c481;
}

.hero-heading h1{
  margin:0;
  color:#080808;
  font-family:"Playfair Display",Georgia,serif;
  font-size:39px;
  line-height:1.16;
  font-weight:800;
  letter-spacing:-.8px;
}
.hero-heading h1 em{
  color:#0759d9;
  font-style:normal;
}
.hero-heading p{
  max-width:625px;
  margin:6px auto 0;
  color:#5b789f;
  font-size:14px;
  line-height:1.35;
  font-weight:500;
}

.hero-script{
  position:absolute;
  right:4px;
  top:-14px;
  width:122px;
  transform:rotate(-5deg);
  color:#092a67;
  font-family:"Playfair Display",Georgia,serif;
  font-weight:800;
  font-style:italic;
  font-size:18px;
  line-height:.92;
  text-align:center;
}
.hero-script span{display:block}
.hero-script i{
  display:block;
  width:54px;
  height:3px;
  margin:8px 3px 0 auto;
  background:#e0b356;
  transform:rotate(-12deg);
}

/* City grid */
.city-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px 12px;
}

.city-card{
  position:relative;
  display:block;
  min-width:0;
  height:165px;
  overflow:hidden;
  border:1px solid #cbdcf1;
  border-radius:7px;
  background:#0b315e;
  box-shadow:0 2px 6px rgba(8,45,90,.07);
  isolation:isolate;
  transition:transform .25s ease, box-shadow .25s ease;
}
.city-card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 24px rgba(5,46,101,.18);
}
.city-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center top;
  transform:scale(1.02);
  transition:transform .45s ease, filter .45s ease;
}
.city-card:hover img{
  transform:scale(1.07);
  filter:saturate(1.08);
}

/* Stronger bottom overlay makes the white card text readable */
.card-shade{
  position:absolute;
  z-index:1;
  inset:0;
  background:
    linear-gradient(180deg,
      rgba(0,21,49,0) 28%,
      rgba(1,27,58,.10) 43%,
      rgba(1,28,58,.72) 70%,
      rgba(1,25,54,.96) 100%);
}

.city-copy{
  position:absolute;
  z-index:2;
  left:14px;
  right:56px;
  bottom:11px;
  color:#fff;
}
.city-copy strong{
  display:block;
  margin-bottom:2px;
  font-size:20px;
  line-height:1.02;
  font-weight:700;
  letter-spacing:-.25px;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}
.city-copy small{
  display:block;
  color:#fff;
  font-size:13px;
  line-height:1.18;
  font-weight:500;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}

.round-arrow{
  position:absolute;
  z-index:3;
  right:17px;
  bottom:14px;
  width:33px;
  height:33px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#fff;
  color:#153c73;
  font-size:13px;
  box-shadow:0 2px 7px rgba(0,0,0,.12);
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.city-card:hover .round-arrow{
  background:#0759d9;
  color:#fff;
  transform:translateX(2px);
}

/* Bottom quick action strip */
.action-strip{
  min-height:69px;
  margin-top:14px;
  padding:7px 8px;
  display:grid;
  grid-template-columns:1fr 1px 1fr 1px 1fr 1px 1fr;
  align-items:center;
  border:1px solid #d5e3f4;
  border-radius:7px;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);
  box-shadow:0 2px 7px rgba(8,49,98,.05);
}

.action-item{
  min-height:55px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  color:#123a75;
  transition:transform .2s ease,color .2s ease;
}
.action-item:hover{
  color:#0759d9;
  transform:translateY(-1px);
}
.action-icon{
  width:39px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#064cbf;
  font-size:34px;
  line-height:1;
}
.action-item > span:last-child{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.action-item b{
  font-size:14px;
  font-weight:600;
}
.action-item small{
  margin-top:2px;
  font-size:14px;
  font-weight:600;
}
.action-divider{
  width:1px;
  height:35px;
  background:#d5e0ee;
}

/* Tablet */
@media (max-width: 991.98px){
  .page-shell{max-width:960px}
  .hero-heading{padding-left:80px;padding-right:80px}
  .hero-script{right:0;opacity:.75}
  .city-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Mobile */
@media (max-width: 767.98px){
  .popular-cities-page{padding:5px 0 10px}
  .page-shell{width:100%;padding-left:12px;padding-right:12px}

  .breadcrumb-wrap{
    height:26px;
    padding-left:2px;
    gap:8px;
    font-size:11px;
  }

  .hero-heading{
    padding:5px 18px 16px;
  }
  .hero-script{display:none}

  .eyebrow{
    gap:7px;
    font-size:10px;
    letter-spacing:1px;
    margin-bottom:5px;
  }
  .eyebrow span:first-child,
  .eyebrow span:last-child{width:22px}

  .hero-heading h1{
    font-size:28px;
    letter-spacing:-.45px;
  }
  .hero-heading p{
    max-width:480px;
    margin-top:6px;
    font-size:12px;
    line-height:1.38;
  }

  .city-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }

  .city-card{
    height:132px;
    border-radius:6px;
  }
  .city-copy{
    left:10px;
    right:43px;
    bottom:8px;
  }
  .city-copy strong{
    font-size:15px;
    margin-bottom:2px;
  }
  .city-copy small{
    font-size:10px;
    line-height:1.16;
  }
  .desktop-break{display:none}

  .round-arrow{
    right:8px;
    bottom:8px;
    width:28px;
    height:28px;
    font-size:10px;
  }

  .action-strip{
    margin-top:11px;
    padding:5px 3px;
    min-height:0;
    grid-template-columns:1fr 1fr;
    border-radius:7px;
  }
  .action-item{
    min-height:59px;
    gap:9px;
    justify-content:flex-start;
    padding:5px 9px;
  }
  .action-icon{
    width:28px;
    min-width:28px;
    font-size:26px;
  }
  .action-item b,
  .action-item small{
    font-size:11px;
  }
  .action-divider{display:none}
  .action-item:nth-of-type(2){
    border-left:1px solid #d7e3f0;
  }
  .action-item:nth-of-type(3){
    border-top:1px solid #d7e3f0;
  }
  .action-item:nth-of-type(4){
    border-left:1px solid #d7e3f0;
    border-top:1px solid #d7e3f0;
  }
}

/* Very small phones */
@media (max-width: 390px){
  .hero-heading h1{font-size:25px}
  .hero-heading p{font-size:11px}
  .city-card{height:124px}
  .city-copy strong{font-size:14px}
  .city-copy small{font-size:9.5px}
  .round-arrow{width:25px;height:25px;right:7px;bottom:7px}
  .action-item{padding-left:7px;gap:7px}
  .action-icon{font-size:23px;width:25px;min-width:25px}
  .action-item b,.action-item small{font-size:10px}
}
