/*
Theme Name: Botcrawl Theme
Theme URI: https://botcrawl.com
Author: Botcrawl
Author URI: https://botcrawl.com
Description: Editorial theme for Botcrawl's Bot, Network, and Data Center directories, Data Center Map, blog, About, and site navigation.
Version: 1.17.1
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 7.0
Update URI: https://botcrawl.com/botcrawl-theme/
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: botcrawl
Tags: blog, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

:root {
	--bc-text: #17191c;
	--bc-text-soft: #4c555d;
	--bc-muted: #707980;
	--bc-accent: #14e21c;
	--bc-accent-dark: #0dad14;
	--bc-link: #0a7b0f;
	--bc-header-text: #fff;
	--bc-footer-text: #b0b0b0;
	--bc-accent-soft: rgba(20, 226, 28, .11);
	--bc-surface: #fff;
	--bc-surface-alt: #f5f7f8;
	--bc-surface-dark: #17191b;
	--bc-border: #dfe4e7;
	--bc-border-dark: rgba(255,255,255,.13);
	--bc-header-bg: #000;
	--bc-footer-bg: #111;
	--bc-rail: 1360px;
	--bc-sidebar: 320px;
	--bc-gutter: clamp(18px, 3vw, 36px);
	--bc-radius: 10px;
	--bc-radius-sm: 6px;
	--bc-shadow: 0 12px 34px rgba(17, 24, 39, .08);
	--bc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--bc-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	--bc-logo: 150px;
	--bc-logo-height: 48px;
	--bc-logo-mobile: 140px;
	--bc-logo-height-mobile: 42px;
	--bc-brand-icon: 24px;
	--bc-brand-text: 17px;
	--bc-brand-gap: 8px;
	--bc-footer-brand-icon: 22px;
	--bc-footer-brand-text: 15px;
	--bc-brand-icon-mobile: 24px;
	--bc-brand-text-mobile: 17px;
	--bc-brand-gap-mobile: 8px;
	--bc-footer-brand-icon-mobile: 22px;
	--bc-footer-brand-text-mobile: 15px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	color: var(--bc-text);
	background: var(--bc-surface);
	font-family: var(--bc-font);
	font-size: 1rem;
	line-height: 1.72;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
svg { display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--bc-accent-dark); }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--bc-accent); outline-offset: 3px; }
p, ul, ol, blockquote, pre, table, figure { margin: 0 0 1.45rem; }
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .7em;
	color: var(--bc-text);
	font-weight: 720;
	line-height: 1.12;
	letter-spacing: -.025em;
}
h1 { font-size: clamp(2.25rem, 5vw, 4.8rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
code, pre, kbd, samp { font-family: var(--bc-mono); }
code { overflow-wrap: anywhere; }
pre { max-width: 100%; overflow: auto; padding: 1.2rem; color: #e9f7eb; background: #101312; border-radius: var(--bc-radius-sm); }
blockquote { padding: .2rem 0 .2rem 1.35rem; border-left: 4px solid var(--bc-accent); color: var(--bc-text-soft); font-size: 1.08em; }
hr { border: 0; border-top: 1px solid var(--bc-border); margin: 2.5rem 0; }

.bc-container {
	width: min(calc(100% - (var(--bc-gutter) * 2)), var(--bc-rail));
	min-width: 0;
	margin-inline: auto;
}
.bc-main { min-height: 55vh; }
.bc-icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.screen-reader-text:focus,
.skip-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	margin: 0;
	padding: .75rem 1rem;
	left: 1rem;
	top: 1rem;
	z-index: 9999;
	color: #000;
	background: var(--bc-accent);
	font-weight: 700;
}

/* Topbar */
.bc-topbar-dismissed .bc-topbar { display: none; }
.bc-topbar { color: #d9e0dc; background: #151817; border-bottom: 1px solid var(--bc-border-dark); font-size: .82rem; }
.bc-topbar__inner { min-height: 38px; display: flex; align-items: center; gap: 1rem; }
.bc-topbar__content { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.bc-topbar__content a { display: inline-flex; align-items: center; gap: .3rem; color: var(--bc-accent); font-weight: 700; text-decoration: none; }
.bc-topbar__content .bc-icon { width: 14px; height: 14px; }
.bc-topbar__nav { margin-left: auto; }
.bc-topbar__menu, .bc-topbar__menu ul { display: flex; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.bc-topbar__menu a { color: inherit; text-decoration: none; }
.bc-topbar__close { display: none; place-items: center; padding: .25rem; margin-left: auto; color: inherit; background: transparent; border: 0; }
.bc-js .bc-topbar__close { display: grid; }
.bc-topbar__close .bc-icon { width: 16px; height: 16px; }

/* Header */
.bc-header { position: relative; z-index: 100; color: var(--bc-header-text); background: var(--bc-header-bg); border-bottom: 1px solid var(--bc-border-dark); }
.bc-has-sticky-header .bc-header { position: sticky; top: 0; }
.admin-bar.bc-has-sticky-header .bc-header { top: var(--wp-admin--admin-bar--height, 32px); }
.bc-header__inner { min-height: 76px; display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
.bc-header__brand { min-width: 0; max-width: var(--bc-logo); flex: 0 1 var(--bc-logo); display: flex; align-items: center; }
.bc-header__brand .custom-logo-link { display: block; max-width: 100%; line-height: 0; }
.bc-header__brand .custom-logo { display: block; width: auto; max-width: 100%; max-height: var(--bc-logo-height, 48px); object-fit: contain; }
.bc-brand-logo { display: inline-flex; align-items: center; gap: var(--bc-brand-gap); max-width: var(--bc-logo); color: var(--bc-header-text); line-height: 1; text-decoration: none; white-space: nowrap; }
.bc-brand-logo:hover { color: var(--bc-header-text); }
.bc-brand-logo__icon { display: block; width: var(--bc-brand-icon); height: var(--bc-brand-icon); flex: 0 0 var(--bc-brand-icon); }
.bc-brand-logo__accent { fill: var(--bc-accent); }
.bc-brand-logo__text { display: block; color: inherit; font-size: var(--bc-brand-text); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.bc-header__text-logo { color: var(--bc-header-text); font-weight: 800; letter-spacing: -.03em; text-decoration: none; font-size: 1.2rem; }
.bc-nav { margin-left: auto; }
.bc-nav__menu { display: flex; align-items: center; gap: clamp(.25rem, 1vw, 1rem); margin: 0; padding: 0; list-style: none; }
.bc-nav__menu > li { position: relative; }
.bc-nav__menu a { display: flex; align-items: center; min-height: 44px; padding: .55rem .72rem; color: #dfe4e1; font-size: .9rem; font-weight: 650; text-decoration: none; border-radius: 5px; }
.bc-nav__menu a:hover, .bc-nav__menu .current-menu-item > a, .bc-nav__menu .current-menu-ancestor > a { color: #fff; background: rgba(255,255,255,.08); }
.bc-nav__menu .sub-menu { position: absolute; top: calc(100% + .35rem); inset-inline-start: 0; min-width: 220px; margin: 0; padding: .45rem; list-style: none; visibility: hidden; opacity: 0; transform: translateY(-5px); color: var(--bc-text); background: #fff; border: 1px solid var(--bc-border); border-radius: 8px; box-shadow: var(--bc-shadow); transition: opacity .15s ease, transform .15s ease, visibility .15s ease; }
.bc-nav__menu > li:last-child > .sub-menu { inset-inline-start: auto; inset-inline-end: 0; }
.bc-nav__menu li:hover > .sub-menu, .bc-nav__menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.bc-nav__menu .sub-menu a { min-height: 38px; color: var(--bc-text); }
.bc-nav-toggle, .bc-header-search-toggle { display: none; place-items: center; width: 42px; height: 42px; padding: 0; color: var(--bc-header-text); background: transparent; border: 1px solid rgba(255,255,255,.18); border-radius: 7px; }
.bc-js .bc-header-search-toggle { display: grid; }
.bc-header-search-toggle { margin-left: .15rem; }
.bc-header__brand + .bc-header-search-toggle { margin-left: auto; }
.bc-header-search { padding: 1rem 0; background: #111; border-top: 1px solid var(--bc-border-dark); }
.bc-js .bc-header-search { display: none; }
.bc-js .bc-header-search.is-open { display: block; }

/* Search */
.bc-search-form { display: flex; width: 100%; max-width: 760px; }
.bc-search-form__field { min-width: 0; flex: 1; min-height: 48px; padding: .72rem .9rem; color: var(--bc-text); background: #fff; border: 1px solid var(--bc-border); border-radius: 7px 0 0 7px; }
.bc-search-form__button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: .65rem 1rem; color: #071208; background: var(--bc-accent); border: 1px solid var(--bc-accent); border-radius: 0 7px 7px 0; font-weight: 800; }
.bc-search-form__button:hover { background: #3bf143; }
.bc-search-form__button .bc-icon { width: 18px; height: 18px; }

/* Buttons and labels */
.bc-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .65rem 1rem; color: var(--bc-text); background: #fff; border: 1px solid var(--bc-border); border-radius: 7px; font-weight: 750; line-height: 1.2; text-decoration: none; }
.bc-button:hover { color: var(--bc-text); border-color: #aeb7bc; transform: translateY(-1px); }
.bc-button--accent { color: #071208; background: var(--bc-accent); border-color: var(--bc-accent); }
.bc-button--ghost { background: transparent; }
.bc-kicker { display: inline-flex; margin-bottom: .75rem; color: var(--bc-accent-dark); font-size: .76rem; font-weight: 850; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; text-decoration: none; }

/* Page and archive hero */
.bc-page-hero { padding: clamp(3.5rem, 8vw, 7rem) 0; color: #fff; background: var(--bc-surface-dark); }
.bc-page-hero--compact { padding: clamp(2.5rem, 5vw, 4.8rem) 0; }
.bc-page-hero h1 { width: 100%; margin-bottom: .35em; color: #fff; }
.bc-page-hero p, .bc-page-hero__description { width: 100%; margin: 0; color: #b9c1bd; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.bc-page-hero__search { margin-top: 1.4rem; }
.bc-breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.3rem; color: #89928d; font-size: .78rem; }
.bc-breadcrumbs a { color: inherit; text-decoration: none; }
.bc-breadcrumbs a:hover { color: var(--bc-accent); }
.bc-breadcrumbs__sep { color: #59615d; }

/* Homepage */
.bc-directory-spotlight { padding: clamp(3rem, 7vw, 6rem) 0; background: #fff; }
.bc-directory-spotlight__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.bc-directory-spotlight__grid > *, .bc-directory-spotlight__cards { min-width: 0; }
.bc-directory-spotlight__intro h1 { width: 100%; font-size: clamp(2rem, 4vw, 3.8rem); }
.bc-directory-spotlight__intro p { width: 100%; color: var(--bc-text-soft); font-size: 1.08rem; }
.bc-directory-spotlight__cards { display: grid; grid-auto-rows: minmax(122px, 1fr); gap: 1rem; }
.bc-directory-tile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; width: 100%; min-width: 0; min-height: 122px; padding: 1.3rem; color: var(--bc-text); background: var(--bc-surface-alt); border: 1px solid var(--bc-border); border-radius: 10px; text-decoration: none; transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.bc-directory-tile:hover { color: var(--bc-text); border-color: #b8c2c7; transform: translateY(-2px); box-shadow: var(--bc-shadow); }
.bc-directory-tile__icon { display: grid; place-items: center; width: 58px; height: 58px; color: #071208; background: var(--bc-accent); border-radius: 9px; }
.bc-directory-tile__icon .bc-icon { width: 28px; height: 28px; }
.bc-directory-tile > span:nth-child(2) { min-width: 0; }
.bc-directory-tile strong, .bc-directory-tile small { display: block; overflow-wrap: anywhere; }
.bc-directory-tile strong { font-size: 1.1rem; }
.bc-directory-tile small { margin-top: .18rem; color: var(--bc-muted); }
.bc-directory-tile > .bc-icon { color: var(--bc-muted); }

/* Sections */
.bc-section { padding: clamp(3rem, 7vw, 6rem) 0; }
.bc-section--alt { background: var(--bc-surface-alt); }
.bc-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--bc-border); }
.bc-section-heading h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.bc-section-heading > a { display: inline-flex; align-items: center; gap: .35rem; color: var(--bc-text-soft); font-size: .9rem; font-weight: 750; text-decoration: none; }
.bc-section-heading > a .bc-icon { width: 16px; height: 16px; }
.bc-section-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .35rem 1rem; }
.bc-section-action { display: inline-flex; align-items: center; gap: .42rem; min-height: 44px; padding: .25rem 0; color: var(--bc-text); font-size: .94rem; font-weight: 780; line-height: 1.2; text-decoration: none; }
.bc-section-action:hover { color: var(--bc-accent-dark); }
.bc-section-action .bc-icon { width: 18px; height: 18px; }

/* Article cards */
.bc-card-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.bc-card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bc-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--bc-border); border-radius: var(--bc-radius); }
.bc-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #e9edef; }
.bc-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.bc-card:hover .bc-card__image { transform: scale(1.025); }
.bc-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--bc-accent-dark); background: linear-gradient(145deg, #eef2f0, #dfe5e2); }
.bc-card__placeholder .bc-icon { width: 46px; height: 46px; }
.bc-card__body { padding: 1.25rem; }
.bc-card__title { margin-bottom: .55rem; font-size: clamp(1.15rem, 2vw, 1.42rem); }
.bc-card__title a { text-decoration: none; }
.bc-card__excerpt { margin: 0; color: var(--bc-text-soft); font-size: .94rem; }

/* Record cards used outside directory pages */
.bc-record-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.bc-record-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; min-width: 0; padding: 1.2rem; background: #fff; border: 1px solid var(--bc-border); border-radius: var(--bc-radius); }
.bc-record-card__body { min-width: 0; }
.bc-record-card__icon { display: grid; place-items: center; width: 46px; height: 46px; color: #071208; background: var(--bc-accent); border-radius: 8px; text-decoration: none; }
.bc-record-card--network .bc-record-card__icon { color: #fff; background: #1d2529; }
.bc-record-card__icon .bc-icon { width: 23px; height: 23px; }
.bc-record-card__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; color: var(--bc-muted); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.bc-record-card__eyebrow, .bc-record-card__title, .bc-record-card__meta, .bc-record-card__location, .bc-record-card__capacity { overflow-wrap: anywhere; }
.bc-record-card__eyebrow span { padding: .16rem .38rem; color: #08710d; background: var(--bc-accent-soft); border-radius: 999px; }
.bc-record-card__title { margin: .28rem 0; font-size: 1.08rem; }
.bc-record-card__title a { text-decoration: none; }
.bc-record-card__meta { margin: 0 0 .45rem; color: var(--bc-text-soft); font-size: .86rem; }
.bc-record-card__code { display: block; max-width: 100%; overflow: hidden; color: #354047; font-size: .77rem; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }


/* Shared layout */
.bc-content-shell, .bc-article-shell { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.bc-content-shell--contribute { padding-block: clamp(.9rem, 1.8vw, 1.35rem) clamp(2.75rem, 6vw, 5rem); }
.bc-contribute-page-header { width: 100%; margin: 0 0 1rem; }
.bc-contribute-page-header h1 { width: 100%; margin: 0; font-size: clamp(1.55rem, 2.4vw, 2.1rem); line-height: 1.12; letter-spacing: -.025em; }
.bc-entry--contribute .bc-entry__content { font-size: 1rem; }
.bc-entry--contribute .bc-entry__content > .botcrawl-contribute:first-child { margin-top: 0; }
.bc-page-hero + .bc-container:not(.bc-content-shell) { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.bc-layout { min-width: 0; }
.bc-layout--full { width: 100%; }
.bc-layout--has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) var(--bc-sidebar); gap: clamp(2rem, 4vw, 4rem); width: 100%; align-items: start; }
.bc-layout--left-sidebar { grid-template-columns: var(--bc-sidebar) minmax(0, 1fr); }
.bc-layout--left-sidebar .bc-layout__main { grid-column: 2; }
.bc-layout--left-sidebar .bc-layout__sidebar { grid-column: 1; grid-row: 1; }
.bc-layout__main { min-width: 0; }
.bc-layout__sidebar { min-width: 0; }
.bc-sidebar__inner { position: sticky; top: 110px; display: grid; gap: 1rem; }
.bc-widget { padding: 1.2rem; background: var(--bc-surface-alt); border: 1px solid var(--bc-border); border-radius: var(--bc-radius); }
.bc-widget__title { margin-bottom: .8rem; font-size: 1rem; }
.bc-widget ul { margin: 0; padding-left: 1.1rem; }

/* Entry */
.bc-entry-header { position: relative; isolation: isolate; margin-bottom: 1.6rem; overflow: hidden; padding: clamp(2rem, 5vw, 4.5rem); color: #fff; background: var(--bc-surface-dark); border-radius: 12px; }
.bc-entry-header__media { position: absolute; z-index: 0; inset: 0; }
.bc-entry-header__media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(10,12,11,.84) 0%, rgba(10,12,11,.72) 62%, rgba(10,12,11,.62) 100%); }
.bc-entry-header__image { width: 100%; height: 100%; object-fit: cover; }
.bc-entry-header__content { position: relative; z-index: 1; }
.bc-entry-header .bc-breadcrumbs { margin-bottom: 1.5rem; }
.bc-entry-header h1 { width: 100%; color: #fff; font-size: clamp(2.4rem, 5vw, 4.9rem); }
.bc-entry-header__dek { width: 100%; margin-bottom: 1rem; color: #bdc5c1; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.bc-entry-meta { display: flex; flex-wrap: wrap; gap: .5rem; color: #8f9994; font-size: .82rem; }
.bc-entry__featured { width: 100%; margin: 0 0 clamp(2rem, 5vw, 3.5rem); overflow: hidden; background: #e9edef; border-radius: 12px; }
.bc-entry__featured img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bc-entry__content { min-width: 0; overflow-wrap: anywhere; font-size: clamp(1rem, 1vw + .75rem, 1.13rem); }
.bc-entry__content > *:last-child { margin-bottom: 0; }
.bc-entry__content a { color: var(--bc-link); }
.bc-link-underlines .bc-entry__content a { text-decoration-line: underline; }
.bc-link-underlines .bc-entry__content .botcrawl-submission-link,
.bc-link-underlines .bc-entry__content .botcrawl-directory-contribute a,
.bc-link-underlines .bc-entry__content .botcrawl-contribute__choice-links a { text-decoration: none; text-decoration-line: none; }
.bc-entry__content h2 { margin-top: 2.5rem; }
.bc-entry--contribute .bc-entry__content .botcrawl-contribute__choice h2,
.bc-entry--contribute .bc-entry__content .botcrawl-contribute__support h2 { margin-top: 0; }
.bc-entry__content h3 { margin-top: 2rem; }
.bc-entry__content ul, .bc-entry__content ol { padding-left: 1.35rem; }
.bc-entry__content .alignwide, .bc-entry__content .alignfull { width: min(var(--bc-rail), calc(100vw - (var(--bc-gutter) * 2))); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.bc-layout--has-sidebar .bc-entry__content .alignwide, .bc-layout--has-sidebar .bc-entry__content .alignfull { width: 100%; margin-left: 0; transform: none; }
.bc-table-scroll { max-width: 100%; overflow-x: auto; margin-bottom: 1.5rem; -webkit-overflow-scrolling: touch; }
.bc-table-scroll table { min-width: 620px; margin: 0; border-collapse: collapse; }
.bc-table-scroll th, .bc-table-scroll td { padding: .75rem; border: 1px solid var(--bc-border); text-align: left; vertical-align: top; }
.bc-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--bc-border); }
.bc-tags span { font-weight: 800; }
.bc-tags a { padding: .25rem .55rem; color: var(--bc-text-soft); background: var(--bc-surface-alt); border-radius: 999px; font-size: .82rem; text-decoration: none; }
.post-navigation { margin-top: 3rem; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.post-navigation a { display: block; padding: 1rem; background: var(--bc-surface-alt); border: 1px solid var(--bc-border); border-radius: var(--bc-radius); text-decoration: none; }
.post-navigation .nav-next { text-align: right; }
.post-navigation span { display: block; color: var(--bc-muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.bc-related { margin-top: 4rem; }

/* Pagination */
.navigation.pagination { margin-top: 2rem; }
.navigation.pagination .nav-links { justify-content: center; }
.nav-links { display: flex; flex-wrap: wrap; gap: .45rem; }
.page-numbers { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: .3rem .55rem; color: var(--bc-text); background: #fff; border: 1px solid var(--bc-border); border-radius: 6px; text-decoration: none; }
.page-numbers.current { color: #071208; background: var(--bc-accent); border-color: var(--bc-accent); font-weight: 800; }

/* Ads */
.bc-ad-placement { width: min(calc(100% - (var(--bc-gutter) * 2)), var(--bc-rail)); max-width: 100%; margin: 1.4rem auto; overflow: hidden; text-align: center; }
.bc-ad-placement:empty { display: none; }
.bc-ad-placement > *, .bc-ad-widget { max-width: 100%; }
.bc-card-grid > .bc-ad-placement, .bc-record-grid > .bc-ad-placement { grid-column: 1 / -1; width: 100%; margin: 1rem 0; }

/* Comments */
.bc-comments { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--bc-border); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { margin-bottom: 1rem; padding: 1rem; background: var(--bc-surface-alt); border-radius: var(--bc-radius); }
.comment-form { display: grid; gap: 1rem; }
.comment-form p { margin: 0; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: .75rem; border: 1px solid var(--bc-border); border-radius: 6px; }
.comment-form input[type="submit"] { padding: .7rem 1rem; color: #071208; background: var(--bc-accent); border: 0; border-radius: 6px; font-weight: 800; }

/* Empty / error */
.bc-empty-state, .bc-error-page__inner { display: grid; justify-items: start; gap: .75rem; padding: clamp(3rem, 8vw, 8rem) 0; }
.bc-empty-state .bc-icon { width: 42px; height: 42px; color: var(--bc-accent-dark); }
.bc-error-page { min-height: 65vh; display: grid; align-items: center; }
.bc-error-page__code { color: var(--bc-accent-dark); font-size: clamp(4rem, 14vw, 10rem); font-weight: 900; line-height: .8; letter-spacing: -.08em; }
.bc-error-page__links { display: flex; gap: .75rem; }

/* Footer */
.bc-footer { color: var(--bc-footer-text); background: var(--bc-footer-bg); }
.bc-footer a { color: #dbe1de; text-decoration: none; }
.bc-footer a:hover { color: var(--bc-accent); }
.bc-footer__brand-row { padding: 3rem 0 2rem; border-bottom: 1px solid var(--bc-border-dark); }
.bc-footer__brand { max-width: 560px; }
.bc-footer__brand .custom-logo-link { display: inline-block; margin-bottom: .75rem; line-height: 0; }
.bc-footer__brand .custom-logo { display: block; width: auto; max-width: var(--bc-logo); max-height: var(--bc-logo-height, 48px); object-fit: contain; }
.bc-footer__brand .bc-brand-logo, .bc-footer__brand .bc-brand-logo:hover { margin-bottom: .75rem; color: #fff; }
.bc-footer__brand .bc-brand-logo__icon { width: var(--bc-footer-brand-icon); height: var(--bc-footer-brand-icon); flex-basis: var(--bc-footer-brand-icon); }
.bc-footer__brand .bc-brand-logo__text { font-size: var(--bc-footer-brand-text); }
.bc-footer__brand p { margin: 0; }
.bc-footer__widgets { display: grid; gap: 2.5rem; padding: 3rem 0; border-bottom: 1px solid var(--bc-border-dark); }
.bc-footer__widgets--1 { grid-template-columns: minmax(0, 1fr); }
.bc-footer__widgets--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bc-footer__widgets--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bc-footer .bc-widget { padding: 0; color: inherit; background: transparent; border: 0; }
.bc-footer .bc-widget__title { color: #fff; }
.bc-footer__bottom { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .82rem; }
.bc-footer__menu { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; list-style: none; }

@media (max-width: 1100px) {
	.bc-directory-spotlight__grid { grid-template-columns: 1fr; gap: 2rem; }
	.bc-card-grid--3, .bc-record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bc-layout--has-sidebar { grid-template-columns: minmax(0, 1fr) minmax(260px, var(--bc-sidebar)); gap: 2rem; }
}

@media (max-width: 900px) {
	.bc-header__inner { min-height: 68px; }
	.bc-header__brand { max-width: var(--bc-logo-mobile); flex-basis: var(--bc-logo-mobile); }
	.bc-header__brand .custom-logo { max-height: var(--bc-logo-height-mobile, 42px); }
	.bc-header__brand .bc-brand-logo { gap: var(--bc-brand-gap-mobile); max-width: 100%; }
	.bc-header__brand .bc-brand-logo__icon { width: var(--bc-brand-icon-mobile); height: var(--bc-brand-icon-mobile); flex-basis: var(--bc-brand-icon-mobile); }
	.bc-header__brand .bc-brand-logo__text { font-size: var(--bc-brand-text-mobile); }
	.bc-js .bc-nav-toggle { display: grid; margin-left: auto; }
	.bc-nav { position: absolute; left: 0; right: 0; top: 100%; display: block; padding: .75rem var(--bc-gutter) 1rem; background: #0c0e0d; border-top: 1px solid var(--bc-border-dark); }
	.bc-js .bc-nav { display: none; }
	.bc-nav__menu { display: block; }
	.bc-nav__menu a { width: 100%; }
	.bc-nav__menu .sub-menu { position: static; min-width: 0; inset-inline: auto; display: block; margin-left: 1rem; visibility: visible; opacity: 1; transform: none; color: #fff; background: transparent; border: 0; box-shadow: none; }
	.bc-nav__menu .sub-menu a { color: #cbd2ce; }
	.bc-layout--has-sidebar { grid-template-columns: 1fr; }
	.bc-layout--left-sidebar .bc-layout__main, .bc-layout--left-sidebar .bc-layout__sidebar { grid-column: auto; grid-row: auto; }
	.bc-layout__sidebar { margin-top: 1rem; }
	.bc-sidebar__inner { position: static; }
}

@media (max-width: 375px) {
	.bc-header__brand .bc-brand-logo { gap: min(var(--bc-brand-gap-mobile), 12px); }
	.bc-header__brand .bc-brand-logo__icon { width: min(var(--bc-brand-icon-mobile), 40px); height: min(var(--bc-brand-icon-mobile), 40px); flex-basis: min(var(--bc-brand-icon-mobile), 40px); }
	.bc-header__brand .bc-brand-logo__text { font-size: min(var(--bc-brand-text-mobile), 28px); }
}

@media (max-width: 720px) {
	:root { --bc-gutter: 18px; }
	.bc-topbar__nav { display: none; }
	.bc-topbar--hide-mobile { display: none; }
	.bc-topbar__inner { min-height: 42px; }
	.bc-topbar__content { font-size: .75rem; }
	.bc-card-grid--3, .bc-record-grid { grid-template-columns: 1fr; }
	.bc-section-heading { align-items: flex-start; flex-direction: column; gap: .55rem; }
	.bc-section-actions { width: 100%; justify-content: flex-start; gap: .2rem 1rem; }
	.bc-directory-tile { min-height: 100px; }
	.bc-entry-header { padding: 1.5rem; border-radius: 8px; }
	.bc-entry-header h1 { font-size: clamp(2.1rem, 11vw, 3.4rem); }
	.bc-entry__featured { border-radius: 8px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { text-align: left; }
	.bc-footer__brand .custom-logo { max-width: var(--bc-logo-mobile); max-height: var(--bc-logo-height-mobile, 42px); }
	.bc-footer__brand .bc-brand-logo { gap: var(--bc-brand-gap-mobile); max-width: var(--bc-logo-mobile); }
	.bc-footer__brand .bc-brand-logo__icon { width: var(--bc-footer-brand-icon-mobile); height: var(--bc-footer-brand-icon-mobile); flex-basis: var(--bc-footer-brand-icon-mobile); }
	.bc-footer__brand .bc-brand-logo__text { font-size: var(--bc-footer-brand-text-mobile); }
	.bc-footer__widgets--2, .bc-footer__widgets--3 { grid-template-columns: 1fr; }
	.bc-footer__bottom { padding: 1.2rem 0; flex-direction: column; align-items: flex-start; }
	.bc-error-page__links { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto; transition-duration: .01ms; animation-duration: .01ms; animation-iteration-count: 1; }
}


@media (forced-colors: active) {
	:where(a, button, input, select, textarea):focus-visible { outline-color: Highlight; }
	.bc-button, .bc-nav-toggle, .bc-header-search-toggle, .bc-search-form__field, .bc-search-form__button, .page-numbers { border: 1px solid ButtonText; }
	.bc-record-card, .bc-card, .bc-widget, .bc-entry-header { border: 1px solid CanvasText; }
	.bc-icon { forced-color-adjust: auto; }
}

@media (max-width: 680px) {
}

