


/* ==========================================================================
   Partner Tools & Platforms Page Styles
   ========================================================================== */
.page-template-page-partner-tools #content .container{
    max-width: 100%;
    padding: 0;
}
.page-template-page-partner-tools #content .container .bb-grid.site-content-grid{
   /* max-width: 1550px;
    padding: 0 15px;*/
}

/* Variables matching the design's potential color palette */
:root {
    --pt-hero-bg: #2C5282; /* Deep blue from hero */
    --pt-text-main: #2D3748; /* Dark gray for general text */
    --pt-text-light: #364153CC; /* Lighter gray for categories and inputs */
    --pt-border: #AFAFAF; /* Light gray border */
    --pt-bg-white: #FFFFFF;
    --pt-hover-border: #CBD5E0;
    --pt-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --pt-hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.pt-page-wrapper {
    font-family: Poppins;
    color: var(--pt-text-main);
    background-color: #fff; /* Slight off-white background as per typical modern design if needed, else transparent */
    padding-bottom: 80px;
}

.pt-container {
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Hero Section --- */
.pt-hero-section {
    background: linear-gradient(180deg, #1E3A5F 0%, #2C5282 100%);
    color: var(--pt-bg-white);
    padding: 80px 0;
    text-align: center;
}

.pt-hero-title {
    font-size:clamp(36px,3vw,42px);
    font-weight: 700;
    margin: 0 0 25px 0;
    color: var(--pt-bg-white);
    line-height: 1.2;
    font-family: Poppins !important;
}

.pt-hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 80%;
    width: 100%;
    margin: 0 auto;
    color: #FFFFFFCC;
    font-family: Poppins !important;
}

/* --- Filter Bar --- */
.pt-content-section {
    margin-top: 40px;
    background: #fff;
    position: relative;
}

.pt-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.pt-search-box {
    position: relative;
    flex-grow: 1;
    max-width: 100%;
}

.pt-search-input {
    width: 100% !important;
    padding: 14px 16px 14px 44px !important;
    border: 1px solid var(--pt-border) !important;
    border-radius: 6px !important;
    font-size: 16px;
    color: var(--pt-text-main);
    background-color: var(--pt-bg-white);
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    height: auto;
}

.pt-search-input::placeholder {
    color: #A0AEC0;
}

.pt-search-input:focus {
    outline: none;
    border-color: #4299E1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.pt-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    pointer-events: none;
}

.pt-category-box {
    position: relative;
    width: 260px;
}

.pt-category-select {
    width: 100%;
    padding: 14px 44px 14px 16px;
    border: 1px solid var(--pt-border);
    border-radius: 6px;
    font-size: 16px;
    color: #000;
    background-color: var(--pt-bg-white) !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    height: auto;
}

.pt-category-select:focus {
    outline: none;
    border-color: #4299E1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.pt-select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    pointer-events: none;
}

/* --- Cards Grid --- */
.pt-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.pt-card-link {
    text-decoration: none !important;
    display: block;
    height: 100%;
}

.pt-card {
    background-color: var(--pt-bg-white);
    border: 1px solid var(--pt-border);
    border-radius: 8px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pt-card-link:hover .pt-card {
    border-color: var(--pt-hover-border);
    transform: translateY(-4px);
    box-shadow: var(--pt-hover-shadow);
}
.pt-logo-image {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}
.pt-card-logo {
    margin-bottom: 20px;
    height: 48px;
    display: flex;
    align-items: center;
}

.pt-logo-text {
    font-size: 28px;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
}

.pt-logo-text strong {
    color: #1A365D; /* Deep dark blue */
    font-weight: 800;
}

.pt-logo-text span {
    color: #4299E1; /* Light vivid blue */
    font-weight: 500;
}

.pt-card-category {
    font-size: 18px;
    font-weight: 500;
    color: var(--pt-text-light);
    margin-bottom: 25px;
}

.pt-card-desc {
    font-size: 20px;
    line-height: 1.6;
    color: var(--pt-text-light);
    margin: 0;
}
.pt-card-desc span{
    color: #00B2E3;
    text-decoration: underline;
}

select.pt-category-select {
    -webkit-appearance: none; /* Chrome, Safari, Edge, Opera */
    -moz-appearance: none;    /* Firefox */
    appearance: none;         /* Standard */
    background: none;         /* Removes default background image in some cases */
    padding-right: 0;         /* Adjust padding if needed to remove residual space */
}
 #partners-loader{
    position: absolute;
    transform: translate(50%, 50%);
    left: -50%;
    top: -50%;
    background: #00000090;
    display: none;
    justify-content: center;
    align-items: center;
    width:100%; 
    height:100%;
}
#partners-loader img{
    max-width: 60px;
}
#partners-loader.loader{
    display: flex;
    justify-content: center;
    align-items: center;
}
/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .pt-hero-title {
        margin: 0 0 15px 0;
    }
    
    .pt-hero-subtitle {
        font-size: 16px;
        max-width: 100%;
    }

    .pt-cards-grid {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .pt-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .pt-search-box {
        max-width: 100%;
    }

    .pt-category-box {
        width: 100%;
    }

    .pt-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .pt-hero-section {
        padding: 60px 0;
    }
    
    .pt-card {
        padding: 24px;
    }
    .pt-card-logo {
        margin-bottom: 10px;
    }
    .pt-card-desc {
        font-size: 16px;
        max-width: 100%;
    }
    .pt-page-wrapper{
        padding-bottom: 40px;
    }
    .pt-card-category {
        font-size: 14px;
        margin-bottom: 10px;
    }
}
