/* section-pages.css
 * Page 12/13/14 unified top banner + rail (same visual system as about/page-15)
 * plus per-page content presentation.
 */

body.page-id-12 .ct-container-full,
body.page-id-13 .ct-container-full,
body.page-id-14 .ct-container-full,
body.page-id-12 article .entry-content,
body.page-id-13 article .entry-content,
body.page-id-14 article .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-id-12 article .entry-content > :first-child,
body.page-id-13 article .entry-content > :first-child,
body.page-id-14 article .entry-content > :first-child {
  margin-top: 0 !important;
}

body.page-id-12 article .entry-content > figure.wp-block-image.gc-about-hero-image,
body.page-id-13 article .entry-content > figure.wp-block-image.gc-about-hero-image,
body.page-id-14 article .entry-content > figure.wp-block-image.gc-about-hero-image {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  height: 236px !important;
  min-height: 236px !important;
  max-height: 236px !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  display: block !important;
  border-radius: 0 !important;
}

body.page-id-12 article .entry-content > figure.wp-block-image.gc-about-hero-image > img,
body.page-id-13 article .entry-content > figure.wp-block-image.gc-about-hero-image > img,
body.page-id-14 article .entry-content > figure.wp-block-image.gc-about-hero-image > img {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: 50% 47% !important;
  display: block !important;
  border-radius: 0 !important;
}

body.page-id-12 article .entry-content > .wp-block-stackable-columns.alignfull.stk-962e4df,
body.page-id-13 article .entry-content > .wp-block-stackable-columns.alignfull.stk-962e4df,
body.page-id-14 article .entry-content > .wp-block-stackable-columns.alignfull.stk-962e4df {
  margin-top: -34px !important;
  margin-bottom: 44px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  position: relative !important;
  z-index: 4 !important;
  isolation: isolate !important;
  overflow: visible !important;
}

body.page-id-12 article .entry-content > .wp-block-stackable-columns.alignfull.stk-962e4df::before,
body.page-id-13 article .entry-content > .wp-block-stackable-columns.alignfull.stk-962e4df::before,
body.page-id-14 article .entry-content > .wp-block-stackable-columns.alignfull.stk-962e4df::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: -14px !important;
  width: calc(100vw + 20px) !important;
  height: 188px !important;
  transform: translateX(-50%) !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 14%,
    rgba(251, 251, 249, 0.22) 28%,
    rgba(249, 249, 247, 0.66) 48%,
    rgba(248, 248, 246, 0.9) 66%,
    rgba(250, 250, 248, 0.72) 82%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
  border-radius: 48px 48px 0 0 !important;
  box-shadow: none !important;
  pointer-events: none !important;
  z-index: -2 !important;
}

body.page-id-12 .stk-labels-f,
body.page-id-13 .stk-labels-f,
body.page-id-14 .stk-labels-f,
body.page-id-12 .stk-90bdfbd,
body.page-id-13 .stk-90bdfbd,
body.page-id-14 .stk-90bdfbd,
body.page-id-12 .stk-block-tab-labels,
body.page-id-13 .stk-block-tab-labels,
body.page-id-14 .stk-block-tab-labels {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 18px 32px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.14) 100%) !important;
  backdrop-filter: blur(12px) saturate(1.02) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.02) !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  border-radius: 48px !important;
  overflow: visible !important;
}

body.page-id-12 .stk-labels-f .stk-block-tab-labels__wrapper,
body.page-id-13 .stk-labels-f .stk-block-tab-labels__wrapper,
body.page-id-14 .stk-labels-f .stk-block-tab-labels__wrapper,
body.page-id-12 .stk-90bdfbd .stk-block-tab-labels__wrapper,
body.page-id-13 .stk-90bdfbd .stk-block-tab-labels__wrapper,
body.page-id-14 .stk-90bdfbd .stk-block-tab-labels__wrapper,
body.page-id-12 .stk-block-tab-labels .stk-block-tab-labels__wrapper,
body.page-id-13 .stk-block-tab-labels .stk-block-tab-labels__wrapper,
body.page-id-14 .stk-block-tab-labels .stk-block-tab-labels__wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px 46px !important;
  width: 100% !important;
}

body.page-id-12 .stk-labels-f .stk-block-tabs__tab,
body.page-id-13 .stk-labels-f .stk-block-tabs__tab,
body.page-id-14 .stk-labels-f .stk-block-tabs__tab,
body.page-id-12 .stk-90bdfbd .stk-block-tabs__tab,
body.page-id-13 .stk-90bdfbd .stk-block-tabs__tab,
body.page-id-14 .stk-90bdfbd .stk-block-tabs__tab,
body.page-id-12 .stk-block-tab-labels .stk-block-tabs__tab,
body.page-id-13 .stk-block-tab-labels .stk-block-tabs__tab,
body.page-id-14 .stk-block-tab-labels .stk-block-tabs__tab {
  height: 52px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #66717f !important;
  font-size: clamp(0.94rem, 1vw, 1.01rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  position: relative !important;
  opacity: 1 !important;
  box-shadow: none !important;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease !important;
}

body.page-id-12 .stk-90bdfbd .stk-block-tabs__tab:hover,
body.page-id-13 .stk-90bdfbd .stk-block-tabs__tab:hover,
body.page-id-14 .stk-90bdfbd .stk-block-tabs__tab:hover {
  background: rgba(0,0,0,0.035) !important;
  color: #111518 !important;
  transform: translateY(-1px) !important;
}

body.page-id-12 .stk-90bdfbd .stk-block-tabs__tab.stk-block-tabs__tab--active,
body.page-id-13 .stk-90bdfbd .stk-block-tabs__tab.stk-block-tabs__tab--active,
body.page-id-14 .stk-90bdfbd .stk-block-tabs__tab.stk-block-tabs__tab--active,
body.page-id-12 .stk-90bdfbd .stk-block-tabs__tab.stk--active,
body.page-id-13 .stk-90bdfbd .stk-block-tabs__tab.stk--active,
body.page-id-14 .stk-90bdfbd .stk-block-tabs__tab.stk--active {
  background: linear-gradient(180deg, #f0f0ee 0%, #e6e6e3 100%) !important;
  color: #111518 !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 24px rgba(17,21,24,0.12), inset 0 1px 0 rgba(255,255,255,0.92) !important;
  transform: translateY(-1px) !important;
}

body.page-id-12 .stk-90bdfbd .stk-block-tabs__tab::after,
body.page-id-13 .stk-90bdfbd .stk-block-tabs__tab::after,
body.page-id-14 .stk-90bdfbd .stk-block-tabs__tab::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 4px !important;
  width: 34px !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: #ffd60a !important;
  box-shadow: 0 0 10px rgba(255,214,10,0.35) !important;
  transform: translateX(-50%) scaleX(0) !important;
  opacity: 0 !important;
  transition: transform 0.22s ease, opacity 0.22s ease !important;
}

body.page-id-12 .stk-90bdfbd .stk-block-tabs__tab.stk--active::after,
body.page-id-13 .stk-90bdfbd .stk-block-tabs__tab.stk--active::after,
body.page-id-14 .stk-90bdfbd .stk-block-tabs__tab.stk--active::after,
body.page-id-12 .stk-90bdfbd .stk-block-tabs__tab.stk-block-tabs__tab--active::after,
body.page-id-13 .stk-90bdfbd .stk-block-tabs__tab.stk-block-tabs__tab--active::after,
body.page-id-14 .stk-90bdfbd .stk-block-tabs__tab.stk-block-tabs__tab--active::after {
  transform: translateX(-50%) scaleX(1) !important;
  opacity: 1 !important;
}

body.page-id-12 .stk-90bdfbd .stk-block-tabs__tab .stk--svg-wrapper,
body.page-id-13 .stk-90bdfbd .stk-block-tabs__tab .stk--svg-wrapper,
body.page-id-14 .stk-90bdfbd .stk-block-tabs__tab .stk--svg-wrapper {
  display: none !important;
}

body.page-id-12 .stk-90bdfbd .stk-block-tabs__tab .stk-block-tab-labels__text,
body.page-id-13 .stk-90bdfbd .stk-block-tabs__tab .stk-block-tab-labels__text,
body.page-id-14 .stk-90bdfbd .stk-block-tabs__tab .stk-block-tab-labels__text {
  position: relative !important;
  padding-left: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
}

body.page-id-12 .stk-90bdfbd .stk-block-tabs__tab .stk-block-tab-labels__text::before,
body.page-id-13 .stk-90bdfbd .stk-block-tabs__tab .stk-block-tab-labels__text::before,
body.page-id-14 .stk-90bdfbd .stk-block-tabs__tab .stk-block-tab-labels__text::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  width: 12px !important;
  height: 10px !important;
  transform: translateY(-50%) !important;
  border-radius: 2px !important;
  background: linear-gradient(
    to bottom,
    rgba(17, 21, 24, 0.34) 0 2px,
    transparent 2px 4px,
    rgba(17, 21, 24, 0.34) 4px 6px,
    transparent 6px 8px,
    rgba(17, 21, 24, 0.34) 8px 10px
  ) !important;
}

body.page-id-12 .stk-90bdfbd .stk-block-tabs__tab.stk--active .stk-block-tab-labels__text::before,
body.page-id-13 .stk-90bdfbd .stk-block-tabs__tab.stk--active .stk-block-tab-labels__text::before,
body.page-id-14 .stk-90bdfbd .stk-block-tabs__tab.stk--active .stk-block-tab-labels__text::before {
  background: linear-gradient(
    to bottom,
    #f2bf00 0 2px,
    transparent 2px 4px,
    #f2bf00 4px 6px,
    transparent 6px 8px,
    #f2bf00 8px 10px
  ) !important;
}

body.page-id-12 .gc-static-tab,
body.page-id-13 .gc-static-tab {
  cursor: default !important;
  pointer-events: none;
}

body.page-id-12 .gc-section-main,
body.page-id-13 .gc-section-main,
body.page-id-14 .gc-section-main {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto 56px;
}

body.page-id-12 .gc-section-block,
body.page-id-13 .gc-section-block,
body.page-id-14 .gc-section-block {
  margin-bottom: 34px;
}

body.page-id-12 .gc-section-head h2,
body.page-id-13 .gc-section-head h2,
body.page-id-14 .gc-section-head h2 {
  margin: 0 0 10px;
  color: #1a1f24;
  font-size: clamp(1.35rem, 2vw, 1.76rem);
}

body.page-id-12 .gc-section-head p,
body.page-id-13 .gc-section-head p,
body.page-id-14 .gc-section-head p {
  margin: 0;
  color: #66717f;
  line-height: 1.75;
}

body.page-id-12 .gc-case-items,
body.page-id-13 .gc-news-items,
body.page-id-14 .gc-news-items {
  margin-top: 18px;
  border-top: 1px solid rgba(17, 21, 24, 0.08);
}

body.page-id-12 .gc-case-item,
body.page-id-13 .gc-news-item,
body.page-id-14 .gc-news-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(17, 21, 24, 0.08);
}

body.page-id-12 .gc-case-item__meta,
body.page-id-13 .gc-news-item__date,
body.page-id-14 .gc-news-item__date {
  color: #6f7983;
  font-size: .82rem;
  font-weight: 700;
  padding-top: 4px;
}

body.page-id-12 .gc-case-item h3,
body.page-id-13 .gc-news-item h3,
body.page-id-14 .gc-news-item h3 {
  margin: 0 0 8px;
  font-size: 1.03rem;
  line-height: 1.48;
}

body.page-id-12 .gc-case-item h3 a,
body.page-id-13 .gc-news-item h3 a,
body.page-id-14 .gc-news-item h3 a {
  color: #1a1f24;
  text-decoration: none;
}

body.page-id-12 .gc-case-item p,
body.page-id-13 .gc-news-item p,
body.page-id-14 .gc-news-item p {
  margin: 0;
  color: #626b74;
  line-height: 1.72;
}

body.page-id-13 .gc-news-item__more {
  display: inline-flex;
  margin-top: 10px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  color: #1a1f24;
}

body.page-id-13 .gc-news-item__more::after {
  content: "→";
  margin-left: 6px;
}

body.page-id-14 .gc-group-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.page-id-14 .gc-group-card {
  border: 1px solid rgba(17, 21, 24, 0.1);
  background: #fff;
  padding: 16px;
  border-radius: 16px;
}

body.page-id-14 .gc-group-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

body.page-id-14 .gc-group-card p {
  margin: 0 0 10px;
  color: #636d77;
  line-height: 1.66;
}

body.page-id-14 .gc-group-card__link,
body.page-id-14 .gc-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

body.page-id-14 .gc-group-card__link {
  color: #1a1f24;
  font-size: .88rem;
  font-weight: 700;
}

body.page-id-14 .gc-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

body.page-id-14 .gc-action-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #111518;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}

body.page-id-14 .gc-action-btn--ghost {
  background: #fff;
  color: #111518;
  border: 1px solid rgba(17, 21, 24, 0.18);
}

body.page-id-12 .gc-empty,
body.page-id-13 .gc-empty,
body.page-id-14 .gc-empty {
  margin-top: 14px;
  color: #6a737d;
}

@media (max-width: 1024px) {
  body.page-id-14 .gc-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.page-id-12 article .entry-content > figure.wp-block-image.gc-about-hero-image,
  body.page-id-13 article .entry-content > figure.wp-block-image.gc-about-hero-image,
  body.page-id-14 article .entry-content > figure.wp-block-image.gc-about-hero-image {
    height: 172px !important;
    min-height: 172px !important;
    max-height: 172px !important;
  }

  body.page-id-12 .gc-section-main,
  body.page-id-13 .gc-section-main,
  body.page-id-14 .gc-section-main {
    width: calc(100vw - 24px);
    margin-bottom: 40px;
  }

  body.page-id-12 .gc-case-item,
  body.page-id-13 .gc-news-item,
  body.page-id-14 .gc-news-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.page-id-14 .gc-group-grid {
    grid-template-columns: 1fr;
  }
}
