.news-detail .blog-post-title {
    font-size: clamp(2.2rem, 3vw + 1rem, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

.news-detail .blog-post-content .news-ai-layout {
    border-radius: 18px;
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    margin: 2.5rem auto;
    max-width: 880px;
}

.news-detail .blog-post-content .news-ai-layout-header {
    padding: 2rem 2.5rem 1rem;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
    font-weight: 600;
    font-size: 1.15rem;
}

.news-detail .blog-post-content .news-ai-layout-body {
    padding: 2rem 2.5rem;
    background: #fff;
}

.news-detail .blog-post-content .news-ai-layout-body h2,
.news-detail .blog-post-content .news-ai-layout-body h3 {
    font-weight: 700;
}

.news-detail .blog-post-content .news-ai-layout-body p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.news-detail .blog-post-content .news-ai-layout-footer {
    padding: 1.5rem 2.5rem;
    background: #f8f9fa;
    border-top: 1px solid rgba(13, 110, 253, 0.15);
}

.news-detail .blog-post-content .news-ai-layout footer a,
.news-detail .blog-post-content .news-ai-layout-footer a {
    color: #0d6efd;
    font-weight: 600;
}

@media (max-width: 768px) {
    .news-detail .blog-post-title {
        text-align: center;
    }

    .news-detail .blog-post-content .news-ai-layout,
    .news-detail .blog-post-content .news-ai-layout-header,
    .news-detail .blog-post-content .news-ai-layout-body,
    .news-detail .blog-post-content .news-ai-layout-footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .news-detail .blog-post-content .news-ai-layout {
        margin: 2rem auto;
    }
}
/**
 * Electricos Uruguay - Main Stylesheet
 */

/* Base styles */
:root {
    --primary: #0b6b3a;
    --secondary: #6c757d;
    --success: #198754;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #212529;
    --body-bg: #f8f9fa;
    --body-color: #212529;
}

body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    background-color: var(--body-bg);
    color: var(--body-color);
    line-height: 1.6;
}

/* Header */
.site-header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #0b6b3a;
}

.site-header .navbar {
    background-color: #0b6b3a !important;
}

.navbar-brand {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero section */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0b6b3a 0%, #0f7f45 100%);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../img/pattern.svg');
    background-size: cover;
    opacity: 0.1;
}

/* Section titles */
.section-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Cards */
.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-card, .download-card {
    height: 100%;
}

.news-card .card-title a, .download-card .card-title a {
    color: var(--dark);
    text-decoration: none;
}

.news-card .card-title a:hover, .download-card .card-title a:hover {
    color: var(--primary);
}

/* Feature cards */
.feature-card {
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    color: var(--primary);
}

/* Brand cards */
.brand-card {
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-link:hover .brand-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    color: var(--primary);
}

/* Blog post */
.blog-post-title {
    font-weight: 700;
}

.blog-post-meta {
    font-size: 0.875rem;
}

.blog-post-content {
    line-height: 1.8;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.tutorial-content img,
.tutorial-content figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
}

.tutorial-content figure {
    margin: 1.5rem 0;
}

.blog-post-content h2, .blog-post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Download details */
.download-instructions {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

/* Footer */
.site-footer {
    background-color: #0b6b3a;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}


/* Responsive */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-section, .news-card, .download-card, .feature-card {
    animation: fadeIn 0.6s ease-out;
}
