/* ============================================================
   구성원 소개 페이지 — primelaw.co.kr
   tm- 접두사 | Elementor 네이티브 위젯 구성
   Cleaned: pl-shared.css handles title-label, hero-glow, hero ::after
   NOTE: tm-hero padding/bg via Elementor native — NOT fully pl-hero
   tm-btn has partial overlap — keep page-specific parts
   ============================================================ */

body.page-id-17540 { background-color: #050E24 !important; }

/* Global — top-level section containers */
.elementor-17540 { gap: 0 !important; }
.elementor-17540 > .e-con {
  margin: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
body.page-id-17540, body.page-id-17540 .site-main, body.page-id-17540 .entry-content,
.page-id-17540 .elementor, .page-id-17540 .elementor-inner {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* ============================================================
   HERO — unique bg gradient + padding, pseudo-elements via pl-hero-glow + pl-hero
   ============================================================ */
/* .tm-hero removed — hero styling via pl-hero in pl-shared.css */
/* pl-hero-glow handles ::before radial gradient glow */
/* pl-hero handles ::after gold bottom line */

/* Hero badge — pl-hero-badge handles base badge styling */

/* Hero h1 em — gold underline (page-specific, NOT pl-hero-em pattern) */

/* ============================================================
   SECTION TITLE LABEL — pl-title-label handles decorative lines
   ============================================================ */
/* (all title-label rules moved to pl-shared.css) */

/* ============================================================
   SECTION SEPARATORS — page-specific (different selectors, unique opacity values)
   ============================================================ */
.tm-lawyers { position: relative; }
.tm-lawyers::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}
.tm-advisors { position: relative; }
.tm-advisors::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,80,0.2), transparent);
}
.tm-associates { position: relative; }
.tm-associates::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
}

/* ============================================================
   CARDS — hover/transition (bg/border/shadow via Elementor)
   ============================================================ */
.tm-card { transition: all 0.35s; }
.tm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08) !important;
}

/* Card image — aspect-ratio, object-fit */
.tm-card-img.elementor-widget-image { margin-bottom: 0 !important; }
.tm-card-img .elementor-widget-container { padding: 0 !important; }
.tm-card-img .elementor-widget-container img {
  aspect-ratio: 1/1 !important; object-fit: cover !important;
  object-position: center 40% !important; display: block !important;
}

/* Card body — margin reset, heading <span> styling */
.elementor-17540 .e-con.tm-card-body > .elementor-widget { margin-bottom: 0 !important; }
.tm-card-body .elementor-heading-title span {
  font-size: 13px; font-weight: 600; color: #D4A850; margin-left: 8px;
}

/* Card tags — flex layout, badge styling (text-editor HTML) */
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.card-tags span {
  display: inline-block; background: rgba(212,168,80,0.08); color: #D4A850;
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 2px;
}

/* Card career — list styling (text-editor HTML) */
.card-career {
  list-style: none; padding: 0; margin: 0 0 18px;
  border-top: 1px solid rgba(0,0,0,0.06); padding-top: 14px;
}
.card-career li {
  font-size: 13px; line-height: 1.6;
  padding: 2px 0 2px 14px; position: relative; text-align: left !important;
}
.card-career li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 5px; height: 1px; background: #D4A850;
}

/* ============================================================
   ADVISOR — layout & image (padding/bg via Elementor)
   ============================================================ */
.elementor-17540 .e-con.tm-advisor-card {
  max-width: 720px; margin: 0 auto;
}
.elementor-17540 .e-con.tm-advisor-card > .tm-advisor-img {
  flex: 0 0 260px !important; max-width: 260px !important;
}
.elementor-17540 .e-con.tm-advisor-card > .e-con.tm-advisor-info {
  flex: 1 1 0% !important;
}

/* Advisor image */
.tm-advisor-img.elementor-widget-image { margin-bottom: 0 !important; }
.tm-advisor-img .elementor-widget-container img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; object-position: top !important; display: block !important;
}
.tm-advisor-img .elementor-widget-container {
  background: linear-gradient(135deg, #0d1b3e, #050E24);
}

/* Advisor info — heading <span> */
.tm-advisor-info .elementor-heading-title span {
  font-size: 14px; font-weight: 600; color: #D4A850; margin-left: 10px;
}

/* Advisor career list (text-editor HTML) */
.advisor-career-list {
  list-style: none; padding: 0; margin: 0;
}
.advisor-career-list li {
  font-size: 13.5px; line-height: 1.65;
  padding: 2px 0 2px 14px; position: relative; text-align: left !important;
}
.advisor-career-list li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 5px; height: 1px; background: #D4A850;
}

/* ============================================================
   CTA — bg gradient + pseudo-element + button hover
   ============================================================ */
.tm-final-cta {
  padding: 100px 24px !important; text-align: center; position: relative;
  background: linear-gradient(170deg, #050E24 0%, #0a1a3a 35%, #0d0820 70%, #050E24 100%);
}
.tm-final-cta::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,80,0.2), transparent);
}
/* CTA h2 em — gold */
.tm-final-cta h2 em { font-style: normal; color: #D4A850; }

/* CTA buttons — keep page-specific hover (partial overlap with pl-btn) */
.tm-btn-primary .elementor-button {
  background: linear-gradient(135deg, #D4A850, #c49a42) !important;
  box-shadow: 0 4px 24px rgba(212,168,80,0.25);
  transition: all 0.3s !important;
}
.tm-btn-primary .elementor-button:hover {
  background: linear-gradient(135deg, #e0b960, #D4A850) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,168,80,0.35);
}
.tm-btn-secondary .elementor-button {
  transition: all 0.3s !important;
}
.tm-btn-secondary .elementor-button:hover {
  background: rgba(212,168,80,0.08) !important;
  border-color: rgba(212,168,80,0.6) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  /* .tm-hero mobile padding handled by Elementor native settings */
  /* pl-title-label mobile handled by pl-shared.css, but keep width override */
  .tm-title-label .elementor-heading-title::before,
  .tm-title-label .elementor-heading-title::after { width: 20px; }
  .elementor-17540 .e-con.tm-advisor-card { max-width: 400px; }
  .elementor-17540 .e-con.tm-advisor-card > .tm-advisor-img {
    flex: 0 0 100% !important; max-width: 100% !important; height: 300px;
  }
  .elementor-17540 .e-con.tm-advisor-card > .e-con.tm-advisor-info {
    flex: 0 0 100% !important;
  }
  .tm-advisor-img.elementor-widget-image .elementor-widget-container { height: 300px; }
  .tm-card:hover { transform: none; }
  .tm-final-cta { padding: 72px 20px !important; }
  .tm-btn-primary .elementor-button,
  .tm-btn-secondary .elementor-button {
    width: 100% !important; justify-content: center;
  }
}
