/* === HOW IT WORKS - DETAILED PAGE === */
/* Matches homepage bali-how-it-works.css styling */

.hiw-detailed-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.hiw-page-header {
    text-align: left;
    margin-bottom: 40px;
}

/* H1 Title with Grey Underline */
.hiw-page-title {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: #333 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.1 !important;
    display: inline !important;
    background-image: linear-gradient(#c0c0c0, #c0c0c0) !important;
    background-size: 100% 8px !important;
    background-repeat: no-repeat !important;
    background-position: 0 85% !important;
    border-bottom: none !important;
    position: relative !important;
}

.hiw-page-title::after {
    display: none !important;
}

/* Subtitle */
.hiw-page-subtitle {
    font-size: 16px;
    color: #666;
    margin: 12px 0 0 0;
    font-weight: 400;
}

/* Each Step Block */
.hiw-detailed-step {
    margin-bottom: 50px;
}

/* Step Header - matches homepage layout */
.hiw-step-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

/* Number Circle - exact homepage match */
.hiw-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #6b85e6;
    color: #ffffff;
    border-radius: 50%;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Titles Container */
.hiw-step-titles {
    display: flex;
    flex-direction: column;
    padding-top: 5px;
}

/* Heading - matches homepage */
.hiw-heading {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Subheading - matches homepage */
.hiw-subheading {
    display: block;
    font-size: 13px;
    color: #888;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Link Style - matches homepage */
.hiw-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 4px;
    line-height: 1.2;
    color: #6b85e6;
    text-decoration: none !important;
    border-bottom: 1.5px solid #EE9F86;
    transition: all 0.2s ease;
}

.hiw-link:hover {
    border-bottom: 2px solid #EE9F86;
    opacity: 0.8;
}

/* Description - matches homepage */
.hiw-description {
    margin: 0;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Step Image */
.hiw-step-image {
    margin-top: 20px;
}

.hiw-page-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: block;
}

/* Footer with Button */
.hiw-page-footer {
    text-align: center;
    margin-top: 20px;
}

/* Salmon Button - matches homepage */
.hiw-salmon-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #FFA685;
    color: #000 !important;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    line-height: 1;
}

.hiw-salmon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 166, 133, 0.4);
    background-color: #FF9E7A;
}

.hiw-salmon-btn::after {
    content: "";
    width: 18px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 24' stroke='%23000000' stroke-width='2' fill='none'%3E%3Cpath d='M14 1l11 11-11 11'/%3E%3Cpath d='M24.625 12H1' stroke-linecap='square'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Area Links - salmon underline only */
.hiw-area-link {
    color: #6b85e6;
    text-decoration: none !important;
    font-weight: 600;
    border-bottom: 1.5px solid #EE9F86;
    transition: all 0.2s ease;
}

.hiw-area-link:hover {
    border-bottom: 2px solid #EE9F86;
    opacity: 0.8;
}

/* Mobile */
@media only screen and (max-width: 768px) {
    .hiw-detailed-wrapper {
        padding: 0 15px;
    }
    
    .hiw-page-title {
        font-size: 28px !important;
        background-size: 100% 6px !important;
    }
    
    .hiw-page-subtitle {
        font-size: 15px;
    }
    
    .hiw-detailed-step {
        margin-bottom: 40px;
    }
    
    .hiw-salmon-btn {
        width: 100%;
        justify-content: center;
    }
}