/* 1. Global Modernization */


/* 3. Cards & Sections (The "News" and "Content" boxes) */
.card, .post, .section-box {
    border: none !important;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    margin-bottom: 25px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* 4. Buttons (Call to Action) */
.btn-primary, .button, input[type="submit"] {
    background-color: var(--hansa-yellow) !important;
    color: var(--hansa-black) !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 50px !important; /* Rounded pill shape */
    font-weight: 800 !important;
    text-transform: uppercase;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 0px #d4b900; /* Subtle 3D effect */
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0px #d4b900;
    filter: brightness(1.05);
}

/* 5. Headings */
.headerNode {
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic; /* Gives it a "sporty" feel */
    border-left: 6px solid var(--hansa-yellow);
    padding-left: 15px;
    margin-bottom: 1.5rem;
}



/* 1. Layout: Turning the list into a Grid */
.teams-container, .team-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* 2. Team Card Styling */
.team-item, .team-entry {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.team-item:hover {
    border-color: var(--hansa-yellow);
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.1);
}

/* 3. Section Headers (Adults, Youth, etc.) */
.teams-section-title, h2.category-title {
    grid-column: 1 / -1; /* Stretch across the whole grid */
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    background: var(--hansa-black);
    color: #fff;
    padding: 10px 20px;
    margin-top: 40px;
    border-left: 8px solid var(--hansa-yellow);
    display: inline-block;
}

/* 4. Team Name Styling */
.team-name {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--hansa-black);
    margin-bottom: 10px;
    text-decoration: none;
}

/* 5. Team Metadata (Leagues/Contact) */
.team-info {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
}

/* 6. "View Team" Button - Making it look like a pro sports tag */
.team-link {
    display: inline-block;
    background: var(--hansa-yellow);
    color: var(--hansa-black);
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    align-self: flex-start;
}

/* 7. Search/Filter Bar (If applicable) */
.team-filter-input {
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    border: 2px solid #eee;
    margin-bottom: 30px;
    font-size: 1rem;
    outline: none;
}

.team-filter-input:focus {
    border-color: var(--hansa-yellow);
}

/* 8. Special Styling for "Flinta*" and "Minta*" labels */
.badge-special {
    background-color: #000;
    color: var(--hansa-yellow);
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 4px;
    margin-left: 5px;
}



/* Container Layout */
.team-profile-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Team Hero Section */
.team-hero {
    background: var(--hansa-black);
    color: white;
    padding: 60px 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-bottom: 6px solid var(--hansa-yellow);
}

.team-category-label {
    color: var(--hansa-yellow);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.team-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 10px 0;
    text-transform: uppercase;
    font-style: italic;
}

/* Info Grid (2 columns on desktop) */
.team-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.yellow-dot {
    height: 12px;
    width: 12px;
    background-color: var(--hansa-yellow);
    display: inline-block;
    border-radius: 50%;
    margin-right: 10px;
}

/* Training Schedule Styling */
.training-schedule {
    margin-top: 20px;
}

.schedule-item {
    display: flex;
    justify-content: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.schedule-item .day {
    font-weight: 800;
    width: 120px;
}

.schedule-item .time {
    color: #666;
    width: 100px;
}

.schedule-item .location {
    font-weight: 500;
}

/* Sidebar / Join Card */
.join-card {
    background: var(--hansa-yellow);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.join-card h3 {
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.btn-join {
    display: block;
    background: var(--hansa-black);
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 20px;
    transition: transform 0.2s;
}

.btn-join:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-title {
        font-size: 2.5rem;
    }
}