/* Custom Sponsor Flat-Card Elements Framework */

.sponsor-flat-card {
    padding: 20px 10px;
    margin-bottom: 25px;
    background-color: transparent;
    /* Enforce design parameter requirements */
    border: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

/* Image container frame balancing uneven image shapes safely */
.sponsor-img-frame {
    height: 148px;
    line-height: 100px; 
    margin-bottom: 15px;
    display: block;
    text-align: center;
    border-radius: 10px;
}

.sponsor-img-frame img {
    max-height: 148px;
    width: auto;
    display: inline-block !important; 
    vertical-align: middle;
    border-radius: 10px;
}

/* FOCAL POINT #1: Strong, prominent sponsor title */
.sponsor-title-text {
    font-size: 30px;
    margin: 10px 0 12px 0;
    font-weight: bold;
    text-align: center;
}

.sponsor-title-text a {
    color: #111; /* Slightly darker for maximum focus */
    text-decoration: none;
}

.sponsor-title-text a:hover {
    color: #23527c;
    text-decoration: underline;
}

/* SUPPORTING ELEMENT: Toned down so it doesn't compete with the player */
.proudly-sponsoring-section .small-label {
    font-size: 14px; 
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    color: #888 !important; /* Softened color */
    text-align: center;
}

/* Badge Container - Centered using Flexbox */
.alignment-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Crucial: This centers the badge(s) horizontally */
    gap: 6px; 
    margin: 4px 0;
}

/* FOCAL POINT #2: The Player/Program Badge */
.alignment-badge {
    font-size: 18px; /* Increased from 12px to establish clear secondary hierarchy */
    font-weight: 600; /* Added weight to draw the eye right after the title */
    color: #222; /* High contrast text */
    background-color: #e9ecef; /* Slightly crisper grey background */
    padding: 6px 14px; /* Generous padding to give the larger text breathing room */
    border-radius: 20px; /* Clean, modern pill shape */
    line-height: 1.4;
    white-space: nowrap; 
}

/* Clearfix injection rules for Bootstrap 3 4-column desktop layout breaks */
@media (min-width: 992px) {
    .sponsor-card-wrapper:nth-child(4n+1) {
        clear: left;
    }
}