:root {
    --blog-max-width: 800px;
}

/* Blog List Page Styles */
.blogs-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1rem 2rem 1rem;
}

.blogs-list h1 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.blog-card {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 140, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 140, 0.1);
}

.blog-card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1rem;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    margin-top: auto;
}

.read-more:hover {
    color: var(--accent-color);
}

/* Individual Blog Post Styles */

/* Back to Blogs Button */
.back-to-blogs {
    padding: 0.5rem 0;
    max-width: var(--blog-max-width);
    margin: 0 auto;
    margin-top: 1rem;
}

.back-button {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-button i {
    margin-right: 0.5rem;
}

.back-button:hover {
    color: var(--accent-color);
    transform: translateX(-3px);
}

.blog-content {
    max-width: var(--blog-max-width);
    margin: 0 auto;
    padding: 6rem 1rem 2rem 1rem;
    line-height: 1.8;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-hero-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

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

.blog-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.blog-header h2 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: normal;
}

.blog-section {
    margin-bottom: 2.5rem;
}

.blog-section h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-section h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1.2rem;
}

.blog-section p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.blog-section strong {
    color: var(--accent-color);
}

.blog-section em {
    color: var(--text-primary);
}

.section-divider {
    text-align: center;
    margin: 2.5rem 0;
    color: var(--primary-color);
    opacity: 0.6;
    font-size: 1.2rem;
}

.blog-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.blog-section ul li {
    margin-bottom: 0.8rem;
    position: relative;
}

.platforms-list li {
    list-style-type: none;
    padding-left: 0.5rem;
}

/* Blog Post Content Styles */
.blog-post {
    background: rgba(26, 26, 26, 0.8);
    min-height: 100vh;
}

.blog-content {
    max-width: var(--blog-max-width);
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    line-height: 1.8;
}

.blog-section {
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

.blog-section h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
}

.blog-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
    list-style-type: none;
}

.blog-section ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.blog-section ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.blog-section ul li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-section em {
    color: var(--accent-color);
    font-style: italic;
}

/* Blog Header Styles */
.blog-header {
    text-align: center;
    margin-bottom: 4rem;
}

.blog-hero-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

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

.blog-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-header h2 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: normal;
}

/* Social Sharing Buttons Styles */
.share-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: center;
}

.share-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    min-width: 225px;
    display: flex;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.share-button i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.share-button.twitter {
    background-color: #000000;
    border: 1px solid #333333;
}

.share-button.twitter:hover {
    background-color: #333333;
    border-color: #555555;
}

.share-button.facebook {
    background-color: #4267B2;
}

.share-button.facebook:hover {
    background-color: #365899;
}

.share-button.whatsapp {
    background-color: #25D366;
    color: white;
}

.share-button.whatsapp:hover {
    background-color: #128C7E;
}

@media (max-width: 768px) {
    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .share-button {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .blog-content {
        padding: 5rem 1.5rem 3rem;
    }
    
    .back-to-blogs {
        margin-top: 4.5rem;
    }

    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-header h2 {
        font-size: 1.25rem;
    }

    .blog-section h3 {
        font-size: 1.5rem;
    }

    .blog-section p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-content {
        padding: 4rem 1rem 2rem;
    }
    
    .back-to-blogs {
        margin-top: 4rem;
        padding: 0 1rem;
    }

    .blog-header h1 {
        font-size: 1.75rem;
    }

    .blog-hero-image {
        border-radius: 8px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-header h2 {
        font-size: 1.25rem;
    }
    
    .blog-hero-image {
        max-height: 300px;
        margin: -1rem -1rem 2rem -1rem;
        border-radius: 0;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .blogs-list,
    .blog-content {
        padding: 4.5rem 0.75rem 1.5rem 0.75rem;
    }
    
    .blog-header h1 {
        font-size: 1.75rem;
    }
    
    .blog-section h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .blog-content {
        padding: 4rem 1rem 2rem 1rem;
    }

    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-hero-image {
        margin: 0 auto 2rem auto;
        text-align: center;
    }

    .blog-hero-image img {
        margin: 0 auto;
        display: block;
        max-width: 100%;
        height: auto;
    }

    .blog-section img {
        margin: 0 auto;
        display: block;
        max-width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    .blog-header h1 {
        font-size: 1.75rem;
    }

    .blog-content {
        padding: 3rem 1rem 1.5rem 1rem;
    }
}

.footer {
    background: var(--background-dark);
    padding: 3rem 5rem 1rem;
    z-index: 4;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--text-secondary);
    color: var(--text-secondary);
}

.contact-link {
    position: relative;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-color);
}

.contact-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-link:hover::after {
    transform: scaleX(1);
}