.gncare-responsive-img,
.legacy-content img,
.board-view img,
.gncare-board-view img {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

.legacy-content,
.gncare-board-view,
.gncare-service-page {
  overflow-wrap: anywhere;
  word-break: keep-all;
}

header nav .container,
.hero,
.tab,
.about.con_pd > .container,
.gncare-service-page > .container,
.gncare-board-list > .container,
.gncare-gallery-grid,
#board > .container {
  max-width: 1160px;
}

header nav .container {
  display: flex;
  align-items: center;
  gap: 48px;
}

header nav .top_logo {
  flex: 0 0 230px;
}

header nav .menu {
  flex: 1 1 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tab {
  margin: 0 auto 34px;
  border-top: 3px solid #9e0b14;
  border-bottom: 1px solid #9e0b14;
  overflow: visible;
}

.tab .row {
  display: flex;
  align-items: stretch;
  margin-left: 0;
  margin-right: 0;
}

.tab .row > li {
  float: none;
  flex: 1 1 0;
  width: auto !important;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.tab a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 14px 12px;
  word-break: keep-all;
  line-height: 1.35;
}

.about.con_pd .container,
.gncare-service-page .container,
.gncare-counseling-list .container,
.gncare-counseling-write .container,
.gncare-counseling-view .container {
  padding-left: 22px;
  padding-right: 22px;
}

.top_logo img,
.mob_logo img,
.menu_log img {
  display: block;
  max-width: 230px;
  width: auto;
  height: auto;
}

.foot_logo img {
  display: block;
  max-width: 220px;
  width: auto;
  height: auto !important;
}

.legacy-content {
  padding: 12px 0 36px;
  line-height: 1.8;
}

.legacy-content table,
.gncare-board-view table {
  max-width: 100%;
}

.legacy-content iframe,
.gncare-board-view iframe {
  max-width: 100%;
}

.sub_visual {
  overflow: hidden;
}

.sub_visual img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

.gncare-map {
  margin-top: 40px;
  margin-bottom: 70px;
}

.gncare-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

.gncare-image-block {
  margin: 34px auto;
  text-align: center;
  max-width: 980px;
}

.gncare-image-block img {
  width: auto !important;
  max-width: 100%;
  height: auto !important;
}

.gncare-service-promo {
  margin: 22px auto;
  max-width: 420px;
}

.gncare-service-promo img {
  max-width: 420px;
}

.gncare-directions img {
  max-width: 980px;
}

.gncare-facility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 36px 0;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.gncare-facility-grid div {
  text-align: center;
}

.gncare-facility-grid img {
  width: 100% !important;
  height: 260px !important;
  object-fit: cover;
}

.gncare-service-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 34px 0 16px;
}

.gncare-button-reset {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.gncare-counseling-tabs a {
  margin-left: 6px;
  margin-bottom: 6px;
}

.gncare-counseling-list .list td,
.gncare-counseling-view .view td,
.gncare-counseling-write .write dd {
  word-break: keep-all;
}

.gncare-counseling-write input[type="text"],
.gncare-counseling-write input[type="email"],
.gncare-counseling-write input[type="password"],
.gncare-counseling-write select,
.gncare-counseling-write textarea {
  max-width: 100%;
}

.gncare-service-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 48px;
  text-decoration: none;
  color: #fff;
  background: #1f7a5a;
  border-radius: 4px;
  overflow: hidden;
}

.gncare-service-actions img {
  display: block;
  max-width: 100%;
  height: auto;
}

.gncare-service-actions span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.gncare-board-list {
  margin-top: 30px;
  margin-bottom: 100px;
}

.gncare-board-view {
  margin-top: 30px;
  margin-bottom: 100px;
}

.gncare-board-view h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.gncare-board-view .board-meta {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  margin-bottom: 24px;
  color: #777;
}

.gncare-board-view .board-file {
  margin-bottom: 18px;
}

.gncare-list-button {
  margin-top: 30px;
  text-align: center;
}

.gncare-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-left: auto;
  margin-right: auto;
}

.gncare-gallery-card {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.gncare-gallery-card .thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f2f2f2;
  border: 1px solid #e5e5e5;
}

.gncare-gallery-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gncare-gallery-card strong {
  display: block;
  margin-top: 10px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gncare-gallery-card em {
  display: block;
  margin-top: 4px;
  color: #777;
  font-style: normal;
  font-size: 13px;
}

@media (max-width: 768px) {
  .gncare-facility-grid,
  .gncare-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gncare-service-actions {
    flex-direction: column;
  }

  .gncare-service-actions a {
    width: 100%;
    max-width: 320px;
  }

  .legacy-content table,
  .gncare-board-view table {
    display: block;
    overflow-x: auto;
  }

  header nav .container {
    display: block;
  }

  .tab .row {
    flex-direction: column;
  }

  .tab a {
    min-height: 48px;
  }

  .about.con_pd .container,
  .gncare-service-page .container,
  .gncare-counseling-list .container,
  .gncare-counseling-write .container,
  .gncare-counseling-view .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .top_logo img,
  .mob_logo img,
  .menu_log img {
    max-width: 180px;
  }

  .gncare-service-promo img {
    max-width: 300px;
  }

  .gncare-facility-grid img {
    height: auto !important;
    object-fit: contain;
  }
}

/* 2026-06-29 final migration alignment */
body {
  word-break: keep-all;
}

.wrap > header .container,
.container {
  max-width: 1150px;
  width: calc(100% - 48px);
  margin-left: auto;
  margin-right: auto;
}

header nav {
  min-height: 96px;
}

.gncare-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.top_logo {
  flex: 0 0 230px;
  min-width: 230px;
  text-align: left;
}

.top_logo img {
  display: block;
  max-width: 230px;
  max-height: 76px;
  width: auto;
  height: auto;
}

.gncare-flat-menu {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
}

.gncare-flat-menu > li {
  float: none !important;
  position: static !important;
  list-style: none;
}

.gncare-flat-menu .sub_menu,
header nav .menu .sub_menu {
  display: none !important;
}

.gncare-flat-menu > li > a {
  display: block;
  padding: 34px 20px;
  color: #111;
  font-size: 17px;
  text-decoration: none;
}

.gncare-flat-menu > li.active > a {
  color: #111;
}

.hero {
  padding: 92px 0 52px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 400;
  color: #333;
}

.hero p {
  margin-top: 8px;
  font-size: 18px;
  color: #333;
}

.tab {
  max-width: 1150px;
  width: calc(100% - 48px);
  margin: 0 auto 58px;
  border-top: 3px solid #e60012;
  border-bottom: 1px solid #d93333;
  clear: both;
}

.tab .row {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.tab li {
  float: none !important;
  list-style: none;
  text-align: center;
}

.tab li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 12px;
  color: #9e0000;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.tab li.active a,
.tab li a:hover {
  color: #9e0000;
  font-weight: 700;
}

.gncare-site-page .container,
.about.con_pd .container,
.gncare-service-page .container,
.gncare-board-list .container,
.gncare-board-view .container,
.gncare-counseling-write .container,
.gncare-policy-page .container {
  max-width: 1150px;
  width: calc(100% - 48px);
  padding-left: 0;
  padding-right: 0;
}

.gncare-site-page {
  padding-top: 0;
}

.gncare-site-page .legacy-content ul {
  max-width: 1150px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.gncare-site-page .legacy-content iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 360px;
}

.legacy-content {
  max-width: 1150px;
  margin: 0 auto;
  overflow-x: auto;
}

.legacy-content img,
.gncare-responsive-img {
  display: block;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin-left: auto;
  margin-right: auto;
}

.legacy-content table {
  max-width: 100% !important;
  margin-left: auto;
  margin-right: auto;
}

.gncare-policy-content {
  border: 0;
  padding: 28px 0 80px;
  line-height: 1.8;
  white-space: pre-wrap;
  background: #fff;
}

.gncare-service-title {
  margin: 0 0 44px;
  text-align: center;
  font-size: 44px;
  line-height: 1.2;
  color: #168c2c;
  font-weight: 400;
}

.gncare-service-promos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  margin: 0 auto 210px;
  max-width: 1040px;
}

.gncare-service-promo {
  margin: 0;
  max-width: none;
}

.gncare-service-promo img {
  width: 100% !important;
  max-width: none;
}

.gncare-service-intro-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 78px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto 70px;
}

.gncare-service-main-image {
  margin: 0 auto 70px;
  max-width: 1150px;
}

.gncare-service-main-image img {
  width: 100% !important;
  max-width: none !important;
}

.gncare-service-text {
  color: #555;
  font-size: 20px;
  line-height: 2.05;
}

.gncare-service-text h1,
.gncare-service-text h2,
.gncare-service-text h3,
.gncare-service-text strong {
  color: #64ad68;
  font-size: 25px;
  font-weight: 700;
}

.gncare-service-wide-image {
  max-width: 1040px;
  margin: 44px auto;
}

.gncare-facility-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1040px;
}

.gncare-facility-grid img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
}

.gncare-service-actions {
  margin: 46px 0 24px;
}

.gncare-service-actions a {
  min-width: 0;
  min-height: 0;
  background: transparent;
  border-radius: 0;
}

.gncare-service-actions img {
  max-height: 54px;
}

#board table.list {
  width: 100%;
  table-layout: fixed;
}

#board table.list th,
#board table.list td {
  text-align: center;
  vertical-align: middle;
  word-break: keep-all;
}

#board table.list td .subject {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gncare-button-reset,
button.bt_main,
a.bt_main,
.bt_main {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  background: #c00000;
  color: #fff !important;
  font-size: 16px;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
}

.bt_gray,
a.bt_gray {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 40px;
  padding: 0 18px;
  border-radius: 4px;
  background: #444;
  color: #fff !important;
  text-decoration: none !important;
}

.gncare-counseling-write .join,
.gncare-counseling-write .write {
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
}

.gncare-counseling-write .terms_con,
.gncare-counseling-write .terms {
  width: 100%;
}

.gncare-counseling-write .terms_con {
  height: auto !important;
  overflow: visible !important;
  border: 0 !important;
  padding: 0 !important;
}

.gncare-counseling-write .terms {
  min-height: 220px;
  max-height: 220px;
  overflow: auto;
  padding: 14px;
  border: 1px solid #ddd;
  line-height: 1.7;
  background: #fff;
}

.gncare-counseling-write .write dl {
  display: flex;
  align-items: flex-start;
  margin: 0;
}

.gncare-counseling-write .write dt {
  padding-top: 13px;
}

.gncare-counseling-write .write input,
.gncare-counseling-write .write select,
.gncare-counseling-write .write textarea {
  width: 100%;
  box-sizing: border-box;
}

.gncare-counseling-write .btn_wrap,
.gncare-counseling-write .btn_wrap .center,
.gncare-counseling-write .btn_wrap li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.gncare-counseling-write {
  padding-bottom: 90px;
}

.gncare-counseling-write .filebox {
  margin-bottom: 18px;
}

footer .info .container {
  max-width: 1150px;
  width: calc(100% - 48px);
}

footer .foot_logo img {
  max-width: 220px;
  width: auto;
  height: auto;
}

footer .com {
  line-height: 1.9;
}

@media (max-width: 1024px) {
  .gncare-service-promos {
    gap: 18px;
    margin-bottom: 80px;
  }

  .gncare-service-intro-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .wrap > header .container,
  .container,
  .tab,
  .gncare-site-page .container,
  .about.con_pd .container,
  .gncare-service-page .container,
  .gncare-board-list .container,
  .gncare-board-view .container,
  .gncare-counseling-write .container,
  .gncare-policy-page .container,
  footer .info .container {
    width: calc(100% - 32px);
  }

  .hero {
    padding: 48px 0 32px;
  }

  .hero h1,
  .gncare-service-title {
    font-size: 32px;
  }

  .tab .row,
  .gncare-service-promos,
  .gncare-facility-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .gncare-service-promos {
    display: grid;
    max-width: 340px;
    margin-bottom: 56px;
  }

  .gncare-counseling-write .write dl {
    display: block;
  }

  .gncare-counseling-write .write dt,
  .gncare-counseling-write .write dd {
    width: 100% !important;
  }
}

/* 2026-06-29 hotfix: restore top dropdowns and add breathing room */
.gncare-flat-menu > li {
  position: relative !important;
}

.gncare-flat-menu > li > .sub_menu,
header nav .gncare-flat-menu > li > .sub_menu {
  display: none !important;
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  z-index: 1000;
  width: 190px;
  padding: 12px 0 14px;
  margin: 0;
  transform: translateX(-50%);
  background: #e5e5e5;
  border: 0;
  border-top: 3px solid #fff;
  list-style: none;
  text-align: left;
}

.gncare-flat-menu > li:hover > .sub_menu,
.gncare-flat-menu > li:focus-within > .sub_menu,
header nav .gncare-flat-menu > li:hover > .sub_menu,
header nav .gncare-flat-menu > li:focus-within > .sub_menu {
  display: block !important;
}

.gncare-flat-menu > li > .sub_menu li {
  display: block;
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.gncare-flat-menu > li > .sub_menu a {
  display: block;
  padding: 7px 18px;
  color: #333;
  font-size: 16px;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}

.gncare-flat-menu > li > .sub_menu a:hover {
  color: #e60012;
}

.gncare-service-page {
  padding-top: 72px;
  padding-bottom: 110px;
}

.gncare-service-page > .container {
  box-sizing: border-box;
  padding-left: 28px !important;
  padding-right: 28px !important;
}

.gncare-service-title {
  padding-top: 20px;
  padding-bottom: 24px;
}

.gncare-counseling-write {
  padding-top: 34px;
  padding-bottom: 120px;
}

.gncare-counseling-write .container {
  box-sizing: border-box;
  padding-left: 28px !important;
  padding-right: 28px !important;
}

.gncare-counseling-write .join,
.gncare-counseling-write .write {
  width: 100%;
  box-sizing: border-box;
}

.gncare-counseling-write .join h5 {
  margin: 0 0 12px;
  padding: 18px 0 16px;
}

.gncare-counseling-write .terms {
  box-sizing: border-box;
}

.gncare-counseling-write .yes_no {
  margin-top: 18px;
  margin-bottom: 30px;
}

.gncare-counseling-write .write .form-group {
  margin-bottom: 18px;
}

.gncare-site-page + .gncare-map {
  position: relative;
  max-width: 1150px;
  width: calc(100% - 48px);
  margin-top: -210px;
  margin-bottom: 120px;
  padding: 0 28px;
  box-sizing: border-box;
  text-align: left;
}

.gncare-site-page + .gncare-map iframe {
  display: block;
  width: 52% !important;
  max-width: 580px;
  height: 310px;
}

@media (max-width: 1024px) {
  .gncare-site-page + .gncare-map {
    margin-top: 36px;
  }

  .gncare-site-page + .gncare-map iframe {
    width: 100% !important;
    max-width: none;
  }
}

/* 2026-06-29 final visual fix: hide broken legacy image boxes and normalize service pages */
.gncare-img-error,
.gncare-broken-image-holder {
  display: none !important;
}

.gncare-service-page {
  padding-top: 58px;
  padding-bottom: 72px;
}

.gncare-service-page > .container {
  max-width: 1150px;
  width: calc(100% - 48px);
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.gncare-service-title {
  margin: 0 0 38px;
  padding: 0;
  text-align: center;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 700;
}

.gncare-service-promos,
.gncare-service-main-image,
.gncare-service-wide-image,
.gncare-facility-grid {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.gncare-service-main-image,
.gncare-service-wide-image {
  margin-top: 30px;
  margin-bottom: 30px;
}

.gncare-facility-grid {
  gap: 22px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.gncare-facility-grid img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
}

.gncare-service-actions {
  margin: 44px 0 24px;
  text-align: center;
}

.gncare-service-actions .gncare-consult-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 52px;
  padding: 0 28px;
  border: 2px solid #1697d2;
  border-radius: 999px;
  background: #fff !important;
  color: #1594cf !important;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
}

.gncare-service-location-card {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  gap: 76px;
  align-items: center;
  max-width: 1130px;
  margin: 0 auto 88px;
  padding: 72px 30px 62px;
  box-sizing: border-box;
  background: #fff;
}

.gncare-service-location-map iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: 0;
}

.gncare-service-location-info h3 {
  margin: 0 0 28px;
  color: #64ad68;
  font-size: 30px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0;
}

.gncare-service-location-card--blue .gncare-service-location-info h3 {
  color: #159bd3;
}

.gncare-service-location-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 22px;
  row-gap: 12px;
  margin: 0;
  color: #222;
  font-size: 20px;
  line-height: 1.55;
}

.gncare-service-location-info dt {
  font-weight: 700;
  white-space: nowrap;
}

.gncare-service-location-info dd {
  margin: 0;
}

.gncare-service-blog-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 34px;
  padding: 0 24px;
  border-radius: 999px;
  background: #64ad68;
  color: #fff !important;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
}

.gncare-service-location-card--blue .gncare-service-blog-link {
  background: #159bd3;
}

.gncare-site-page + .gncare-map {
  max-width: 1130px;
  width: calc(100% - 48px);
  margin-top: -240px;
  margin-bottom: 92px;
  padding: 0 30px;
}

.gncare-site-page + .gncare-map iframe {
  width: 52% !important;
  max-width: 560px;
  height: 330px;
}

@media (max-width: 1024px) {
  .gncare-service-location-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 38px 20px 42px;
  }

  .gncare-service-location-info h3 {
    font-size: 26px;
  }

  .gncare-service-location-info dl {
    font-size: 18px;
  }

  .gncare-site-page + .gncare-map {
    margin-top: 30px;
    padding: 0;
  }

  .gncare-site-page + .gncare-map iframe {
    width: 100% !important;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .gncare-service-page > .container,
  .gncare-site-page + .gncare-map {
    width: calc(100% - 32px);
  }

  .gncare-service-title {
    font-size: 30px;
  }

  .gncare-service-location-map iframe {
    height: 300px;
  }

  .gncare-service-location-info dl {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }
}

/* 2026-06-30 request fix: location alignment, Yangsan home-care page, and editor-safe image sizing */
.gncare-site-page + .gncare-map {
  position: relative;
  z-index: 1;
  max-width: 1130px;
  width: calc(100% - 48px);
  margin: -410px auto 92px;
  padding: 0 30px;
  box-sizing: border-box;
}

.gncare-site-page + .gncare-map iframe {
  display: block;
  width: 52% !important;
  max-width: 560px;
  height: 330px;
  border: 0;
}

.gncare-yangsan-homecare {
  padding-top: 72px;
}

.gncare-yangsan-homecare .gncare-service-title {
  color: #159bd3;
  margin-bottom: 34px;
}

.gncare-homecare-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 46px;
  max-width: 980px;
}

.gncare-homecare-cards .gncare-service-promo {
  flex: 0 1 390px;
  margin: 0;
}

.gncare-homecare-cards img {
  display: block;
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
}

.sub_visual {
  width: 100%;
  overflow: hidden;
  text-align: center;
}

.sub_visual img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .gncare-site-page + .gncare-map {
    margin: 30px auto 70px;
    padding: 0;
  }

  .gncare-site-page + .gncare-map iframe {
    width: 100% !important;
    max-width: none;
  }

  .gncare-homecare-cards {
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .gncare-homecare-cards {
    flex-direction: column;
    align-items: center;
  }

  .gncare-homecare-cards .gncare-service-promo {
    width: 100%;
    flex-basis: auto;
  }
}

/* 2026-06-30 specific screenshot request: only tab line, about map row, and home-care layout */
.tab {
  border-top: 0 !important;
  border-bottom: 1px solid #d93333 !important;
}

.tab::before {
  content: "";
  display: none !important;
  width: 100%;
  height: 3px;
  background: #e60012;
}

.tab .row,
.tab li,
.tab a {
  border-top: 0 !important;
}

.tab .row {
  border-top: 3px solid #e60012 !important;
}

/* 2026-06-30 recheck: remove duplicated submenu top line completely */
.tab,
.tab .row,
.tab li,
.tab a {
  border-top: 0 !important;
}

.tab::before,
.tab::after,
.tab .row::before,
.tab .row::after {
  display: none !important;
  content: none !important;
}

.tab {
  border-bottom: 1px solid #d93333 !important;
}

/* 2026-07-01 final mobile override: logo, hamburger menu, and submenu tabs */
@media (max-width: 991px) {
  .wrap {
    padding-top: 56px;
  }

  .mob_nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 56px !important;
    padding: 0 58px !important;
    box-sizing: border-box;
    z-index: 99999;
  }

  .mob_btn {
    top: 0 !important;
    left: 0 !important;
    width: 56px !important;
    height: 56px !important;
    z-index: 2;
  }

  .mob_nav .mob_logo {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: calc(100vw - 116px);
    height: 56px;
    min-width: 0;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .mob_nav .mob_logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-width: 0;
  }

  .mob_nav .mob_logo img {
    display: block;
    width: auto !important;
    max-width: calc(100vw - 132px) !important;
    height: auto !important;
    max-height: 38px !important;
    object-fit: contain;
  }

  #menu {
    overflow-x: hidden;
    overflow-y: auto;
  }

  #menu .menu_log {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 58px;
    padding: 0 62px 0 20px;
    box-sizing: border-box;
  }

  #menu .menu_log img {
    width: auto !important;
    max-width: 180px !important;
    height: auto !important;
    max-height: 38px !important;
    object-fit: contain;
  }

  #menu .close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0 !important;
    z-index: 2;
  }

  #nav-left > li > div {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 58px 0 20px !important;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 16px;
  }

  #nav-left > li > div > a {
    display: block;
    width: 100%;
    color: #fff;
    text-decoration: none;
  }

  #nav-left .open_menu > div:after {
    top: 50% !important;
    right: 20px !important;
    line-height: 16px;
    transform: translateY(-50%);
  }

  #nav-left > .open_menu.open > ul {
    display: block;
  }

  #nav-left > .open_menu > ul > li > a {
    display: block;
    padding: 12px 20px 12px 34px !important;
    font-size: 15px;
    line-height: 1.4;
  }
}

@media (max-width: 768px) {
  .tab {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin: 0 auto 28px !important;
    border-top: 0 !important;
    border-bottom: 1px solid #d93333 !important;
    overflow: visible !important;
  }

  .tab .row {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 3px solid #e60012 !important;
    border-bottom: 0 !important;
    overflow: visible !important;
  }

  .tab .row:before,
  .tab .row:after {
    display: none !important;
    content: none !important;
  }

  .tab .row > li,
  .tab li[class*="col-"] {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .tab a,
  .tab li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    height: auto !important;
    padding: 11px 12px !important;
    border-top: 1px solid #ead0d0 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  .tab .row > li:first-child a {
    border-top: 0 !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .tab .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tab .row > li:first-child a,
  .tab .row > li:nth-child(2) a {
    border-top: 0 !important;
  }
}

@media (max-width: 480px) {
  .tab .row {
    grid-template-columns: 1fr !important;
  }

  .gncare-board-list table.list th,
  .gncare-board-list table.list td {
    padding-right: 5px !important;
    padding-left: 5px !important;
    font-size: 12px !important;
  }
}

/* 2026-07-01 mobile header/menu/tab correction */
@media (max-width: 991px) {
  .wrap {
    padding-top: 56px;
  }

  .mob_nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 56px !important;
    padding: 0 58px !important;
    box-sizing: border-box;
    z-index: 99999;
  }

  .mob_btn {
    top: 0 !important;
    left: 0 !important;
    width: 56px !important;
    height: 56px !important;
    z-index: 2;
  }

  .mob_nav .mob_logo {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: calc(100vw - 116px);
    height: 56px;
    min-width: 0;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .mob_nav .mob_logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-width: 0;
  }

  .mob_nav .mob_logo img {
    display: block;
    width: auto !important;
    max-width: calc(100vw - 132px) !important;
    height: auto !important;
    max-height: 38px !important;
    object-fit: contain;
  }

  #menu {
    overflow-x: hidden;
    overflow-y: auto;
  }

  #menu .menu_log {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 58px;
    padding: 0 62px 0 20px;
    box-sizing: border-box;
  }

  #menu .menu_log img {
    width: auto !important;
    max-width: 180px !important;
    height: auto !important;
    max-height: 38px !important;
    object-fit: contain;
  }

  #menu .close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0 !important;
    z-index: 2;
  }

  #nav-left > li > div {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 58px 0 20px !important;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 16px;
  }

  #nav-left > li > div > a {
    display: block;
    width: 100%;
    color: #fff;
    text-decoration: none;
  }

  #nav-left .open_menu > div:after {
    top: 50% !important;
    right: 20px !important;
    line-height: 16px;
    transform: translateY(-50%);
  }

  #nav-left > .open_menu.open > ul {
    display: block;
  }

  #nav-left > .open_menu > ul > li > a {
    display: block;
    padding: 12px 20px 12px 34px !important;
    font-size: 15px;
    line-height: 1.4;
  }
}

@media (max-width: 768px) {
  .tab {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin: 0 auto 28px !important;
    border-top: 0 !important;
    border-bottom: 1px solid #d93333 !important;
    overflow: visible !important;
  }

  .tab .row {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 3px solid #e60012 !important;
    border-bottom: 0 !important;
    overflow: visible !important;
  }

  .tab .row:before,
  .tab .row:after {
    display: none !important;
    content: none !important;
  }

  .tab .row > li,
  .tab li[class*="col-"] {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .tab a,
  .tab li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    height: auto !important;
    padding: 11px 12px !important;
    border-top: 1px solid #ead0d0 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  .tab .row > li:first-child a {
    border-top: 0 !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .tab .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tab .row > li:first-child a,
  .tab .row > li:nth-child(2) a {
    border-top: 0 !important;
  }
}

@media (max-width: 480px) {
  .tab .row {
    grid-template-columns: 1fr !important;
  }

  .gncare-board-list table.list th,
  .gncare-board-list table.list td {
    padding-right: 5px !important;
    padding-left: 5px !important;
    font-size: 12px !important;
  }
}

@media (min-width: 1025px) {
  .gncare-site-page + .gncare-map {
    margin: -535px auto 92px !important;
    padding: 0 30px !important;
  }

  .gncare-site-page + .gncare-map iframe {
    display: block;
    width: 52% !important;
    max-width: 560px;
    height: 330px;
  }
}

.gncare-homecare-redesign {
  padding: 70px 0 110px;
  background: #fff;
}

.gncare-homecare-redesign > .container {
  max-width: 1160px;
}

.gncare-homecare-redesign-title {
  margin: 0 0 52px;
  color: #159bd3;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.gncare-homecare-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 110px;
  max-width: 980px;
  margin: 0 auto 72px;
}

.gncare-homecare-summary-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 164px;
  padding: 26px 28px;
  background: #f4f4f4;
  border-top: 4px solid #42b5e8;
  box-sizing: border-box;
  color: #159bd3;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.85;
  text-align: center;
}

.gncare-homecare-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 74px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto 58px;
}

.gncare-homecare-photo {
  height: 356px;
  overflow: hidden;
  background: #f4f4f4;
}

.gncare-homecare-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.gncare-homecare-text h2 {
  margin: 0 0 22px;
  color: #159bd3;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
}

.gncare-homecare-text p {
  margin: 0 0 16px;
  color: #555;
  font-size: 18px;
  line-height: 1.9;
  word-break: keep-all;
}

.gncare-homecare-actions {
  margin: 0 0 46px;
  text-align: center;
}

.gncare-homecare-fee-image {
  max-width: 1040px;
  margin: 0 auto 58px;
  text-align: center;
}

.gncare-homecare-fee-image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .gncare-homecare-redesign {
    padding: 52px 0 82px;
  }

  .gncare-homecare-redesign-title {
    font-size: 36px;
  }

  .gncare-homecare-summary-grid {
    gap: 28px;
  }

  .gncare-homecare-intro-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 720px) {
  .gncare-homecare-summary-grid {
    grid-template-columns: 1fr;
  }

  .gncare-homecare-summary-card {
    min-height: 132px;
    font-size: 21px;
  }

  .gncare-homecare-photo {
    height: 260px;
  }

  .gncare-homecare-text h2 {
    font-size: 26px;
  }

  .gncare-homecare-text p {
    font-size: 16px;
  }
}

/* 2026-06-30 home-care final layout: banner + 1/2/3/4 image flow */
.gncare-homecare-final {
  background: #fff;
}

.gncare-homecare-final-banner {
  width: 100%;
  height: 625px;
  overflow: hidden;
  background: #d8d3c7;
}

.gncare-homecare-final-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.gncare-homecare-final-content {
  padding: 88px 0 110px;
}

.gncare-homecare-final-content > .container {
  max-width: 1200px;
}

.gncare-homecare-final-title {
  margin: 0 0 52px;
  color: #159bd3;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.gncare-homecare-final-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 150px;
  margin: 0 auto 72px;
}

.gncare-homecare-final-cards img {
  display: block;
  width: 390px;
  max-width: calc(50% - 75px);
  height: auto;
}

.gncare-homecare-final-intro {
  max-width: 1200px;
  margin: 0 auto 112px;
  text-align: center;
}

.gncare-homecare-final-intro img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.gncare-homecare-final-fee {
  max-width: 1120px;
  margin: 0 auto 34px;
  text-align: center;
}

.gncare-homecare-final-fee h2 {
  margin: 0 0 24px;
  color: #159bd3;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
}

.gncare-homecare-final-fee img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.gncare-homecare-final-actions {
  margin: 18px 0 64px;
  text-align: center;
}

.gncare-homecare-final-actions .gncare-consult-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 186px;
  height: 56px;
  padding: 0 26px;
  border: 2px solid #159bd3;
  border-radius: 999px;
  background: #fff;
  color: #159bd3;
  font-size: 25px;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .gncare-homecare-final-content > .container {
    width: calc(100% - 48px);
  }

  .gncare-homecare-final-cards {
    gap: 72px;
  }

  .gncare-homecare-final-cards img {
    max-width: calc(50% - 36px);
  }
}

@media (max-width: 768px) {
  .gncare-homecare-final-banner {
    height: 360px;
  }

  .gncare-homecare-final-content {
    padding: 54px 0 78px;
  }

  .gncare-homecare-final-title,
  .gncare-homecare-final-fee h2 {
    font-size: 34px;
  }

  .gncare-homecare-final-cards {
    flex-direction: column;
    gap: 22px;
    align-items: center;
  }

  .gncare-homecare-final-cards img {
    width: 390px;
    max-width: 100%;
  }

  .gncare-homecare-final-intro {
    margin-bottom: 70px;
  }

  .gncare-homecare-final-actions .gncare-consult-button {
    min-width: 160px;
    height: 50px;
    font-size: 21px;
  }
}

/* 2026-06-30 public board list/detail controls */
.gncare-board-list table.list {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.gncare-board-list table.list caption,
.gncare-board-prevnext caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.gncare-board-list table.list th,
.gncare-board-list table.list td {
  height: 54px;
  padding: 12px 10px;
  border-bottom: 1px solid #e2e2e2;
  text-align: center;
  box-sizing: border-box;
}

.gncare-board-list table.list th {
  border-top: 2px solid #444;
  background: #fafafa;
  color: #222;
  font-weight: 600;
}

.gncare-board-list table.list td:nth-child(2) {
  text-align: left;
}

.gncare-board-list table.list .subject {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #222;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gncare-board-list table.list .subject:hover,
.gncare-board-prevnext a:hover {
  color: #d71920;
  text-decoration: underline;
}

.gncare-board-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 34px 0 22px;
}

.gncare-board-pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #d7d7d7;
  background: #fff;
  color: #555;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
}

.gncare-board-pager a.is-active {
  border-color: #d71920;
  background: #d71920;
  color: #fff;
  font-weight: 700;
}

.gncare-board-pager a.is-disabled {
  color: #bbb;
  pointer-events: none;
}

.gncare-board-search {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 6px;
  max-width: 520px;
  margin: 0 auto;
}

.gncare-board-search select,
.gncare-board-search input,
.gncare-board-search button {
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 0;
  box-sizing: border-box;
  font-size: 14px;
}

.gncare-board-search select {
  width: 112px;
  padding: 0 10px;
  background: #fff;
}

.gncare-board-search input {
  flex: 1;
  min-width: 0;
  padding: 0 12px;
}

.gncare-board-search button {
  width: 82px;
  border-color: #d71920;
  background: #d71920;
  color: #fff;
  font-weight: 600;
}

.gncare-board-view-actions {
  margin: 34px 0 28px;
  text-align: center;
}

.gncare-board-list-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 38px;
  padding: 0 18px;
  background: #d71920;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  box-sizing: border-box;
}

.gncare-board-prevnext {
  margin: 0 auto 20px;
}

.gncare-board-prevnext table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border-top: 1px solid #444;
}

.gncare-board-prevnext th,
.gncare-board-prevnext td {
  height: 48px;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e2e2;
  box-sizing: border-box;
  font-size: 14px;
}

.gncare-board-prevnext th {
  width: 130px;
  background: #fafafa;
  color: #222;
  font-weight: 600;
  text-align: center;
}

.gncare-board-prevnext td {
  color: #555;
}

.gncare-board-prevnext a {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #333;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .gncare-board-list table.list colgroup col:nth-child(1) {
    width: 15% !important;
  }

  .gncare-board-list table.list colgroup col:nth-child(3) {
    width: 16% !important;
  }

  .gncare-board-list table.list colgroup col:nth-child(4) {
    width: 24% !important;
  }

  .gncare-board-list table.list th,
  .gncare-board-list table.list td {
    height: 48px;
    padding: 9px 6px;
    font-size: 13px;
  }

  .gncare-board-search {
    max-width: none;
    width: 100%;
  }

  .gncare-board-search select {
    width: 86px;
  }

  .gncare-board-search button {
    width: 68px;
  }

  .gncare-board-prevnext th {
    width: 86px;
  }
}

/* 2026-06-30 final override: submenu must not show a duplicated top line */
.tab,
.tab .row,
.tab li,
.tab a {
  border-top: 0 !important;
}

.tab::before,
.tab::after,
.tab .row::before,
.tab .row::after {
  display: none !important;
  content: none !important;
}

.tab {
  border-bottom: 1px solid #d93333 !important;
}

/* 2026-07-01 final mobile override: logo, hamburger menu, and submenu tabs */
@media (max-width: 991px) {
  .wrap {
    padding-top: 56px;
  }

  .mob_nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 56px !important;
    padding: 0 58px !important;
    box-sizing: border-box;
    z-index: 99999;
  }

  .mob_btn {
    top: 0 !important;
    left: 0 !important;
    width: 56px !important;
    height: 56px !important;
    z-index: 2;
  }

  .mob_nav .mob_logo {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: calc(100vw - 116px);
    height: 56px;
    min-width: 0;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .mob_nav .mob_logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-width: 0;
  }

  .mob_nav .mob_logo img {
    display: block;
    width: auto !important;
    max-width: calc(100vw - 132px) !important;
    height: auto !important;
    max-height: 38px !important;
    object-fit: contain;
  }

  #menu {
    overflow-x: hidden;
    overflow-y: auto;
  }

  #menu .menu_log {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 58px;
    padding: 0 62px 0 20px;
    box-sizing: border-box;
  }

  #menu .menu_log img {
    width: auto !important;
    max-width: 180px !important;
    height: auto !important;
    max-height: 38px !important;
    object-fit: contain;
  }

  #menu .close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0 !important;
    z-index: 2;
  }

  #nav-left > li > div {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 58px 0 20px !important;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 16px;
  }

  #nav-left > li > div > a {
    display: block;
    width: 100%;
    color: #fff;
    text-decoration: none;
  }

  #nav-left .open_menu > div:after {
    top: 50% !important;
    right: 20px !important;
    line-height: 16px;
    transform: translateY(-50%);
  }

  #nav-left > .open_menu.open > ul {
    display: block;
  }

  #nav-left > .open_menu > ul > li > a {
    display: block;
    padding: 12px 20px 12px 34px !important;
    font-size: 15px;
    line-height: 1.4;
  }
}

@media (max-width: 768px) {
  .tab {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin: 0 auto 28px !important;
    border-top: 0 !important;
    border-bottom: 1px solid #d93333 !important;
    overflow: visible !important;
  }

  .tab .row {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 3px solid #e60012 !important;
    border-bottom: 0 !important;
    overflow: visible !important;
  }

  .tab .row:before,
  .tab .row:after {
    display: none !important;
    content: none !important;
  }

  .tab .row > li,
  .tab li[class*="col-"] {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .tab a,
  .tab li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    height: auto !important;
    padding: 11px 12px !important;
    border-top: 1px solid #ead0d0 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  .tab .row > li:first-child a {
    border-top: 0 !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .tab .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tab .row > li:first-child a,
  .tab .row > li:nth-child(2) a {
    border-top: 0 !important;
  }
}

@media (max-width: 480px) {
  .tab .row {
    grid-template-columns: 1fr !important;
  }

  .gncare-board-list table.list th,
  .gncare-board-list table.list td {
    padding-right: 5px !important;
    padding-left: 5px !important;
    font-size: 12px !important;
  }
}
