/* Structural and Premium Styling for HWP Widget */

.hwp-wrapper {
    box-sizing: border-box;
    width: 100%;
}

.hwp-container {
    margin: 0 auto;
    width: 100%;
}

/* Header Styling */
.hwp-header {
    width: 100%;
    margin-bottom: 60px;
}

.hwp-subtitle {
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.hwp-title {
    font-family: inherit;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    word-wrap: break-word;
}

/* Grid layout */
.hwp-grid {
    display: grid;
    width: 100%;
}

.hwp-card {
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
}

/* Divider Line Styling */
.hwp-card-divider-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
}

.hwp-card-divider {
    width: 100%;
    height: 1px;
    background-color: #eeeeee;
}

.hwp-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: #d9383a;
    transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Optional hover expand animation */
.hwp-hover-active .hwp-card:hover .hwp-card-accent {
    width: 100%;
}

/* Steps content */
.hwp-step-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    color: #d9383a;
    margin-bottom: 16px;
}

.hwp-step-icon-wrap svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.hwp-step-media {
    margin-bottom: 16px;
}

.hwp-step-media img {
    max-width: 100%;
    height: auto;
}

.hwp-step-num {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hwp-step-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.hwp-step-desc {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Tablet Layout Breakpoint (Up to 1024px) */
@media (max-width: 1024px) {
    .hwp-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile Layout Breakpoint (Up to 767px) */
@media (max-width: 767px) {
    .hwp-grid {
        grid-template-columns: 1fr !important;
    }
    .hwp-title {
        font-size: 34px;
    }
}
