* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #B3DDF2;
    --accent: #FF4C4C;
    --dark: #20232a;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f6f6f6;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 2rem;
}


header {
    background-color: #20232a;
    color: white;
    padding: 1rem 0;
}

.subheader {
    font-size: 1rem;
    color: #bbb;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

header h1 {
    margin-bottom: 0.5rem;
}

header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

header nav a {
    color: #61dafb;
    text-decoration: none;
}

.feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.post {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    flex-direction: row; /* force horizontal layout on all screen sizes */
}

.post img {
    float: left;
    max-height: 100px;
    margin-right: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.score {
    width: 50px;
    background: #f0f0f0;
    text-align: center;
    font-size: 1.2rem;
    padding: 0.5rem 0;
    color: #777;
    font-weight: bold;
    border-right: 1px solid #ddd;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.post-content {
    padding: 1rem;
    flex: 1;
}

.post-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a0dab;
}

.post-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.5rem;
}

footer {
    background-color: #20232a;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

.tournament-section h2 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: white;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-top: 2rem;
    color: #1a1a1a;
    text-shadow: 1px 1px 2px #000000;
}

.decor-banner {
    font-size: 1.3rem;
    text-align: center;
    margin: 2rem 0 1rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(to right, #ff4c4c, #fbc02d);
    padding: 0.7rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.host-nations,
.region-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.host-card,
.region-card {
    flex: 1 1 calc(33.333% - 1rem);
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
    font-weight: bold;
    color: #0d47a1;
    font-size: 1.1rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.host-card:hover,
.region-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #f48fb1, #81d4fa);
    color: #000;
}

.news-feed-header {
    background: linear-gradient(135deg, #e0f7fa, #fce4ec);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.news-feed-header h2 {
    font-size: 2rem;
    color: #20232a;
    margin-bottom: 0.5rem;
}

.news-feed-header p {
    font-size: 1rem;
    color: #555;
}

@media (max-width: 900px) {
    .host-card,
    .region-card {
        flex: 1 1 100%;
    }

    .container {
        padding: 1rem;
    }

    .post {
        flex-direction: row;
    }

    .score {
        width: 50px;
        border-right: 1px solid #ddd;
        border-bottom: none;
    }
}

.material-back-button {
    display: inline-block;
    background-color: #1976d2; /* Material Blue */
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.material-back-button:hover {
    background-color: #1565c0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.material-back-button:active {
    background-color: #0d47a1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) inset;
}

/* Image */
.article-image {
    width: 100%;
}

.article-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 450px;
}