/* LawNote Advocate Homepage v1.1 — full-width and theme-conflict fixes */
.lawnote-home {
  --ln-navy: #142338;
  --ln-ink: #142036;
  --ln-gold: #d1ad68;
  --ln-ivory: #f7f5f0;
  --ln-muted: #5d6470;
  width: 100vw !important;
  max-width: none !important;
  position: relative !important;
  left: 50% !important;
  margin-left: -50vw !important;
  margin-right: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  color: var(--ln-ink) !important;
  background: var(--ln-ivory) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 16px;
  line-height: 1.5;
}
.lawnote-home, .lawnote-home * { box-sizing: border-box; }
.lawnote-home p, .lawnote-home h1, .lawnote-home h2, .lawnote-home h3 { margin-top: 0; }
.lawnote-home a { text-decoration: none !important; box-shadow: none !important; }
.ln-header {
  display: flex !important; width:100% !important; max-width:none !important;
  justify-content: space-between; align-items: center; gap: 24px;
  background: var(--ln-navy) !important; color: #fff !important;
  padding: 20px clamp(22px, 7vw, 110px) !important;
}
.lawnote-home .ln-brand, .lawnote-home .ln-brand:visited {
  display:inline-block; color:#fff !important; font-family:Georgia,"Times New Roman",serif !important;
  font-size:25px !important; line-height:1.1; letter-spacing:1px; white-space:nowrap;
}
.ln-brand span { display:block; width:36px; height:2px; background:var(--ln-gold); margin-top:7px; }
.ln-nav { display:flex !important; align-items:center; justify-content:flex-end; gap:clamp(14px, 3vw, 38px); flex-wrap:wrap; }
.lawnote-home .ln-nav a, .lawnote-home .ln-top-link {
  color:#f5f2eb !important; font:600 11px/1.5 Arial,sans-serif !important;
  letter-spacing:1.4px; text-transform:uppercase;
}
.lawnote-home .ln-nav a:hover, .lawnote-home .ln-top-link:hover, .lawnote-home .ln-read-link:hover { color:var(--ln-gold) !important; }
.ln-hero {
  display:grid !important; grid-template-columns:minmax(0, 1.03fr) minmax(0, .97fr);
  width:100% !important; max-width:none !important; min-height:460px;
  margin:0 !important; padding:0 !important; background:var(--ln-navy) !important; color:#fff !important;
}
.ln-hero-copy { padding:clamp(38px, 5.2vw, 82px) clamp(22px, 7vw, 110px) !important; align-self:center; min-width:0; }
.lawnote-home .ln-eyebrow { color:var(--ln-gold) !important; font:600 10px/1.7 Arial,sans-serif !important; letter-spacing:3px; margin:0 0 17px !important; text-transform:uppercase; }
.lawnote-home .ln-hero h1 {
  color:#fff !important; font-family:Georgia,"Times New Roman",serif !important;
  font-size:clamp(42px, 5vw, 72px) !important; line-height:1.02 !important;
  letter-spacing:-1.8px; font-weight:normal !important; margin:0 0 22px !important;
  max-width:700px; overflow-wrap:normal;
}
.lawnote-home .ln-hero h1 em { color:#e1c38c !important; font-style:normal; }
.lawnote-home .ln-intro { color:#e4e6e9 !important; font-family:Georgia,"Times New Roman",serif !important; font-size:clamp(16px, 1.4vw, 20px) !important; line-height:1.6 !important; max-width:530px; margin:0 0 28px !important; }
.lawnote-home .ln-outline-link {
  display:inline-flex; align-items:center; gap:16px; padding:14px 18px;
  border:1px solid var(--ln-gold) !important; color:#fff !important;
  background:transparent !important; font:600 10px/1.5 Arial,sans-serif !important; letter-spacing:2px;
}
.lawnote-home .ln-outline-link:hover { background:var(--ln-gold) !important; color:var(--ln-navy) !important; }
.ln-portrait-wrap { min-height:460px; overflow:hidden; background:#d8d7d2; }
.lawnote-home img.ln-portrait { display:block; width:100% !important; height:100% !important; min-height:460px; max-height:680px; object-fit:cover; object-position:center 34%; filter:grayscale(100%); margin:0 !important; }
.ln-info { width:100%; max-width:none; padding:48px clamp(22px, 7vw, 110px) 44px !important; background:var(--ln-ivory) !important; color:var(--ln-ink) !important; }
.lawnote-home .ln-eyebrow-dark { color:#9a7535 !important; margin-bottom:10px !important; }
.lawnote-home .ln-info h2, .lawnote-home .ln-writing h2 {
  color:var(--ln-ink) !important; font-family:Georgia,"Times New Roman",serif !important;
  font-size:clamp(31px, 3.1vw, 44px) !important; line-height:1.12 !important;
  font-weight:normal !important; margin:0 0 28px !important;
}
.ln-info-grid { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; }
.ln-info-item { padding:5px 30px 5px 0; margin-right:30px; border-right:1px solid #d7c8ad; min-width:0; }
.ln-info-item:last-child { border-right:0; margin-right:0; }
.ln-number { color:#a78243 !important; font:12px Arial,sans-serif !important; letter-spacing:2px; }
.lawnote-home .ln-info-item h3 { color:var(--ln-ink) !important; font:normal 22px/1.25 Georgia,"Times New Roman",serif !important; margin:13px 0 10px !important; }
.lawnote-home .ln-info-item p { color:#4f5661 !important; font:15px/1.65 Georgia,"Times New Roman",serif !important; margin:0 !important; }
.lawnote-home .ln-note { color:#656a72 !important; font:12px/1.7 Arial,sans-serif !important; border-top:1px solid #e3ded4; padding-top:15px; margin:28px 0 0 !important; }
.ln-writing { display:grid !important; grid-template-columns:.8fr 1.7fr; gap:42px; width:100%; max-width:none; padding:40px clamp(22px, 7vw, 110px) !important; background:#eeedf0 !important; color:var(--ln-ink) !important; }
.lawnote-home .ln-writing-heading h2 { margin-bottom:8px !important; }
.lawnote-home .ln-writing-heading > p:last-child { color:var(--ln-muted) !important; font:15px/1.6 Georgia,"Times New Roman",serif !important; }
.ln-posts { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.ln-post { border-left:1px solid #d0c5b3; padding:4px 0 4px 18px; min-width:0; }
.lawnote-home .ln-post-date { color:#7c6a4c !important; font:10px/1.5 Arial,sans-serif !important; letter-spacing:1.2px; text-transform:uppercase; }
.lawnote-home .ln-post h3 { font:normal 19px/1.3 Georgia,"Times New Roman",serif !important; margin:13px 0 20px !important; }
.lawnote-home .ln-post h3 a { color:var(--ln-ink) !important; }
.lawnote-home .ln-post h3 a:hover { color:#94702f !important; }
.lawnote-home .ln-read-link { color:#596273 !important; font:600 9px/1.5 Arial,sans-serif !important; letter-spacing:1.5px; }
.ln-footer { display:flex !important; align-items:center; justify-content:space-between; gap:20px; width:100%; padding:22px clamp(22px, 7vw, 110px) !important; background:var(--ln-navy) !important; color:#fff !important; }
.lawnote-home .ln-brand-footer { font-size:21px !important; }
.lawnote-home .ln-footer p { color:#e2e4e8 !important; font:14px/1.5 Georgia,"Times New Roman",serif !important; margin:0 !important; }
@media (max-width: 760px) {
  .ln-header { align-items:flex-start; flex-direction:column; padding:20px 22px !important; }
  .ln-nav { justify-content:flex-start; gap:14px 20px; }
  .ln-hero { grid-template-columns:minmax(0,1fr) !important; }
  .ln-hero-copy { padding:38px 24px 32px !important; }
  .lawnote-home .ln-hero h1 { font-size:clamp(40px, 11vw, 58px) !important; }
  .ln-portrait-wrap { min-height:300px; max-height:460px; }
  .lawnote-home img.ln-portrait { min-height:300px; max-height:460px; object-position:center 30%; }
  .ln-info-grid { grid-template-columns:1fr !important; gap:22px; }
  .ln-info-item { border-right:0; border-bottom:1px solid #d7c8ad; padding:0 0 20px; margin:0; }
  .ln-info-item:last-child { border-bottom:0; padding-bottom:0; }
  .ln-writing { grid-template-columns:1fr !important; gap:12px; }
  .ln-posts { grid-template-columns:1fr !important; gap:20px; }
  .ln-post { padding-bottom:14px; }
  .ln-footer { align-items:flex-start; flex-direction:column; gap:8px; }
}


/* Homepage cleanup: remove duplicate plugin masthead and Blocksy page title/footer */
.lawnote-home .ln-header { display:none !important; }

/* Blocksy page title / breadcrumb area: hide only on the homepage */
body.home .hero-section,
body.home .entry-header,
body.home .page-title,
body.home .ct-breadcrumbs,
body.home .ct-page-title {
  display:none !important;
}

/* Hide Blocksy's theme footer on the homepage; the LawNote footer remains */
body.home footer#footer,
body.home #footer,
body.home .ct-footer {
  display:none !important;
}

/* Remove common theme spacing around the homepage content */
body.home .site-main,
body.home #main-container,
body.home .content-area,
body.home .site-content,
body.home .entry-content {
  padding-top:0 !important;
  margin-top:0 !important;
}
body.home .entry-content > .wp-block-shortcode:first-child,
body.home .entry-content > p:first-child {
  margin-top:0 !important;
  padding-top:0 !important;
}


/* v1.3 alignment fix: use the standard centered full-bleed breakout, not left:50% */
.lawnote-home {
  position: relative !important;
  left: auto !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  transform: none !important;
}

/* Ensure hero columns both remain visible and the portrait fills its column */
.lawnote-home .ln-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr) !important;
  width: 100% !important;
}
.lawnote-home .ln-hero-copy,
.lawnote-home .ln-portrait-wrap {
  min-width: 0 !important;
}
.lawnote-home .ln-portrait-wrap {
  display: block !important;
  width: 100% !important;
}
.lawnote-home img.ln-portrait {
  width: 100% !important;
  height: 100% !important;
  min-height: 460px !important;
  object-fit: cover !important;
}

/* Improve contrast on the dark hero */
.lawnote-home .ln-hero .ln-eyebrow {
  color: #e2bf78 !important;
  opacity: 1 !important;
}
.lawnote-home .ln-hero .ln-intro {
  color: #f0f1f4 !important;
  opacity: 1 !important;
}
@media (max-width: 760px) {
  .lawnote-home .ln-hero {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .lawnote-home img.ln-portrait {
    min-height: 300px !important;
  }
}


/* Version 1.4: education/enrolment card details */
.lawnote-home .ln-info-item h3 {
  overflow-wrap: anywhere;
}
.lawnote-home .ln-info-item p strong {
  color: var(--ln-ink) !important;
  font-weight: 700;
}
.lawnote-home .ln-info-item p {
  overflow-wrap: break-word;
}
