:root {
  --navy: #2418c9;
  --deep: #03063d;
  --ink: #111427;
  --muted: #667085;
  --line: #dce4f2;
  --soft: #f4f7fb;
  --white: #ffffff;
  --blue: #6093ff;
  --sky: #6093ff;
  --mint: #6093ff;
  --violet: #2418c9;
  --point: #4f7ff0;
  --point-deep: #111427;
  --radius: 8px;
  --shadow: 0 18px 44px rgba(20, 28, 76, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "SUIT", "Pretendard", "Noto Sans KR", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.section-inner {
  width: min(1265px, calc(100% - 96px));
  max-width: 100%;
  margin: 0 auto;
}

body[data-page="list"] .section-inner {
  width: min(1120px, calc(100% - 160px));
}

body[data-page="detail"] .section-inner {
  width: min(1120px, calc(100% - 160px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 228, 242, 0.88);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 900;
  line-height: 0.86;
}

.brand-wordmark span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.86em;
  height: 0.86em;
  margin-left: 0.04em;
  color: var(--white);
  background: linear-gradient(135deg, var(--sky), var(--blue) 48%, var(--violet));
  border-radius: 50%;
  box-shadow: none;
  font-size: 0.72em;
  font-weight: 900;
}

.brand-title {
  color: #283047;
  font-size: 0.9rem;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: #242a3a;
  font-size: 0.96rem;
  font-weight: 850;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--navy);
  background: #eef4ff;
}

.site-nav a.is-active {
  padding: 0 14px;
}

.header-cta,
.primary-link,
.outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.header-cta,
.primary-link {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 18px 48px rgba(36, 24, 201, 0.22);
}

.header-cta {
  padding: 0 22px;
  font-size: 0.96rem;
}

.outline-link {
  border: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
}

.organization-hero {
  padding: 92px 0 74px;
  background:
    linear-gradient(135deg, rgba(36, 24, 201, 0.92), rgba(47, 140, 255, 0.78)),
    url("../assets/hero-ai-smallbiz.png") center / cover;
  color: #fff;
}

body[data-page="list"] .organization-hero {
  display: none;
}

.hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #0fd0e9;
  font-size: 15px;
  font-weight: 900;
}

.organization-hero .eyebrow {
  color: #aeefff;
}

.organization-hero h1 {
  margin: 0;
  font-size: clamp(54px, 7vw, 104px);
  line-height: 1;
  letter-spacing: 0;
}

.organization-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.58;
}

.hero-stat {
  min-width: 260px;
  padding: 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(14px);
}

.hero-stat span,
.hero-stat em {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
  font-weight: 800;
}

.hero-stat strong {
  display: block;
  margin: 6px 0;
  font-size: 74px;
  line-height: 1;
}

.mentor-list-section {
  min-height: calc(100vh - 72px);
  overflow-x: hidden;
  padding: 88px 0;
  background: var(--soft);
}

.detail-shell {
  padding: 88px 0;
  background: var(--soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  max-width: 760px;
  margin-bottom: 28px;
}

body[data-page="list"] .section-heading .eyebrow,
body[data-page="list"] .section-heading p:last-child {
  display: block;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.28rem;
  line-height: 1.18;
  font-weight: 950;
}

.section-heading p:last-child {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

.list-toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-box {
  position: relative;
  display: block;
}

.search-box svg {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 28px;
  height: 28px;
  color: #8a93a6;
  transform: translateY(-50%);
}

.search-box input,
.filter-row select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: none;
}

.search-box input {
  height: 54px;
  padding: 0 62px 0 20px;
  font-size: 0.96rem;
  font-weight: 500;
  box-shadow: none;
}

.filter-row {
  display: grid;
  grid-template-columns: 144px 144px;
  gap: 12px;
  align-items: center;
}

.filter-row select {
  height: 46px;
  padding: 0 18px;
  font-size: 0.93rem;
  font-weight: 500;
}

.view-toggle {
  justify-self: end;
  display: none;
  gap: 8px;
  padding: 4px;
  border-radius: var(--radius);
  background: #eef3ff;
}

.view-toggle button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius);
  color: #6a748a;
  background: transparent;
  cursor: pointer;
}

.view-toggle button.is-active {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 10px 24px rgba(36, 24, 201, 0.1);
}

.result-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 34px 0 24px;
}

.result-meta strong {
  font-size: 1rem;
  font-weight: 600;
}

.result-meta span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
}

.mentor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: 14px 18px;
}

.mentor-grid.is-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mentor-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 104px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.mentor-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 58%, #58d6c9 100%);
  opacity: 0.9;
}

.mentor-card:hover {
  border-color: #cbd7ef;
  box-shadow: 0 20px 48px rgba(20, 28, 76, 0.09);
  transform: translateY(-1px);
}

.mentor-card:hover::before {
  opacity: 1;
}

.mentor-card-main {
  flex: 1 1 auto;
  max-width: 100%;
  min-width: 0;
  color: inherit;
}

.detail-logo {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(135deg, #eef3ff, #ffffff);
  color: var(--navy);
  font-weight: 1000;
}

.mentor-logo {
  display: grid;
  place-items: center;
  width: 78%;
  height: 78%;
  color: var(--navy);
  font-size: 34px;
  font-weight: 1000;
  text-align: center;
}

.mentor-logo.is-text-logo {
  width: auto;
  height: auto;
  max-width: calc(100% - 44px);
  color: var(--navy);
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 1.12;
  word-break: keep-all;
}

.detail-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 9px;
  background: #fff;
}

.mentor-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.mentor-card-body {
  min-width: 0;
}

.mentor-name {
  max-width: 100%;
  min-width: 0;
}

.mentor-name h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 950;
  line-height: 1.28;
  letter-spacing: 0;
}

.mentor-card-main:hover .mentor-name h3 {
  color: var(--navy);
}

.mentor-name span {
  display: block;
  max-width: 100%;
  margin-top: 7px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mentor-card p {
  display: none;
}

.mentor-tags {
  display: none;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.mentor-tags span,
.detail-badge,
.meta-chip,
.section-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 12px;
  background: #eef3ff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.mentor-card-actions {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 0;
}

.mentor-grid.is-list .mentor-card-actions {
  display: none;
}

.mentor-card-actions a {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.mentor-follow-link {
  flex: 0 0 auto;
  margin-left: 18px;
  min-height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd7ef;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.mentor-follow-link:hover {
  border-color: var(--navy);
  background: #eef4ff;
}

.empty-state {
  padding: 64px 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  text-align: center;
}

.empty-state strong {
  font-size: 28px;
}

.empty-state p {
  color: var(--muted);
  font-size: 18px;
}

.detail-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-cover {
  display: block;
  position: relative;
  height: 168px;
  background: var(--deep);
}

.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
}

.detail-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(17, 20, 39, 0.46), rgba(17, 20, 39, 0.16), rgba(17, 20, 39, 0.06));
}

.detail-type-badge {
  position: absolute;
  top: 26px;
  right: 28px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(220, 228, 242, 0.92);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(17, 20, 39, 0.14);
  font-size: 1.02rem;
  font-weight: 950;
}

.detail-type-badge svg {
  width: 22px;
  height: 22px;
}

.detail-profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 36px 42px;
}

.detail-logo {
  z-index: 1;
  width: 124px;
  height: 124px;
  margin-top: -62px;
  border: 4px solid #fff;
  box-shadow: 0 14px 34px rgba(17, 20, 39, 0.12);
  font-size: 32px;
}

.detail-title {
  padding-top: 0;
}

.detail-title h1 {
  margin: 0 0 20px;
  font-size: 2.28rem;
  line-height: 1.18;
  font-weight: 950;
}

.detail-actions {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 0;
}

.detail-actions a {
  min-height: 46px;
  padding: 0 18px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-meta .meta-chip {
  min-height: 34px;
  color: var(--navy);
  background: #eef4ff;
}

.detail-summary-list {
  display: grid;
  gap: 11px;
  margin: 0;
}

.detail-summary-list div {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.detail-summary-list dt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #737b8d;
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
}

.detail-summary-list dt svg {
  width: 20px;
  height: 20px;
  color: #8a8f99;
}

.detail-summary-list dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  word-break: keep-all;
}

.detail-summary-list dd.one-line {
  white-space: normal;
}

.detail-homepage-row {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 12px;
}

.detail-homepage-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #737b8d;
  font-size: 0.98rem;
  font-weight: 800;
}

.detail-homepage-row span svg {
  width: 20px;
  height: 20px;
  color: #8a8f99;
}

.detail-homepage-link {
  min-width: 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.detail-homepage-empty {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
}

.detail-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}

.detail-section {
  align-self: start;
  padding: 36px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-section h2 {
  margin: 16px 0 22px;
  font-size: 1.72rem;
  line-height: 1.28;
  font-weight: 950;
}

.detail-section p,
.detail-section li {
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.78;
}

.detail-section ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 24px;
}

.detail-section .intro-copy {
  max-width: 980px;
  margin: 0;
}

.story-copy {
  max-width: 980px;
}

.story-copy p {
  margin: 0 0 14px;
  word-break: keep-all;
}

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

.detail-section .empty-copy {
  margin: 0;
}

.detail-section .story-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-section .story-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid #edf2fb;
  color: var(--muted);
}

.detail-section .story-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.detail-section .story-list li:last-child {
  padding-bottom: 0;
}

.story-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #eef4ff;
  box-shadow: inset 0 0 0 1px #d8e5ff;
  font-size: 15px;
  line-height: 1;
}

.story-item-copy strong {
  display: block;
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.5;
}

.story-item-copy p {
  margin: 0;
  word-break: keep-all;
}

.strength-section {
  background:
    linear-gradient(135deg, rgba(47, 91, 255, 0.05), rgba(37, 203, 213, 0.04)),
    var(--white);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.info-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.info-grid span {
  display: block;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.info-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
}

.not-found {
  padding: 72px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.not-found h1 {
  margin: 0 0 16px;
  font-size: 42px;
}

.not-found p {
  color: var(--muted);
  font-size: 19px;
  font-weight: 600;
}

.not-found a {
  margin-top: 22px;
  padding: 0 24px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-footer a {
  color: var(--navy);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  .mentor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strength-section .emoji-list {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding: 0 24px;
  }

  .site-nav {
    gap: 18px;
    font-size: 16px;
  }

  .detail-profile {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-actions {
    grid-column: auto;
    padding-top: 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 980px) {
  body[data-page="list"] .section-inner,
  body[data-page="detail"] .section-inner {
    width: min(100% - 64px, 760px);
    max-width: 100%;
  }

  .mentor-grid,
  .mentor-grid.is-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  body[data-page="list"] .section-inner,
  body[data-page="detail"] .section-inner,
  .section-inner {
    width: min(calc(100vw - 32px), 720px);
    max-width: calc(100vw - 32px);
  }

  body[data-page="list"] main,
  body[data-page="list"] .mentor-list-section {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  body[data-page="list"] .section-heading,
  body[data-page="list"] .list-toolbar,
  body[data-page="list"] .search-box,
  body[data-page="list"] .filter-row,
  body[data-page="list"] .result-meta,
  body[data-page="list"] .mentor-grid,
  body[data-page="list"] .mentor-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .site-header {
    min-height: 66px;
    padding: 0 16px;
    gap: 12px;
  }

  .brand-lockup {
    min-width: 0;
  }

  .brand-wordmark {
    font-size: 2rem;
  }

  .brand-wordmark span {
    width: 0.86em;
    height: 0.86em;
    font-size: 0.72em;
  }

  .brand-title,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a,
  .site-nav a.is-active {
    padding: 13px 16px;
  }

  .organization-hero {
    padding: 64px 0;
  }

  .hero-inner,
  .result-meta,
  .site-footer .section-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .organization-hero p:not(.eyebrow) {
    font-size: 19px;
  }

  .hero-stat {
    min-width: 0;
    width: 100%;
  }

  .filter-row,
  .mentor-grid.is-list,
  .detail-sections,
  .info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mentor-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .view-toggle {
    justify-self: start;
  }

  .mentor-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: auto;
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .mentor-card-main {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .mentor-name h3,
  .mentor-name span {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .mentor-name span {
    white-space: normal;
  }

  .mentor-follow-link {
    margin-left: 0;
    max-width: 100%;
    align-self: flex-start;
  }

  .detail-cover {
    height: 148px;
  }

  .detail-profile {
    display: block;
    padding: 24px;
  }

  .detail-logo {
    display: grid;
    width: 104px;
    height: 104px;
    margin: -52px 0 20px;
  }

  .detail-title {
    padding-top: 0;
  }

  .detail-summary-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .detail-homepage-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .detail-actions {
    padding: 22px 0 0;
    flex-wrap: wrap;
  }

  .detail-section {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .mentor-grid,
  .mentor-grid.is-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (hover: none) and (pointer: coarse) {
  body[data-page="list"] main,
  body[data-page="list"] .mentor-list-section {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  body[data-page="list"] .section-inner {
    width: min(calc(100vw - 32px), 720px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  body[data-page="list"] .filter-row,
  body[data-page="list"] .mentor-grid,
  body[data-page="list"] .mentor-grid.is-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body[data-page="list"] .mentor-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="list"] .mentor-card-main,
  body[data-page="list"] .mentor-card-body,
  body[data-page="list"] .mentor-name,
  body[data-page="list"] .mentor-name h3,
  body[data-page="list"] .mentor-name span {
    max-width: 100%;
    min-width: 0;
  }

  body[data-page="list"] .mentor-name span {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body[data-page="list"] .mentor-follow-link {
    margin-left: 0;
    align-self: flex-start;
  }
}
