/* ==========================================================
   JT MAISON — Beliefs Widget
   ========================================================== */

.jtm-beliefs {
    padding: 120px 40px;
    background: var(--jtm-white);
    width: 100%;
    box-sizing: border-box;
}

.jtm-beliefs__inner {
    max-width: 800px; /* Constrained width for optimal reading line length */
    margin: 0 auto;
}

.jtm-beliefs__title {
    text-align: center;
    font-family: var(--jtm-font-ui);
    font-size: 32px;
    font-weight: 600;
    color: var(--jtm-dark);
    margin: 0 0 32px 0;
}

.jtm-beliefs__subtitle {
    text-align: center;
    font-family: var(--jtm-font-ui);
    font-size: 16px;
    color: var(--jtm-dark);
    margin: 0 0 80px 0;
    line-height: 1.4;
}

.jtm-beliefs__list {
    display: flex;
    flex-direction: column;
}

.jtm-beliefs__item {
    border-bottom: 1px solid rgba(0,0,0,0.15); /* Thin separator spanning full width */
    padding-bottom: 40px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

/* Remove border and margin from the last item */
.jtm-beliefs__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.jtm-beliefs__content {
    max-width: 70%; /* Limit text width */
}

/* EVEN ITEMS (Right aligned) */
.jtm-beliefs__item:nth-child(even) {
    align-items: flex-end; /* Push the constrained content block to the right */
}

.jtm-beliefs__item:nth-child(even) .jtm-beliefs__content {
    text-align: right;
}

/* ODD ITEMS (Left aligned) */
.jtm-beliefs__item:nth-child(odd) {
    align-items: flex-start; /* Push the constrained content block to the left */
}

.jtm-beliefs__item:nth-child(odd) .jtm-beliefs__content {
    text-align: left;
}

.jtm-beliefs__num {
    display: block;
    font-family: var(--jtm-font-ui);
    font-size: 14px;
    font-weight: 700;
    color: var(--jtm-dark);
    margin-bottom: 16px;
}

.jtm-beliefs__text {
    font-family: var(--jtm-font-ui);
    font-size: clamp(20px, 2.5vw, 24px);
    font-style: italic;
    font-weight: 600; /* Medium-bold as seen in design */
    color: var(--jtm-dark);
    line-height: 1.4;
    margin: 0 0 24px 0;
}

.jtm-beliefs__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--jtm-font-ui);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: var(--jtm-white);
    background: var(--jtm-dark);
    transition: all 0.3s ease;
}

.jtm-beliefs__btn:hover {
    background: var(--jtm-purple);
}

.jtm-beliefs__signature {
    text-align: center;
    margin-top: 80px;
}

.jtm-beliefs__signature img {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* ==========================================================
   RESPONSIVE MOBILE
   ========================================================== */
@media (max-width: 768px) {
    .jtm-beliefs {
        padding: 60px 24px;
    }
    
    .jtm-beliefs__title {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .jtm-beliefs__subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    .jtm-beliefs__item {
        padding-bottom: 32px;
        margin-bottom: 32px;
    }
    
    .jtm-beliefs__content {
        max-width: 90%; /* Let text breathe more on mobile */
    }
    
    .jtm-beliefs__text {
        font-size: 20px;
    }
    
    .jtm-beliefs__signature {
        margin-top: 60px;
    }
    
    .jtm-beliefs__signature img {
        height: 60px;
    }
}
