/* Dr Jen pixel-perfect overrides — baseline: drjenlaw.com.au @1440px */

/* ===== Header ===== */
/* nav font: live 12.544px Lato 700 vs staging 11px */
header#masthead .hfe-nav-menu > li > a.hfe-menu-item {
    font-size: 12.5px !important;
}

/* header CTA: live 150x35 vs staging 142x31 */
header#masthead .elementor-element-de0671b a.elementor-button {
    font-size: 12.5px !important;
    padding: 10px 18px !important;
}

/* ===== Home hero ===== */
/* push content block down so eyebrow matches live (eyebrow y205) */
.jl-hero > .elementor-container {
    padding-top: 56px !important;
}

/* hero min-height 783 so sections below align with live absolutes */
.elementor-26 .elementor-element.elementor-element-5cad5ad.jl-hero {
    min-height: 783px !important;
}

/* remove the dead spacer + default 20px widget margins so divider→H1 = 48px like live */
.elementor-element-b0ad779 {
    display: none !important;
}
.jl-hero .elementor-element-e3c9331,
.jl-hero .elementor-element-5515dde,
.jl-hero .elementor-element-6650182 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* H1: live 47.104px/52.455px, width 510 (3-line wrap), ls -0.94 */
.elementor-element-6650182 h1.elementor-heading-title {
    font-size: 47.1px !important;
    line-height: 52.5px !important;
    max-width: 510px;
    letter-spacing: -0.94px;
}

/* ===== Welcome section (7dd2257) ===== */
/* live: padding ~116px, photo 458x641 @x101, text col @x673 w666 */
.elementor-element-7dd2257 {
    padding-top: 116px !important;
    padding-bottom: 117px !important;
}

/* photo: live 458w (was 491), flush to column edge, no stray margins */
.elementor-element-5f8e913 > .elementor-widget-wrap {
    padding: 0 !important;
}
.elementor-element-5d8b75d {
    width: 458px !important;
    margin: 0 !important;
}
.elementor-element-5d8b75d img {
    width: 100% !important;
    height: auto !important;
}

/* text column: shift to x673, content width 666 */
.elementor-element-ba4e9ae > .elementor-widget-wrap {
    padding-left: 52px !important;
    padding-right: 0 !important;
    align-content: flex-start !important;
}

/* H2: live 36.736px/42 (was 32/32), offset +35 to match live rhythm */
.elementor-element-f5cc7eb {
    margin-top: 35px !important;
    margin-bottom: 0 !important;
}
.elementor-element-f5cc7eb .elementor-heading-title {
    font-size: 36.74px !important;
    line-height: 42px !important;
}

/* intro: live 26.368px/30.88 (was 28/36.4) */
.elementor-element-1c84bd1 {
    margin-top: 32px !important;
    margin-bottom: 0 !important;
}
.elementor-element-1c84bd1 .elementor-heading-title,
.elementor-element-1c84bd1 p {
    font-size: 26.37px !important;
    line-height: 30.9px !important;
}

/* body copy gap */
.elementor-element-b9f50b6 {
    margin-top: 32px !important;
    margin-bottom: 0 !important;
}

/* signature + button */
.elementor-element-a4f9e4b {
    margin-top: 30px !important;
    margin-bottom: 0 !important;
}
.elementor-element-542db52 {
    margin-top: 18px !important;
}

/* button: live white text on rgb(216,179,154), 14.272px, 223x40 (was dark on light beige) */
.elementor-element-542db52 a.elementor-button {
    font-size: 14.27px !important;
    color: #ffffff !important;
    background-color: rgb(216, 179, 154) !important;
    padding: 13px 22px !important;
}

/* sub-text: live gap below H1 is 33px */
.elementor-element-daaba5a {
    margin-top: 33px !important;
    margin-bottom: 0 !important;
}
.elementor-element-daaba5a p {
    margin: 0 !important;
}

/* hero button: live 353x64, font 14.272px, ls 0.57, gap below sub ~11px */
.elementor-element-d958586 {
    margin-top: 11px !important;
}
.elementor-element-d958586 a.elementor-button {
    font-size: 14.27px !important;
    letter-spacing: 0.57px !important;
    padding: 25px 32px !important;
}

/* ===== Categories grid (3ab1578 row1, 18b8068 row2) ===== */
/* live: row1 top pad 55, row2 bottom pad 100 (was 120/120) */
.elementor-element-3ab1578 {
    padding-top: 55px !important;
}
.elementor-element-18b8068 {
    padding-bottom: 100px !important;
}

/* card illustrations: live 176x246 (was 160x224) */
.elementor-element-3ab1578 .elementor-widget-image img,
.elementor-element-18b8068 .elementor-widget-image img {
    width: 176px !important;
    height: auto !important;
}

/* card titles: live 26.368px/29.87 Marcellus */
.elementor-element-3ab1578 .elementor-heading-title,
.elementor-element-18b8068 .elementor-heading-title {
    font-size: 26.37px !important;
    line-height: 29.9px !important;
}

/* LEARN MORE: live white text, 14.272px, 11.4/15.7 padding (was dark 13px) */
.elementor-element-3ab1578 a.elementor-button,
.elementor-element-18b8068 a.elementor-button {
    font-size: 14.27px !important;
    color: #ffffff !important;
    padding: 11.4px 15.7px !important;
}
