body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background-color: #2d5a27;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    border-bottom: 5px solid #1e3d1a;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    letter-spacing: 2px;
}

header p {
    margin-top: 0.5rem;
    font-style: italic;
    opacity: 0.9;
}

.container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.poker-decoration {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.suit-spade { color: #000; }
.suit-heart { color: #e44141; }
.suit-diamond { color: #e44141; }
.suit-club { color: #000; }

.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #2d5a27;
}

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background-color: #f4f4f4;
}

.article-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-content h2 {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    color: #2d5a27;
}

.article-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    color: #2d5a27;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #2d5a27;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
}

.read-more:hover {
    background-color: #2d5a27;
    color: white;
}

.pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #f4f4f4;
}

.pagination .active {
    background-color: #2d5a27;
    color: white;
    border-color: #2d5a27;
}

footer {
    background-color: #f9f9f9;
    padding: 2rem 1rem;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 4rem;
    color: #888;
}

/* Hero Ad Styles */
.hero-ad {
    background-color: #f0f7ef;
    border-bottom: 1px solid #e0eadd;
    padding: 3rem 1rem;
    text-align: center;
}

.hero-ad-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-ad img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(45, 90, 39, 0.15);
    border: 4px solid #fff;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hero-ad img:hover {
    transform: scale(1.02);
}

.hero-ad h2 {
    color: #2d5a27;
    margin: 0;
    font-size: 2rem;
}

.hero-ad p {
    color: #555;
    max-width: 600px;
    margin: 0;
    font-size: 1.1rem;
}

.download-btn {
    display: inline-block;
    background-color: #2d5a27;
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
}

.download-btn:hover {
    background-color: #1e3d1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 39, 0.4);
}

/* Article Detail Page Styles */
.article-detail {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.article-detail h1 {
    color: #2d5a27;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.article-meta {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #2d5a27;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}
