@charset "UTF-8";

/* Production bridge: keep the GPT/Qiita demo UI usable inside SWELL. */
.sitekit-hybrid-front #header.l-header,
.sitekit-hybrid-front .l-fixHeader,
.sitekit-hybrid-front .p-breadcrumb,
.sitekit-hybrid-front .c-pageTitle,
.sitekit-hybrid-front .p-articleHead {
  display: none !important;
}

/* v021 structural reset: one layout contract for live PC, search, category, page, post. */
body.workshift-search-standalone,
body.workshift-archive-standalone,
body.search-results,
body.search-no-results,
body.category,
body.sitekit-hybrid-front,
body.single-post,
body.page {
  overflow-x: hidden !important;
  background: #f6f7f7 !important;
  background-image: none !important;
}

body.workshift-search-standalone *,
body.workshift-search-standalone *::before,
body.workshift-search-standalone *::after,
body.workshift-archive-standalone *,
body.workshift-archive-standalone *::before,
body.workshift-archive-standalone *::after {
  box-sizing: border-box !important;
  max-width: 100% !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

body.workshift-search-standalone::before,
body.workshift-search-standalone::after,
body.workshift-archive-standalone::before,
body.workshift-archive-standalone::after,
body.search-results::before,
body.search-results::after,
body.search-no-results::before,
body.search-no-results::after,
body.category::before,
body.category::after,
body.sitekit-hybrid-front::before,
body.sitekit-hybrid-front::after {
  content: none !important;
  display: none !important;
}

body.workshift-search-standalone #body_wrap,
body.workshift-search-standalone #content,
body.workshift-archive-standalone #body_wrap,
body.workshift-archive-standalone #content {
  width: 100% !important;
  max-width: 100vw !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  background: transparent !important;
}

.workshift-search-shell-header {
  position: sticky !important;
  top: var(--wp-admin--admin-bar--height, 0px) !important;
  z-index: 80 !important;
  display: grid !important;
  grid-template-columns: minmax(220px, auto) minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 64px !important;
  padding: 0 max(20px, calc((100vw - 1280px) / 2 + 24px)) !important;
  border-bottom: 1px solid #d9dee3 !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: none !important;
}

.workshift-search-brand {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  min-width: 0 !important;
  max-width: 320px !important;
}

.workshift-search-brand__mark {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important;
  background: #55c500 !important;
  color: #fff !important;
  font-weight: 950 !important;
}

.workshift-search-brand__name {
  display: grid !important;
  min-width: 0 !important;
  color: #20292e !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
}

.workshift-search-brand__name span,
.workshift-search-brand__name small {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.workshift-search-brand__name small {
  color: #7b868c !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.workshift-search-shell-header nav {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 18px !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  color: #374247 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

.workshift-search-page,
.workshift-archive-page {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 24px !important;
  width: min(1120px, calc(100vw - 40px)) !important;
  margin: 28px auto 56px !important;
}

.workshift-search-hero,
.workshift-archive-hero {
  grid-column: 1 / -1 !important;
  padding: 26px 30px !important;
  border: 1px solid #dfe4e8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.workshift-search-hero h1,
.workshift-archive-hero h1 {
  margin: 12px 0 22px !important;
  color: #20292e !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

.workshift-search-grid,
.workshift-archive-feed {
  padding: 12px 22px !important;
  border: 1px solid #dfe4e8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.workshift-search-grid .feed-row,
.workshift-archive-feed .feed-row {
  border-bottom: 1px solid #eef1f3 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.workshift-search-grid .feed-row-link,
.workshift-archive-feed .feed-row-link {
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: start !important;
  padding: 18px 0 !important;
}

.workshift-search-shell-footer {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.8fr) !important;
  gap: 28px !important;
  width: min(1120px, calc(100vw - 40px)) !important;
  margin: 0 auto 56px !important;
  padding: 26px !important;
  border: 1px solid #dfe4e8 !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.workshift-search-shell-footer__nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.sitekit-hybrid-front #body_wrap,
.sitekit-hybrid-front #content,
.sitekit-hybrid-front .l-content,
.sitekit-hybrid-front .l-mainContent,
.sitekit-hybrid-front .l-mainContent__inner,
.sitekit-hybrid-front .post_content,
.sitekit-hybrid-front .c-postContent,
.sitekit-hybrid-front .entry-content {
  width: 100% !important;
  max-width: 100vw !important;
  min-width: 0 !important;
  overflow-x: visible !important;
  background: transparent !important;
}

.sitekit-hybrid-front .hybrid-local-header .header-inner {
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: min(1180px, calc(100vw - 40px)) !important;
  grid-template-columns: auto minmax(220px, 280px) minmax(0, 1fr) minmax(230px, 330px) auto auto !important;
  gap: 12px !important;
  min-height: 62px !important;
}

.sitekit-hybrid-front .hybrid-app-shell {
  display: grid !important;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) minmax(230px, 270px) !important;
  gap: 20px !important;
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: min(1180px, calc(100vw - 40px)) !important;
  margin: 24px auto 64px !important;
  padding: 0 !important;
  overflow: visible !important;
}

.sitekit-hybrid-front .left-rail,
.sitekit-hybrid-front .right-rail,
.sitekit-hybrid-front .main-column {
  min-width: 0 !important;
  max-width: 100% !important;
}

.sitekit-hybrid-front .right-rail {
  overflow: visible !important;
}

.sitekit-hybrid-front .profile-card,
.sitekit-hybrid-front .side-nav,
.sitekit-hybrid-front .rank-widget,
.sitekit-hybrid-front .access-widget,
.sitekit-hybrid-front .starter-card,
.sitekit-hybrid-front .related-media,
.sitekit-hybrid-front .article-list,
.sitekit-hybrid-front .registration-cta {
  border: 1px solid #dfe4e8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.sitekit-hybrid-front .hero-copy {
  max-width: 100% !important;
  min-height: 250px !important;
  overflow: hidden !important;
  border-radius: 16px !important;
}

.sitekit-hybrid-front .hero-copy h1 {
  max-width: 100% !important;
  font-size: clamp(36px, 4.2vw, 54px) !important;
  line-height: 1.2 !important;
  overflow-wrap: anywhere !important;
}

.sitekit-hybrid-front .pickup-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  overflow: visible !important;
  padding: 0 !important;
}

.sitekit-hybrid-front .pickup-grid .visual-card {
  min-height: 245px !important;
  border-radius: 8px !important;
}

.sitekit-hybrid-front .pickup-grid .visual-card a {
  min-height: 245px !important;
  padding: 18px !important;
}

.sitekit-hybrid-front .pickup-grid .visual-card h3 {
  font-size: 19px !important;
  line-height: 1.45 !important;
}

.sitekit-hybrid-front .article-list {
  padding: 12px 22px !important;
}

.sitekit-hybrid-front .article-row a {
  grid-template-columns: 132px minmax(0, 1fr) auto !important;
  gap: 18px !important;
  padding: 18px 0 !important;
}

.sitekit-hybrid-front .article-row img,
.sitekit-hybrid-front .article-row .hybrid-thumb-fallback {
  width: 132px !important;
  height: 88px !important;
  border-radius: 6px !important;
}

.sitekit-hybrid-front .article-row h3 {
  font-size: 19px !important;
  line-height: 1.45 !important;
}

.sitekit-hybrid-front .rank-widget,
.sitekit-hybrid-front .access-widget {
  padding: 16px !important;
}

.sitekit-hybrid-front .image-rank,
.sitekit-hybrid-front .user-rank li,
.sitekit-hybrid-front .access-list li {
  min-height: 50px !important;
  padding: 8px 0 !important;
}

body.single-post .l-content,
body.page:not(.sitekit-hybrid-front) .l-content,
body.sitekit-guide-page .l-content {
  width: min(1120px, calc(100vw - 40px)) !important;
  max-width: min(1120px, calc(100vw - 40px)) !important;
  margin: 28px auto 64px !important;
  padding: 0 !important;
}

body.single-post .l-content {
  display: grid !important;
  grid-template-columns: minmax(0, 760px) minmax(240px, 300px) !important;
  gap: 28px !important;
}

body.single-post .l-mainContent,
body.single-post .l-mainContent__inner,
body.single-post .post_content,
body.single-post .c-postContent,
body.single-post .entry-content,
body.page:not(.sitekit-hybrid-front) .l-mainContent,
body.page:not(.sitekit-hybrid-front) .l-mainContent__inner,
body.page:not(.sitekit-hybrid-front) .post_content,
body.page:not(.sitekit-hybrid-front) .c-postContent,
body.page:not(.sitekit-hybrid-front) .entry-content {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  writing-mode: horizontal-tb !important;
}

@media (min-width: 1360px) {
  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .sitekit-hybrid-front .hybrid-app-shell {
    width: min(1280px, calc(100vw - 64px)) !important;
    max-width: min(1280px, calc(100vw - 64px)) !important;
  }

  .sitekit-hybrid-front .hybrid-app-shell {
    grid-template-columns: 240px minmax(0, 1fr) 300px !important;
    gap: 28px !important;
  }
}

@media (max-width: 1180px) {
  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .sitekit-hybrid-front .hybrid-app-shell {
    width: min(980px, calc(100vw - 32px)) !important;
    max-width: min(980px, calc(100vw - 32px)) !important;
  }

  .sitekit-hybrid-front .hybrid-app-shell {
    grid-template-columns: 220px minmax(0, 1fr) !important;
  }

  .sitekit-hybrid-front .right-rail {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .sitekit-hybrid-front .pickup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .sitekit-hybrid-front .hybrid-app-shell,
  .workshift-search-page,
  .workshift-archive-page,
  .workshift-search-shell-footer {
    width: min(720px, calc(100vw - 28px)) !important;
    max-width: min(720px, calc(100vw - 28px)) !important;
  }

  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .sitekit-hybrid-front .hybrid-app-shell,
  .workshift-search-page,
  .workshift-archive-page,
  body.single-post .l-content {
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .left-rail,
  .sitekit-hybrid-front .right-rail {
    position: static !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .pickup-grid {
    display: flex !important;
    gap: 14px !important;
    overflow-x: auto !important;
    padding-bottom: 10px !important;
    scroll-snap-type: x mandatory !important;
  }

  .sitekit-hybrid-front .pickup-grid .visual-card {
    flex: 0 0 min(360px, 86vw) !important;
    scroll-snap-align: start !important;
  }
}

@media (max-width: 640px) {
  .workshift-search-shell-header {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  .workshift-search-shell-header nav {
    justify-content: flex-start !important;
  }

  .workshift-search-page,
  .workshift-archive-page,
  .workshift-search-shell-footer,
  body.single-post .l-content,
  body.page:not(.sitekit-hybrid-front) .l-content {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .workshift-search-shell-footer,
  .workshift-search-shell-footer__nav {
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .article-row a,
  .workshift-search-grid .feed-row-link,
  .workshift-archive-feed .feed-row-link {
    grid-template-columns: 92px minmax(0, 1fr) !important;
  }

  .sitekit-hybrid-front .article-row b {
    grid-column: 2 !important;
    width: fit-content !important;
  }
}

/* v021 hard end override. */
.sitekit-hybrid-front .hybrid-app-shell {
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) minmax(230px, 270px) !important;
  gap: 20px !important;
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: min(1180px, calc(100vw - 40px)) !important;
  overflow: visible !important;
}

.sitekit-hybrid-front .hybrid-local-header .header-inner {
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: min(1180px, calc(100vw - 40px)) !important;
  grid-template-columns: auto minmax(220px, 280px) minmax(0, 1fr) minmax(230px, 330px) auto auto !important;
}

.sitekit-hybrid-front .right-rail,
.sitekit-hybrid-front .left-rail,
.sitekit-hybrid-front .main-column {
  min-width: 0 !important;
  max-width: 100% !important;
}

.sitekit-hybrid-front .pickup-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  overflow: visible !important;
}

.sitekit-hybrid-front .pickup-grid .visual-card,
.sitekit-hybrid-front .pickup-grid .visual-card a {
  min-height: 245px !important;
}

body.workshift-search-standalone,
body.workshift-archive-standalone,
body.search-results,
body.search-no-results,
body.category,
body.sitekit-hybrid-front {
  overflow-x: hidden !important;
  background: #f6f7f7 !important;
  background-image: none !important;
}

body.workshift-search-standalone::before,
body.workshift-search-standalone::after,
body.workshift-archive-standalone::before,
body.workshift-archive-standalone::after,
body.search-results::before,
body.search-results::after,
body.search-no-results::before,
body.search-no-results::after,
body.category::before,
body.category::after {
  content: none !important;
  display: none !important;
}

.workshift-search-page,
.workshift-archive-page,
.workshift-search-shell-footer {
  width: min(1120px, calc(100vw - 40px)) !important;
  max-width: min(1120px, calc(100vw - 40px)) !important;
}

@media (min-width: 1360px) {
  .sitekit-hybrid-front .hybrid-app-shell {
    grid-template-columns: 240px minmax(0, 1fr) 300px !important;
    gap: 28px !important;
    width: min(1280px, calc(100vw - 64px)) !important;
    max-width: min(1280px, calc(100vw - 64px)) !important;
  }
}

@media (max-width: 1180px) {
  .sitekit-hybrid-front .hybrid-app-shell {
    grid-template-columns: 220px minmax(0, 1fr) !important;
    width: min(980px, calc(100vw - 32px)) !important;
    max-width: min(980px, calc(100vw - 32px)) !important;
  }

  .sitekit-hybrid-front .right-rail {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .sitekit-hybrid-front .hybrid-app-shell,
  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .workshift-search-page,
  .workshift-archive-page,
  .workshift-search-shell-footer {
    grid-template-columns: 1fr !important;
    width: min(720px, calc(100vw - 28px)) !important;
    max-width: min(720px, calc(100vw - 28px)) !important;
  }

  .sitekit-hybrid-front .pickup-grid {
    display: flex !important;
    overflow-x: auto !important;
  }
}

/* v021 live contract: final override must stay last. */
body.workshift-search-standalone,
body.workshift-archive-standalone,
body.search-results,
body.search-no-results,
body.category,
body.sitekit-hybrid-front,
body.single-post,
body.page {
  overflow-x: hidden !important;
  background: #f6f7f7 !important;
  background-image: none !important;
}

body.workshift-search-standalone::before,
body.workshift-search-standalone::after,
body.workshift-archive-standalone::before,
body.workshift-archive-standalone::after,
body.search-results::before,
body.search-results::after,
body.search-no-results::before,
body.search-no-results::after,
body.category::before,
body.category::after,
body.sitekit-hybrid-front::before,
body.sitekit-hybrid-front::after {
  content: none !important;
  display: none !important;
}

body.workshift-search-standalone #body_wrap,
body.workshift-search-standalone #content,
body.workshift-archive-standalone #body_wrap,
body.workshift-archive-standalone #content,
.sitekit-hybrid-front #body_wrap,
.sitekit-hybrid-front #content,
.sitekit-hybrid-front .l-content,
.sitekit-hybrid-front .l-mainContent,
.sitekit-hybrid-front .l-mainContent__inner,
.sitekit-hybrid-front .post_content,
.sitekit-hybrid-front .c-postContent,
.sitekit-hybrid-front .entry-content {
  width: 100% !important;
  max-width: 100vw !important;
  min-width: 0 !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  overflow-x: visible !important;
  background: transparent !important;
  background-image: none !important;
}

.workshift-search-shell-header {
  position: sticky !important;
  top: var(--wp-admin--admin-bar--height, 0px) !important;
  z-index: 80 !important;
  display: grid !important;
  grid-template-columns: minmax(220px, auto) minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 64px !important;
  margin: 0 !important;
  padding: 0 max(20px, calc((100vw - 1280px) / 2 + 24px)) !important;
  border-bottom: 1px solid #d9dee3 !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: none !important;
}

.workshift-search-brand {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  min-width: 0 !important;
  max-width: 320px !important;
}

.workshift-search-brand__mark {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important;
  background: #55c500 !important;
  color: #fff !important;
  font-weight: 950 !important;
}

.workshift-search-brand__name,
.workshift-search-brand__name span,
.workshift-search-brand__name small {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
}

.workshift-search-shell-header nav {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 18px !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

.workshift-search-page,
.workshift-archive-page {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 24px !important;
  width: min(1120px, calc(100vw - 40px)) !important;
  margin: 28px auto 56px !important;
}

.workshift-search-hero,
.workshift-archive-hero,
.workshift-search-grid,
.workshift-archive-feed,
.workshift-search-shell-footer {
  border: 1px solid #dfe4e8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.workshift-search-hero,
.workshift-archive-hero {
  grid-column: 1 / -1 !important;
  padding: 26px 30px !important;
}

.workshift-search-grid,
.workshift-archive-feed {
  padding: 12px 22px !important;
}

.workshift-search-grid .feed-row-link,
.workshift-archive-feed .feed-row-link {
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: start !important;
  padding: 18px 0 !important;
}

.workshift-search-shell-footer {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.8fr) !important;
  gap: 28px !important;
  width: min(1120px, calc(100vw - 40px)) !important;
  margin: 0 auto 56px !important;
  padding: 26px !important;
}

.workshift-search-shell-footer__nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  writing-mode: horizontal-tb !important;
}

.sitekit-hybrid-front .hybrid-local-header .header-inner {
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: min(1180px, calc(100vw - 40px)) !important;
  grid-template-columns: auto minmax(220px, 280px) minmax(0, 1fr) minmax(230px, 330px) auto auto !important;
  gap: 12px !important;
  min-height: 62px !important;
}

.sitekit-hybrid-front .hybrid-app-shell {
  display: grid !important;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) minmax(230px, 270px) !important;
  gap: 20px !important;
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: min(1180px, calc(100vw - 40px)) !important;
  margin: 24px auto 64px !important;
  padding: 0 !important;
  overflow: visible !important;
}

.sitekit-hybrid-front .left-rail,
.sitekit-hybrid-front .right-rail,
.sitekit-hybrid-front .main-column {
  min-width: 0 !important;
  max-width: 100% !important;
}

.sitekit-hybrid-front .profile-card,
.sitekit-hybrid-front .side-nav,
.sitekit-hybrid-front .rank-widget,
.sitekit-hybrid-front .access-widget,
.sitekit-hybrid-front .starter-card,
.sitekit-hybrid-front .related-media,
.sitekit-hybrid-front .article-list,
.sitekit-hybrid-front .registration-cta {
  border: 1px solid #dfe4e8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.sitekit-hybrid-front .hero-copy {
  max-width: 100% !important;
  min-height: 250px !important;
  overflow: hidden !important;
  border-radius: 16px !important;
}

.sitekit-hybrid-front .hero-copy h1 {
  max-width: 100% !important;
  font-size: clamp(36px, 4.2vw, 54px) !important;
  line-height: 1.2 !important;
  overflow-wrap: anywhere !important;
}

.sitekit-hybrid-front .pickup-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  overflow: visible !important;
  padding: 0 !important;
}

.sitekit-hybrid-front .pickup-grid .visual-card,
.sitekit-hybrid-front .pickup-grid .visual-card a {
  min-height: 245px !important;
}

.sitekit-hybrid-front .article-list {
  padding: 12px 22px !important;
}

.sitekit-hybrid-front .article-row a {
  grid-template-columns: 132px minmax(0, 1fr) auto !important;
  gap: 18px !important;
  padding: 18px 0 !important;
}

.sitekit-hybrid-front .article-row img,
.sitekit-hybrid-front .article-row .hybrid-thumb-fallback {
  width: 132px !important;
  height: 88px !important;
  border-radius: 6px !important;
}

body.single-post .l-content,
body.page:not(.sitekit-hybrid-front) .l-content,
body.sitekit-guide-page .l-content {
  width: min(1120px, calc(100vw - 40px)) !important;
  max-width: min(1120px, calc(100vw - 40px)) !important;
  margin: 28px auto 64px !important;
  padding: 0 !important;
}

body.single-post .l-content {
  display: grid !important;
  grid-template-columns: minmax(0, 760px) minmax(240px, 300px) !important;
  gap: 28px !important;
}

@media (min-width: 1360px) {
  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .sitekit-hybrid-front .hybrid-app-shell {
    width: min(1280px, calc(100vw - 64px)) !important;
    max-width: min(1280px, calc(100vw - 64px)) !important;
  }

  .sitekit-hybrid-front .hybrid-app-shell {
    grid-template-columns: 240px minmax(0, 1fr) 300px !important;
    gap: 28px !important;
  }
}

@media (max-width: 1180px) {
  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .sitekit-hybrid-front .hybrid-app-shell {
    width: min(980px, calc(100vw - 32px)) !important;
    max-width: min(980px, calc(100vw - 32px)) !important;
  }

  .sitekit-hybrid-front .hybrid-app-shell {
    grid-template-columns: 220px minmax(0, 1fr) !important;
  }

  .sitekit-hybrid-front .right-rail {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .sitekit-hybrid-front .pickup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .sitekit-hybrid-front .hybrid-app-shell,
  .workshift-search-page,
  .workshift-archive-page,
  .workshift-search-shell-footer {
    width: min(720px, calc(100vw - 28px)) !important;
    max-width: min(720px, calc(100vw - 28px)) !important;
  }

  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .sitekit-hybrid-front .hybrid-app-shell,
  .workshift-search-page,
  .workshift-archive-page,
  body.single-post .l-content {
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .left-rail,
  .sitekit-hybrid-front .right-rail {
    position: static !important;
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .pickup-grid {
    display: flex !important;
    overflow-x: auto !important;
    padding-bottom: 10px !important;
  }

  .sitekit-hybrid-front .pickup-grid .visual-card {
    flex: 0 0 min(360px, 86vw) !important;
  }
}

@media (max-width: 640px) {
  .workshift-search-shell-header {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  .workshift-search-page,
  .workshift-archive-page,
  .workshift-search-shell-footer,
  body.single-post .l-content,
  body.page:not(.sitekit-hybrid-front) .l-content {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .workshift-search-shell-footer,
  .workshift-search-shell-footer__nav {
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .article-row a,
  .workshift-search-grid .feed-row-link,
  .workshift-archive-feed .feed-row-link {
    grid-template-columns: 92px minmax(0, 1fr) !important;
  }
}

/* v021 live contract: final override must stay last. */
body.workshift-search-standalone,
body.workshift-archive-standalone,
body.search-results,
body.search-no-results,
body.category,
body.sitekit-hybrid-front,
body.single-post,
body.page {
  overflow-x: hidden !important;
  background: #f6f7f7 !important;
  background-image: none !important;
}

body.workshift-search-standalone::before,
body.workshift-search-standalone::after,
body.workshift-archive-standalone::before,
body.workshift-archive-standalone::after,
body.search-results::before,
body.search-results::after,
body.search-no-results::before,
body.search-no-results::after,
body.category::before,
body.category::after,
body.sitekit-hybrid-front::before,
body.sitekit-hybrid-front::after {
  content: none !important;
  display: none !important;
}

body.workshift-search-standalone #body_wrap,
body.workshift-search-standalone #content,
body.workshift-archive-standalone #body_wrap,
body.workshift-archive-standalone #content,
.sitekit-hybrid-front #body_wrap,
.sitekit-hybrid-front #content,
.sitekit-hybrid-front .l-content,
.sitekit-hybrid-front .l-mainContent,
.sitekit-hybrid-front .l-mainContent__inner,
.sitekit-hybrid-front .post_content,
.sitekit-hybrid-front .c-postContent,
.sitekit-hybrid-front .entry-content {
  width: 100% !important;
  max-width: 100vw !important;
  min-width: 0 !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  overflow-x: visible !important;
  background: transparent !important;
  background-image: none !important;
}

.workshift-search-shell-header {
  position: sticky !important;
  top: var(--wp-admin--admin-bar--height, 0px) !important;
  z-index: 80 !important;
  display: grid !important;
  grid-template-columns: minmax(220px, auto) minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 64px !important;
  margin: 0 !important;
  padding: 0 max(20px, calc((100vw - 1280px) / 2 + 24px)) !important;
  border-bottom: 1px solid #d9dee3 !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: none !important;
}

.workshift-search-brand {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  min-width: 0 !important;
  max-width: 320px !important;
}

.workshift-search-brand__mark {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important;
  background: #55c500 !important;
  color: #fff !important;
  font-weight: 950 !important;
}

.workshift-search-brand__name,
.workshift-search-brand__name span,
.workshift-search-brand__name small {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
}

.workshift-search-shell-header nav {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 18px !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

.workshift-search-page,
.workshift-archive-page {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 24px !important;
  width: min(1120px, calc(100vw - 40px)) !important;
  margin: 28px auto 56px !important;
}

.workshift-search-hero,
.workshift-archive-hero,
.workshift-search-grid,
.workshift-archive-feed,
.workshift-search-shell-footer {
  border: 1px solid #dfe4e8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.workshift-search-hero,
.workshift-archive-hero {
  grid-column: 1 / -1 !important;
  padding: 26px 30px !important;
}

.workshift-search-grid,
.workshift-archive-feed {
  padding: 12px 22px !important;
}

.workshift-search-grid .feed-row-link,
.workshift-archive-feed .feed-row-link {
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: start !important;
  padding: 18px 0 !important;
}

.workshift-search-shell-footer {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.8fr) !important;
  gap: 28px !important;
  width: min(1120px, calc(100vw - 40px)) !important;
  margin: 0 auto 56px !important;
  padding: 26px !important;
}

.workshift-search-shell-footer__nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  writing-mode: horizontal-tb !important;
}

.sitekit-hybrid-front .hybrid-local-header .header-inner {
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: min(1180px, calc(100vw - 40px)) !important;
  grid-template-columns: auto minmax(220px, 280px) minmax(0, 1fr) minmax(230px, 330px) auto auto !important;
  gap: 12px !important;
  min-height: 62px !important;
}

.sitekit-hybrid-front .hybrid-app-shell {
  display: grid !important;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) minmax(230px, 270px) !important;
  gap: 20px !important;
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: min(1180px, calc(100vw - 40px)) !important;
  margin: 24px auto 64px !important;
  padding: 0 !important;
  overflow: visible !important;
}

.sitekit-hybrid-front .left-rail,
.sitekit-hybrid-front .right-rail,
.sitekit-hybrid-front .main-column {
  min-width: 0 !important;
  max-width: 100% !important;
}

.sitekit-hybrid-front .profile-card,
.sitekit-hybrid-front .side-nav,
.sitekit-hybrid-front .rank-widget,
.sitekit-hybrid-front .access-widget,
.sitekit-hybrid-front .starter-card,
.sitekit-hybrid-front .related-media,
.sitekit-hybrid-front .article-list,
.sitekit-hybrid-front .registration-cta {
  border: 1px solid #dfe4e8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.sitekit-hybrid-front .hero-copy {
  max-width: 100% !important;
  min-height: 250px !important;
  overflow: hidden !important;
  border-radius: 16px !important;
}

.sitekit-hybrid-front .hero-copy h1 {
  max-width: 100% !important;
  font-size: clamp(36px, 4.2vw, 54px) !important;
  line-height: 1.2 !important;
  overflow-wrap: anywhere !important;
}

.sitekit-hybrid-front .pickup-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  overflow: visible !important;
  padding: 0 !important;
}

.sitekit-hybrid-front .pickup-grid .visual-card,
.sitekit-hybrid-front .pickup-grid .visual-card a {
  min-height: 245px !important;
}

.sitekit-hybrid-front .article-list {
  padding: 12px 22px !important;
}

.sitekit-hybrid-front .article-row a {
  grid-template-columns: 132px minmax(0, 1fr) auto !important;
  gap: 18px !important;
  padding: 18px 0 !important;
}

.sitekit-hybrid-front .article-row img,
.sitekit-hybrid-front .article-row .hybrid-thumb-fallback {
  width: 132px !important;
  height: 88px !important;
  border-radius: 6px !important;
}

body.single-post .l-content,
body.page:not(.sitekit-hybrid-front) .l-content,
body.sitekit-guide-page .l-content {
  width: min(1120px, calc(100vw - 40px)) !important;
  max-width: min(1120px, calc(100vw - 40px)) !important;
  margin: 28px auto 64px !important;
  padding: 0 !important;
}

body.single-post .l-content {
  display: grid !important;
  grid-template-columns: minmax(0, 760px) minmax(240px, 300px) !important;
  gap: 28px !important;
}

@media (min-width: 1360px) {
  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .sitekit-hybrid-front .hybrid-app-shell {
    width: min(1280px, calc(100vw - 64px)) !important;
    max-width: min(1280px, calc(100vw - 64px)) !important;
  }

  .sitekit-hybrid-front .hybrid-app-shell {
    grid-template-columns: 240px minmax(0, 1fr) 300px !important;
    gap: 28px !important;
  }
}

@media (max-width: 1180px) {
  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .sitekit-hybrid-front .hybrid-app-shell {
    width: min(980px, calc(100vw - 32px)) !important;
    max-width: min(980px, calc(100vw - 32px)) !important;
  }

  .sitekit-hybrid-front .hybrid-app-shell {
    grid-template-columns: 220px minmax(0, 1fr) !important;
  }

  .sitekit-hybrid-front .right-rail {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .sitekit-hybrid-front .pickup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .sitekit-hybrid-front .hybrid-app-shell,
  .workshift-search-page,
  .workshift-archive-page,
  .workshift-search-shell-footer {
    width: min(720px, calc(100vw - 28px)) !important;
    max-width: min(720px, calc(100vw - 28px)) !important;
  }

  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .sitekit-hybrid-front .hybrid-app-shell,
  .workshift-search-page,
  .workshift-archive-page,
  body.single-post .l-content {
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .left-rail,
  .sitekit-hybrid-front .right-rail {
    position: static !important;
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .pickup-grid {
    display: flex !important;
    overflow-x: auto !important;
    padding-bottom: 10px !important;
  }

  .sitekit-hybrid-front .pickup-grid .visual-card {
    flex: 0 0 min(360px, 86vw) !important;
  }
}

@media (max-width: 640px) {
  .workshift-search-shell-header {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  .workshift-search-page,
  .workshift-archive-page,
  .workshift-search-shell-footer,
  body.single-post .l-content,
  body.page:not(.sitekit-hybrid-front) .l-content {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .workshift-search-shell-footer,
  .workshift-search-shell-footer__nav {
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .article-row a,
  .workshift-search-grid .feed-row-link,
  .workshift-archive-feed .feed-row-link {
    grid-template-columns: 92px minmax(0, 1fr) !important;
  }
}

/* v020 Qiita alignment and search emergency isolation. */
html:has(body.workshift-search-standalone),
body.workshift-search-standalone,
body.search-results,
body.search-no-results {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100vw !important;
  margin: 0 !important;
  overflow-x: clip !important;
  background: #f6f7f7 !important;
  background-image: none !important;
}

body.workshift-search-standalone::before,
body.workshift-search-standalone::after,
body.search-results::before,
body.search-results::after,
body.search-no-results::before,
body.search-no-results::after,
body.workshift-search-standalone.sitekit-home::before,
body.workshift-search-standalone.sitekit-home::after,
body.search-results.sitekit-home::before,
body.search-results.sitekit-home::after,
body.search-no-results.sitekit-home::before,
body.search-no-results.sitekit-home::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
  border: 0 !important;
}

body.workshift-search-standalone #body_wrap,
body.workshift-search-standalone #content,
body.search-results #body_wrap,
body.search-results #content,
body.search-no-results #body_wrap,
body.search-no-results #content {
  width: 100% !important;
  max-width: 100vw !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: clip !important;
  background: transparent !important;
  background-image: none !important;
  writing-mode: horizontal-tb !important;
}

body.workshift-search-standalone .sitekit-site-footer,
body.search-results .sitekit-site-footer,
body.search-no-results .sitekit-site-footer,
body.search-results .swell-block-fullWide__SVG,
body.search-no-results .swell-block-fullWide__SVG {
  display: none !important;
}

.workshift-search-shell-header,
.workshift-search-header {
  position: sticky !important;
  top: var(--wp-admin--admin-bar--height, 0px) !important;
  z-index: 80 !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 28px !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 72px !important;
  margin: 0 !important;
  padding: 0 max(24px, calc((100vw - 1440px) / 2 + 32px)) !important;
  border: 0 !important;
  border-bottom: 1px solid #d7dbdd !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px) !important;
  writing-mode: horizontal-tb !important;
}

.workshift-search-brand,
.workshift-search-header .brand {
  display: inline-grid !important;
  grid-template-columns: 40px minmax(0, max-content) !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  max-width: 360px !important;
  color: #1f2a2e !important;
  text-decoration: none !important;
  writing-mode: horizontal-tb !important;
}

.workshift-search-brand__mark,
.workshift-search-header .brand-mark {
  display: grid !important;
  place-items: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 8px !important;
  background: #55c500 !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.workshift-search-brand__name,
.workshift-search-header .brand-name {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
  color: #1f2a2e !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.workshift-search-brand__name small,
.workshift-search-header .brand-name small {
  color: #7a858b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.workshift-search-shell-header nav,
.workshift-search-header nav {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 22px !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  color: #3f4b50 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

.workshift-search-page {
  display: grid !important;
  grid-template-columns: minmax(0, 760px) minmax(260px, 320px) !important;
  gap: 28px !important;
  align-items: start !important;
  width: min(1120px, calc(100vw - 48px)) !important;
  margin: 32px auto 56px !important;
  padding: 0 !important;
}

.workshift-search-hero,
.workshift-search-terms,
.workshift-search-grid,
.workshift-search-shell-footer,
.workshift-search-footer {
  border: 1px solid #e1e5e7 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.workshift-search-hero {
  grid-column: 1 / -1 !important;
  padding: 28px 32px !important;
}

.workshift-search-hero h1 {
  margin: 14px 0 24px !important;
  color: #1f2a2e !important;
  font-size: clamp(30px, 4vw, 44px) !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

.workshift-search-grid {
  padding: 18px 24px !important;
}

.workshift-search-shell-footer,
.workshift-search-footer {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.7fr) !important;
  gap: 28px !important;
  width: min(1120px, calc(100vw - 48px)) !important;
  max-width: min(1120px, calc(100vw - 48px)) !important;
  margin: 0 auto 56px !important;
  padding: 28px !important;
}

.workshift-search-shell-footer__nav,
.workshift-search-footer__nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.sitekit-hybrid-front {
  background: #f6f7f7 !important;
  background-image: none !important;
}

.sitekit-hybrid-front .site-header {
  border-bottom: 1px solid #d7dbdd !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: none !important;
}

.sitekit-hybrid-front .hybrid-local-header .header-inner,
.sitekit-hybrid-front .hybrid-app-shell {
  width: min(1440px, calc(100vw - 64px)) !important;
  max-width: min(1440px, calc(100vw - 64px)) !important;
}

.sitekit-hybrid-front .hybrid-local-header .header-inner {
  grid-template-columns: auto minmax(260px, 320px) minmax(0, 1fr) minmax(300px, 420px) auto auto !important;
  min-height: 74px !important;
}

.sitekit-hybrid-front .hybrid-app-shell {
  grid-template-columns: 280px minmax(0, 1fr) 320px !important;
  gap: 32px !important;
  padding-top: 32px !important;
}

.sitekit-hybrid-front .main-column {
  gap: 26px !important;
}

.sitekit-hybrid-front .profile-card,
.sitekit-hybrid-front .side-nav,
.sitekit-hybrid-front .rank-widget,
.sitekit-hybrid-front .access-widget,
.sitekit-hybrid-front .starter-card,
.sitekit-hybrid-front .related-media,
.sitekit-hybrid-front .hero-article,
.sitekit-hybrid-front .article-list,
.sitekit-hybrid-front .registration-cta {
  border: 1px solid #e1e5e7 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.sitekit-hybrid-front .profile-card,
.sitekit-hybrid-front .side-nav,
.sitekit-hybrid-front .rank-widget,
.sitekit-hybrid-front .access-widget,
.sitekit-hybrid-front .starter-card,
.sitekit-hybrid-front .related-media {
  padding: 18px !important;
}

.sitekit-hybrid-front .hero-article {
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr) !important;
  min-height: 250px !important;
  padding: 22px !important;
}

.sitekit-hybrid-front .hero-article img {
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
}

.sitekit-hybrid-front .hero-article h1 {
  color: #1f2a2e !important;
  font-size: clamp(28px, 3.3vw, 42px) !important;
}

.sitekit-hybrid-front .pickup-grid .visual-card {
  flex-basis: min(420px, 68%) !important;
  min-height: 142px !important;
  border-radius: 8px !important;
}

.sitekit-hybrid-front .pickup-grid .visual-card a {
  min-height: 142px !important;
}

.sitekit-hybrid-front .article-list {
  padding: 14px 22px !important;
}

.sitekit-hybrid-front .article-row a {
  grid-template-columns: 112px minmax(0, 1fr) auto !important;
  gap: 18px !important;
  padding: 18px 0 !important;
}

.sitekit-hybrid-front .article-row img,
.sitekit-hybrid-front .article-row .hybrid-thumb-fallback {
  width: 112px !important;
  height: 82px !important;
  border-radius: 6px !important;
}

.sitekit-hybrid-front .article-row h3 {
  color: #1f2a2e !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
}

.sitekit-hybrid-front .article-row span,
.sitekit-hybrid-front .hero-article span,
.sitekit-hybrid-front .visual-card span {
  border-radius: 4px !important;
  background: #edf2ed !important;
  color: #3c7f1f !important;
}

.sitekit-hybrid-front .rank-tab,
.sitekit-hybrid-front .user-rank,
.sitekit-hybrid-front .access-list {
  counter-reset: qiita-rank !important;
  gap: 0 !important;
}

.sitekit-hybrid-front .image-rank,
.sitekit-hybrid-front .user-rank li,
.sitekit-hybrid-front .access-list li {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 28px 42px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  min-height: 56px !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid #eceff1 !important;
}

.sitekit-hybrid-front .image-rank::before,
.sitekit-hybrid-front .user-rank li::before {
  counter-increment: qiita-rank !important;
  content: counter(qiita-rank) !important;
  color: #7a858b !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-align: center !important;
}

.sitekit-hybrid-front .image-rank:nth-child(-n+3)::before,
.sitekit-hybrid-front .user-rank li:nth-child(-n+3)::before {
  color: #a27816 !important;
}

.sitekit-hybrid-front .image-rank img,
.sitekit-hybrid-front .user-rank img {
  grid-column: 2 !important;
}

.sitekit-hybrid-front .image-rank b,
.sitekit-hybrid-front .user-rank div {
  grid-column: 3 !important;
}

.sitekit-hybrid-front .image-rank span {
  grid-column: 3 !important;
}

.sitekit-hybrid-front .access-list li {
  grid-template-columns: 28px minmax(0, 1fr) !important;
}

.sitekit-hybrid-front .access-list li > span {
  display: grid !important;
  place-items: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 4px !important;
  background: #edf2ed !important;
  color: #3c7f1f !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.sitekit-hybrid-front .widget-head {
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.sitekit-hybrid-front .mini-tabs {
  border: 0 !important;
  gap: 12px !important;
}

.sitekit-hybrid-front .widget-head label {
  min-height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #7a858b !important;
}

.sitekit-hybrid-front #tag-week:checked ~ .widget-head label[for="tag-week"],
.sitekit-hybrid-front #tag-month:checked ~ .widget-head label[for="tag-month"],
.sitekit-hybrid-front #user-week:checked ~ .widget-head label[for="user-week"],
.sitekit-hybrid-front #user-month:checked ~ .widget-head label[for="user-month"],
.sitekit-hybrid-front #access-day:checked ~ .widget-head label[for="access-day"],
.sitekit-hybrid-front #access-week:checked ~ .widget-head label[for="access-week"],
.sitekit-hybrid-front #access-month:checked ~ .widget-head label[for="access-month"] {
  color: #3c7f1f !important;
  text-decoration: underline !important;
  text-underline-offset: 7px !important;
  text-decoration-thickness: 3px !important;
}

@media (max-width: 1100px) {
  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .sitekit-hybrid-front .hybrid-app-shell {
    width: min(760px, calc(100vw - 32px)) !important;
    max-width: min(760px, calc(100vw - 32px)) !important;
  }

  .sitekit-hybrid-front .hybrid-app-shell {
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .left-rail,
  .sitekit-hybrid-front .right-rail {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .workshift-search-page {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .workshift-search-shell-header,
  .workshift-search-header {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  .workshift-search-page,
  .workshift-search-shell-footer,
  .workshift-search-footer {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .workshift-search-shell-footer,
  .workshift-search-footer,
  .workshift-search-shell-footer__nav,
  .workshift-search-footer__nav {
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .left-rail,
  .sitekit-hybrid-front .right-rail {
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .article-row a {
    grid-template-columns: 88px minmax(0, 1fr) !important;
  }

  .sitekit-hybrid-front .article-row b {
    grid-column: 2 !important;
    width: fit-content !important;
  }
}

/* v021 absolute end override. */
.sitekit-hybrid-front .hybrid-app-shell {
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) minmax(230px, 270px) !important;
  gap: 20px !important;
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: min(1180px, calc(100vw - 40px)) !important;
  overflow: visible !important;
}

.sitekit-hybrid-front .hybrid-local-header .header-inner {
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: min(1180px, calc(100vw - 40px)) !important;
  grid-template-columns: auto minmax(220px, 280px) minmax(0, 1fr) minmax(230px, 330px) auto auto !important;
}

.sitekit-hybrid-front .left-rail,
.sitekit-hybrid-front .right-rail,
.sitekit-hybrid-front .main-column {
  min-width: 0 !important;
  max-width: 100% !important;
}

.sitekit-hybrid-front .pickup-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  overflow: visible !important;
}

body.workshift-search-standalone,
body.workshift-archive-standalone,
body.search-results,
body.search-no-results,
body.category,
body.sitekit-hybrid-front {
  overflow-x: hidden !important;
  background: #f6f7f7 !important;
  background-image: none !important;
}

body.workshift-search-standalone::before,
body.workshift-search-standalone::after,
body.workshift-archive-standalone::before,
body.workshift-archive-standalone::after,
body.search-results::before,
body.search-results::after,
body.search-no-results::before,
body.search-no-results::after,
body.category::before,
body.category::after {
  content: none !important;
  display: none !important;
}

.workshift-search-page,
.workshift-archive-page,
.workshift-search-shell-footer {
  width: min(1120px, calc(100vw - 40px)) !important;
  max-width: min(1120px, calc(100vw - 40px)) !important;
}

@media (min-width: 1360px) {
  .sitekit-hybrid-front .hybrid-app-shell {
    grid-template-columns: 240px minmax(0, 1fr) 300px !important;
    gap: 28px !important;
    width: min(1280px, calc(100vw - 64px)) !important;
    max-width: min(1280px, calc(100vw - 64px)) !important;
  }
}

@media (max-width: 1180px) {
  .sitekit-hybrid-front .hybrid-app-shell {
    grid-template-columns: 220px minmax(0, 1fr) !important;
    width: min(980px, calc(100vw - 32px)) !important;
    max-width: min(980px, calc(100vw - 32px)) !important;
  }

  .sitekit-hybrid-front .right-rail {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .sitekit-hybrid-front .hybrid-app-shell,
  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .workshift-search-page,
  .workshift-archive-page,
  .workshift-search-shell-footer {
    grid-template-columns: 1fr !important;
    width: min(720px, calc(100vw - 28px)) !important;
    max-width: min(720px, calc(100vw - 28px)) !important;
  }

  .sitekit-hybrid-front .pickup-grid {
    display: flex !important;
    overflow-x: auto !important;
  }
}

.sitekit-hybrid-front #content,
.sitekit-hybrid-front .l-content,
.sitekit-hybrid-front .l-mainContent,
.sitekit-hybrid-front .l-mainContent__inner,
.sitekit-hybrid-front .post_content,
.sitekit-hybrid-front .c-postContent,
.sitekit-hybrid-front .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sitekit-hybrid-front .site-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
}

.sitekit-hybrid-front .hybrid-local-header,
.sitekit-hybrid-front .hybrid-local-header * {
  writing-mode: horizontal-tb !important;
}

.sitekit-hybrid-front .hybrid-local-header .header-inner {
  grid-template-columns: auto minmax(220px, 300px) minmax(0, 1fr) minmax(220px, 300px) auto auto !important;
  width: min(1280px, calc(100vw - 40px)) !important;
  gap: 14px !important;
}

.sitekit-hybrid-front .hybrid-local-header .brand {
  min-width: 0 !important;
}

.sitekit-hybrid-front .hybrid-local-header .brand-name span,
.sitekit-hybrid-front .hybrid-local-header .brand-name small {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.sitekit-hybrid-front .hybrid-local-header .primary-nav {
  min-width: 0 !important;
  overflow: hidden !important;
}

.sitekit-hybrid-front .hybrid-local-header .primary-nav a {
  flex: 0 0 auto;
  font-size: 13px;
}

.sitekit-hybrid-front .hybrid-app-shell {
  grid-template-columns: 220px minmax(0, 1fr) 300px !important;
  width: min(1280px, calc(100vw - 40px)) !important;
  align-items: start !important;
  gap: 22px !important;
  overflow: visible !important;
}

.sitekit-hybrid-front .main-column,
.sitekit-hybrid-front .hero,
.sitekit-hybrid-front .pickup,
.sitekit-hybrid-front .latest,
.sitekit-hybrid-front .registration-cta {
  min-width: 0 !important;
}

.sitekit-hybrid-front .hero,
.sitekit-hybrid-front .hero-copy,
.sitekit-hybrid-front .hero-copy * {
  writing-mode: horizontal-tb !important;
}

.sitekit-hybrid-front .hero {
  min-height: 0 !important;
}

.sitekit-hybrid-front .hero-copy {
  min-height: 260px !important;
  max-width: 760px !important;
}

.sitekit-hybrid-front .hero-article {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 220px;
  padding: 22px;
  border: 1px solid #dce6f5;
  border-radius: 10px;
  background: #fff;
  color: #071226;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .07);
}

.sitekit-hybrid-front .hero-article img {
  width: 220px;
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: 8px;
}

.sitekit-hybrid-front .hero-article span,
.sitekit-hybrid-front .article-row span,
.sitekit-hybrid-front .image-rank span {
  background: #e6fff7 !important;
  color: #04806f !important;
}

.sitekit-hybrid-front .hero-article h1 {
  margin: 10px 0 10px !important;
  color: #071226 !important;
  font-size: clamp(26px, 3.2vw, 38px) !important;
  font-weight: 950 !important;
  line-height: 1.32 !important;
}

.sitekit-hybrid-front .hero-article p {
  margin: 0 0 12px !important;
  color: #344054 !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 1.8 !important;
}

.sitekit-hybrid-front .hero-article small {
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.sitekit-hybrid-front .hero-copy h1 {
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
}

.sitekit-hybrid-front .pickup-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 14px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px 2px 12px !important;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.sitekit-hybrid-front .visual-card {
  flex: 0 0 min(430px, 72%) !important;
  min-height: 154px !important;
  border-radius: 10px !important;
  scroll-snap-align: start;
}

.sitekit-hybrid-front .visual-card a {
  justify-content: end !important;
  min-height: 154px !important;
  padding: 18px !important;
}

.sitekit-hybrid-front .visual-card h3 {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.sitekit-hybrid-front .article-row a,
.sitekit-hybrid-front .visual-card a,
.sitekit-hybrid-front .image-rank,
.sitekit-hybrid-front .user-rank li,
.sitekit-hybrid-front .access-list li {
  min-width: 0;
}

.sitekit-hybrid-front .article-row h3,
.sitekit-hybrid-front .article-row p,
.sitekit-hybrid-front .access-list a,
.sitekit-hybrid-front .image-rank b,
.sitekit-hybrid-front .user-rank b,
.sitekit-hybrid-front .user-rank span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sitekit-hybrid-front .access-list {
  max-height: 302px;
  overflow-y: auto;
  padding-right: 6px;
  scroll-snap-type: y proximity;
  scrollbar-width: thin;
}

.workshift-search-standalone {
  min-width: 0 !important;
  overflow-x: clip !important;
  margin: 0 !important;
  background: #f3f8fc !important;
  background-image: none !important;
  color: #071226 !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans JP", sans-serif !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

.workshift-search-standalone *,
.workshift-search-standalone *::before,
.workshift-search-standalone *::after {
  box-sizing: border-box !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

.workshift-search-standalone::before,
.workshift-search-standalone::after {
  content: none !important;
  display: none !important;
}

.workshift-search-standalone .l-header,
.workshift-search-standalone .l-footer,
.workshift-search-standalone #header,
.workshift-search-standalone #footer,
.workshift-search-standalone .p-breadcrumb,
.workshift-search-standalone .c-pageTitle,
.workshift-search-standalone .sitekit-site-footer,
.workshift-search-standalone .swell-block-fullWide__SVG {
  display: none !important;
}

.workshift-search-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  width: min(1120px, calc(100vw - 40px));
  min-height: 64px;
  margin: 0 auto;
  border-bottom: 1px solid #dce6f5;
  background: rgba(243, 248, 252, .94);
  backdrop-filter: blur(12px);
}

.workshift-search-header nav {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  overflow-x: auto;
  color: #344054;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.sitekit-hybrid-front .access-list li {
  scroll-snap-align: start;
}

.sitekit-hybrid-front .access-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: -4px 0 10px;
}

.sitekit-hybrid-front .access-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #dce6f5;
  border-radius: 10px;
  background: #fff;
  color: #071226;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
}

.sitekit-hybrid-front .access-controls button:disabled {
  opacity: .36;
  cursor: default;
}

.sitekit-hybrid-front .access-controls button[hidden] {
  display: none !important;
}

.sitekit-hybrid-front .side-search,
.sitekit-hybrid-front .workshift-home-search,
.sitekit-hybrid-front .header-search {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.sitekit-hybrid-front .side-search input,
.sitekit-hybrid-front .workshift-home-search input,
.sitekit-hybrid-front .header-search input {
  min-width: 0 !important;
  max-width: 100% !important;
}

.sitekit-hybrid-front .content-tabs label {
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.sitekit-hybrid-front .content-tabs input:checked + label {
  border-color: rgba(15, 190, 160, .55);
  background: #fff;
  color: #027f74;
}

.sitekit-hybrid-front .visual-card {
  background-image:
    linear-gradient(180deg, rgba(3, 10, 28, .08), rgba(3, 10, 28, .74)),
    var(--hybrid-card-image);
  background-position: center;
  background-size: cover;
}

.sitekit-hybrid-front .visual-card.blue,
.sitekit-hybrid-front .visual-card.green,
.sitekit-hybrid-front .visual-card.pink {
  background-image:
    linear-gradient(180deg, rgba(3, 10, 28, .08), rgba(3, 10, 28, .74)),
    var(--hybrid-card-image),
    linear-gradient(135deg, #05335e, #08b6d6);
}

.sitekit-hybrid-front .hybrid-thumb-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 112px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d8fff6, #dff3ff);
  color: #078da4;
  font-weight: 950;
}

@media (min-width: 1181px) {
  .sitekit-hybrid-front .access-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 6px;
  }
}

@media (max-width: 1320px) {
  .sitekit-hybrid-front .hybrid-local-header .header-inner {
    grid-template-columns: auto minmax(220px, 300px) minmax(0, 1fr) minmax(220px, 300px) auto !important;
  }

  .sitekit-hybrid-front .hybrid-local-header .signup-link {
    display: none !important;
  }

  .sitekit-hybrid-front .hybrid-app-shell {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    width: min(1120px, calc(100vw - 40px)) !important;
  }

  .sitekit-hybrid-front .left-rail {
    order: 3;
    grid-column: 1 / -1;
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .sitekit-hybrid-front .main-column {
    order: 1;
  }

  .sitekit-hybrid-front .right-rail {
    order: 2;
  }

  .sitekit-hybrid-front .rank-widget {
    min-width: 0;
  }
}

@media (max-width: 1100px) {
  .sitekit-hybrid-front .hybrid-local-header .header-inner {
    grid-template-columns: auto minmax(210px, 280px) minmax(200px, 1fr) auto !important;
  }

  .sitekit-hybrid-front .hybrid-local-header .primary-nav,
  .sitekit-hybrid-front .hybrid-local-header .login-link {
    display: none !important;
  }

  .sitekit-hybrid-front .hybrid-app-shell {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(760px, calc(100vw - 32px)) !important;
  }

  .sitekit-hybrid-front .right-rail,
  .sitekit-hybrid-front .left-rail {
    grid-column: auto !important;
    grid-template-columns: 1fr 1fr;
    position: static !important;
  }
}

@media (max-width: 820px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .sitekit-hybrid-front .site-header {
    top: var(--wp-admin--admin-bar--height, 0px);
  }

  .sitekit-hybrid-front .header-inner {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }

  .sitekit-hybrid-front .brand {
    justify-content: center;
  }

  .sitekit-hybrid-front .brand-name {
    max-width: calc(100vw - 168px);
  }

  .sitekit-hybrid-front .header-search button {
    display: grid;
    place-items: center;
  }

  .sitekit-hybrid-front .app-shell {
    width: min(430px, calc(100vw - 28px)) !important;
    grid-template-columns: 1fr !important;
    gap: 18px;
    margin-top: 18px;
  }

  .sitekit-hybrid-front .main-column {
    gap: 22px;
  }

  .sitekit-hybrid-front .left-rail,
  .sitekit-hybrid-front .right-rail {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .sitekit-hybrid-front .rank-widget,
  .sitekit-hybrid-front .access-widget,
  .sitekit-hybrid-front .starter-card,
  .sitekit-hybrid-front .related-media {
    border-radius: 14px;
    padding: 16px;
  }

  .sitekit-hybrid-front .hero-copy h1 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .sitekit-hybrid-front .pickup-grid {
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .content-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .sitekit-hybrid-front .content-tabs::-webkit-scrollbar {
    display: none;
  }

  .sitekit-hybrid-front .content-tabs label {
    flex: 0 0 auto;
  }

  .sitekit-hybrid-front .article-list {
    padding: 0 12px;
  }

  .sitekit-hybrid-front .article-row a {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
  }

  .sitekit-hybrid-front .article-row img,
  .sitekit-hybrid-front .hybrid-thumb-fallback {
    height: 96px;
    border-radius: 12px;
  }

  .sitekit-hybrid-front .article-row h3 {
    font-size: 16px;
  }

  .sitekit-hybrid-front .article-row p {
    display: none;
  }

  .sitekit-hybrid-front .article-row b {
    grid-column: 2;
    justify-self: start;
  }

  .sitekit-hybrid-front .media-mega {
    max-height: calc(100vh - 58px);
    overflow-y: auto;
  }

  .sitekit-hybrid-front .trend-popup {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
}

/* Search results: replace the default SWELL archive look with the hybrid media UI. */
body.search-results,
body.search-no-results {
  background:
    radial-gradient(circle at 78% -10%, rgba(15, 190, 160, .14), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%) !important;
}

body.search-results #content,
body.search-no-results #content,
body.search-results .l-content,
body.search-no-results .l-content,
body.search-results .l-mainContent,
body.search-no-results .l-mainContent,
body.search-results .l-mainContent__inner,
body.search-no-results .l-mainContent__inner {
  width: min(1120px, calc(100vw - 44px)) !important;
  max-width: min(1120px, calc(100vw - 44px)) !important;
  margin: 34px auto 80px !important;
  padding: 0 !important;
}

body.search-results .l-sidebar,
body.search-no-results .l-sidebar,
body.search-results .p-breadcrumb,
body.search-no-results .p-breadcrumb,
body.search-results .c-pageTitle,
body.search-no-results .c-pageTitle {
  display: none !important;
}

.workshift-search-page,
.workshift-search-page * {
  box-sizing: border-box;
  writing-mode: horizontal-tb !important;
}

.workshift-search-page {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
  color: #071226;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans JP", sans-serif;
}

.workshift-search-hero,
.workshift-search-terms,
.workshift-search-grid .feed-row,
.workshift-search-page .sitekit-empty {
  border: 1px solid #dce6f5;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .07);
}

.workshift-search-hero {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.workshift-search-hero h1 {
  margin: 0;
  color: #071226;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
}

.workshift-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 98px;
  gap: 10px;
}

.workshift-search-form input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border: 1px solid #d9e3f2;
  border-radius: 12px;
  background: #fff;
  color: #071226;
  font-size: 16px;
  font-weight: 800;
}

.workshift-search-form button {
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0fbfa0, #0492a8);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}

.workshift-search-terms {
  padding: 22px 24px;
}

.workshift-search-terms h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #071226;
  font-size: 20px;
}

.workshift-search-grid {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.workshift-search-grid .feed-row {
  display: block;
  padding: 14px;
  overflow: hidden;
}

.workshift-search-grid .feed-row-link {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.workshift-search-grid .feed-thumb,
.workshift-search-grid .sitekit-post-thumb,
.workshift-search-grid .hybrid-thumb-fallback {
  overflow: hidden;
  width: 168px;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}

.workshift-search-grid h3 {
  margin: 8px 0;
  color: #071226;
  font-size: 21px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.workshift-search-grid p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.75;
}

.workshift-search-pagination {
  padding-top: 12px;
}

@media (max-width: 820px) {
  body.search-results #content,
  body.search-no-results #content,
  body.search-results .l-content,
  body.search-no-results .l-content,
  body.search-results .l-mainContent,
  body.search-no-results .l-mainContent,
  body.search-results .l-mainContent__inner,
  body.search-no-results .l-mainContent__inner {
    width: min(430px, calc(100vw - 28px)) !important;
    max-width: min(430px, calc(100vw - 28px)) !important;
    margin-top: 20px !important;
  }

  .workshift-search-hero {
    padding: 20px;
  }

  .workshift-search-form {
    grid-template-columns: 1fr;
  }

  .workshift-search-grid .feed-row-link {
    grid-template-columns: 1fr;
  }

  .workshift-search-grid .feed-thumb,
  .workshift-search-grid .sitekit-post-thumb,
  .workshift-search-grid .hybrid-thumb-fallback {
    width: 100%;
  }

  .workshift-search-grid h3 {
    font-size: 18px;
  }
}

/* Final layout guardrails for the SWELL runtime / Customizer preview. */
.sitekit-hybrid-front,
.sitekit-hybrid-front #body_wrap,
.sitekit-hybrid-front #content,
.sitekit-hybrid-front .post_content,
.sitekit-hybrid-front .c-postContent,
.sitekit-hybrid-front .entry-content {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

.sitekit-hybrid-front .hybrid-local-header,
.sitekit-hybrid-front .hybrid-app-shell,
.sitekit-hybrid-front .left-rail,
.sitekit-hybrid-front .main-column,
.sitekit-hybrid-front .right-rail,
.sitekit-hybrid-front .profile-card,
.sitekit-hybrid-front .side-nav,
.sitekit-hybrid-front .rank-widget,
.sitekit-hybrid-front .access-widget,
.sitekit-hybrid-front .starter-card,
.sitekit-hybrid-front .related-media,
.sitekit-hybrid-front .pickup-grid,
.sitekit-hybrid-front .article-list,
.sitekit-hybrid-front .registration-cta,
.sitekit-hybrid-front .trend-popup {
  box-sizing: border-box;
  min-width: 0 !important;
}

.sitekit-hybrid-front .hybrid-local-header .header-inner {
  width: min(1160px, calc(100vw - 32px)) !important;
  grid-template-columns: auto minmax(210px, 260px) minmax(0, 1fr) minmax(220px, 280px) auto auto !important;
  gap: 12px !important;
}

.sitekit-hybrid-front .hybrid-local-header .brand {
  max-width: 260px !important;
}

.sitekit-hybrid-front .hybrid-local-header .primary-nav {
  display: flex !important;
  gap: 14px !important;
}

.sitekit-hybrid-front .hybrid-local-header .primary-nav a {
  font-size: 13px !important;
}

.sitekit-hybrid-front .hybrid-app-shell {
  width: min(1160px, calc(100vw - 32px)) !important;
  grid-template-columns: 210px minmax(0, 1fr) 280px !important;
  gap: 18px !important;
}

.sitekit-hybrid-front .right-rail,
.sitekit-hybrid-front .access-widget,
.sitekit-hybrid-front .access-list,
.sitekit-hybrid-front .access-list li,
.sitekit-hybrid-front .access-list a {
  max-width: 100% !important;
  overflow-wrap: anywhere;
}

.sitekit-hybrid-front .access-list {
  max-height: 322px;
  overflow-y: auto;
  padding-right: 4px;
}

.sitekit-hybrid-front .access-list[data-hybrid-access-track] {
  max-height: 230px;
  overscroll-behavior: contain;
}

.sitekit-hybrid-front .content-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.sitekit-hybrid-front .content-tabs label {
  width: auto !important;
  min-width: 0 !important;
  min-height: 36px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  line-height: 36px !important;
  white-space: nowrap !important;
}

.sitekit-hybrid-front .content-tabs input:checked + label {
  border-color: rgba(15, 190, 160, .55) !important;
  background: #fff !important;
  color: #027f74 !important;
  box-shadow: inset 0 0 0 1px rgba(15, 190, 160, .14) !important;
}

.sitekit-hybrid-front .pickup-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.sitekit-hybrid-front .registration-cta {
  grid-template-columns: minmax(0, 1fr) auto !important;
  overflow: hidden !important;
}

.sitekit-hybrid-front .registration-cta h2,
.sitekit-hybrid-front .registration-cta p {
  max-width: 100% !important;
  overflow-wrap: break-word !important;
}

@media (max-width: 1180px) {
  .sitekit-hybrid-front .hybrid-local-header .header-inner {
    width: min(960px, calc(100vw - 32px)) !important;
    grid-template-columns: auto minmax(210px, 260px) minmax(0, 1fr) auto !important;
  }

  .sitekit-hybrid-front .hybrid-local-header .primary-nav,
  .sitekit-hybrid-front .hybrid-local-header .signup-link {
    display: none !important;
  }

  .sitekit-hybrid-front .hybrid-app-shell {
    width: min(960px, calc(100vw - 32px)) !important;
    grid-template-columns: minmax(0, 1fr) 280px !important;
  }

  .sitekit-hybrid-front .left-rail {
    order: 3;
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .sitekit-hybrid-front .main-column {
    order: 1;
  }

  .sitekit-hybrid-front .right-rail {
    order: 2;
  }
}

@media (max-width: 900px) {
  .sitekit-hybrid-front .hybrid-local-header {
    position: sticky !important;
    top: var(--wp-admin--admin-bar--height, 0px) !important;
  }

  .sitekit-hybrid-front .hybrid-local-header .header-inner {
    width: min(680px, calc(100vw - 28px)) !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
  }

  .sitekit-hybrid-front .hybrid-local-header .media-button {
    width: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  .sitekit-hybrid-front .hybrid-local-header .brand {
    justify-content: center !important;
    max-width: 100% !important;
  }

  .sitekit-hybrid-front .hybrid-local-header .header-search,
  .sitekit-hybrid-front .hybrid-local-header .login-link {
    display: none !important;
  }

  .sitekit-hybrid-front .hybrid-app-shell {
    width: min(680px, calc(100vw - 28px)) !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .sitekit-hybrid-front .main-column {
    order: 1;
  }

  .sitekit-hybrid-front .right-rail {
    order: 2;
  }

  .sitekit-hybrid-front .left-rail {
    order: 3;
    grid-column: auto;
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .access-list {
    max-height: 344px !important;
  }

  .sitekit-hybrid-front .pickup-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  html,
  body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .sitekit-hybrid-front .hybrid-app-shell {
    width: min(430px, calc(100vw - 28px)) !important;
    max-width: min(430px, calc(100vw - 28px)) !important;
  }

  .sitekit-hybrid-front .hybrid-local-header .brand-mark {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
  }

  .sitekit-hybrid-front .hybrid-local-header .brand-name span {
    max-width: calc(100vw - 150px) !important;
    font-size: clamp(16px, 5vw, 20px) !important;
  }

  .sitekit-hybrid-front .hybrid-local-header .brand-name small {
    max-width: calc(100vw - 150px) !important;
    font-size: 10px !important;
  }

  .sitekit-hybrid-front .profile-card,
  .sitekit-hybrid-front .side-nav,
  .sitekit-hybrid-front .rank-widget,
  .sitekit-hybrid-front .access-widget,
  .sitekit-hybrid-front .starter-card,
  .sitekit-hybrid-front .related-media,
  .sitekit-hybrid-front .registration-cta {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .sitekit-hybrid-front .hero {
    min-height: 0 !important;
    border-radius: 18px !important;
  }

  .sitekit-hybrid-front .hero-copy {
    min-height: 320px !important;
    max-width: none !important;
    padding: 32px 24px !important;
  }

  .sitekit-hybrid-front .hero-copy h1 {
    font-size: clamp(34px, 10vw, 44px) !important;
    line-height: 1.12 !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  .sitekit-hybrid-front .hero-copy p {
    font-size: 14px !important;
    line-height: 1.75 !important;
  }

  .sitekit-hybrid-front .visual-card {
    min-height: 220px !important;
  }

  .sitekit-hybrid-front .latest {
    overflow: hidden !important;
  }

  .sitekit-hybrid-front .content-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 6px !important;
    scrollbar-width: none;
  }

  .sitekit-hybrid-front .content-tabs::-webkit-scrollbar {
    display: none;
  }

  .sitekit-hybrid-front .content-tabs label {
    flex: 0 0 auto !important;
  }

  .sitekit-hybrid-front .article-list {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .sitekit-hybrid-front .article-row {
    width: 100% !important;
    overflow: hidden !important;
  }

  .sitekit-hybrid-front .article-row a {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
  }

  .sitekit-hybrid-front .article-row a > div {
    min-width: 0 !important;
  }

  .sitekit-hybrid-front .article-row img,
  .sitekit-hybrid-front .hybrid-thumb-fallback {
    width: 92px !important;
    height: 92px !important;
    border-radius: 14px !important;
  }

  .sitekit-hybrid-front .article-row h3 {
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  .sitekit-hybrid-front .article-row b {
    display: none !important;
  }

  .sitekit-hybrid-front .access-list {
    max-height: 306px !important;
  }

  .sitekit-hybrid-front .access-list[data-hybrid-access-track] {
    max-height: 222px !important;
  }

  .sitekit-hybrid-front .access-controls {
    justify-content: flex-start;
    margin-top: 0;
  }

  .sitekit-hybrid-front .registration-cta {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .sitekit-hybrid-front .registration-cta .clover {
    justify-self: start !important;
  }

  .sitekit-hybrid-front .trend-popup {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 18px auto 0 !important;
    transform: none !important;
  }

  body.search-results #content,
  body.search-no-results #content,
  body.search-results .l-content,
  body.search-no-results .l-content,
  body.search-results .l-mainContent,
  body.search-no-results .l-mainContent,
  body.search-results .l-mainContent__inner,
body.search-no-results .l-mainContent__inner {
    width: min(430px, calc(100vw - 28px)) !important;
    max-width: min(430px, calc(100vw - 28px)) !important;
    overflow: hidden !important;
  }
}

/* Hybrid hardening: isolate SWELL decorations and keep tabbed UI stable. */
.sitekit-hybrid-front .hybrid-app-shell :is(h1,h2,h3,h4,h5,h6),
.sitekit-hybrid-front .hybrid-local-header :is(h1,h2,h3,h4,h5,h6),
.sitekit-hybrid-front .trend-popup :is(h1,h2,h3,h4,h5,h6),
.sitekit-hybrid-front .media-mega :is(h1,h2,h3,h4,h5,h6) {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
  letter-spacing: 0 !important;
  writing-mode: horizontal-tb !important;
}

.sitekit-hybrid-front .hybrid-app-shell :is(h1,h2,h3,h4,h5,h6)::before,
.sitekit-hybrid-front .hybrid-app-shell :is(h1,h2,h3,h4,h5,h6)::after,
.sitekit-hybrid-front .hybrid-local-header :is(h1,h2,h3,h4,h5,h6)::before,
.sitekit-hybrid-front .hybrid-local-header :is(h1,h2,h3,h4,h5,h6)::after,
.sitekit-hybrid-front .trend-popup :is(h1,h2,h3,h4,h5,h6)::before,
.sitekit-hybrid-front .trend-popup :is(h1,h2,h3,h4,h5,h6)::after,
.sitekit-hybrid-front .media-mega :is(h1,h2,h3,h4,h5,h6)::before,
.sitekit-hybrid-front .media-mega :is(h1,h2,h3,h4,h5,h6)::after {
  content: none !important;
  display: none !important;
}

.sitekit-hybrid-front .profile-card h2 {
  margin: 14px 0 10px !important;
  color: #071226 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
}

.sitekit-hybrid-front .section-head h2 {
  margin: 0 !important;
  color: #071226 !important;
  font-size: clamp(24px, 2.4vw, 32px) !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
}

.sitekit-hybrid-front .rank-widget h3,
.sitekit-hybrid-front .access-widget h3,
.sitekit-hybrid-front .starter-card h3,
.sitekit-hybrid-front .related-media h3,
.sitekit-hybrid-front .trend-popup h3 {
  margin: 0 0 14px !important;
  color: #071226 !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  line-height: 1.35 !important;
}

.sitekit-hybrid-front .registration-cta {
  border: 1px solid rgba(15, 190, 160, .35) !important;
  background: #fff !important;
  box-shadow: 0 18px 46px rgba(12, 25, 44, .08) !important;
}

.sitekit-hybrid-front .registration-cta h2 {
  margin: 0 0 12px !important;
  color: #071226 !important;
  font-size: clamp(24px, 2.6vw, 34px) !important;
  font-weight: 950 !important;
  line-height: 1.28 !important;
}

.sitekit-hybrid-front .rank-widget > input[type="radio"],
.sitekit-hybrid-front .access-widget > input[type="radio"],
.sitekit-hybrid-front .content-tabs > input[type="radio"],
.sitekit-hybrid-front .popup-toggle,
.sitekit-hybrid-front .media-toggle {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.sitekit-hybrid-front .rank-tab,
.sitekit-hybrid-front .user-rank,
.sitekit-hybrid-front .access-list,
.sitekit-hybrid-front .article-list {
  display: none !important;
}

.sitekit-hybrid-front #tag-week:checked ~ .tag-week,
.sitekit-hybrid-front #tag-month:checked ~ .tag-month,
.sitekit-hybrid-front #user-week:checked ~ .user-week,
.sitekit-hybrid-front #user-month:checked ~ .user-month,
.sitekit-hybrid-front #access-day:checked ~ .access-day,
.sitekit-hybrid-front #access-week:checked ~ .access-week,
.sitekit-hybrid-front #access-month:checked ~ .access-month,
.sitekit-hybrid-front #hybrid-latest-all:checked ~ .latest-all,
.sitekit-hybrid-front #hybrid-latest-news:checked ~ .latest-news,
.sitekit-hybrid-front #hybrid-latest-guide:checked ~ .latest-guide,
.sitekit-hybrid-front #hybrid-latest-tax:checked ~ .latest-tax {
  display: grid !important;
}

.sitekit-hybrid-front #tag-week:checked ~ .widget-head label[for="tag-week"],
.sitekit-hybrid-front #tag-month:checked ~ .widget-head label[for="tag-month"],
.sitekit-hybrid-front #user-week:checked ~ .widget-head label[for="user-week"],
.sitekit-hybrid-front #user-month:checked ~ .widget-head label[for="user-month"],
.sitekit-hybrid-front #access-day:checked ~ .widget-head label[for="access-day"],
.sitekit-hybrid-front #access-week:checked ~ .widget-head label[for="access-week"],
.sitekit-hybrid-front #access-month:checked ~ .widget-head label[for="access-month"],
.sitekit-hybrid-front #hybrid-latest-all:checked + label,
.sitekit-hybrid-front #hybrid-latest-news:checked + label,
.sitekit-hybrid-front #hybrid-latest-guide:checked + label,
.sitekit-hybrid-front #hybrid-latest-tax:checked + label {
  border-color: rgba(15, 190, 160, .55) !important;
  background: #e8fff8 !important;
  color: #027f74 !important;
}

.sitekit-hybrid-front .article-list {
  width: 100% !important;
  min-width: 0 !important;
}

.sitekit-hybrid-front .article-row,
.sitekit-hybrid-front .article-row a {
  min-width: 0 !important;
}

.sitekit-hybrid-front .article-row h3,
.sitekit-hybrid-front .article-row p,
.sitekit-hybrid-front .visual-card h3,
.sitekit-hybrid-front .rank-title,
.sitekit-hybrid-front .user-name {
  max-width: 100% !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

@media (max-width: 640px) {
  .sitekit-hybrid-front .hybrid-local-header {
    width: 100% !important;
  }

  .sitekit-hybrid-front .content-tabs {
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
  }

  .sitekit-hybrid-front .content-tabs::-webkit-scrollbar {
    display: none;
  }

  .sitekit-hybrid-front .content-tabs label {
    flex: 0 0 auto !important;
    min-height: 36px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  .sitekit-hybrid-front .article-list {
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #fff !important;
  }

  .sitekit-hybrid-front .article-row a {
    grid-template-columns: 88px minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .sitekit-hybrid-front .article-row a > div {
    min-width: 0 !important;
  }

  .sitekit-hybrid-front .article-row img,
  .sitekit-hybrid-front .hybrid-thumb-fallback {
    width: 88px !important;
    height: 88px !important;
  }

  .sitekit-hybrid-front .section-head h2 {
    font-size: 26px !important;
  }

  .sitekit-hybrid-front .registration-cta h2 {
    font-size: 22px !important;
  }
}

/* Operations stabilizer: keep demo UI, search, posts, and Customizer preview usable. */
body.sitekit-hybrid-front {
  min-width: 0 !important;
  overflow-x: clip !important;
}

.sitekit-hybrid-front #body_wrap,
.sitekit-hybrid-front #content,
.sitekit-hybrid-front .l-content,
.sitekit-hybrid-front .l-mainContent,
.sitekit-hybrid-front .l-mainContent__inner,
.sitekit-hybrid-front .post_content,
.sitekit-hybrid-front .c-postContent,
.sitekit-hybrid-front .entry-content {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-x: clip !important;
}

.sitekit-hybrid-front .content-tabs {
  display: grid !important;
  grid-template-columns: repeat(4, max-content) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 10px !important;
  overflow: visible !important;
}

.sitekit-hybrid-front .content-tabs > label {
  grid-row: 1 !important;
}

.sitekit-hybrid-front .content-tabs > .article-list {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
}

.sitekit-hybrid-front .article-list {
  display: none !important;
  min-width: 0 !important;
}

.sitekit-hybrid-front #hybrid-latest-all:checked ~ .latest-all,
.sitekit-hybrid-front #hybrid-latest-news:checked ~ .latest-news,
.sitekit-hybrid-front #hybrid-latest-guide:checked ~ .latest-guide,
.sitekit-hybrid-front #hybrid-latest-tax:checked ~ .latest-tax {
  display: grid !important;
}

.sitekit-hybrid-front .access-list[data-hybrid-access-track] {
  overflow-y: hidden !important;
  scrollbar-width: none !important;
}

.sitekit-hybrid-front .access-list[data-hybrid-access-track]::-webkit-scrollbar {
  display: none !important;
}

body.search-results,
body.search-no-results {
  min-width: 0 !important;
  overflow-x: clip !important;
  background: #f3f8fc !important;
  background-image: none !important;
  color: #071226 !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

body.search-results *,
body.search-no-results * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

body.search-results #body_wrap,
body.search-no-results #body_wrap,
body.search-results #content,
body.search-no-results #content {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: clip !important;
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.search-results .l-content,
body.search-no-results .l-content {
  display: block !important;
  width: min(1080px, calc(100vw - 40px)) !important;
  max-width: min(1080px, calc(100vw - 40px)) !important;
  margin: 32px auto 72px !important;
  padding: 0 !important;
}

body.search-results .l-mainContent,
body.search-no-results .l-mainContent,
body.search-results .l-mainContent__inner,
body.search-no-results .l-mainContent__inner {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.search-results .l-sidebar,
body.search-no-results .l-sidebar,
body.search-results .p-breadcrumb,
body.search-no-results .p-breadcrumb,
body.search-results .c-pageTitle,
body.search-no-results .c-pageTitle,
body.search-results .l-footer,
body.search-no-results .l-footer,
body.search-results #footer,
body.search-no-results #footer,
body.search-results .sitekit-site-footer,
body.search-no-results .sitekit-site-footer {
  display: none !important;
}

.workshift-search-footer,
.sitekit-design-template-post .sitekit-site-footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important;
  gap: 28px !important;
  width: min(1080px, calc(100vw - 40px)) !important;
  max-width: min(1080px, calc(100vw - 40px)) !important;
  margin: 42px auto 0 !important;
  padding: 28px !important;
  border: 1px solid #dce6f5 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

.workshift-search-footer *,
.sitekit-design-template-post .sitekit-site-footer * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

.workshift-search-footer__brand p {
  margin: 10px 0 0 !important;
  color: #667085 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.8 !important;
}

.workshift-search-footer__nav,
.sitekit-design-template-post .sitekit-site-footer__nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.workshift-search-footer__nav strong,
.workshift-search-footer__nav a {
  display: block !important;
}

.workshift-search-footer__nav strong {
  margin: 0 0 10px !important;
  padding: 0 0 8px !important;
  border-bottom: 1px solid #dce6f5 !important;
}

.workshift-search-footer__nav a {
  padding: 6px 0 !important;
  color: #40506a !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.workshift-search-page {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

.workshift-search-hero,
.workshift-search-terms,
.workshift-search-grid .feed-row,
.workshift-search-page .sitekit-empty {
  border-radius: 10px !important;
}

.workshift-search-grid .feed-row-link {
  grid-template-columns: 156px minmax(0, 1fr) !important;
}

.workshift-search-grid .feed-row-link > div {
  min-width: 0 !important;
}

body.sitekit-design-template-post {
  min-width: 0 !important;
  overflow-x: clip !important;
  background: #f4f8fc !important;
  background-image: none !important;
  }

.sitekit-design-template-post * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

.sitekit-design-template-post #body_wrap,
.sitekit-design-template-post #content {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-x: clip !important;
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
}

.sitekit-design-template-post .l-content {
  display: grid !important;
  grid-template-columns: minmax(0, 820px) 300px !important;
  gap: 32px !important;
  align-items: start !important;
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: min(1180px, calc(100vw - 40px)) !important;
  margin: 34px auto 76px !important;
  padding: 0 !important;
}

.sitekit-design-template-post .l-mainContent,
.sitekit-design-template-post .l-mainContent__inner,
.sitekit-design-template-post .l-article,
.sitekit-design-template-post .post_content,
.sitekit-design-template-post .c-postContent,
.sitekit-design-template-post .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.sitekit-design-template-post .p-articleHead,
.sitekit-design-template-post .p-articleMetas,
.sitekit-design-template-post .p-articleThumb,
.sitekit-design-template-post .sitekit-design-post,
.sitekit-design-template-post .p-shareBtns,
.sitekit-design-template-post .l-articleBottom {
  width: 100% !important;
  max-width: 820px !important;
}

.sitekit-design-template-post .sitekit-design-body {
  overflow-x: auto !important;
  border-radius: 8px !important;
}

.sitekit-design-template-post .sitekit-design-body img,
.sitekit-design-template-post .p-articleThumb img {
  max-width: 100% !important;
  height: auto !important;
}

body.single-post:not(.sitekit-design-template-post) {
  min-width: 0 !important;
  overflow-x: clip !important;
  background: #f4f8fc !important;
  background-image: none !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

body.single-post:not(.sitekit-design-template-post) * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

body.single-post:not(.sitekit-design-template-post) #body_wrap,
body.single-post:not(.sitekit-design-template-post) #content {
  max-width: 100% !important;
  overflow-x: clip !important;
  background-image: none !important;
}

body.single-post:not(.sitekit-design-template-post) .l-content {
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: min(1180px, calc(100vw - 40px)) !important;
  margin: 34px auto 76px !important;
}

body.single-post:not(.sitekit-design-template-post) .l-mainContent,
body.single-post:not(.sitekit-design-template-post) .l-mainContent__inner,
body.single-post:not(.sitekit-design-template-post) .post_content,
body.single-post:not(.sitekit-design-template-post) .c-postContent,
body.single-post:not(.sitekit-design-template-post) .entry-content {
  min-width: 0 !important;
  max-width: 100% !important;
}

@media (min-width: 1101px) {
  .sitekit-hybrid-front .hybrid-app-shell {
    grid-template-columns: 210px minmax(0, 1fr) 280px !important;
    width: min(1160px, calc(100vw - 32px)) !important;
    max-width: min(1160px, calc(100vw - 32px)) !important;
  }

  .sitekit-hybrid-front .left-rail {
    order: 1 !important;
    grid-column: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .main-column {
    order: 2 !important;
  }

  .sitekit-hybrid-front .right-rail {
    order: 3 !important;
    grid-column: auto !important;
  }
}

@media (max-width: 900px) {
  .sitekit-hybrid-front .hybrid-app-shell {
    width: min(680px, calc(100vw - 28px)) !important;
    max-width: min(680px, calc(100vw - 28px)) !important;
  }

  .sitekit-hybrid-front .content-tabs {
    grid-template-columns: repeat(4, max-content) !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  .sitekit-hybrid-front .content-tabs > label {
    min-width: 0 !important;
    padding: 0 13px !important;
    font-size: 13px !important;
  }

  .workshift-search-grid .feed-row-link {
    grid-template-columns: 128px minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .sitekit-design-template-post .l-content {
    display: block !important;
    width: min(720px, calc(100vw - 28px)) !important;
    max-width: min(720px, calc(100vw - 28px)) !important;
    margin-top: 24px !important;
  }

  .sitekit-design-template-post .l-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 28px !important;
  }
}

@media (max-width: 640px) {
  body.sitekit-hybrid-front {
    overflow-x: clip !important;
  }

  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .sitekit-hybrid-front .hybrid-app-shell {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .sitekit-hybrid-front .content-tabs {
    grid-template-columns: repeat(4, max-content) !important;
    gap: 8px !important;
  }

  .sitekit-hybrid-front .content-tabs > label {
    min-height: 34px !important;
    padding: 0 11px !important;
    font-size: 12px !important;
    line-height: 34px !important;
  }

  .sitekit-hybrid-front .article-row a {
    grid-template-columns: 84px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 14px 0 !important;
  }

  .sitekit-hybrid-front .article-row img,
  .sitekit-hybrid-front .article-row .hybrid-thumb-fallback {
    width: 84px !important;
    height: 84px !important;
    min-width: 84px !important;
  }

  .sitekit-hybrid-front .trend-popup {
    position: static !important;
    width: 100% !important;
    margin: 18px auto 0 !important;
  }

  body.search-results .l-content,
  body.search-no-results .l-content {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin: 18px auto 52px !important;
  }

  body.search-results .sitekit-site-footer,
  body.search-no-results .sitekit-site-footer,
  .workshift-search-footer,
  .sitekit-design-template-post .sitekit-site-footer {
    grid-template-columns: 1fr !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-top: 30px !important;
    padding: 22px !important;
  }

  body.search-results .sitekit-site-footer__nav,
  body.search-no-results .sitekit-site-footer__nav,
  .workshift-search-footer__nav,
  .sitekit-design-template-post .sitekit-site-footer__nav {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .workshift-search-hero {
    padding: 18px !important;
  }

  .workshift-search-hero h1 {
    font-size: 24px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
  }

  .workshift-search-form {
    grid-template-columns: 1fr !important;
  }

  .workshift-search-grid .feed-row-link {
    grid-template-columns: 1fr !important;
  }

  .workshift-search-grid .feed-thumb,
  .workshift-search-grid .sitekit-post-thumb,
  .workshift-search-grid .hybrid-thumb-fallback {
    width: 100% !important;
  }

  .sitekit-design-template-post .l-content {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin: 18px auto 56px !important;
  }

  .sitekit-design-template-post .p-articleHead,
  .sitekit-design-template-post .p-articleMetas,
  .sitekit-design-template-post .p-articleThumb,
  .sitekit-design-template-post .sitekit-design-post,
  .sitekit-design-template-post .p-shareBtns,
  .sitekit-design-template-post .l-articleBottom {
    max-width: 100% !important;
  }

  .sitekit-design-template-post .p-articleHead__title,
  .sitekit-design-template-post .c-postTitle {
    font-size: 24px !important;
    line-height: 1.45 !important;
  }

  .sitekit-design-template-post .sitekit-design-body {
    padding: 22px 18px 30px !important;
  }

  .sitekit-design-template-post .sitekit-design-body h2 {
    padding-left: 42px !important;
    font-size: 21px !important;
    line-height: 1.45 !important;
  }

  .sitekit-design-template-post .sitekit-design-body p,
  .sitekit-design-template-post .sitekit-design-body li {
    font-size: 15px !important;
    line-height: 1.9 !important;
  }

  body.single-post:not(.sitekit-design-template-post) .l-content {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin: 18px auto 56px !important;
  }
}

/* v019 operational finish: standalone search + Qiita-density top page. */
body.workshift-search-standalone,
body.workshift-search-standalone #body_wrap,
body.workshift-search-standalone #content {
  width: 100% !important;
  max-width: 100vw !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: clip !important;
  background: #f3f8fc !important;
  background-image: none !important;
  writing-mode: horizontal-tb !important;
}

body.workshift-search-standalone .swell-block-fullWide__SVG,
body.workshift-search-standalone .l-header,
body.workshift-search-standalone .l-footer,
body.workshift-search-standalone #header,
body.workshift-search-standalone #footer,
body.workshift-search-standalone .p-breadcrumb,
body.workshift-search-standalone .c-pageTitle {
  display: none !important;
}

body.workshift-search-standalone *,
body.workshift-search-standalone *::before,
body.workshift-search-standalone *::after {
  max-width: 100%;
  box-sizing: border-box !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

.workshift-search-header a,
.workshift-search-footer a {
  color: inherit;
  text-decoration: none;
}

.workshift-search-page {
  width: min(1120px, calc(100vw - 40px)) !important;
  margin: 28px auto 64px !important;
}

.workshift-search-grid,
.workshift-search-main,
.workshift-search-side,
.workshift-search-hero,
.workshift-search-empty,
.workshift-search-footer {
  min-width: 0 !important;
}

.workshift-search-footer {
  display: grid !important;
  grid-template-columns: minmax(220px, 1.15fr) minmax(0, 2fr) !important;
  gap: 34px !important;
  width: min(1120px, calc(100vw - 40px)) !important;
  margin: 0 auto 56px !important;
  padding: 30px !important;
  border: 1px solid #dce6f5 !important;
  border-radius: 10px !important;
  background: #fff !important;
}

.workshift-search-footer__nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.sitekit-hybrid-front .hybrid-app-shell {
  gap: 18px !important;
  padding-top: 20px !important;
}

.sitekit-hybrid-front .main-column {
  gap: 24px !important;
}

.sitekit-hybrid-front .section-head {
  margin-bottom: 12px !important;
}

.sitekit-hybrid-front .section-head h2 {
  font-size: 24px !important;
  letter-spacing: 0 !important;
}

.sitekit-hybrid-front .hero {
  min-height: 0 !important;
}

.sitekit-hybrid-front .hero-article {
  display: grid !important;
  grid-template-columns: 238px minmax(0, 1fr) !important;
  gap: 22px !important;
  align-items: center !important;
  min-height: 238px !important;
  padding: 22px !important;
  border: 1px solid #dce6f5 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .07) !important;
}

.sitekit-hybrid-front .hero-article img {
  display: block !important;
  width: 238px !important;
  max-width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  border-radius: 8px !important;
}

.sitekit-hybrid-front .hero-article h1 {
  margin: 10px 0 !important;
  font-size: clamp(27px, 3.2vw, 40px) !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
}

.sitekit-hybrid-front .hero-article p {
  display: -webkit-box !important;
  margin: 0 0 12px !important;
  overflow: hidden !important;
  color: #344054 !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.sitekit-hybrid-front .pickup-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px 2px 14px !important;
  scroll-padding-inline: 2px !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch;
}

.sitekit-hybrid-front .pickup-grid .visual-card {
  flex: 0 0 min(390px, 70%) !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 148px !important;
  border-radius: 8px !important;
  scroll-snap-align: start !important;
}

.sitekit-hybrid-front .pickup-grid .visual-card a {
  min-height: 148px !important;
  padding: 16px !important;
}

.sitekit-hybrid-front .pickup-grid .visual-card h3 {
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.sitekit-hybrid-front .rank-widget,
.sitekit-hybrid-front .access-widget,
.sitekit-hybrid-front .profile-card,
.sitekit-hybrid-front .side-nav,
.sitekit-hybrid-front .starter-card,
.sitekit-hybrid-front .related-media {
  border-radius: 8px !important;
  box-shadow: 0 8px 26px rgba(15, 23, 42, .055) !important;
}

.sitekit-hybrid-front .rank-widget {
  padding: 16px !important;
}

.sitekit-hybrid-front .rank-widget h3 {
  margin-bottom: 12px !important;
  font-size: 17px !important;
}

.sitekit-hybrid-front .widget-head {
  gap: 0 !important;
  margin-bottom: 12px !important;
  border: 1px solid #dce6f5 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.sitekit-hybrid-front .widget-head label {
  min-height: 34px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

.sitekit-hybrid-front #tag-week:checked ~ .widget-head label[for="tag-week"],
.sitekit-hybrid-front #tag-month:checked ~ .widget-head label[for="tag-month"],
.sitekit-hybrid-front #user-week:checked ~ .widget-head label[for="user-week"],
.sitekit-hybrid-front #user-month:checked ~ .widget-head label[for="user-month"] {
  background: #e7fbf5 !important;
  color: #027f74 !important;
}

.sitekit-hybrid-front .image-rank {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 7px 0 !important;
  border-bottom: 1px solid #eef3f8 !important;
}

.sitekit-hybrid-front .image-rank img,
.sitekit-hybrid-front .user-rank img {
  width: 42px !important;
  height: 42px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
}

.sitekit-hybrid-front .image-rank b,
.sitekit-hybrid-front .user-rank b {
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.sitekit-hybrid-front .image-rank span {
  grid-column: 2 !important;
  width: fit-content !important;
  padding: 0 !important;
  background: transparent !important;
  color: #667085 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

.sitekit-hybrid-front .user-rank li {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 9px 0 !important;
}

.sitekit-hybrid-front .user-rank span {
  color: #667085 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

body.single-post,
body.single-post #body_wrap,
body.single-post #content {
  max-width: 100vw !important;
  min-width: 0 !important;
  overflow-x: clip !important;
  background-image: none !important;
  writing-mode: horizontal-tb !important;
}

body.single-post .swell-block-fullWide__SVG {
  display: none !important;
}

body.single-post *,
body.single-post *::before,
body.single-post *::after {
  box-sizing: border-box !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

body.single-post .l-content {
  display: grid !important;
  grid-template-columns: minmax(0, 820px) minmax(260px, 300px) !important;
  gap: 32px !important;
  align-items: start !important;
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: min(1180px, calc(100vw - 40px)) !important;
  margin: 32px auto 72px !important;
  padding: 0 !important;
}

body.single-post .l-mainContent,
body.single-post .l-mainContent__inner,
body.single-post .l-article,
body.single-post .post_content,
body.single-post .c-postContent,
body.single-post .entry-content,
body.single-post .l-sidebar {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body.single-post .p-articleHead,
body.single-post .p-articleMetas,
body.single-post .p-articleThumb,
body.single-post .sitekit-design-post,
body.single-post .p-shareBtns,
body.single-post .l-articleBottom {
  max-width: 820px !important;
}

body.single-post .p-articleHead__title,
body.single-post .c-postTitle {
  letter-spacing: 0 !important;
  overflow-wrap: anywhere !important;
}

body.single-post img,
body.single-post video,
body.single-post iframe,
body.single-post table {
  max-width: 100% !important;
}

body.single-post .sitekit-design-body,
body.single-post .post_content,
body.single-post .c-postContent {
  overflow-wrap: anywhere !important;
}

@media (max-width: 900px) {
  .sitekit-hybrid-front .hero-article {
    grid-template-columns: 160px minmax(0, 1fr) !important;
    min-height: 0 !important;
    padding: 18px !important;
  }

  .sitekit-hybrid-front .hero-article img {
    width: 160px !important;
  }

  .sitekit-hybrid-front .pickup-grid .visual-card {
    flex-basis: min(330px, 82vw) !important;
  }

  body.single-post .l-content {
    display: block !important;
    width: min(720px, calc(100vw - 28px)) !important;
    max-width: min(720px, calc(100vw - 28px)) !important;
    margin: 24px auto 64px !important;
  }

  body.single-post .l-sidebar {
    margin-top: 28px !important;
  }
}

@media (max-width: 640px) {
  .workshift-search-header,
  .workshift-search-page,
  .workshift-search-footer {
    width: calc(100vw - 24px) !important;
  }

  .workshift-search-header {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 10px 0 !important;
  }

  .workshift-search-header nav {
    justify-content: flex-start !important;
  }

  .workshift-search-footer,
  .workshift-search-footer__nav {
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .hybrid-app-shell {
    padding-top: 14px !important;
    gap: 18px !important;
  }

  .sitekit-hybrid-front .hero-article {
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .hero-article img {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
  }

  .sitekit-hybrid-front .hero-article h1 {
    font-size: 25px !important;
  }

  .sitekit-hybrid-front .pickup-grid .visual-card {
    flex-basis: 84vw !important;
  }

  body.single-post .l-content {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin: 18px auto 56px !important;
  }

  body.single-post .p-articleHead__title,
  body.single-post .c-postTitle {
    font-size: 24px !important;
    line-height: 1.45 !important;
  }
}

/* v020 final lock: keep this block last. */
html,
body.workshift-search-standalone,
body.search-results,
body.search-no-results,
body.sitekit-hybrid-front {
  overflow-x: clip !important;
}

body.workshift-search-standalone,
body.search-results,
body.search-no-results,
body.sitekit-hybrid-front {
  background: #f6f7f7 !important;
  background-image: none !important;
}

body.workshift-search-standalone::before,
body.workshift-search-standalone::after,
body.search-results::before,
body.search-results::after,
body.search-no-results::before,
body.search-no-results::after,
body.workshift-search-standalone.sitekit-home::before,
body.workshift-search-standalone.sitekit-home::after,
body.search-results.sitekit-home::before,
body.search-results.sitekit-home::after,
body.search-no-results.sitekit-home::before,
body.search-no-results.sitekit-home::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
}

body.workshift-search-standalone #body_wrap,
body.workshift-search-standalone #content,
body.search-results #body_wrap,
body.search-results #content,
body.search-no-results #body_wrap,
body.search-no-results #content {
  width: 100% !important;
  max-width: 100vw !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: clip !important;
  background: transparent !important;
  background-image: none !important;
  writing-mode: horizontal-tb !important;
}

body.workshift-search-standalone .sitekit-site-footer,
body.search-results .sitekit-site-footer,
body.search-no-results .sitekit-site-footer,
body.search-results .swell-block-fullWide__SVG,
body.search-no-results .swell-block-fullWide__SVG {
  display: none !important;
}

.workshift-search-shell-header,
.workshift-search-header {
  position: sticky !important;
  top: var(--wp-admin--admin-bar--height, 0px) !important;
  z-index: 80 !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 28px !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 72px !important;
  margin: 0 !important;
  padding: 0 max(24px, calc((100vw - 1440px) / 2 + 32px)) !important;
  border: 0 !important;
  border-bottom: 1px solid #d7dbdd !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px) !important;
  writing-mode: horizontal-tb !important;
}

.workshift-search-brand,
.workshift-search-header .brand {
  display: inline-grid !important;
  grid-template-columns: 40px minmax(0, max-content) !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  max-width: 360px !important;
  color: #1f2a2e !important;
  text-decoration: none !important;
}

.workshift-search-brand__mark,
.workshift-search-header .brand-mark {
  display: grid !important;
  place-items: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 8px !important;
  background: #55c500 !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.workshift-search-brand__name,
.workshift-search-header .brand-name {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
  color: #1f2a2e !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.workshift-search-brand__name small,
.workshift-search-header .brand-name small {
  color: #7a858b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.workshift-search-shell-header nav,
.workshift-search-header nav {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 22px !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  color: #3f4b50 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

.workshift-search-page {
  display: grid !important;
  grid-template-columns: minmax(0, 760px) minmax(260px, 320px) !important;
  gap: 28px !important;
  align-items: start !important;
  width: min(1120px, calc(100vw - 48px)) !important;
  margin: 32px auto 56px !important;
  padding: 0 !important;
}

.workshift-search-hero,
.workshift-search-terms,
.workshift-search-grid,
.workshift-search-shell-footer,
.workshift-search-footer {
  border: 1px solid #e1e5e7 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.workshift-search-hero {
  grid-column: 1 / -1 !important;
  padding: 28px 32px !important;
}

.workshift-search-hero h1 {
  margin: 14px 0 24px !important;
  color: #1f2a2e !important;
  font-size: clamp(30px, 4vw, 44px) !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

.workshift-search-grid {
  padding: 18px 24px !important;
}

.workshift-search-shell-footer,
.workshift-search-footer {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.7fr) !important;
  gap: 28px !important;
  width: min(1120px, calc(100vw - 48px)) !important;
  max-width: min(1120px, calc(100vw - 48px)) !important;
  margin: 0 auto 56px !important;
  padding: 28px !important;
}

.workshift-search-shell-footer__nav,
.workshift-search-footer__nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.sitekit-hybrid-front .site-header {
  border-bottom: 1px solid #d7dbdd !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: none !important;
}

.sitekit-hybrid-front .hybrid-local-header .header-inner,
.sitekit-hybrid-front .hybrid-app-shell {
  width: min(1440px, calc(100vw - 64px)) !important;
  max-width: min(1440px, calc(100vw - 64px)) !important;
}

.sitekit-hybrid-front .hybrid-local-header .header-inner {
  grid-template-columns: auto minmax(260px, 320px) minmax(0, 1fr) minmax(300px, 420px) auto auto !important;
  min-height: 74px !important;
}

.sitekit-hybrid-front .hybrid-app-shell {
  grid-template-columns: 280px minmax(0, 1fr) 320px !important;
  gap: 32px !important;
  padding-top: 32px !important;
}

.sitekit-hybrid-front .main-column {
  gap: 26px !important;
}

.sitekit-hybrid-front .profile-card,
.sitekit-hybrid-front .side-nav,
.sitekit-hybrid-front .rank-widget,
.sitekit-hybrid-front .access-widget,
.sitekit-hybrid-front .starter-card,
.sitekit-hybrid-front .related-media,
.sitekit-hybrid-front .hero-article,
.sitekit-hybrid-front .article-list,
.sitekit-hybrid-front .registration-cta {
  border: 1px solid #e1e5e7 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.sitekit-hybrid-front .profile-card,
.sitekit-hybrid-front .side-nav,
.sitekit-hybrid-front .rank-widget,
.sitekit-hybrid-front .access-widget,
.sitekit-hybrid-front .starter-card,
.sitekit-hybrid-front .related-media {
  padding: 18px !important;
}

.sitekit-hybrid-front .hero-article {
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr) !important;
  min-height: 250px !important;
  padding: 22px !important;
}

.sitekit-hybrid-front .hero-article img {
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
}

.sitekit-hybrid-front .hero-article h1 {
  color: #1f2a2e !important;
  font-size: clamp(28px, 3.3vw, 42px) !important;
}

.sitekit-hybrid-front .pickup-grid .visual-card {
  flex-basis: min(420px, 68%) !important;
  min-height: 142px !important;
  border-radius: 8px !important;
}

.sitekit-hybrid-front .pickup-grid .visual-card a {
  min-height: 142px !important;
}

.sitekit-hybrid-front .article-list {
  padding: 14px 22px !important;
}

.sitekit-hybrid-front .article-row a {
  grid-template-columns: 112px minmax(0, 1fr) auto !important;
  gap: 18px !important;
  padding: 18px 0 !important;
}

.sitekit-hybrid-front .article-row img,
.sitekit-hybrid-front .article-row .hybrid-thumb-fallback {
  width: 112px !important;
  height: 82px !important;
  border-radius: 6px !important;
}

.sitekit-hybrid-front .article-row h3 {
  color: #1f2a2e !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
}

.sitekit-hybrid-front .article-row span,
.sitekit-hybrid-front .hero-article span,
.sitekit-hybrid-front .visual-card span {
  border-radius: 4px !important;
  background: #edf2ed !important;
  color: #3c7f1f !important;
}

.sitekit-hybrid-front .rank-tab,
.sitekit-hybrid-front .user-rank,
.sitekit-hybrid-front .access-list {
  counter-reset: qiita-rank !important;
  gap: 0 !important;
}

.sitekit-hybrid-front .image-rank,
.sitekit-hybrid-front .user-rank li,
.sitekit-hybrid-front .access-list li {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 28px 42px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  min-height: 56px !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid #eceff1 !important;
}

.sitekit-hybrid-front .image-rank::before,
.sitekit-hybrid-front .user-rank li::before {
  counter-increment: qiita-rank !important;
  content: counter(qiita-rank) !important;
  color: #7a858b !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-align: center !important;
}

.sitekit-hybrid-front .image-rank:nth-child(-n+3)::before,
.sitekit-hybrid-front .user-rank li:nth-child(-n+3)::before {
  color: #a27816 !important;
}

.sitekit-hybrid-front .image-rank img,
.sitekit-hybrid-front .user-rank img {
  grid-column: 2 !important;
}

.sitekit-hybrid-front .image-rank b,
.sitekit-hybrid-front .user-rank div {
  grid-column: 3 !important;
}

.sitekit-hybrid-front .image-rank span {
  grid-column: 3 !important;
}

.sitekit-hybrid-front .access-list li {
  grid-template-columns: 28px minmax(0, 1fr) !important;
}

.sitekit-hybrid-front .access-list li > span {
  display: grid !important;
  place-items: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 4px !important;
  background: #edf2ed !important;
  color: #3c7f1f !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.sitekit-hybrid-front .widget-head {
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.sitekit-hybrid-front .mini-tabs {
  border: 0 !important;
  gap: 12px !important;
}

.sitekit-hybrid-front .widget-head label {
  min-height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #7a858b !important;
}

.sitekit-hybrid-front #tag-week:checked ~ .widget-head label[for="tag-week"],
.sitekit-hybrid-front #tag-month:checked ~ .widget-head label[for="tag-month"],
.sitekit-hybrid-front #user-week:checked ~ .widget-head label[for="user-week"],
.sitekit-hybrid-front #user-month:checked ~ .widget-head label[for="user-month"],
.sitekit-hybrid-front #access-day:checked ~ .widget-head label[for="access-day"],
.sitekit-hybrid-front #access-week:checked ~ .widget-head label[for="access-week"],
.sitekit-hybrid-front #access-month:checked ~ .widget-head label[for="access-month"] {
  color: #3c7f1f !important;
  text-decoration: underline !important;
  text-underline-offset: 7px !important;
  text-decoration-thickness: 3px !important;
}

@media (max-width: 1100px) {
  .sitekit-hybrid-front .hybrid-local-header .header-inner,
  .sitekit-hybrid-front .hybrid-app-shell {
    width: min(760px, calc(100vw - 32px)) !important;
    max-width: min(760px, calc(100vw - 32px)) !important;
  }

  .sitekit-hybrid-front .hybrid-app-shell {
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .left-rail,
  .sitekit-hybrid-front .right-rail {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .workshift-search-page {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .workshift-search-shell-header,
  .workshift-search-header {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  .workshift-search-page,
  .workshift-search-shell-footer,
  .workshift-search-footer {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .workshift-search-shell-footer,
  .workshift-search-footer,
  .workshift-search-shell-footer__nav,
  .workshift-search-footer__nav {
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .left-rail,
  .sitekit-hybrid-front .right-rail {
    grid-template-columns: 1fr !important;
  }

  .sitekit-hybrid-front .article-row a {
    grid-template-columns: 88px minmax(0, 1fr) !important;
  }

  .sitekit-hybrid-front .article-row b {
    grid-column: 2 !important;
    width: fit-content !important;
  }
}
