@charset "UTF-8";
@import "https://fonts.googleapis.com/css?family=Poppins";

#reactshiens .parent { padding: 1.245em; }
#reactshiens .parent .parent_title { font-size: 1.2rem; font-weight: 700; padding: 0 0 0.3em; display: block; margin-bottom: 0.3em; border-bottom: 1px solid #babcc3; }
#reactshiens .shiens { margin-bottom: 2em; }
#reactshiens .blog-container { width: 400px; height: auto; background: #fff; border-radius: 10px; transition: all 0.3s ease; }
#reactshiens img { width: 400px; height: 210px; object-fit: cover; overflow: hidden; z-index: 999; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
#reactshiens .blog-title { margin: auto; text-align: left; padding-left: 22px; font-family: Poppins; font-size: 22px; }
#reactshiens .blog-date { text-align: justify; padding-left: 22px; padding-right: 22px; font-family: Poppins; font-size: 12px; color: #c8c8c8; line-height: 18px; padding-top: 10px; }
#reactshiens .blog-excerpt { text-align: justify; padding-left: 22px; padding-right: 22px; font-family: Poppins; font-size: 12px; color: #8a8a8a; line-height: 18px; margin-bottom: 13px; }
#reactshiens .classifies {
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}
#reactshiens .classifies::before {
  content: '🏷️ カテゴリーで絞り込む';
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

/* Modern Category Filter Pill */
.shien_category_pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1.05rem;
  border-radius: 9999px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  outline: none;
  font-family: inherit;
  user-select: none;
}
.shien_category_pill:hover {
  border-color: #82325c;
  color: #82325c;
  background: #fdf5f8;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(130, 50, 92, 0.08);
}
.shien_category_pill.is-active {
  background: linear-gradient(135deg, #82325c 0%, #9f1239 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(130, 50, 92, 0.25);
  font-weight: 700;
}
.shien_category_pill .pill_check {
  font-size: 0.75rem;
  font-weight: 900;
  margin-right: 0.15rem;
}

/* Modern Category Filter Pill (MUI Fab styling) */
#reactshiens .classifies .MuiFab-root {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  border-radius: 9999px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 16px 0 12px !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  background: #ffffff !important;
  color: #475569 !important;
  border: 1.5px solid #e2e8f0 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  margin: 4px 8px 4px 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  outline: none !important;
}
#reactshiens .classifies .MuiFab-root:hover {
  border-color: #82325c !important;
  color: #82325c !important;
  background: #fdf5f8 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(130, 50, 92, 0.08) !important;
}
#reactshiens .classifies .MuiFab-root:has(input:checked) {
  background: linear-gradient(135deg, #82325c 0%, #9f1239 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 3px 10px rgba(130, 50, 92, 0.25) !important;
  font-weight: 700 !important;
}
#reactshiens .classifies .MuiFab-root:has(input:checked) label {
  color: #ffffff !important;
  font-weight: 700 !important;
}
#reactshiens .classifies input[type="checkbox"] {
  accent-color: #82325c;
  margin-right: 6px;
  cursor: pointer;
  width: 14px;
  height: 14px;
}
#reactshiens .classifies .MuiFab-root:has(input:checked) input[type="checkbox"] {
  accent-color: #ffffff;
}
#reactshiens .classifies label {
  cursor: pointer;
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
  margin: 0;
  display: inline-block;
  line-height: normal;
}

/* ==========================================================================
   Modern Modal Post Type Badge (支援機関の属性)
   ========================================================================== */
.modal_post_type_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  line-height: 1.35;
  transition: all 0.2s ease;
  background: #f1f5f9;
  color: #475569;
  border: 1.5px solid #e2e8f0;
}

/* 市町の支援機関 (公的窓口 - Soft Muted Rose) */
.modal_post_type_badge[data-type="市町の支援機関"] {
  background: #fdf2f8;
  color: #be185d;
  border-color: #fbcfe8;
}
.modal_post_type_badge[data-type="市町の支援機関"]::before {
  content: '🏛️ ';
  font-size: 0.85em;
  margin-right: 4px;
}

/* 民間の支援団体 (民間・NPO - Soft Muted Emerald) */
.modal_post_type_badge[data-type="民間の支援団体"],
.modal_post_type_badge[data-type="民間支援団体"] {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.modal_post_type_badge[data-type="民間の支援団体"]::before,
.modal_post_type_badge[data-type="民間支援団体"]::before {
  content: '🤝 ';
  font-size: 0.85em;
  margin-right: 4px;
}

/* オンライン居場所 (Online - Soft Muted Sky Blue) */
.modal_post_type_badge[data-type="オンライン居場所"] {
  background: #f0f9ff;
  color: #0284c7;
  border-color: #bae6fd;
}
.modal_post_type_badge[data-type="オンライン居場所"]::before {
  content: '🌐 ';
  font-size: 0.85em;
  margin-right: 4px;
}

/* 当事者会・家族会 (Soft Warm Amber) */
.modal_post_type_badge[data-type="当事者会"],
.modal_post_type_badge[data-type="家族会"] {
  background: #fef9c3;
  color: #854d0e;
  border-color: #fef08a;
}
.modal_post_type_badge[data-type="当事者会"]::before,
.modal_post_type_badge[data-type="家族会"]::before {
  content: '🌱 ';
  font-size: 0.85em;
  margin-right: 4px;
}

/* 関係機関 (Soft Magenta) */
.modal_post_type_badge[data-type="関係機関"] {
  background: #fce4ec;
  color: #9d174d;
  border-color: #f8bbd0;
}

/* 支援機関 (Soft Sky) */
.modal_post_type_badge[data-type="支援機関"] {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #bae6fd;
}

#reactshiens .city_name { font-weight: 600; font-size: 20px; margin: 20px 0; }
#reactshiens img { width: auto !important; }
#reactshiens .gm-style-iw { margin-left: 10px; }
#reactshiens button.gm-ui-hover-effect { width: 25px !important; height: 25px !important; position: absolute !important; right: 4px; top: 4px; }
#reactshiens button.gm-ui-hover-effect span { margin: 0 !important; }
#reactshiens .gm-style-iw + div { display: none; }

.detail figure { padding: 0; }
.detail img { max-width: 100%; border-radius: 10px; }
.detail .title { text-decoration: none; }
.contentDetail::-webkit-scrollbar { display: none; }

/* 関連する記事・お知らせカード */
.modal-related-posts {
  margin: 0.75rem 0 1.5rem;
  padding: 1.15rem 1.35rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.modal-related-posts .modal-related-title {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #1e293b;
  margin-bottom: 0.75rem !important;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.modal-related-posts .modal-related-title::before {
  content: '📰';
  font-size: 1.05rem;
}
.modal-related-posts .modal-related-item {
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}
.modal-related-posts .modal-related-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.modal-related-posts .modal-related-item:first-of-type {
  padding-top: 0;
}
.modal-related-posts .modal-related-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.modal-related-posts .modal-related-date {
  display: inline-block;
  padding: 2px 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.modal-related-posts .modal-related-link {
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: #1e293b;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.15s ease;
}
.modal-related-posts .modal-related-link:hover {
  text-decoration: underline !important;
}
.modal-related-posts .modal-related-content {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.7;
}
.modal-related-posts .modal-related-content p {
  margin-bottom: 0.4rem;
}
.modal-related-posts .modal-related-content p:last-child {
  margin-bottom: 0;
}
.modal-related-posts .modal-related-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* 支援機関詳細テーブル (tdのみで構成されるwp-block-table.detail) */
.detail .wp-block-table.detail {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  margin: 1.25rem 0;
}
.detail .wp-block-table.detail table {
  width: 100% !important;
  border: none !important;
  font-size: 0.92rem;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.detail .wp-block-table.detail table tbody tr {
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  margin: 0 !important;
  display: flex;
  align-items: stretch;
  transition: background-color 0.15s ease;
}
.detail .wp-block-table.detail table tbody tr:last-child {
  border-bottom: none !important;
}
.detail .wp-block-table.detail table tbody tr:hover {
  background-color: #fafcfc;
}
.detail .wp-block-table.detail table tbody tr td {
  padding: 0.85rem 1.15rem !important;
  flex: 1;
  color: #334155 !important;
  line-height: 1.7;
  border: none !important;
  background: #ffffff;
  word-break: break-word;
}
.detail .wp-block-table.detail table tbody tr td:nth-of-type(odd) {
  width: 140px !important;
  min-width: 120px !important;
  flex: none !important;
  padding: 0.85rem 1rem !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  color: #1e293b !important;
  background: #f8fafc !important;
  border: none !important;
  border-right: 1px solid #f1f5f9 !important;
  display: flex;
  align-items: center;
}
.detail .wp-block-table.detail table tbody tr td:nth-of-type(3) {
  border-left: 1px solid #f1f5f9 !important;
}
.detail .wp-block-table.detail table tbody tr td a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
@media (max-width: 1200px) {
  .detail .wp-block-table.detail table tbody tr {
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    gap: 4px;
  }
  .detail .wp-block-table.detail table tbody tr td {
    width: 100% !important;
    padding: 0 !important;
  }
  .detail .wp-block-table.detail table tbody tr td:nth-of-type(odd) {
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    border-right: none !important;
  }
  .detail .wp-block-table.detail table tbody tr td:nth-of-type(3) {
    border-left: none !important;
    margin-top: 6px;
  }
}

/* Category-Aware Modal Styling */
/* ① 市町の支援機関 (shien / municipal_support) */
.detail.shien #dialog-title,
.detail.municipal_support #dialog-title {
  background: linear-gradient(180deg, #fff7fa 0%, #ffffff 100%);
  border-bottom: 1px solid #fce7f3;
}
.detail.shien h3,
.detail.municipal_support h3 {
  text-align: left;
  font-size: 1.15rem;
  font-weight: 700;
  color: #831843;
  border-left: 4px solid #db2777;
  background: #fdf2f8;
  padding: 0.5rem 0.95rem;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0 0.85rem;
}
.detail.shien .modal-related-posts,
.detail.municipal_support .modal-related-posts {
  background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 100%);
  border-color: #fbcfe8;
  border-left: 4px solid #db2777;
}
.detail.shien .modal-related-title,
.detail.municipal_support .modal-related-title { color: #831843; }
.detail.shien .modal-related-date,
.detail.municipal_support .modal-related-date {
  border-color: #fbcfe8;
  color: #be185d;
  background: #ffffff;
}
.detail.shien .modal-related-link,
.detail.municipal_support .modal-related-link { color: #be185d; }
.detail.shien .modal-related-link:hover,
.detail.municipal_support .modal-related-link:hover { color: #831843; }
.detail.shien .modal-related-content,
.detail.municipal_support .modal-related-content {
  border-color: #fce7f3;
  background: rgba(255, 255, 255, 0.9);
}
.detail.shien .modal-related-content a,
.detail.municipal_support .modal-related-content a { color: #be185d; }
.detail.shien .modal-related-content a:hover,
.detail.municipal_support .modal-related-content a:hover { color: #831843; }

.detail.shien .wp-block-table.detail,
.detail.municipal_support .wp-block-table.detail { border-color: #fbcfe8; }
.detail.shien .wp-block-table.detail table tbody tr,
.detail.municipal_support .wp-block-table.detail table tbody tr { border-bottom-color: #fce7f3 !important; }
.detail.shien .wp-block-table.detail table tbody tr td { border: none !important; }
.detail.shien .wp-block-table.detail table tbody tr td:nth-of-type(odd),
.detail.municipal_support .wp-block-table.detail table tbody tr td:nth-of-type(odd) {
  color: #6d2448 !important;
  background-color: #fbf2f6 !important;
  border-right-color: #fce7f3 !important;
}
.detail.shien .wp-block-table.detail table tbody tr td:nth-of-type(3),
.detail.municipal_support .wp-block-table.detail table tbody tr td:nth-of-type(3) {
  border-left-color: #fce7f3 !important;
}
.detail.shien .wp-block-table.detail table tbody tr td a,
.detail.municipal_support .wp-block-table.detail table tbody tr td a { color: #be185d; }
.detail.shien .wp-block-table.detail table tbody tr td a:hover,
.detail.municipal_support .wp-block-table.detail table tbody tr td a:hover { color: #881337; }

.detail.shien table,
.detail.municipal_support table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #fbcfe8;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(219, 39, 119, 0.04);
  margin: 1.25rem 0;
  font-size: 0.92rem;
}
.detail.shien table tr,
.detail.municipal_support table tr {
  border-bottom: 1px solid #fce7f3;
}
.detail.shien table tr th,
.detail.municipal_support table tr th {
  width: 135px;
  background-color: #fbf2f6;
  color: #6d2448;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.85rem 1.15rem;
  border-right: 1px solid #fce7f3;
  border-bottom: 1px solid #fce7f3;
}
.detail.shien table tr td,
.detail.municipal_support table tr td {
  word-break: break-word;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #334155;
  padding: 0.85rem 1.15rem;
  border: none;
  border-bottom: 1px solid #fce7f3;
}
.detail.shien table tr td a,
.detail.municipal_support table tr td a {
  color: #be185d;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.detail.shien table tr td a:hover,
.detail.municipal_support table tr td a:hover {
  color: #881337;
}
.detail.shien .in_charge,
.detail.municipal_support .in_charge {
  padding: 1rem 1.25rem;
  border: 1px solid #fbcfe8;
  border-radius: 12px;
  background: #fdf2f8;
  margin: 1.25rem 0;
}
.detail.shien .in_charge table,
.detail.municipal_support .in_charge table {
  border: none;
  box-shadow: none;
  margin: 0;
  background: transparent;
}
.detail.shien .in_charge table tbody,
.detail.municipal_support .in_charge table tbody {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  column-gap: 1.5rem;
}
.detail.shien .in_charge table tbody tr,
.detail.municipal_support .in_charge table tbody tr {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.75rem;
  border: none;
}
.detail.shien .in_charge table tbody tr td,
.detail.municipal_support .in_charge table tbody tr td {
  padding: 0.2rem 0;
  width: auto;
  border: none;
  background: transparent;
}
.detail.shien .in_charge table tbody tr td:first-of-type,
.detail.municipal_support .in_charge table tbody tr td:first-of-type {
  font-weight: 700;
  color: #831843;
}

/* ② 民間の支援団体 (private_support) */
.detail.private_support #dialog-title {
  background: linear-gradient(180deg, #f6fdf9 0%, #ffffff 100%);
  border-bottom: 1px solid #d1fae5;
}
.detail.private_support h3 {
  text-align: left;
  font-size: 1.15rem;
  font-weight: 700;
  color: #065f46;
  border-left: 4px solid #059669;
  background: #ecfdf5;
  padding: 0.5rem 0.95rem;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0 0.85rem;
}
.detail.private_support .modal-related-posts {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border-color: #a7f3d0;
  border-left: 4px solid #059669;
}
.detail.private_support .modal-related-title { color: #065f46; }
.detail.private_support .modal-related-date {
  border-color: #a7f3d0;
  color: #047857;
  background: #ffffff;
}
.detail.private_support .modal-related-link { color: #047857; }
.detail.private_support .modal-related-link:hover { color: #065f46; }
.detail.private_support .modal-related-content {
  border-color: #d1fae5;
  background: rgba(255, 255, 255, 0.9);
}
.detail.private_support .modal-related-content a { color: #0f766e; }
.detail.private_support .modal-related-content a:hover { color: #047857; }

.detail.private_support .wp-block-table.detail { border-color: #a7f3d0; }
.detail.private_support .wp-block-table.detail table tbody tr { border-bottom-color: #d1fae5 !important; }
.detail.private_support .wp-block-table.detail table tbody tr td { border: none !important; }
.detail.private_support .wp-block-table.detail table tbody tr td:nth-of-type(odd) {
  color: #1f5c56 !important;
  background-color: #f0f7f6 !important;
  border-right-color: #d1fae5 !important;
}
.detail.private_support .wp-block-table.detail table tbody tr td:nth-of-type(3) {
  border-left-color: #d1fae5 !important;
}
.detail.private_support .wp-block-table.detail table tbody tr td a { color: #0f766e; }
.detail.private_support .wp-block-table.detail table tbody tr td a:hover { color: #047857; }

.detail.private_support table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #a7f3d0;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.04);
  margin: 1.25rem 0;
  font-size: 0.92rem;
}
.detail.private_support table tr {
  border-bottom: 1px solid #d1fae5;
}
.detail.private_support table tr th {
  width: 135px;
  background-color: #f0f7f6;
  color: #1f5c56;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.85rem 1.15rem;
  border-right: 1px solid #d1fae5;
  border-bottom: 1px solid #d1fae5;
}
.detail.private_support table tr td {
  word-break: break-word;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #334155;
  padding: 0.85rem 1.15rem;
  border: none;
  border-bottom: 1px solid #d1fae5;
}
.detail.private_support table tr td a {
  color: #0f766e;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.detail.private_support table tr td a:hover {
  color: #047857;
}
.detail.private_support .in_charge {
  padding: 1rem 1.25rem;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  background: #f0fdf4;
  margin: 1.25rem 0;
}
.detail.private_support .in_charge table {
  border: none;
  box-shadow: none;
  margin: 0;
  background: transparent;
}
.detail.private_support .in_charge table tbody {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  column-gap: 1.5rem;
}
.detail.private_support .in_charge table tbody tr {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.75rem;
  border: none;
}
.detail.private_support .in_charge table tbody tr td {
  padding: 0.2rem 0;
  width: auto;
  border: none;
  background: transparent;
}
.detail.private_support .in_charge table tbody tr td:first-of-type {
  font-weight: 700;
  color: #065f46;
}

/* ③ オンライン居場所 (onlinespace) */
.detail.onlinespace #dialog-title {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid #bae6fd;
}
.detail.onlinespace h3 {
  text-align: left;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0369a1;
  border-left: 4px solid #0284c7;
  background: #f0f9ff;
  padding: 0.5rem 0.95rem;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0 0.85rem;
}
.detail.onlinespace .modal-related-posts {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  border-color: #bae6fd;
  border-left: 4px solid #0284c7;
}
.detail.onlinespace .modal-related-title { color: #0369a1; }
.detail.onlinespace .modal-related-date {
  border-color: #bae6fd;
  color: #0284c7;
  background: #ffffff;
}
.detail.onlinespace .modal-related-link { color: #0284c7; }
.detail.onlinespace .modal-related-link:hover { color: #0369a1; }
.detail.onlinespace .modal-related-content {
  border-color: #e0f2fe;
  background: rgba(255, 255, 255, 0.9);
}
.detail.onlinespace .modal-related-content a { color: #0284c7; }
.detail.onlinespace .modal-related-content a:hover { color: #0369a1; }

.detail.onlinespace .wp-block-table.detail { border-color: #bae6fd; }
.detail.onlinespace .wp-block-table.detail table tbody tr { border-bottom-color: #e0f2fe !important; }
.detail.onlinespace .wp-block-table.detail table tbody tr td { border: none !important; }
.detail.onlinespace .wp-block-table.detail table tbody tr td:nth-of-type(odd) {
  color: #0369a1 !important;
  background-color: #f0f9ff !important;
  border-right-color: #e0f2fe !important;
}
.detail.onlinespace .wp-block-table.detail table tbody tr td:nth-of-type(3) {
  border-left-color: #e0f2fe !important;
}
.detail.onlinespace .wp-block-table.detail table tbody tr td a { color: #0284c7; }
.detail.onlinespace .wp-block-table.detail table tbody tr td a:hover { color: #0369a1; }

.detail.onlinespace table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #bae6fd;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.04);
  margin: 1.25rem 0;
  font-size: 0.92rem;
}
.detail.onlinespace table tr {
  border-bottom: 1px solid #e0f2fe;
}
.detail.onlinespace table tr th {
  width: 135px;
  background-color: #f0f9ff;
  color: #0369a1;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.85rem 1.15rem;
  border-right: 1px solid #e0f2fe;
  border-bottom: 1px solid #e0f2fe;
}
.detail.onlinespace table tr td {
  word-break: break-word;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #334155;
  padding: 0.85rem 1.15rem;
  border: none;
  border-bottom: 1px solid #e0f2fe;
}
.detail.onlinespace table tr td a {
  color: #0284c7;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.detail.onlinespace table tr td a:hover {
  color: #0369a1;
}
.detail.onlinespace .in_charge {
  padding: 1rem 1.25rem;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  background: #f0f9ff;
  margin: 1.25rem 0;
}
.detail.onlinespace .in_charge table {
  border: none;
  box-shadow: none;
  margin: 0;
  background: transparent;
}
.detail.onlinespace .in_charge table tbody {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  column-gap: 1.5rem;
}
.detail.onlinespace .in_charge table tbody tr {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.75rem;
  border: none;
}
.detail.onlinespace .in_charge table tbody tr td {
  padding: 0.2rem 0;
  width: auto;
  border: none;
  background: transparent;
}
.detail.onlinespace .in_charge table tbody tr td:first-of-type {
  font-weight: 700;
  color: #0369a1;
}

@media (max-width: 1200px) {
  .detail table tr th { width: auto; display: block; border-right: none !important; }
  .detail table tr td { display: block; }
}

.blinking { animation: blink 0.3s ease-in-out infinite alternate; }
.events { font-size: 1rem; transition: 0.3s; }
.events.shrink { overflow-x: scroll; height: 400px; }
.event_popover { font-size: 1rem; }
@keyframes blink { 0% { background: white; } 100% { background: #f9fbb9; } }
