.elementor-kit-51{--e-global-color-primary:#003273;--e-global-color-secondary:#00827E;--e-global-color-text:#1A1A1A;--e-global-color-accent:#37A19C;--e-global-color-917a835:#81C0BB;--e-global-color-130e052:#001B3D;--e-global-color-3e46775:#000000;--e-global-color-9a56fa6:#1A1A1A;--e-global-color-5919f7b:#323232;--e-global-color-2ce16e2:#FFFFFF;--e-global-color-e39ffec:#F2F2F2;--e-global-color-6b27774:#E5E5E5;--e-global-color-f4cdb9a:#CCCCCC;--e-global-color-d9ddfb3:#B3B3B3;--e-global-color-045c56d:#00000080;--e-global-color-77f959d:#00000040;--e-global-color-b446b51:#FFFFFF80;--e-global-color-3536ceb:#FFFFFF40;--e-global-color-3723d97:#00000000;--e-global-typography-primary-font-family:"Inter";--e-global-typography-primary-font-size:48px;--e-global-typography-primary-font-weight:700;--e-global-typography-primary-text-transform:none;--e-global-typography-primary-font-style:normal;--e-global-typography-primary-text-decoration:none;--e-global-typography-primary-line-height:1.3em;--e-global-typography-primary-letter-spacing:0px;--e-global-typography-secondary-font-family:"Inter";--e-global-typography-secondary-font-size:40px;--e-global-typography-secondary-font-weight:700;--e-global-typography-secondary-text-transform:none;--e-global-typography-secondary-font-style:normal;--e-global-typography-secondary-text-decoration:none;--e-global-typography-secondary-line-height:1.3em;--e-global-typography-secondary-letter-spacing:0px;--e-global-typography-text-font-family:"Inter";--e-global-typography-text-font-size:18px;--e-global-typography-text-font-weight:400;--e-global-typography-text-text-transform:none;--e-global-typography-text-font-style:normal;--e-global-typography-text-text-decoration:none;--e-global-typography-text-line-height:1.6em;--e-global-typography-text-letter-spacing:0.5px;--e-global-typography-accent-font-family:"Inter";--e-global-typography-accent-font-size:14px;--e-global-typography-accent-font-weight:700;--e-global-typography-accent-text-transform:none;--e-global-typography-accent-font-style:normal;--e-global-typography-accent-text-decoration:none;--e-global-typography-accent-line-height:1em;--e-global-typography-accent-letter-spacing:1px;--e-global-typography-25f5791-font-family:"Inter";--e-global-typography-25f5791-font-size:32px;--e-global-typography-25f5791-font-weight:700;--e-global-typography-25f5791-text-transform:none;--e-global-typography-25f5791-font-style:normal;--e-global-typography-25f5791-text-decoration:none;--e-global-typography-25f5791-line-height:1.3em;--e-global-typography-25f5791-letter-spacing:0px;--e-global-typography-db8cb64-font-family:"Inter";--e-global-typography-db8cb64-font-size:24px;--e-global-typography-db8cb64-font-weight:700;--e-global-typography-db8cb64-text-transform:none;--e-global-typography-db8cb64-font-style:normal;--e-global-typography-db8cb64-text-decoration:none;--e-global-typography-db8cb64-line-height:1.3em;--e-global-typography-db8cb64-letter-spacing:0px;--e-global-typography-2ce3e7a-font-family:"Inter";--e-global-typography-2ce3e7a-font-size:20px;--e-global-typography-2ce3e7a-font-weight:700;--e-global-typography-2ce3e7a-text-transform:none;--e-global-typography-2ce3e7a-font-style:normal;--e-global-typography-2ce3e7a-text-decoration:none;--e-global-typography-2ce3e7a-line-height:1.3em;--e-global-typography-2ce3e7a-letter-spacing:0px;--e-global-typography-db3b4c5-font-family:"Inter";--e-global-typography-db3b4c5-font-size:16px;--e-global-typography-db3b4c5-font-weight:700;--e-global-typography-db3b4c5-text-transform:none;--e-global-typography-db3b4c5-font-style:normal;--e-global-typography-db3b4c5-text-decoration:none;--e-global-typography-db3b4c5-line-height:1.3em;--e-global-typography-db3b4c5-letter-spacing:0px;--e-global-typography-3e8d819-font-family:"Inter";--e-global-typography-3e8d819-font-size:16px;--e-global-typography-3e8d819-font-weight:400;--e-global-typography-3e8d819-text-transform:none;--e-global-typography-3e8d819-font-style:normal;--e-global-typography-3e8d819-text-decoration:none;--e-global-typography-3e8d819-line-height:1.6em;--e-global-typography-3e8d819-letter-spacing:0.5px;--e-global-typography-3295992-font-family:"Inter";--e-global-typography-3295992-font-size:18px;--e-global-typography-3295992-font-weight:600;--e-global-typography-3295992-text-transform:none;--e-global-typography-3295992-font-style:normal;--e-global-typography-3295992-text-decoration:none;--e-global-typography-3295992-line-height:1.5em;--e-global-typography-3295992-letter-spacing:0px;--e-global-typography-e7b4526-font-family:"Inter";--e-global-typography-e7b4526-font-size:16px;--e-global-typography-e7b4526-font-weight:600;--e-global-typography-e7b4526-text-transform:none;--e-global-typography-e7b4526-font-style:normal;--e-global-typography-e7b4526-text-decoration:none;--e-global-typography-e7b4526-line-height:1.4em;--e-global-typography-e7b4526-letter-spacing:0px;--e-global-typography-a281b56-font-family:"Inter";--e-global-typography-a281b56-font-size:80px;--e-global-typography-a281b56-font-weight:700;--e-global-typography-a281b56-text-transform:none;--e-global-typography-a281b56-font-style:normal;--e-global-typography-a281b56-text-decoration:none;--e-global-typography-a281b56-line-height:1.3em;--e-global-typography-f94d066-font-family:"Inter";--e-global-typography-f94d066-font-size:64px;--e-global-typography-f94d066-font-weight:700;--e-global-typography-f94d066-text-transform:none;--e-global-typography-f94d066-font-style:normal;--e-global-typography-f94d066-text-decoration:none;--e-global-typography-f94d066-line-height:1.3em;background-color:var( --e-global-color-2ce16e2 );color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );text-transform:var( --e-global-typography-text-text-transform );font-style:var( --e-global-typography-text-font-style );text-decoration:var( --e-global-typography-text-text-decoration );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );}.elementor-kit-51 button,.elementor-kit-51 input[type="button"],.elementor-kit-51 input[type="submit"],.elementor-kit-51 .elementor-button{background-color:var( --e-global-color-primary );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );text-transform:var( --e-global-typography-accent-text-transform );font-style:var( --e-global-typography-accent-font-style );text-decoration:var( --e-global-typography-accent-text-decoration );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );color:var( --e-global-color-2ce16e2 );border-style:none;border-radius:4px 4px 4px 4px;padding:12px 24px 12px 24px;}.elementor-kit-51 button:hover,.elementor-kit-51 button:focus,.elementor-kit-51 input[type="button"]:hover,.elementor-kit-51 input[type="button"]:focus,.elementor-kit-51 input[type="submit"]:hover,.elementor-kit-51 input[type="submit"]:focus,.elementor-kit-51 .elementor-button:hover,.elementor-kit-51 .elementor-button:focus{background-color:var( --e-global-color-accent );color:var( --e-global-color-2ce16e2 );border-style:none;border-radius:4px 4px 4px 4px;}.elementor-kit-51 e-page-transition{background-color:#FFBC7D;}.elementor-kit-51 p{margin-block-end:16px;}.elementor-kit-51 h1{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );text-transform:var( --e-global-typography-primary-text-transform );font-style:var( --e-global-typography-primary-font-style );text-decoration:var( --e-global-typography-primary-text-decoration );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-kit-51 h2{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );text-transform:var( --e-global-typography-secondary-text-transform );font-style:var( --e-global-typography-secondary-font-style );text-decoration:var( --e-global-typography-secondary-text-decoration );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-kit-51 h3{font-family:var( --e-global-typography-25f5791-font-family ), Sans-serif;font-size:var( --e-global-typography-25f5791-font-size );font-weight:var( --e-global-typography-25f5791-font-weight );text-transform:var( --e-global-typography-25f5791-text-transform );font-style:var( --e-global-typography-25f5791-font-style );text-decoration:var( --e-global-typography-25f5791-text-decoration );line-height:var( --e-global-typography-25f5791-line-height );letter-spacing:var( --e-global-typography-25f5791-letter-spacing );}.elementor-kit-51 h4{font-family:var( --e-global-typography-db8cb64-font-family ), Sans-serif;font-size:var( --e-global-typography-db8cb64-font-size );font-weight:var( --e-global-typography-db8cb64-font-weight );text-transform:var( --e-global-typography-db8cb64-text-transform );font-style:var( --e-global-typography-db8cb64-font-style );text-decoration:var( --e-global-typography-db8cb64-text-decoration );line-height:var( --e-global-typography-db8cb64-line-height );letter-spacing:var( --e-global-typography-db8cb64-letter-spacing );}.elementor-kit-51 h5{font-family:var( --e-global-typography-2ce3e7a-font-family ), Sans-serif;font-size:var( --e-global-typography-2ce3e7a-font-size );font-weight:var( --e-global-typography-2ce3e7a-font-weight );text-transform:var( --e-global-typography-2ce3e7a-text-transform );font-style:var( --e-global-typography-2ce3e7a-font-style );text-decoration:var( --e-global-typography-2ce3e7a-text-decoration );line-height:var( --e-global-typography-2ce3e7a-line-height );letter-spacing:var( --e-global-typography-2ce3e7a-letter-spacing );}.elementor-kit-51 h6{font-family:var( --e-global-typography-db3b4c5-font-family ), Sans-serif;font-size:var( --e-global-typography-db3b4c5-font-size );font-weight:var( --e-global-typography-db3b4c5-font-weight );text-transform:var( --e-global-typography-db3b4c5-text-transform );font-style:var( --e-global-typography-db3b4c5-font-style );text-decoration:var( --e-global-typography-db3b4c5-text-decoration );line-height:var( --e-global-typography-db3b4c5-line-height );letter-spacing:var( --e-global-typography-db3b4c5-letter-spacing );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1360px;}.e-con{--container-max-width:1360px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){margin-block-end:16px;}.elementor-element{--widgets-spacing:16px 16px;--widgets-spacing-row:16px;--widgets-spacing-column:16px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-kit-51{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );}.elementor-kit-51 h1{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-kit-51 h2{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-kit-51 h3{font-size:var( --e-global-typography-25f5791-font-size );line-height:var( --e-global-typography-25f5791-line-height );letter-spacing:var( --e-global-typography-25f5791-letter-spacing );}.elementor-kit-51 h4{font-size:var( --e-global-typography-db8cb64-font-size );line-height:var( --e-global-typography-db8cb64-line-height );letter-spacing:var( --e-global-typography-db8cb64-letter-spacing );}.elementor-kit-51 h5{font-size:var( --e-global-typography-2ce3e7a-font-size );line-height:var( --e-global-typography-2ce3e7a-line-height );letter-spacing:var( --e-global-typography-2ce3e7a-letter-spacing );}.elementor-kit-51 h6{font-size:var( --e-global-typography-db3b4c5-font-size );line-height:var( --e-global-typography-db3b4c5-line-height );letter-spacing:var( --e-global-typography-db3b4c5-letter-spacing );}.elementor-kit-51 button,.elementor-kit-51 input[type="button"],.elementor-kit-51 input[type="submit"],.elementor-kit-51 .elementor-button{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-51{--e-global-typography-primary-font-size:48px;--e-global-typography-text-font-size:16px;--e-global-typography-3e8d819-font-size:14px;--e-global-typography-3295992-font-size:16px;--e-global-typography-e7b4526-font-size:14px;--e-global-typography-f94d066-font-size:56px;--e-global-typography-f94d066-line-height:1.4em;font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );}.elementor-kit-51 h1{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-kit-51 h2{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-kit-51 h3{font-size:var( --e-global-typography-25f5791-font-size );line-height:var( --e-global-typography-25f5791-line-height );letter-spacing:var( --e-global-typography-25f5791-letter-spacing );}.elementor-kit-51 h4{font-size:var( --e-global-typography-db8cb64-font-size );line-height:var( --e-global-typography-db8cb64-line-height );letter-spacing:var( --e-global-typography-db8cb64-letter-spacing );}.elementor-kit-51 h5{font-size:var( --e-global-typography-2ce3e7a-font-size );line-height:var( --e-global-typography-2ce3e7a-line-height );letter-spacing:var( --e-global-typography-2ce3e7a-letter-spacing );}.elementor-kit-51 h6{font-size:var( --e-global-typography-db3b4c5-font-size );line-height:var( --e-global-typography-db3b4c5-line-height );letter-spacing:var( --e-global-typography-db3b4c5-letter-spacing );}.elementor-kit-51 button,.elementor-kit-51 input[type="button"],.elementor-kit-51 input[type="submit"],.elementor-kit-51 .elementor-button{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */.gform_required_legend {
    display: none !important;
}

.elementor-icon-box-title {
    margin-top: 0px !important;
}

p a {
    text-decoration: underline !important;
}

*,
*::before,
*::after {
  transition: all 0.5s ease;
}

.grabbable {
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

 /* (Optional) Apply a "closed-hand" cursor during drag operation. */
.grabbable:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

@media (min-width: 1120px) {

    /* --------------------------------------------------------- */
    /* BASE WRAPPER & DEFAULT BACKGROUND                        */
    /* --------------------------------------------------------- */

    .services-box-background {
        position: relative;
        overflow: hidden;
    }

    .services-box-background::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url('https://wightmanlegal.com.au/wp-content/uploads/2025/11/shutterstock_1818480392.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 1;
        transform: scale(1);
        z-index: 1;
        pointer-events: none;
        transition:
            opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            transform 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* --------------------------------------------------------- */
    /* BACKGROUND LAYER BASE STYLES                              */
    /* --------------------------------------------------------- */

    .bg-hover {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0;
        transform: scale(1);
        z-index: 1;
        pointer-events: none;
        transition:
            opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            transform 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .bg-1 {
        background-image: url('https://wightmanlegal.com.au/wp-content/uploads/2025/11/shutterstock_1818480392.webp');
    }

    .bg-2 {
        background-image: url('https://wightmanlegal.com.au/wp-content/uploads/2025/11/shutterstock_1191418468.webp');
    }

    .bg-3 {
        background-image: url('https://wightmanlegal.com.au/wp-content/uploads/2025/11/shutterstock_2632568335.webp');
    }

    /* --------------------------------------------------------- */
    /* CROSSFADE + 5% ZOOM ON HOVER (CLASS-BASED)                */
    /* --------------------------------------------------------- */

    /* Family Law → bg-1 */
    .services-box-background:has(.service-box-1:hover) .bg-1 {
        opacity: 1;
        transform: scale(1.05);
    }

    /* Wills & Estates → bg-2 */
    .services-box-background:has(.service-box-2:hover) .bg-2 {
        opacity: 1;
        transform: scale(1.05);
    }

    /* Conveyancing → bg-3 */
    .services-box-background:has(.service-box-3:hover) .bg-3 {
        opacity: 1;
        transform: scale(1.05);
    }

    /* Fade out default background on ANY hover */
    .services-box-background:has(.service-box-content:hover)::before {
        opacity: 0;
        transform: scale(1.05);
    }

    /* --------------------------------------------------------- */
    /* SERVICE BOX CONTENT: GLASS BACKDROP + FADE-IN             */
    /* --------------------------------------------------------- */

    .service-box-content {
        position: relative;
        z-index: 2;
        cursor: pointer;
        background: rgba(0, 0, 0, 0);
        backdrop-filter: none;
        transition:
            background 0.4s ease,
            backdrop-filter 0.4s ease;
    }

    .service-box-content:hover {
        background: rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(5px);
    }

    .service-box-content-hide {
        opacity: 0;
        transform: translateY(10px);
        transition:
            opacity 0.5s ease,
            transform 0.5s ease;
    }

    .service-box-content:hover .service-box-content-hide {
        opacity: 1;
        transform: translateY(0);
    }

}/* End custom CSS */