/* MVP Candidates Component - Match PlayerVoteCard Layout Exactly */
.mvp-candidates-container {
    min-height: 100vh;
    background: var(--gradient-purple);
    color: white;
    font-family: var(--font-system);
    padding: 1rem;
}

.candidates-header {
    text-align: center;
    margin-bottom: 2rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2rem 1rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.candidates-header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.5), 0 0 20px rgba(255,255,255,0.3);
    background: linear-gradient(135deg, #ffffff, #f0f8ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
    line-height: 1.2;
}

.candidates-header p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Voting status with typing dots animation */
.voting-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

.voting-text {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 1em;
}

.typing-dots .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    animation: typingDots 1.5s infinite ease-in-out;
    display: inline-block;
}

.typing-dots .dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dots .dot:nth-child(2) {
    animation-delay: 0.3s;
}

.typing-dots .dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes typingDots {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Section Headers - Clean standalone styling without container */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    border-radius: 0;
    position: relative;
    overflow: visible;
    flex-wrap: nowrap; /* Prevent wrapping */
    gap: 16px; /* Add consistent gap between title and chip */
}

.section-header::before {
    display: none;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1;
    flex: 0 0 auto; /* Don't grow or shrink, keep natural size */
    white-space: nowrap; /* Prevent text wrapping */
}

/* Dual section layout for Offensive/Defensive */
.candidates-dual-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Individual section styling - Remove card appearance */
.candidates-section {
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    margin-bottom: 3rem;
}

    .candidates-section h2 {
        /*display: none; /* Hide default h2, use section-header instead */
    }

/* Candidate cards grid - Match PlayerVoteCard sizing */
.candidates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Compact photo circles container - horizontal inline layout */
.candidates-photo-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1rem 0;
}

/* Individual photo circle - smaller size for inline display */
.candidate-photo-circle {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
    animation: candidateSlideIn 0.6s ease forwards;
}

.candidate-photo-circle:hover {
    transform: translateY(-4px) scale(1.08);
}

/* Image wrapper for circular clipping */
.candidate-photo-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    display: block;
}

.candidate-photo-circle:hover img {
    border-color: rgba(255, 215, 0, 0.9);
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.4);
}

/* Initials placeholder for candidates without photos */
.candidate-photo-circle .initials-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.candidate-photo-circle:hover .initials-placeholder {
    border-color: rgba(255, 215, 0, 0.9);
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.4);
}

/* Jersey number badge - positioned at bottom-right corner */
.candidate-photo-circle .player-number-badge {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 240, 255, 0.9));
    color: var(--color-purple-start);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    min-width: 28px;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.candidate-photo-circle:hover .player-number-badge {
    background: var(--gradient-purple);
    color: white;
    transform: scale(1.1);
}

/* Animation for vote updates on circles */
.candidate-photo-circle.vote-updated {
    animation: voteUpdateCircle 0.8s ease;
}

@keyframes voteUpdateCircle {
    0% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.15);
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    }
    100% { 
        transform: scale(1);
    }
}

/* Animations */
@keyframes candidateSlideIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes voteUpdate {
    0% { 
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 8px 40px rgba(102, 126, 234, 0.3);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
}

@keyframes progressGlow {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

@keyframes titleGlow {
    0% { 
        text-shadow: 0 4px 8px rgba(0,0,0,0.5), 0 0 20px rgba(255,255,255,0.3);
        filter: brightness(1);
    }
    100% { 
        text-shadow: 0 4px 12px rgba(0,0,0,0.7), 0 0 30px rgba(255,255,255,0.6), 0 0 40px rgba(102,126,234,0.4);
        filter: brightness(1.1);
    }
}

/* Vote Count Chips - Standalone with background and border */
.vote-count-chip {
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 60px;
    justify-content: center;
    line-height: 1;
    height: 32px;
    backdrop-filter: blur(10px);
    flex: 0 0 auto; /* Don't grow or shrink, keep natural size */
    white-space: nowrap; /* Prevent text wrapping */
}

.vote-count-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.vote-count-chip.vote-updated {
    animation: chip-pulse 0.6s ease-out;
    transform: scale(1.05);
}

.vote-count-chip.vote-updated::before {
    left: 100%;
}

@keyframes chip-pulse {
    0% { transform: scale(1); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
    50% { transform: scale(1.1); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
    100% { transform: scale(1.05); box-shadow: 0 3px 12px rgba(0,0,0,0.25); }
}

/* Offensive MVP styling */
.candidates-section.offensive .section-title {
    color: #ff6b6b;
    text-shadow: 0 2px 4px rgba(255, 107, 107, 0.4);
}

.vote-count-chip {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    color: #ffffff;
    box-shadow: 0 2px 2px rgba(107, 107, 107, 1);
    border-color: rgba(255, 107, 107, .6);
}

/* Defensive MVP styling */
.candidates-section.defensive .section-title {
    color: #4ecdc4;
    text-shadow: 0 2px 4px rgba(78, 205, 196, 0.4);
}
.candidates-section h2{
    color: white;
}


/* Overall MVP styling (default) - White chip */
.vote-count-chip:not(.offensive):not(.defensive) {
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(255,255,255,0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hover effects */
.section-header:hover {
    transform: none;
    box-shadow: none;
}

.vote-count-chip:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.vote-count-chip.offensive:hover {
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.4), rgba(255, 107, 107, 0.3));
}

.vote-count_chip.defensive:hover {
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.4), rgba(78, 205, 196, 0.3));
}

.vote-count-chip:not(.offensive):not(.defensive):hover {
    box-shadow: 0 4px 12px rgba(255,255,255,0.2);
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.2));
}

/* Mobile responsiveness - Match PlayerVoteCard exactly */
@media (max-width: 768px) {
/* Photo circles responsive - tablet */
.candidates-photo-grid {
    gap: 1rem;
    padding: 0.8rem 0;
    justify-content: flex-start;
}

.candidate-photo-circle {
    width: 65px;
    height: 65px;
}

.candidate-photo-circle .initials-placeholder {
    font-size: 1.4rem;
}

.candidate-photo-circle .player-number-badge {
    font-size: 0.7rem;
    padding: 2px 6px;
    min-width: 24px;
    bottom: -5px;
    right: -5px;
}

.candidates-dual-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
    
.candidates-header {
    padding: 1.5rem 0.8rem;
    margin-bottom: 1.5rem;
}
    
.voting-status {
    gap: 6px;
}
    
.voting-text {
    font-size: 1rem;
}
    
.typing-dots .dot {
    width: 3px;
    height: 3px;
}
}

@media (max-width: 480px) {
/* Photo circles responsive for small mobile */
.candidates-photo-grid {
    gap: 0.75rem;
    padding: 0.5rem 0;
    justify-content: flex-start;
}

.candidate-photo-circle {
    width: 78px;
    height: 78px;
}

.candidate-photo-circle img {
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.candidate-photo-circle .initials-placeholder {
    font-size: 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.candidate-photo-circle .player-number-badge {
    font-size: 0.65rem;
    padding: 2px 5px;
    min-width: 20px;
    bottom: -4px;
    right: -4px;
    border: 2px solid rgba(255, 255, 255, 0.95);
}

    .mvp-candidates-container {
        padding: 0.8rem;
    }
    
    .candidates-header {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .candidates-header h1 {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
        line-height: 1.1;
    }
    
    .voting-status {
        gap: 5px;
    }
    
    .voting-text {
        font-size: 0.95rem;
    }
    
    .typing-dots .dot {
        width: 3px;
        height: 3px;
    }
}

/* Mobile responsive adjustments for section headers */
@media (max-width: 768px) {
    .section-header {
        padding: 0;
        margin-bottom: 16px;
        flex-direction: row;
        gap: 12px;
        text-align: left;
        border-radius: 0;
        flex-wrap: nowrap; /* Maintain no wrapping on tablet */
    }

    .section-title {
        font-size: 1.2rem;
        letter-spacing: 0.6px;
        flex: 0 0 auto; /* Keep title from shrinking */
    }

    .vote-count-chip {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 50px;
        height: 28px;
        border-radius: 16px;
        flex: 0 0 auto; /* Keep chip from shrinking */
    }
}

@media (max-width: 480px) {
    .section-header {
        padding: 0;
        border-radius: 0;
        flex-direction: row; /* Keep horizontal layout on mobile too */
        gap: 8px;
        text-align: left; /* Align left on mobile */
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap; /* Still no wrapping */
    }

    .section-title {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
        flex: 1 1 auto; /* Allow title to take available space */
        min-width: 0; /* Allow shrinking if absolutely necessary */
    }

    .vote-count-chip {
        padding: 5px 10px;
        font-size: 0.75rem;
        border-radius: 14px;
        height: 26px;
        flex: 0 0 auto; /* Keep chip at natural size */
        min-width: 45px; /* Smaller min-width for mobile */
    }
}

/* Remove shimmer animation */
@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

/* NEW: Superlative Header Card - Professional, cohesive design */
.superlative-header-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 
0 4px 16px rgba(0, 0, 0, 0.1),
          inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.superlative-header-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(255, 215, 0, 0.8), 
        rgba(255, 235, 59, 0.6),
 rgba(255, 215, 0, 0.8));
    border-radius: 20px 20px 0 0;
}

.superlative-header-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 
    0 6px 20px rgba(0, 0, 0, 0.15),
         inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.superlative-header-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    min-width: 0;
}

.superlative-header-card .trophy-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    animation: trophy-float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.6));
    line-height: 1;
}

@keyframes trophy-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(-2deg);
    }
}

.superlative-header-card .vote-count-chip {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    color: #ffffff;
 padding: 0.75rem 1.25rem;
    border-radius: 24px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2),
          inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 70px;
    justify-content: center;
    line-height: 1;
    flex: 0 0 auto;
    white-space: nowrap;
}

.superlative-header-card .vote-count-chip::before {
    content: '';
    position: absolute;
    top: 0;
  left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.superlative-header-card .vote-count-chip.vote-updated {
    animation: chip-pulse-enhanced 0.8s ease-out;
}

.superlative-header-card .vote-count-chip.vote-updated::before {
  left: 100%;
}

@keyframes chip-pulse-enhanced {
    0% { 
        transform: scale(1); 
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% { 
 transform: scale(1.15); 
   box-shadow: 0 8px 32px rgba(255, 215, 0, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.3),
   inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
    100% { 
        transform: scale(1); 
     box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2),
             inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

/* Mobile responsive adjustments for section headers */
@media (max-width: 768px) {
    .superlative-header-card {
    padding: 1.25rem 1.5rem;
        margin-bottom: 1.25rem;
  gap: 1rem;
        flex-direction: row;
        border-radius: 16px;
    }

    .superlative-header-content {
        gap: 1rem;
        flex-direction: row;
    }

    .superlative-header-card .trophy-icon {
   font-size: 2rem;
    }

    .superlative-title {
        font-size: 1.3rem;
        letter-spacing: 0.7px;
    }

    .superlative-description {
   font-size: 0.85rem;
    }

    .superlative-header-card .vote-count-chip {
        padding: 0.6rem 1rem;
font-size: 0.95rem;
    min-width: 60px;
        border-radius: 20px;
    }

    /* Deprecated old styles */
    .section-header {
 padding: 0;
  margin-bottom: 16px;
        flex-direction: row;
     gap: 12px;
        text-align: left;
   border-radius: 0;
        flex-wrap: nowrap; /* Maintain no wrapping on tablet */
    }

    .section-title {
  font-size: 1.2rem;
        letter-spacing: 0.6px;
        flex: 0 0 auto; /* Keep title from shrinking */
    }

    .vote-count-chip {
   padding: 6px 12px;
    font-size: 0.8rem;
    min-width: 50px;
 height: 28px;
     border-radius: 16px;
   flex: 0 0 auto; /* Keep chip from shrinking */
    }
}

@media (max-width: 480px) {
    .superlative-header-card {
        padding: 1rem 1.25rem;
      margin-bottom: 1rem;
        gap: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
    border-radius: 14px;
    }

    .superlative-header-content {
  gap: 0.85rem;
        flex-direction: row;
        width: 100%;
    }

    .superlative-header-card .trophy-icon {
        font-size: 1.75rem;
    }

    .superlative-title {
  font-size: 1.15rem;
        letter-spacing: 0.5px;
  }

    .superlative-description {
   font-size: 0.8rem;
    }

  .superlative-header-card .vote-count-chip {
    padding: 0.5rem 0.9rem;
   font-size: 0.85rem;
      min-width: 55px;
border-radius: 18px;
        align-self: flex-end;
    }

    /* Deprecated old styles */
    .section-header {
     padding: 0;
     border-radius: 0;
        flex-direction: row; /* Keep horizontal layout on mobile too */
        gap: 8px;
  text-align: left; /* Align left on mobile */
   align-items: center;
        justify-content: space-between;
   flex-wrap: nowrap; /* Still no wrapping */
    }

    .section-title {
   font-size: 1.1rem;
        letter-spacing: 0.5px;
        flex: 1 1 auto; /* Allow title to take available space */
   min-width: 0; /* Allow shrinking if absolutely necessary */
    }

    .vote-count-chip {
    padding: 5px 10px;
        font-size: 0.75rem;
        border-radius: 14px;
        height: 26px;
        flex: 0 0 auto; /* Keep chip at natural size */
        min-width: 45px; /* Smaller min-width for mobile */
    }
}

/* Additional styles for superlative text block and title/description animations */
.superlative-text-block {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.superlative-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4),
           0 1px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff, #ffd700, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.superlative-description {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-style: italic;
 opacity: 0.95;
}

/* Remove old section-header styles (deprecated) - ONLY within mvp-candidates */
.mvp-candidates-container .section-header {
    display: none;
}

.mvp-candidates-container .section-title {
    display: none;
}

/* Candidate cards grid - Match PlayerVoteCard sizing */
.candidates-grid {
    display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}