/* ==========================================================
   JT MAISON — Banner Widget
   ========================================================== */

.jtm-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1300px; /* Increased to match global container */
    margin: 0 auto;
    padding: 40px 0; /* Removed horizontal padding from container */
    background: var(--jtm-white);
}

.jtm-banner__item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px; /* Reduced from 40px to give more space */
}

/* Vertical dividers */
.jtm-banner__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 70px;
    background-color: #E0E0E0;
}

.jtm-banner__link {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--jtm-dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
    transition: opacity 0.2s, color 0.2s;
    white-space: nowrap; /* Force single line on desktop */
}

.jtm-banner__link:hover {
    color: var(--jtm-teal); /* Using the new teal color for consistency */
}

/* Responsive Tablet & Mobile */
@media (max-width: 1024px) {
    .jtm-banner {
        padding: 24px 16px;
        max-width: 100%;
    }
    
    .jtm-banner__item {
        padding: 0 10px;
    }
    
    .jtm-banner__item:not(:last-child)::after {
        height: 50px;
    }
    
    .jtm-banner__link {
        font-size: 13px;
        letter-spacing: 0;
        white-space: normal; /* Allow wrap on mobile if necessary */
    }
}
