/**
 * Hero Showcase for Elementor - Frontend Styles
 */

.hse-wrapper {
    display: grid;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    align-items: stretch;
}

.hse-wrapper *,
.hse-wrapper *::before,
.hse-wrapper *::after {
    box-sizing: border-box;
}

/* ==========================
   COLUMN PROPORTIONS (3 cols)
   ========================== */
.hse-cols-1-1-1 { grid-template-columns: 1fr 1fr 1fr; }
.hse-cols-1-2-1 { grid-template-columns: 1fr 2fr 1fr; }
.hse-cols-1-3-1 { grid-template-columns: 1fr 3fr 1fr; }
.hse-cols-2-3-2 { grid-template-columns: 2fr 3fr 2fr; }
.hse-cols-1-2-2 { grid-template-columns: 1fr 2fr 2fr; }

/* When a column is hidden, redistribute */
.hse-no-left.hse-cols-1-1-1,
.hse-no-left.hse-cols-1-2-1,
.hse-no-left.hse-cols-1-3-1,
.hse-no-left.hse-cols-2-3-2,
.hse-no-left.hse-cols-1-2-2  { grid-template-columns: 2fr 1fr; }

.hse-no-center.hse-cols-1-1-1,
.hse-no-center.hse-cols-1-2-1,
.hse-no-center.hse-cols-1-3-1,
.hse-no-center.hse-cols-2-3-2,
.hse-no-center.hse-cols-1-2-2  { grid-template-columns: 1fr 1fr; }

.hse-no-right.hse-cols-1-1-1,
.hse-no-right.hse-cols-1-2-1,
.hse-no-right.hse-cols-1-3-1,
.hse-no-right.hse-cols-2-3-2,
.hse-no-right.hse-cols-1-2-2  { grid-template-columns: 1fr 2fr; }

.hse-no-left.hse-no-center,
.hse-no-left.hse-no-right,
.hse-no-center.hse-no-right    { grid-template-columns: 1fr; }

/* ==========================
   COLUMN BASE
   ========================== */
.hse-col {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0; /* prevents grid blowout */
}

/* ==========================
   LEFT COLUMN
   ========================== */
.hse-col-left {
    background-color: #f5ece0;
    padding: 40px;
    justify-content: flex-start;
}

.hse-title {
    margin: 0 0 20px 0;
    font-weight: 500;
    line-height: 1.2;
    color: #1a1a1a;
}

/* EB Garamond preset */
.hse-title-eb {
    font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 500;
    letter-spacing: -0.005em;
}

.hse-divider {
    display: block;
    width: 50px;
    height: 1px;
    background-color: #8a6f4f;
    margin: 0 0 24px 0;
}

.hse-description {
    margin: 0 0 32px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #5a5a5a;
}

/* ==========================
   BUTTON BASE
   ========================== */
.hse-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
    text-transform: uppercase;
    width: fit-content;
}

.hse-button-left {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 4px;
    align-self: flex-start;
}

.hse-button-left:hover {
    background-color: #3a3a3a;
}

.hse-button-right {
    align-self: center;
    margin-top: 16px;
}

.hse-button-right.hse-button-text-style {
    background-color: transparent;
    color: #1a1a1a;
    padding: 8px 4px;
}

.hse-button-right.hse-button-filled {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 4px;
}

.hse-btn-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.hse-btn-arrow svg {
    display: block;
}

/* ==========================
   CENTER COLUMN
   ========================== */
.hse-col-center {
    padding: 0;
    overflow: hidden;
}

.hse-image-link {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.hse-center-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s ease, opacity 0.4s ease;
}

.hse-hover-zoom:hover .hse-center-image {
    transform: scale(1.05);
}

.hse-hover-fade:hover .hse-center-image {
    opacity: 0.85;
}

/* ==========================
   RIGHT COLUMN (MAP)
   ========================== */
.hse-col-right {
    background-color: #ebebeb;
    padding: 24px;
    justify-content: space-between;
    align-items: stretch;
}

.hse-map-area {
    position: relative;
    flex: 1;
    width: 100%;
    min-height: 160px;
    overflow: hidden;
}

.hse-map-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* ==========================
   PIN
   ========================== */
.hse-pin {
    position: absolute;
    left: 35%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    pointer-events: none;
}

.hse-pin-marker {
    width: 48px;
    height: 48px;
    background-color: #1a1a1a;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hse-pin-marker img {
    width: 65%;
    height: 65%;
    object-fit: contain;
    border-radius: inherit;
}

.hse-pin-marker i,
.hse-pin-marker svg {
    color: #ffffff;
    fill: #ffffff;
    font-size: 22px;
    line-height: 1;
}

.hse-pin-label {
    background-color: #ffffff;
    color: #1a1a1a;
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}

/* ==========================
   RESPONSIVE
   ========================== */
@media (max-width: 1024px) {
    .hse-cols-1-1-1,
    .hse-cols-1-2-1,
    .hse-cols-1-3-1,
    .hse-cols-2-3-2,
    .hse-cols-1-2-2 {
        grid-template-columns: 1fr 1fr;
    }
    .hse-col-right {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .hse-wrapper,
    .hse-cols-1-1-1,
    .hse-cols-1-2-1,
    .hse-cols-1-3-1,
    .hse-cols-2-3-2,
    .hse-cols-1-2-2 {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }

    .hse-col-right {
        grid-column: span 1;
    }

    .hse-col-left {
        padding: 32px 24px;
    }

    .hse-col-right {
        padding: 24px;
    }

    .hse-col-center {
        min-height: 220px;
    }

    .hse-map-area {
        min-height: 200px;
    }

    .hse-button-left {
        width: 100%;
        justify-content: center;
    }

    .hse-pin-label {
        font-size: 12px;
    }
}
