/* Shared editorial and service presentation, including imported content. */
#fk-main .fk-image-banner[data-content-banner-id] {
  margin-block: var(--fk-section-edge, 24px);
}

#fk-main .fk-image-banner[data-content-banner-id] :is(a, picture, img) { display: block; }
#fk-main .fk-image-banner[data-content-banner-id] img { max-width: 100%; height: auto; }

/* The guide can emit a style tag before its section. Its top padding supplies the lower gap. */
body[data-design-family] #fk-main .fk-service-content-top-banners:has(+ .service-guide-section, + style + .service-guide-section) {
  display: flow-root;
  padding-block-start: var(--fk-banner-guide-gap, 48px);
}
body[data-design-family] #fk-main .fk-service-content-top-banners:has(+ .service-guide-section, + style + .service-guide-section) > .fk-image-banner:first-child { margin-block-start: 0; }
body[data-design-family] #fk-main .fk-service-content-top-banners:has(+ .service-guide-section, + style + .service-guide-section) > .fk-image-banner:last-child { margin-block-end: 0; }

body[data-design-family="subscription-purchase"] { --fk-banner-guide-gap: 34px; }
body[data-design-family="topup"] { --fk-banner-guide-gap: 54px; }

@media (max-width: 680px) {
  body[data-design-family] { --fk-banner-guide-gap: 35px; }
  body[data-design-family="subscription-purchase"] { --fk-banner-guide-gap: 28px; }
  body[data-design-family="topup"] { --fk-banner-guide-gap: 38px; }
}

/* Rich content must size within its reading column, including long links and floated media. */
#fk-main :is(.prose,.design-prose,.fk-st-richtext,.fk-article-content,.fk-managed-text,.faq-answer) { min-width:0; max-width:100%; overflow-wrap:anywhere; }
#fk-main .fk-imported-editorial .design-prose { display:flow-root; }
#fk-main .fk-imported-editorial .design-prose>:first-child { margin-top:0; }
#fk-main .fk-imported-editorial .design-prose>:last-child { margin-bottom:0; }
#fk-main :is(.prose,.design-prose,.fk-st-richtext,.fk-article-content,.fk-managed-text,.faq-answer) :is(figure,picture,video,iframe,pre) { max-width:100%; box-sizing:border-box; }
#fk-main :is(.prose,.design-prose,.fk-st-richtext,.fk-article-content,.fk-managed-text,.faq-answer) img { max-width:100%; height:auto; }
#fk-main :is(.prose,.design-prose,.fk-st-richtext,.fk-article-content,.fk-managed-text,.faq-answer) pre { overflow-x:auto; }
html body h1.fk-unified-main-heading { white-space:normal !important; overflow-wrap:break-word; word-break:normal; }
html body h1.fk-unified-main-heading :is(span,bdi,strong,em,b,i,a) { color:inherit !important; font:inherit; display:inline !important; }
html body h2:where(:not(.fk-source-landing *,[data-article-design] .fk-article-content *)),body[data-site-chrome] #fk-main h2:where(:not(.fk-source-landing *,[data-article-design] .fk-article-content *)) { font-size:20px !important; }
body[data-site-chrome] #fk-main h2:where(:not(.fk-source-landing *,[data-article-design] .fk-article-content *)) :is(span,bdi,strong,em,b) { font-size:inherit !important; }
.fk-legal-content :is(p,li),[data-page-key="terms"] :is(p,li),[data-page-key="terms-and-conditions"] :is(p,li) { line-height:2.7 !important; margin-block:0 1.35em; }
.fk-public-table-scroll { display:block; width:100%; max-width:100%; min-width:0; overflow-x:auto; overscroll-behavior-inline:contain; margin-block:24px; border:1px solid #d8e3f0; border-radius:12px; -webkit-overflow-scrolling:touch; }
html body .fk-public-table { display:table !important; width:100% !important; min-width:100%; border-collapse:collapse; table-layout:auto !important; overflow:visible !important; margin:0 !important; }
html body .fk-public-table :is(th,td) { text-align:center !important; vertical-align:middle !important; border:1px solid #d8e3f0 !important; padding:14px 18px !important; line-height:2; overflow-wrap:normal !important; word-break:normal !important; }
html body .fk-public-table :is(th,td) * { text-align:center !important; }
html body .fk-public-table th { background:#eaf1fa !important; color:#193758; font-weight:700; }
html body .fk-public-table tbody tr:nth-child(odd) td { background:#f4f7fc !important; }
html body .fk-public-table tbody tr:nth-child(even) td { background:#fff !important; }
.fk-public-table-scroll:focus-visible { outline:2px solid #1677ff; outline-offset:3px; }
html body .fk-unified-why { background:#172f50 !important; color:white !important; padding-block:14px !important; border-radius:0; }
html body .fk-unified-why .section-head { display:flex; margin-bottom:16px !important; }
html body .fk-unified-why h2,html body .fk-unified-why h3 { color:white !important; }
html body .fk-unified-why .eyebrow { color:#75aaff !important; }
.fk-unified-why-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px; }
.fk-unified-why-card { min-width:0; padding-inline-end:20px; }
.fk-unified-why-card+.fk-unified-why-card { border-inline-start:1px solid #ffffff18; padding-inline-start:30px; }
.fk-unified-why-icon { display:flex; align-items:center; height:40px; margin-bottom:18px; color:#1681ff; }
.fk-unified-why-icon :is(svg,img) { width:32px; height:32px; object-fit:contain; }
.fk-unified-why-icon .why-icon { margin:0; color:inherit; }
html body .fk-unified-why-card h3 { font-size:17px; line-height:1.8; margin:0 0 12px; }
html body .fk-unified-why-card p { color:#a1b6cf !important; font-size:13px; line-height:2; margin:0; }
html body :is(.related-card,.parent-service,.fk-service-navigation__card,.fk-service-navigation__parent-card,.service-relationships,.service-card,.order-service-card,.provider-card,.method-card,.cash-method-card,.service-brand-card) :is(h2,h3) { white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important; overflow-wrap:normal !important; min-width:0; }
html body .service-trust-boxes { margin-top:12px !important; }
/* Standalone benefit rows need compact section spacing, not full content-section padding. */
html body #fk-main > [data-design-component="benefits"] { padding-block:12px !important; margin-block:0 !important; }
html body #fk-main > [data-design-component="benefits"] .service-trust-boxes { margin-block:0 !important; }
html body #fk-main > [data-design-component="hero"]:has(+ [data-design-component="benefits"]) { padding-bottom:16px !important; }
html body #fk-main > [data-design-component="benefits"] + [data-design-component] { padding-top:16px !important; }
html body .fk-service-question-cta { font-weight:800 !important; color:#1677ff; font-size:16px; display:inline-flex; align-items:center; gap:8px; margin-top:16px; }
.faq-grid>.fk-service-question-cta { grid-column:1; justify-self:start; align-self:end; }
.faq-grid>.faq-list { grid-column:2; grid-row:1 / span 2; }
/* Imported illustrated benefits retain their prose beside a compact icon. */
#fk-main .fk-imported-editorial__item--illustrated { display:grid; grid-template-columns:80px minmax(0,1fr); gap:16px; align-items:start; margin-block:20px; }
#fk-main .fk-imported-editorial__item--illustrated>.fk-imported-editorial__media { margin:0; }
#fk-main .fk-imported-editorial__media>img { display:block; width:80px; height:80px; max-width:100%; margin:0; object-fit:contain; }
#fk-main .fk-imported-editorial__copy { min-width:0; }
#fk-main .fk-imported-editorial__copy>h3 { margin-block:0 8px; }
#fk-main .fk-imported-editorial__copy>:last-child { margin-bottom:0; }
@media(max-width:680px) {
  #fk-main .fk-imported-editorial__item--illustrated { grid-template-columns:64px minmax(0,1fr); gap:12px; margin-block:16px; }
  #fk-main .fk-imported-editorial__media>img { width:64px; height:64px; }
}
.fk-search-select { position:relative; min-width:0; width:100%; }
.fk-search-select__button { width:100%; min-height:44px; border:1px solid #dbe5f3; border-radius:9px; padding:10px 12px; background:white; text-align:start; color:#203c60; font:inherit; cursor:pointer; }
.fk-search-select__button:disabled { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* The country row supplies its own border; do not stack its old padding around the searchable control. */
html body .destination-field:has(> .fk-search-select) { min-height:44px; padding-block:0; gap:8px; }
html body .destination-field > .fk-search-select { display:block; flex:1; }
html body .destination-field > .fk-search-select > .fk-search-select__button { min-height:42px; border:0; padding-block:8px; line-height:1.5; background:transparent; }
.fk-search-select__popup { position:absolute; z-index:50; inset-inline:0; top:calc(100% + 4px); padding:8px; background:white; border:1px solid #dbe5f3; border-radius:12px; box-shadow:0 10px 35px #173b6226; }
.fk-search-select__popup[hidden] { display:none; }
.fk-search-select__search { width:100%; min-height:40px; border:1px solid #dbe5f3; border-radius:7px; padding:8px; font:inherit; }
.fk-search-select__options { max-height:230px; overflow-y:auto; margin-top:6px; }
.fk-search-select__option { display:block; width:100%; border:0; border-radius:6px; background:white; color:#203c60; text-align:start; padding:10px; font:inherit; cursor:pointer; }
.fk-search-select__option:hover,.fk-search-select__option:focus-visible,.fk-search-select__option[aria-selected="true"] { background:#eaf2ff; }
.fk-search-select__empty { padding:10px; color:#6e7d90; font-size:13px; }
.fk-search-select>select { position:absolute !important; opacity:0; pointer-events:none; width:1px !important; height:1px !important; }
@media(max-width:767px) {
  html body .fk-public-table { min-width:600px !important; }
  html body .fk-public-table :is(th,td) { min-width:120px; padding:12px !important; }
  .fk-unified-why-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 20px; }
  .fk-unified-why-card,.fk-unified-why-card+.fk-unified-why-card { padding-inline:0; border:0; }
  html body .fk-unified-why-card h3 { font-size:14px; }
  html body .fk-unified-why-card p { font-size:12px; }
  .faq-grid { display:flex !important; flex-direction:column; }
  .faq-grid>.faq-intro { order:0; width:100%; }
  .faq-grid>.faq-list { order:1; width:100%; }
  .faq-grid>.fk-service-question-cta { order:2; align-self:start; }
  .fk-service-faq-layout__questions { order:0; }
  .fk-service-faq-layout .fk-service-faq-form { order:1; }
}
/* Shared by home, service, article and managed-page license sections. */
html body :is(.licenses, .licenses-section, .about-licenses) { padding-block:64px !important; }
/* Keep the shared container width: distribute its space instead of shrinking around the logos. */
html body :is(.licenses, .licenses-section) .licenses-layout { display:grid !important; grid-template-columns:minmax(160px,1fr) minmax(0,3fr) !important; align-items:center; gap:48px clamp(80px,10vw,144px) !important; }
html body :is(.licenses, .licenses-section) .licenses-heading { min-width:0; justify-content:flex-start; text-align:start; }
html body :is(.licenses, .licenses-section) .license-list { display:grid !important; grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr)) !important; align-items:center; width:100%; min-width:0; gap:40px clamp(48px,6vw,96px) !important; }
html body :is(.licenses, .licenses-section) .license-item { display:flex; justify-content:center; width:100%; min-width:0; gap:20px; padding-block:12px; }
html body :is(.licenses, .licenses-section) .license-item+.license-item { border-inline-start:0; padding-inline-start:0; }
html body :is(.licenses, .licenses-section) .license-icon { flex-shrink:0; }
html body .about-licenses .section-head { flex-direction:column; align-items:center; text-align:center; gap:20px; margin-bottom:64px; }
html body .about-licenses .license-caption { max-width:100%; }
html body .about-licenses .about-license-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:40px 64px; width:100%; }
html body .about-licenses :is(.license-card,.experience-card) { min-width:0; width:100%; }
html body a.license-item { color:inherit; text-decoration:none; }
html body .values-intro .about-statistics { list-style:disc outside; margin:16px 0 0; padding-inline-start:24px; color:var(--muted, #74859d); line-height:2.2; }
html body .values-intro .about-statistics li { display:list-item; padding-inline-start:4px; margin-block:8px; }
html body .fk-home-licenses .licenses-heading h2 { font-size:28px; }
html body .fk-home-licenses .license-item h3 { font-size:17px; }
html body .fk-home-licenses .license-item small { font-size:14px; }
html body .faq-intro>.fk-service-question-cta { margin:12px 0 16px; align-self:start; }
html body .faq-grid>.faq-list { grid-row:auto; }
@media(max-width:900px) {
  html body :is(.licenses, .licenses-section) .licenses-layout { grid-template-columns:minmax(0,1fr) !important; gap:56px !important; }
  html body :is(.licenses, .licenses-section) .licenses-heading { justify-content:center; text-align:center; }
}
@media(max-width:680px) {
  html body :is(.licenses, .licenses-section, .about-licenses) { padding-block:48px !important; }
  html body :is(.licenses, .licenses-section) .licenses-heading { width:100%; }
  html body :is(.licenses, .licenses-section) .license-list { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:40px clamp(24px,8vw,48px) !important; }
  html body :is(.licenses, .licenses-section) .license-item { flex-direction:column; text-align:center; gap:20px; }
  html body .about-licenses .section-head { margin-bottom:48px; }
  html body .about-licenses .about-license-grid { grid-template-columns:minmax(0,1fr); gap:40px; }
}

@media (max-width: 680px) {
  #fk-main nav:is(.fk-breadcrumb, .breadcrumb) {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    white-space: nowrap;
    box-shadow: inset 9px 0 8px -8px var(--fk-breadcrumb-shadow-left, transparent),
                inset -9px 0 8px -8px var(--fk-breadcrumb-shadow-right, transparent);
  }
  #fk-main nav:is(.fk-breadcrumb, .breadcrumb)::-webkit-scrollbar { display: none; }
  #fk-main nav[data-breadcrumb-overflow-left] { --fk-breadcrumb-shadow-left: rgb(32 61 97 / 42%); }
  #fk-main nav[data-breadcrumb-overflow-right] { --fk-breadcrumb-shadow-right: rgb(32 61 97 / 42%); }

  #fk-main nav.fk-breadcrumb { font-size: 15.5px; }
  #fk-main :is([data-article-design] nav.fk-breadcrumb, nav.breadcrumb) { font-size: 9.5px; }
  #fk-main nav.breadcrumb,
  #fk-main nav.fk-breadcrumb > ol { flex-wrap: nowrap; }
  #fk-main nav.fk-breadcrumb > ol { width: max-content; }
  #fk-main nav.fk-breadcrumb li,
  #fk-main nav.breadcrumb > * { flex: none; }
  #fk-main nav.fk-breadcrumb li:last-child { margin-block-start: 0; }
  #fk-main nav.fk-breadcrumb li > :is(a, span, strong) { max-width: none; overflow: visible; }
  #fk-main nav.fk-breadcrumb a:focus-visible { outline-offset: -2px; }
}
