/*
Theme Name: Bloghash Child
Description: Child theme for Bloghash — override styles safely
Template: bloghash
Version: 1.0
*/
@import url("../bloghash/style.css");

/* custom overrides */
:root {
  --bh-accent: #007bff;
}

.fb-dash__toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate(-50%, -20px);
  background-color: #fef3c7;
  color: #92400e;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 1.5rem;
  font-weight: 600;
  box-shadow: 0 9px 18px rgba(15, 23, 42, 0.09);
  opacity: 0;
  pointer-events: none;
  z-index: 3000;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fb-dash__toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.applicant-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2500;
}

.applicant-modal.is-active {
  display: flex;
}

.applicant-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.applicant-modal__dialog {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  width: min(640px, 92vw);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.25);
  z-index: 1;
}

.applicant-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}

.applicant-modal__close:hover,
.applicant-modal__close:focus {
  color: #1e293b;
}

.applicant-modal__grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.applicant-modal__item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: #475569;
}

.applicant-modal__item span {
  font-size: 1.8rem;
  color: #0f172a;
  word-break: break-word;
}

.applicant-modal__item--description {
  grid-column: 1 / -1;
}

.applicant-modal__item--description p {
  margin: 6px 0 0;
  font-size: 1.7rem;
  line-height: 1.6;
  color: #334155;
  white-space: pre-line;
}

.applicant-modal__resume {
  display: flex;
  align-items: center;
  gap: 12px;
}

.applicant-modal__resume-link {
  font-size: 1.6rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.applicant-modal__resume-link:hover,
.applicant-modal__resume-link:focus {
  text-decoration: underline;
}

.applicant-modal__resume span {
  font-size: 1.6rem;
  color: #94a3b8;
}

body.applicant-modal-open {
  overflow: hidden;
}

.fb-dash__more-item[data-applicant-status="채용"] .fb-dash__more-icon i {
  color: #86efac;
}

.fb-dash__more-item[data-applicant-status="채용"]:hover .fb-dash__more-icon i,
.fb-dash__more-item[data-applicant-status="채용"]:focus .fb-dash__more-icon i {
  color: #4ade80;
}

.fb-dash__more-item[data-applicant-status="미채용"] .fb-dash__more-icon i {
  color: #f43f5e;
}

.fb-dash__more-item[data-applicant-status="미채용"]:hover .fb-dash__more-icon i,
.fb-dash__more-item[data-applicant-status="미채용"]:focus .fb-dash__more-icon i {
  color: #e11d48;
}

.job-single__cta--submitted {
  background-color: #00a86b;
  border-color: #00a86b;
  color: #ffffff !important;
  cursor: default;
  pointer-events: none;
}

.job-single__cta--submitted:hover,
.job-single__cta--submitted:focus {
  background-color: #00a86b;
  border-color: #00a86b;
  color: #ffffff !important;
}

.job-single__cta.job-single__cta--submitted {
  background-color: #00a86b;
  border-color: #00a86b;
}

.job-single__cta--submitted.job-single__cta--ghost {
  background-color: #00a86b;
  border-color: #00a86b;
}

.job-single__cta--submitted:disabled {
  opacity: 1;
}

/* Applicant status tags for user dashboard */
.fb-dash__applicant-status-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 1.8rem;
  font-weight: 600;
  margin-right: 8px;
  text-transform: none;
  letter-spacing: 0.02em;
  line-height: 1;
  vertical-align: middle;
}

.fb-dash__applicant-status-tag--hired {
  background-color: #38bdf8; /* sky blue */
  color: #ffffff;
}

.fb-dash__applicant-status-tag--inreview {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.fb-dash__applicant-status-tag--rejected {
  background-color: #ec4899;
  color: #ffffff;
}

/* Default/미검토 state */
.fb-dash__applicant-status-tag--pending {
  background-color: #e2e8f0;
  color: #475569;
}

.fb-dash__listing-title[data-applicant-title-wrapper] {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fb-dash__listing-card {
  position: relative;
}

.fb-dash__listing-dismiss {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 15%;
  border: none;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  z-index: 5;
}

.fb-dash__listing-dismiss-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 1.45rem;
}

.fb-dash__listing-dismiss-icon i {
  font-size: inherit;
  display: block;
  line-height: 1;
  color: inherit;
}

.fb-dash__listing-dismiss:focus {
  outline: 0px solid #ec4899;
  outline-offset: 2px;
}

.fb-dash__listing-dismiss:hover,
.fb-dash__listing-dismiss:focus {
  background: rgba(236, 72, 153, 0.18);
  color: #be185d;
  transform: translateY(-1px);
}

.bloghash-glassmorphism .block.one {
  background-color: rgba(0,123,255,1) !important;
}

/* Styles for real-estate single card bottom section */
.listing-single__card-bottom {
  padding: 18px 20px 24px;
  border-top: 1px solid #eef1f6;
  margin-top: 14px;
}
.listing-single__section-title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}
.listing-single__description-body {
  color: #1f2937;
  line-height: 1.6;
  font-size: 1.5rem;
}

/* Make the real-estate listing "설명" section title larger */
.listing-single__section--description .listing-single__section-title {
  font-size: 2rem;
}
.rent-feature-list {
  margin-top: 12px;
}
.rent-feature-list__title {
  margin: 0 0 8px;
  font-weight: 700;
}
.rent-feature-list__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.rent-feature__item {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 12px;
}

/* Main listing media tweaks */
.bloghash-article .entry-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 0;
}

.bloghash-blog-horizontal .bloghash-article .entry-media img,
.bloghash-blog-horizontal .bloghash-article .entry-media .entry-image-link,
.bloghash-blog-layout-1 .bloghash-article .entry-thumb-image img,
.bloghash-blog-layout-1 .bloghash-article .entry-thumb-image .entry-media {
  object-fit: contain;
  object-position: center center;
  background-color: #ffffff;
}

/* News listing cards: image on the left, square crop */
.page-template-page-news .bloghash-article:not(.format-quote) .bloghash-blog-entry-wrapper,
.post-type-archive-news-listing .bloghash-article:not(.format-quote) .bloghash-blog-entry-wrapper,
.home.blog .bloghash-article:not(.format-quote) .bloghash-blog-entry-wrapper,
.single-news-listing .bloghash-related-posts .bloghash-article:not(.format-quote) .bloghash-blog-entry-wrapper {
  display: flex;
  gap: 28px;
  align-items: stretch;
}

/* Home listings: image on the right */
.home.blog .bloghash-article:not(.format-quote) .bloghash-blog-entry-wrapper {
  flex-direction: row-reverse;
}

/* Slider cards: thumbnail should stay on the left */
.home.blog .bloghash-horizontal-slider .bloghash-article:not(.format-quote) .bloghash-blog-entry-wrapper {
  flex-direction: row;
}

.page-template-page-news .bloghash-article .entry-media,
.post-type-archive-news-listing .bloghash-article .entry-media,
.home.blog .bloghash-article .entry-media,
.single-news-listing .bloghash-related-posts .bloghash-article .entry-media {
  flex: 0 0 180px;
  max-width: 180px;
  width: 180px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  margin: 0;
}

.home.blog .bloghash-article .entry-media {
  border-radius: 16px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 260px;
  max-width: 260px;
  width: 260px;
  position: relative;
}

.home.blog .bloghash-horizontal-slider .bloghash-article .entry-media {
  margin: 0;
  flex: 0 0 220px;
  max-width: 220px;
  width: 220px;
}

.home.blog .bloghash-article .bloghash-entry-content-wrapper {
  flex: 1;
  padding-right: 10px;
  padding-left: 12px;
  min-width: 0;
}

.page-template-page-news.bloghash-blog-image-wrap .bloghash-article .entry-media,
.post-type-archive-news-listing.bloghash-blog-image-wrap .bloghash-article .entry-media,
.home.blog.bloghash-blog-image-wrap .bloghash-article .entry-media,
.single-news-listing.bloghash-blog-image-wrap .bloghash-related-posts .bloghash-article .entry-media {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.page-template-page-news .bloghash-article .entry-media a,
.post-type-archive-news-listing .bloghash-article .entry-media a,
.home.blog .bloghash-article .entry-media a,
.single-news-listing .bloghash-related-posts .bloghash-article .entry-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.page-template-page-news .bloghash-article .entry-media img,
.post-type-archive-news-listing .bloghash-article .entry-media img,
.home.blog .bloghash-article .entry-media img,
.single-news-listing .bloghash-related-posts .bloghash-article .entry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-template-page-news .bloghash-article .bloghash-entry-content-wrapper,
.post-type-archive-news-listing .bloghash-article .bloghash-entry-content-wrapper,
.home.blog .bloghash-article .bloghash-entry-content-wrapper,
.single-news-listing .bloghash-related-posts .bloghash-article .bloghash-entry-content-wrapper {
  flex: 1;
}

.page-template-page-news .bloghash-blog-entry-wrapper,
.post-type-archive-news-listing .bloghash-blog-entry-wrapper,
.home.blog .bloghash-blog-entry-wrapper {
  cursor: pointer;
}

@media (min-width: 769px) {
  /* Desktop cards: keep image offset and prevent overlap */
  .home.blog .bloghash-article .entry-media {
    margin-left: 64px;
    margin-right: -64px;
    transform: translateX(32px);
  }

  .home.blog .bloghash-blog-horizontal .bloghash-article:not(.format-quote) .bloghash-blog-entry-wrapper .entry-media {
    margin-left: 64px;
    margin-right: -64px;
    transform: translateX(32px);
  }

  .home.blog .bloghash-article .bloghash-entry-content-wrapper {
    padding-right: 32px;
    padding-left: 16px;
  }

  .home.blog .bloghash-horizontal-slider .bloghash-article:not(.format-quote) .bloghash-blog-entry-wrapper .entry-media,
  .home.blog .bloghash-horizontal-slider .bloghash-article .entry-media {
    margin: 0;
    transform: none;
  }
}

.page-template-page-news .bloghash-article .entry-header,
.post-type-archive-news-listing .bloghash-article .entry-header,
.home.blog .bloghash-article .entry-header {
  display: block;
  margin-bottom: 10px;
}

.page-template-page-news .bloghash-article .entry-title,
.post-type-archive-news-listing .bloghash-article .entry-title,
.home.blog .bloghash-article .entry-title {
  font-weight: 700;
  font-size: 1.8rem;
  margin: 0;
  color: #0c1830;
}

.page-template-page-news .bloghash-article,
.post-type-archive-news-listing .bloghash-article,
.home.blog .bloghash-article,
.single-news-listing .bloghash-related-posts .bloghash-article {
  margin-top: -5px !important;
  margin-bottom: -5px !important;
}

@media (max-width: 768px) {
  .page-template-page-news .bloghash-article:not(.format-quote) .bloghash-blog-entry-wrapper,
  .post-type-archive-news-listing .bloghash-article:not(.format-quote) .bloghash-blog-entry-wrapper,
  .home.blog .bloghash-article:not(.format-quote) .bloghash-blog-entry-wrapper,
  .single-news-listing .bloghash-related-posts .bloghash-article:not(.format-quote) .bloghash-blog-entry-wrapper {
    flex-direction: column;
  }

  .page-template-page-news .bloghash-article .entry-media,
  .post-type-archive-news-listing .bloghash-article .entry-media,
  .home.blog .bloghash-article .entry-media,
  .single-news-listing .bloghash-related-posts .bloghash-article .entry-media {
    width: 100%;
    max-width: 100%;
  }
}

/* Grid layout for Related / Popular Listing */
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.related-post-item {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.related-post-item:hover {
  transform: translateY(-4px);
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* Posts You Might Like masonry cards */
.bloghash-pyml-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

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

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

@media (max-width: 400px) {
  .bloghash-pyml-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pyml-grid-card {
  height: 100%;
}

.pyml-grid-card.is-hidden {
  display: none;
}

.pyml-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  gap: 16px;
}

.pyml-card-figure {
  margin: 0;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, #f7fbff, #e7efff);
  border: none;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Fullwidth article template */
.bh-news-detail {
  background: #f7f9fb;
  padding: 40px 0 64px;
}

.bh-news-shell {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border-radius: 32px;
  padding: 56px 64px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
}

.bh-news-header {
  border-bottom: 1px solid #eef1f6;
  padding-bottom: 28px;
  margin-bottom: 32px;
  position: relative;
}

.bh-news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 12px;
}

.bh-news-category {
  font-weight: 900;
  color: #94a3b8;
  text-decoration: none;
}

.bh-news-breadcrumb-page {
  font-weight: 900;
  color: #1d4ed8;
  text-decoration: none;
}

.bh-news-title {
  font-size: clamp(2.2rem, 3vw, 3rem);
  line-height: 1.2;
  margin: 0 0 16px;
  color: #0f172a;
}

.bh-news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bh-news-meta-primary {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bh-avatar img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.bh-meta-text {
  font-size: 0.95rem;
  color: #4b5563;
  display: flex;
  flex-direction: column;
}

.bh-meta-author {
  font-size: 1rem;
  color: #0f172a;
}

.bh-news-lede {
  margin: 22px 0 0;
  font-size: 1.65rem;
  line-height: 1.7;
  color: #000000;
  font-weight: 800;
}

.bh-news-figure {
  margin: 0 0 32px;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.bh-news-figure img {
  display: block;
  width: 100%;
  border-bottom: 1px solid #e2e8f0;
}

.bh-news-figure-caption {
  padding: 18px 24px 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bh-figcaption-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

.bh-figcaption-description {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #475569;
}

.bh-news-body {
  font-size: 1.55rem;
  line-height: 1.85;
  color: #1f2937;
}

.bh-news-body > *:first-child {
  margin-top: 0;
}

.bh-news-body p {
  margin-bottom: 1.4em;
}

.bh-news-body blockquote {
  border-left: 3px solid #1d4ed8;
  margin: 1.6em 0;
  padding: 0.1em 0 0.1em 1.2em;
  color: #475569;
  font-style: italic;
}


.bh-news-reactions {
  margin: 32px 0;
  padding: 18px 24px;
  border-radius: 24px;
  background: #f8fafc;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.bh-reaction-button {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #475569;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #fff;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s ease, border 0.2s ease, color 0.2s ease;
  width: 100%;
}

.bh-reaction-button:hover,
.bh-reaction-button:focus-visible,
.bh-reaction-button.is-active {
  background: #e0f2ff;
  border-color: #bae6fd;
  color: #0f172a;
}

.bh-reaction-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bh-reaction-icon img {
  width: 20px;
  height: 20px;
}

.bh-reaction-count {
  color: #111827;
}

.bh-news-note {
  margin: 32px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f4f7fb;
  color: #475569;
  display: flex;
  gap: 8px;
  font-size: 1.45rem;
}

.bh-news-note strong {
  color: #0f172a;
}

.bh-news-footer {
  border-top: 1px solid #eef1f6;
  margin-top: 40px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.bh-news-footer__label {
  font-size: 0;
}

.bh-news-share {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}

.bh-news-share a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.bh-news-share a:hover {
  border-color: currentColor;
}

.bh-news-comments-trigger {
  margin-top: 24px;
}

.bh-comments-button {
  width: 100%;
  border: 1px solid #cbd5f5;
  border-radius: 12px;
  background: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
}

.bh-comments-button__label {
  color: #1d4ed8;
}

.bh-comments-button__icon {
  font-size: 1.3rem;
}

.bh-comments-panel {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}

.bh-comments-panel.is-visible {
  display: block;
}

.bh-comments-panel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}

.bh-comments-panel__drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: -6px 0 30px rgba(15, 23, 42, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.bh-comments-panel.is-visible .bh-comments-panel__drawer {
  transform: translateX(0);
}

.bh-comments-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
}

.bh-comments-panel__header h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 900;
}

.bh-comments-panel__close {
  border: none;
  background: transparent;
  font-size: 2rem;
  font-weight: 900;
  cursor: pointer;
}

.bh-comments-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bh-comments-panel__list {
  flex: 1;
}

.bh-comments-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bh-comments-input-wrap {
  position: relative;
}

.bh-comments-textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #cbd5f5;
  padding: 9px 110px 7px 12px;
  font-size: 1.2rem;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  line-height: 1.2;
  resize: none;
  overflow: hidden;
}

.bh-comments-textarea::placeholder {
  font-size: 1.2rem;
  line-height: 1.2;
}

.bh-comments-submit {
  align-self: flex-end;
  border: none;
  border-radius: 10%;
  padding: 0 18px;
  height: 40px;
  line-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1d4ed8;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.bh-comments-submit--inline {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-65%);
  padding: 0 14px;
  height: 32px;
  line-height: 32px;
  font-size: 1.2rem;
  box-shadow: none;
}

.bh-comments-login-message {
  margin: 0;
}

.bh-comments-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bh-comment {
  display: flex;
  gap: 12px;
}

.bh-comment__avatar img {
  border-radius: 50%;
}

.bh-comment__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 0;
}

.bh-comment__author {
  color: #0f172a;
  font-size: 1rem;
}

.bh-comment__content {
  font-size: 1.2rem;
  font-weight: 600;
  color: #111827;
  margin-top: -10px;
}

.bh-comments-empty {
  margin: 0;
  color: #94a3b8;
}

body.bh-comments-panel-open {
  overflow: hidden;
}

.bh-share-copy {
  border: none;
  background: transparent;
  color: #1d4ed8;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.bh-share-copy.is-success {
  color: #22c55e;
}

@media (max-width: 768px) {
  .bh-news-shell {
    padding: 36px 26px;
    border-radius: 24px;
  }

  .bh-news-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.pyml-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
}

.pyml-card-image,
.pyml-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pyml-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 12px;
  border-radius: 28px;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--bh-accent, #007bff);
  background: linear-gradient(145deg, #f0f6ff, #e3efff);
  border: 1px solid #007bff;
  box-shadow: inset 0 6px 22px rgba(255, 255, 255, 0.65);
  text-transform: none;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.pyml-card-placeholder span {
  width: 100%;
  text-align: center;
}

.pyml-card-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

.pyml-card-price {
  font-size: 2rem;
  font-weight: 700;
  color: #0f66ff;
}


.pyml-card-floating-price {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 2rem;
  font-weight: 700;
  color: #0f66ff;
  background: rgba(255, 255, 255, 0.8);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
}

.pyml-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pyml-card-tags,
.pyml-card-tag,
.pyml-card-tag--secondary {
  display: none;
}

.pyml-card-address {
  font-size: 1.2rem;
  color: #0f172a;
  text-transform: none;
  letter-spacing: 0.01em;
}

.pyml-card-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0c1220;
  margin: 0;
}

.pyml-card-description {
  font-size: 1.8rem;
  color: #1f2838;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pyml-view-more-wrap {
  margin-top: 32px;
  text-align: center;
}

.pyml-view-more {
  border: 2px solid #111;
  background: #fff;
  color: #111;
  padding: 12px 36px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pyml-view-more:hover:not(:disabled) {
  background: #111;
  color: #fff;
}

.pyml-view-more:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.bh-real-estate-pyml {
  margin-bottom: 48px;
  padding-bottom: 8px;
}

/* Sell & Buy market */
.site-main--market {
  padding-bottom: 60px;
}

.page-header,
.entry-header,
.bloghash-breadcrumb,
.bloghash-breadcrumbs,
.site-breadcrumbs {
  display: none;
}

.community-page {
  background: #f8fafc;
  padding: 48px 0 64px;
}

.community-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 280px;
  gap: 24px;
}

.community-channel-toggle {
  position: fixed;
  top: 80px;
  right: 16px;
  border: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  padding: 10px 16px;
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  cursor: pointer;
  z-index: 1000;
}

.community-channel-toggle__icon {
  font-size: 1.2rem;
}

.community-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-left: 12px;
}

.community-sidebar__section {
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.06);
}

.community-sidebar__section h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.community-channel {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.3rem;
  min-height: 72px;
}

.community-channel__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef2ff;
  color: #4338ca;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
}

.community-channel__icon i {
  font-size: 1.4rem;
  line-height: 1;
  color: inherit;
}

.community-channel--all {
  flex-direction: row;
  justify-content: flex-start;
  gap: 8px;
  font-weight: 600;
  min-height: auto;
}

.community-channel--all span:nth-child(2) {
  text-align: left;
  flex: 1;
  padding-right: 10px;
}

.community-channel--all span:nth-child(2)::before {
  content: '\00a0\00a0';
}

.community-channel__count {
  font-size: 0.85rem;
  color: #94a3b8;
}

.community-channel span:nth-child(2) {
  font-weight: 700;
  text-align: left;
}

.community-channel.is-active {
  background: #ebf5ff;
  color: #1d4ed8;
}

.community-sidebar__empty {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #94a3b8;
}

.community-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.community-notice {
  border-radius: 24px;
  padding: 16px 20px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
}

.community-notice--success {
  background: #ecfdf5;
  color: #047857;
}

.community-notice--error {
  background: #fef2f2;
  color: #b91c1c;
}

.community-notice--info {
  background: #eef2ff;
  color: #4c1d95;
}

.community-composer {
  background: #fff;
  border-radius: 28px;
  padding: 20px;
  margin-right: -10px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.community-composer__input {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f3f4f6;
  border-radius: 18px;
  padding: 16px;
  color: #94a3b8;
  cursor: text;
}

.community-composer__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.community-composer__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.community-composer__placeholder {
  flex: 1;
  font-weight: 500;
}

.community-composer__actions {
  display: flex;
  gap: 10px;
}

.community-composer__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 18px;
  padding: 12px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.1);
}

.community-composer__btn--talk {
  color: #f97316;
  background: rgba(249, 115, 22, 0.15);
}

.community-composer__quicklinks {
  margin: 0px -5px 0 2px;
  background: #fff;
  border-radius: 18px;
  padding: 12px 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.community-composer__quicklink {
  color: #111827;
  cursor: pointer;
}

.community-composer__quicklink.is-active {
  color: #1d4ed8;
}

.community-composer__divider {
  color: #d1d5db;
  font-weight: 400;
}

.community-card.is-filtered {
  display: none;
}

@media (max-width: 768px) {
  .community-composer__quicklinks {
    margin-left: 20px;
    margin-right: -20px;
    width:97%
  }
}

@media (max-width: 1100px) {
  .community-composer__quicklinks {
    margin-right: 20px;
    width:97%;
  }
}

.community-modal-open {
  overflow: hidden;
}

.community-composer-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: rgba(15, 23, 42, 0.45);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.community-composer-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.community-composer-modal__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.community-composer-modal__dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  background: #fff;
  border-radius: 32px;
  padding: 32px 36px 40px;
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.35);
  z-index: 1;
  animation: slideUp 0.35s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.community-composer-modal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: none;
  background: transparent;
  font-size: 2rem;
  color: #94a3b8;
  cursor: pointer;
}

.community-composer-modal__dialog h2 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f172a;
}

.community-composer-modal__tabs {
  display: flex;
  gap: 12px;
  margin: 16px 0 24px;
}

.community-composer-modal__tabs button {
  flex: 1;
  border: 1.5px solid #dbeafe;
  border-radius: 16px;
  padding: 12px;
  font-weight: 700;
  font-size: 1.8rem;
  color: #38bdf8;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.community-composer-modal__tabs button.is-active {
  border-color: #3b82f6;
  color: #0ea5e9;
  background: #e0f2fe;
  box-shadow: inset 0 0 0 1px #bae6fd;
}

.community-composer-modal__tabs span {
  font-size: 1.3rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #38bdf8;
}

.community-composer-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.community-composer-form[data-community-composer-pane] {
  display: none;
}

.community-composer-form.is-active {
  display: flex;
}

.community-composer-form select,
.community-composer-form textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 1rem;
  background: #f8fafc;
  resize: none;
}

.community-composer-form__field--line {
  padding: 6px 0;
  border-bottom: 1px solid #eceff3;
  gap: 0;
}

.community-composer-form__field--line:last-of-type {
  border-bottom: none;
}

.community-composer-form__field--line select,
.community-composer-form__field--line textarea,
.community-composer-form__field--line input[type="text"] {
  border: none;
  border-radius: 0;
  padding: 12px 0;
  background: transparent;
  font-size: 1.6rem;
  color: #94a3b8;
  resize: none;
}

.community-composer-form__field--line textarea::placeholder {
  color: #c5ccd9;
  font-size: 1.6rem;
}

.community-composer-form__field--line input[type="text"] {
  height: 48px;
}
.community-composer-form__field--line input[type="text"]::placeholder {
  color: #c5ccd9;
  font-size: 1.6rem;
}

.community-composer-form__field--line select:focus,
.community-composer-form__field--line textarea:focus {
  outline: none;
  color: #475569;
}

.community-composer-form__select-wrap {
  position: relative;
}

.community-composer-form__select-wrap::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-right: 2px solid #cbd5f5;
  border-bottom: 2px solid #cbd5f5;
  pointer-events: none;
}

.community-composer-form__select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 20px;
}

.community-composer-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.community-composer-form__field label {
  font-weight: 600;
  color: #475569;
}

.community-composer-form__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.community-composer-form__primary,
.community-composer-form__secondary {
  border: none;
  border-radius: 16px;
  padding: 12px 24px;
  font-size: 1.7rem;
  font-weight: 700;
  cursor: pointer;
}

.community-composer-form__secondary {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.community-composer-form__secondary.is-saved {
  background: #e0f2fe;
  color: #0ea5e9;
  border-color: #bae6fd;
}

.community-composer-form__primary {
  background: #0f66ff;
  color: #fff;
}

@media (max-width: 640px) {
  .community-composer-modal__dialog {
    padding: 24px;
    border-radius: 24px;
    max-height: calc(100vh - 32px);
  }

  .community-composer-form__actions {
    flex-direction: column;
  }

  .community-composer-form__primary,
  .community-composer-form__secondary {
    width: 100%;
  }
}

.community-card {
  background: #fff;
  border-radius: 28px;
  padding: 24px;
  margin-right: -10px;
}

.community-card,
.community-single__question-card,
.community-single__recommended,
.community-single__answer,
.community-popular {
  box-shadow: none !important;
}


.community-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.community-card__identity {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.community-card__actions {
  position: relative;
  margin-left: auto;
}

.community-card__options {
  border: none;
  background: transparent;
  font-size: 1.6rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  line-height: 1;
}

.community-card__options:hover,
.community-card__options:focus {
  background: rgba(148, 163, 184, 0.15);
  color: #0f172a;
  outline: none;
}

.community-card__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: none;
  border: 1px solid #e2e8f0;
  padding: 8px 0;
  min-width: 140px;
  display: none;
  z-index: 10;
}

.community-card__actions.is-open .community-card__menu {
  display: block;
}

.community-card__menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
}

.community-card__menu a:hover {
  background: #f1f5f9;
}

.community-card__menu-icon {
  width: 16px;
  display: inline-flex;
  justify-content: center;
  color: #475569;
}

.community-card__menu-item--report {
  color: #b45309;
}

.community-card__menu-item--report .community-card__menu-icon {
  color: #d97706;
}

.community-card__menu-item--danger {
  color: #dc2626;
}

.community-card__menu-item--danger .community-card__menu-icon {
  color: #dc2626;
}

.community-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.community-card__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.community-card__identity-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.community-card__identity-top {
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 500;
  color: #0f172a;
}

.community-card--talk .community-card__identity-top {
  font-weight: 400;
}

.community-card__author {
  font-size: 1.4rem;
}

/* Latest home layout */
.latest-home {
  background: #f8fafc;
  padding: 32px 12px 48px;
}

.latest-hub {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 18px 22px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.latest-hub__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.latest-hub__tab {
  background: transparent;
  border: 0;
  font-weight: 600;
  color: #94a3b8;
  padding: 6px 8px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.latest-hub__tab:hover,
.latest-hub__tab:focus {
  color: #0f172a;
}

.latest-hub__tab.is-active {
  color: #0f172a;
  border-color: #1da1f2;
}

.latest-hub__panel {
  display: none;
}

.latest-hub__panel.is-active {
  display: block;
}

.latest-hub__panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 10px;
  margin-bottom: 14px;
}

.latest-hub__date {
  font-weight: 700;
}

.latest-hub__more {
  color: #475569;
  text-decoration: none;
  font-size: 14px;
}

.latest-hub__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
}

.latest-hub__news-group {
  display: none;
}

.latest-hub__news-group.is-active {
  display: grid;
}

.latest-hub__feature {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06);
}

.latest-hub__feature-link {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  text-decoration: none;
  color: inherit;
}

.latest-hub__feature-media {
  min-height: 180px;
  background: #e2e8f0;
  background-size: cover;
  background-position: center;
}

.latest-hub__feature-body {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.latest-hub__feature-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.latest-hub__feature-body p {
  margin: 0;
  color: #475569;
}

.latest-hub__feature-tag {
  display: inline-block;
  padding: 6px 10px;
  background: #e2e8f0;
  color: #0f172a;
  border-radius: 999px;
  font-size: 13px;
  width: max-content;
}

.latest-hub__support {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.latest-hub__support li {
  border-top: 1px solid #e5e7eb;
}

.latest-hub__support li:first-child {
  border-top: 0;
}

.latest-hub__support a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #0f172a;
  transition: background 0.15s ease;
}

.latest-hub__support a:hover,
.latest-hub__support a:focus {
  background: #f8fafc;
}

.latest-hub__panel--news .latest-hub__support,
.latest-hub__panel--news .latest-hub__support li,
.latest-hub__panel--news .latest-hub__support li:first-child {
  border: 0;
}

.latest-hub__panel--news .latest-hub__support a {
  padding: 10px 0;
}

.latest-hub__headlines ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 0;
  border-bottom: 0;
  border-radius: 12px;
  overflow: hidden;
}

.latest-hub__headlines li {
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.latest-hub__headlines li + li {
  border-top: 0;
}

.latest-hub__headlines a {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: #0f172a;
  transition: background 0.15s ease;
}

.latest-hub__headlines a:hover,
.latest-hub__headlines a:focus {
  background: #f8fafc;
}

.latest-hub__pager {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.latest-hub__pager-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #f1f5f9;
  color: #0f172a;
  cursor: pointer;
  font-size: 18px;
}

.latest-hub__pager-link {
  color: #2563eb;
  text-decoration: underline;
}

.latest-hub__pager-text {
  display: flex;
  align-items: center;
  gap: 6px;
}

.latest-hub__pager--footer {
  margin-top: 0;
}

.latest-hub__pager--footer .latest-hub__pager-link {
  text-decoration: none;
  font-weight: 800;
  color: #0f172a;
}

.latest-hub__pager-link-label {
  color: #38bdf8;
}
.latest-hub__footer {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.latest-hub__cta {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.latest-hub__empty {
  margin: 0;
  color: #475569;
}

@media (max-width: 900px) {
  .latest-hub__grid {
    grid-template-columns: 1fr;
  }

  .latest-hub__feature-link {
    grid-template-columns: 1fr;
  }
}

.latest-hub__jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 18px;
}

.latest-hub__job-card {
  background: transparent;
  border: 0;
  border-radius: 16px;
  text-decoration: none;
  color: #0f172a;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.12s ease;
}

.latest-hub__job-card:hover,
.latest-hub__job-card:focus {
  transform: translateY(-2px);
}

.latest-hub__job-thumb {
  background: #eaf2ff;
  background-size: cover;
  background-position: center;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.latest-hub__job-title {
  padding: 12px 2px 0;
  font-weight: 700;
  line-height: 1.4;
  font-size: 16px;
}

.latest-hub__job-thumb--placeholder {
  background: linear-gradient(145deg, #eef4ff, #e6efff);
  color: #475569;
}

.latest-hub__job-placeholder-text {
  font-size: 2.5rem;
  font-weight: 600;
}

.ad-inquiry {
  background: #f5f6f8;
}

.ad-inquiry__hero {
  position: relative;
  padding: 108px 24px 96px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.55), rgba(16, 185, 129, 0.55)), #0ea5e9;
  color: #fff;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(135deg, rgba(14, 165, 233, 0.55), rgba(16, 185, 129, 0.55)), var(--ad-inquiry-hero, none);
  background-blend-mode: overlay, normal;
}

.ad-inquiry__hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ad-inquiry__title {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
  color: #fff;
}

.ad-inquiry__eyebrow {
  font-size: 16px;
  margin: 0;
  opacity: 0.9;
}

.ad-inquiry__eyebrow--center {
  text-align: center;
  color: #666;
}

.ad-inquiry__body {
  padding: 0 18px 72px;
}

.ad-inquiry__card {
  max-width: 1100px;
  margin: 20px auto 0;
  background: #f3f3f3;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  padding: 32px 32px 36px;
  border: 1px solid #e5e7eb;
}

.ad-inquiry__card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.ad-inquiry__icon {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.18);
}

.ad-inquiry__card-title {
  font-size: clamp(26px, 4vw, 32px);
  margin: 0;
  text-align: center;
  color: #1f2937;
}

.ad-inquiry__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 22px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.ad-inquiry__contact-boxes {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.ad-inquiry__contact-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  min-width: 220px;
  justify-content: center;
  box-shadow: none;
  transition: transform 0.12s ease;
}

.ad-inquiry__contact-box:hover {
  transform: translateY(-1px);
}

.ad-inquiry__contact-box--kakao {
  background: #f7e600;
  color: #1f2937;
}

.ad-inquiry__contact-box--mail {
  background: #1da1f2;
  color: #fff;
}

.ad-inquiry__contact-icon {
  font-size: 18px;
}

.ad-inquiry__contact-text {
  font-size: 15px;
}

.ad-inquiry__panes {
  position: relative;
}

.ad-inquiry__pane {
  display: none;
}

.ad-inquiry__pane.is-active {
  display: block;
}

.ad-inquiry__tab {
  text-align: center;
  padding: 14px 10px;
  background: #dcdfe3;
  font-weight: 700;
  color: #6b7280;
  border: 0;
  border-right: 1px solid #c7cbd1;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

.ad-inquiry__tab:last-child {
  border-right: 0;
}

.ad-inquiry__tab.is-active {
  background: #fff;
  color: #0ea5e9;
  border-bottom: 3px solid #22c55e;
}

.ad-inquiry__notice {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-weight: 600;
}

.ad-inquiry__notice--success {
  background: #e8f7ef;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.ad-inquiry__notice--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecdd3;
}

.ad-inquiry__form {
  background: #fff;
  border-radius: 0 0 12px 12px;
  border: 1px solid #e5e7eb;
  padding: 24px 22px 28px;
  display: grid;
  gap: 18px;
}

.ad-inquiry__field label,
.ad-inquiry__field legend {
  display: block;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
  font-size: 15px;
}

.ad-inquiry__field input[type="text"],
.ad-inquiry__field input[type="url"],
.ad-inquiry__field textarea,
.ad-inquiry__field select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ad-inquiry__field input:focus,
.ad-inquiry__field textarea:focus,
.ad-inquiry__field select:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
  outline: none;
  background: #fff;
}

.ad-inquiry__required {
  color: #ef4444;
  font-weight: 800;
  margin-left: 4px;
}

.ad-inquiry__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ad-inquiry__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ad-inquiry__chip input {
  accent-color: #0ea5e9;
}

.ad-inquiry__chip:hover {
  border-color: #0ea5e9;
  background: #eef8ff;
}

.ad-inquiry__field textarea {
  min-height: 120px;
  resize: vertical;
}

.ad-inquiry__field--checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ad-inquiry__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #374151;
}

.ad-inquiry__checkbox input {
  width: 18px;
  height: 18px;
}

.ad-inquiry__actions {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.ad-inquiry__submit {
  border: 0;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  box-shadow: 0 12px 22px rgba(14, 165, 233, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ad-inquiry__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(14, 165, 233, 0.35);
}

.ad-inquiry__submit:active {
  transform: translateY(0);
}

.ad-inquiry__error {
  display: block;
  color: #dc2626;
  font-size: 13px;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .ad-inquiry__card {
    margin-top: 20px;
    padding: 26px 18px 28px;
  }

  .ad-inquiry__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ad-inquiry__tab {
    font-size: 14px;
    padding: 12px 8px;
  }

}
.latest-hub__panel--job .latest-hub__jobs-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .latest-hub__panel--job .latest-hub__jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .latest-hub__panel--job .latest-hub__jobs-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile alternate view */
.latest-hub--mobile {
  display: none;
  margin-top: 20px;
}

.latest-hub__tabs--mobile {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.latest-hub__tab--pill {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 10px 16px;
  background: #fff;
  color: #0f172a;
  white-space: nowrap;
  font-weight: 700;
}

.latest-hub__tab--pill.is-active {
  background: #dbeafe;
  border-color: #bfdbfe;
  color: #0f172a;
}

.latest-hub__mobile-panel {
  display: none;
}

.latest-hub__mobile-panel.is-active {
  display: block;
}

.latest-hub__mobile-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 2px 8px;
  scroll-snap-type: x mandatory;
}

.latest-hub__mobile-card {
  min-width: 220px;
  max-width: 240px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-decoration: none;
  color: #0f172a;
}

.latest-hub__mobile-card--community {
  min-width: 150px;
  max-width: 170px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.latest-hub__mobile-body h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
  color: black;
}

.latest-hub__mobile-body .latest-hub__community-stats {
  margin-bottom: 10px;
}

.latest-hub__mobile-excerpt {
  margin: 0 0 10px;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
}

.latest-hub__community-meta--mobile-only {
  margin-top: 6px;
}

.latest-hub__mobile-thumb {
  background: #e2e8f0;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.latest-hub__mobile-title {
  margin-top: 8px;
  font-weight: 700;
  line-height: 1.35;
}

.latest-hub__community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.latest-hub__community-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px;
  text-decoration: none;
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.latest-hub__community-card:hover,
.latest-hub__community-card:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.latest-hub__community-body h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
}

.latest-hub__community-stats {
  display: flex;
  gap: 12px;
  color: #9ca3af;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 12px;
}

.latest-hub__community-meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-weight: 600;
}

.latest-hub__community-channel {
  background: #f1f5f9;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
}

.latest-hub__community-channel-icon {
  color: #475569;
}

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

@media (max-width: 700px) {
  .latest-hub__community-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .latest-hub--desktop {
    display: none;
  }
  .latest-hub--mobile {
    display: block;
  }
}

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

@media (max-width: 600px) {
  .latest-hub__jobs-grid {
    grid-template-columns: 1fr;
  }
}
/* Make PYML width match the latest hub container */
.home .bloghash-pyml-container.bloghash-container__wide {
  max-width: 1200px;
}

.community-card__channel-link {
  color: #38bdf8;
  font-size: 1.3rem;
  text-decoration: none;
  font-weight: 600;
}

.community-card__channel-link:hover {
  text-decoration: underline;
}

.community-card__divider {
  color: #cbd5f5;
  margin: 0 2px;
}

.community-card__handle {
  font-weight: 500;
}

.community-card__title {
  margin: 8px 0 0;
  font-size: 1.8rem;
  font-weight: 700;
  width: 100%;
}

.community-card--talk .community-card__title {
  display: none;
}

.community-card__title-link {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}

.community-card__question-text {
  flex: 1;
}

.community-card__question-label {
  font-weight: 700;
  color: #1d4ed8;
  flex-shrink: 0;
}

.community-card__meta {
  font-size: 1.2rem;
  color: #94a3b8;
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: -8px;
}

.community-card__badge {
  background: #eef2ff;
  color: #4338ca;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  align-self: flex-start;
}

.community-card__body {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.community-card__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}

.community-card__content-inner {
  display: block;
  overflow: hidden;
  color: #1f2937;
  line-height: 1.7;
  word-break: break-word;
  max-height: 3.4em;
}

.community-card__content-inner p {
  margin: 0;
}

.community-card__content-more {
  display: none;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1d4ed8;
}

.community-card__content.is-truncated .community-card__content-more {
  display: block;
}

.community-card__qa {
  display: block;
  margin-top: -10px;
}

.community-card__media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
}

.community-card__footer {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.listing-single__bookmark,
.job-single__bookmark-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0px solid #cbd5f5;
  background: transparent;
  color: #0f172a;
  cursor: pointer;
  padding: 0;
}

.community-card__footer button {
  border: none;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  color: #475569;
}

.community-vote {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  color: #475569;
}

.community-card__footer .community-vote {
  padding: 1px 1px;
  border-radius: 999px;
  border: none;
  background: #f8fafc;
  align-self: flex-start;
  box-shadow: none;
}

.community-vote[data-loading='true'] {
  opacity: 0.6;
  pointer-events: none;
}

.community-vote__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
  background: transparent;
}

.community-card__footer .community-vote__icon {
  background: transparent;
  border: none;
}

.community-vote__icon--up {
  background: transparent;
  color: #ef4444;
}

.community-card__footer .community-vote__icon--up {
  color: #ef4444 !important;
}

.community-vote__icon--down {
  background: transparent;
  color: #475569;
}

.community-vote__icon--up:hover {
  background: #ffe6e8;
}

.community-vote__icon--down:hover {
  background: #dfe7f3;
}

.community-vote__icon[data-vote-direction='up'].is-active {
  background: #fee2e2;
  color: #b91c1c;
}

.community-vote__icon[data-vote-direction='down'].is-active {
  background: #dbeafe;
  color: #1d4ed8;
}

.community-vote__count {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  min-width: 24px;
  text-align: center;
}
.community-vote svg {
  width: 24px;
  height: 24px;
}

.community-comment-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.4rem;
  padding: 4px 0;
  color: #475569;
  transition: color 0.2s ease;
}

.community-comment-btn svg {
  width: 20px;
  height: 20px;
  transform: translateY(5px);
}

.community-comment-btn:hover {
  color: #1f2937;
}

.community-trending__card {
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  margin-right: 15px;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.06);
}

.community-trending__card h2 {
  margin: 0 0 16px;
  font-size: 1.2rem;
}

.community-trending__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.community-trending__list a {
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  display: flex;
  gap: 10px;
  align-items: center;
}

.community-trending__rank {
  color: #94a3b8;
  font-weight: 700;
}

.community-trending__title {
  flex: 1;
  min-width: 0;
}

.community-trending__votes {
  font-size: 1rem;
  color: #94a3b8;
}

.community-empty {
  text-align: center;
  color: #94a3b8;
}

.community-channel-drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
  z-index: 1000;
  padding: 80px 16px 16px;
}

.community-channel-drawer.is-open {
  display: flex;
}

.community-channel-drawer__inner {
  width: min(320px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  position: relative;
}

.community-channel-drawer__close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  position: absolute;
  top: 16px;
  right: 24px;
  cursor: pointer;
}

.community-channel-drawer__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.community-map + .community-trending {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .community-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    grid-template-areas:
      "sidebar main"
      "trending main";
  }
  .community-card,
  .community-composer {
    margin-right: 20px;
  }
  .community-trending {
    display: none;
  }
}

@media (max-width: 768px) {
  .community-card,
  .community-composer {
    margin-left: 20px;
    margin-right: -5px;
  }

  .community-layout {
    grid-template-columns: 1fr;
  }
  .community-sidebar,
  .community-trending {
    display: none;
  }
  .community-channel-toggle {
    display: inline-flex;
  }
}

/* Mobile: tidy channel toggle/drawer icons and labels to avoid clipped letters */
@media (max-width: 768px) {
  .community-channel-toggle .community-channel__icon,
  .community-channel-drawer__list .community-channel .community-channel__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1rem;
  }

  /* Make mobile drawer channels match desktop styling */
  .community-channel-drawer__list .community-channel {
    padding: 10px 12px;
  }

  /* Ensure toggle (floating) keeps icon aligned visually */
  .community-channel-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .community-channel-toggle .community-channel__icon {
    position: static;
    transform: none;
  }
}

.market-hero {
  background: linear-gradient(135deg, #eef6ff, #fff);
  padding: 64px 0 20px;
}

.bh-share-toast {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #2563eb;
  color: #fff;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 25px 45px rgba(37, 99, 235, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.bh-share-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.real-estate-page .bh-share-toast {
  top: calc(1.5rem + 50px);
}

.bh-share-toast__icon {
  font-size: 1rem;
}

.market-hero__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 32px;
  padding: 0 32px;
  gap: 24px;
}

.market-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.9rem;
  color: #2563eb;
  margin-bottom: 12px;
}

.market-hero__content h1 {
  margin: 0 0 12px;
  font-size: 2.4rem;
  color: #0f172a;
}

.market-hero__content p {
  margin: 0;
  color: #475569;
}

.market-sell-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 999px;
  background: #0f66ff;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.market-sell-btn:hover {
  opacity: 0.9;
}

.market-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 32px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.market-toolbar .toolbar-left {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  flex: 1;
}

.toolbar-field {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 220px;
}

.toolbar-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #94a3b8;
  margin-bottom: 6px;
}

/* Hide helper labels above the market filters */
.market-toolbar .toolbar-label,
.market-toolbar label[for="sorting"] {
  display: none;
}

.market-toolbar input,
.market-toolbar select {
  border-radius: 14px;
  border: 1px solid #cbd5f5;
  padding: 10px 12px;
  background: #f8fbff;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toolbar-right select,
.market-filter-btn {
  height: 44px;
  display: inline-flex;
  align-items: center;
}

.market-filter-btn {
  border: none;
  background: #0f172a;
  color: #fff;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 600;
  cursor: pointer;
}


.market-results {
  margin-top: 64px;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px;
  padding-top: 32px;
}

@media (max-width: 640px) {
  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

.market-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.market-card--pending {
  border: 1px dashed #cbd5f5;
  box-shadow: none;
}

.market-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.12);
}

.market-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.market-card__media {
  position: relative;
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, rgba(15, 102, 255, 0.1), rgba(14, 165, 233, 0.1));
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

.market-card__image,
.market-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: 1px solid #e2e8f0;
  display: block;
  mix-blend-mode: multiply;
}

.market-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f66ff;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.08em;
  background: linear-gradient(145deg, #edf5ff, #d8e7ff);
}

.market-card__overlay {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.market-card__address-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.market-card__like-display {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-size: 1.1rem;
}

.market-card__like-display-icon {
  width: 18px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.7-4.35-9.33-9.15C.8 8.2 1.4 4.7 4.77 3.5A4.24 4.24 0 0 1 12 6.13 4.24 4.24 0 0 1 19.23 3.5c3.37 1.2 3.97 4.7 2.1 8.35C18.7 16.65 12 21 12 21z'/%3E%3C/svg%3E");
}

.market-card__like-count {
  font-size: 1.1rem;
  color: #475569;
  font-weight: 600;
}

.market-card__like-floating,
.real-list__like-floating,
.job-card__like-floating {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  z-index: 2;
  padding: 0;
}

.market-card__like-floating:focus-visible,
.real-list__like-floating:focus-visible,
.job-card__like-floating:focus-visible {
  outline: 2px solid #0f66ff;
  outline-offset: 2px;
}

.market-card__like-floating:hover,
.real-list__like-floating:hover,
.job-card__like-floating:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.market-card__like-floating .market-card__like-icon,
.real-list__like-floating .market-card__like-icon,
.job-card__like-floating .market-card__like-icon {
  width: 22px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f66ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.7-4.35-9.33-9.15C.8 8.2 1.4 4.7 4.77 3.5A4.24 4.24 0 0 1 12 6.13 4.24 4.24 0 0 1 19.23 3.5c3.37 1.2 3.97 4.7 2.1 8.35C18.7 16.65 12 21 12 21z'/%3E%3C/svg%3E");
}

.market-card__like-floating.is-liked .market-card__like-icon,
.real-list__like-floating.is-liked .market-card__like-icon,
.job-card__like-floating.is-liked .market-card__like-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230f66ff' stroke='%230f66ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.7-4.35-9.33-9.15C.8 8.2 1.4 4.7 4.77 3.5A4.24 4.24 0 0 1 12 6.13 4.24 4.24 0 0 1 19.23 3.5c3.37 1.2 3.97 4.7 2.1 8.35C18.7 16.65 12 21 12 21z'/%3E%3C/svg%3E");
}

.market-card__price {
  font-weight: 700;
  font-size: 2rem;
  color: #0f66ff;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}


.market-card__icon {
  display: none;
}

.market-card__meta {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.market-card__address {
  text-transform: none;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: #0f172a;
  margin: 0;
}

.market-card__title {
  font-size: 2rem;
  margin: 0;
  color: #0f172a;
}

.market-card__excerpt {
  margin: 0;
  color: #475569;
  line-height: 1.5;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.market-pagination {
  margin-top: 40px;
  text-align: center;
}

.market-pagination .page-numbers {
  display: inline-block;
  margin: 0 4px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

.market-pagination .current {
  background: #0f172a;
  color: #fff;
}

.market-empty {
  text-align: center;
  padding: 60px 20px;
  border-radius: 24px;
  background: #f8fafc;
}

/* Single Listing */
.listing-single {
  padding: 40px 0 80px;
}

.listing-single__wrapper {
  position: relative;
}

.listing-report-btn {
  position: absolute;
  top: 58px;
  right: 74px;
  padding: 4px;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: transparent;
  border: none;
  color: #e11d48;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: none;
  z-index: 11;
}

.single-market-listing .listing-report-btn {
  right: 74px;
}

@media (max-width: 867px) {
  .single-market-listing .listing-report-btn {
    right: 55px;
  }
}

/* Real estate single listing */
.single-real-estate-listing .listing-report-btn {
  top: 58px;
  right: 74px;
}

.single-real-estate-listing .listing-single__bookmark--corner {
  top: 20px;
  right: 20px;
}

@media (max-width: 867px) {
  .single-real-estate-listing .listing-report-btn{
    right: 55px;
  }
}

.listing-single__card {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
}

.listing-single__bookmark--corner {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 5;
  padding: 6px 10px;
}

.news-bookmark-toggle {
  top:-20px;
  right:-20px;
}

.listing-single__contract-badge {
  position: absolute;
  top: 28px;
  right: 80px;
  background: rgba(15, 102, 255, 0.1);
  color: #0f66ff;
  border-radius: 999px;
  padding: 6px 18px;
  font-weight: 700;
  font-size: 1.35rem;
  z-index: 4;
}

.listing-gallery {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.listing-gallery__track {
  display: flex;
  transition: transform 0.4s ease;
}

.listing-gallery__slide {
  min-width: 100%;
  margin: 0;
}

.listing-gallery__slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
}

.listing-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.5);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
}

.listing-gallery__nav--prev {
  left: 16px;
}

.listing-gallery__nav--next {
  right: 16px;
}

.listing-gallery__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.listing-gallery__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.listing-gallery__dots button.is-active {
  background: #0f66ff;
}

.listing-gallery__like-chip {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.listing-gallery__like-toggle {
  border: 1px solid #cbd5f5;
  border-radius: 999px;
  padding: 6px 14px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 12px 28px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.listing-gallery__like-toggle:focus-visible {
  outline: 2px solid #0f66ff;
  outline-offset: 2px;
}

.listing-gallery__like-heart {
  width: 18px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f66ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.7-4.35-9.33-9.15C.8 8.2 1.4 4.7 4.77 3.5A4.24 4.24 0 0 1 12 6.13 4.24 4.24 0 0 1 19.23 3.5c3.37 1.2 3.97 4.7 2.1 8.35C18.7 16.65 12 21 12 21z'/%3E%3C/svg%3E");
}

.listing-gallery__like-toggle.is-liked .listing-gallery__like-heart {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230f66ff' stroke='%230f66ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.7-4.35-9.33-9.15C.8 8.2 1.4 4.7 4.77 3.5A4.24 4.24 0 0 1 12 6.13 4.24 4.24 0 0 1 19.23 3.5c3.37 1.2 3.97 4.7 2.1 8.35C18.7 16.65 12 21 12 21z'/%3E%3C/svg%3E");
}

.listing-gallery__like-count {
  font-size: 1rem;
  color: #475569;
  font-weight: 600;
}

.listing-single__placeholder {
  width: 100%;
  height: 360px;
  border-radius: 24px;
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: #1d4ed8;
}

.listing-single__gallery {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.listing-single__thumb {
  border-radius: 16px;
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.listing-single__card {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  padding: 32px;
  margin-bottom: 32px;
}

.listing-single__card--rent {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.listing-single__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 8px;
}

.listing-single__details--rent {
  gap: 12px;
}

.listing-single__sold-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #0f69ff;
  color: #ffffff;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 2.2rem;
  min-width: 200px;
  text-align: center;
  box-shadow: none;
  z-index: 5;
}

.listing-single__pending-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f59e0b;
  color: #ffffff;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 2.2rem;
  min-width: 200px;
  text-align: center;
  box-shadow: none;
}

.listing-single__meta-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.listing-single__meta-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.listing-single__meta-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.listing-single__price {
  font-size: 2.9rem;
  font-weight: 700;
  color: #0f66ff;
}

.listing-single__price-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.listing-single__price-period {
  margin-left: 6px;
  font-size: 1.7rem;
  color: #94a3b8;
}

.listing-single__address {
  font-size: 1.2rem;
  color: #475569;
}

.rent-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 1.45rem;
  color: #475569;
}

.listing-single__title {
  font-size: 2.6rem;
  margin: 0;
}

.listing-single__categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rent-single__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}

.rent-single__chips span {
  background: #e0f2fe;
  color: #0369a1;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.4rem;
}

.rent-single__facts {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.rent-single__facts div {
  background: #f8fafc;
  border-radius: 18px;
  padding: 12px 16px;
}

.rent-single__facts p {
  margin: 0;
  font-size: 1.35rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rent-single__facts strong {
  display: block;
  margin-top: 6px;
  font-size: 1.6rem;
}

.listing-single__chip {
  background: #e0f2fe;
  color: #0369a1;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.listing-single__description {
  margin-top: 24px;
  background: #fff;
  border-radius: 24px;
  padding: 20px 24px;
  line-height: 1.7;
  color: #0f172a;
  font-size: 1.5rem;
}

.listing-single__description p:last-child {
  margin-bottom: 0;
}

.listing-single__description-header {
  margin-bottom: 12px;
}

.listing-single__description-header h3 {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 900;
  color: #0f172a;
}

.listing-single__description-header p {
  margin: 4px 0 0;
  color: #000;
  font-size: 2.2rem;
  font-weight: 900;
}

.listing-single__description-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 16px 0;
}

.listing-single__description-body {
  line-height: 1.7;
}

.listing-single__region {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #0f172a;
}

.listing-single__region-label {
  color: #94a3b8;
  font-weight: 500;
}

.listing-single__region-value {
  font-weight: 700;
}

.listing-similar {
  margin-top: 64px;
}

.listing-similar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.listing-similar__header h2 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f172a;
}

.listing-similar__nav {
  display: flex;
  gap: 12px;
}

.listing-similar__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #d1d9e6;
  background: #fff;
  color: #0f172a;
  font-size: 1.8rem;
  cursor: pointer;
}

.listing-similar__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 16px;
}

.listing-similar__track::-webkit-scrollbar {
  height: 8px;
}

.listing-similar__track::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.2);
  border-radius: 999px;
}

.listing-similar__card {
  display: flex;
  gap: 20px;
  min-width: 360px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 22px;
  background: #fff;
  position: relative;
  box-shadow: none;
}

.listing-similar__thumb {
  flex: 0 0 150px;
  border-radius: 16px;
  overflow: hidden;
  display: block;
}

.listing-similar__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-similar__thumb-placeholder {
  width: 100%;
  height: 100%;
  background: #e0f2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #0369a1;
  font-weight: 600;
  text-align: center;
  padding: 0 12px;
}

.listing-similar__info h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
}

.listing-similar__info h3 a {
  text-decoration: none;
  color: inherit;
}

.listing-similar__location {
  display: block;
  color: #0f66ff;
  font-size: 1.3rem;
  margin: 10px 0 6px;
}

.listing-similar__date {
  display: block;
  font-size: 1.3rem;
  color: #475569;
  margin-bottom: 8px;
}

.listing-similar__price {
  font-size: 1.7rem;
  color: #0f66ff;
}

.listing-similar__favorite {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 16px;
  background: rgba(15, 102, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.listing-similar__favorite-icon {
  width: 18px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f66ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.7-4.35-9.33-9.15C.8 8.2 1.4 4.7 4.77 3.5A4.24 4.24 0 0 1 12 6.13 4.24 4.24 0 0 1 19.23 3.5c3.37 1.2 3.97 4.7 2.1 8.35C18.7 16.65 12 21 12 21z'/%3E%3C/svg%3E");
}

.listing-similar__favorite.is-liked .listing-similar__favorite-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230f66ff' stroke='%230f66ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.7-4.35-9.33-9.15C.8 8.2 1.4 4.7 4.77 3.5A4.24 4.24 0 0 1 12 6.13 4.24 4.24 0 0 1 19.23 3.5c3.37 1.2 3.97 4.7 2.1 8.35C18.7 16.65 12 21 12 21z'/%3E%3C/svg%3E");
}

.listing-similar__favorite-count {
  display: none;
}

.listing-single__description--mobile {
  display: none;
  margin-top: 24px;
}

.listing-single__description--media {
  display: block;
}

.listing-single__content {
  line-height: 1.8;
  color: #0f172a;
  margin-top: 32px;
}

.rent-feature-list {
  margin-top: 32px;
}

.rent-feature-list__title {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 1.7rem;
}

.rent-feature-list__items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rent-feature__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e2e8f0;
  color: #0f172a;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.5rem;
}

.rent-feature__item span {
  line-height: 1;
}

.rent-feature__icon {
  width: 24px;
  height: 24px;
  color: #0f172a;
}

.listing-single__author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  padding: 24px 32px;
  border-radius: 24px;
  gap: 20px;
}

.listing-single__author-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.listing-single__author-info .avatar {
  border-radius: 10%;
  overflow: hidden;
}

.listing-single__author-label {
  display: none;
}

.listing-single__author-info h3 {
  margin: 4px 0;
}

.listing-single__author-meta {
  margin: 0;
  color: #475569;
  font-size: 1.3rem;
}

.listing-single__author--inline {
  display: none;
  margin-top: 24px;
}

.listing-single__author--mobile {
  margin-top: 32px;
}

.listing-single__author-like {
  margin-top: 16px;
}

.listing-single__author-like-toggle {
  border: 1px solid #dbe5f3;
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 10px 25px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.listing-single__author-like-toggle:focus-visible {
  outline: 2px solid #0f66ff;
  outline-offset: 2px;
}

.listing-single__author-like-heart {
  width: 20px;
  height: 18px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f66ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.7-4.35-9.33-9.15C.8 8.2 1.4 4.7 4.77 3.5A4.24 4.24 0 0 1 12 6.13 4.24 4.24 0 0 1 19.23 3.5c3.37 1.2 3.97 4.7 2.1 8.35C18.7 16.65 12 21 12 21z'/%3E%3C/svg%3E");
}

.listing-single__author-like-toggle.is-liked .listing-single__author-like-heart {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230f66ff' stroke='%230f66ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.7-4.35-9.33-9.15C.8 8.2 1.4 4.7 4.77 3.5A4.24 4.24 0 0 1 12 6.13 4.24 4.24 0 0 1 19.23 3.5c3.37 1.2 3.97 4.7 2.1 8.35C18.7 16.65 12 21 12 21z'/%3E%3C/svg%3E");
}

.listing-single__author-like-count {
  font-size: 1.1rem;
  color: #475569;
  font-weight: 600;
}

.listing-single__message {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 44px;
  border-radius: 999px;
  background: #0f66ff;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.8rem;
  line-height: 1.25;
  white-space: normal;
  word-break: keep-all;
  text-align: center;
}

.listing-single__message--login {
  background: #0f66ff;
}

.listing-single__map {
  margin-top: 24px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.listing-single__map iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

@media (max-width: 900px) {
  .listing-single__card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .listing-single__author {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .listing-single__author--inline {
    display: none;
  }

  .listing-single__description--media {
    display: none;
  }

  /* Move bookmark and report buttons to bottom-right on small screens to avoid overlap */
  .listing-single__bookmark--corner {
    top: 55%;
    bottom: 16px;
    right: 20px;
  }

  .listing-report-btn {
    top: 29%;
    bottom: 16px;
  }

  /* Job single listing */
  .single-job-listing .listing-report-btn {
    top: 40px;
    right: 74px;
    bottom: auto;
  }

  .single-job-listing .listing-single__bookmark--corner {
    top: 10px;
    right: 13px;
    bottom: auto;
    position: absolute;
  }
  /* Real estate single listing */
  .single-real-estate-listing .listing-single__bookmark--corner {
    top: 10px;
    bottom: 16px;
    right: 20px;
  }

  .single-real-estate-listing .listing-report-btn {
    top: 40px;
    bottom: 16px;
  }
  

  .listing-single__description--mobile {
    display: block;
  }

  .listing-single__description--mobile .listing-single__description-header h3 {
    display: none;
  }
}
@media(max-width:768px){
  .listing-report-btn {
    top: 29%;
    bottom: 16px;
    margin-right: -6px;
  }
}



@media (min-width: 1024px) {
  .listing-single__author--inline {
    display: flex;
  }

  .listing-single__author--mobile {
    display: none;
  }
}

@media (max-width: 900px) {
  .market-hero__content {
    flex-direction: column;
    text-align: center;
  }

  .market-toolbar {
    flex-direction: row;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 16px;
  }

  .market-toolbar .toolbar-left {
    display: contents;
  }

  .toolbar-field {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  .market-toolbar .toolbar-left .toolbar-field:first-child {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .market-toolbar .toolbar-left .toolbar-field:not(:first-child) {
    flex: 1 1 calc(50% - 6px);
    min-width: 160px;
  }

  .toolbar-right {
    justify-content: flex-start;
    flex: 1 1 calc(50% - 6px);
    min-width: 170px;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .toolbar-field input,
  .toolbar-field select {
    width: 100%;
  }

  .toolbar-right select {
    flex: 1 1 160px;
  }

  .market-filter-btn {
    flex: 0 0 auto;
  }
}

.sell-buy-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  margin: 48px auto;
}

.sell-buy-form .form-row {
  margin-bottom: 20px;
}

.sell-buy-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0f172a;
}

.sell-buy-form input[type="text"],
.sell-buy-form input[type="number"],
.sell-buy-form input[type="file"],
.sell-buy-form select,
.sell-buy-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #d0d7e3;
  padding: 12px 14px;
  font-size: 1.6rem;
  background: #f9fbff;
}

.sell-buy-form input::placeholder,
.sell-buy-form textarea::placeholder {
  font-size: 1.6rem;
  color: #4b5563;
}

.sell-buy-form textarea {
  resize: vertical;
}

.sell-buy-form .form-row.split {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sell-buy-form .form-row.split > div {
  flex: 1;
  min-width: 160px;
}

.listing-gallery-preview {
  margin-bottom: 18px;
}

.listing-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 10px;
}

.listing-gallery-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.listing-gallery-thumb img {
  display: block;
  width: 100%;
  height: 225px;
  object-fit: cover;
}

.listing-gallery-thumb__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 225px;
  padding: 12px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: #4b5563;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  box-sizing: border-box;
}

.listing-gallery-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 105, 255, 0.9);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
}

.listing-gallery-remove:hover,
.listing-gallery-remove:focus-visible {
  background: rgba(15, 105, 255, 1);
}

.listing-gallery-remove i {
  font-size: 14px;
  line-height: 1;
}

.rent-type-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.rent-type-group p {
  margin: 0 0 8px;
  font-weight: 600;
  color: #0f172a;
}

.rent-type-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rent-type-options label,
.rent-feature-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #475569;
}

.rent-feature-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px 18px;
  margin-top: 8px;
}

.rent-feature-options span {
  flex: 1;
}

.rent-submit-card {
  margin-top: 24px;
}

.rent-submit-form {
  margin-top: 32px;
}

.is-hidden {
  display: none !important;
}

.rent-submit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: start;
}

.rent-submit-progress {
  position: sticky;
  top: 120px;
  align-self: start;
  grid-column: 2;
  grid-row: 1;
}

.rent-submit-progress ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid #e4e7ec;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rent-submit-progress li {
  position: relative;
  padding-left: 18px;
}

.rent-submit-progress__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  display: inline-flex;
  position: absolute;
  left: -7px;
  top: 8px;
}

.rent-submit-progress__link {
  text-decoration: none;
  color: #6b7280;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.45rem;
}

.rent-submit-progress__link.is-active {
  color: #0f66ff;
}

.rent-submit-progress__link.is-active .rent-submit-progress__dot {
  background: #0f66ff;
  box-shadow: 0 0 0 4px rgba(15, 102, 255, 0.15);
}

.rent-submit-panels {
  display: flex;
  flex-direction: column;
  gap: 24px;
  grid-column: 1;
  grid-row: 1;
  margin-top: 0;
}

.rent-panel {
  background: #fff;
  border-radius: 28px;
  padding: 16px 32px 32px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
}

.rent-panel__header h2 {
  margin: 4px 0 10px;
  font-size: 2rem;
}

.rent-panel__step {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: #60a5fa;
  font-weight: 700;
}

.rent-panel__description {
  margin: 0;
  color: #6b7280;
}

.rent-panel__body {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rent-alert {
  border-radius: 18px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 1.4rem;
}

.rent-alert--warning {
  background: #fff7ed;
  color: #b45309;
  border: 1px solid #fcd34d;
}

.rent-alert--info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.rent-field {
  position: relative;
}

.rent-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0f172a;
}

.rent-field input[type="text"],
.rent-field input[type="number"],
.rent-field input[type="date"],
.rent-field select,
.rent-field textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid #d4d4d8;
  padding: 14px 16px;
  font-size: 1.5rem;
  background: #fff;
}

.rent-field textarea {
  min-height: 200px;
  resize: vertical;
}

.rent-type-note {
  font-size: 1.3rem;
  color: #94a3b8;
  margin: 8px 0 0;
}

.rent-movein-date {
  margin-top: 8px;
}

.rent-movein-date input {
  width: 100%;
}

.rent-field-grid {
  display: grid;
  gap: 16px;
}

.rent-field-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.rent-field-grid--three {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.rent-type-groups--pill .rent-type-options {
  gap: 8px;
}

.rent-type-checkbox {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #0f172a;
}

.rent-select select {
  width: 100%;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #0f172a 50%), linear-gradient(135deg, #0f172a 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.rent-select--readonly select {
  background: #f8fafc;
  color: #475569;
}

.rent-field__counter {
  position: absolute;
  right: 0;
  top: -24px;
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 600;
}

.rent-upload__dropzone {
  border: 2px dashed #d0d7e3;
  border-radius: 22px;
  padding: 24px;
  text-align: center;
  color: #475569;
}

.rent-upload__dropzone ul {
  list-style: disc;
  margin: 12px auto 0;
  max-width: 460px;
  text-align: left;
}

.rent-upload__dropzone input[type="file"] {
  display: none;
}

.rent-upload__button {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 24px;
  border-radius: 999px;
  background: #0f66ff;
  color: #fff;
  cursor: pointer;
}

.rent-upload__status {
  margin-top: 16px;
  font-size: 1.7rem;
  font-weight: 600;
  color: #475569;
}

.rent-upload__status.has-files {
  color: #0f172a;
}

.rent-upload__spinner {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
  min-height: 18px;
}

.rent-upload__spinner .spinner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0f66ff;
  animation: spinner-bounce 1s infinite ease-in-out;
}

.rent-upload__spinner .spinner-dot:nth-child(2) {
  animation-delay: 0.1s;
}

.rent-upload__spinner .spinner-dot:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes spinner-bounce {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.page-template-page-job-submit .rent-upload__button {
  color: #fff;
}

.rent-upload__button--white-text {
  color: #fff !important;
}

.rent-map-placeholder {
  border: 1px dashed #cbd5f5;
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  color: #475569;
  font-weight: 600;
}

.rent-movein-toggle {
  display: inline-flex;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 10px;
}

.rent-movein-toggle__btn {
  border: none;
  background: transparent;
  padding: 10px 22px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}

.rent-movein-toggle__btn.is-active {
  background: #e0edff;
  color: #0f66ff;
}

.rent-pill-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rent-pill {
  position: relative;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}

.rent-pill input {
  position: absolute;
  opacity: 0;
}

.rent-pill input:checked + span,
.rent-pill input:checked ~ span {
  color: #0f66ff;
}

.rent-feature-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.rent-feature-group__title {
  margin: 0 0 8px;
  font-weight: 700;
  color: #0f172a;
}

.rent-feature-group__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rent-feature-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-weight: 600;
}

.rent-type-checkbox input,
.rent-feature-checkbox input {
  accent-color: #0f66ff;
}

.rent-author-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 18px 24px;
  background: #f8fafc;
}

.rent-author-card p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rent-author-card strong {
  display: block;
  font-size: 1.4rem;
  color: #0f172a;
}

.rent-submit-actions {
  margin-top: 32px;
  text-align: right;
}

.rent-submit-actions .bloghash-btn {
  padding: 14px 36px;
  font-size: 1.6rem;
  border-radius: 999px;
}

.bloghash-btn.bloghash-btn--muted {
  background: #e5e7eb;
  color: #111827;
  border: 1px solid #d1d5db;
  box-shadow: none;
}

.bloghash-btn.bloghash-btn--muted:hover,
.bloghash-btn.bloghash-btn--muted:focus-visible {
  background: #dcdfe3;
  color: #0f172a;
}

@media (max-width: 960px) {
  .rent-submit-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rent-submit-progress {
    display: none;
    position: static;
    grid-column: 1;
  }

  .rent-submit-progress ol {
    border-left: none;
    border-top: 2px solid #e4e7ec;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 12px;
  }

  .rent-submit-progress li {
    padding-left: 0;
  }

  .rent-submit-progress__dot {
    position: static;
    margin-right: 6px;
  }

  .rent-panel {
    padding: 18px 24px 26px;
    grid-column: 1;
  }

  .rent-submit-panels {
    margin-top: 0;
  }
}

.sell-buy-form .form-help {
  font-size: 0.85rem;
  margin-top: 6px;
  color: #6b7280;
}

.sell-buy-form .submit-row {
  text-align: right;
  margin-top: 32px;
}

.sell-buy-errors {
  border: 1px solid #fecaca;
  background: #fee2e2;
  color: #991b1b;
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 24px;
}

.sell-buy-errors ul {
  margin: 0;
  padding-left: 18px;
}

.sell-buy-success {
  border: 1px solid #bbf7d0;
  background: #dcfce7;
  color: #166534;
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 24px;
}

.header-account-switch-wrap {
  display: flex;
  margin-left: 24px;
}

.header-account-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.9rem;
}

.header-notification {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.header-notification__icon {
  display: inline-flex;
  line-height: 0;
}

.header-notification__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

@media (max-width: 1024px) {
  .header-notification {
    display: none !important;
  }
}

.header-account-switch .header-account-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.header-account-switch .header-account-text {
  font-weight: 600;
  letter-spacing: 0.04em;
}
.real-estate-page {
  background: #f4f6fb;
  padding-bottom: 80px;
}

.job-hero {
  background: linear-gradient(135deg, #edf4ff, #e8f6ff);
  padding: 48px 0;
  margin-bottom: 24px;
}

.job-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.job-hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.job-hero__text {
  max-width: 640px;
}

.job-hero__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #3b82f6;
  font-weight: 700;
  margin-bottom: 10px;
}

.job-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #0f172a;
}

.job-hero__subtitle {
  margin: 10px 0 0;
  font-size: 1.8rem;
  color: #475569;
  max-width: 560px;
}

.job-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 999px;
  background: #0f66ff;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.job-hero__cta:hover {
  background: #0c55d1;
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .job-hero {
    padding: 36px 0;
  }
}

.real-hero {
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  padding: 48px 0;
  margin-bottom: 24px;
}

.real-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.real-hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.real-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #3b82f6;
  margin-bottom: 8px;
}

.real-hero h1 {
  margin: 0;
  font-size: 2.8rem;
}

.real-hero__cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 999px;
  background: #0f66ff;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.real-toolbar {
  max-width: 1100px;
  margin: 0 auto 24px;
  padding: 0 24px;
}

.real-filter-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid #d4d4d8;
  border-radius: 18px;
  background: #fff;
  font-weight: 600;
  color: #0f172a;
}

.filter-chip__icon,
.filter-chip__arrow {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: #0f172a;
}

.filter-chip__icon svg,
.filter-chip__arrow svg {
  width: 100%;
  height: 100%;
}

.filter-chip__icon--mobile-only {
  display: none;
}

.filter-chip__icon--desktop {
  display: inline-flex;
  width: 23px;
  height: 23px;
  color: #0f172a;
  margin-right: 6px;
  position: relative;
  top: -1px;
}

.filter-chip__icon--desktop svg {
  width: 100%;
  height: 100%;
}

.filter-chip__icon--mobile-only .fa-dollar-sign {
  position: relative;
  left: 5px;
  top: 2px;
}

.filter-chip--dropdown {
  position: relative;
  display: inline-block;
}

.filter-chip--dropdown summary::-webkit-details-marker {
  display: none;
}

.filter-chip--dropdown summary {
  list-style: none;
  display: inline-flex;
  width: auto;
  min-width: 0;
}

.filter-chip--search {
  flex: 1 1 260px;
  padding: 10px 12px;
  border: 1px solid #d4d4d8;
  border-radius: 28px;
  background: #fff;
  font-size: 0.95rem;
  width: 100%;
  min-height: 44px;
  height: 44px;
  line-height: 1.3;
  box-sizing: border-box;
}

.filter-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 280px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 30;
  font-size: 1.5rem;
}

.filter-chip--align-right .filter-dropdown {
  left: auto;
  right: 0;
}

.filter-chip--dropdown[open] .filter-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.filter-dropdown__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  font-size: 1.8rem;
  color: #0f172a;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.filter-dropdown__close span {
  line-height: 1;
  font-size: 1.6rem;
}

.filter-dropdown__scroll {
  max-height: 360px;
  overflow-y: auto;
  padding: 16px;
  border-radius: 24px 24px 0 0;
}

.filter-dropdown__heading {
  margin: 12px 0 6px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #6b7280;
}

.filter-dropdown__checkboxes {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-dropdown__checkboxes label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
}

.filter-dropdown__checkboxes input {
  accent-color: #0f66ff;
}

.filter-dropdown--price {
  width: 360px;
}

.filter-dropdown--advanced {
  width: 460px;
}

.filter-dropdown--advanced .filter-dropdown__scroll {
  max-height: 420px;
  padding: 20px 24px;
}

.filter-dropdown__range-select {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.filter-dropdown__range-select label {
  flex: 1;
}

.filter-dropdown__range-select select {
  border: 1px solid #d4d4d8;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 1.5rem;
}

.filter-dropdown__range-select input {
  border: 1px solid #d4d4d8;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 1.5rem;
  width: 100%;
}

.filter-dropdown__range-select option {
  font-size: 1.5rem;
}

.filter-dropdown__range-sep {
  font-weight: 600;
  color: #94a3b8;
}

.filter-dropdown__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid #e5e7eb;
  border-radius: 0 0 24px 24px;
  background: #f8fafc;
}

.filter-dropdown__reset {
  text-decoration: none;
  color: #6b7280;
  font-weight: 600;
}

.filter-dropdown__apply {
  border: none;
  border-radius: 12px;
  background: #0f66ff;
  color: #fff;
  font-weight: 600;
  padding: 8px 20px;
  cursor: pointer;
}


.filter-dropdown__section {
  margin-bottom: 20px;
}

.filter-dropdown__section:last-of-type {
  margin-bottom: 0;
}

.filter-dropdown__section-title {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #d4d4d8;
  font-weight: 600;
  font-size: 1.5rem;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
}

.filter-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-pill.is-active,
.filter-pill:hover {
  border-color: #0f66ff;
  color: #0f172a;
  background: rgba(15, 102, 255, 0.08);
}

.filter-dropdown__checkboxes--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.filter-dropdown__checkboxes--grid label {
  font-weight: 600;
  font-size: 1.5rem;
  color: #0f172a;
}

.filter-dropdown__section input[type="date"] {
  width: 100%;
  border: 1px solid #d4d4d8;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 1.5rem;
}


@media (max-width: 640px) {
  .real-filter-buttons {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: visible;
    padding-bottom: -10px;
    justify-content: center;
    padding: 0px 0px;   /* 버튼 작게 */
    font-size: 12px;
  }

  .filter-chip,
  .filter-chip--dropdown summary {
    width: auto;
    justify-content: center;
  }

  .filter-chip--dropdown summary {
    padding: 8px;
  }

  .filter-dropdown {
    position: fixed;
    inset: 0;
    margin: 0;
    padding: 64px 10px 16px;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: #fff;
    transform: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 9999;
  }

  .filter-dropdown__scroll {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    padding: 24px 0 4px;
  }

  .filter-dropdown__actions {
    margin-top: 16px;
    padding: 12px 8px;
  }

  .filter-dropdown__close {
    display: inline-flex;
    position: absolute;
    top: 12px;
    right: 12px;
  }
}

.real-mobile-search {
  display: none;
}

@media (max-width: 768px) {
  .filter-chip__icon--mobile-only {
    display: inline-flex;
  }

  .filter-chip__icon--desktop {
    display: none;
  }

  .filter-chip--search {
    padding: 10px 12px;
    min-height: 44px;
    height: 44px;
    line-height: 1.3;
    box-sizing: border-box;
  }

  .real-mobile-search {
    display: block;
    margin-bottom: 12px;
  }

  .real-mobile-search__field {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d4d4d8;
    border-radius: 18px;
    font-size: 0.95rem;
    min-height: 44px;
    box-sizing: border-box;
  }

  .real-filter-buttons .filter-chip--search {
    display: none;
  }

  .real-filter-buttons {
    flex-wrap: wrap;
    gap: 8px;
    overflow-x: visible;
    padding-bottom: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: center;
  }

  .real-filter-buttons .filter-chip--dropdown {
    flex: 0 0 auto;
    display: inline-block;
  }

  .real-filter-buttons .filter-chip--dropdown summary {
    width: 30px;
    height: 30px;
    padding: 6px;
    margin-bottom:10px;
    justify-content: center;
    gap: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  .real-filter-buttons .filter-chip--dropdown summary .filter-chip__icon {
    margin-right: 0;
  }

  .real-filter-buttons .filter-chip--dropdown summary .filter-chip__arrow,
  .real-filter-buttons .filter-chip--dropdown summary span:not(.filter-chip__icon) {
    display: none;
  }

  .filter-chip__icon--mobile-only i {
    font-size: 14px;
  }
}


.real-results {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.real-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.real-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.real-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.real-card__media {
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
  height: 175px;
}

.real-card__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.real-card__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.real-card__slide.is-active {
  opacity: 1;
}

.real-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.real-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #0f66ff;
  background: #e0e8ff;
}

.real-card__like-floating {
  top: 12px;
  right: 12px;
  z-index: 3;
}

.real-card__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.real-card__nav--prev {
  left: 10px;
}

.real-card__nav--next {
  right: 10px;
}

.real-card__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.real-card__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  padding: 0;
  cursor: pointer;
}

.real-card__dots button.is-active {
  background: #0f66ff;
}

.real-card__media-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.real-card__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.real-card__title {
  margin: 0;
  font-size: 1.8rem;
  color: #0f172a;
  line-height: 1.2;
}

.real-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.real-card__price-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.real-card__price {
  font-size: 1.9rem;
  font-weight: 800;
  color: #0f172a;
}

.real-card__price-period {
  font-size: 1.3rem;
  color: #475569;
}

.real-card__status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 12px;
  background: #e6f0ff;
  color: #0f66ff;
  font-weight: 700;
  font-size: 1.2rem;
}

.real-card__like-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f172a;
}

.real-card__chips {
  margin: 0;
  color: #475569;
  font-size: 1.4rem;
}

.real-card__meta {
  margin: 0;
  color: #1f2937;
  font-weight: 600;
}

.real-card__quickfacts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  color: #475569;
  font-size: 1.3rem;
}

.real-card__quickfacts li + li::before {
  content: '|';
  margin: 0 6px 0 0;
  color: #cbd5e1;
}

.real-card__cta {
  margin-top: 6px;
  align-self: flex-start;
  text-decoration: none;
  color: #0f66ff;
  font-weight: 700;
  font-size: 1.35rem;
}

.real-pagination {
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 0 24px;
}

.real-pagination ul {
  display: flex;
  list-style: none;
  gap: 8px;
  padding: 0;
}

.real-pagination ul li {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 6px 16px;
}

.real-pagination ul li span,
.real-pagination ul li a {
  text-decoration: none;
  color: #0f172a;
}

.real-pagination ul li .current {
  background: #0f66ff;
  color: #fff;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .real-results {
    grid-template-columns: 1fr;
  }

  .real-list__item a {
    grid-template-columns: 1fr;
  }

  .real-list__thumb img,
  .real-list__thumb span {
    width: 100%;
    height: 200px;
  }
}
.market-card__status {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #1d4ed8;
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 6px 14px;
  border-radius: 999px;
}

.market-card__status--sold {
  background: #0f69ff;
  font-size: 1.6rem;
  padding: 8px 16px;
}

.market-card__status--pending {
  background: #1d4ed8;
}
.rent-space-toggle {
  display: inline-flex;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  overflow: hidden;
}

.rent-space-toggle__btn {
  border: none;
  background: transparent;
  padding: 10px 22px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}

.rent-space-toggle__btn + .rent-space-toggle__btn {
  border-left: 1px solid #d1d5db;
}

.rent-space-toggle__btn.is-active {
  background: #e0edff;
  color: #0f66ff;
}

/* Job board + search */
.job-board {
  padding: 48px 0 72px;
}

.page-template-page-job-listings .page-header,
.page-template-page-job-listings .entry-header,
.page-template-page-job-listings .bloghash-breadcrumb,
.page-template-page-job-listings .site-breadcrumbs,
.page-template-page-news .page-header,
.page-template-page-news .entry-header,
.page-template-page-news .bloghash-breadcrumb,
.page-template-page-news .site-breadcrumbs,
.home.blog .page-header,
.home.blog .entry-header,
.home.blog .bloghash-breadcrumb,
.home.blog .site-breadcrumbs {
  display: none;
}

.page-template-page-job-submit .page-header,
.page-template-page-job-submit .entry-header,
.page-template-page-job-submit .bloghash-breadcrumb,
.page-template-page-job-submit .site-breadcrumbs {
  display: none;
}

.single-job-listing .page-header,
.single-job-listing .entry-header,
.single-job-listing .bloghash-breadcrumb,
.single-job-listing .site-breadcrumbs {
  display: none;
}

.job-board__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.job-board__headline-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.job-board__headline h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.job-board__cta {
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 700;
  background: #0f66ff;
  color: #fff;
  box-shadow: 0 10px 25px rgba(15, 102, 255, 0.25);
  transition: background 0.2s ease;
}

.job-board__cta:hover {
  background: #0c55d1;
}

.job-board__kicker {
  margin: 0;
  font-weight: 600;
  color: #2563eb;
}

.job-tier {
  margin-top: 56px;
}

.job-tier__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.job-tier__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  background: var(--bh-accent, #2563eb);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.job-tier--gold .job-tier__badge {
  background: linear-gradient(135deg, #facc15, #f97316);
}

.job-tier--normal .job-tier__badge {
  background: #94a3b8;
}

.job-grid {
  display: grid;
  gap: 20px;
}

.job-grid--simple {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-bottom: 40px;
}

.job-card__tier-label {
  display: none;
}

.job-card__title,
.job-card__company,
.job-card__address,
.job-card__tags,
.job-card__meta-line,
.job-card__details,
.job-card__salary {
  font-size: 1.5rem;
}

.job-card__title {
  margin: 4px 0 0;
  font-size: 1.75rem;
  line-height: 1.5;
  white-space: normal;
}

.job-card__meta-line {
  font-size: 1.35rem;
}

.job-card__tags {
  font-size: 1.2rem;
}

.job-grid--diamond {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.job-grid--gold {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.job-grid--normal {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.job-card {
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  position: relative;
}

.job-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.job-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
  background: #e2e8f0;
}

.job-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1d4ed8;
  background: linear-gradient(130deg, #c7d2fe, #bfdbfe);
}

.job-card__tier-label {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: rgba(15, 23, 42, 0.6);
}

.job-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 24px;
}

.job-card__meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #475569;
}

.job-card__pill {
  padding: 4px 12px;
  border-radius: 999px;
  background: #e0edff;
  color: #1d4ed8;
  font-weight: 600;
}

.job-card__salary {
  display: block;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
  flex: 1 0 100%;
}

.job-card__meta-line .job-card__salary {
  margin-top: 4px;
}

.job-card__details .job-card__salary {
  margin-top: 2px;
}

.job-card__company {
  margin: 0;
  font-weight: 600;
  color: #0f172a;
}

.job-card__address {
  margin: 0;
  color: #475569;
}

.job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #2563eb;
}

@media (max-width: 1200px) {
  .job-grid--simple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (max-width: 640px) {
  .job-grid--simple {
    grid-template-columns: minmax(0, 1fr);
  }
}

.job-card--list {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.job-card--list .job-card__link {
  flex-direction: row;
  align-items: stretch;
  gap: 18px;
}

.job-card--list .job-card__media {
  flex: 0 0 220px;
  aspect-ratio: 4 / 3;
  border-bottom: none;
  border-right: 1px solid #e2e8f0;
}

.job-card--list .job-card__body {
  flex: 1;
  padding-right: 0;
}

.job-card__excerpt {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
}

.job-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
  color: #0f172a;
}

.job-card__aside {
  flex: 0 0 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px 22px;
  gap: 12px;
}

.job-card__posted {
  font-size: 0.85rem;
  color: #94a3b8;
}

.job-search {
  padding: 48px 0 72px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.job-search__header h1 {
  margin-bottom: 8px;
}

.job-toolbar {
  margin-top: 12px;
  margin-bottom: 32px;
}

.job-toolbar__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.job-toolbar__search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  width: 100%;
}

.job-toolbar__search input {
  flex: 1;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 1rem;
  color: #0f172a;
  outline: none;
  background: #fff;
  min-width: 0;
}

.job-toolbar__search input::placeholder {
  color: #9ca3af;
}

.job-toolbar__submit {
  border: none;
  background: none;
  font-weight: 600;
  color: #0f66ff;
  cursor: pointer;
  white-space: nowrap;
}

.job-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.job-toolbar__reset-all {
  border: none;
  background: none;
  color: #2563eb;
  font-weight: 600;
  cursor: pointer;
}

.job-dropdown {
  position: relative;
}

.job-dropdown summary {
  list-style: none;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 1.6rem;
  color: #0f172a;
  background: #fff;
  min-height: 42px;
}

.job-dropdown summary::-webkit-details-marker {
  display: none;
}

.job-dropdown__counter {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #0f66ff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.job-dropdown[open] {
  z-index: 20;
}

.job-dropdown__panel {
  position: absolute;
  top: calc(100% + 12px);
  min-width: 240px;
  padding: 18px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.job-dropdown--conditions .job-dropdown__panel {
  left: auto;
  right: 0;
  transform: none;
}

.job-dropdown--experience .job-dropdown__panel {
  left: auto;
  right: 0;
  transform: none;
}

.job-dropdown__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 1.6rem;
  color: #0f172a;
}

.job-dropdown__option input {
  accent-color: #0f66ff;
}

.job-dropdown__actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.job-dropdown__reset {
  border: none;
  background: none;
  color: #6b7280;
  font-weight: 600;
  cursor: pointer;
}

.job-dropdown__apply {
  border: none;
  border-radius: 12px;
  padding: 8px 20px;
  background: #0f66ff;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.job-dropdown--experience .job-dropdown__apply {
  border-radius: 12px;
}

.job-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}

.job-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  margin: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  overflow: hidden;
}

.job-toggle__control {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #e2e8f0;
  position: relative;
  transition: background 0.2s ease;
}

.job-toggle__control::after {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

.job-toggle input:checked + .job-toggle__control {
  background: #0f66ff;
}

.job-toggle input:checked + .job-toggle__control::after {
  transform: translateX(20px);
}

.job-toggle.is-checked .job-toggle__control {
  background: #0f66ff;
}

.job-toggle.is-checked .job-toggle__control::after {
  transform: translateX(20px);
}

.job-toggle__label {
  font-size: 1.6rem;
  color: #0f172a;
}

@media (max-width: 640px) {
  .job-hero__cta {
    width: 100%;
    text-align: center;
  }

  .job-toolbar__search {
    border-radius: 24px;
  }

  .job-dropdown__panel {
    position: static;
    margin-top: 8px;
    width: 100%;
    transform: none;
    left: 0;
  }

}

.job-board__empty {
  padding: 32px;
  text-align: center;
  border: 1px dashed #cbd5f5;
  border-radius: 18px;
  color: #475569;
  font-weight: 600;
}

.job-submit {
  padding: 48px 0 72px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.job-submit__hero h1 {
  margin-bottom: 12px;
}

.job-submit__notice {
  padding: 16px 20px;
  border-radius: 16px;
  font-weight: 600;
}

.job-submit__notice--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.job-submit__notice--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.job-submit__layout {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 32px;
}

.job-submit__info {
  padding: 24px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.job-submit__steps {
  margin: 16px 0;
  padding-left: 20px;
  color: #0f172a;
}

.job-submit__contact ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.job-submit__form {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.07);
}

.job-submit__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px 20px;
}

.job-submit__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.job-submit__field label {
  font-weight: 600;
  font-size: 1.8rem;
  color: #0f172a;
}

.job-submit__label-required {
  color: #ef4444;
  margin-left: 6px;
  font-size: 1.2rem;
}

.job-submit__field input,
.job-submit__field select,
.job-submit__field textarea {
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 10px 14px;
  font-size: 0.95rem;
  width: 100%;
}

.job-submit__field select {
  font-size: 1.7rem;
}

.job-submit__field textarea#job-description {
  font-size: 1.7rem;
}

.job-submit__field--full {
  grid-column: 1 / -1;
}

.job-submit__field--toggle label {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.job-submit__field--always {
  margin-top: 40px;
}

.job-submit__field-tip {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.job-submit .rent-upload__dropzone {
  color: #0f172a;
}

.job-submit__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: 40px;
  gap: 10px;
}

.job-submit__submit {
  border: none;
  border-radius: 999px;
  padding: 12px 32px;
  background: #0f66ff;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  cursor: pointer;
}

.job-submit__submit--muted {
  background: #e5e7eb;
  color: #111827;
}

@media (max-width: 991px) {
  .job-submit__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .job-toolbar__row {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
  }

  .job-toolbar__filters {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .job-toolbar__search {
    flex: 1 0 220px;
    min-width: 200px;
    width: auto;
  }

  .job-submit__form,
  .job-submit__info {
    padding: 20px;
  }

  .job-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.job-search__filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  color: #475569;
}

.job-search__filters input,
.job-search__filters select {
  border: 1px solid #cbd5f5;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 1rem;
}

.job-search__submit {
  align-self: end;
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  background: var(--bh-accent, #2563eb);
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.job-search__result-line {
  margin: 0;
  font-weight: 600;
  color: #475569;
}

/* Hide sidebar widgets on search results */
body.search .site-sidebar,
body.search .widget-area {
  display: none;
}

body.search .content-area {
  width: 100%;
}

.job-results {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.job-search__empty {
  padding: 32px;
  border-radius: 24px;
  text-align: center;
  background: #fef3c7;
  color: #92400e;
  font-weight: 600;
}

.job-search__pagination ul {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.job-search__pagination a,
.job-search__pagination span {
  min-width: 40px;
  padding: 8px 12px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.job-search__pagination .current {
  background: #1d4ed8;
  color: #fff;
  border-color: transparent;
}

@media (max-width: 768px) {
  .job-card--list .job-card__link {
    flex-direction: column;
  }
  .job-card--list .job-card__media {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
  .job-card__aside {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Job single detail layout */
.job-single {
  background: #f3f5fb;
  padding: 48px 0 80px;
}

.job-single__card {
  background: #fff;
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

.job-single__hero {
  display: grid;
  grid-template-columns: auto 1fr 220px;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #edf2f7;
}

.job-single__hero--no-media {
  grid-template-columns: 1fr 220px;
}

.job-single__brand {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: linear-gradient(145deg, #f0f4ff, #dee8ff);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.job-single__brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.job-single__brand-placeholder {
  padding: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  color: #1d4ed8;
  line-height: 1.4;
  word-break: keep-all;
}

.job-single__intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-single__eyebrow {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #94a3b8;
}

.job-single__company {
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0;
}

.job-single__title {
  margin: 0;
  font-size: clamp(2.8rem, calc(3vw + 0.8rem), 3.4rem);
  line-height: 1.25;
}

.job-single__location {
  margin: 0;
  color: #475569;
  font-size: 1.8rem;
}

.job-single__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 6px 0 0;
  list-style: none;
}

.job-single__chip,
.job-single__chip--emphasis,
.job-single__chip--outline {
  background: #f8fafc;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 1.75rem;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

.job-single__card--hk {
  padding: 0;
  overflow: hidden;
}

.job-single__hero--hk {
  background: linear-gradient(130deg, #f9fbff, #ecf1ff);
  padding: 40px;
  border-bottom: none;
  display: block;
}

.job-single__hero--hk.job-single__hero--no-media {
  display: block;
}

.job-single__intro-wrap--hk {
  display: flex;
  gap: 32px;
  align-items: stretch;
  flex-wrap: wrap;
}

.job-single__gallery {
  flex: 0 0 360px;
  max-width: 500px;
  border-radius: 24px;
  overflow: hidden;
  margin-right: 32px;
  height: 100%;
  background: #fff;
}
.job-single__gallery .listing-gallery__track {
  height: 100%;
}
.job-single__gallery .listing-gallery__slide {
  height: 100%;
}
.job-single__gallery .listing-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-single__intro-wrap--hk.has-media {
  align-items: flex-start;
}

.job-single__brand--hero {
  flex: 0 0 120px;
}

.job-single__intro-wrap--hk .job-single__intro {
  flex: 1 1 320px;
}

.job-single__intro--hk {
  gap: 14px;
}

.job-single__intro-top {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.job-single__posted {
  font-size: 1.4rem;
  color: #475569;
}

.job-single__chips--hk {
  margin-top: 12px;
}

.job-single__chip--hk {
  font-size: 1.4rem;
  padding: 6px 14px;
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.05);
}

.job-single__layout--hk {
  display: flex;
  gap: 32px;
  padding: 32px 40px 40px;
}

.job-single__main--hk {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.job-single__sidebar--hk {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.job-single__hero-panel {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.job-single__hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-single__hero-stats li {
  display: flex;
  flex-direction: column;
  font-size: 1.4rem;
  color: #94a3b8;
}

.job-single__hero-stats strong {
  font-size: 1.8rem;
  color: #0f172a;
}

.job-single__badge--hero {
  align-self: flex-start;
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 1.3rem;
  font-weight: 600;
}


.job-single__section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.job-single__section-header h2 {
  margin: 0;
}

.job-single__details-grid--hk {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.job-single__details-grid--hk div {
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #edf2f7;
}

.job-single__details-grid--hk dt {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 6px;
}

.job-single__details-grid--hk dd {
  margin: 0;
  font-size: 1.8rem;
  color: #0f172a;
  font-weight: 600;
}

.job-single__content--hk {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #1f2937;
}

.job-single__tags--hk {
  gap: 10px;
}

.job-single__tags--hk li {
  background: #f3f4ff;
  color: #4c1d95;
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 1.4rem;
}

.job-single__badge--muted {
  background: #f8fafc;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 1.3rem;
  color: #475569;
}

.job-single__hero-actions {
  margin-top: 10px;
}

.job-single__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 1.8rem;
  background: #0f66ff;
  color: #fff;
  text-decoration: none;
}

.job-single__cta--ghost {
  width: 100%;
  margin-top: 16px;
  background: #0f66ff;
  color: #fff;
  border: none;
  cursor: pointer;
}

.job-single__cta--primary {
  display: inline-flex;
  width: auto;
  padding: 12px 24px;
  align-self: flex-start;
}
.job-single__cta--primary.is-hidden {
  display: none;
}

.job-single__cta--disabled {
  background: #e2e8f0;
  color: #475569;
  border: none;
  cursor: not-allowed;
}
.job-single__cta--disabled:hover,
.job-single__cta--disabled:focus,
.job-single__cta--disabled:active {
  background: #e2e8f0;
  color: #475569;
}

.job-single__cta-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: auto;
  display: none;
  justify-content: center;
  padding: 14px 28px;
  z-index: 900;
  border: none;
}


.job-single__hero-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
}

.job-single__badge {
  align-self: flex-end;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 1.65rem;
  font-weight: 600;
}

.job-single__badge--active {
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
}

.job-single__badge--closed {
  background: rgba(248, 113, 113, 0.18);
  color: #b91c1c;
}

.job-single__badge--always {
  background: rgba(59, 130, 246, 0.18);
  color: #1d4ed8;
}

.job-single__meta-line {
  margin: 0;
  font-size: 1.75rem;
  color: #475569;
}

.job-single__meta-line strong {
  display: block;
  color: #0f172a;
}

.job-single__layout {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.job-single__main {
  flex: 1 1 auto;
}

.job-single__section {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.job-single__section--content {
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  box-shadow: none;
}

.job-single__section + .job-single__section {
  margin-top: 28px;
}

.job-single__section h2 {
  margin: 0 0 18px;
  font-size: 2.05rem;
}

.job-single__content {
  color: #1e293b;
  line-height: 1.8;
  font-size: 1.8rem;
}

.job-single__content ul {
  padding-left: 1.2rem;
}

.job-single__content--muted {
  color: #94a3b8;
}

.job-single__divider {
  border-bottom: 1px solid #e2e8f0;
  margin: 24px 0;
}

.job-single__section-title {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
}

.job-single__map {
  margin-top: 32px;
}

.job-single__map iframe {
  border: 0;
  width: 100%;
  height: 420px;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.job-single__details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 0;
}

.job-single__details-grid div {
  background: #f8fafc;
  border-radius: 18px;
  padding: 14px 16px;
}

.job-single__details-grid dt {
  margin: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.08em;
}

.job-single__details-grid dd {
  margin: 4px 0 0;
  font-weight: 600;
  color: #0f172a;
  font-size: 1.8rem;
}

.job-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.job-single__tags li {
  background: #eef2ff;
  color: #3730a3;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 1.7rem;
}

.job-single__sidebar {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 24px;
}

.job-single__sidebar-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.job-single__sidebar-card h2 {
  margin-top: 0;
  font-size: 1.9rem;
}

.job-single__contact--compact {
  padding-top: 0;
  padding-bottom: 24px;
}

.job-single__contact--compact h2 {
  display: none;
}

.job-single__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-single__contact-list span {
  display: block;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.job-single__contact-list strong,
.job-single__contact-list a {
  font-size: 1.8rem;
  color: #0f172a;
  word-break: break-word;
}

.job-single__contact-list a {
  text-decoration: none;
  color: #2563eb;
}

.job-single__author-header {
  display: flex;
  gap: 16px;
  align-items: center;
}

.job-single__author-avatar {
  border-radius: 10%;
  overflow: hidden;
}

.job-single__author-label {
  margin: 0;
  font-size: 1.65rem;
  color: #94a3b8;
}

.job-single__author h3 {
  margin: 0;
}

.job-single__author-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.7rem;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.job-single__author-job-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-single__author-job a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.job-single__author-job a:hover {
  border-color: #2563eb;
  transform: translateY(-2px);
}

.job-single__author-job h3 {
  margin: 0 0 4px;
  font-size: 1.8rem;
}

.job-single__author-job-company {
  margin: 0 0 8px;
  color: #475569;
  font-size: 1.72rem;
}

.job-single__author-job-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 1.65rem;
  color: #475569;
}

.job-single__author-job-meta li {
  background: #f8fafc;
  border-radius: 999px;
  padding: 4px 10px;
}

.job-single__empty {
  margin: 0;
  color: #94a3b8;
  font-size: 1.7rem;
}

@media (max-width: 1024px) {
  .job-single__hero {
    grid-template-columns: auto 1fr;
  }
  .job-single__hero-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
  }
  .job-single__meta-line {
    text-align: left;
  }
}
@media (max-width: 1024px) {
  .job-single__layout {
    flex-direction: column;
  }
  .job-single__sidebar {
    flex-basis: auto;
  }
  .job-single__hero--hk {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .job-single__layout--hk {
    flex-direction: column;
    padding: 28px;
  }
  .job-single__sidebar--hk {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .job-single__card {
    padding: 28px;
    border-radius: 20px;
  }
  .job-single__card--hk {
    padding: 0;
  }
  .job-single__hero {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .job-single__card--hk .job-single__hero {
    padding: 28px;
  }
  .job-single__brand {
    width: 90px;
    height: 90px;
  }
  .job-single__hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .job-single__section {
    padding: 24px;
  }
}

@media (max-width: 1024px) {
  .job-single__layout {
    flex-direction: column;
  }
  .job-single__main {
    order: 2;
  }
  .job-single__sidebar {
    order: 1;
    width: 100%;
  }
  .job-single__author-jobs {
    display: none;
  }
  .job-single__author {
    display: none;
  }
  .job-single__cta--ghost:not(.job-single__cta--modal) {
    display: none;
  }
  .job-single__cta-floating {
    display: inline-flex;
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    justify-content: center;
    padding: 14px 28px;
    z-index: 1001;
    border: none;
  }
  .job-single {
    padding-bottom: 40px;
  }
  .job-single__cta-floating {
    font-size: 1.6rem;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 12px 16px;
  }
  .job-single__cta-floating {
    font-size: 1.6rem;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 12px 16px;
  }
  .job-single__section,
  .job-single__sidebar-card {
    box-shadow: none;
    border: none;
  }
}

.job-single__cta-floating {
  pointer-events: auto;
}

body.job-modal-open .job-single__cta-floating:not(.job-single__cta--modal-floating) {
  display: none !important;
}

.job-apply-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.job-apply-modal.is-active {
  display: flex;
}

.job-apply-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
}

.job-apply-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  width: min(50vw, 640px);
  max-width: 90vw;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
  z-index: 1;
}

@media (max-width: 960px) {
  .job-apply-modal__dialog {
    width: min(70vw, 520px);
  }
}

@media (max-width: 720px) {
  .job-apply-modal__dialog {
    width: min(88vw, 480px);
    max-height: 82vh;
  }
}

.job-apply-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.job-apply-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-apply-modal__form label {
  display: flex;
  flex-direction: column;
  font-size: 1.8rem;
  color: #475569;
  gap: 6px;
}

.job-apply-modal__form input,
.job-apply-modal__form textarea {
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1.75rem;
  width: 100%;
}

.job-apply-modal__file input[type="file"] {
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1.6rem;
  background: #f8fafc;
}

.job-single__cta--modal {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}

.job-apply-modal__note {
  margin: 0;
  font-size: 1.4rem;
  color: #94a3b8;
}

.job-apply-modal__response {
  min-height: 1.5em;
  font-size: 1.5rem;
  font-weight: 600;
}

.job-apply-modal__response.is-error {
  color: #e11d48;
}

.job-apply-modal__response.is-success {
  color: #15803d;
}

.fb-saved-card__type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  background: #eef5ff;
  color: #0f66ff;
  letter-spacing: 0.02em;
}

.fb-saved-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fb-saved-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.fb-saved-card__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.fb-saved-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.fb-saved-card__media {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  background: #def4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f6efd;
  text-transform: none;
  overflow: hidden;
  position: relative;
}

.fb-saved-card__thumb {
  font-size: 1.4rem;
}

.fb-saved-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.fb-saved-card__media,
.fb-saved-card__body {
  flex: 0 0 auto;
}

.fb-saved-card__body {
  flex: 1;
  justify-content: center;
}

.fb-saved-card__excerpt {
  margin: 0px 0 0;
  font-size: 1.4rem;
  color: #64748b;
  line-height: 1.6;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 70%;
  text-overflow: ellipsis;
}

/* News listings */
.news-page {
  background: #f5f7fb;
  padding: 48px 0 64px;
}

.news-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.news-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.news-card {
  display: block;
  border-radius: 28px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.news-card__media {
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(14, 165, 233, 0.25));
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
}
.news-card__media img {
  border-radius: 28px;
  object-fit: cover;
}
.news-card__media img,
.news-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.news-card__body {
  padding: 24px;
}

@media (max-width: 640px) {
  .bloghash-blog {
    padding: 0;
  }

  .bloghash-blog-entry-wrapper,
  .page-template-page-news .bloghash-blog-entry-wrapper,
  .post-type-archive-news-listing .bloghash-blog-entry-wrapper,
  .home.blog .bloghash-blog-entry-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .bloghash-blog-entry-wrapper .bloghash-article,
  .page-template-page-news .bloghash-article,
  .post-type-archive-news-listing .bloghash-article,
  .home.blog .bloghash-article {
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    width: 100%;
  }

  .bloghash-article .bloghash-entry-content-wrapper,
  .bloghash-article .entry-media {
    width: 100%;
  }

  .bloghash-article .entry-media {
    aspect-ratio: 1 / 1;
    border-radius: 0;
  }

  .bloghash-article .bloghash-entry-content-wrapper {
    padding: 8px 12px 12px;
  }

  .bloghash-article .entry-title,
  .bloghash-article .entry-media {
    min-height: 0;
  }
}

.news-card__category {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 8px;
}

.news-card h2,
.news-card h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  color: #0f172a;
}
.news-card--feature h2 {
  font-size: 2.4rem;
  line-height: 1.25;
}

.news-card p {
  margin: 0 0 12px;
  color: #475569;
  line-height: 1.6;
}

.news-hero__tags span {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.news-hero__bullets,
.news-card__bullets {
  list-style: disc;
  margin: 0;
  padding-left: 1.4rem;
  color: #1f2937;
}

.news-hero__bullets li {
  margin-bottom: 4px;
  font-size: 1rem;
}

.news-card__bullets li {
  margin-bottom: 2px;
  font-size: 0.95rem;
  color: #475569;
}

.news-card__meta {
  display: flex;
  gap: 16px;
  font-size: 0.95rem;
  color: #94a3b8;
}

.news-hero__right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.news-card--spotlight h3 {
  font-size: 1.3rem;
}

.news-hero__right-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.news-card--spotlight-small h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.news-hero__secondary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.news-card--secondary h3 {
  font-size: 1.1rem;
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.news-section {
  background: #fff;
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
}

.news-section h2 {
  margin: 0 0 18px;
  font-size: 1.4rem;
}

.news-headline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-headline-list a {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  color: #1e293b;
  font-weight: 600;
}

.news-headline-list span {
  font-weight: 400;
  color: #94a3b8;
  font-size: 0.9rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.news-card--grid h3 {
  font-size: 1.2rem;
}

.news-pagination {
  margin-top: 16px;
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #cbd5f5;
  margin-right: 8px;
}

.news-pagination .current {
  background: #2563eb;
  color: #fff;
  border-color: transparent;
}
/* News submit */
.news-submit {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}
.news-submit__hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}
.news-submit__form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.news-submit__form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
}
.news-submit__form input,
.news-submit__form textarea {
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 10px 12px;
  font-size: 1rem;
}
.news-submit__form textarea {
  min-height: 200px;
}
.news-submit__full {
  grid-column: 1 / -1;
}
.news-submit__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}
.news-submit__actions button {
  border: none;
  border-radius: 999px;
  padding: 12px 30px;
  font-weight: 700;
  background: #0f66ff;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .news-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .news-hero__side {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .news-card__body {
    padding: 18px;
  }
  .news-section {
    padding: 18px;
  }
  .news-card h2,
  .news-card h3 {
    font-size: 1.2rem;
  }
}
.job-single__cta-floating {
  pointer-events: auto;
}

body.job-modal-open .job-single__cta-floating:not(.job-single__cta--modal-floating) {
  display: none !important;
}
.news-hero__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.news-card--list {
  display: flex;
  gap: 16px;
  align-items: stretch;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.news-card--list .news-card__media {
  width: 180px;
  padding-top: 0;
  height: 120px;
  border-radius: 20px 0 0 20px;
}

.news-card--list .news-card__body {
  padding: 18px;
}

.news-card--grid h3 {
  font-size: 1.2rem;
}

/* Community single detail */
.community-single {
  width: 90vw;
  max-width: none;
  margin: 0 auto;
  padding: 36px 32px 80px;
}


.community-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(100px, 0.6fr);
  gap: 24px;
  align-items: flex-start;
}

.community-single__main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: -70px;
}

.community-single__main > * {
  width: 100%;
  max-width: min(65vw, 1300px);
  margin-left: auto;
  margin-right: auto;
}

.community-single__sidebar {
  align-self: flex-start;
}

.community-popular {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  border: 1px solid #eef2ff;
  position: sticky;
  top: 96px;
  margin-top: -70px;
  width: 300px;
}

.community-popular__heading h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #0f172a;
}

.community-popular__heading p {
  margin: 6px 0 0;
  color: #94a3b8;
  font-size: 1.2rem;
}

.community-popular__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 0;
}

.community-popular__item {
  border: 1px solid #edf2ff;
  border-radius: 18px;
  padding: 14px;
  background: #fff;
  transition: border-color 0.2s ease;
  box-shadow: none;
}

.community-popular__item:hover {
  border-color: #cbd5f5;
}

.community-popular__link {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.community-popular__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: none;
  flex-shrink: 0;
}

.community-popular__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-popular__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.community-popular__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.community-popular__channel {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2563eb;
}

.community-popular__title {
  font-size: 1.3rem;
  color: #0f172a;
}

.community-popular__excerpt {
  display: block;
  font-size: 1.2rem;
  color: #475569;
  line-height: 1.5;
}

.community-popular__stat {
  font-size: 1.1rem;
  color: #94a3b8;
}

.community-popular__empty {
  margin: 16px 0 0;
  text-align: center;
  color: #94a3b8;
  font-size: 1.2rem;
}

.community-single__question-card,
.community-single__recommended,
.community-single__answer {
  background: #fff;
  border-radius: 15px;
}

.community-single__question-card,
.community-single__recommended,
.community-single__answer{
  margin-top: 0;
}

.community-single__question-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.community-single__layout--talk .community-single__main {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.community-single__layout--talk .community-single__question-card,
.community-single__layout--talk .community-single__recommended {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.community-single__layout--talk .community-single__answers {
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid #e5e7eb;
}

.community-single__layout--talk .community-single__answer {
  background: transparent;
  box-shadow: none;
  padding: 12px 0;
  border: none;
  border-top: 1px solid #f1f5f9;
  border-bottom: none;
  border-radius: 0;
  gap: 2px;
}

.community-single__layout--talk .community-single__answer:first-of-type {
  border-top: none;
  padding-top: 0;
}

.community-single__layout--talk .community-single__answer-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  margin-left: 44px;
  margin-bottom: 4px;
}

.community-single__layout--talk .community-single__answer-header {
  gap: 10px;
  align-items: center;
}

.community-single__layout--talk .community-single__answer-avatar img {
  width: 34px;
  height: 34px;
}

.community-single__layout--talk .community-single__answer-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.community-single__layout--talk .community-single__answer-author strong {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
}

.community-single__layout--talk .community-single__answer-meta {
  font-size: 1.2rem;
  color: #9ca3af;
}

.community-single__layout--talk .community-single__answer-body {
  margin-left: 44px;
  font-size: 1.4rem;
  color: #111827;
  line-height: 1.5;
  margin-top: 2px;
  margin-bottom: 0;
}

.community-single__question-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.community-single__question-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.community-single__channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: #ecf2ff;
  color: #2563eb;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.1rem;
  width: fit-content;
}

.community-single__title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 12px 0 0;
  color: #0f172a;
}

.community-single__question-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.community-single__asker {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.community-single__asker img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: none;
}

.community-single__asker strong {
  display: block;
  font-size: 1.3rem;
  color: #0f172a;
}

.community-single__asker span {
  font-size: 1rem;
  color: #94a3b8;
}

.community-single__question-stats {
  display: inline-flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #94a3b8;
  font-size: 1.1rem;
}

.community-single__question-stats li {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.community-single__content {
  font-size: 1.7rem;
  line-height: 1.75;
  color: #1f2937;
}

.community-single__content p {
  margin: 0 0 16px;
}

.community-single__question-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.community-single__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  color: #1d4ed8;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.community-single__pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.community-single__actions {
  display: inline-flex;
  gap: 8px;
}

.community-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 0px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.community-action--vote {
  padding: 1px 1px;
  gap: 8px;
  min-height: 40px;
  background: #f8fafc;
}

.community-action i {
  font-size: 15px;
}

.community-action--vote:hover,
.community-action--vote:focus-visible {
  background: #f8fafc;
  border-color: #d1d5db;
  color: #111827;
  box-shadow: none;
}

.community-action--bookmark {
  border-color: #d1d5db;
  background: #ffffff;
  color: #374151;
}

.community-action:hover,
.community-action:focus-visible {
  background: rgba(243, 244, 246, 0.6);
  border-color: #d1d5db;
  color: #111827;
}

.community-action--bookmark:hover,
.community-action--bookmark:focus-visible {
  background: rgba(243, 244, 246, 0.6);
  border-color: #d1d5db;
  color: #111827;
}

/* Keep vote pill stable on hover/focus */
.community-action--vote:hover,
.community-action--vote:focus-visible {
  background: #f8fafc;
  border-color: #d1d5db;
  color: #111827;
}

.community-toast {
  position: fixed;
  left: 50%;
  top: 40px;
  transform: translate(-50%, -8px);
  background: linear-gradient(135deg, #2d9cfa, #1d4ed8);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 1.35rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.community-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.community-single__pill--muted {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #475569;
  box-shadow: none;
}

.community-single__answer-form {
  margin-top: 0px;
}

.community-answer-composer {
  border: none;
  border-bottom: 0px solid #e5e7eb;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.community-answer-composer__header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.community-answer-composer__user {
  display: flex;
  gap: 12px;
  align-items: center;
}

.community-answer-composer__avatar {
  border-radius: 50%;
  box-shadow: none;
  border: 2px solid #dbe3f5;
  padding: 2px;
}

.community-single img.avatar {
  border-radius: 50%;
  object-fit: cover;
}

.community-answer-composer__user strong {
  display: block;
  font-size: 1.4rem;
  color: #0f172a;
}

.community-answer-composer__user p {
  margin: 4px 0 0;
  color: #94a3b8;
  font-size: 1.25rem;
}

.community-answer-composer__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.community-answer-composer__form p {
  margin: 0;
}

.community-answer-composer__row {
  width: 100%;
}

.community-answer-composer__form p.comment-form-author,
.community-answer-composer__form p.comment-form-email {
  margin: 0;
}

.community-answer-composer__input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #dbe3f5;
  padding: 12px 16px;
  font-size: 1.4rem;
}

.community-answer-composer__body {
  border: 1px solid #dbe3f5;
  border-radius: 18px;
  background: #f8fafc;
}

.community-answer-composer__textarea {
  width: 100%;
  border: none;
  background: transparent;
  padding: 16px;
  resize: vertical;
  min-height: 200px;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #0f172a;
}

.community-answer-composer__textarea:focus {
  outline: none;
}

.community-single__layout--talk .community-answer-composer__header {
  display: none;
}

.community-single__layout--talk .community-answer-composer__textarea {
  min-height: 30px;
  max-height: 10px;
  padding: 8px 12px;
  resize: none;
  overflow: hidden;
}

.community-single__layout--talk .community-answer-composer__form {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  position: relative;
  margin-top: -40px;
}

.community-single__layout--talk .community-answer-composer__body {
  flex: 1;
  border-radius: 10px;
  position: relative;
}

.community-single__layout--talk .community-answer-composer__submit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.community-answer-composer__submit {
  align-self: flex-end;
  padding: 12px 38px;
  border-radius: 16px;
  background:#1da1f2;
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}

.community-answer-composer__submit:hover {
  background: #1d4ed8;
}

.community-single__recommended {
  margin-top: 32px;
  padding: 24px;
}

.community-single__section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px;
  margin-left: 0px;
}

.community-single__section-heading h2 {
  margin: 0;
  font-size: 1.8rem;
  color: #0f172a;
}

.community-single__layout--talk .community-single__section-heading {
  margin-bottom: 0;
}

.community-single__slider-nav {
  display: inline-flex;
  gap: 8px;
}

.community-single__slider-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  color: #475569;
}

.community-single__recommended-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}

.community-single__recommended-card {
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-snap-align: start;
  background: #fff;
}

.community-single__recommended-channel {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2563eb;
  background: #ecf2ff;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

.community-single__recommended-title {
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  font-size: 1.4rem;
}

.community-single__recommended-title:hover {
  text-decoration: underline;
}

.community-single__recommended-meta {
  font-size: 1.2rem;
  color: #94a3b8;
  margin: 0;
}

.community-single__answers {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.community-single__answer {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #eef2ff;
}

.community-single__answer-header {
  display: flex;
  gap: 12px;
  align-items: center;
}

.community-single__answer-avatar img {
  border-radius: 50%;
  box-shadow: none !important;
}

.community-single__answer-author strong {
  font-size: 1.4rem;
  color: #0f172a;
}

.community-single__answer-meta {
  font-size: 1.2rem;
  color: #94a3b8;
}

.community-single__answer-body {
  font-size: 1.5rem;
  color: #1f2937;
  line-height: 1.7;
}

.community-single__answer-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.community-single__answer-replies {
  font-size: 1.3rem;
  color: #475569;
}

.community-single__answers-empty {
  text-align: center;
  padding: 32px;
  border-radius: 18px;
  background: #f8fafc;
  color: #475569;
  border: 1px dashed #dbe3f5;
}

@media (max-width: 1024px) {
  .community-single__layout {
    grid-template-columns: 1fr;
  }
  .community-single__sidebar {
    margin-top: 24px;
  }
  .community-popular {
    position: static;
    top: auto;
  }
  .community-popular {
    display: none;
  }
}

/* Desktop: nudge the sticky "실시간 인기 TOP 8" box slightly left for visual alignment */
@media (min-width: 1025px) {
  .community-single__sidebar .community-popular,
  .community-single .community-popular {
    transform: translateX(-5px);
  }
}

@media (max-width: 640px) {
  .community-single__question-card {
    padding: 24px;
  }

  .community-single__question-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .community-single__comment-submit {
    width: 100%;
  }

  .community-single__question-actions,
  .community-single__answer-footer {
    flex-direction: column;
    align-items: stretch;
  }

  /* Keep talk answers inline on mobile */
  .community-single__layout--talk .community-single__answer-footer {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
}

/* Mobile: ensure community single pages are centered and use full width padding */
@media (max-width: 768px) {
  .community-single {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .community-single__main > * {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Ensure inner cards don't stretch to the left edge */
  .community-single__main, .community-single__main > * {
    width: 100%;
  }
}

/* -------------------------------------------------------------------------- */
/*   Dark mode palette                                                         */
/* -------------------------------------------------------------------------- */
[data-darkmode="dark"] {
  color-scheme: dark;
}

[data-darkmode="dark"]:root {
  --bh-dark-bg: #1E1F22;
  --bh-dark-surface: #232428;
  --bh-dark-elevated: #313338;
  --bh-dark-muted-surface: #2B2D31;
  --bh-dark-border: #1A1B1E;
  --bh-dark-hover: #3A3C41;
  --bh-dark-text: rgba(255, 255, 255, 0.88);
  --bh-dark-text-secondary: #B5BAC1;
  --bh-dark-text-muted: #949BA4;
  --bloghash-white: var(--bh-dark-text);
  --bloghash-secondary: var(--bh-dark-text);
}

[data-darkmode="dark"] body,
[data-darkmode="dark"] #page,
[data-darkmode="dark"] .site,
[data-darkmode="dark"] .site-main,
[data-darkmode="dark"] .bloghash-page-wrapper,
[data-darkmode="dark"] #bloghash-header,
[data-darkmode="dark"] #colophon,
[data-darkmode="dark"] .community-page,
[data-darkmode="dark"] .site-main--market,
[data-darkmode="dark"] .site-main--sell-buy {
  background-color: var(--bh-dark-bg);
  color: var(--bh-dark-text);
}

[data-darkmode="dark"] p,
[data-darkmode="dark"] li,
[data-darkmode="dark"] .entry-content,
[data-darkmode="dark"] .entry-content p {
  color: var(--bh-dark-text);
}

[data-darkmode="dark"] a {
  color: var(--bh-dark-text-secondary);
}

[data-darkmode="dark"] a:hover,
[data-darkmode="dark"] a:focus {
  color: #ffffff;
}

[data-darkmode="dark"] hr,
[data-darkmode="dark"] .wp-block-separator,
[data-darkmode="dark"] .divider {
  border-color: var(--bh-dark-border);
  color: var(--bh-dark-border);
}

[data-darkmode="dark"] .widget,
[data-darkmode="dark"] .community-sidebar__section,
[data-darkmode="dark"] .community-composer,
[data-darkmode="dark"] .community-notice,
[data-darkmode="dark"] .community-card,
[data-darkmode="dark"] .community-single__question-card,
[data-darkmode="dark"] .community-single__answer-card,
[data-darkmode="dark"] .community-single__sidebar > *,
[data-darkmode="dark"] .community-popular,
[data-darkmode="dark"] .market-hero,
[data-darkmode="dark"] .market-toolbar,
[data-darkmode="dark"] .market-card,
[data-darkmode="dark"] .sell-buy-form-card,
[data-darkmode="dark"] .sell-buy-form .form-row,
[data-darkmode="dark"] .sell-buy-form textarea,
[data-darkmode="dark"] .sell-buy-form input,
[data-darkmode="dark"] .sell-buy-form select,
[data-darkmode="dark"] .sell-buy-errors,
[data-darkmode="dark"] .sell-buy-success,
[data-darkmode="dark"] .job-card,
[data-darkmode="dark"] .news-card,
[data-darkmode="dark"] .listing-card,
[data-darkmode="dark"] .real-estate-card,
[data-darkmode="dark"] [class*="card"],
[data-darkmode="dark"] [class*="Card"],
[data-darkmode="dark"] .bloghash-post-item,
[data-darkmode="dark"] .bloghash-boxed,
[data-darkmode="dark"] .wp-block-group,
[data-darkmode="dark"] .wp-block-cover {
  background-color: var(--bh-dark-surface);
  color: var(--bh-dark-text);
  border-color: var(--bh-dark-border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

[data-darkmode="dark"] .community-channel-toggle,
[data-darkmode="dark"] .community-composer-modal__dialog,
[data-darkmode="dark"] .modal-card,
[data-darkmode="dark"] .market-card__meta {
  background-color: var(--bh-dark-elevated);
  color: var(--bh-dark-text);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

[data-darkmode="dark"] .community-channel,
[data-darkmode="dark"] .market-toolbar select,
[data-darkmode="dark"] .market-toolbar input,
[data-darkmode="dark"] .sell-buy-form select,
[data-darkmode="dark"] .sell-buy-form input,
[data-darkmode="dark"] .sell-buy-form textarea {
  background-color: var(--bh-dark-muted-surface);
  border: 1px solid var(--bh-dark-border);
  color: var(--bh-dark-text);
}

[data-darkmode="dark"] .community-channel__icon {
  background: #313338;
  color: #ffffff;
}

[data-darkmode="dark"] .community-channel__count,
[data-darkmode="dark"] .community-card__meta,
[data-darkmode="dark"] .community-card__stats,
[data-darkmode="dark"] .community-card__footer,
[data-darkmode="dark"] .market-card__address,
[data-darkmode="dark"] .market-card__excerpt,
[data-darkmode="dark"] .sell-buy-form .form-help,
[data-darkmode="dark"] .sell-buy-form .form-row label,
[data-darkmode="dark"] .sell-buy-form small,
[data-darkmode="dark"] .job-card__meta,
[data-darkmode="dark"] .listing-card__meta,
[data-darkmode="dark"] .news-card__meta {
  color: var(--bh-dark-text-muted);
}

[data-darkmode="dark"] .community-channel.is-active,
[data-darkmode="dark"] .community-channel:hover {
  background-color: var(--bh-dark-hover);
  color: var(--bh-dark-text);
}

[data-darkmode="dark"] button,
[data-darkmode="dark"] .bloghash-btn,
[data-darkmode="dark"] .button,
[data-darkmode="dark"] .market-sell-btn,
[data-darkmode="dark"] .community-composer-form__primary,
[data-darkmode="dark"] .community-composer-form__secondary {
  background-color: var(--bh-dark-elevated);
  color: var(--bh-dark-text);
  border-color: var(--bh-dark-border);
}

[data-darkmode="dark"] button:hover,
[data-darkmode="dark"] .bloghash-btn:hover,
[data-darkmode="dark"] .bloghash-btn:focus,
[data-darkmode="dark"] .community-composer-form__primary:hover,
[data-darkmode="dark"] .market-sell-btn:hover,
[data-darkmode="dark"] .sell-buy-form button:hover {
  background-color: var(--bh-dark-hover);
  border-color: var(--bh-dark-hover);
  color: #ffffff;
}

[data-darkmode="dark"] input,
[data-darkmode="dark"] textarea,
[data-darkmode="dark"] select {
  background-color: var(--bh-dark-muted-surface);
  border-color: var(--bh-dark-border);
  color: var(--bh-dark-text);
}

[data-darkmode="dark"] input::placeholder,
[data-darkmode="dark"] textarea::placeholder {
  color: var(--bh-dark-text-muted);
}

[data-darkmode="dark"] table,
[data-darkmode="dark"] th,
[data-darkmode="dark"] td {
  border-color: var(--bh-dark-border);
  background-color: var(--bh-dark-surface);
  color: var(--bh-dark-text);
}

[data-darkmode="dark"] .market-card__overlay {
  background: linear-gradient(180deg, rgba(30, 31, 34, 0) 0%, rgba(30, 31, 34, 0.85) 100%);
}

[data-darkmode="dark"] .community-composer-modal__overlay {
  background: rgba(0, 0, 0, 0.6);
}

[data-darkmode="dark"] .sell-buy-errors {
  border-color: #d97706;
  color: #fff3cd;
}

[data-darkmode="dark"] .sell-buy-success {
  border-color: #15803d;
  color: #dcfce7;
}

[data-darkmode="dark"] .news-card__category,
[data-darkmode="dark"] .market-card__price,
[data-darkmode="dark"] .community-card__title {
  color: #ffffff;
}

[data-darkmode="dark"] .community-card__content,
[data-darkmode="dark"] .community-card__excerpt {
  color: var(--bh-dark-text-secondary);
}

[data-darkmode="dark"] .community-channel-toggle {
  border: 1px solid var(--bh-dark-border);
}

[data-darkmode="dark"] .community-single__question-stats,
[data-darkmode="dark"] .community-single__answer-meta {
  border-color: var(--bh-dark-border);
}
.listing-gallery__like-heart {
  width: 1.94rem;
  height: 1.82rem;
.bh-real-estate-shortcode__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bh-real-estate-shortcode__list li::marker {
  content: none;
}

.bh-real-estate-shortcode__item {
  list-style: none !important;
  border-bottom: 1px solid rgba(12, 24, 48, 0.08);
  padding: 16px 0;
}

.bh-real-estate-shortcode .widget_recent_entries > ul > li::before,
.bh-real-estate-shortcode .widget_recent_entries > ul > li::after {
  content: none !important;
}

.bh-real-estate-shortcode__list::before,
.bh-real-estate-shortcode__list::after,
.bh-real-estate-shortcode__item::before,
.bh-real-estate-shortcode__item::after,
.bh-real-estate-shortcode .widget_recent_entries > ul > li::before,
.bh-real-estate-shortcode .widget_recent_entries > ul > li::after {
  display: none !important;
  content: none !important;
}

.bh-real-estate-shortcode__item:first-child {
  border-top: none;
  padding-top: 0;
}

.bh-real-estate-shortcode__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bh-real-estate-shortcode__link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.bh-real-estate-shortcode__media {
  width: 100%;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  background: #e2e8f0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bh-real-estate-shortcode__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bh-real-estate-shortcode__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f1f5f9, #cbd5f5);
  border-radius: inherit;
}

.bh-real-estate-shortcode__content {
  padding-top: 10px;
}

.bh-real-estate-shortcode__title {
  font-size: 1rem !important;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.3;
}

.bh-real-estate-shortcode__date {
  display: block;
  font-size: 1.1rem;
  color: #1d4ed8;
}

/* Standalone real estate listing card */
.bh-real-estate-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin: 0;
}

.bh-real-estate-card {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: 32px;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.bh-real-estate-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, #cbd5f5, #e2e8f0);
  min-height: 240px;
}

.bh-real-estate-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bh-real-estate-card__media-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0.35) 20px,
    transparent 20px,
    transparent 40px
  );
  min-height: 240px;
}

.bh-real-estate-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #1d4ed8;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

.bh-real-estate-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bh-real-estate-card__location {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: #475569;
  margin: 0 0 6px;
}

.bh-real-estate-card__title {
  margin: 0;
  font-size: 1.7rem;
  color: #0f172a;
}

.bh-real-estate-card__title a {
  color: inherit;
  text-decoration: none;
}

.bh-real-estate-card__title a:hover,
.bh-real-estate-card__title a:focus {
  color: #1d4ed8;
}

.bh-real-estate-card__tagline {
  margin: 6px 0 0;
  color: #475569;
  font-weight: 500;
}

.bh-real-estate-card__price {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #1d4ed8;
}

.bh-real-estate-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0 10px;
  margin: 0;
  list-style: none;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.bh-real-estate-card__features li {
  font-size: 0.85rem;
  color: #1e293b;
  font-weight: 600;
  background: #e0e7ff;
  border-radius: 999px;
  padding: 6px 14px;
}

.bh-real-estate-card__features strong {
  font-weight: 600;
  font-size: 0.9rem;
}

.bh-real-estate-card__description {
  color: #334155;
  line-height: 1.6;
}

.bh-real-estate-card__description p {
  margin: 0 0 8px;
}

.bh-real-estate-card__cta {
  align-self: flex-start;
  background: #111827;
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bh-real-estate-card__cta:hover,
.bh-real-estate-card__cta:focus {
  background: #1d4ed8;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .bh-real-estate-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .bh-real-estate-card-grid {
    gap: 20px;
  }
}

/* Latest comments shortcode */
.bh-latest-comments {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.bh-latest-comments__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bh-latest-comments__item {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 18px;
}

.bh-latest-comments__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bh-latest-comments__meta {
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.bh-latest-comments__author {
  font-weight: 600;
  color: #0f172a;
}

.bh-latest-comments__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.bh-latest-comments__post {
  display: block;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 4px;
}

.bh-latest-comments__excerpt {
  margin: 4px 0 0;
  color: #0f172a;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .bh-latest-comments {
    padding: 20px;
  }
}

/* Agent directory hero/search spacing */
.agent-hero__lead {
  margin-bottom: 24px;
}

.agent-hero .agent-search {
  margin-top: 26px;
}

.agent-search__panel {
  margin: 0;
  padding: 28px 28px 32px;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  border: 1px solid #e1e7f3;
}

.agent-search__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.agent-search__header h2 {
  margin: 0;
  font-size: 2.4rem;
  color: #2b2d42;
}

.agent-search__form {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px 18px;
}

.agent-search__tabs {
  grid-column: 1 / span 12;
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #cfd9ec;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  max-width: 360px;
  margin-bottom: 6px;
}

.agent-search__tab {
  flex: 1 1 0;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  color: #2f3545;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
  text-align: center;
  outline: none;
  box-shadow: none;
}

.agent-search__tab + .agent-search__tab {
  border-left: 1px solid #cfd9ec;
}

.agent-search__tab.is-active {
  background: #e6f2ff;
  color: #0f66ff;
  box-shadow: inset 0 0 0 1px #0f66ff, 0 2px 6px rgba(15, 102, 255, 0.15);
}

.agent-search__form label {
  display: block;
  font-weight: 700;
  color: #374151;
}

.agent-search__form label span {
  display: block;
  margin-bottom: 10px;
}

.agent-search__form select,
.agent-search__form input[type="text"] {
  width: 100%;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid #d6deed;
  background: #f6f9ff;
  font-size: 1rem;
  color: #111827;
}

.agent-search__form select:focus,
.agent-search__form input[type="text"]:focus {
  outline: 2px solid #0f66ff;
  background: #fff;
}

.agent-search__form label:nth-of-type(1) { grid-column: 1 / span 12; }
.agent-search__form label:nth-of-type(2) { grid-column: 1 / span 12; }

@media (max-width: 1024px) {
  .agent-search__header h2 {
    font-size: 2rem;
  }

  .agent-search__form {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .agent-search__tabs {
    grid-column: 1 / span 6;
  }

  .agent-search__form label:nth-of-type(1),
  .agent-search__form label:nth-of-type(2) {
    grid-column: 1 / span 6;
  }
}

@media (max-width: 640px) {
  .agent-search__panel {
    padding: 22px 18px 26px;
  }

  .agent-search__form {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .agent-search__form label:nth-of-type(n) {
    grid-column: 1 / -1;
  }

  .agent-search__form label:nth-of-type(n) {
    grid-column: 1 / -1;
  }
}

/* Agent match block */
.agent-match {
  padding: 32px 20px 12px;
}

.agent-match .container {
  max-width: 1040px;
}

.agent-match__card {
  position: relative;
  padding: 32px 32px 36px;
  border-radius: 22px;
  border: 1px solid #dbe4f6;
  background: linear-gradient(135deg, #0c1f4f 0%, #0c1f4f 8%, #f8f9fd 8%, #ffffff 100%);
  box-shadow: 0 20px 60px rgba(0, 26, 82, 0.08);
  text-align: left;
}

.agent-match__badge {
  display: inline-block;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #e8efff;
  color: #2c3a7a;
  font-weight: 700;
  font-size: 0.9rem;
}

.agent-match__card h3 {
  font-size: 1.6rem;
  margin: 0 0 12px;
  color: #111827;
}

.agent-match__card ul {
  margin: 0 0 28px 18px;
  padding-left: 8px;
  list-style: disc;
  color: #1f2937;
  line-height: 1.6;
}

.agent-match__cta {
  display: inline-block;
  text-align: center;
  padding: 12px 24px;
  border-radius: 14px;
  background: #0f66ff;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(15, 102, 255, 0.25);
}

.agent-match__cta:hover {
  opacity: 0.92;
}

/* Hide UM profile nav items for posts/comments/messages */
.um-profile-nav-item.posts,
.um-profile-nav-item.comments,
.um-profile-nav-item.messages {
  display: none !important;
}

/* Hide UM profile tabs: posts, comments, messages */
.community-action--vote {
  background: #f8fafc;
  border: 1.5px solid #d1d5db;
  color: #111827;
  padding: 9px 12px;
  gap: 10px;
}
.community-single__question-actions .community-vote {
  border: none;
  background: transparent;
  padding: 0;
  gap: 6px;
  box-shadow: none;
}

.community-single__question-actions .community-vote__icon {
  border: none;
  box-shadow: none;
}

.community-single__question-actions .community-vote__icon:focus-visible {
  outline: none;
  box-shadow: none;
}

.community-single__answer-footer .community-vote {
  padding: 6px 12px;
  border-radius: 999px;
  border: none;
  background: #f8fafc;
  box-shadow: none;
}

.community-single__answer-footer .community-vote__icon {
  background: transparent;
  border: none;
  box-shadow: none;
}

.community-single__question-actions .community-vote__icon {
  background: transparent;
  border: none;
}
.listing-single__bookmark i,
.job-single__bookmark-btn i {
  font-size: 1.6rem;
}

.hot-news-widget {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hot-news-widget__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hot-news-widget__item {
  display: block;
}

.hot-news-widget__link {
  text-decoration: none;
  color: inherit;
}

.hot-news-widget__headline {
  display: flex;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.4;
  color: #111827;
}
