/*
Theme Name: Lee Family Modern
Theme URI: https://choonsiklee.com
Description: A clean, responsive child theme for the Lee Family WordPress site.
Author: Lee Family
Template: astra
Version: 1.0.6
Text Domain: leefamily-modern
*/

:root {
  --lf-bg: #f6f7f9;
  --lf-surface: #ffffff;
  --lf-surface-soft: #fbfaf7;
  --lf-border: #dfe5ea;
  --lf-border-soft: #edf1f4;
  --lf-text: #1f2933;
  --lf-heading: #111827;
  --lf-muted: #667085;
  --lf-accent: #2f6f73;
  --lf-accent-strong: #244f54;
  --lf-accent-soft: #e7f1ef;
  --lf-shadow: 0 10px 28px rgba(31, 41, 51, 0.08);
  --ast-global-color-0: var(--lf-accent);
  --ast-global-color-1: var(--lf-accent-strong);
  --ast-global-color-2: var(--lf-heading);
  --ast-global-color-3: var(--lf-text);
  --ast-global-color-4: var(--lf-surface);
  --ast-global-color-5: var(--lf-bg);
  --ast-global-color-6: var(--lf-border-soft);
  --ast-global-color-7: var(--lf-border);
  --ast-global-color-8: #000000;
}

html {
  font-size: 17px;
}

body,
button,
input,
select,
textarea,
.ast-button,
.ast-custom-button {
  color: var(--lf-text);
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

body,
body.ast-separate-container {
  background: var(--lf-bg);
}

a {
  color: var(--lf-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--lf-accent-strong);
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.entry-title a,
.site-title,
.site-title a,
.widget-title,
.entry-content :where(h1, h2, h3, h4, h5, h6) {
  color: var(--lf-heading);
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.site-header,
.ast-primary-header-bar,
.ast-mobile-header-wrap .ast-mobile-header-content,
.ast-desktop-header-content {
  background: rgba(255, 255, 255, 0.94);
}

.ast-primary-header-bar {
  border-bottom: 1px solid var(--lf-border);
  box-shadow: 0 1px 0 rgba(31, 41, 51, 0.02);
}

.ast-primary-header-bar,
.ast-primary-header-bar .site-primary-header-wrap {
  min-height: 72px;
}

.ast-site-identity {
  padding: 0.6rem 0;
}

.site-title {
  font-size: 1.35rem;
  line-height: 1.2;
}

.site-title a {
  color: var(--lf-heading);
}

.ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
  border-radius: 6px;
  color: var(--lf-text);
  font-size: 0.94rem;
  font-weight: 600;
  height: auto;
  line-height: 1;
  margin: 0 0.1rem;
  padding: 0.72rem 0.86rem;
}

.ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:hover,
.ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1 .main-header-menu > .menu-item.current_page_item > .menu-link {
  background: var(--lf-accent-soft);
  color: var(--lf-accent-strong);
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal {
  border: 1px solid var(--lf-border);
  border-radius: 6px;
  color: var(--lf-text);
  min-height: 40px;
  min-width: 40px;
}

.ast-mobile-header-wrap .ast-mobile-header-content {
  border-top: 1px solid var(--lf-border);
}

.ast-builder-menu-mobile .main-navigation .main-header-menu,
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-link,
.ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu {
  background: var(--lf-surface);
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
  border-bottom: 1px solid var(--lf-border-soft);
  color: var(--lf-text);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 1rem;
}

.ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-mobile .main-navigation .menu-link:hover,
.ast-builder-menu-mobile .main-navigation .menu-link:focus {
  background: var(--lf-accent-soft);
  color: var(--lf-accent-strong);
}

#content {
  padding: 2.4rem 0 3.8rem;
}

.ast-container {
  max-width: 1160px;
  padding-left: 24px;
  padding-right: 24px;
}

.ast-separate-container #primary,
.ast-separate-container.ast-right-sidebar #primary,
.ast-separate-container.ast-left-sidebar #primary {
  margin: 0;
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single,
.ast-separate-container .comment-respond,
.ast-separate-container .ast-comment-list li.depth-1,
.ast-separate-container.ast-two-container #secondary .widget,
#secondary .widget {
  background: var(--lf-surface);
  border: 1px solid var(--lf-border);
  border-radius: 8px;
  box-shadow: var(--lf-shadow);
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
  margin-bottom: 1.25rem;
  padding: 2rem;
}

.blog .ast-article-post .ast-article-inner,
.archive .ast-article-post .ast-article-inner {
  overflow: visible;
}

.ast-blog-featured-section {
  margin-bottom: 1.1rem;
}

.ast-blog-featured-section img,
.entry-content img,
.wp-block-image img,
.wp-caption img,
.gallery img {
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  height: auto;
}

.ast-blog-featured-section img {
  display: block;
  width: 100%;
}

.entry-title,
.blog .entry-title,
.archive .entry-title {
  font-size: 1.6rem;
  line-height: 1.32;
  margin-bottom: 0.45rem;
}

.single .entry-title {
  font-size: 2.15rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.entry-title a {
  color: var(--lf-heading);
}

.entry-title a:hover,
.entry-title a:focus {
  color: var(--lf-accent-strong);
}

.entry-meta,
.entry-meta *,
.ast-comment-meta,
.ast-comment-meta * {
  color: var(--lf-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.entry-meta a,
.ast-comment-meta a {
  color: var(--lf-accent);
  font-weight: 600;
}

.entry-content,
.entry-content p,
.ast-excerpt-container,
.ast-excerpt-container p {
  color: var(--lf-text);
  font-size: 1rem;
  line-height: 1.82;
}

.entry-content p {
  margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.1rem;
}

.entry-content blockquote {
  background: var(--lf-surface-soft);
  border-left: 4px solid var(--lf-accent);
  color: var(--lf-text);
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
}

.read-more a,
.ast-button,
.button,
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.wp-block-button .wp-block-button__link,
.wp-block-search .wp-block-search__button {
  background: var(--lf-accent);
  border: 1px solid var(--lf-accent);
  border-radius: 6px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
  padding: 0.78rem 1rem;
}

.read-more a:hover,
.ast-button:hover,
.button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
.wp-block-button .wp-block-button__link:hover,
.wp-block-search .wp-block-search__button:hover {
  background: var(--lf-accent-strong);
  border-color: var(--lf-accent-strong);
  color: #ffffff;
}

#secondary {
  margin-top: 0;
}

#secondary .widget,
.ast-separate-container.ast-two-container #secondary .widget {
  margin-bottom: 1rem;
  padding: 1.15rem;
}

.widget-title,
.widget .wp-block-heading,
#secondary h2 {
  color: var(--lf-heading);
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

#secondary ul,
#secondary ol {
  margin-left: 1.05rem;
}

#secondary li {
  line-height: 1.55;
  margin-bottom: 0.55rem;
}

#secondary a {
  color: var(--lf-text);
}

#secondary a:hover,
#secondary a:focus {
  color: var(--lf-accent-strong);
}

.ast-pagination {
  margin-top: 1.4rem;
}

.ast-pagination .page-numbers {
  background: var(--lf-surface);
  border: 1px solid var(--lf-border);
  border-radius: 6px;
  color: var(--lf-text);
  margin: 0 0.15rem 0.35rem;
  min-width: 2.3rem;
  padding: 0.5rem 0.7rem;
}

.ast-pagination .page-numbers.current,
.ast-pagination .page-numbers:hover,
.ast-pagination .page-numbers:focus {
  background: var(--lf-accent);
  border-color: var(--lf-accent);
  color: #ffffff;
}

.comments-area {
  margin-top: 1.25rem;
}

.comments-title,
.comment-reply-title {
  color: var(--lf-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
}

.comments-area textarea#comment,
.comments-area .ast-comment-formwrap input[type="text"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
  background: #ffffff;
  border: 1px solid var(--lf-border);
  border-radius: 6px;
  color: var(--lf-text);
  padding: 0.75rem 0.85rem;
}

.comments-area textarea#comment:focus,
.comments-area .ast-comment-formwrap input[type="text"]:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--lf-accent);
  outline: 2px solid rgba(47, 111, 115, 0.14);
}

.site-footer {
  background: var(--lf-surface);
  border-top: 1px solid var(--lf-border);
}

.site-below-footer-wrap {
  color: var(--lf-muted);
  font-size: 0.88rem;
}

.home #content {
  padding: 0;
}

.home #content > .ast-container {
  display: block;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.home #primary.lf-home-page,
.home.ast-right-sidebar #primary.lf-home-page,
.home.ast-left-sidebar #primary.lf-home-page {
  float: none;
  margin-left: auto;
  margin-right: auto;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.lf-home-page {
  background: var(--lf-bg);
  color: var(--lf-text);
  margin: 0;
  width: 100%;
}

.lf-home-inner {
  margin: 0 auto;
  max-width: 1160px;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

.lf-hero {
  align-items: flex-end;
  background: #172022;
  display: flex;
  isolation: isolate;
  min-height: min(720px, 72vh);
  overflow: hidden;
  position: relative;
}

.lf-hero-image,
.lf-hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.lf-hero-image {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.lf-hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 18, 20, 0.78) 0%, rgba(9, 18, 20, 0.46) 42%, rgba(9, 18, 20, 0.08) 100%),
    linear-gradient(0deg, rgba(9, 18, 20, 0.72) 0%, rgba(9, 18, 20, 0) 38%);
  z-index: -1;
}

.lf-hero-content {
  max-width: 820px;
  padding-bottom: 5rem;
  padding-top: 8rem;
  text-align: left;
}

.lf-kicker {
  color: var(--lf-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.lf-hero .lf-kicker {
  color: rgba(255, 255, 255, 0.76);
}

.lf-hero h1 {
  color: #ffffff;
  font-size: 4.6rem;
  line-height: 0.96;
  margin: 0;
  max-width: 760px;
}

.lf-hero-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.24rem;
  line-height: 1.7;
  margin: 1.2rem 0 0;
  max-width: 620px;
}

.lf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-start;
  margin-top: 1.8rem;
}

.lf-button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px;
  padding: 0.78rem 1rem;
  text-decoration: none;
}

.lf-button-primary {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: var(--lf-heading);
}

.lf-button-primary:hover,
.lf-button-primary:focus {
  background: var(--lf-accent-soft);
  border-color: var(--lf-accent-soft);
  color: var(--lf-accent-strong);
}

.lf-button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.lf-button-secondary:hover,
.lf-button-secondary:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  color: #ffffff;
}

.lf-home-section {
  padding: 4.4rem 0;
}

.lf-intro-section {
  background: var(--lf-surface);
  border-bottom: 1px solid var(--lf-border);
}

.lf-intro-section .lf-home-inner,
.lf-stories-section .lf-home-inner,
.lf-archive-section .lf-home-inner {
  max-width: 980px;
}

.lf-section-heading {
  margin: 0 0 1.5rem;
  max-width: 720px;
  text-align: left;
}

.lf-section-heading-row {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  max-width: none;
  text-align: left;
}

.lf-section-heading h2 {
  color: var(--lf-heading);
  font-size: 2.35rem;
  line-height: 1.12;
  margin: 0;
}

.lf-feature-links,
.lf-archive-list {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lf-feature-link,
.lf-archive-item {
  align-content: center;
  background: var(--lf-bg);
  border: 1px solid var(--lf-border);
  border-radius: 8px;
  color: var(--lf-text);
  display: grid;
  gap: 0.25rem;
  min-height: 130px;
  padding: 1.25rem;
  text-align: left;
  text-decoration: none;
}

.lf-feature-link:hover,
.lf-feature-link:focus,
.lf-archive-item:hover,
.lf-archive-item:focus {
  background: var(--lf-accent-soft);
  border-color: #c9dcd9;
  color: var(--lf-accent-strong);
}

.lf-feature-link span,
.lf-archive-item span {
  color: var(--lf-heading);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.lf-feature-link small,
.lf-archive-item small {
  color: var(--lf-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.lf-stories-section {
  background: var(--lf-bg);
}

.lf-text-link {
  color: var(--lf-accent);
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.lf-text-link:hover,
.lf-text-link:focus {
  color: var(--lf-accent-strong);
}

.lf-story-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lf-story-card {
  background: var(--lf-surface);
  border: 1px solid var(--lf-border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.lf-story-media {
  background: var(--lf-accent-soft);
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.lf-story-media::before {
  content: "";
  display: block;
  padding-top: 68%;
}

.lf-story-media img,
.lf-story-placeholder {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.lf-story-media img {
  border-radius: 0;
  object-fit: cover;
  transition: transform 180ms ease;
}

.lf-story-card:hover .lf-story-media img {
  transform: scale(1.025);
}

.lf-story-placeholder {
  align-items: center;
  color: var(--lf-accent-strong);
  display: flex;
  font-size: 1.6rem;
  font-weight: 800;
  justify-content: center;
}

.lf-story-body {
  display: grid;
  gap: 0.55rem;
  padding: 1.1rem;
}

.lf-story-body time {
  color: var(--lf-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lf-story-body h3 {
  font-size: 1.14rem;
  line-height: 1.28;
  margin: 0;
}

.lf-story-body h3 a {
  color: var(--lf-heading);
  text-decoration: none;
}

.lf-story-body h3 a:hover,
.lf-story-body h3 a:focus {
  color: var(--lf-accent-strong);
}

.lf-story-body p {
  color: var(--lf-muted);
  font-size: 0.94rem;
  line-height: 1.62;
  margin: 0;
}

.lf-archive-section {
  background: var(--lf-surface);
  border-top: 1px solid var(--lf-border);
}

.lf-archive-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lf-archive-item {
  min-height: 112px;
}

@media (min-width: 922px) {
  .ast-right-sidebar #primary {
    padding-right: 28px;
  }

  .ast-right-sidebar #secondary {
    padding-left: 0;
  }
}

@media (max-width: 921px) {
  html {
    font-size: 16px;
  }

  #content {
    padding: 1.25rem 0 2.75rem;
  }

  .ast-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ast-primary-header-bar,
  .ast-primary-header-bar .site-primary-header-wrap,
  .ast-mobile-header-wrap .ast-primary-header-bar,
  .ast-mobile-header-wrap .ast-primary-header-bar .site-primary-header-wrap {
    min-height: 64px;
  }

  .site-title {
    font-size: 1.18rem;
    max-width: calc(100vw - 96px);
  }

  .ast-separate-container .ast-article-post,
  .ast-separate-container .ast-article-single,
  .ast-separate-container .comment-respond,
  .ast-separate-container .ast-comment-list li.depth-1 {
    margin-bottom: 1rem;
    padding: 1.2rem;
  }

  .entry-title,
  .blog .entry-title,
  .archive .entry-title {
    font-size: 1.35rem;
  }

  .single .entry-title {
    font-size: 1.65rem;
  }

  #secondary {
    margin-top: 1rem;
    padding-left: 0;
    padding-right: 0;
  }

  .home #content {
    padding: 0;
  }

  .lf-home-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .lf-hero {
    min-height: 640px;
  }

  .lf-hero-content {
    padding-bottom: 3.5rem;
    padding-top: 6rem;
  }

  .lf-hero h1 {
    font-size: 3.2rem;
    max-width: 560px;
  }

  .lf-hero-copy {
    font-size: 1.08rem;
  }

  .lf-home-section {
    padding: 3.2rem 0;
  }

  .lf-section-heading-row {
    align-items: flex-start;
    gap: 1rem;
  }

  .lf-section-heading h2 {
    font-size: 1.95rem;
  }

  .lf-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lf-feature-links,
  .lf-archive-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 544px) {
  body,
  button,
  input,
  select,
  textarea,
  .ast-button,
  .ast-custom-button {
    line-height: 1.72;
  }

  .ast-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .ast-separate-container .ast-article-post,
  .ast-separate-container .ast-article-single,
  .ast-separate-container .comment-respond,
  .ast-separate-container .ast-comment-list li.depth-1 {
    border-radius: 8px;
    padding: 1rem;
  }

  .ast-blog-featured-section img,
  .entry-content img,
  .wp-block-image img,
  .wp-caption img,
  .gallery img {
    border-radius: 6px;
  }

  .entry-meta,
  .entry-meta *,
  .ast-comment-meta,
  .ast-comment-meta * {
    font-size: 0.83rem;
  }

  .entry-content,
  .entry-content p,
  .ast-excerpt-container,
  .ast-excerpt-container p {
    line-height: 1.78;
  }

  .home #content {
    padding: 0;
  }

  .lf-home-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .lf-hero {
    min-height: 580px;
  }

  .lf-hero-shade {
    background:
      linear-gradient(0deg, rgba(9, 18, 20, 0.8) 0%, rgba(9, 18, 20, 0.34) 64%, rgba(9, 18, 20, 0.2) 100%),
      linear-gradient(90deg, rgba(9, 18, 20, 0.42) 0%, rgba(9, 18, 20, 0.1) 100%);
  }

  .lf-hero-content {
    padding-bottom: 2.75rem;
    padding-top: 5.5rem;
  }

  .lf-hero h1 {
    font-size: 2.55rem;
  }

  .lf-hero-copy {
    font-size: 1rem;
    line-height: 1.62;
  }

  .lf-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lf-button {
    width: 100%;
  }

  .lf-home-section {
    padding: 2.55rem 0;
  }

  .lf-section-heading-row {
    display: block;
  }

  .lf-text-link {
    display: inline-block;
    margin-top: 0.9rem;
  }

  .lf-section-heading h2 {
    font-size: 1.7rem;
  }

  .lf-story-grid {
    grid-template-columns: 1fr;
  }

  .lf-feature-link,
  .lf-archive-item {
    min-height: 108px;
    padding: 1rem;
  }
}
