/* Homepage Styles */

.homepage-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Ensure header container matches homepage container padding */
.site-header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.homepage-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    margin-top: 2rem;
}

/* Left Column: Main Content */
.homepage-main {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Featured Section with Side Articles - Full Width */
.featured-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    align-items: start;
    max-width: 1400px;
    margin: 1.4rem auto 2.5rem;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

/* Featured Article Block */
.featured-article-block {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Side Articles */
.side-articles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.side-article-item {
    position: relative;
    height: calc((350px - 1.5rem) / 2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1;
}

.side-article-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.side-article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.side-article-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.side-article-content .category-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}
}

.side-article-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.side-article-title a {
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s;
}

.side-article-title a:hover {
    opacity: 0.9;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.featured-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
}

.featured-content .category-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}
}

.featured-title {
    margin: 0 0 1.5rem 0;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.featured-title a {
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s;
}

.featured-title a:hover {
    opacity: 0.9;
}

.ler-mais-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #013466;
    color: #ffffff;
    padding: 0.875rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s, transform 0.2s;
}

.ler-mais-btn:hover {
    background: #012a52;
    transform: translateY(-2px);
}

.ler-mais-btn svg {
    width: 16px;
    height: 16px;
}

/* Homepage Intro */
.homepage-intro {
    margin-bottom: 1rem;
}

.homepage-intro h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.betting-sites-section {
    margin-top: 1rem;
}

.betting-sites-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.5rem 0;
}

/* Featured Team Section */
.featured-team-section {
    margin: 1rem 0;
}

.featured-team-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
}

.featured-team-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.featured-team-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.featured-team-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.featured-team-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #1a1a1a;
}

.featured-team-title {
    flex: 1;
}

.featured-team-country-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
}

.featured-team-country {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
    flex: 1;
}

.featured-team-profile-link {
    font-size: 0.8125rem;
    color: #1e40af !important;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
    white-space: nowrap;
    margin-left: auto;
}

.featured-team-profile-link:hover {
    color: #1e3a8a !important;
    text-decoration: none;
}

.featured-team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Performance Chart */
.featured-performance h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
}

/* Pie Chart */
.performance-pie-chart {
    display: flex;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.pie-chart-svg {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

.chart-legend {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.35rem;
    margin-bottom: 1.85rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-wins {
    background: #22c55e;
}

.legend-draws {
    background: #fbbf24;
}

.legend-losses {
    background: #ef4444;
}

.legend-text {
    color: #666;
    font-weight: 500;
}

/* Form */
.team-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
}

.form-badges {
    display: flex;
    gap: 0.375rem;
}

.form-badge-small {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #ffffff;
}

.form-badge-small.win {
    background: #22c55e;
}

.form-badge-small.draw {
    background: #fbbf24;
}

.form-badge-small.loss {
    background: #ef4444;
}

/* Matches */
.featured-matches {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.match-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
}

.match-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.match-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.match-date {
    font-size: 0.75rem;
    color: #999;
    font-weight: 500;
}

.match-box-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.match-box-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    flex: 1;
    min-width: 0;
}

.match-team-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.match-team-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.2;
}

.match-box-score {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.score-sep {
    color: #999;
    font-weight: 400;
}

.match-box-vs {
    font-size: 0.75rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
}

.match-result-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-result-badge.win {
    background: #dcfce7;
    color: #16a34a;
}

.match-result-badge.draw {
    background: #fef3c7;
    color: #d97706;
}

.match-result-badge.loss {
    background: #fee2e2;
    color: #dc2626;
}

.last-match.win {
    border-left: 3px solid #22c55e;
}

.last-match.draw {
    border-left: 3px solid #fbbf24;
}

.last-match.loss {
    border-left: 3px solid #ef4444;
}

.next-match {
    border-left: 3px solid #3b82f6;
}

/* CTA */
.featured-team-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.featured-team-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    text-decoration: none;
    color: #ffffff;
}

/* Upcoming Matches Section */
.upcoming-matches-section {
    margin: 0.5rem 0 0.75rem 0;
}

.upcoming-matches-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
}

.upcoming-matches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.match-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    transition: box-shadow 0.3s, transform 0.2s;
}

.match-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.match-league {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.team-logo-small {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.team-logo-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #666;
    font-size: 1.125rem;
}

.team-name-small {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
}

.match-vs {
    font-size: 0.75rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
}

.match-datetime {
    text-align: center;
    font-size: 0.8125rem;
    color: #666;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
}

/* Betting Sites Section */

.betting-sites-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.betting-sites-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.betting-sites-table thead {
    background: #f5f5f5;
}

.betting-sites-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e0e0e0;
}

.betting-sites-table th:last-child {
    text-align: right;
}

.betting-sites-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.betting-sites-table tbody tr:hover {
    background: #f9f9f9;
}

.betting-sites-table tbody tr:last-child td {
    border-bottom: none;
}

.site-logo-cell {
    min-width: 150px;
}

.betting-site-logo {
    max-width: 120px;
    max-height: 40px;
    object-fit: contain;
}

.site-name-text {
    font-weight: 600;
    color: #1a1a1a;
}

.bonus-cell {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.license-cell {
    font-size: 0.875rem;
}

.license-badge-small {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #22c55e;
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
}

.action-cell {
    text-align: right;
}

.apostar-agora-btn {
    display: inline-block;
    background: #013466;
    color: #ffffff;
    padding: 0.625rem 1.25rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.3s;
    white-space: nowrap;
}

.apostar-agora-btn:hover {
    background: #012a52;
}

/* Latest News Section */
.latest-news-section {
    margin-top: 1rem;
}

.latest-news-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.5rem 0;
}

/* Large Featured Article */
.latest-news-main {
    position: relative;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 1.5rem;
}

.latest-news-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Two Smaller Articles Grid */
.latest-news-small-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.latest-news-small-item {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.latest-news-small-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.small-article-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.small-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.latest-news-small-item:hover .small-article-image img {
    transform: scale(1.05);
}

.small-article-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.small-category-tag {
    display: inline-block;
    background: rgba(100, 116, 139, 0.12);
    color: #334155;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    border: 1px solid rgba(100, 116, 139, 0.2);
}
}

.small-article-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
}

.small-article-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.small-article-title a:hover {
    color: #013466;
}

.small-article-excerpt {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Body Text Section */
.homepage-body-text {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.homepage-body-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
}

.homepage-body-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin: 0 0 1.25rem 0;
}

.homepage-body-text p:last-child {
    margin-bottom: 0.75rem;
}

.homepage-body-text p a {
    color: #013466;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.homepage-body-text p a:hover {
    color: #ff6b35;
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.news-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
}

.news-content .category-tag {
    display: inline-block;
    background: rgba(100, 116, 139, 0.12);
    color: #334155;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    border: 1px solid rgba(100, 116, 139, 0.2);
}
}

.news-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.news-title a {
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s;
}

.news-title a:hover {
    opacity: 0.9;
}

/* Article Snippet Block */
.article-snippet-block {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.article-snippet-block:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.snippet-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 4px;
    overflow: hidden;
}

.snippet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.snippet-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.snippet-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.snippet-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.snippet-title a:hover {
    color: #013466;
}

.snippet-excerpt {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Right Column: Sidebar */
.homepage-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e0e0e0;
}

/* Top Sportsbooks - Exactly same as team-profile.css */
.sportsbooks-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.sportsbook-card {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
}

.sportsbook-rank {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sportsbook-main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.sportsbook-logo-circle {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0;
}

.sportsbook-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    background: #fff;
}

.sportsbook-logo-letter {
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

.sportsbook-content {
    flex: 1;
}

.sportsbook-name-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.sportsbook-name {
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
}

.sportsbook-name-link {
    color: inherit;
    text-decoration: none;
}

.sportsbook-name-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.sportsbook-rating {
    font-size: 0.8rem;
    color: #f59e0b;
    white-space: nowrap;
    line-height: 1.2;
}

.sportsbook-offer {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 0.35rem;
}

.sportsbook-cta {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 4px;
    background: #ff6b35;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.sportsbook-cta:hover {
    background: #e65a2a;
}

/* Top Scorers - Same as team profile */
.top-scorers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.scorer-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.scorer-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scorer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scorer-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1976d2;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.scorer-info {
    flex: 1;
}

.scorer-name {
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.scorer-position {
    font-size: 0.8125rem;
    color: #7a7a7a;
}

.scorer-goals {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    background: #f8f9fb;
    border: 1px solid #e3e6ea;
    border-radius: 6px;
    padding: 0.35rem 0.55rem;
    min-width: 32px;
    text-align: center;
}

.scorer-goals {
    font-size: 0.875rem;
    color: #666;
}

/* Sidebar Banner */
.sidebar-banner {
    padding: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    border-radius: 8px;
}

.banner-link {
    display: block;
    width: 100%;
}

.sidebar-banner-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .homepage-content {
        grid-template-columns: 1fr 280px;
        gap: 1.5rem;
    }
    
    .featured-section {
        grid-template-columns: 1fr;
    }
    
    .side-articles {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .latest-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .homepage-container {
        padding: 0 10px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .upcoming-matches-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .match-card {
        padding: 0.875rem;
    }

    .match-teams {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .match-team {
        flex-direction: column;
        justify-content: center;
        gap: 0.4rem;
        min-width: 0;
    }

    .team-logo-small {
        width: 34px;
        height: 34px;
    }

    .team-name-small {
        font-size: 0.8rem;
    }
    
    .team-name-small {
        font-size: 0.8125rem;
    }
    
    .featured-team-card {
        padding: 1.25rem;
    }
    
    .featured-team-header {
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .featured-team-logo {
        width: 50px;
        height: 50px;
    }
    
    .featured-team-title h3 {
        font-size: 1.25rem;
    }
    
    .featured-team-country-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .pie-chart-svg {
        width: 180px;
        height: 180px;
    }
    
    .featured-team-content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .chart-legend {
        gap: 0.75rem;
    }
    
    .match-team-name {
        font-size: 0.6875rem;
    }
    
    .featured-team-cta {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
    }
    
    .homepage-container * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .homepage-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .homepage-sidebar {
        order: 1;
    }
    
    .homepage-main {
        order: 0;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .featured-section {
        grid-template-columns: 1fr;
        padding: 0 5px;
        margin: 1rem auto 1.5rem;
    }
    
    .featured-article-block {
        height: 250px;
        padding: 1.5rem;
    }
    
    .featured-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .featured-content {
        padding: 0;
    }
    
    .side-articles {
        grid-template-columns: 1fr;
        display: grid;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .side-article-item {
        height: 180px;
        padding: 1rem;
    }
    
    .side-article-title {
        font-size: 0.95rem;
    }
    
    .homepage-intro h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .intro-text {
        font-size: 0.95rem;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .betting-sites-section {
        margin-top: 1rem;
    }
    
    .betting-sites-section h2,
    .latest-news-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .betting-sites-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
    }
    
    .betting-sites-table {
        min-width: 100%;
        width: 100%;
        table-layout: auto;
    }
    
    .betting-sites-table th,
    .betting-sites-table td {
        padding: 0.5rem 0.4rem;
        font-size: 0.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .betting-sites-table th:first-child,
    .betting-sites-table td:first-child {
        padding-left: 0.5rem;
    }
    
    .betting-sites-table th:last-child,
    .betting-sites-table td:last-child {
        padding-right: 0.5rem;
    }
    
    .betting-sites-table th:last-child {
        text-align: center;
    }
    
    .site-logo-cell {
        min-width: 0;
        max-width: 40%;
    }
    
    .bonus-cell {
        font-size: 0.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 35%;
    }
    
    .action-cell {
        text-align: center;
        min-width: 0;
        max-width: 25%;
    }
    
    .apostar-agora-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .betting-site-logo {
        max-width: 80px;
        max-height: 30px;
    }
    
    .latest-news-main {
        min-height: 220px;
        padding: 1.5rem;
    }
    
    .news-title {
        font-size: 1.25rem;
    }
    
    .latest-news-small-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .small-article-image {
        height: 150px;
    }
    
    .small-article-content {
        padding: 1rem;
    }
    
    .small-article-title {
        font-size: 1rem;
    }
    
    .small-article-excerpt {
        font-size: 0.85rem;
    }
    
    .homepage-body-text {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        width: 100%;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .homepage-body-text h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .homepage-body-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .homepage-body-text p a {
        word-break: break-word;
    }
    
    .sidebar-banner {
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .sidebar-banner-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .article-snippet-block {
        flex-direction: column;
        padding: 1rem;
    }
    
    .snippet-image {
        width: 100%;
        height: 200px;
        margin-bottom: 1rem;
    }
    
    .snippet-title {
        font-size: 1.125rem;
    }
    
    .snippet-excerpt {
        font-size: 0.9rem;
    }
    
    .sidebar-widget {
        padding: 1rem;
    }
    
    .widget-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .sportsbook-card {
        gap: 0.5rem;
    }
    
    .sportsbook-name {
        font-size: 0.85rem;
    }
    
    .sportsbook-offer {
        font-size: 0.75rem;
    }
    
    .scorer-item {
        gap: 0.75rem;
    }
    
    .scorer-photo {
        width: 40px;
        height: 40px;
    }
    
    .scorer-name {
        font-size: 0.9rem;
    }
    
    .scorer-goals {
        font-size: 0.8rem;
    }
}

