.ftp-profile {
  --ftp-muted: #486073;
  --ftp-rule: #cbd9df;
  --ftp-accent: #165573;
  color: var(--fts-ink);
  font: 400 1rem/1.58 var(--fts-body);
  overflow-wrap: anywhere;
}
.ftp-profile *, .ftp-profile *::before, .ftp-profile *::after { box-sizing: border-box; }
.ftp-profile :is(h1,h2,h3,p,ul,figure,address) { margin: 0; }
.ftp-profile a { color: var(--ftp-accent); text-underline-offset: .2em; }
.ftp-profile :is(a,button):focus-visible { outline: 3px solid #00799a; outline-offset: 3px; }
.ftp-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-bottom: 15px; font-size: .9rem; }
.ftp-tools .ftp-back { display: inline-flex; gap: .65em; align-items: center; padding: 5px 0; text-decoration: none; font-weight: 650; }
.ftp-tools .ftp-back:hover { text-decoration: underline; }
.ftp-back span { font-size: 1.2em; }
.ftp-views { display: inline-flex; align-items: center; gap: 8px; color: #385467; font-weight: 550; font-variant-numeric: tabular-nums; }
.ftp-views::before { content: ""; width: 15px; height: 10px; border: 1.4px solid currentColor; border-radius: 55% / 70%; background: radial-gradient(circle, currentColor 0 2px, transparent 2.4px); }
.ftp-identity { overflow: hidden; background: #fff; border: 1px solid var(--ftp-rule); border-radius: 16px; }
.ftp-head { padding: clamp(22px, 3.5vw, 44px); display: flex; gap: clamp(18px, 3.3vw, 40px); align-items: center; }
.ftp-logo { flex: 0 0 clamp(82px, 12vw, 146px); aspect-ratio: 1; display: grid; place-items: center; background: #fff; border: 1px solid #e0e7ea; border-radius: 12px; padding: 7px; }
.ftp-logo img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.ftp-identity-text { min-width: 0; }
.ftp-profile h1, .ftp-profile h2, .fts-profile .fta-articles h2 { color: var(--fts-ink); font: 400 clamp(32px, 3.1vw, 45px)/1.1 var(--fts-display); letter-spacing: -.018em; }
.ftp-profile h1 { font-size: clamp(41px, 5.6vw, 78px); line-height: 1.02; }
.ftp-address { margin-top: 11px !important; font: 450 clamp(15px, 1.3vw, 18px)/1.55 var(--fts-body); color: #304c60; }
.ftp-street, .ftp-places { display: block; }
.ftp-places > span:not(.ftp-separator) { display: inline; }
.ftp-separator { color: #627d8c; }
.ftp-badges { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 10px 0 0; }
.ftp-badges li { border: 1px solid var(--ftp-rule); padding: 3px 9px; border-radius: 4px; font-size: .83rem; }
.ftp-identity .ftp-intro { padding: 0 clamp(22px, 3.5vw, 44px) clamp(22px, 2.6vw, 32px); max-width: 84ch; color: #263e50; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; }
.ftp-banner, .ftp-gallery-item { display: block; position: relative; overflow: hidden; background: #edf2f3; }
.ftp-banner { border-top: 1px solid var(--ftp-rule); }
.ftp-banner img { width: 100%; height: clamp(190px, 25vw, 322px); display: block; object-fit: cover; object-position: 50% 48%; }
.ftp-enlarge { display: grid; place-items: center; position: absolute; bottom: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #193e52; border: 1px solid #ccd9dc; font: 600 20px/1 var(--fts-body); }
.ftp-enlarge { font-size: 0 !important; }
.ftp-enlarge::before, .ftp-enlarge::after { content: ""; position: absolute; width: 6px; height: 6px; border: solid currentColor; }
.ftp-enlarge::before { top: 25%; right: 25%; border-width: 1.6px 1.6px 0 0; }
.ftp-enlarge::after { bottom: 25%; left: 25%; border-width: 0 0 1.6px 1.6px; }
.ftp-profile a:is(:hover,:focus-visible) .ftp-enlarge { background: #13364b; color: #fff; }
.ftp-jumps { display: flex; flex-wrap: wrap; gap: 4px 22px; padding: 12px 0; border-bottom: 1px solid var(--ftp-rule); }
.ftp-jumps a { padding: 6px 0; font-weight: 600; font-size: .93rem; }
.ftp-layout { display: grid; gap: clamp(28px, 4vw, 58px); margin-top: clamp(25px, 4vw, 52px); }
.ftp-has-contact { grid-template-columns: minmax(0, 1fr) minmax(245px, .43fr); align-items: start; }
.ftp-layout.ftp-only-contact { grid-template-columns: minmax(0, 650px); }
.ftp-only-contact .ftp-main { display: none; }
.ftp-section + .ftp-section { margin-top: clamp(24px, 4vw, 44px); padding-top: clamp(22px, 3vw, 35px); border-top: 1px solid var(--ftp-rule); }
.ftp-section, .ftp-contact, .ftp-gallery-section { scroll-margin-top: 28px; }
.ftp-prose { margin-top: 17px; max-width: 74ch; color: #273f50; font: 400 1.035rem/1.72 var(--fts-body); }
.ftp-prose > * + * { margin-top: 1em; }
.ftp-prose :is(h2,h3,h4) { font: 650 1.15em/1.4 var(--fts-body); color: var(--fts-ink); letter-spacing: 0; }
.ftp-prose img { max-width:100%; height:auto; }
.ftp-profile .ftp-category { padding-top: 17px; }
.ftp-profile .ftp-category + .ftp-category { margin-top: 7px; }
.ftp-category h3, .ftp-contact h3 { margin: 0 0 9px; font: 650 1rem/1.4 var(--fts-body); color: #284559; }
.ftp-category ul { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; list-style: none; }
.ftp-category li { margin: 0; padding: 0; }
.ftp-category a { display: inline-flex; align-items: center; min-height: 36px; border: 1px solid #b7cbd3; padding: 5px 12px; border-radius: 5px; background: #f3f7f8; color: #154861; font-size: .92rem; font-weight: 550; text-decoration: none; }
.ftp-category a:hover, .ftp-category a:focus-visible { color: #fff; border-color: #16475f; background: #16475f; }
.ftp-contact { background: #eaf1f3; padding: clamp(22px, 2.5vw, 32px); border-top: 3px solid #35667a; border-radius: 0 0 10px 10px; }
.ftp-contact h2 { font-size: clamp(29px, 2.4vw, 36px); }
.ftp-contact ul { padding: 0; list-style: none; }
.ftp-contact li { margin: 14px 0 0; }
.ftp-contact li > span { display: block; color: #405b6b; font-size: .83rem; font-weight: 550; }
.ftp-contact a { font-weight: 600; }
.ftp-website-count { display: block; margin-top: 3px; color: var(--ftp-muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.ftp-contact h3 { margin-top: 20px; }
.ftp-location-map { margin-top: 20px; }
.ftp-location-map .ftv-mapbox { margin: 0; padding: 0; border: 0; background: transparent; }
.ftp-location-map .ftv-maphint { display: block; margin: 6px 0 0; color: #405b6b; font-size: .8rem; }
.ftp-location-map .ftv-map { height: 280px; }
.ftp-location-map .ftv-map[hidden] { display: none; }
.ftp-contact .ftp-map { display: inline-block; margin-top: 20px; }
.ftp-gallery-section { margin-top: clamp(28px, 5vw, 58px); padding-top: clamp(22px, 3vw, 37px); border-top: 1px solid var(--ftp-rule); }
.ftp-gallery { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%, 310px),1fr)); gap: clamp(10px, 1.45vw, 18px); }
.ftp-gallery:has(> :only-child) { grid-template-columns: 1fr; max-width: 720px; }
.ftp-gallery-item { aspect-ratio: 1.82; border: 1px solid #cbd7da; border-radius: 8px; }
.ftp-gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.ftp-gallery-item.ftp-upright img { object-fit: contain; }
.ftp-gallery-item .ftp-enlarge { width: 27px; height: 27px; right: 8px; bottom: 8px; font-size: 16px; }
.ftp-dialog { position: fixed; inset: 0; max-width: min(96vw, 1440px); max-height: 94vh; max-height: 94dvh; width: fit-content; height: fit-content; padding: 0; margin: auto; border: 0; border-radius: 10px; background: #102735; color: #fff; }
.ftp-dialog:not([open]) { display: none; }
.ftp-dialog::backdrop { background: rgb(7 18 28 / 86%); }
.ftp-viewer { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 9px; padding: clamp(10px, 2vw, 23px); width: min(92vw, 1220px); }
.ftp-viewer-top, .ftp-viewer-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.ftp-full { display: block; width: 100%; height: min(64vh, 760px); height: min(64dvh, 760px); object-fit: contain; }
.ftp-viewer .ftp-caption { font: 500 .94rem/1.4 var(--fts-body); color: #fff; }
.ftp-position { font-variant-numeric: tabular-nums; color: #ddeaf0; font-size: .9rem; }
.ftp-controls { display: flex; gap: 7px; }
.ftp-controls[hidden] { display: none; }
.ftp-viewer button { background: #203e50; color: #fff; border: 1px solid #7793a1; border-radius: 6px; min-width: 43px; min-height: 42px; padding: 6px 13px; cursor: pointer; font: 600 1rem/1.2 var(--fts-body); }
.ftp-viewer button:hover { background: #38596b; }
.ftp-viewer .ftp-close span { margin-left: .3rem; }
.fts-profile .fta-articles { padding-top: 30px; margin-top: 36px; border-top: 1px solid var(--ftp-rule, #cbd9df); }
@media (max-width: 740px) {
  .ftp-has-contact { grid-template-columns: 1fr; }
  .ftp-has-contact .ftp-contact { grid-row: 1; }
  .ftp-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .ftp-head { align-items: flex-start; }
  .ftp-dialog { max-width: 100vw; }
  .ftp-viewer { width: 94vw; }
}
@media (max-width: 480px) {
  .ftp-head { flex-wrap: wrap; gap: 15px; padding: 20px; }
  .ftp-logo { flex-basis: 78px; }
  .ftp-identity-text { flex: 1 1 100%; }
  .ftp-tools { font-size: .82rem; }
  .ftp-banner img { height: auto; max-height: 280px; object-fit: contain; }
  .ftp-profile h1 { font-size: clamp(37px, 10vw, 46px); }
  .ftp-jumps { column-gap: 15px; }
  .ftp-gallery { grid-template-columns: 1fr; }
}

.ftp-claim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin: 1.4rem 0;
  padding: 1.1rem clamp(1rem, 3vw, 1.7rem);
  border: 1px solid var(--ftp-rule);
  border-radius: .65rem;
  background: #edf5f6;
}
.ftp-claim h2 { font: 600 1.25rem/1.3 var(--fts-body); color: #13394b; }
.ftp-claim p { margin-top: .25rem; color: var(--ftp-muted); }
.ftp-profile a.ftp-claim-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 44px;
  padding: .55rem 1.05rem;
  border-radius: .3rem;
  background: #184d64;
  color: white;
  font-weight: 600;
  text-decoration: none;
}
.ftp-profile a.ftp-claim-button:hover { background: #10384a; }
.ftp-profile .ftp-owner-link { margin: 1.1rem 0; }

.ftp-intro > p + p { margin-top: .65em; }
.ftp-prose :is(ul,ol) { padding-inline-start: 1.55em; }
.ftp-prose ul { list-style: disc; }
.ftp-prose ol { list-style: decimal; }
.ftp-prose blockquote { margin-inline: 0; border-inline-start: 3px solid #75a5a9; padding-inline-start: 1em; }
.ftp-intro a, .ftp-prose a { text-decoration: underline; text-underline-offset: .15em; }

.ftp-profile .ftp-editorial { margin: 14px 0; color: #375465; font-size: .92rem; line-height: 1.65; }
.ftp-editorial a { text-decoration: underline; text-underline-offset: .14em; }
