.brandmore {
    display: flex;
    place-items: center;
    justify-content: center;
    padding: 1rem 0;
    background-color: ;
}

.brandmorea {
    width: 95%;
    background: #111827;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    background-color: ;
}


/* Wrapper Layout */

.brandmorea .gallery-title {
    text-align: center;
    color: #38bdf8;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 1.5rem;
    background-color: ;
    letter-spacing: 0.1rem;
}

.brandmorea h2 {
    margin-bottom: 10px;
    font-weight: 450;
    font-size: 1.2rem;
    letter-spacing: 0.05rem;
    color: white;
}


/* --- Responsive Scroll Container --- */

.brandmorea .scroll-container {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 320px);
    /* Responsive sizing boundary */
    gap: 1.5rem;
    padding: 10px 1.5rem 25px 1.5rem;
    /* Bottom padding gives card shadows space */
    /* Core Overflow Mechanics */
    overflow-x: auto;
    overflow-y: hidden;
    /* Native Touch Behaviors */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    /* Hide Scrollbar for Firefox */
    scrollbar-width: none;
    /* Hide Scrollbar for IE and Edge */
    -ms-overflow-style: none;
}


/* --- Hide Scrollbar for Chrome, Safari, and newer Opera/Edge --- */

.brandmorea .scroll-container::-webkit-scrollbar {
    display: none;
    width: 0 !important;
    height: 0 !important;
}


/* --- Dynamic Cards --- */

.brandmorea .card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}


/* Interaction Effects */

.card:hover {
    transform: translateY(-4px);
    border-color: #6366f1;
    /* Glowing indigo accent highlight */
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.5);
}


/* Card Content Specs */

.brandmorea .card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: auto;
    /* Locked height across items */
    justify-content: space-between;
}

.brandmorea .tag {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.brandmorea .card h3 {
    font-size: 1.25rem;
    color: #f1f5f9;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.brandmorea .card p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: auto;
    height: 110px;
    overflow-y: hidden;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

.brandmorea .brand-btn {
    display: inline-block;
    text-align: center;
    background-color: #ffffff;
    color: #000000;
    padding: 0.5rem 0.5rem;
    margin: 0 0.5rem;
    margin-top: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}


/* Mobile Layout Tweaks */

@media (max-width: 768px) {
    .brandmorea .scroll-container {
        grid-auto-columns: minmax(230px, 270px);
        gap: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .brandmorea .gallery-title {
        font-size: 1.2rem;
    }
    .brandmorea h2 {
        font-size: 0.8rem;
    }
    .brandmorea .tag {
        align-self: flex-start;
        font-size: 0.6rem;
        font-weight: 600;
        letter-spacing: 0.05em;
    }
    .brandmorea .card h3 {
        font-size: 1.1rem;
        font-weight: 500;
    }
    .brandmorea .card p {
        font-size: 0.8rem;
        height: 125px;
        line-height: 1.4;
        -webkit-line-clamp: 7;
    }
}