/* Footer: forest band (--dakota-band, continuous with the CTA panel above). Brand column with the logo, description and a
 * darker contact card; link columns (Company first) start a little in from the brand column; hairline above the legal bar. */
.ocf-footer {
    background: var(--dakota-band);
    color: var(--ocf-body-alt);
}

.ocf-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: calc(var(--ocf-grid-gap) * 6);
    padding-block: calc(var(--ocf-grid-gap) * 3.333) calc(var(--ocf-grid-gap) * 2.667);
}

.ocf-footer-brand-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: calc(var(--ocf-grid-gap) * 1);
}

.ocf-footer-brand .ocf-brand-image { object-position: left center; }

.ocf-footer-brand-column > p {
    color: color-mix(in srgb, var(--ocf-body-alt) 88%, transparent);
    font-size: calc(var(--font-body-size) * 0.94);
    line-height: 1.6;
}

.ocf-footer-contact {
    display: grid;
    gap: 16px;
    width: 100%;
    margin: calc(var(--ocf-grid-gap) * 0.25) 0 0;
    padding: 24px 28px;
    border-radius: var(--card-radius);
    background: color-mix(in srgb, #000 22%, transparent);
    list-style: none;
    font-size: calc(var(--font-body-size) * 0.94);
    line-height: 1.5;
}

.ocf-footer-contact a,
.ocf-footer-contact__row {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--ocf-heading-alt);
    font-weight: var(--font-weight-semibold);
}

.ocf-footer-contact a:hover { color: var(--ocf-secondary); }

.ocf-footer-phone { font-size: calc(var(--font-body-size) * 1.06); }

.ocf-footer-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 0.2em;
    color: var(--ocf-secondary);
}

.ocf-footer-columns {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    justify-self: center;
    gap: calc(var(--ocf-grid-gap) * 1.5) calc(var(--ocf-grid-gap) * 4);
}

.ocf-footer-columns > nav { min-width: 120px; }

.ocf-footer-heading {
    margin-bottom: 16px;
    color: var(--ocf-heading-alt);
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--font-body-size);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: none;
}

.ocf-footer-links {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: calc(var(--font-body-size) * 0.94);
    line-height: 1.4;
}

.ocf-footer-links a { color: color-mix(in srgb, var(--ocf-body-alt) 86%, transparent); }
.ocf-footer-links a:hover { color: var(--ocf-heading-alt); }

.ocf-footer-bottom {
    border-top: var(--card-border-width) solid color-mix(in srgb, var(--ocf-heading-alt) 14%, transparent);
    color: color-mix(in srgb, var(--ocf-body-alt) 72%, transparent);
    font-size: var(--ocf-font-small-size);
}

.ocf-footer-bottom .dakota-wide {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px var(--ocf-grid-gap);
    padding-block: var(--ocf-grid-gap);
}

.ocf-footer-bottom div {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ocf-footer-bottom a:hover { color: var(--ocf-heading-alt); }

@media (max-width: 1023px) {
    .ocf-footer-grid { grid-template-columns: minmax(0, 1fr); gap: calc(var(--ocf-grid-gap) * 2); }
    .ocf-footer-contact { max-width: 420px; }
    .ocf-footer-columns { justify-self: stretch; width: 100%; }
}

@media (max-width: 600px) {
    .ocf-footer-grid { padding-block: calc(var(--ocf-grid-gap) * 2.333) calc(var(--ocf-grid-gap) * 2); }
    .ocf-footer-contact { max-width: none; }
    .ocf-footer-columns {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: calc(var(--ocf-grid-gap) * 1.667) var(--ocf-grid-gap);
    }
    .ocf-footer-columns > nav:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .ocf-footer-bottom .dakota-wide { flex-direction: column; align-items: flex-start; }
}

/* OCF_AGENT_BLOCK:social-icons START */
.ocf-footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ocf-footer-social a {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid color-mix(in srgb, var(--ocf-heading-alt) 28%, transparent);
    border-radius: var(--radius-full);
    color: var(--ocf-heading-alt);
    transition: color var(--motion-duration), background-color var(--motion-duration), border-color var(--motion-duration), transform var(--motion-duration);
}

.ocf-footer-social a:hover {
    border-color: var(--ocf-secondary);
    background: color-mix(in srgb, var(--ocf-secondary) 16%, transparent);
    color: var(--ocf-secondary);
    transform: translateY(-2px);
}

.ocf-footer-social a:focus-visible {
    outline: 2px solid var(--ocf-secondary);
    outline-offset: 3px;
}

.ocf-footer-social svg {
    display: block;
    width: 19px;
    height: 19px;
}
/* OCF_AGENT_BLOCK:social-icons END */

/* OCF_AGENT_BLOCK:newsletter-signup START */
.ocf-footer-newsletter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:40px;padding:36px 0;border-top:1px solid rgba(255,255,255,.2)}
.ocf-footer-newsletter-copy h2{font-size:clamp(23px,3vw,30px);line-height:1.25;color:var(--ocf-heading-alt);margin:0 0 14px}
.ocf-footer-newsletter-copy p{color:var(--ocf-body-alt);line-height:1.65;margin:0;max-width:540px}
.ocf-footer-newsletter-form{min-width:0;background:#fff;border-radius:var(--card-radius,8px);padding:16px;container-type:inline-size}
.ocf-footer-newsletter-form iframe{display:block;width:100%;max-width:100%;height:112px!important;min-height:112px!important;border:0;color-scheme:light}
@media(max-width:767px){.ocf-footer-newsletter{grid-template-columns:1fr;gap:24px;padding:30px 0}.ocf-footer-newsletter-form{padding:12px}.ocf-footer-newsletter-form iframe{height:160px!important;min-height:160px!important}}
@container(max-width:400px){.ocf-footer-newsletter-form iframe{height:160px!important;min-height:160px!important}}
/* OCF_AGENT_BLOCK:newsletter-signup END */

/* OCF_AGENT_BLOCK:newsletter-embed-visibility START */
.ocf-footer-newsletter-form{min-height:144px}
.ocf-footer-newsletter-form iframe#footer-newsletter-signup{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;height:112px!important;min-height:112px!important;max-height:none!important}
@media(max-width:767px){.ocf-footer-newsletter-form{min-height:184px}.ocf-footer-newsletter-form iframe#footer-newsletter-signup{height:160px!important;min-height:160px!important}}
@container(max-width:400px){.ocf-footer-newsletter-form iframe#footer-newsletter-signup{height:160px!important;min-height:160px!important}}
/* OCF_AGENT_BLOCK:newsletter-embed-visibility END */

/* OCF_AGENT_BLOCK:click-only-contact-sidebar START */
.tw-contact-sidebar{position:fixed;left:0;top:40%;z-index:99990;color:#fff;font-family:var(--ocf-font-body),sans-serif;font-size:16px}
.tw-contact-sidebar>summary{display:block;list-style:none;cursor:pointer;writing-mode:vertical-rl;padding:18px 12px;background:#101828;color:#fff;border-radius:0 8px 8px 0;line-height:1.3}
.tw-contact-sidebar>summary::-webkit-details-marker{display:none}
.tw-contact-sidebar>summary:focus-visible{outline:3px solid #0094F7;outline-offset:2px}
.tw-contact-sidebar__panel{position:fixed;left:48px;top:8vh;width:min(600px,calc(100vw - 64px));height:84vh;overflow:auto;background:#fff;border-radius:8px;box-shadow:0 8px 32px #0003;color-scheme:light}
.tw-contact-sidebar:not([open])>.tw-contact-sidebar__panel{display:none}
.tw-contact-sidebar__panel iframe{display:block;width:100%;border:0;color-scheme:light}
.tw-contact-sidebar[open]>summary{background:#263449}
@media(max-width:600px){.tw-contact-sidebar__panel{top:4vh;height:92vh}}
/* OCF_AGENT_BLOCK:click-only-contact-sidebar END */

/* OCF_AGENT_BLOCK:contact-sidebar-gold START */
.tw-contact-sidebar>summary,.tw-contact-sidebar[open]>summary{background:#0094F7;color:#101828}
.tw-contact-sidebar>summary:hover{background:#0075C8}
/* OCF_AGENT_BLOCK:contact-sidebar-gold END */

/* OCF_AGENT_BLOCK:hey-holly-footer-font START */
.ocf-footer-links > li[data-ocf-field="footer_extra_links"] > a[href*="heyholly.com.au"] {
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-weight: var(--font-weight-bold);
}
/* OCF_AGENT_BLOCK:hey-holly-footer-font END */

/* OCF_AGENT_BLOCK:footer-logo-white-backplate START */
/* OCF_AGENT_BLOCK:footer-logo-white-backplate START */
.ocf-footer-brand{
  display:inline-flex;align-items:center;width:max-content;max-width:100%;
  padding:9px 12px;background:#fff;border-radius:5px
}
.ocf-footer-brand .ocf-brand-image{display:block;max-width:100%}
/* OCF_AGENT_BLOCK:footer-logo-white-backplate END */
/* OCF_AGENT_BLOCK:footer-logo-white-backplate END */
