/* City Inside Out – theme matching the original site */
:root {
  --blue: #006aa6;        /* menu links */
  --bar: #124a9f;         /* breadcrumb/search bar */
  --sky: #51bce6;         /* light blue accents */
  --orange: #f17823;      /* detail headings */
  --red: #d7263d;         /* logo red */
  --navy: #001027;        /* footer */
  --text: #565a5c;
  --tile: #444;
  --line: #e2e2e2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 13px/1.6 "Open Sans", Arial, sans-serif;
  background: #f9f9f9 url("../img/pattern6.a7a4589430b2.jpg") repeat center top;
}
[dir=rtl] body { font-family: "Cairo", "Open Sans", Arial, sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--bar); }
img { max-width: 100%; }
h1, h2, h3, h4 { color: #333; line-height: 1.25; }

/* ---------- header ---------- */
.hdr { position: relative; background: #fff; border-bottom: 1px solid #ddd; box-shadow: 0 1px 3px rgba(0,0,0,.12);
       display: flex; min-height: 96px; z-index: 30; }
.logo-box { position: absolute; top: 10px; inset-inline-start: 40px; width: 128px; background: #fff; z-index: 40;
            box-shadow: 0 2px 6px rgba(0,0,0,.25); text-align: center; }
.logo-box img { display: block; width: 110px; margin: 8px auto 6px; }
.logo-box span { display: block; border-top: 1px solid #ccc; padding: 6px 0 8px; font-weight: 700; color: var(--blue); font-size: 12px; }
.hdr-main { flex: 1; margin-inline-start: 205px; display: flex; flex-direction: column; }
.hdr-top { display: flex; justify-content: space-between; align-items: center; height: 38px; border-bottom: 1px solid #eee;
           padding-inline-end: 12px; }
.social { display: flex; gap: 6px; padding-top: 4px; }
.social img { width: 18px; height: 18px; display: block; }
.top-links { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.top-links .sep { width: 1px; height: 14px; background: #ddd; }
.city-pick { position: relative; }
.city-pick summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--blue); }
.city-pick summary::-webkit-details-marker { display: none; }
.city-pick summary::after { content: " ▾"; font-size: 10px; }
.city-pick div { position: absolute; inset-inline-end: 0; top: 22px; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.18);
                 min-width: 150px; z-index: 50; }
.city-pick div a { display: block; padding: 8px 14px; font-weight: 600; border-bottom: 1px solid #f0f0f0; }
.city-pick div a.on, .city-pick div a:hover { background: var(--bar); color: #fff; }
.lang button { background: none; border: 0; color: #888; cursor: pointer; font: inherit; }
.lang button:hover { color: var(--blue); }
.menu { display: flex; flex-wrap: wrap; align-items: center; padding: 14px 0 10px; }
.menu a { font-weight: 700; font-size: 13px; color: var(--blue); padding: 0 11px; line-height: 1.1;
          border-inline-start: 2px solid #555; }
.menu a:first-child { border-inline-start: 0; padding-inline-start: 11px; }
.menu a.on { color: var(--bar); font-size: 14px; }
.menu a:hover { color: var(--bar); }
.menu-toggle { display: none; }

/* ---------- blue bar ---------- */
.bar { background: var(--bar); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 4px rgba(0,0,0,.15); }
.bar-in { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 8px 12px 8px 213px; gap: 12px; }
[dir=rtl] .bar-in { padding: 8px 213px 8px 12px; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 16px; flex-wrap: wrap; }
.crumbs a { color: #cfe0ff; }
.crumbs a:hover { color: #fff; }
.crumbs .gt { opacity: .8; font-size: 13px; }
.search { display: flex; }
.search input { width: 230px; height: 34px; border: 0; border-radius: 3px 0 0 3px; padding: 0 12px; font: inherit; }
[dir=rtl] .search input { border-radius: 0 3px 3px 0; }
.search button { width: 52px; height: 34px; border: 0; background: #4a90e2; border-radius: 0 3px 3px 0; cursor: pointer; padding: 4px 8px; }
[dir=rtl] .search button { border-radius: 3px 0 0 3px; }
.search button img { width: 36px; display: block; margin: auto; }

/* ---------- page ---------- */
.page { max-width: 1170px; margin: 0 auto; padding: 36px 15px 40px; min-height: 55vh; }
.panel { background: #fff; box-shadow: 0 1px 8px rgba(0,0,0,.18); padding: 28px 36px; margin-bottom: 26px; }
.page-title { font-size: 30px; font-weight: 400; margin: 0 0 18px; color: #333; }
.muted { color: #999; }

/* ---------- hero (home) ---------- */
.hero { position: relative; background: #333 center/cover no-repeat; min-height: 340px; display: flex; align-items: flex-end;
        margin: -36px -15px 32px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0,16,39,.75)); }
.hero-in { position: relative; padding: 30px 40px; color: #fff; }
.hero h1 { color: #fff; font-size: 36px; margin: 0 0 6px; font-weight: 700; text-shadow: 0 2px 6px rgba(0,0,0,.4); }
.hero p { margin: 0; font-size: 16px; opacity: .95; }
.hero.no-img { background: linear-gradient(120deg, var(--bar), var(--blue) 60%, var(--sky)); }

/* ---------- category tiles (like the old site) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.tile { position: relative; display: block; background: #bdbdbd; aspect-ratio: 4/3; overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.tile:hover img { transform: scale(1.06); }
.tile .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; color: rgba(255,255,255,.55);
            background: linear-gradient(135deg, #9fb6d6, #6d8fc0); }
.tile .t { position: absolute; top: 20px; left: 20px; right: 20px; background: rgba(68,68,68,.92); color: #fff; text-align: center;
           padding: 11px 10px; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .3px; }
.tile:hover .t { background: rgba(18,74,159,.95); }
.tile .n { position: absolute; bottom: 10px; inset-inline-end: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px;
           padding: 2px 8px; border-radius: 10px; }

/* ---------- listing cards ---------- */
.section-title { font-size: 20px; font-weight: 700; color: var(--bar); margin: 10px 0 16px; text-transform: uppercase; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { position: relative; display: block; background: lightgrey; box-shadow: 0 2px 8px rgba(0,0,0,.3); overflow: hidden; }
.card .img { aspect-ratio: 4/3; background: #cfd8e3; display: grid; place-items: center; overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .img img { transform: scale(1.06); }
.card .img .ph { font-size: 44px; font-weight: 700; color: #fff; opacity: .8; }
.card .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 9px 12px; background: rgba(0,0,0,.62); color: #fff; }
.card .info strong { display: block; font-size: 14px; }
.card .info small { display: block; opacity: .85; font-size: 12px; }
.ribbon { position: absolute; top: 12px; inset-inline-start: -30px; transform: rotate(-45deg); background: var(--orange); color: #fff;
          font-size: 11px; font-weight: 700; padding: 3px 34px; z-index: 2; }
[dir=rtl] .ribbon { transform: rotate(45deg); }

/* ---------- filter / pager ---------- */
.filter { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0 0 20px; }
.filter input, .filter select { height: 36px; border: 1px solid #ccc; padding: 0 10px; font: inherit; background: #fff; }
.filter input { flex: 1; min-width: 200px; }
.btn { display: inline-block; background: var(--bar); color: #fff; border: 0; padding: 9px 18px; font-weight: 700; cursor: pointer;
       text-transform: uppercase; font-size: 12px; }
.btn:hover { background: var(--blue); color: #fff; }
.btn.orange { background: var(--orange); }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 30px 0 0; }
.pager a, .pager span { background: #fff; padding: 7px 14px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }

/* ---------- listing detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; }
.detail h1 { font-size: 28px; font-weight: 400; margin: 0 0 4px; }
.detail .sub { color: #888; margin-bottom: 14px; font-size: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.badges span { display: inline-flex; align-items: center; gap: 5px; background: #eef4fb; color: var(--bar); padding: 3px 10px;
               border-radius: 12px; font-size: 12px; font-weight: 600; }
.badges img { width: 18px; height: 18px; }
.gallery-main { background: #eee; aspect-ratio: 16/9; display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; }
.thumbs img { width: 90px; height: 64px; object-fit: cover; cursor: pointer; opacity: .75; border-bottom: 3px solid transparent; }
.thumbs img.on, .thumbs img:hover { opacity: 1; border-color: var(--red); }
.tabs { display: flex; justify-content: center; border-bottom: 1px solid var(--line); margin: 14px 0 0; }
.tabs button { background: none; border: 0; padding: 12px 22px; font: 600 12px "Open Sans", sans-serif; color: #999;
               text-transform: uppercase; cursor: pointer; border: 1px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: #444; background: #fff; border-color: var(--line); border-bottom-color: #fff; border-top: 2px solid #444; }
.tab-body { background: #fff; border: 1px solid var(--line); border-top: 0; padding: 22px 26px; }
.tab-body[hidden] { display: none; }
.field { margin-bottom: 18px; }
.field h4 { color: var(--orange); text-transform: uppercase; font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.field ul { margin: 4px 0; padding-inline-start: 18px; }
.field p { margin: 2px 0 6px; }
.kv { display: inline-flex; gap: 12px; }
.kv b { color: #333; font-weight: 600; }
.group-title { font-size: 13px; letter-spacing: .5px; text-transform: uppercase; color: var(--bar); border-bottom: 2px solid var(--bar);
               padding-bottom: 4px; margin: 22px 0 14px; }
.prose { font-size: 14px; line-height: 1.7; }
.prose img { height: auto; }
.side { position: sticky; top: 70px; }
.side .panel { padding: 20px; }
.side h3 { margin: 0 0 12px; color: var(--bar); font-size: 15px; text-transform: uppercase; }
.side p { margin: 0 0 10px; word-break: break-word; }
.side .row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.side .row i { font-style: normal; width: 20px; flex: none; text-align: center; }
#map { height: 380px; }
.side-map { height: 200px; margin: 8px 0 12px; }
.branch { border-top: 1px solid #eee; padding: 10px 0; font-size: 12px; }
.branch strong { color: #333; }
.pre { white-space: pre-line; }

/* ---------- content page ---------- */
.content h2 { font-size: 24px; font-weight: 400; margin: 28px 0 10px; }
.content h3 { font-size: 16px; margin: 20px 0 6px; }
.content p, .content li { font-size: 13px; }

/* ---------- footer ---------- */
.ftr { margin-top: 30px; }
.skyline { height: 150px; background: url("../img/MainFooter.8bae029dd447.png") repeat-x center bottom / auto 150px; }
.ftr-in { background: var(--navy); color: #aab4c3; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
          padding: 16px 40px; font-size: 12px; }
.ftr-in a { color: #fff; }
.ftr-cities a { margin-inline-start: 14px; }
.to-top { position: fixed; bottom: 18px; inset-inline-end: 18px; width: 42px; height: 42px; background: #333; color: #fff; display: grid;
          place-items: center; font-size: 14px; opacity: .85; z-index: 60; }
.to-top:hover { color: #fff; opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 767px) {
  .hdr { min-height: 70px; }
  .logo-box { position: static; width: 84px; margin: 6px 10px; box-shadow: none; }
  .logo-box img { width: 64px; margin: 4px auto; }
  .logo-box span { padding: 3px 0; font-size: 11px; }
  .hdr-main { margin: 0; }
  .social { display: none; }
  .hdr-top { justify-content: flex-end; border: 0; height: 34px; }
  .menu-toggle { display: block; position: absolute; top: 36px; inset-inline-end: 12px; background: var(--bar); color: #fff; border: 0;
                 font-size: 20px; width: 42px; height: 36px; cursor: pointer; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
          padding: 0; box-shadow: 0 6px 12px rgba(0,0,0,.2); }
  .menu-open .menu { display: flex; }
  .menu a { border: 0 !important; border-top: 1px solid #eee !important; padding: 12px 16px !important; }
  .bar-in, [dir=rtl] .bar-in { padding: 8px 12px; flex-direction: column; align-items: stretch; }
  .crumbs { font-size: 14px; }
  .search input { flex: 1; width: auto; }
  .page { padding-top: 20px; }
  .hero { margin: -20px -15px 22px; min-height: 230px; }
  .hero-in { padding: 20px; }
  .hero h1 { font-size: 26px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile .t { top: 10px; left: 10px; right: 10px; padding: 7px 6px; font-size: 11px; }
  .panel { padding: 18px; }
  .ftr-in { padding: 14px 16px; }
  .skyline { height: 90px; background-size: auto 90px; }
}

/* image placeholders sit behind real photos */
.card .img, .tile { position: relative; }
.card .img img, .tile img { position: absolute; inset: 0; z-index: 1; }
.tile .t, .tile .n { z-index: 2; }
.card .img .ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #9fb6d6, #6d8fc0); }
.card .info { z-index: 2; }
