:root {
    /* Brand (from project brief) */
    --brand-green: #044c26;   /* Main Color in logo */
    --brand-gold:  #c39933;   /* Secondary Color in logo */
    --brand-green-trans: #004e2594;
    /* --brand-green-trans: #044c2694; */

    /* Neutrals */
    --grey-900: #1a1a1a;
    --grey-800: #2a2a2a;
    --grey-700: #4a4a4a;
    --grey-600: #5f5f5f;
    --grey-500: #8a8a8a;
    --grey-300: #e6e6e6;
    --grey-200: #efefef;
    --grey-100: #f7f7f7;
    --white:    #ffffff;

    --ts-gold:   0 0 8px rgba(195, 153, 51, .65); /* brand glow */
}


.container{
    width: 80%;
    margin-left: 10%;
}

hr{
    margin-bottom: 50px;
}

h1{
    font-size: 50px;
}


.country-title h2{
    margin-left: 10px;
}


.hero-section{
    height: auto;
}
.hero-details{
    width: 80%;
    margin-left: 10%;
    margin-top: 100px;
    z-index: 2;
}
.hero-section .hero-img{
    margin-top: -100px;
    position: absolute;
    z-index: -2;

}
.hero-section .container{
    margin-top: 100px;
    z-index: 2;
}

.lead{
    text-shadow: var(--ts-strong);
    color: #1a1a1a;
    width: 50%;
}

/* coverage overview */
.markets-overview{
    margin-top: 550px;
    margin-bottom: 100px;
}

/* Cards */
.card-intr:hover{
    scale: 1.05;
    border-color: var(--brand-gold);
}


/* markets grid */
.country-title{
    display:flex;
    flex-direction: row;
}

.country-grid{
    margin-top: 20px;
    margin-bottom: 100px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 3%;

    
}

.country-card{
    width: 48.5%;
    margin-bottom: 50px;


}


/* Export volumes table */
.markets-volumes{
    margin-bottom: 100px;
}
table{
    border-style: solid;
    border-width: 2px;
    border-color: var(--brand-green);

}

thead{
    background-color: var(--brand-green);
    color: var(--grey-200);
}


.table-wrap { overflow-x: auto; }
.table--compact th, .table--compact td { white-space: nowrap; }

@media (max-width: 720px) {
  .table--compact th:nth-child(3),
  .table--compact td:nth-child(3),
  .table--compact th:nth-child(4),
  .table--compact td:nth-child(4),
  .table--compact th:nth-child(5),
  .table--compact td:nth-child(5) {
    display: none; /* simplify on small screens */
  }
}

/* 1080-wide tier: */
@media (max-width: 1080px) {
    .container{
        width: 90%;
        margin-left: 5%;
    }
    /* hero */
    .hero-section h1{
        font-size: 30px;
        margin-top: 20px;
    }
    .lead{
        width: 60%;
    }

    .hero-details{
        width: 90%;
        margin-left: 5%;
        margin-top: 0;
        z-index: 2;
    }
    .hero-section .hero-img{
        margin-top: -20px;
    }

    /* markets*/
    .markets-overview{
        margin-top: 270px;
    }


}

/* Mobile ~480-wide: full-bleed with safe padding */
@media (max-width: 520px) {
    .container{
        width: 90%;
        margin-left: 5%;
    }
    /* hero */
    .hero-details{
        width: 90%;
        margin-left: 5%;
        z-index: 2;
    }
    .lead{
        width: 100%;
    }
    .hero-section .hero-img{
        position: static;
        margin-top: 0;
    }

    /* markets*/
    .markets-overview{
        margin-top: 100px;
    }
    .country-grid{
        margin-top: 20px;
        margin-bottom: 100px;
        display: flex;
        flex-direction: column;
        gap: 3%;
    }
    .country-card{
        width: 100%;
    }
}

@media (min-width: 2560px){

    /* glabals */
    .container{
        width: 80%;
        margin-left: 10%;
    }
    p, li{
        font-size: 20px;
    }

    /* hero section */
    .hero-section h1{
        font-size: 50px;
    }
    .hero-img{
        width: 100%;
    }
    .lead{
        font-size: 20px;
    }

    .markets-overview{
        margin-top: 800px;
    }

}