/* =====================================================
   SALTANDPOD — Brands Page Styles
   Design: Figma node 21695:2554
   ===================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --brand-primary:    #0a1628;
    --brand-accent:     #456793;
    --brand-nav:        #7ba8c4;
    --brand-offwhite:   #f7f6f4;
    --brand-light:      #eff1f4;
    --brand-light-txt:  #cfdaeb;
    --brand-border:     rgba(0, 0, 0, 0.2);
}

/* ---------- Page Reset ---------- */
.brands-page-main {
    background: var(--brand-offwhite);
    overflow-x: hidden;
}

/* =====================================================
   HERO BANNER
   ===================================================== */
.brands-hero {
    position: relative;
    height: 512px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.brands-hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--brand-primary);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.brands-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.60) 6.18%,
        rgba(0, 0, 0, 0.00) 64.44%
    );
}

.brands-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 100px;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

.brands-hero-title {
    color: #EFF1F4;
font-family: "DM Sans";
font-size: 48px;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 57.6px */
letter-spacing: 1.29px;
text-transform: capitalize;
	max-width:500px;
}

.brands-hero-desc {
	padding-top:12px;
 color: #EFF1F4;
font-family: "DM Sans";
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 24px */
    max-width: 587px;
    margin: 0;
}

/* =====================================================
   BRANDS GRID SECTION
   ===================================================== */
.brands-grid-section {
    background:#EFF1F4;
    padding: 120px 0;
}

.brands-section-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* --- Section Header --- */
.brands-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
/*     gap: 12px; */
    width: 100%;
}

.brands-section-eyebrow {
 font-family: "DM Sans";
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: -0.12px;
text-transform: uppercase;
	color:#456793 !important;
}

.brands-section-title {
  font-family: "DM Sans";
font-size: 28px;
font-style: normal;
font-weight: 700;
line-height: 130%; /* 36.4px */
letter-spacing: -0.56px;
text-transform: capitalize;
	color:#0A1628;
	padding-top:4px;
}

.brands-section-desc {
    font-family: "DM Sans";
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 24px */
	padding-top:12px;
	color:#456793;
}

/* --- Cards Grid --- */
.brands-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

/* --- Individual Brand Card --- */
.brand-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.20);
/*     background: #fff; */
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

/* .brand-card:hover {
    box-shadow: 0 8px 32px rgba(10, 22, 40, 0.10);
    transform: translateY(-2px);
}
 */
/* Logo Area */
.brand-card-logo-area {
    background:#F7F6F4;
    height: 161px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 44px;
    flex-shrink: 0;
    position: relative;
}

/* "Popular" badge for featured brand cards */
.brand-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 9px;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    border-radius: 4px;
    z-index: 5;
    line-height: 1.6;
}

.brand-badge-popular {
    background-color: #456793; /* Clay Blue, matches homepage popular badge */
}

.brand-card-logo-img {
/*     max-width: 160px;
    max-height: 123px; */
    width: auto;
    height: auto;
    object-fit: cover;
	filter: brightness(0) saturate(100%) invert(41%) sepia(16%) saturate(1450%) hue-rotate(180deg) brightness(95%) contrast(89%);
    position: relative;
    z-index: 2;
    opacity: 1;
}

.brand-card-logo-placeholder {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--brand-primary);
    text-align: center;
    opacity: 0.5;
}

/* Body Area */
.brand-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    gap: 40px;
}

.brand-card-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brand-card-name {
  font-family: "DM Sans";
font-size: 18px;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 21.6px */
letter-spacing: -0.36px;
text-transform: capitalize;
	color:#0A1628;
}

.brand-card-desc {
   font-family: "DM Sans";
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 24px */
	color:#456793;
}

/* CTA Button */
.brand-card-btn {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0A1628;
    color:#EFF1F4;
    border: 1px solid #0A1628;
/*     border-radius: 4px; */
    padding: 12px 24px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: normal;
    letter-spacing: -0.28px;
    text-decoration: none;
    text-transform: capitalize;
    transition: background 0.2s ease, color 0.2s ease;
    width: 100%;
    flex-shrink: 0;
}

.brand-card-btn:hover,
.brand-card-btn:focus {
    background: transparent;
    color: var(--brand-primary);
    text-decoration: none;
}
.brand-card-btn:hover{
 background: #0A1628;
	border-color: #0A1628;
}

/* Empty state */
.brands-empty-message {
    text-align: center;
    color: var(--brand-accent);
    font-size: 16px;
    padding: 60px 0;
}











@media (max-width: 1366px){
	.brands-grid-section{
		padding: 80px 0 !important;
	}
}
@media (max-width: 1199px){
	.brands-hero{
		height: 480px !important;
	}
	.brands-grid-section{
		padding: 70px 0 !important;
	}
	.brand-card-body{
		gap: 20px !important;
	}
	.brand-card-logo-area{
		    padding: 20px 30px !important;
		height: 150px !important;

	}
}

/* =====================================================
   RESPONSIVE — TABLET (max 1024px)
   ===================================================== */
@media (max-width: 1024px) {
    .brands-hero-content {
        padding: 0 40px;
    }

    .brands-hero-title {
        font-size: 36px;
    }

    .brands-section-container {
        padding: 0 40px;
    }

    .brands-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
	    .brands-hero {
        height: 450px !important;
    }
	.brands-grid-section {
        padding: 60px 0 !important;
    }
}

/* =====================================================
   RESPONSIVE — MOBILE (max 768px)
   ===================================================== */
@media (max-width: 768px) {
    /* Hero */
    .brands-hero {
        height: 400px;
        align-items: flex-end;
        padding-bottom: 48px;
    }

    .brands-hero-overlay {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.75) 30%,
            rgba(0, 0, 0, 0.15) 100%
        );
    }

    .brands-hero-content {
        padding: 0 24px;
    }

    .brands-hero-title {
        font-size: 28px;
        letter-spacing: -0.56px;
    }

    .brands-hero-desc {
        font-size: 14px;
    }

    /* Grid Section */
    .brands-grid-section {
        padding: 60px 0;
    }

    .brands-section-container {
        padding: 0 24px;
        gap: 24px;
    }

    .brands-section-title {
        font-size: 22px;
    }

    /* 1 column on mobile */
    .brands-cards-grid {
/*         grid-template-columns: 1fr; */
        gap: 16px;
    }

    .brand-card-logo-area {
        height: 140px;
        padding: 16px 32px;
    }

    .brand-card-logo-img {
        max-width: 120px;
        max-height: 100px;
    }

    .brand-card-body {
        padding: 16px;
    }

    .brand-card-name {
        font-size: 18px !important;
    }

    .brand-card-desc {
        font-size: 16px !important;
    }
	.brands-hero {
        height: 380px !important;
    }
	.brands-grid-section {
        padding: 50px 0 !important;
    }
}
@media (max-width: 580px){
  .brands-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }	
}
/* =====================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ===================================================== */
@media (max-width: 480px) {
    .brands-hero {
        height: 320px;
    }
 
    .brands-hero-title {
        font-size: 24px;
    }

    .brands-section-container {
        padding: 0 16px;
    }
}