/* ==========================================================================
   APILayer site header — copied from apilayer.com
   (hello-theme-child/assets/css/apl-header.css, redesign AP-6510).
   Every class is prefixed "aplhd-" so theme rules can't reach it, and the selectors
   are weighted to beat theme element rules (a, button, ul, p, img).
   ========================================================================== */

/* Open Sauce One (SIL Open Font License, see fonts/OFL.txt), served from this theme. */
@font-face { font-family: 'APL Open Sauce'; src: url(fonts/OpenSauceOne-Regular.woff2) format('woff2'), url(fonts/OpenSauceOne-Regular.ttf) format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'APL Open Sauce'; src: url(fonts/OpenSauceOne-Medium.woff2) format('woff2'), url(fonts/OpenSauceOne-Medium.ttf) format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'APL Open Sauce'; src: url(fonts/OpenSauceOne-SemiBold.woff2) format('woff2'), url(fonts/OpenSauceOne-SemiBold.ttf) format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'APL Open Sauce'; src: url(fonts/OpenSauceOne-Bold.woff2) format('woff2'), url(fonts/OpenSauceOne-Bold.ttf) format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

.aplhd {
	--aplhd-top: 31px;    /* gap above the floating nav card (design: 31px) */
	--aplhd-offset: 0px;  /* set by site-chrome.js when the WP admin bar is showing */
	--rb-50: #cde1fe; --rb-300: #2b7efb; --rb-400: #0566f7; --rb-500: #0052cc;
	--navy-50: #e9ebed; --navy-300: #6e7786; --navy-400: #525d6e; --navy-600: #232f43; --navy-900: #10161f;
	--n-50: #fdfdfe; --n-200: #f9fafb; --n-300: #edeff2; --n-400: #d5d7da;
	position: fixed;
	top: var(--aplhd-offset);
	left: 0;
	right: 0;
	z-index: 999;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	pointer-events: none; /* the empty strip around the card must not block page clicks */
	font-family: 'APL Open Sauce', system-ui, -apple-system, 'Segoe UI', sans-serif;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.aplhd #cta-bar { pointer-events: auto; }
.aplhd *, .aplhd *::before, .aplhd *::after { box-sizing: border-box; }
.aplhd ul.aplhd-menu, .aplhd .aplhd-menu ul { padding: 0; list-style: none; }
.aplhd .aplhd-menu ul { margin: 0; }
.aplhd .aplhd-menu li { margin: 0; }
.aplhd p { margin: 0; }
.aplhd img { display: block; max-width: none; }
.aplhd a, .aplhd a:hover, .aplhd a:focus { text-decoration: none; }
.aplhd button { font: inherit; line-height: inherit; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; cursor: pointer; }
.aplhd :focus-visible { outline: 2px solid var(--rb-400); outline-offset: 2px; }

/* ---------- floating nav card ---------- */
.aplhd .aplhd-nav {
	pointer-events: auto;
	position: relative;
	display: flex;
	align-items: center;
	width: 1038px;
	max-width: calc(100% - 48px);
	height: 54px;
	margin: var(--aplhd-top) auto 0;
	padding: 0 16px 0 14px;
	background: var(--n-50);
	border: 1px solid var(--n-300);
	border-radius: 7px;
	transition: margin-top .2s ease, box-shadow .2s ease;
}
/* Sticky state: once the page scrolls, site-chrome.js adds .is-stuck and the card moves up to
   12px from the top with a shadow. At the top of the page it sits 31px down. */
.aplhd.is-stuck .aplhd-nav {
	margin-top: 12px;
	box-shadow: 0 8px 24px rgba(16, 22, 31, .14);
}
.aplhd .aplhd-logo { flex: none; }
.aplhd .aplhd-sep { flex: none; width: 1px; height: 25px; margin-left: 11px; background: var(--navy-50); }

.aplhd ul.aplhd-menu { display: flex; align-items: center; gap: 24px; margin: 0 0 0 22px; }
.aplhd .aplhd-top {
	display: inline-flex; align-items: center; gap: 4px;
	font-weight: 600; font-size: 16px; line-height: 20px; letter-spacing: .016em;
	color: var(--navy-900); white-space: nowrap;
}
.aplhd .aplhd-top:hover, .aplhd button.aplhd-top:hover { color: var(--rb-500); }
.aplhd .aplhd-dd > button img { transition: transform .15s; }
.aplhd .aplhd-dd > button[aria-expanded="true"] { color: var(--rb-500); }
.aplhd .aplhd-dd > button[aria-expanded="true"] img { transform: rotate(180deg); }
.aplhd .aplhd-menu-login { display: none; }

/* ---------- simple dropdowns (Business, Developers, ...) ---------- */
.aplhd .aplhd-dd { position: relative; }
.aplhd .aplhd-dd-menu {
	display: none;
	position: absolute; top: calc(100% + 18px); left: -16px; z-index: 20;
	min-width: 240px; padding: 8px;
	background: var(--n-50); border: 1px solid var(--n-300); border-radius: 7px;
	box-shadow: 0 8px 24px rgba(16, 22, 31, .12);
}
.aplhd .aplhd-dd > button[aria-expanded="true"] + .aplhd-dd-menu { display: block; }
.aplhd .aplhd-dd-menu a {
	display: flex; padding: 8px 10px; border-radius: 4px;
	font-weight: 600; font-size: 16px; line-height: 20px; letter-spacing: .016em; color: var(--navy-900);
}
.aplhd .aplhd-dd-menu a:hover { background: var(--n-300); color: var(--navy-900); }

/* ---------- Products mega menu ---------- */
.aplhd .aplhd-dd-mega { position: static; }
.aplhd .aplhd-mega {
	display: none;
	position: absolute; z-index: 20; top: calc(100% + 12px); left: -1px; right: -1px;
	max-height: calc(100vh - 96px - var(--aplhd-offset)); overflow-x: hidden; overflow-y: auto;
	background: var(--n-50); border: 1px solid var(--n-300); border-radius: 7px;
	box-shadow: 0 16px 40px rgba(16, 22, 31, .16); text-align: left;
}
.aplhd .aplhd-dd > button[aria-expanded="true"] + .aplhd-mega { display: block; }
.aplhd .aplhd-mega-grid { column-count: 4; column-gap: 12px; padding: 22px 20px 0; }
.aplhd .aplhd-mega-group { break-inside: avoid; padding-bottom: 26px; }
.aplhd .aplhd-mega-label {
	padding-left: 8px; font-weight: 500; font-size: 12px; line-height: 16px;
	letter-spacing: .06em; text-transform: uppercase; color: var(--navy-300);
}
.aplhd .aplhd-mega-group ul { display: grid; gap: 4px; margin: 10px 0 0; }
.aplhd a.aplhd-mega-item {
	display: flex; align-items: flex-start; gap: 12px; padding: 8px; border-radius: 6px;
	font-weight: 400; font-size: 14px; letter-spacing: 0; color: var(--navy-900);
}
.aplhd a.aplhd-mega-item:hover, .aplhd a.aplhd-mega-item:focus-visible { background: rgba(205, 225, 254, .55); color: var(--navy-900); }
.aplhd .aplhd-mega-ic {
	flex: none; display: grid; place-items: center; width: 32px; height: 32px;
	background: #fff; border: 1px solid var(--n-300); border-radius: 5px;
}
.aplhd .aplhd-mega-txt b { display: block; font-weight: 600; font-size: 15px; line-height: 20px; color: var(--navy-900); }
.aplhd .aplhd-mega-txt small { display: block; margin-top: 2px; font-weight: 400; font-size: 13px; line-height: 18px; color: var(--navy-400); }
.aplhd .aplhd-mega-foot {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	height: 54px; padding: 0 24px 0 28px;
	background: var(--n-200); border-top: 1px solid var(--n-300);
	font-size: 14px; line-height: 20px; color: var(--navy-400);
}
.aplhd .aplhd-mega-foot a {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; font-size: 15px; letter-spacing: .016em; color: var(--navy-900);
}
.aplhd .aplhd-mega-foot a:hover { color: var(--rb-500); }

/* ---------- right side: GitHub, Login, Start for free ---------- */
.aplhd .aplhd-right { display: flex; align-items: center; margin-left: auto; }
.aplhd a.aplhd-gh { display: flex; align-items: center; gap: 5px; color: var(--navy-900); }
.aplhd .aplhd-gh-count {
	display: inline-flex; align-items: center; height: 27px; padding: 0 8px;
	border: 1px solid var(--navy-400); border-radius: 13.5px;
	font-weight: 600; font-size: 14px; letter-spacing: .03em; color: var(--navy-900);
}
.aplhd a.aplhd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 36px; border: 1px solid transparent; border-radius: 3px;
	font-weight: 600; font-size: 14px; line-height: 20px; letter-spacing: .03em; white-space: nowrap;
	transition: background-color .15s, border-color .15s;
}
.aplhd a.aplhd-btn-3 { background: var(--n-300); border-color: var(--n-400); color: var(--navy-900); }
.aplhd a.aplhd-btn-3:hover { background: var(--n-200); color: var(--navy-900); }
.aplhd a.aplhd-btn-1 { background: var(--rb-500); border-color: var(--rb-300); color: var(--n-50); }
.aplhd a.aplhd-btn-1:hover { background: var(--rb-400); color: var(--n-50); }
.aplhd a.aplhd-login { margin-left: 22px; padding: 0 10px; }
.aplhd a.aplhd-cta { margin-left: 22px; padding: 0 9px 0 11px; gap: 7px; }

/* hamburger: keeps the menu usable on tablets and phones (below 1060px). */
.aplhd .aplhd-burger {
	display: none; flex-direction: column; justify-content: center; gap: 4px;
	width: 36px; height: 36px; margin-left: 12px; padding: 0 9px;
	border: 1px solid var(--n-400); border-radius: 3px; background: var(--n-300);
}
.aplhd .aplhd-burger span { display: block; height: 2px; border-radius: 1px; background: var(--navy-900); transition: transform .15s, opacity .15s; }
.aplhd .aplhd-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.aplhd .aplhd-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.aplhd .aplhd-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- responsive (design breakpoints: 1200 / 1060 / 760) ---------- */
@media (max-width: 1200px) {
	.aplhd ul.aplhd-menu { gap: 16px; }
}
@media (max-width: 1060px) {
	.aplhd .aplhd-sep, .aplhd a.aplhd-gh { display: none; }
	.aplhd .aplhd-burger { display: inline-flex; }
	.aplhd .aplhd-mega-grid { column-count: 2; }

	/* the link list becomes a drop-down panel under the card */
	.aplhd ul.aplhd-menu {
		display: none;
		position: absolute; top: calc(100% + 8px); left: -1px; right: -1px; z-index: 20;
		flex-direction: column; align-items: stretch; gap: 0;
		margin: 0; padding: 8px;
		max-height: calc(100vh - 110px); overflow: auto;
		background: var(--n-50); border: 1px solid var(--n-300); border-radius: 7px;
		box-shadow: 0 16px 40px rgba(16, 22, 31, .16);
	}
	.aplhd .aplhd-nav.is-open ul.aplhd-menu { display: flex; }
	.aplhd .aplhd-menu > li > .aplhd-top { display: flex; justify-content: space-between; width: 100%; padding: 12px 10px; }
	.aplhd .aplhd-menu > li + li { border-top: 1px solid var(--n-300); }
	/* sub-menus open in place (accordion) instead of floating */
	.aplhd .aplhd-dd-menu, .aplhd .aplhd-mega {
		position: static; min-width: 0; max-height: none; overflow: visible;
		margin: 0 0 8px; padding: 0 0 0 8px; border: 0; box-shadow: none; background: transparent;
	}
	.aplhd .aplhd-mega-grid { padding: 4px 0 0; }
	.aplhd .aplhd-mega-group { padding-bottom: 12px; }
	.aplhd .aplhd-mega-foot { height: auto; padding: 12px 8px; border-radius: 6px; border: 0; }
}
@media (max-width: 760px) {
	.aplhd a.aplhd-login { display: none; }
	.aplhd .aplhd-menu-login { display: block; }
	.aplhd a.aplhd-cta { margin-left: 12px; }
	.aplhd .aplhd-mega-grid { column-count: 1; }
	.aplhd .aplhd-mega-txt small { display: none; }
}
/* ≤400px: keep the full-size logo and "Start for free" next to the menu button by tightening the spacing. */
@media (max-width: 400px) {
	.aplhd .aplhd-nav { padding: 0 10px; }
	.aplhd a.aplhd-cta { margin-left: 8px; padding: 0 8px; gap: 6px; }
	.aplhd .aplhd-burger { width: 32px; height: 32px; margin-left: 8px; padding: 0 7px; }
}
/* ≤359px: no room for the full size; shrink the logo and button and drop the arrow. */
@media (max-width: 359px) {
	.aplhd .aplhd-logo img { width: 92px; height: auto; }
	.aplhd a.aplhd-cta { font-size: 13px; letter-spacing: .01em; }
	.aplhd a.aplhd-cta img { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.aplhd *, .aplhd *::before, .aplhd *::after { transition: none !important; }
}

/* The Products panel always fits the window, and "Explore APIs" stays visible at its bottom. */
@media (min-width: 1061px) {
	.aplhd .aplhd-mega { max-height: calc(100vh - 110px - var(--aplhd-offset)); }
	.aplhd .aplhd-mega-foot { position: sticky; bottom: 0; z-index: 1; }
}
/* Nav bar radius 8px, symmetric padding, header buttons 14/18 with 12/16 padding.
   Desktop and tablet only; the phone header keeps its compact sizing. */
@media (min-width: 761px) {
	.aplhd .aplhd-nav { border-radius: 8px; padding: 0 16px; }
	.aplhd a.aplhd-btn { height: auto; padding: 11px 16px; line-height: 18px; letter-spacing: .02em; border-radius: 4px; }
}
/* ==========================================================================
   APILayer site footer — copied from apilayer.com
   (hello-theme-child/assets/css/apl-footer.css, redesign AP-6510).
   Every class is prefixed "aplft-"; the fonts are declared in the header part above.
   ========================================================================== */

.aplft {
	--rb-300: #2b7efb; --rb-400: #0566f7; --rb-500: #0052cc;
	--navy-50: #e9ebed; --navy-100: #bcc0c7; --navy-200: #9ca2ac; --navy-300: #6e7786; --navy-900: #10161f;
	--n-50: #fdfdfe; --n-200: #f9fafb; --green-800: #124b45;
	display: block;
	margin: 0;
	/* !important: the blog has an inline "footer { padding: 0 !important }" rule. */
	padding: 31px 32px 20px !important;
	background: var(--navy-900);
	color: var(--n-50);
	text-align: left;
	font-family: 'APL Open Sauce', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
	font-size: 16px;
	line-height: 22px;
	-webkit-font-smoothing: antialiased;
}
.aplft *, .aplft *::before, .aplft *::after { box-sizing: border-box; }
.aplft p, .aplft ul, .aplft form { margin: 0; }
.aplft ul { padding: 0; list-style: none; }
.aplft li { margin: 0; }
.aplft img { display: block; max-width: none; }
.aplft a, .aplft a:hover, .aplft a:focus { text-decoration: none; }
.aplft :focus-visible { outline: 2px solid var(--rb-400); outline-offset: 2px; }
.aplft .aplft-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* buttons */
.aplft .aplft-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 16px;
	height: 43px; padding: 0 15px 0 16px; border: 1px solid transparent; border-radius: 3px;
	font-family: inherit; font-weight: 600; font-size: 16px; line-height: 20px; letter-spacing: .016em; white-space: nowrap;
	cursor: pointer; box-shadow: none; transition: background-color .15s, border-color .15s;
}
.aplft a.aplft-btn-4 { background: var(--n-50); border-color: var(--navy-50); color: var(--navy-900); }
.aplft a.aplft-btn-4:hover { background: var(--n-200); color: var(--navy-900); }
.aplft button.aplft-btn-1 { background: var(--rb-500); border-color: var(--rb-300); color: var(--n-50); }
.aplft button.aplft-btn-1:hover { background: var(--rb-400); color: var(--n-50); }

/* top row: logo + Explore products */
.aplft .aplft-top { display: flex; justify-content: space-between; align-items: flex-end; }
.aplft .aplft-rule { height: 1px; margin-top: 30px; background: var(--navy-300); }
.aplft .aplft-rule-2 { margin-top: 55px; }

/* body: link columns + newsletter */
.aplft .aplft-body { display: flex; justify-content: space-between; margin-top: 29px; }
.aplft .aplft-cols { display: grid; grid-template-columns: repeat(3, 258.67px); row-gap: 55px; align-content: start; }
.aplft p.aplft-head { font-weight: 600; font-size: 16px; line-height: 22px; color: var(--n-50); }
.aplft .aplft-col ul { margin-top: 11px; }
.aplft .aplft-col li + li { margin-top: 12px; }
.aplft .aplft-col a { color: var(--navy-200); font-size: 16px; line-height: 22px; }
.aplft .aplft-col a:hover, .aplft .aplft-legal a:hover { color: var(--n-50); }

.aplft .aplft-news { width: 447px; }
.aplft .aplft-news p:not(.aplft-head) { margin-top: 15px; color: var(--navy-200); }
.aplft .aplft-form { display: flex; gap: 15px; margin-top: 10px; }
.aplft .aplft-form input {
	width: 298px; height: 42px; margin: 0; padding: 0 15px;
	background: transparent; border: 1px solid var(--navy-50); border-radius: 3.5px; box-shadow: none;
	font-family: inherit; font-weight: 400; font-size: 16px; line-height: 22px; color: var(--n-50);
}
.aplft .aplft-form input::placeholder { color: var(--navy-200); opacity: 1; }
.aplft .aplft-form input:focus { border-color: var(--rb-400); outline: 0; }
.aplft .aplft-form button.aplft-btn-1 { width: 136px; margin-top: -1px; }
.aplft p.aplft-connect { margin-top: 36px; }
.aplft .aplft-socials { display: flex; gap: 7px; margin-top: 20px; }
.aplft .aplft-socials a {
	display: flex; align-items: center; justify-content: center; width: 39px; height: 39px;
	border: 1px solid var(--navy-300); border-radius: 3.5px; transition: border-color .15s;
}
.aplft .aplft-socials a:hover { border-color: var(--navy-100); }
.aplft .aplft-status {
	display: flex; align-items: center; gap: 13px; height: 36px; margin-top: 40px; padding: 0 8px 0 10px;
	background: var(--green-800); border-radius: 4px;
	font-weight: 500; font-size: 14px; color: var(--navy-50);
}
.aplft .aplft-status small { margin-left: auto; font-size: 12px; font-weight: inherit; color: var(--navy-200); }

/* bottom row: copyright + legal links */
.aplft .aplft-bottom {
	display: flex; justify-content: space-between; align-items: center; margin-top: 22px;
	font-weight: 600; font-size: 16px; line-height: 22px; letter-spacing: .016em;
}
.aplft .aplft-bottom > span { color: var(--navy-200); }
.aplft .aplft-legal { display: flex; align-items: center; gap: 56.5px; }
.aplft .aplft-legal a { color: rgba(233, 235, 237, .7); }
.aplft .aplft-gdpr { display: flex; align-items: center; gap: 11px; color: rgba(233, 235, 237, .7); }

/* responsive (design breakpoints: 1280 / 1060 / 760) */
@media (max-width: 1280px) {
	.aplft .aplft-body { gap: 40px; }
	.aplft .aplft-cols { flex: 1; min-width: 0; grid-template-columns: repeat(3, minmax(150px, 1fr)); column-gap: 24px; }
	.aplft .aplft-news { flex: none; }
}
@media (max-width: 1060px) {
	.aplft .aplft-body { flex-direction: column; }
	.aplft .aplft-news { width: 100%; max-width: 447px; }
}
@media (max-width: 760px) {
	.aplft .aplft-top { align-items: center; flex-wrap: wrap; gap: 16px; }
	.aplft .aplft-cols { grid-template-columns: 1fr 1fr; }
	.aplft .aplft-form { flex-direction: column; }
	.aplft .aplft-form input { width: 100%; }
	.aplft .aplft-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
	.aplft .aplft-legal { flex-wrap: wrap; gap: 16px 24px; }
}
/* Below ~360px the "Explore products" button would run off the screen. */
@media (max-width: 360px) {
	.aplft { padding-left: 20px !important; padding-right: 20px !important; }
	.aplft .aplft-top { flex-direction: column; align-items: flex-start; gap: 20px; }
	.aplft .aplft-socials { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
	.aplft *, .aplft *::before, .aplft *::after { transition: none !important; }
}

/* ---- Blog (Saxon) compatibility, measured on blog.apilayer.com ---- */
/* Saxon's body is 15px; on apilayer.com the header inherits 16px (line-height 1.6 = 25.6px). */
header.aplhd, footer.aplft { font-size: 16px; }
header.aplhd { background: transparent; }
