/* Single Post Styles */
.single-post {
    margin-bottom: 4rem;
}

/* Hero Section */
.post-hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.post-hero .featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-hero.no-image .gradient-background {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #006400, #004d00);
}

/* Post Container */
.post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Post Header */
.post-header {
    margin-bottom: 2rem;
    text-align: center;
}

.post-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #006400;
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Post Meta */
.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.post-meta > div {
    color: #666;
    font-size: 0.9rem;
}

.meta-label {
    font-weight: 600;
    color: #333;
    margin-right: 0.5rem;
}

/* Social Share */
.social-share {
    margin-bottom: 2rem;
}

.share-label {
    font-weight: 600;
    margin-right: 1rem;
    color: #333;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1877f2;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.share-button:hover {
    transform: translateY(-2px);
    background-color: #166fe5;
}

.share-button .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Post Content */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 3rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

/* Gallery Grid */
.post-gallery {
    margin: 2rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Tags */
.post-tags {
    margin: 2rem 0;
}

.tag-link {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: #f0f0f0;
    color: #666;
    border-radius: 20px;
    text-decoration: none;
    margin: 0.25rem;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.tag-link:hover {
    background-color: #e0e0e0;
    color: #333;
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: #333;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
}

.related-post-image {
    position: relative;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-post-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h3 a:hover {
    color: #006400;
}

.related-post-meta {
    font-size: 0.9rem;
    color: #666;
}

/* CTAs */
.post-ctas {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #006400;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: #005200;
}

.tournament-cta {
    background-color: #B59410;
}

.tournament-cta:hover {
    background-color: #9e7f0d;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .post-hero {
        height: 300px;
    }

    .post-container {
        padding: 0 15px;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .post-ctas {
        bottom: 0;
        right: 0;
        left: 0;
        padding: 10px;
        background-color: white;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .post-title {
        font-size: 1.8rem;
    }
} 