/* ═══════════════════════════════════════════════════════════
   Hunt Contact Section Block — style.css  v2.0
   All values driven by CSS custom properties set inline
   by render.php, so each block instance is independent.
═══════════════════════════════════════════════════════════ */

.hunt-contact-section-v2 {
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}

/* ── Layout grid ───────────────────────────────────────── */
.hcs-layout {
    display: flex;
    max-width: var(--hcs-max-w);
    margin: 0 auto;
    padding: var(--hcs-pad-top) 0 var(--hcs-pad-bot);
}

/* Desktop layouts */
.hcs-layout.hcs-desktop-content-first {
    flex-direction: row;
}
.hcs-layout.hcs-desktop-image-first {
    flex-direction: row-reverse;
}
.hcs-layout.hcs-desktop-content-above,
.hcs-layout.hcs-desktop-image-above {
    flex-direction: column;
}
.hcs-layout.hcs-desktop-image-above {
    flex-direction: column-reverse;
}

/* ── Layout grid ───────────────────────────────────────── */
.hcs-layout {
    display: flex;
    width: 100%;
    max-width: var(--hcs-max-w);
    margin: 0 auto;
    padding: var(--hcs-pad-top) 0 var(--hcs-pad-bot);
}

/* Desktop layouts */
.hcs-layout.hcs-desktop-content-first {
    flex-direction: row;
}
.hcs-layout.hcs-desktop-image-first {
    flex-direction: row-reverse;
}
.hcs-layout.hcs-desktop-content-above,
.hcs-layout.hcs-desktop-image-above {
    flex-direction: column;
}
.hcs-layout.hcs-desktop-image-above {
    flex-direction: column-reverse;
}

/* Desktop columns custom widths and alignment */
@media (min-width: 901px) {
    .hcs-layout.hcs-desktop-content-first,
    .hcs-layout.hcs-desktop-image-first {
        max-width: 100%;
        justify-content: space-between;
    }
    
    /* Dynamically calculate container alignment paddings to support full-bleed background and image columns */
    .hcs-layout.hcs-desktop-content-first .hcs-content {
        padding-left: max(60px, calc((100vw - var(--hcs-max-w, 1400px)) / 2));
        padding-right: 60px;
    }
    .hcs-layout.hcs-desktop-image-first .hcs-content {
        padding-right: max(60px, calc((100vw - var(--hcs-max-w, 1400px)) / 2));
        padding-left: 60px;
    }

    .hcs-layout.hcs-desktop-content-first .hcs-content,
    .hcs-layout.hcs-desktop-image-first .hcs-content {
        flex: 0 0 calc(100% - var(--hcs-img-width-d, 50%));
        width: calc(100% - var(--hcs-img-width-d, 50%));
        max-width: none; /* No max-width on outer column so background spans full screen */
    }
    .hcs-layout.hcs-desktop-content-first .hcs-image-col,
    .hcs-layout.hcs-desktop-image-first .hcs-image-col {
        flex: 0 0 var(--hcs-img-width-d, 50%);
        width: var(--hcs-img-width-d, 50%);
        max-width: var(--hcs-image-max-w, 1200px);
    }
    .hcs-layout.hcs-desktop-content-above .hcs-content,
    .hcs-layout.hcs-desktop-image-above .hcs-content {
        flex: none;
        width: 100%;
        max-width: 100%;
        padding: 60px 0;
    }
    .hcs-layout.hcs-desktop-content-above .hcs-content-inner,
    .hcs-layout.hcs-desktop-image-above .hcs-content-inner {
        max-width: var(--hcs-content-max-w, 800px);
        margin-left: auto;
        margin-right: auto;
    }
    .hcs-layout.hcs-desktop-content-above .hcs-image-col,
    .hcs-layout.hcs-desktop-image-above .hcs-image-col {
        flex: none;
        width: 100%;
        max-width: var(--hcs-image-max-w, 1200px);
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── Columns ───────────────────────────────────────────── */
.hcs-content {
    flex: 1;
    padding: 60px 70px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    width: 100%;
}
.hcs-content-inner {
    width: 100%;
    max-width: var(--hcs-content-max-w, 800px);
    display: flex;
    flex-direction: column;
}

.hcs-image-col {
    flex: 1;
    position: relative;
    min-height: var(--hcs-img-min-h);
    overflow: hidden;
    width: 100%;
    max-width: var(--hcs-image-max-w, 1200px);
}

.hcs-image-col img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Header (accent bar + label) ───────────────────────── */
.hcs-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.hcs-accent-bar {
    width: 5px;
    height: 44px;
    background-color: var(--hcs-accent);
    flex-shrink: 0;
}

.hcs-label {
    font-size: var(--hcs-label-size);
    color: var(--hcs-label-color);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0;
    line-height: 1;
}

/* ── Company title ─────────────────────────────────────── */
.hcs-title {
    font-size: var(--hcs-title-size);
    color: var(--hcs-title-color);
    font-weight: 400;
    margin: 0 0 28px;
    line-height: 1.2;
}

/* ── Description text ──────────────────────────────────── */
.hcs-desc {
    font-size: var(--hcs-desc-size);
    color: var(--hcs-desc-color);
    margin: 0 0 28px;
    line-height: 1.6;
    font-weight: 300;
}

/* ── Address block ─────────────────────────────────────── */
.hcs-address {
    margin-bottom: 36px;
}

.hcs-address p {
    font-size: var(--hcs-addr-size);
    color: var(--hcs-addr-color);
    margin: 0 0 6px;
    line-height: 1.5;
    font-weight: 300;
}

/* ── Department rows (Sales / Lettings) ────────────────── */
.hcs-dept {
    margin-bottom: 32px;
}

.hcs-dept:last-of-type {
    margin-bottom: 0;
}

.hcs-dept-title {
    font-size: var(--hcs-dept-size);
    color: var(--hcs-dept-color);
    font-weight: 500;
    margin: 0 0 14px;
}

/* ── Contact items (phone / email rows) ────────────────── */
.hcs-contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.hcs-contact-item i {
    font-size: 22px;
    color: var(--hcs-icon-color);
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.hcs-contact-item a {
    font-size: var(--hcs-contact-size);
    color: var(--hcs-contact-color);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.25s ease;
}

.hcs-contact-item a:hover {
    color: var(--hcs-accent);
}

/* ── Social circles ────────────────────────────────────── */
.hcs-socials {
    display: flex;
    gap: 12px;
    margin-top: 36px;
}

.hcs-social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--hcs-social-bg);
    color: #fff !important;
    text-decoration: none;
    font-size: 17px;
    transition: opacity 0.25s ease, transform 0.2s ease;
}

.hcs-social-circle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
}

.hcs-social-circle img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

.hcs-social-circle:hover {
    opacity: 0.85;
    transform: scale(1.08);
}

/* ═══════════════════════════════════════════════════════════
   MOBILE  ( ≤ 900 px )
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

    /* Always stack vertically on mobile */
    .hcs-layout {
        flex-direction: column !important;
        padding: var(--hcs-pad-top) 0 var(--hcs-pad-bot);
    }

    /* Mobile: content-first (content on top, image on bottom) */
    .hcs-layout.hcs-mobile-content-first {
        flex-direction: column !important;
    }

    /* Mobile: image-first (image on top, content on bottom) */
    .hcs-layout.hcs-mobile-image-first {
        flex-direction: column-reverse !important;
    }

    .hcs-content {
        padding: 40px 24px;
    }
    .hcs-content-inner {
        width: 100%;
        max-width: var(--hcs-content-max-w, 800px);
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
    }

    .hcs-image-col {
        min-height: var(--hcs-img-min-h);
        position: relative;
        margin-left: auto;
        margin-right: auto;
    }

    .hcs-image-col img {
        position: absolute;
        inset: 0;
    }

    .hcs-accent-bar {
        height: 36px;
    }

    .hcs-address {
        margin-bottom: 28px;
    }

    .hcs-dept {
        margin-bottom: 24px;
    }

    .hcs-contact-item {
        gap: 14px;
    }

    .hcs-contact-item i,
    .hcs-contact-icon-wrap {
        width: 22px;
    }
    .hcs-contact-icon-wrap svg {
        width: 18px;
        height: 18px;
    }

    .hcs-socials {
        margin-top: 28px;
    }

    .hcs-buttons {
        margin-top: 28px;
        gap: 12px;
        width: 100%;
    }
    .hcs-btn {
        width: 100%;
        padding: 10px 20px;
    }
}

/* ── SVG call/mail icons wrap styling ────────────────────── */
.hcs-contact-icon-wrap {
    width: 28px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
.hcs-contact-icon-wrap svg {
    width: 22px;
    height: 22px;
    stroke: var(--hcs-icon-color);
    stroke-width: 2;
    fill: none;
    display: block;
}

/* ── Flex ordering for content items ──────────────────────── */
.hcs-header {
    order: var(--hcs-order-header, 1);
}
.hcs-title {
    order: var(--hcs-order-title, 2);
}
.hcs-desc {
    order: var(--hcs-order-desc, 3);
}
.hcs-address {
    order: var(--hcs-order-address, 4);
}
.hcs-dept {
    order: var(--hcs-order-depts, 5);
}
.hcs-socials {
    order: var(--hcs-order-socials, 6);
}
.hcs-buttons {
    order: var(--hcs-order-buttons, 7);
}

/* ── Buttons styling ──────────────────────────────────────── */
.hcs-buttons {
    display: flex;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.hcs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: var(--hcs-btn-font-size, 16px);
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--hcs-btn-br, 4px);
    transition: all 0.25s ease;
    cursor: pointer;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hcs-btn-primary {
    background-color: var(--hcs-btn-bg, var(--hcs-accent));
    color: var(--hcs-btn-txt, #ffffff);
    border: 2px solid var(--hcs-btn-bdr, var(--hcs-accent));
}
.hcs-btn-primary:hover {
    background-color: var(--hcs-btn-hbg, transparent);
    border-color: var(--hcs-btn-hbdr, var(--hcs-btn-bdr, var(--hcs-accent)));
    color: var(--hcs-btn-htxt, var(--hcs-accent));
}
.hcs-btn-secondary {
    background-color: transparent;
    color: var(--hcs-btn-txt, var(--hcs-accent));
    border: 2px solid var(--hcs-btn-bdr, var(--hcs-accent));
}
.hcs-btn-secondary:hover {
    background-color: var(--hcs-btn-hbg, var(--hcs-accent));
    border-color: var(--hcs-btn-hbdr, var(--hcs-accent));
    color: var(--hcs-btn-htxt, #ffffff);
}