/* developers.realgeeks.com — modernization layer over Shoreditch.
   Managed via the WordPress.com Custom CSS API. */
/* ---------- kept from previous custom CSS ---------- */
.site-footer {
	display: none;
}

/* stale "Latest News" footer widget band */
#tertiary.widget-footer {
	display: none;
}

/* ---------- typography ---------- */
body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	color: #2d3440;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.widget-title {
	font-family: inherit;
	color: #141b26;
	letter-spacing: -.015em;
}

.entry-title {
	font-size: 34px;
	font-weight: 700;
}

.entry-content h2 {
	font-size: 25px;
	font-weight: 700;
	margin-top: 2.2em;
}

.entry-content h3 {
	font-size: 19px;
	font-weight: 700;
	margin-top: 1.8em;
}

.entry-content a {
	color: #1a2230;
	text-decoration-color: #f7941d;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	color: #c96a00;
}

/* ---------- code ---------- */
code {
	font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .82em;
	background: #eef1f5;
	color: #38424f;
	border-radius: 5px;
	padding: 2px 6px;
}

pre {
	background: #161f2a;
	color: #dde5ee;
	font-size: 14px;
	line-height: 1.6;
	border: 0;
	border-radius: 10px;
	padding: 18px 22px;
	overflow-x: auto;
}

pre code {
	background: transparent;
	color: inherit;
	font-size: inherit;
	padding: 0;
}

/* ---------- tables ---------- */
.entry-content table {
	font-size: 15px;
	border: 0;
	border-collapse: collapse;
}

.entry-content th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: #6b7686;
	text-align: left;
	border: 0;
	border-bottom: 2px solid #dfe4ec;
	padding: 8px 14px 8px 0;
}

.entry-content td {
	border: 0;
	border-bottom: 1px solid #e8ecf2;
	padding: 9px 14px 9px 0;
	vertical-align: top;
}

/* ---------- header & navigation ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid #e8ecf2;
	padding-bottom: 12px;
	padding-top: 12px;
}

.main-navigation a {
	font-size: 15px;
	font-weight: 500;
	color: #2c313f;
}

.main-navigation a:hover {
	color: #c96a00;
}

.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
	box-shadow: inset 0 -2px 0 #f7941d;
}

/* ---------- sidebar widgets ---------- */
.widget {
	font-size: 15px;
	color: #5b6574;
}

.widget h2.widget-title {
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .09em;
	color: #6b7686;
}

.widget a {
	color: #2c313f;
	text-decoration-color: #f7941d;
	text-underline-offset: 3px;
}

/* ---------- forms & buttons ---------- */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
	border: 1px solid #d8dee8;
	border-radius: 8px;
	background: #fff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
textarea:focus {
	border-color: #f7941d;
	outline: none;
	box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.18);
}

button,
input[type="submit"],
.search-submit,
.contact-form input[type="submit"] {
	background: #f7941d;
	color: #fff;
	border: 0;
	border-radius: 8px;
	font-weight: 600;
}

button:hover,
input[type="submit"]:hover,
.search-submit:hover {
	background: #e07f0a;
}

/* ---------- images & misc ---------- */
p img {
	box-shadow: none;
	border: 1px solid #e8ecf2;
	border-radius: 10px;
}

.entry-content hr {
	border: 0;
	border-top: 1px solid #e8ecf2;
}

.entry-content li {
	margin-bottom: .35em;
}

/* ---------- mobile ---------- */
@media (max-width: 767px) {
	.site-header {
		position: static;
	}
}

/* ---------- no sidebar: centered single column ---------- */
#secondary {
	display: none;
}

body .site-content .content-area {
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	padding-right: 0;
}

body .site-content .site-main {
	width: 100%;
	max-width: none;
}

/* ---------- endpoint blocks & method badges ---------- */
.endpoints {
	background: #f7f9fc;
	border: 1px solid #e8ecf2;
	border-radius: 10px;
	padding: 10px 16px;
	margin: 1.3em 0;
}

.ep {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 6px 0;
}

.ep + .ep {
	border-top: 1px solid #edf0f5;
}

.ep code {
	background: transparent;
	padding: 0;
	font-size: 14px;
	color: #1f2836;
}

.mtd {
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .05em;
	color: #fff;
	padding: 3px 8px;
	border-radius: 6px;
}

.mtd-get {
	background: #2f9e63;
}

.mtd-post {
	background: #2b6cb0;
}

.mtd-put {
	background: #6b46c1;
}

.mtd-patch {
	background: #c05621;
}

.mtd-delete {
	background: #c53030;
}

/* ---------- syntax highlighting (Pygments classes) ---------- */
pre.hl .s1, pre.hl .s2, pre.hl .sb, pre.hl .sh {
	color: #8fd4a8;
}

pre.hl .se {
	color: #e3b34c;
}

pre.hl .mi, pre.hl .mf, pre.hl .m {
	color: #f2c46d;
}

pre.hl .kc, pre.hl .k, pre.hl .kr {
	color: #c9a3f5;
}

pre.hl .p {
	color: #93a1b3;
}

pre.hl .o {
	color: #93a1b3;
}

pre.hl .nb, pre.hl .nv {
	color: #7fb8e6;
}

pre.hl .c, pre.hl .c1, pre.hl .cm {
	color: #6e7c8e;
}

pre.hl .err {
	color: inherit;
	background: transparent;
	border: 0;
}

/* ---------- "On this page" ---------- */
.toc {
	background: #f7f9fc;
	border: 1px solid #e8ecf2;
	border-radius: 10px;
	padding: 14px 18px;
	font-size: 15px;
	margin: 1.6em 0;
	line-height: 2;
}

.toc strong {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: #6b7686;
	line-height: 1.4;
	margin-bottom: 4px;
}

.toc a {
	color: #2c313f;
	text-decoration: none;
	margin-right: 14px;
	white-space: nowrap;
}

.toc a:hover {
	color: #c96a00;
}

/* ---------- prev / next ---------- */
.docnav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 3em;
	padding-top: 1.4em;
	border-top: 1px solid #e8ecf2;
	font-size: 15px;
}

.docnav a {
	color: #2c313f;
	text-decoration: none;
	font-weight: 600;
}

.docnav a:hover {
	color: #c96a00;
}

/* smooth anchor jumps clear the sticky header */
html {
	scroll-behavior: smooth;
}

.entry-content h2[id] {
	scroll-margin-top: 90px;
}

/* ---------- Beta tag ---------- */
.beta {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #92400e;
	background: #fef3c7;
	border: 1px solid #f0d48a;
	padding: 2px 9px;
	border-radius: 999px;
	vertical-align: middle;
	margin-left: 6px;
	position: relative;
	top: -2px;
}

/* title badge on every Content API docs page */
.page-id-7102 .entry-title::after,
.page-id-7103 .entry-title::after,
.page-id-7104 .entry-title::after,
.page-id-7105 .entry-title::after,
.page-id-7106 .entry-title::after,
.page-id-7157 .entry-title::after,
.page-id-7177 .entry-title::after {
	content: "Beta";
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #92400e;
	background: #fef3c7;
	border: 1px solid #f0d48a;
	padding: 3px 10px;
	border-radius: 999px;
	vertical-align: middle;
	margin-left: 12px;
	position: relative;
	top: -4px;
}

/* ---------- Notice callout ---------- */
.notice {
	background: #fff4e5;
	border-left: 4px solid #e8590c;
	padding: 12px 16px;
	margin: 0 0 1.2em;
	border-radius: 4px;
}

.notice p {
	margin: 0 0 .5em;
}

.notice p:last-child {
	margin-bottom: 0;
}