/* Profile pages on shell-360 — shared structure; accents per vertical only. */

body.shell-360.schools-profile-page,
body.shell-360 .profile-360.school-profile-page:not(.institute-profile-page):not(.learning-center-profile-page):not(.tutor-profile-page):not(.ad-profile-page):not(.person-profile-page) {
  --accent: #08786d;
  --accent-hover: #066258;
  --accent-rgb: 8, 120, 109;
  --accent-soft: #e7f5f3;
  --accent-ink: #075c52;
  --shadow: 0 10px 28px rgba(20, 33, 43, .06);
  --profile-sticky-top: 84px;
  --profile-band-from: #1f9a78;
  --profile-band-mid: #0f7a62;
  --profile-band-to: #0a5c4a;
}

body.shell-360.institutes-profile-page,
body.shell-360 .profile-360.institute-profile-page {
  --accent: #1d4ed8;
  --accent-hover: #1e3a8a;
  --accent-rgb: 29, 78, 216;
  --accent-soft: #eff6ff;
  --accent-ink: #1e3a8a;
  --shadow: 0 10px 28px rgba(20, 33, 43, .06);
  --profile-sticky-top: 84px;
  --profile-band-from: #2563eb;
  --profile-band-mid: #1d4ed8;
  --profile-band-to: #1e3a8a;
}

body.shell-360.learning-centers-profile-page,
body.shell-360 .profile-360.learning-center-profile-page {
  --accent: #0e7490;
  --accent-hover: #0c5f75;
  --accent-rgb: 14, 116, 144;
  --accent-soft: #ecfeff;
  --accent-ink: #155e75;
  --shadow: 0 10px 28px rgba(20, 33, 43, .06);
  --profile-sticky-top: 84px;
  --profile-band-from: #06b6d4;
  --profile-band-mid: #0e7490;
  --profile-band-to: #0c5f75;
}

body.shell-360.tutors-profile-page,
body.shell-360 .profile-360.tutor-profile-page {
  --accent: #966500;
  --accent-hover: #7a5200;
  --accent-rgb: 150, 101, 0;
  --accent-soft: #fff8eb;
  --accent-ink: #7a5200;
  --shadow: 0 10px 28px rgba(20, 33, 43, .06);
  --profile-sticky-top: 84px;
  --profile-band-from: #c98a12;
  --profile-band-mid: #966500;
  --profile-band-to: #7a5200;
}

body.shell-360.ads-profile-page,
body.shell-360 .profile-360.ad-profile-page {
  --accent: #e11d48;
  --accent-hover: #be123c;
  --accent-rgb: 225, 29, 72;
  --accent-soft: #fff1f2;
  --accent-ink: #9f1239;
  --shadow: 0 10px 28px rgba(20, 33, 43, .06);
  --profile-sticky-top: 84px;
  --profile-band-from: #fb7185;
  --profile-band-mid: #e11d48;
  --profile-band-to: #be123c;
}

body.shell-360 .profile-360 {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent !important;
}

body.shell-360 .profile-360 .site-wrap,
body.shell-360 .profile-360 .school-profile-band-inner,
body.shell-360 .profile-360 .school-profile-body {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}

body.shell-360 .profile-360 .school-profile-body {
  padding-top: 0 !important;
  padding-bottom: 8px !important;
  display: grid;
  gap: 12px;
}

/* —— Hero band (prototype profile-hero) —— */
body.shell-360 .profile-360 .school-profile-band {
  position: relative;
  margin: 0 !important;
  padding: 22px 22px 20px !important;
  border-radius: 22px !important;
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, .35), transparent 40%),
    linear-gradient(118deg, var(--profile-band-from) 0%, var(--profile-band-mid) 42%, var(--profile-band-to) 100%) !important;
  border: 0 !important;
}

body.shell-360 .profile-360 .school-profile-band:before,
body.shell-360 .profile-360 .school-profile-band-glow {
  display: none !important;
}

body.shell-360 .profile-360 .school-profile-band .listing-profile-hero,
body.shell-360 .profile-360 .school-profile-band .tutor-profile-hero {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
}

body.shell-360 .profile-360 .school-profile-band .listing-profile-hero:before,
body.shell-360 .profile-360 .school-profile-band .listing-profile-hero:after,
body.shell-360 .profile-360 .school-profile-band .tutor-profile-hero:before {
  display: none !important;
}

body.shell-360 .profile-360 .school-profile-band .listing-profile-hero-inner {
  max-width: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center !important;
}

body.shell-360 .profile-360 .school-profile-band .listing-profile-hero-actions {
  display: none !important;
}

body.shell-360 .profile-360 .school-profile-band .breadcrumbs,
body.shell-360 .profile-360 .school-profile-band .profile-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 12px;
  font-size: 12.5px;
  opacity: .9;
  color: rgba(255, 255, 255, .92);
}

body.shell-360 .profile-360 .school-profile-band .breadcrumbs a,
body.shell-360 .profile-360 .school-profile-band .profile-crumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.shell-360 .profile-360 .school-profile-band h1 {
  margin: 0 0 8px !important;
  font-size: clamp(22px, 3vw, 32px) !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  color: #fff !important;
  text-align: center !important;
  text-shadow: none !important;
}

body.shell-360 .profile-360 .school-profile-band h1 .schools-hero-highlight {
  color: #ffe08a !important;
  background: none !important;
}

body.shell-360 .profile-360 .school-profile-band .listing-profile-hero-lead {
  margin: 0 0 14px !important;
  max-width: min(72rem, 100%) !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  opacity: .92;
  color: rgba(255, 255, 255, .92) !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 760px) {
  body.shell-360 .profile-360 .school-profile-band .listing-profile-hero-lead {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }
}

body.shell-360 .profile-360 .school-profile-band .listing-profile-hero-meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  width: auto !important;
  justify-content: center !important;
  margin: 0 !important;
}

body.shell-360 .profile-360 .school-profile-band .listing-profile-hero-meta :is(span, a) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16) !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 700;
}

body.shell-360 .profile-360 .school-profile-band .listing-profile-hero-meta a:hover {
  background: rgba(255, 255, 255, .24) !important;
  color: #fff !important;
}

body.shell-360 .profile-360 .school-profile-band .listing-profile-hero-meta .lucide {
  width: 14px;
  height: 14px;
  color: #ffe08a !important;
}

body.shell-360 .profile-360 .school-profile-band .listing-profile-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: auto !important;
  margin: 0 !important;
}

body.shell-360 .profile-360 .school-profile-band .listing-profile-hero-cta,
body.shell-360 .profile-360 .school-profile-band .listing-profile-hero-actions > .btn:not(.secondary):not(.listing-profile-hero-cta-secondary) {
  background: #f7c948 !important;
  color: #172033 !important;
  min-height: 42px;
  border: 0 !important;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: none !important;
}

body.shell-360 .profile-360 .school-profile-band .listing-profile-hero-cta:hover {
  background: #f0bc2e !important;
  color: #172033 !important;
}

body.shell-360 .profile-360 .school-profile-band .listing-profile-hero-cta-secondary,
body.shell-360 .profile-360 .school-profile-band .listing-profile-hero-actions > .btn.secondary {
  background: rgba(255, 255, 255, .14) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .35) !important;
  min-height: 42px;
  border-radius: 12px;
}

body.shell-360 .profile-360 .school-profile-band .listing-profile-hero-cta-secondary:hover {
  background: rgba(255, 255, 255, .24) !important;
  color: #fff !important;
}

/* —— Layout —— */
body.shell-360 .profile-360 .school-profile-layout {
  display: grid !important;
  grid-template-columns: 300px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
}

body.shell-360 .profile-360 .school-profile-sidebar {
  display: grid !important;
  gap: 12px !important;
  position: sticky !important;
  top: var(--profile-sticky-top) !important;
  align-self: start !important;
  width: 100%;
  max-height: none !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 20;
}

body.shell-360 .profile-360 .school-profile-content {
  min-width: 0;
  display: grid;
  gap: 12px;
}

/* —— Side cards —— */
body.shell-360 .profile-360 .profile-side-card {
  margin: 0 !important;
  padding: 14px !important;
  background: #fff !important;
  border: 1px solid #e2e9ef !important;
  border-radius: 18px !important;
  box-shadow: var(--shadow) !important;
  overflow: hidden;
}

body.shell-360 .profile-360 .profile-side-photo {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #eef2f5;
  cursor: zoom-in;
  position: relative;
}

body.shell-360 .profile-360 .profile-side-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

body.shell-360 .profile-360 .profile-side-school-name {
  margin: 12px 0 10px !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  color: #0f1f2a;
}

body.shell-360 .profile-360 .profile-side-identity-actions {
  display: grid;
  gap: 10px;
}

body.shell-360 .profile-360 .profile-share {
  display: grid;
  gap: 6px;
}

body.shell-360 .profile-360 .profile-share > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 6px;
  align-items: center;
}

body.shell-360 .profile-360 .profile-share input {
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid #e2e9ef;
  border-radius: 12px;
  background: #f8fbfa;
  font-size: 12px;
}

body.shell-360 .profile-360 .profile-share .icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #e2e9ef;
  background: #fff;
  color: var(--accent);
  display: grid;
  place-items: center;
}

body.shell-360 .profile-360 .profile-primary-actions {
  display: grid;
  gap: 8px;
}

body.shell-360 .profile-360 .profile-primary-actions .btn,
body.shell-360 .profile-360 .profile-compare-btn,
body.shell-360 .profile-360 .profile-favorite {
  width: 100%;
  min-height: 42px;
  border-radius: 12px !important;
  justify-content: center;
}

body.shell-360 .profile-360 .profile-primary-actions .btn:not(.secondary) {
  background: var(--accent) !important;
  color: #fff !important;
}

body.shell-360 .profile-360 .profile-primary-actions .btn.secondary {
  background: #fff !important;
  color: var(--accent) !important;
  border: 1px solid rgba(var(--accent-rgb), .35) !important;
}

body.shell-360 .profile-360 .profile-side-card--manage {
  background: linear-gradient(
    160deg,
    rgba(var(--accent-rgb), .92) 0%,
    color-mix(in srgb, rgb(var(--accent-rgb)) 78%, #0b1220) 55%,
    color-mix(in srgb, rgb(var(--accent-rgb)) 55%, #071018) 100%
  ) !important;
  border-color: rgba(255, 255, 255, .08) !important;
  color: #f4f8fb !important;
}

body.shell-360 .profile-360 .profile-side-manage-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: #f3fffc;
}

body.shell-360 .profile-360 .profile-side-manage-head .lucide {
  width: 20px;
  height: 20px;
  color: #fff;
  opacity: .88;
  flex-shrink: 0;
}

body.shell-360 .profile-360 .profile-side-card--manage p {
  display: none;
}

body.shell-360 .profile-360 .profile-side-manage-btn,
body.shell-360 .profile-360 .profile-side-card--manage .btn {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  background: #fff !important;
  color: var(--accent-ink) !important;
  font-weight: 800;
}

body.shell-360 .profile-360 .profile-side-manage-btn:hover,
body.shell-360 .profile-360 .profile-side-card--manage .btn:hover {
  background: var(--accent-soft) !important;
  color: var(--accent) !important;
}

body.shell-360 .profile-360 .profile-side-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #475569;
  margin-bottom: 8px;
}

body.shell-360 .profile-360 .profile-side-meta-row .lucide,
body.shell-360 .profile-360 .profile-views .lucide {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

body.shell-360 .profile-360 .profile-views {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: #475569;
}

body.shell-360 .profile-360 .side-rating,
body.shell-360 .profile-360 .listing-sidebar-rating,
body.shell-360 .profile-360 .profile-side-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef6f3;
  color: #075c52;
  font-weight: 800;
}

body.shell-360 .profile-360 .side-rating .lucide,
body.shell-360 .profile-360 .listing-sidebar-rating .lucide,
body.shell-360 .profile-360 .profile-side-rating .lucide {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

/* —— Tabs —— */
body.shell-360 .profile-360 .school-profile-content .profile-tabs-sentinel {
  height: 1px;
  margin: 0;
  pointer-events: none;
}

body.shell-360 .profile-360 .school-profile-content .profile-tabs {
  display: flex !important;
  gap: 6px !important;
  overflow-x: auto;
  margin: 0 !important;
  padding: 10px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .96) !important;
  border: 1px solid #e2e9ef !important;
  box-shadow: var(--shadow) !important;
  position: sticky !important;
  top: var(--profile-sticky-top) !important;
  z-index: 25;
  scrollbar-width: thin;
  backdrop-filter: none !important;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

body.shell-360 .profile-360 .school-profile-content .profile-tabs a {
  flex-shrink: 0;
  min-height: 40px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center;
  font-size: 13px;
  font-weight: 700 !important;
  color: #55666d !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  position: relative;
  transition: background .18s ease, color .18s ease;
}

body.shell-360 .profile-360 .school-profile-content .profile-tabs a.is-on {
  background: var(--accent) !important;
  color: #fff !important;
}

body.shell-360 .profile-360 .school-profile-content .profile-tabs a.is-on:after {
  display: none !important;
}

body.shell-360 .profile-360 .school-profile-content .profile-tabs a:hover:not(.is-on) {
  background: var(--accent-soft) !important;
  color: var(--accent) !important;
}

/* Dark when stuck under the white topbar so the two bars don’t blend */
body.shell-360 .profile-360 .school-profile-content .profile-tabs.is-stuck {
  background: linear-gradient(
    160deg,
    rgba(var(--accent-rgb), .94) 0%,
    color-mix(in srgb, rgb(var(--accent-rgb)) 72%, #0b1220) 55%,
    color-mix(in srgb, rgb(var(--accent-rgb)) 48%, #071018) 100%
  ) !important;
  border-color: rgba(255, 255, 255, .08) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .22) !important;
}

body.shell-360 .profile-360 .school-profile-content .profile-tabs.is-stuck a {
  color: rgba(248, 250, 252, .86) !important;
}

body.shell-360 .profile-360 .school-profile-content .profile-tabs.is-stuck a.is-on {
  background: #fff !important;
  color: var(--accent-ink) !important;
}

body.shell-360 .profile-360 .school-profile-content .profile-tabs.is-stuck a:hover:not(.is-on) {
  background: rgba(255, 255, 255, .12) !important;
  color: #fff !important;
}

/* —— Panels / blocks —— */
body.shell-360 .profile-360 .school-profile-content .school-block {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  scroll-margin-top: calc(var(--profile-sticky-top) + 56px);
  display: grid;
  gap: 12px;
}

body.shell-360 .profile-360 .school-profile-content .profile-panel {
  margin: 0 !important;
  padding: 18px !important;
  background: #fff !important;
  border: 1px solid rgba(var(--accent-rgb), .12) !important;
  border-radius: 18px !important;
  box-shadow: var(--shadow) !important;
}

body.shell-360 .profile-360 .profile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px !important;
}

body.shell-360 .profile-360 .profile-panel-head h2 {
  margin: 0 !important;
  font-size: 17px !important;
  color: #24342c !important;
}

body.shell-360 .profile-360 .profile-panel p,
body.shell-360 .profile-360 .profile-intro-prose {
  color: #475569;
  font-size: 14px;
  line-height: 1.9;
}

body.shell-360 .profile-360 .profile-panel-foot {
  margin-inline: 0 !important;
  margin-bottom: 0 !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid #eef2f4 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.shell-360 .profile-360 .profile-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.shell-360 .profile-360 .profile-fact {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  background: #f7faf9 !important;
  border: 1px solid #e6edf0 !important;
}

body.shell-360 .profile-360 .profile-fact-label {
  font-size: 12px;
  color: #647580;
  font-weight: 700;
  flex: 0 1 auto;
  min-width: 0;
}

body.shell-360 .profile-360 .profile-fact-value {
  font-size: 14px;
  font-weight: 800;
  color: #24342c;
  text-align: start;
  flex: 1 1 auto;
  min-width: 0;
}

body.shell-360 .profile-360 .profile-twin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

body.shell-360 .profile-360 .profile-twin-grid > .profile-panel {
  margin: 0 !important;
  min-height: 100%;
}

body.shell-360 .profile-360 .profile-hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

body.shell-360 .profile-360 .profile-hours-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f7faf9;
  border: 1px solid #e6edf0;
  font-size: 13px;
}

body.shell-360 .profile-360 .profile-hours-list li span {
  color: #647580;
  font-weight: 700;
}

body.shell-360 .profile-360 .profile-hours-list li strong {
  font-weight: 800;
  color: #24342c;
}

body.shell-360 .profile-360 .profile-gallery-item img,
body.shell-360 .profile-360 .profile-gallery-empty {
  aspect-ratio: 2 / 1;
}

body.shell-360 .profile-360 .profile-gallery-empty {
  display: grid;
  place-items: center;
  gap: 6px;
  border-radius: 10px;
  border: 1px dashed #d5e0e4;
  background: #f8fbfa;
  color: #8a9690;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 10px;
}

body.shell-360 .profile-360 .profile-gallery-empty .lucide {
  width: 22px;
  height: 22px;
  opacity: .7;
}

body.shell-360 .profile-360 .profile-facility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.shell-360 .profile-360 .profile-facility-grid li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px !important;
  border-radius: 12px !important;
  border: 1px solid #e2e9ef !important;
  background: #f8fbfa !important;
  font-size: 13px;
  font-weight: 700;
  color: #24342c;
}

body.shell-360 .profile-360 .profile-facility-grid .lucide {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

@media (min-width: 981px) {
  body.shell-360 .profile-360 .profile-facility-grid.is-collapsed > li:nth-child(n + 10) {
    display: none !important;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  body.shell-360 .profile-360 .profile-facility-grid.is-collapsed > li:nth-child(n + 7) {
    display: none !important;
  }
}

@media (max-width: 760px) {
  body.shell-360 .profile-360 .profile-facility-grid.is-collapsed > li:nth-child(n + 4) {
    display: none !important;
  }
}

body.shell-360 .profile-360 .profile-facility-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid rgba(var(--accent-rgb), .22);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

body.shell-360 .profile-360 .profile-facility-more[hidden] {
  display: none !important;
}

body.shell-360 .profile-360 .profile-facility-more .lucide {
  width: 16px;
  height: 16px;
  transition: transform .18s ease;
}

body.shell-360 .profile-360 .profile-facility-more[aria-expanded="true"] .lucide {
  transform: rotate(180deg);
}

body.shell-360 .profile-360 .profile-facility-more:hover {
  background: #fff;
  border-color: var(--accent);
}

body.shell-360 .profile-360 .profile-contact-split {
  display: grid;
  gap: 12px;
  align-items: stretch;
}

body.shell-360 .profile-360 .profile-contact-split.has-map {
  grid-template-columns: minmax(0, 3fr) minmax(120px, 1fr);
}

body.shell-360 .profile-360 .profile-contact-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

body.shell-360 .profile-360 .profile-contact-phones,
body.shell-360 .profile-360 .contact-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.shell-360 .profile-360 .profile-contact-phones li,
body.shell-360 .profile-360 .profile-contact-location,
body.shell-360 .profile-360 .profile-contact-link,
body.shell-360 .profile-360 .profile-contact-hours {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #f7faf9;
  border: 1px solid #e6edf0;
  font-weight: 700;
  color: #24342c;
  text-decoration: none;
  text-align: center;
}

body.shell-360 .profile-360 .profile-contact-location .lucide {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

body.shell-360 .profile-360 .profile-contact-map {
  display: none !important;
}

body.shell-360 .profile-360 .profile-contact-map-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  min-height: 160px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e9ef;
  background: #e8eef2;
  text-decoration: none;
  color: #fff;
}

body.shell-360 .profile-360 .profile-contact-map-fade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.75) brightness(.92);
  opacity: .55;
  transform: scale(1.08);
}

body.shell-360 .profile-360 .profile-contact-map-card:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), .18), rgba(15, 23, 42, .55)),
    radial-gradient(circle at 50% 45%, transparent 20%, rgba(15, 23, 42, .35) 100%);
  pointer-events: none;
}

body.shell-360 .profile-360 .profile-contact-map-card.is-disabled {
  cursor: default;
  pointer-events: none;
  filter: grayscale(.35);
}

body.shell-360 .profile-360 .profile-contact-map-card.is-disabled .profile-contact-map-btn {
  background: rgba(255, 255, 255, .88) !important;
  color: #647580 !important;
  border-color: #d5dee3 !important;
  box-shadow: none !important;
}

body.shell-360 .profile-360 .profile-contact-map-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: calc(100% - 20px);
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  color: var(--accent-ink);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 8px 20px rgba(20, 33, 43, .16);
  font-size: 12.5px;
  font-weight: 800;
  text-align: center;
  line-height: 1.35;
}

body.shell-360 .profile-360 .profile-contact-map-btn .lucide {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

body.shell-360 .profile-360 .profile-contact-map-card:hover .profile-contact-map-btn {
  background: #fff;
}

body.shell-360 .profile-360 .review-item {
  padding: 12px 0;
  border-bottom: 1px solid #eef2f4;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.shell-360 .profile-360 .review-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* —— Digikala-like comments —— */
body.shell-360 .profile-360 .profile-comments-panel {
  padding-top: 16px !important;
}

body.shell-360 .profile-360 .profile-comments-login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f3f6f8;
  border: 1px solid #e6edf0;
}

body.shell-360 .profile-360 .profile-comments-login p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

body.shell-360 .profile-360 .profile-comments-login-btn {
  min-height: 38px;
  padding-inline: 18px;
  border-radius: 10px !important;
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 800;
}

body.shell-360 .profile-360 .profile-comment {
  padding: 16px 0;
  border-bottom: 1px solid #eef2f4;
}

body.shell-360 .profile-360 .profile-comment:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

body.shell-360 .profile-360 .profile-comment-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
}

body.shell-360 .profile-360 .profile-comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f3f0;
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

body.shell-360 .profile-360 .profile-comment-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
  flex: 1;
}

body.shell-360 .profile-360 .profile-comment-name {
  font-size: 13px;
  font-weight: 800;
  color: #1f2937;
}

body.shell-360 .profile-360 .profile-comment-time {
  font-size: 12px;
  color: #8a9690;
}

body.shell-360 .profile-360 .profile-comment-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-inline-start: auto;
  flex-shrink: 0;
}

body.shell-360 .profile-360 .profile-comment-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

body.shell-360 .profile-360 .profile-comment-score .lucide {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: none;
}

body.shell-360 .profile-360 .profile-comment-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.shell-360 .profile-360 .profile-comment-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: #24342c;
}

body.shell-360 .profile-360 .profile-comment-body,
body.shell-360 .profile-360 .profile-comment-extra {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.85;
  color: #334155;
}

body.shell-360 .profile-360 .profile-comment-vote {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 9px;
  border-radius: 10px;
  border: 1px solid #e2e9ef;
  background: #f7faf9;
  color: #55666d;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

body.shell-360 .profile-360 .profile-comment-vote button,
body.shell-360 .profile-360 form.profile-comment-vote {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 9px;
  border-radius: 10px;
  border: 1px solid #e2e9ef;
  background: #f7faf9;
  color: #55666d;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

body.shell-360 .profile-360 .profile-comment-vote .lucide {
  width: 14px;
  height: 14px;
}

body.shell-360 .profile-360 .profile-comment-actions .inline-reply,
body.shell-360 .profile-360 .profile-comment-actions .review-reply-login,
body.shell-360 .profile-360 .profile-comment-actions .actions {
  margin: 0;
}

body.shell-360 .profile-360 .profile-comment-actions .inline-reply summary,
body.shell-360 .profile-360 .profile-comment-actions .review-reply-login {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #e2e9ef;
  background: #f7faf9;
  color: #55666d;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  text-decoration: none;
}

body.shell-360 .profile-360 .profile-comment-actions .inline-reply summary::-webkit-details-marker {
  display: none;
}

body.shell-360 .profile-360 .profile-comment-actions .inline-reply[open] {
  width: 100%;
  flex-basis: 100%;
  order: 10;
}

body.shell-360 .profile-360 .profile-comment-actions .inline-reply[open] form {
  margin-top: 8px;
}

@media (max-width: 640px) {
  body.shell-360 .profile-360 .profile-comment-head {
    flex-wrap: wrap;
  }

  body.shell-360 .profile-360 .profile-comment-aside {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-inline-start: 0;
    padding-inline-start: 50px;
  }
}

body.shell-360 .profile-360 .profile-comment-replies {
  margin-top: 10px;
}

body.shell-360 .profile-360 .profile-comment-replies-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

body.shell-360 .profile-360 .profile-comment-replies-toggle .lucide {
  width: 16px;
  height: 16px;
  transition: transform .18s ease;
}

body.shell-360 .profile-360 .profile-comment-replies-toggle[aria-expanded="true"] .lucide {
  transform: rotate(180deg);
}

body.shell-360 .profile-360 .profile-comment-replies-panel {
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 12px;
  background: #f7faf9;
  border: 1px solid #e6edf0;
}

body.shell-360 .profile-360 .profile-comment-replies-panel[hidden] {
  display: none !important;
}

body.shell-360 .profile-360 .profile-comment--reply {
  padding: 12px 0;
  border-bottom: 1px solid #e8eef0;
}

body.shell-360 .profile-360 .profile-comment--reply:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

body.shell-360 .profile-360 .profile-comment--reply.is-official .profile-comment-name {
  color: var(--accent);
}

body.shell-360 .profile-360 .profile-comment--reply .profile-comment-avatar {
  width: 34px;
  height: 34px;
  font-size: 12px;
  background: #dff3ee;
}

body.shell-360 .profile-360 .school-testimonials {
  margin: 0 0 14px !important;
  padding: 16px !important;
  border-radius: 16px !important;
}

body.shell-360 .profile-360 .school-testimonials-head {
  margin-bottom: 12px;
  align-items: center;
}

body.shell-360 .profile-360 .school-testimonials h2 {
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 800 !important;
}

body.shell-360 .profile-360 .school-testimonial-card {
  min-height: 0 !important;
  height: auto !important;
  padding: 14px 16px !important;
  gap: 8px !important;
}

body.shell-360 .profile-360 .school-testimonial-body {
  flex: 0 1 auto !important;
}

body.shell-360 .profile-360 .school-testimonial-quote {
  font-size: 48px !important;
  top: 4px !important;
}

body.shell-360 .profile-360 .profile-empty {
  border-radius: 14px !important;
  border: 1px dashed #d5e0e4 !important;
  background: #f8fbfa !important;
  box-shadow: none !important;
}

body.shell-360 .profile-360 .profile-empty--questions {
  gap: 8px;
  padding: 22px 16px !important;
}

body.shell-360 .profile-360 .profile-empty--questions .lucide {
  display: none;
}

body.shell-360 .profile-360 .profile-empty--questions .profile-panel-note {
  margin: 0;
  color: #8a9690;
  font-size: 13px;
  line-height: 1.7;
}

body.shell-360 .profile-360 .profile-questions-login {
  flex-shrink: 0;
  min-height: 40px;
  border-radius: 12px !important;
}

body.shell-360 .profile-360 .btn {
  border-radius: 12px;
}

body.shell-360 .profile-360 .school-after-ad {
  margin-top: 4px;
}

body.shell-360 .profile-360 .profile-side-card--meta-mobile {
  display: none;
}

@media (max-width: 980px) {
  body.shell-360 .profile-360 .school-profile-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.shell-360 .profile-360 .school-profile-sidebar {
    position: static !important;
    order: 1 !important;
  }

  body.shell-360 .profile-360 .school-profile-content {
    order: 2 !important;
  }

  body.shell-360 .profile-360 .profile-side-card--meta-desktop {
    display: none !important;
  }

  body.shell-360 .profile-360 .profile-side-card--meta-mobile {
    display: grid !important;
    gap: 12px;
    margin: 0 !important;
    padding: 14px !important;
    background: #fff !important;
    border: 1px solid #e2e9ef !important;
    border-radius: 18px !important;
    box-shadow: var(--shadow) !important;
  }

  body.shell-360 .profile-360 .school-profile-content .profile-tabs {
    top: 72px !important;
  }

  body.shell-360 .profile-360 .profile-facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.shell-360 .profile-360 .profile-twin-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  body.shell-360 .profile-360 .school-profile-band {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  body.shell-360 .profile-360 .profile-fact-grid,
  body.shell-360 .profile-360 .profile-facility-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.shell-360 .profile-360 .profile-contact-split.has-map {
    grid-template-columns: minmax(0, 1fr);
  }

  body.shell-360 .profile-360 .profile-contact-map-card {
    min-height: 140px;
  }

  body.shell-360 .profile-360 .profile-side-card,
  body.shell-360 .profile-360 .school-profile-content .profile-panel {
    border-radius: 16px !important;
  }
}
