/* ===== Yonglun Law Firm - Complete CSS ===== */

:root {
  --ghost-accent-color: #333333;
}

/* ===== NAV ===== */
.gh-head {
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  padding: 1.25rem 0;
}
.gh-head-brand {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #1a1a2e !important;
}
.gh-head-brand img,
.gh-navigation-logo img {
  max-height: 96px;
}
.gh-head-menu a {
  font-size: 1.75rem;
  font-weight: 500;
  color: #4a5568 !important;
}
.gh-head-actions a {
  color: #333333 !important;
}

/* ===== HOMEPAGE BANNER ===== */
.home-template .gh-header {
  background: linear-gradient(135deg, #1a1a2e, #444444, #333333);
  padding: 4rem 0;
  margin-bottom: 2rem;
}
.home-template .gh-header-title.is-title {
  font-family: Georgia, serif !important;
  font-weight: 700 !important;
  font-size: 3rem !important;
  color: #fff !important;
  margin-bottom: 0.5rem;
}
.home-template .gh-header-excerpt {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  line-height: 1.6;
}

/* ===== CARDS ===== */
.gh-card {
  border: none;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
  background: #fff;
  overflow: hidden;
}
.gh-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.gh-card-title.is-title {
  font-family: Georgia, serif !important;
  font-weight: 700 !important;
  font-size: 1.6rem !important;
  line-height: 1.4 !important;
  color: #1a1a2e !important;
}
.gh-card-meta {
  font-size: 0.8rem;
  color: #a0aec0;
}

/* ===== ARTICLE BODY ===== */
.gh-article-title {
  font-family: Georgia, serif !important;
  font-weight: 700 !important;
  font-size: 2.5rem !important;
  color: #1a1a2e !important;
  line-height: 1.25 !important;
}
.gh-content {
  font-family: Georgia, serif !important;
  font-size: 1.45rem !important;
  line-height: 1.85 !important;
  color: #2d3748 !important;
  font-weight: 400 !important;
}
.gh-content .gh-canvas p, .gh-content p {
  font-family: Georgia, serif !important;
  font-size: 1.45rem !important;
  line-height: 1.85 !important;
  font-weight: 400 !important;
  margin-bottom: 0.75rem !important;
  color: #2d3748 !important;
}
.gh-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #333333;
  border-bottom: none !important;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.gh-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #444444;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.gh-content hr {
}
.gh-content a {
  color: #333333 !important;
  border-bottom: 1px solid #c4a35a;
}
.gh-content blockquote {
  font-size: 1.2rem;
  line-height: 1.75;
  color: #4a5568;
  border-left: 3px solid #333333;
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 0.75rem 0;
}
.gh-content ul,
.gh-content ol {
  font-size: 1.45rem;
  line-height: 1.85;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
}
.gh-content li {
  font-size: 1.45rem;
  line-height: 1.85;
  margin-bottom: 0;
}

/* ===== BUTTONS ===== */
.gh-btn {
  background: #333333 !important;
  color: #fff !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
}
.gh-btn:hover {
  background: #444444 !important;
}

/* ===== AUTHOR ===== */
.gh-author-name a {
  color: #4a5568 !important;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.gh-foot {
  border-top: 2px solid #333333;
  padding: 2rem 0;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: #718096;
  background: #f7fafc;
}
.gh-foot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gh-foot a {
  color: #333333 !important;
.gh-footer-signup,
}
.gh-footer-bar {
    display: none !important;
    visibility: hidden !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .home-template .gh-header-title.is-title {
    font-size: 2.2rem !important;
  }
  .gh-card-title.is-title {
    font-size: 1.3rem !important;
  }
  .gh-article-title {
    font-size: 2rem !important;
  }
  .gh-content,
  .gh-content p,
  .gh-content li {
    font-size: 1.2rem !important;
    line-height: 1.75 !important;
  }
}

/* ===== GRAY OVERRIDE ===== */

/* Subscribe button - gray */
.gh-head-btn,
.gh-head-members .gh-btn,
.gh-head-actions .gh-btn,
a.gh-head-btn,
button.gh-head-btn {
  background: #333333 !important;
  color: #fff !important;
  border-color: #333333 !important;
}

.gh-head-btn:hover,
.gh-head-members .gh-btn:hover,
.gh-head-actions .gh-btn:hover {
  background: #444444 !important;
  border-color: #444444 !important;
}

/* Homepage banner/hero - gray gradient */
.home-template .gh-header,
.home-template .site-header,
.home-template .gh-head {
  background: linear-gradient(135deg, #4a4a4a, #5c5c5c, #4a4a4a) !important;
}

.home-template .gh-header-title,
.home-template .site-header-title {
  color: #fff !important;
}

/* Logo + title side by side, centered */
.gh-navigation-logo.is-title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
}
.gh-navigation-logo.is-title img {
    max-height: 96px;
    width: auto;
}
.gh-navigation-logo.is-title .gh-navigation-title {
    font-family: Georgia, serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1a1a2e;
    white-space: nowrap;
}
.gh-navigation-brand {
    display: flex !important;
    align-items: center !important;
}

/* Nav text match */
.gh-navigation-logo.is-title .gh-navigation-title {
    font-size: 1rem;
}
.gh-navigation-logo.is-title img {
    max-height: 96px !important;
}

/* Title text to match nav size — only enlarge title, don't touch nav */
.gh-navigation-logo.is-title .gh-navigation-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 600 !important;
}

/* Tighten About page paragraph spacing */
.gh-content .gh-canvas p, .gh-content p {
    margin-bottom: 0.5rem !important;
}
.gh-content h2 {
    margin-bottom: 0.5rem !important;
}

/* Force tighten all paragraph gaps globally */
article.gh-article .gh-content p,
.post-template .gh-content p,
.page-template .gh-content p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Article body - zero gaps between same elements */
.gh-content p + p,
.gh-content ul + ul,
.gh-content ol + ol {
    margin-top: 0 !important;
}
.gh-content h2,
.gh-content h3 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.25rem !important;
}
.gh-content p {
    margin-bottom: 0.25rem !important;
}

/* Hide comments section */
.gh-comments {
    display: none !important;
    visibility: hidden !important;
}

/* Hide Sign in button */
a[data-portal="signin"], .gh-navigation-members a[href="#/portal/signin"] {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.gh-comments, .gh-comments.gh-canvas, div.gh-comments {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}


/* Hide footer signup area */
.gh-footer-signup,
.gh-signup,
.gh-footer-members,
footer .gh-signup,
.gh-footer .gh-signup,
.gh-footer-cta {
    display: none !important;
    visibility: hidden !important;
}

/* Hide footer sign up button */
.gh-footer a[href="#/portal/signup"],
.gh-footer button[data-portal="signup"],
footer a[href="#/portal/signup"] {
    display: none !important;
    visibility: hidden !important;
}

/* Fix nav logo + title side by side */
.gh-navigation-logo.is-title {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.gh-navigation-logo.is-title img {
    max-height: 80px !important;
    width: auto !important;
}

.gh-navigation-logo.is-title .gh-navigation-title {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

/* Hide Sign in link — all possible selectors */
.gh-navigation-members a[href="#/portal/signin"] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* ===== FORCE NAV LOGO + TITLE SIZE ===== */
.gh-navigation-logo.is-title .gh-navigation-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    color: #1a1a2e !important;
}

.gh-navigation-logo.is-title img {
    max-height: 96px !important;
    width: auto !important;
}
