/* styles.css */

/* Global Element Styles */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--light-color);
    color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: var(--dark-color);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.bg-dark-green {
    background-color: #002b12;
}

.hero-section {
    height: 80vh;
    position: relative;
}
.text-truncate-news {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    min-width: 0;
    white-space: normal;
}

@media (max-width: 991.98px) {
    .hero-section {
        height: 70vh;
        min-height: 320px;
    }
    .page-hero-section {
        height: 60vh;
        min-height: 180px;
    }
    .player-card {
        max-width: 100%;
        height: auto;

    }
    .player-card-left, .player-card-right {

        border-radius: 1.5rem 1.5rem 0 0 !important;
        min-height: 180px;
    }
    .player-card-right {
        border-radius: 0 0 1.5rem 1.5rem !important;
        padding: 1rem !important;
    }
}
@media (max-width: 575.98px) {
    .hero-section {
        height: 100vh;
        min-height: 120px;
    }
    .page-hero-section {
        height: 60vh;
        min-height: 80px;
    }
    .player-card {
        min-height: 220px;
    }
}
