/* Elementor Infobox Widget Styles */

/* Make widget fill flex container height */
.elementor-widget-infobox {
    display: flex;
    flex: 1;
}

.elementor-widget-infobox > .elementor-widget-container {
    display: flex;
    flex: 1;
    width: 100%;
    justify-content: center;
}

/* Main box container */
.eib-box {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex: 1;
    width: 100%;
    max-width: 410px;
    box-sizing: border-box;
    border: 1px solid #1a1a2e;
    background-color: #ffffff;
    cursor: pointer;
}

/* Gold overlay */
.eib-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #b29063;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.eib-overlay-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 1.6em;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: #ffffff;
    text-align: center;
    padding: 20px;
}

/* Hide overlay on hover */
.eib-box:hover .eib-overlay {
    opacity: 0;
    pointer-events: none;
}

/* Active state for touch devices */
.eib-box.eib-active .eib-overlay {
    opacity: 0;
    pointer-events: none;
}

/* Vertical divider line - starts from top, 80% height */
.eib-divider {
    flex-shrink: 0;
    width: 1px;
    align-self: flex-start;
    height: 80%;
    min-height: 150px;
    margin-right: 20px;
    margin-left: 40px;
    background-color: #b29063;
}

/* Inner content wrapper */
.eib-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 30px;
}

/* Title styling */
.eib-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 1.6em;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: #b29063;
    margin: 0 0 35px 0;
    word-wrap: break-word;
}

/* Content list */
.eib-content {
    flex: 1;
}

.eib-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.eib-content li {
    position: relative;
    margin-bottom: 20px;
    padding-left: 25px;
    line-height: 1.6;
    color: #1a1a2e;
    font-size: 16px;
}

.eib-content li:last-child {
    margin-bottom: 0;
}

/* Square bullet */
.eib-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: #1a1a2e;
}

/* Button wrapper - pushes to bottom */
.eib-button-wrap {
    margin-top: auto;
    padding-top: 25px;
}

/* Button styling */
.eib-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.eib-button:hover {
    color: #b29063;
}

.eib-button-icon {
    display: inline-flex;
    align-items: center;
}

.eib-button-icon svg {
    stroke: currentColor;
    transition: stroke 0.3s ease;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .eib-box {
        max-width: 100%;
        padding: 40px;
    }

    .eib-divider {
        margin-right: 30px;
    }

    .eib-content li {
        font-size: 16px;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .eib-box {
        padding: 30px;
    }

    .eib-divider {
        margin-right: 25px;
    }

    .eib-title {
        font-size: 10px;
        letter-spacing: 0.4em;
    }

    .eib-content li {
        font-size: 15px;
        margin-bottom: 15px;
    }
}