/* The destination colours complement the shared AvaApply masthead and actions. */
.dst {
  --dst-space: clamp(42px,5.2vw,78px);
  --dst-deep: #133343;
  --dst-tone: #185f63;
  --dst-ink: #104653;
  --dst-paper: #eef7f5;
  --dst-tint: #d7ece7;
  --dst-rule: #cfdfdf;
  color: var(--ink);
}
.dst[data-guide="turkey"] {
  --dst-tone: #a13350;
  --dst-ink: #66243a;
  --dst-paper: #fcf3ee;
  --dst-tint: #f3dadd;
  --dst-rule: #e9d5d4;
}
.dst[data-guide="northern-cyprus"] {
  --dst-tone: #16716d;
  --dst-ink: #115753;
  --dst-paper: #ecf7f3;
  --dst-tint: #cceae1;
  --dst-rule: #cde3dc;
}
.dst[data-guide="southern-cyprus"] {
  --dst-tone: #925021;
  --dst-ink: #6b391d;
  --dst-paper: #fbf4e7;
  --dst-tint: #f3dfbd;
  --dst-rule: #e8d9c3;
}
.dst :is(h1,h2,h3,h4,p,dl,dd,figure,ul) { margin: 0; }
.dst :is(h1,h2,h3,h4,dt,dd,p,a,summary) { overflow-wrap: anywhere; }
.dst h2 { font-size: clamp(1.6rem,2.6vw,2.55rem); line-height: 1.42; }
.dst h3 { font-size: clamp(1.15rem,1.55vw,1.48rem); line-height: 1.55; }
.dst :is(p,dd) { color: var(--muted); text-align: start; line-height: 1.9; }
.dst p + p { margin-block-start: 8px; }
.dst :is(a,summary):focus-visible { outline: 3px solid #2868aa; outline-offset: 3px; }
.dst-section { padding-block: var(--dst-space); scroll-margin-block-start: 20px; }
.dst-crumbs { flex-wrap: wrap; margin: 0; gap: 4px 10px; padding-block: 17px 15px; }

.dst-hero {
  display: grid;
  grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr);
  background: var(--dst-paper);
  color: var(--dst-ink);
  border-radius: clamp(18px,2.4vw,34px);
  box-shadow: inset 0 0 0 1px var(--dst-rule);
  overflow: hidden;
}
.dst-hero-copy { padding: clamp(26px,3.4vw,49px) clamp(23px,3.9vw,57px); align-self: center; }
.dst-place { display: inline-flex; align-items: center; gap: 11px; color: var(--dst-tone); font-weight: 650; line-height: 1.5; font-size: .95rem; }
.dst-place img { display: block; width: 40px; height: 27px; object-fit: contain; background: #fff; border-radius: 4px; outline: 1px solid #13263522; box-shadow: 0 2px 4px #27283412; }
.dst-hero h1 { color: var(--dst-ink); margin-block-start: clamp(10px,1.45vw,20px); font-size: clamp(2.15rem,3.8vw,4rem); line-height: 1.26; text-wrap: balance; }
.dst-hero-copy p { max-width: 58ch; margin-block-start: 12px; color: #364e55; }
.dst-hero-jump { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-block-start: 16px; padding: 8px 18px; background: white; border: 1px solid var(--dst-rule); border-radius: 999px; color: var(--dst-ink); font-weight: 680; }
.dst-hero-jump:hover { border-color: var(--dst-tone); }
.dst-hero-jump .icon { width: 18px; height: 18px; }
.dst-hero-photo { min-height: clamp(230px,24vw,355px); position: relative; overflow: hidden; border-start-start-radius: clamp(45px,8vw,118px); background: var(--dst-tint); }
.dst-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dst-hero-photo figcaption { position: absolute; inset-inline-end: clamp(13px,2vw,25px); inset-block-end: clamp(13px,1.7vw,21px); display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 35px); padding: 6px 13px; border-radius: 999px; background: #102a37ee; color: white; font-size: .9rem; font-weight: 580; }
.dst-hero-photo figcaption .icon { width: 17px; height: 17px; color: #f9d899; }
.dst-contents { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 clamp(12px,2vw,28px); padding-block: 12px; border-bottom: 1px solid var(--dst-rule); }
.dst-contents strong { color: var(--dst-ink); font-size: 1rem; }
.dst-contents > div { display: flex; flex-wrap: wrap; gap: 0 clamp(12px,2vw,28px); }
.dst-contents a { text-decoration: underline; text-decoration-color: var(--dst-rule); text-underline-offset:.28em; }
.dst-contents a { display: inline-flex; align-items: center; min-height: 44px; color: #395766; font-size: .94rem; font-weight: 620; }
.dst-contents a:hover { color: var(--dst-ink); text-decoration: underline; text-underline-offset: .28em; }

.dst-overview { padding-block-end: var(--dst-space); }
.dst-facts { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); }
.dst .dst-facts { margin-block-start: clamp(16px,2vw,26px); border: 1px solid var(--dst-rule); border-radius: 16px; background: #fff; }
.dst-facts > div { --fact-color: #235a83; --fact-bg: #e4f0fc; min-width: 0; margin-block: 17px; padding-inline: clamp(12px,1.65vw,24px); }
.dst-facts > div + div { border-inline-start: 1px solid var(--dst-rule); }
.dst-facts > div:nth-child(2) { --fact-color: #694382; --fact-bg: #f0e7f6; }
.dst-facts > div:nth-child(3) { --fact-color: #256344; --fact-bg: #e1f3e8; }
.dst-facts > div:nth-child(4) { --fact-color: #94491d; --fact-bg: #ffeddb; }
.dst-facts > div:nth-child(5) { --fact-color: #276d74; --fact-bg: #def3f2; }
.dst-facts dt { display: flex; align-items: center; gap: 8px; color: #425c65; font-size: .93rem; font-weight: 620; line-height: 1.55; }
.dst-fact-icon { display: inline-grid; place-items: center; flex: none; width: 35px; height: 35px; border-radius: 11px; color: var(--fact-color); background: var(--fact-bg); }
.dst-fact-icon svg { width: 19px; height: 19px; }
.dst-facts dd { margin-block-start: 10px; text-align: start; }
.dst-facts strong { color: var(--dst-deep); font-size: clamp(1.07rem,1.38vw,1.32rem); line-height: 1.48; }
.dst-facts small,.dst-name-list small { display: block; margin-block-start: 3px; line-height: 1.6; font-size: .88rem; color: var(--muted); }

.dst-location-copy p,.dst-lead p,.dst-academic header p { max-width: 80ch; margin-block-start: 9px; }
.dst-maps { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(13px,2vw,25px); margin-block-start: 22px; }
.dst-maps figure { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--dst-rule); overflow: hidden; border-radius: 17px; background: var(--dst-paper); }
.dst-maps figcaption { padding: 11px 17px; font-weight: 690; color: var(--dst-ink); }
.dst-maps :is(iframe,img) { display: block; width: 100%; border: 0; background: #c5ebe9; }
.dst-maps iframe { flex: 1; min-height: 220px; }
.dst-maps img { aspect-ratio: 760 / 420; height: auto; object-fit: contain; }
.dst-map-caption { padding: 8px 16px; }
.dst-map-caption p,.dst-reviewed { font-size: .89rem; }
.dst-map-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 12px; padding: 5px 14px; }
.dst-map-links a,.dst-sources a,.dst-institutions a,.dst-name-list a { color: #23567e; text-decoration: underline; text-decoration-color: #9ab6c8; text-underline-offset: .22em; }
.dst-map-links a { font-size: .875rem; padding-block: 4px; }

.dst-academic-band { background: var(--dst-paper); border-block: 1px solid var(--dst-rule); }
.dst-academic,.dst-planning { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 27px clamp(28px,6vw,90px); align-items: start; }
.dst-academic :is(h2,dt),.dst-planning dt { color: var(--dst-ink); }
.dst-notes > div,.dst-institutions { padding-block-start: 16px; border-block-start: 1px solid var(--dst-rule); }
.dst-notes > div + div { margin-block-start: 16px; }
.dst-notes dt { font-size: 1.15rem; font-weight: 710; }
.dst-notes dd { margin-block-start: 4px; }
.dst-institutions { grid-column: 1/-1; }
.dst-institutions ul,.dst-source-links { list-style: none; padding: 0; }
.dst-institutions ul { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); gap: 12px; margin-block-start: 13px; }
.dst-institutions li { display: grid; align-content: start; gap: 3px; padding: 13px 18px; border: 1px solid var(--dst-rule); border-radius: 12px; background: #fff; }
.dst-institutions li span { color: var(--muted); font-size: .94rem; line-height: 1.7; }

.dst-index-tool {
  display: grid; grid-template-columns: auto minmax(0,1fr) minmax(0,auto);
  align-items: center; gap: 16px clamp(15px,2vw,28px); margin-block-start: 22px;
  padding: clamp(18px,2.3vw,32px); border-radius: 18px;
  color: #153b52; border: 1px solid #bcd9e2; background: linear-gradient(110deg,#edf7f6,#f1f5ff);
}
.dst-index-mark { display: grid; place-items: center; width: clamp(44px,5vw,64px); height: clamp(44px,5vw,64px); border-radius: 15px; background: #183e53; color: #c3e8e1; }
.dst-index-mark svg { width: 48%; height: 48%; }
.dst-index-copy h3 { line-height: 1.35; font-size: clamp(1.27rem,1.8vw,1.63rem); }
.dst-index-copy p { max-width: 68ch; margin-block-start: 5px; line-height: 1.7; }
.dst-index-copy .dst-index-note,.dst-index-note { font-size: .9rem; color: #435969; }
.dst-index-actions { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: flex-end; gap: 8px; }
.dst-index-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border: 1px solid #19465a; border-radius: 9px; padding: 8px 15px; background: #19465a; color: white; font-weight: 650; text-align: center; }
.dst-index-action + .dst-index-action { color: #16405a; background: white; border-color: #8aaeb9; }
.dst-index-action:hover { background: #092f40; }
.dst-index-action + .dst-index-action:hover { background: #dceef0; }
.dst-index-action svg { width: 17px; height: 17px; }
.dst-registers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(14px,2vw,24px); align-items: start; margin-block-start: 20px; }
.dst-register { min-width: 0; padding: clamp(17px,2.1vw,30px); background: white; border: 1px solid #d0dde4; border-block-start: 4px solid #6c91a8; border-radius: 17px; }
.dst-register:nth-child(2) { border-block-start-color: #438269; }
.dst-register header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 14px; justify-content: space-between; }
.dst-count { color: #35535e; font-size: .90rem; font-weight: 620; }
.dst-count bdi { font-size: 1.25rem; }
.dst-year { color: #3c5965; padding-block: 6px 10px; font-size: .93rem; font-weight: 540; }
.dst-register header + p { margin-block-start: 9px; }
.dst-list-group { margin-block-start: 12px; border-block-start: 1px solid #d6e0e5; }
.dst-list-group + .dst-list-group { margin-block-start: 0; }
.dst-previous { margin-block-start: 18px; border: 1px solid var(--dst-rule); border-radius: 12px; padding: 3px clamp(12px,1.8vw,22px); }
.dst-previous > summary small { display: block; font-weight: 500; color: var(--muted); }
.dst-previous .dst-register { margin-block: 6px 15px; }
.dst-previous > summary,.dst-list-group summary,.dst-source-drawer > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding-block: 7px; list-style: none; color: #254f66; font-weight: 670; cursor: pointer; }
.dst :is(.dst-previous,.dst-list-group,.dst-source-drawer) > summary::-webkit-details-marker { display: none; }
.dst-toggle { display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none; }
.dst-toggle::after { content: ''; display: block; width: 8px; height: 8px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.dst :is(.dst-previous,.dst-list-group,.dst-source-drawer)[open] > summary .dst-toggle::after { transform: rotate(225deg); }
.dst-group-note { margin-block-end: 7px; }
.dst .dst-name-list { padding: 0; list-style: none; }
.dst-name-list li { padding-block: 7px; border-block-start: 1px solid #e0e8eb; line-height: 1.65; }

.dst-visa { background: var(--dst-deep); border-radius: 24px; color: white; padding: clamp(23px,3.7vw,50px); }
.dst-visa h2 { color: #f4d797; }
.dst-visa-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px clamp(22px,3.8vw,60px); margin-block-start: clamp(18px,2vw,28px); }
.dst-visa-cols article + article { padding-inline-start: clamp(20px,3.5vw,48px); border-inline-start: 1px solid #42616e; }
.dst-visa-icon { display: inline-flex; margin-block-end: 7px; color: #afd4d1; }
.dst-visa p { color: #e4edf0; margin-block-start: 6px; }
.dst-passport-action { display: inline-flex; align-items: center; min-height: 44px; margin-block-start: 14px; padding: 7px 17px; border-radius: 10px; background: #f3d28a; color: #193345; font-weight: 710; }
.dst-passport-action:hover { background: #ffe2a3; }
.dst-consult-action { display: inline-flex; align-items: center; min-height: 44px; margin-block-start: 12px; padding: 6px 14px; border: 1px solid #90aabc; border-radius: 9px; color: #244e6f; font-weight: 650; }
.dst-consult-action:hover { background: #f3f7f9; }

.dst-sources { padding-block: 0; scroll-margin-block-start: 20px; }
.dst-planning { padding-block-end: 0; }
.dst .dst-next-links { display: grid; list-style: none; justify-items: start; padding: 0; margin-block-start: 16px; }
.dst-next-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); text-decoration: underline; text-underline-offset: .24em; }
.dst-source-drawer { padding-inline: clamp(14px,2.3vw,30px); border: 1px solid #d4e0e2; border-radius: 13px; background: #f8fafa; }
.dst-source-drawer > summary { min-height: 58px; flex-wrap: wrap; gap: 3px 12px; }
.dst-sources h2,.dst-related h2 { font-size: 1.15rem; }
.dst-source-title { flex: 1; }
.dst-reviewed { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .25em; color: #4b626a; font-weight: 500; }
.dst-source-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 40px; padding-block: 16px 21px; border-block-start: 1px solid #d4e0e2; }
.dst-source-groups h3 { font-size: 1.02rem; }
.dst-source-links { display: grid; gap: 4px; line-height: 1.7; }
.dst-sources .dst-source-links { margin-block-start: 8px; }
.dst-source-links a { display: inline-block; padding-block: 3px; font-size: .94rem; }
.dst-related { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 20px; padding-block: 22px var(--dst-space); }
.dst-related a { color: var(--blue); text-decoration: underline; text-underline-offset: .22em; }

@media(max-width:960px) {
  .dst-index-tool { grid-template-columns: auto minmax(0,1fr); }
  .dst-index-actions { grid-column: 2; justify-content: flex-start; }
  .dst-facts { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .dst-facts > div:nth-child(4) { border-inline-start: 0; }
}
@media(max-width:820px) {
  .dst-academic,.dst-planning,.dst-registers { grid-template-columns: 1fr; }
  .dst-hero-copy { padding: 24px; }
  .dst-hero h1 { font-size: clamp(1.85rem,3.6vw,2.3rem); }
}
@media(max-width:650px) {
  .dst-hero,.dst-visa-cols,.dst-maps,.dst-source-groups { grid-template-columns: 1fr; }
  .dst-hero-photo { min-height: 0; height: clamp(150px,43vw,230px); border-start-start-radius: 42px; }
  .dst-hero h1 { font-size: clamp(2rem,7vw,2.65rem); }
  .dst-hero-copy { padding: 20px; }
  .dst-contents { display: block; }
  .dst-contents > div { gap: 0 16px; }
  .dst-contents a { min-height: 44px; }
  .dst-facts { grid-template-columns: repeat(2,minmax(0,1fr)); background: transparent; }
  .dst-facts > div { margin-block: 11px; }
  .dst-facts > div:nth-child(2n+1) { border-inline-start: 0; }
  .dst-facts > div:nth-child(2n) { border-inline-start: 1px solid var(--dst-rule); }
  .dst-facts > div:last-child:nth-child(odd) { grid-column: 1/-1; }
  .dst-fact-icon { width: 30px; height: 30px; }
  .dst-maps iframe { min-height: 190px; }
  .dst-visa-cols article + article { border-inline-start: 0; padding-inline-start: 0; padding-block-start: 17px; border-block-start: 1px solid #42616e; }
  .dst-source-drawer > summary { justify-content: flex-start; }
  .dst-source-drawer > summary .dst-toggle { margin-inline-start: auto; }
}
@media(max-width:480px) {
  .dst-index-mark { width: 38px; height: 38px; border-radius: 11px; }
  .dst-index-tool { gap: 12px; }
  .dst-index-actions { grid-column: 1/-1; }
  .dst-index-action { flex: 1 1 7.7rem; }
}
@media(max-width:370px) {
  .dst-facts dt { flex-direction: column; align-items: flex-start; gap: 5px; }
  .dst-source-drawer > summary { display: grid; grid-template-columns: 1fr auto; padding-block: 11px; }
  .dst-source-drawer > summary .dst-reviewed { grid-column: 1; grid-row: 2; }
  .dst-source-drawer > summary .dst-toggle { grid-column: 2; grid-row: 1/3; }
}
