/*
Theme Name: Bakehouse Kandy
Theme URI: https://bakehousekandy.com
Author: Bakehouse Kandy
Author URI: https://bakehousekandy.com
Description: A candy-bright gaming theme for esports, news, technology, and community. Primary menu with search beside it, plus About, Contact, posts, and a privacy policy.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bakehouse-kandy
Tags: blog, news, entertainment, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

:root {
  --bk-bg: #000000;
  --bk-card: #140d0a;
  --bk-brown: #3a1d12;
  --bk-brown-deep: #24120d;
  --bk-pink: #ff4f8b;
  --bk-magenta: #e23e78;
  --bk-cream: #fff6ea;
  --bk-cherry: #e11d48;
  --bk-gold: #ffe08a;
  --bk-mint: #7cffcb;
  --bk-stem: #3ddc97;
  --bk-muted: #8a7568;
  --bk-line: rgba(255, 246, 234, 0.12);
  --bk-display: "Oxanium", sans-serif;
  --bk-body: "Outfit", sans-serif;
  --bk-wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bk-bg);
  background-image: radial-gradient(rgba(255, 246, 234, 0.045) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--bk-cream);
  font-family: var(--bk-body);
  font-size: 1.02rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--bk-display);
  font-weight: 700;
  line-height: 1.12;
}

p {
  margin: 0 0 0.8rem;
}

a {
  color: var(--bk-pink);
}

a:hover {
  color: #ff8ab4;
}

:focus-visible {
  outline: 2px solid var(--bk-gold);
  outline-offset: 3px;
}

::selection {
  background: var(--bk-pink);
  color: var(--bk-brown-deep);
}

.bk-wrap {
  width: min(var(--bk-wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.bk-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--bk-gold);
  color: var(--bk-brown-deep);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
}

.bk-skip:focus {
  top: 0.7rem;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  width: auto;
  left: 0.5rem;
  top: 0.5rem;
  z-index: 90;
  padding: 0.6rem 0.8rem;
  background: var(--bk-gold);
  color: var(--bk-brown-deep);
}

.bk-accentbar {
  height: 4px;
  background: linear-gradient(90deg, #ff4f8b 0 26%, #ffe08a 26% 46%, #7cffcb 46% 64%, #e11d48 64% 82%, #3ddc97 82% 100%);
}

.bk-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 246, 234, 0.08);
}

body.admin-bar .bk-header {
  top: 32px;
}

.bk-header__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 84px;
}

.bk-brand,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.bk-brand__mark,
.custom-logo {
  width: 52px;
  height: 52px;
  max-width: none;
  border-radius: 14px;
}

.custom-logo {
  width: auto;
  max-height: 64px;
  height: auto;
  border-radius: 0;
}

.bk-brand__word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.bk-brand__line {
  font-family: var(--bk-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bk-cream);
}

.bk-brand__accent {
  font-family: var(--bk-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bk-magenta);
}

.bk-nav {
  margin-left: auto;
}

.bk-menu {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bk-menu li {
  position: relative;
}

.bk-menu a {
  display: inline-flex;
  color: var(--bk-cream);
  text-decoration: none;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-family: var(--bk-display);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bk-menu a:hover,
.bk-menu .current-menu-item > a,
.bk-menu .current-menu-ancestor > a {
  background: rgba(255, 79, 139, 0.16);
  color: #fff;
}

.bk-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: #1a100d;
  border: 1px solid var(--bk-line);
  border-radius: 14px;
  z-index: 30;
}

.bk-menu li:hover > .sub-menu,
.bk-menu li:focus-within > .sub-menu {
  display: block;
}

.bk-header__tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bk-search {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #1a100d;
  border: 1px solid rgba(255, 246, 234, 0.16);
  border-radius: 999px;
  padding: 0.2rem 0.2rem 0.2rem 0.9rem;
}

.bk-search input[type="search"] {
  width: 9.2rem;
  border: 0;
  background: transparent;
  color: var(--bk-cream);
  padding: 0.4rem 0;
  font: inherit;
  appearance: none;
}

.bk-search input[type="search"]:focus {
  outline: none;
}

.bk-search input::placeholder {
  color: var(--bk-muted);
}

.bk-search:focus-within {
  border-color: var(--bk-pink);
  box-shadow: 0 0 0 3px rgba(255, 79, 139, 0.2);
}

.bk-search button {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: var(--bk-pink);
  color: var(--bk-brown-deep);
  cursor: pointer;
}

.bk-search button:hover {
  background: #ff77a8;
}

.bk-nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: var(--bk-cream);
  border: 1px solid var(--bk-line);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-family: var(--bk-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.bk-nav-toggle__bars {
  width: 16px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.bk-crumb-wrap {
  padding-top: 1rem;
}

.bk-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--bk-muted);
  font-size: 0.92rem;
}

.bk-crumb a {
  color: var(--bk-cream);
  text-decoration: none;
}

.bk-kicker {
  margin: 0;
  font-family: var(--bk-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bk-pink);
}

.bk-lede {
  font-size: 1.12rem;
  color: #f3e6d6;
  max-width: 42rem;
}

.bk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bk-pink);
  color: var(--bk-brown-deep);
  text-decoration: none;
  font-family: var(--bk-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
}

.bk-btn:hover {
  background: #ff77a8;
  color: var(--bk-brown-deep);
}

.bk-btn--ghost {
  background: transparent;
  color: var(--bk-cream);
  border: 1px solid rgba(255, 246, 234, 0.3);
}

.bk-btn--ghost:hover {
  border-color: var(--bk-pink);
  color: #fff;
  background: transparent;
}

.bk-hero {
  padding: 1.2rem 0 0;
}

.bk-hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3.4rem);
  border-radius: 28px;
  background:
    radial-gradient(520px 240px at 88% 18%, rgba(255, 79, 139, 0.38), transparent 60%),
    radial-gradient(380px 220px at 8% 90%, rgba(124, 255, 203, 0.12), transparent 55%),
    linear-gradient(155deg, #3a1d12 0%, #140c0a 48%, #000 100%);
  border: 1px solid rgba(255, 79, 139, 0.28);
}

.bk-hero h1 {
  margin: 0.25rem 0 0.8rem;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.bk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.bk-hero__mark {
  width: min(280px, 100%);
  justify-self: end;
  filter: drop-shadow(0 18px 36px rgba(255, 79, 139, 0.35));
}

.bk-section {
  padding: 2.2rem 0;
}

.bk-section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bk-section__head h2 {
  margin: 0;
  font-size: 1.8rem;
}

.bk-section__head a {
  text-decoration: none;
}

.bk-topics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.bk-topics--page {
  margin-top: 1.6rem;
}

.bk-topic {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 148px;
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 18px;
  text-decoration: none;
  color: var(--bk-cream);
  background: var(--bk-card);
  border: 1px solid rgba(255, 246, 234, 0.08);
  border-top: 3px solid var(--accent, var(--bk-pink));
}

.bk-topic:hover {
  color: #fff;
  border-color: var(--accent, var(--bk-pink));
}

.bk-topic--esports { --accent: #ff4f8b; }
.bk-topic--news { --accent: #e11d48; }
.bk-topic--technology { --accent: #7cffcb; }
.bk-topic--community { --accent: #ffe08a; }

.bk-topic__label {
  font-family: var(--bk-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent, var(--bk-pink));
}

.bk-topic__text {
  color: #f3e6d6;
}

.bk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.bk-grid--tight {
  margin-top: 1.15rem;
}

.bk-card {
  display: flex;
  flex-direction: column;
  background: var(--bk-card);
  border: 1px solid rgba(255, 246, 234, 0.08);
  border-radius: 20px;
  overflow: hidden;
}

.bk-card:hover {
  border-color: rgba(255, 79, 139, 0.45);
}

.bk-card__link,
.bk-card__media,
.bk-feature__media {
  display: block;
}

.bk-card__media img,
.bk-card__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.bk-card__placeholder {
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 79, 139, 0.7), transparent 42%),
    radial-gradient(circle at 72% 62%, rgba(255, 224, 138, 0.4), transparent 36%),
    linear-gradient(145deg, #3a1d12, #120c0a);
}

.bk-card__placeholder--news {
  background:
    radial-gradient(circle at 32% 40%, rgba(225, 29, 72, 0.8), transparent 44%),
    linear-gradient(145deg, #3a1d12, #120c0a);
}

.bk-card__placeholder--technology {
  background:
    radial-gradient(circle at 70% 40%, rgba(124, 255, 203, 0.55), transparent 42%),
    linear-gradient(145deg, #14211c, #120c0a);
}

.bk-card__placeholder--community {
  background:
    radial-gradient(circle at 40% 42%, rgba(255, 224, 138, 0.65), transparent 42%),
    linear-gradient(145deg, #3a1d12, #120c0a);
}

.bk-card__body,
.bk-feature__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1rem 1.15rem;
}

.bk-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: center;
  color: var(--bk-muted);
  font-size: 0.88rem;
}

.bk-card__title,
.bk-feature__title {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.25;
}

.bk-feature__title {
  font-size: clamp(1.6rem, 2vw, 2.1rem);
}

.bk-card__title a,
.bk-feature__title a {
  color: var(--bk-cream);
  text-decoration: none;
}

.bk-card__title a:hover,
.bk-feature__title a:hover {
  color: var(--bk-pink);
}

.bk-card__body p,
.bk-feature__body p {
  margin: 0;
  color: #eadfd2;
}

.bk-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 79, 139, 0.15);
  color: var(--bk-pink);
  text-decoration: none;
  font-family: var(--bk-display);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bk-chip--news { color: #ff8aa3; background: rgba(225, 29, 72, 0.16); }
.bk-chip--technology { color: var(--bk-mint); background: rgba(124, 255, 203, 0.12); }
.bk-chip--community { color: var(--bk-gold); background: rgba(255, 224, 138, 0.12); }

.bk-feature {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 0;
  align-items: stretch;
  background: var(--bk-card);
  border: 1px solid rgba(255, 246, 234, 0.08);
  border-radius: 24px;
  overflow: hidden;
}

.bk-feature__body {
  justify-content: center;
  padding: 1.4rem 1.5rem;
}

.bk-reading {
  color: var(--bk-muted);
  font-size: 0.88rem;
}

.bk-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem;
  border-radius: 24px;
  background: linear-gradient(120deg, #3a1d12, #1a0c12 55%, #000);
  border: 1px solid rgba(255, 79, 139, 0.3);
}

.bk-band h2 {
  margin: 0.2rem 0 0.4rem;
}

.bk-page-head {
  margin-bottom: 1.4rem;
  max-width: 48rem;
}

.bk-page-head h1 {
  margin: 0.25rem 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.bk-byline,
.bk-updated {
  color: var(--bk-muted);
}

.bk-figure {
  margin: 0 0 1.2rem;
}

.bk-figure img {
  width: 100%;
  border-radius: 20px;
}

.bk-prose {
  font-size: 1.06rem;
  line-height: 1.75;
  max-width: 74ch;
}

.bk-prose h2,
.bk-prose h3 {
  margin: 1.6rem 0 0.5rem;
}

.bk-prose a {
  color: var(--bk-pink);
}

.bk-prose ul {
  padding-left: 1.2rem;
}

.bk-prose li + li {
  margin-top: 0.35rem;
}

.bk-prose img,
.bk-prose figure {
  border-radius: 16px;
}

.bk-prose blockquote {
  margin: 1.2rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--bk-pink);
  color: #f3e6d6;
}

.bk-layout.has-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.6rem;
  align-items: start;
}

.bk-about {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.bk-logo-full {
  width: min(280px, 100%);
  height: auto;
  display: block;
}

.bk-logo-full--plate {
  background: #000;
  border-radius: 20px;
  border: 1px solid rgba(255, 79, 139, 0.35);
}

.bk-about__cta {
  margin-top: 1.4rem;
}

.bk-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 1.5rem;
  align-items: start;
}

.bk-form,
.bk-contact__aside,
.widget {
  background: var(--bk-card);
  border: 1px solid var(--bk-line);
  border-radius: 20px;
  padding: 1.2rem;
}

.bk-form {
  position: relative;
}

.bk-contact__aside h2,
.widget-title {
  margin-top: 0;
  font-size: 1.05rem;
}

.bk-form label,
.comment-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--bk-display);
  letter-spacing: 0.04em;
}

.bk-form p,
.comment-form p {
  margin: 0 0 0.9rem;
}

.bk-form input,
.bk-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  background: #0c0807;
  border: 1px solid var(--bk-line);
  color: var(--bk-cream);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.bk-form__note,
.comment-notes {
  color: var(--bk-muted);
  font-size: 0.92rem;
}

.bk-notice {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: rgba(124, 255, 203, 0.12);
  color: var(--bk-mint);
}

.bk-notice--missing,
.bk-notice--failed,
.bk-notice--invalid,
.bk-notice--slow {
  background: rgba(225, 29, 72, 0.14);
  color: #ffb4c4;
}

.bk-hp {
  position: absolute !important;
  left: -9999px !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.bk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.bk-tags a {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--bk-line);
  text-decoration: none;
  color: var(--bk-cream);
}

.post-navigation {
  margin: 2rem 0;
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.post-navigation a {
  display: block;
  text-decoration: none;
  color: var(--bk-cream);
  background: var(--bk-card);
  border: 1px solid var(--bk-line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
}

.bk-navpost__label {
  display: block;
  color: var(--bk-pink);
  font-family: var(--bk-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-next {
  text-align: right;
}

.bk-related {
  margin-top: 2.4rem;
}

.bk-comments {
  margin-top: 2rem;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list .children {
  list-style: none;
  margin-left: 1.2rem;
  padding: 0;
}

.comment-body {
  background: #1a100d;
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.comment-meta a {
  color: var(--bk-cream);
  text-decoration: none;
}

.comment-author .avatar {
  border-radius: 50%;
}

.comment-reply-link {
  text-decoration: none;
}

.navigation .nav-links,
.bk-pager .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.6rem;
}

.page-numbers {
  display: inline-flex;
  min-width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--bk-line);
  color: var(--bk-cream);
  text-decoration: none;
}

.page-numbers.current {
  background: var(--bk-pink);
  color: var(--bk-brown-deep);
  border-color: transparent;
}

.bk-pages {
  margin-top: 1rem;
}

.widget ul {
  padding-left: 1.1rem;
}

.bk-empty {
  max-width: 40rem;
}

.bk-empty h1,
.bk-empty h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.bk-empty .bk-search {
  margin: 1rem 0 1.2rem;
}

.bk-empty .bk-search input[type="search"] {
  width: min(16rem, 50vw);
}

.bk-footer {
  margin-top: 1rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--bk-line);
  background: #070504;
}

.bk-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 2rem;
}

.bk-footer h2 {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bk-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bk-footer-menu li + li {
  margin-top: 0.4rem;
}

.bk-footer-menu a {
  color: var(--bk-cream);
  text-decoration: none;
}

.bk-footer-menu a:hover {
  color: var(--bk-pink);
}

.bk-footer__brand p {
  color: #eadfd2;
  max-width: 34rem;
}

.bk-footer__bar {
  margin-top: 1.5rem;
  padding: 1rem 0 1.4rem;
  color: var(--bk-muted);
  border-top: 1px solid var(--bk-line);
}

@media (max-width: 960px) {
  .bk-nav-toggle {
    display: inline-flex;
  }

  .bk-header__inner {
    flex-wrap: wrap;
  }

  .bk-header__tools {
    margin-left: auto;
  }

  .bk-nav {
    display: none;
    order: 4;
    flex: 1 0 100%;
    margin: 0.2rem 0 0.8rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--bk-line);
  }

  .bk-nav.is-open {
    display: block;
  }

  .bk-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .bk-menu .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    border: 0;
    background: transparent;
    padding-left: 0.6rem;
  }

  .bk-hero__grid,
  .bk-feature,
  .bk-about,
  .bk-contact,
  .bk-footer__grid,
  .bk-layout.has-sidebar,
  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .bk-topics,
  .bk-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bk-hero__mark {
    width: 180px;
    justify-self: start;
    order: -1;
  }

  .bk-band,
  .bk-section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-next {
    text-align: left;
  }

  .bk-feature__body {
    padding: 0 1.1rem 1.2rem;
  }
}

@media (max-width: 782px) {
  body.admin-bar .bk-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .bk-topics,
  .bk-grid {
    grid-template-columns: 1fr;
  }

  .bk-search input[type="search"] {
    width: 6.2rem;
  }

  .comment-list .children {
    margin-left: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .bk-nav,
  .bk-header__tools,
  .bk-footer,
  .bk-band,
  .bk-hero__actions,
  .bk-crumb-wrap {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }
}
