@charset "UTF-8";
/**
 * search result list
 * NOTE: 一覧の結果リスト
**/
.search_result_wrap {
  margin: 0;
  padding: 0;
}
/* OE Override: Grid layout for search pages (matches design: grid-cols-1 → md:grid-cols-2 → 2xl:grid-cols-3) */
.page--s .search_result_wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .page--s .search_result_wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1536px) {
  .page--s .search_result_wrap {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767.98px) {
  .search_result_wrap {
    margin: 0;
    padding: 0;
  }
}


/**
 * search result item
 * NOTE: 一覧の結果１つ
**/
.search_result_item {
  border: solid 2px #fff;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
  background-image: none;
  background-color: #fff;
  position: relative;
}

/* OE Override: Card design for search pages */
.page--s .search_result_item {
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(14, 76, 94, 0.08);
  margin-bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.2s ease;
  position: relative;
}

.page--s .search_result_item:hover {
  border-color: rgba(20, 217, 220, 0.4);
  box-shadow: 0 10px 25px rgba(20, 217, 220, 0.15);
}

@media (max-width: 767.98px) {
  .search_result_item {
    margin: 0 0 14px;
  }
}

/**
 * search no result
 * NOTE: 結果が１件も見つからない時（システム出力）
**/
.search_result_wrap>[align="center"] {
  box-shadow: none;
  border-radius: 0;
  border: solid 1px var(--site-border-c);
  background: #fff;
  font-weight: 400;
  margin: 0 0 20px;
  padding: 20px;
}
@media (max-width: 767.98px) {
  .search_result_wrap>[align="center"] {
    margin: 0 0 14px;
  }
}

/**
 * search result item inner
**/
.search_result_item_inner {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-content: stretch;
  align-items: stretch;
}

/* OE Override: Flex column layout for search pages */
.page--s .search_result_item_inner {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/**
 * search result item title group
**/
.search_result_wrap .title_parts {
  padding: 0;
}

/* OE Override: Title parts layout for search pages */
.page--s .search_result_item .title_parts {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  padding: 0;
}

@media (max-width: 767.98px) {
  .search_result_wrap .title_parts {
    padding: 14px 0 0;
  }
}

.search_result_item__d_name {
  color: var(--site-c-main);
  font-size: 20px;
  font-weight: 700;
  font-feature-settings: "palt";
  line-height: 1.25;
  margin: 0;
  padding: 0 0 4px;
}

/* OE Override: Title styling for search pages */
.page--s .search_result_item .search_result_item__d_name {
  font-size: 24px;
  font-weight: 700;
  color: #0f2f33;
  letter-spacing: -0.025em;
  line-height: 1.3;
  flex-grow: 1;
  margin: 0;
  padding: 0;
}

.search_result_item__d_name a {
  color: inherit;
}

/* OE Override: Title link hover for search pages */
.page--s .search_result_item .search_result_item__d_name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.page--s .search_result_item:hover .search_result_item__d_name a {
  color: #14d9dc;
}

@media (max-width: 767.98px) {
  .search_result_item__d_name {
    font-size: 16px;
    margin: 0 calc((14px + 2px) * -1); /* ( ( 両サイド余白 + 両サイドborder-width ) * -1 ) */
    padding: 12px 16px;
  }
  .page--s .search_result_item .search_result_item__d_name {
    font-size: 20px;
    box-shadow: none;
    margin: 0;
    padding: 0;
  }
}

/* fav heart circle button */
.search_result_wrap .title_parts .btn {
  position: absolute;
  right: 0;
  top: 4px;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: solid 1px #fecacf;
  background: #fecacf;
  color: #fff;
  font-size: 15px;
  text-align: center;
  padding: 0;
  transition: all 0.2s ease;
}

/* OE Override: Favorite button for search pages */
.page--s .search_result_wrap .title_parts .btn {
  position: static;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f3f4f6;
  color: #d1d5db;
  transition: all 0.2s;
  position: relative;
  z-index: 5;
}

.search_result_wrap .title_parts .btn.active {
  border: solid 1px #fd7686;
  background: #fd7686;
  color: #fff;
  opacity: 1;
}

/* OE Override: Favorite button active state for search pages */
.page--s .search_result_wrap .title_parts .btn.active {
  background-color: #14d9dc !important;
  border-color: #14d9dc !important;
  color: #fff !important;
}

@media (min-width: 768px) {
  .search_result_wrap .title_parts .btn:focus,
  .search_result_wrap .title_parts .btn:hover {
    border: solid 1px #fd7686;
    background: #fff;
    color: #fd7686;
    opacity: 1;
  }
  .search_result_wrap .title_parts .btn:active {
    border: solid 1px #fd7686;
    background: #fd7686;
    color: #fff;
    opacity: 1;
  }
}

/* OE Override: Favorite button hover for search pages */
.page--s .search_result_wrap .title_parts .btn:hover {
  border-color: #14d9dc;
  color: #14d9dc;
}

.search_result_wrap .title_parts .btn::before {
  content: "\f443";
  display: inline-block;
  font-family: "Ionicons";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  z-index: 1;
  transform: translate(0, 2.5%) scaleX(0.9);
  color: inherit;
}

/* OE Override: Favorite button icon for search pages */
.page--s .search_result_wrap .title_parts .btn::before {
  font-family: 'Material Symbols Outlined';
  content: '\e87d'; /* favorite */
  font-size: 24px;
  font-variation-settings: 'FILL' 0, 'wght' 300;
  transform: none;
}

.page--s .search_result_wrap .title_parts .btn.is-active::before {
  font-variation-settings: 'FILL' 1, 'wght' 400;
}

@media (max-width: 767.98px) {
  .search_result_wrap .title_parts .btn {
    top: 12px;
  }
}

/**
 * search result item company
**/
.search_result_item .company {
  margin: 0;
  padding: 0 25px 0 25px;
  line-height: 1.6;
  font-size: 14px;
}
@media (max-width: 767.98px) {
  .search_result_item .company {
    margin: 0;
    padding: 0 16px;
    line-height: 1.6;
    font-size: 14px;
  }
}


/**
 * search result item button and button group
**/
.search_result_item .box_btn {
  margin: 0;
  padding: 20px 0 0;
  overflow: hidden;
  order: 99;
  display: none;
}

/* OE Override: Hide buttons for search pages (already hidden, but explicit) */
.page--s .search_result_item .box_btn {
  display: none;
}

/**
 * search result item grade group
**/
.search_result_wrap .grade_parts {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  padding: 0 0 16px;
  position: relative;
}

/* OE Override: Hide grade parts for search pages */
.page--s .search_result_item .grade_parts {
  display: none;
}

@media (max-width: 767.98px) {
  .search_result_wrap .grade_parts {
    padding: 0;
  }
}


/**
 * search result item grade tag (grade item)
**/
.search_result_wrap .grade_parts .grade_parts_tags {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
}

@media (max-width: 767.98px) {
  .search_result_wrap .grade_parts .grade_parts_tags {
    width: 100%;
    padding-right: 36px;
    margin: 0 0 8px;
  }
}


/**
 * search result item grade タグ・カテゴリ（グレードタグ）
 * ※詳細ページと共通のスタイル
**/
.grade_parts_tags > label {
  display: block;
  margin: 0 4px 0 0;
  border: solid 1px var(--site-border-c);
  background: #fff;
  color: inherit;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 3em;
  text-align: center;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.grade_parts_tags > label:focus,
.grade_parts_tags > label:hover {
  opacity: 1;
}

.grade_parts_tags > label > button {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  border: none;
  background: transparent;
  cursor: pointer;
}

.grade_parts_tags > label > [data-balloon]::after {
  content: attr(data-balloon);
  border-radius: 4px;
  background: rgba(17, 17, 17, .9);
  color: #fff;
  font-size: 12px;
  font-feature-settings: 'palt';
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
  min-width: 112px;
  padding: 4px;
  margin-bottom: 11px;
}

.grade_parts_tags > label:focus > button,
.grade_parts_tags > label:hover > button,
.grade_parts_tags > label > button:focus,
.grade_parts_tags > label > button:hover {
  opacity: 1;
}

.grade_parts_tags > label > button > img {
  display: none;
}
.grade_parts_tags > label > button > [class*="fa-"] {
  display: none;
}
@media (max-width: 767.98px) {
  .grade_parts_tags > label {
    font-size: 12px;
    min-width: 96px;
  }
  .grade_parts_tags > label > button {
    top: 6px;
    right: 5px;
  }
}
.grade_parts_tags .grade_parts_tag1,
.grade_parts_tags .grade_parts_tag2,
.grade_parts_tags .grade_parts_tag3,
.grade_parts_tags .grade_parts_tag4,
.grade_parts_tags .grade_parts_tag5,
.grade_parts_tags .grade_parts_tag6,
.grade_parts_tags .grade_parts_tag7,
.grade_parts_tags .grade_parts_tag8,
.grade_parts_tags .grade_parts_tag9,
.grade_parts_tags .grade_parts_tag10,
.grade_parts_tags .grade_parts_tag11,
.grade_parts_tags .grade_parts_tag12,
.grade_parts_tags .grade_parts_tag13,
.grade_parts_tags .grade_parts_tag14,
.grade_parts_tags .grade_parts_tag15,
.grade_parts_tags .grade_parts_tag16,
.grade_parts_tags .grade_parts_tag17,
.grade_parts_tags .grade_parts_tag18,
.grade_parts_tags .grade_parts_tag19,
.grade_parts_tags .grade_parts_tag20,
.grade_parts_tags .grade_parts_tag21,
.grade_parts_tags .grade_parts_tag22,
.grade_parts_tags .grade_parts_tag23 {
  background: #fff;
  color: inherit;
}


/**
 * search result item grade スコア
**/
/* .grade_parts_score */
.search_result_wrap .grade_parts .grade_parts_score {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  align-content: center;
  align-items: center;
  color: var(--site-c-gray);
  margin-left: auto;
  padding-right: 28px;
}

@media (max-width: 767.98px) {
  .search_result_wrap .grade_parts .grade_parts_score {
    padding-right: 36px;
  }
}
.search_result_wrap .grade_parts .grade_parts_score label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 1;
  opacity: 0.66;
}

.search_result_wrap .grade_parts .grade_parts_score p {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  width: 100%;
}

.search_result_wrap .grade_parts .grade_parts_score b {
  display: inline-block;
  font-size: 10px;
  font-weight: inherit;
  line-height: 14px;
}

.search_result_wrap .grade_parts .grade_parts_score b > a {
  display: inline-block;
  color: #e2ac40;
  font-size: 14px;
  font-weight: inherit;
  line-height: 14px;
}

.search_result_wrap .grade_parts .grade_parts_score small {
  display: inline-block;
  font-size: 10px;
  font-weight: inherit;
  line-height: 14px;
}

.search_result_wrap .grade_parts .grade_parts_score b + small {
  margin-left: 4px;
}

@media (max-width: 767.98px) {
  .search_result_wrap .grade_parts .grade_parts_score {
    width: calc(100% - 88px);
  }
  .search_result_wrap .grade_parts .grade_parts_score label {
    text-align: left;
    width: auto;
    margin-right: 4px;
  }
  .search_result_wrap .grade_parts .grade_parts_score p {
    justify-content: flex-end;
    width: auto;
  }
  .search_result_wrap .grade_parts .grade_parts_score b {
    font-size: 10px;
    line-height: 16px;
  }
  .search_result_wrap .grade_parts .grade_parts_score b > a {
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
  }
  .search_result_wrap .grade_parts .grade_parts_score small {
    font-size: 10px;
    line-height: 16px;
  }
}


/* エリア名 .ddd_parts */
.search_result_wrap .grade_parts .ddd_parts {
  font-size: 10px;
  padding: 0 8px;
}

@media (max-width: 1300.98px) {
  .search_result_wrap .grade_parts .ddd_parts {
    padding: 0 8px;
  }
}
@media (max-width: 767.98px) {
  .search_result_wrap .grade_parts .ddd_parts {
    padding: 0 8px;
    width: 8, 80px;
  }
}
.search_result_wrap .grade_parts .ddd_parts > span {
  font-weight: 700;
}

.search_result_wrap .grade_parts .ddd_parts > span:empty {
  display: none;
}

.search_result_wrap .grade_parts .ddd_parts > span::before {
  content: "\f3a3";
  display: inline-block;
  font-family: "Ionicons";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--site-c-main);
  transform: translate(0, 16.66%) scale(1.5, 1.5);
  margin: 0 8px 0 0;
}

.search_result_item .img_parts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: stretch;
  align-items: stretch;
  width: 224px;
  gap: 8px;
}

/* OE Override: Hide images for search pages */
.page--s .search_result_item .img_parts {
  display: none;
}

.search_result_item .img_parts .main_img {
  width: 100%;
}
.search_result_item .img_parts .main_img img {
  border-radius: 3px;
  max-width: none;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 11;
  object-fit: cover;
}
.search_result_item .img_parts .sub_img {
  width: auto;
  height: auto;
  flex: 1 1;
}
.search_result_item .img_parts .sub_img img {
  border-radius: 3px;
  max-width: 250px;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  vertical-align: middle;
}

@media (max-width: 767.98px) {
  .search_result_item .img_parts {
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    background: #fff;
    width: 100%;
    height: 40vw;
  }
  .search_result_item .img_parts .main_img {
    position: relative;
    width: calc(66.66% - 4px);
    height: 100%;
    margin: 0;
  }
  .search_result_item .img_parts .main_img img {
    max-width: none;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
  .search_result_item .img_parts .main_img:only-child {
    width: 100%;
  }
  .search_result_item .img_parts .sub_img {
    flex: initial;
    width: calc(33.33% - 4px);
    height: calc(50% - 4px);
    margin: 0 0 0 8px;
    position: relative;
  }
  .search_result_item .img_parts .sub_img + .sub_img {
    margin-top: 8px;
  }
  .search_result_item .img_parts .sub_img img {
    max-width: none;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
}
.search_result_item .text_parts {
  width: calc(100% - 252px);
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: flex-start;
  margin: 0;
  position: relative;
}

/* OE Override: Text parts layout for search pages */
.page--s .search_result_item .text_parts {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 32px;
  padding-bottom: 16px;
  margin: 0;
  position: relative;
}

/* 画像無しの場合 */
.search_result_item .text_parts:first-child {
  width: 100%;
}
@media (max-width: 767.98px) {
  .search_result_item .text_parts {
    width: 100%;
    padding: 14px 0 0;
  }
  .page--s .search_result_item .text_parts {
    padding: 20px;
    padding-bottom: 12px;
  }
}
.search_result_item .text_parts > * {
  order: 5;
  width: 100%;
}
.search_result_item .text_parts > .title_parts {
  /* NOTE: order以外記述禁止 */
  order: 1;
}
.search_result_item .text_parts > .grade_parts {
  /* NOTE: order以外記述禁止 */
  order: 0;
}

.search_result_item__pr_title {
  color: var(--site-c-main);
  font-size: 20px;
  font-weight: 700;
  font-feature-settings: "palt";
  line-height: 28px;
  margin: 0 0 14px;
}

/* OE Override: PR title styling for search pages */
.page--s .search_result_item .search_result_item__pr_title {
  font-size: 16px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 32px;
  padding-left: 20px;
  border-left: 4px solid #14d9dc;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

*+.search_result_item__pr_title {
  border-top: solid 1px var(--site-border-c);
  padding: 16px 0 0;
}

/* OE Override: PR title border for search pages */
.page--s *+.search_result_item__pr_title {
  border-top: none;
  padding-left: 20px;
}

.search_result_item__pr_title a {
  color: inherit;
}

/* OE Override: PR title link for search pages */
.page--s .search_result_item .search_result_item__pr_title a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .search_result_item__pr_title {
    font-size: 16px;
    margin: 0 0 6px;
  }
  *+.search_result_item__pr_title {
    border-top: none;
    padding: 12px 0 0;
  }
  .search_result_item__pr_title a {
    color: #fa5882;
    font-weight: 700;
    text-decoration: underline;
  }
  .search_result_item__pr_title a * {
    color: inherit;
  }
}

.search_result_item .text_parts>h4:not([class]),
.search_result_item .text_parts>h5:not([class]) {
  color: inherit;
  font-size: inherit;
  font-weight: 700;
  font-feature-settings: "palt";
  margin: 0 0 8px;
}
.search_result_item .text_parts>*+h4:not([class]),
.search_result_item .text_parts>*+h5:not([class]) {
  padding: 16px 0 0;
}
.search_result_item .text_parts>h4:not([class]) a,
.search_result_item .text_parts>h5:not([class]) a {
  color: inherit;
  text-decoration: underline;
}


.search_result_item__pr_desc {
  margin: 0;
}

/* OE Override: Hide PR description for search pages */
.page--s .search_result_item .search_result_item__pr_desc {
  display: none;
}

@media (max-width: 767.98px) {
  .search_result_item__pr_desc {
    font-size: 12px;
    line-height: 18px;
  }
  .search_result_item__pr_desc a {
    color: inherit;
    font-size: inherit;
    font-weight: 400;
    text-decoration: underline;
    opacity: 0.75;
    margin-left: 3px;
  }
}


/**
 * address
 * NOTE: 所在地、交通、価格など
**/
.address_parts {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  font-size: 12px;
  width: 100%;
  gap: 4px 0;
  order: 5;
}
*+.address_parts {
  margin-top: 12px;
}
.address_parts .icon_img {
  display: inline-block;
}
.address_parts .address_title {
  display: block;
  width: 4em;
}
.address_parts .address_text {
  display: block;
  width: calc( 100% - 4em );
}
@media (max-width: 767.98px) {}


/**
 * タグ・カテゴリ（住所下のタグ）
**/
.search_result_item .tag_parts {
  width: 100%;
  order: 4;
}


/**
 * もっとみるボタン
**/
.search_result_wrap .view_more {
  margin: 28px 0 16px;
}

/* OE Override: Card footer style for search pages */
.page--s .search_result_wrap .view_more {
  padding: 24px 32px;
  background: rgba(249, 250, 251, 0.5);
  border-top: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  margin-top: auto;
}

.search_result_wrap .view_more .view_more_btn {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  border: solid 1px var(--site-c-sub);
  background: #fff;
  color: var(--site-c-sub);
  font-size: 18px;
  font-weight: 700;
  width: 80%;
  max-width: 300px;
  min-height: 60px;
  margin: 0 auto;
}

/* OE Override: View more label for search pages */
.page--s .search_result_wrap .view_more label {
  font-size: 16px;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  cursor: pointer;
}

.page--s .search_result_item:hover .view_more label {
  color: #14d9dc;
}

/* OE Override: View more arrow icon for search pages */
.page--s .search_result_wrap .view_more label::after {
  font-family: 'Material Symbols Outlined';
  content: '\xe5c8'; /* arrow_forward */
  font-size: 30px;
  vertical-align: middle;
  margin-left: 8px;
  color: #14d9dc;
  transition: transform 0.2s;
  display: inline-block;
}

.page--s .search_result_item:hover .view_more label::after {
  transform: translateX(8px);
}

@media (max-width: 767.98px) {
  .search_result_wrap .view_more .view_more_btn {
    width: 80%;
  }
  .page--s .search_result_wrap .view_more {
    padding: 16px 20px;
  }
}


/**
 * 閲覧履歴ページ
**/
/* 閲覧履歴ページ削除ボタン */
.search_result_item .btn_bookmark_delete {
  display: block;
  color: var(--site-c-gray);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 999;
  transform: translate(50%, -50%);
}

/* 削除ボタン アイコン */
.search_result_item .btn_bookmark_delete::before {
  content: "\f12a";
  display: inline-flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  font-family: "Ionicons";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border-radius: 50%;
  border: solid 1px var(--site-bg-c-underlayer);
  box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.2);
  background: #fff;
  font-size: 16px;
  width: calc(1em + 8px);
  height: calc(1em + 8px);
}

/* 削除ボタン 文言 */
.search_result_item .btn_bookmark_delete > span {
  display: none;
  margin-left: 4px;
}


/* =============================================
   OE Card Design - New HTML Structure
   ============================================= */

/* Card overlay link */
.page--s .oe_card_link {
  position: absolute;
  inset: 0;
  z-index: 10;
  text-decoration: none;
}

/* Card top section (badge + favorite) */
/* Design: p-8(32px) pb-0 */
.page--s .oe_card_top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 32px 0;
  position: relative;
  z-index: 40;
}

/* Category badge container */
.page--s .oe_card_badge {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page--s .oe_badge_text {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #bfdbfe;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Favorite/bookmark button */
.page--s .oe_fav_btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f3f4f6;
  color: #d1d5db;
  position: relative;
  z-index: 50;
  transition: all 0.2s ease;
  text-decoration: none;
}
.page--s .oe_fav_btn:hover {
  border-color: var(--oe-primary, #14d9dc);
  color: var(--oe-primary, #14d9dc);
}
.page--s .oe_fav_btn .material-symbols-outlined {
  font-size: 22px;
  font-variation-settings: 'FILL' 0, 'wght' 300;
}

/* Card body */
/* Design: p-8(32px) pt-4(16px) */
.page--s .oe_card_body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 32px 32px;
  position: relative;
}

/* Card description with left border */
/* Design: text-base(16px) mb-8(32px) border-l-4 pl-5(20px) leading-relaxed(1.625) line-clamp-2 */
.page--s .oe_card_desc {
  font-size: 16px;
  color: #6b7280;
  margin: 0 0 32px;
  padding-left: 20px;
  border-left: 4px solid var(--oe-primary, #14d9dc);
  line-height: 1.625;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card metadata container */
/* Design: space-y-4(16px) pt-6(24px) border-t border-gray-50 mt-auto */
.page--s .oe_card_meta {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Individual meta item (location, date) */
/* Design: flex items-center gap-4(16px) text-base(16px) font-bold(700) */
.page--s .oe_card_meta_item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
}
/* Design: text-2xl(24px) text-primary */
.page--s .oe_card_meta_item .material-symbols-outlined {
  font-size: 24px;
  color: var(--oe-primary, #14d9dc);
  flex-shrink: 0;
}

.page--s .oe_card_location span:last-child {
  color: #4b5563;
}

.page--s .oe_card_date span:last-child {
  color: #374151;
  letter-spacing: 0.05em;
}

/* Card footer */
/* Design: px-8(32px) py-6(24px) bg-gray-50/50 border-t border-gray-100 */
.page--s .oe_card_footer {
  padding: 24px 32px;
  background: rgba(249, 250, 251, 0.5);
  border-top: 1px solid #f3f4f6;
}

.page--s .oe_card_more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  position: relative;
  z-index: 20;
  pointer-events: none;
}
/* Design: text-base(16px) font-bold tracking-wider */
.page--s .oe_card_more span:first-child {
  font-size: 16px;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
/* Design: text-3xl(30px) text-primary */
.page--s .oe_card_more .material-symbols-outlined {
  font-size: 30px;
  color: var(--oe-primary, #14d9dc);
  transition: transform 0.2s;
}

.page--s .search_result_item:hover .oe_card_more span:first-child {
  color: var(--oe-primary, #14d9dc);
}
.page--s .search_result_item:hover .oe_card_more .material-symbols-outlined {
  transform: translateX(8px);
}

/* Override: title in new card layout */
/* Design: text-2xl(24px) font-bold mb-4(16px) tracking-tight(-0.025em) */
.page--s .oe_card_body .search_result_item__d_name {
  font-size: 24px;
  font-weight: 700;
  color: var(--oe-text-dark, #0f2f33);
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  padding: 0;
  transition: color 0.2s;
  overflow-wrap: break-word;
  word-break: break-word;
}
.page--s .oe_card_body .search_result_item__d_name a {
  text-decoration: none;
  color: inherit;
}
.page--s .search_result_item:hover .oe_card_body .search_result_item__d_name {
  color: var(--oe-primary, #14d9dc);
}

/* Hide old elements that are no longer in HTML (safety) */
.page--s .search_result_item .img_parts,
.page--s .search_result_item .grade_parts,
.page--s .search_result_item .search_result_item__pr_title,
.page--s .search_result_item .search_result_item__pr_desc,
.page--s .search_result_item .box_btn,
.page--s .search_result_item .tag_parts,
.page--s .search_result_item .address_parts,
.page--s .search_result_item .text_parts > .title_parts {
  display: none;
}

/* OE Card: Responsive adjustments */
@media (max-width: 767.98px) {
  .page--s .oe_card_top {
    padding: 20px 20px 0;
  }
  .page--s .oe_card_body {
    padding: 12px 20px 20px;
  }
  .page--s .oe_card_footer {
    padding: 16px 20px;
  }
  .page--s .oe_card_desc {
    font-size: 13px;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left-width: 3px;
  }
  .page--s .oe_card_meta_item {
    font-size: 13px;
    gap: 8px;
  }
  .page--s .oe_card_meta_item .material-symbols-outlined {
    font-size: 18px;
  }
  .page--s .oe_card_body .search_result_item__d_name {
    font-size: 18px;
  }
}


/* =============================================
   OE Card Design - Detail Page Related Cards
   Reuse same card styles for .page--detail
   ============================================= */

/* Card container in detail page */
.page--detail .oe_related_grid .search_result_item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 20px rgba(14,76,94,0.08);
  overflow: hidden;
  position: relative;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.page--detail .oe_related_grid .search_result_item:hover {
  border-color: rgba(20,217,220,0.4);
  box-shadow: 0 10px 25px rgba(20,217,220,0.15);
}
.page--detail .oe_related_grid .search_result_item_inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page--detail .oe_related_grid .oe_card_link {
  position: absolute;
  inset: 0;
  z-index: 10;
  text-decoration: none;
}
.page--detail .oe_related_grid .oe_card_top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 32px 0;
  position: relative;
  z-index: 40;
}
.page--detail .oe_related_grid .oe_card_badge {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.page--detail .oe_related_grid .oe_badge_text {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #bfdbfe;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.page--detail .oe_related_grid .oe_fav_btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f3f4f6;
  color: #d1d5db;
  position: relative;
  z-index: 50;
  transition: all 0.2s ease;
  text-decoration: none;
}
.page--detail .oe_related_grid .oe_fav_btn:hover {
  border-color: var(--oe-primary, #14d9dc);
  color: var(--oe-primary, #14d9dc);
}
.page--detail .oe_related_grid .oe_fav_btn .material-symbols-outlined {
  font-size: 22px;
  font-variation-settings: 'FILL' 0, 'wght' 300;
}
.page--detail .oe_related_grid .oe_card_body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 32px 32px;
  position: relative;
}
.page--detail .oe_related_grid .oe_card_body .search_result_item__d_name {
  font-size: 24px;
  font-weight: 700;
  color: var(--oe-text-dark, #0f2f33);
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  padding: 0;
  line-height: 1.3;
  transition: color 0.2s;
  overflow-wrap: break-word;
  word-break: break-word;
}
.page--detail .oe_related_grid .oe_card_body .search_result_item__d_name a {
  text-decoration: none;
  color: inherit;
}
.page--detail .oe_related_grid .search_result_item:hover .oe_card_body .search_result_item__d_name {
  color: var(--oe-primary, #14d9dc);
}
.page--detail .oe_related_grid .oe_card_desc {
  font-size: 16px;
  color: #6b7280;
  margin: 0 0 32px;
  padding-left: 20px;
  border-left: 4px solid var(--oe-primary, #14d9dc);
  line-height: 1.625;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page--detail .oe_related_grid .oe_card_meta {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.page--detail .oe_related_grid .oe_card_meta_item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
}
.page--detail .oe_related_grid .oe_card_meta_item .material-symbols-outlined {
  font-size: 24px;
  color: var(--oe-primary, #14d9dc);
  flex-shrink: 0;
}
.page--detail .oe_related_grid .oe_card_location span:last-child {
  color: #4b5563;
}
.page--detail .oe_related_grid .oe_card_date span:last-child {
  color: #374151;
  letter-spacing: 0.05em;
}
.page--detail .oe_related_grid .oe_card_footer {
  padding: 24px 32px;
  background: rgba(249, 250, 251, 0.5);
  border-top: 1px solid #f3f4f6;
}
.page--detail .oe_related_grid .oe_card_more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  position: relative;
  z-index: 20;
  pointer-events: none;
}
.page--detail .oe_related_grid .oe_card_more span:first-child {
  font-size: 16px;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.page--detail .oe_related_grid .oe_card_more .material-symbols-outlined {
  font-size: 30px;
  color: var(--oe-primary, #14d9dc);
  transition: transform 0.2s;
}
.page--detail .oe_related_grid .search_result_item:hover .oe_card_more span:first-child {
  color: var(--oe-primary, #14d9dc);
}
.page--detail .oe_related_grid .search_result_item:hover .oe_card_more .material-symbols-outlined {
  transform: translateX(8px);
}
.page--detail .oe_related_grid .search_result_item:hover .oe_card_footer {
  background: #fff;
}

/* Detail page related cards: responsive */
@media (max-width: 767.98px) {
  .page--detail .oe_related_grid .oe_card_top {
    padding: 20px 20px 0;
  }
  .page--detail .oe_related_grid .oe_card_body {
    padding: 12px 20px 20px;
  }
  .page--detail .oe_related_grid .oe_card_footer {
    padding: 16px 20px;
  }
  .page--detail .oe_related_grid .oe_card_desc {
    font-size: 13px;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left-width: 3px;
  }
  .page--detail .oe_related_grid .oe_card_meta_item {
    font-size: 13px;
    gap: 8px;
  }
  .page--detail .oe_related_grid .oe_card_meta_item .material-symbols-outlined {
    font-size: 18px;
  }
  .page--detail .oe_related_grid .oe_card_body .search_result_item__d_name {
    font-size: 18px;
  }
}
