.at-page { color: var(--ink,#0a1942); background: #fff; }
.at-page * { box-sizing: border-box; }
.at-wrap { width: min(100% - 44px, 1280px); margin-inline: auto; }
.at-page :is(h1,h2,h3,p,figure,ol,dl,dd) { margin: 0; }
.at-page h1,.at-page h2,.at-page h3 { text-wrap: balance; letter-spacing: -.04em; }
.at-page h2 {font-size: clamp(1.7rem,3.1vw,3rem);font-weight: 550;line-height: 1.12;}
.at-page h3 {font-size: clamp(1.03rem,1.5vw,1.32rem);font-weight: 650;line-height:1.25;}
.at-mast { overflow: hidden; position: relative; isolation: isolate; color: #fff; background: #0b2150; padding: clamp(22px,3.5vw,52px) 0 0; }
.at-mast::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(6,18,50,.95),rgba(8,29,68,.84) 48%,rgba(8,27,66,.35)),url('israel-panorama.webp') center 53%/cover no-repeat; }
[dir=rtl] .at-mast::before {background-image:linear-gradient(270deg,rgba(6,18,50,.95),rgba(8,29,68,.84) 48%,rgba(8,27,66,.35)),url('israel-panorama.webp');}
.at-mast h1 { max-width: 27ch; font-size: clamp(2rem,4.1vw,4.2rem); font-weight: 500; line-height: 1.015; }
.at-mast p { max-width: 66ch; font-size: clamp(1.02rem,1.5vw,1.42rem); line-height: 1.5; margin: 10px 0 clamp(16px,2vw,26px); color: #f1f3ff; }
.at-years { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); border-block-start: 1px solid #9eaff27a; background: #091b43aa; border-radius: 13px 13px 0 0; overflow: hidden; }
.at-years a { position: relative; display: grid; place-items: center; min-height: clamp(42px,4.3vw,59px); color: #f7f8ff; font-size: clamp(.85rem,1.15vw,1.1rem); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.at-years a:hover { background: #233968; }
.at-years a[aria-current] { background: #fadce9; color: #11264f; }
.at-top { display: grid; grid-template-columns: .81fr 1.19fr; align-items: center; gap: clamp(28px,6vw,94px); padding-block: clamp(43px,5.6vw,85px); border-bottom: 1px solid #dce1ee; }
.at-total-year { display: inline-flex; gap: 7px; align-items: center; color: #38567e; font-weight: 650; font-size: .875rem; }
.at-total-year time { background: #e8efff; color: #164492; border-radius: 99px; padding: 4px 10px; }
.at-page .at-total h2 { display: block; margin-top: 17px; font-size: clamp(1.1rem,1.7vw,1.6rem); }
.at-count { display: block; font-weight: 650; font-size: clamp(4rem,8.5vw,8.1rem); line-height: 1; color: #132e6c; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.at-change { display: inline-block; color: #283a60; font-size: .9rem; margin-block-start: 13px; }
.at-change bdi { display: inline-block; color: #153d90; background: #edf2ff; padding: 4px 9px; border-radius: 99px; font-weight: 680; }
.at-page .at-chart h2 {font-size:clamp(1.35rem,2vw,2rem);}
.at-chartplot { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); height:clamp(125px,13.4vw,186px); gap:clamp(4px,.75vw,13px); margin-top: 18px; border-block-end:1px solid #cbd5e8; }
.at-bar { min-width: 0; display: grid; grid-template-rows: 1fr 23px; gap:7px; align-items: end; justify-items: stretch; text-align:center; text-decoration:none; font-size:clamp(.65rem,.88vw,.85rem); color:#405478; font-weight:600; }
.at-bar-track { display: flex; height:100%; align-items: end; }
.at-bar-track i { display: block; width:100%; height:var(--bar); border-radius:4px 4px 0 0; background:linear-gradient(0deg,#416cc9,#6186dc); }
.at-bar[aria-current] .at-bar-track i,.at-bar:hover .at-bar-track i {background:linear-gradient(0deg,#253f86 34%,#9c8bbf 75%,#f3bdd4 100%);}
.at-bar[aria-current] {color:#0d2f76;}
.at-history {margin-top: 14px; font-size:.91rem; color:#254c94;}
.at-history summary {width:fit-content; cursor:pointer; font-weight:650;}
.at-history table {width:100%; margin-block-start:13px; border-collapse:collapse; color:#213455; font-size:.86rem;}
.at-history td,.at-history th {text-align:start; padding:6px 5px; border-bottom:1px solid #d9e1f1;vertical-align:top;}
.at-history td a {text-underline-offset:3px;}
.at-details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4.8vw,70px); padding-block: clamp(40px,5.8vw,87px); align-items:start; }
.at-block { min-width:0; }
.at-block .at-caption,.at-page .at-subtle { color:#465779; line-height:1.5; font-size:.94rem; }
.at-page .at-caption { margin:10px 0 18px; }
.at-pick { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:12px 0; color:#314564; font-size:.93rem; font-weight:600; flex-wrap:wrap; }
.at-pick select { max-width:100%; min-height:40px; padding:7px 8px; background:#f0f4fc; color:#152e61; border:1px solid #c9d7ed; border-radius:7px; font:inherit; }
.at-pick select:disabled {opacity:.85;}
.at-ranking { list-style:none; padding:0; }
.at-ranking li { display:grid; grid-template-columns:25px minmax(0,1fr) auto; align-items:baseline; gap:8px; padding:10px 0; border-block-end:1px solid #dae2ee; color:#26395b; line-height:1.3;}
.at-ranking strong,.at-ranking bdi,.at-ages dd {font-variant-numeric:tabular-nums;}
.at-rank-n {color:#647594; font-size:.75rem;}
.at-city { padding:clamp(20px,2.8vw,38px); border-radius:clamp(17px,2.7vw,36px); background:linear-gradient(150deg,#eaf1ff 0%,#f4f7ff 62%,#fff0f7); }
.at-city .at-pick {margin-block:6px;}
.at-city .at-city-name {font-size:clamp(1.2rem,1.65vw,1.6rem);font-weight:650;}
.at-city-metric {display:flex; align-items:baseline; flex-wrap:wrap; gap:10px; margin-block-start:8px;}
.at-city-metric strong {font-size:clamp(2rem,4.1vw,3.9rem);line-height:1.02;letter-spacing:-.055em;color:#142f6a;}
.at-city .at-subtle {font-size:.83rem; margin-block-start:3px;}
.at-city h3 {margin-top:20px;}
.at-city .at-ranking {margin-top:5px;}
.at-ages {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:9px!important;}
.at-ages div {padding:9px 3px;border-top:1px solid #c7d5e8;}
.at-ages dt {font-size:.76rem;color:#465a7a;}
.at-ages dd {font-weight:650;}
.at-city .at-guide {display:inline-block;color:#153f8c;margin-block-start:15px;font-weight:650;text-underline-offset:3px;}
/* The country picker and its three results form the opening section, directly beneath the year tabs. */
.at-origin-dest {
  margin-block: clamp(16px,2.2vw,32px) 0; padding: clamp(18px,2.6vw,34px);
  border: 1px solid #cbd8eb; border-radius: 18px;
  background: linear-gradient(120deg,#f4f7ff,#fff 68%,#fff7fb);
  display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr);
  gap: clamp(18px,4vw,60px); align-items: start;
}
[dir=rtl] .at-origin-dest { background: linear-gradient(240deg,#f4f7ff,#fff 68%,#fff7fb); }
.at-origin-dest .at-pick { align-items: start; flex-direction: column; gap: 7px; padding: 0; font-size: 1rem; color: #142b52; }
.at-origin-dest .at-pick select { width: min(100%, 20rem); min-height: 44px; background-color: #fff; }
.at-origin-dest .at-caption { margin: 8px 0 0; max-width: 49ch; font-size: .83rem; line-height: 1.45; color: #455775; }
.at-dest-columns { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #cbd7e8;
  padding-block-end: 6px; font-size: .84rem; font-weight: 650; color: #385476; }
.at-origin-dest .at-ranking li { padding-block: 9px; font-size: clamp(1rem,1.3vw,1.25rem); }
.at-origin-dest .at-ranking li:last-child { border-bottom: 0; }
.at-origin-dest .at-ranking strong { color: #193b82; }
.at-src {background:#eff3fb;padding-block:clamp(26px,4vw,56px);}
.at-src h2 {font-size:clamp(1.3rem,2vw,2rem);}
.at-src p {max-width:88ch;color:#3e5071;font-size:.95rem;line-height:1.55;margin-block:10px;}
.at-src a {display:inline-block;margin-inline-end:18px;margin-block-start:6px;color:#184397;text-underline-offset:3px;font-weight:600;font-size:.91rem;}
.at-page a:focus-visible,.at-page select:focus-visible,.at-page summary:focus-visible {outline:3px solid #3863cd;outline-offset:2px;}
.at-years a:focus-visible{outline-offset:-3px;outline-color:#fff;}
.at-empty {color:#53617d;}
@media(max-width:750px) {
 .at-wrap{width:calc(100% - 32px)}
 .at-years {grid-template-columns:repeat(5,minmax(0,1fr));}
 .at-top,.at-details,.at-origin-dest {grid-template-columns:1fr;}
 .at-top,.at-details {gap:28px;}
 .at-mast {padding-top:18px;}
 .at-origin-dest {gap:10px;}
 .at-origin-dest > div:first-child {display:contents;}
 .at-origin-dest .at-caption {grid-row:3;margin:0;}
 .at-origin-dest .at-ranking li {padding-block:7px;}
 .at-origin-dest .at-pick { flex-direction: row; align-items: center; }
 .at-origin-dest .at-pick select { width: auto; flex: 1 1 8rem; }
 .at-chartplot {height:142px;}
 .at-history td a {overflow-wrap:anywhere;}
}
[dir=rtl] .at-count { text-align: right; }

.at-city-comparison { margin-block-start: .8rem; border-block-start: 1px solid #cbd7e8; }
.at-city-comparison summary {
  padding-block: .85rem .55rem; color: #153c82; width: fit-content;
  cursor: pointer; font-size: .98rem; font-weight: 650;
}
.at-city-comparison table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.at-city-comparison caption { padding-block: .55rem; color: #435474; font-weight: 600; text-align: start; }
.at-city-comparison th,.at-city-comparison td { padding: .5rem .2rem; border-bottom: 1px solid #d8e1ef; text-align: start; }
.at-city-comparison thead th { color: #31486e; }
.at-city-comparison tbody th { font-weight: 500; color: #203455; }
.at-city-comparison th:last-child,.at-city-comparison td { text-align: end; font-variant-numeric: tabular-nums; }

/* The rank bars compare arrivals to the largest of the three receiving localities. */
.at-origin-dest [data-at="receivingRows"] li { position: relative; padding-block-end: 12px; border: none; }
.at-origin-dest [data-at="receivingRows"] li::after {
  content: ""; display: block; position: absolute; inset-inline-start: 0; bottom: 3px;
  width: var(--relative-count, 0); height: 3px; border-radius: 9px; background: #90aada;
}
.at-origin-dest [data-at="receivingRows"] li:first-child::after { background: linear-gradient(90deg,#244d92,#7595c7); }
.at-origin-dest { box-shadow: 0 6px 24px #183c7410; }
.at-years { padding: 4px; gap: 3px; border-color: #d2dfff42; background: #0e2246eb; }
.at-years a { min-height: clamp(36px,3.9vw,54px); border-radius: 8px; }
.at-years a[aria-current] { background: #fbdeed; box-shadow: 0 1px 7px #0002; }
.at-city { border: 1px solid #d5e1ef; }
.at-chartplot { background: repeating-linear-gradient(to top, #d8e1ed 0 1px, transparent 1px 25%); }
.at-city-comparison summary { width: 100%; }
@media(max-width: 750px) {
  .at-years { gap: 1px; padding: 3px; }
  .at-years a { min-height: 38px; }
}
