
:root {
    --blog-primary: #1a1a2e;
    --blog-secondary: #333333;
    --blog-accent: #E61E15;
    --blog-blue: #0066cc;
    --blog-green: #28a745;
    --blog-light: #f8f9fa;
    --blog-gray: #6c757d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--blog-light);
    color: var(--blog-secondary);
}

/* Blog Header Banner */
.blog-header-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.blog-header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="15" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    background-size: 300px;
    opacity: 0.3;
}

.blog-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.blog-header-title {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.blog-header-keywords {
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
    margin-top: 20px;
    letter-spacing: 3px;
}

/* Breadcrumb */
.blog-breadcrumb {
    background-color: #e9ecef;
    padding: 12px 0;
}

.blog-breadcrumb .breadcrumb {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.blog-breadcrumb a {
    color: var(--blog-secondary);
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    color: var(--blog-accent);
}

/* Main Content */
.blog-main-content {
    padding: 40px 0;
}

.blog-article-header {
    border-bottom: 2px solid var(--blog-accent);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.blog-article-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--blog-secondary);
    line-height: 1.3;
    margin-bottom: 20px;
}

.blog-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.blog-publish-date {
    color: var(--blog-gray);
    font-size: 0.95rem;
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-share-label {
    font-weight: 600;
    color: var(--blog-secondary);
}

.blog-share-icons {
    display: flex;
    gap: 8px;
}

.blog-share-icons a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.blog-share-icons a:hover {
    transform: translateY(-3px);
}

.blog-share-facebook { background: #3b5998; }
.blog-share-twitter { background: #1da1f2; }
.blog-share-linkedin { background: #0077b5; }
.blog-share-pinterest { background: #bd081c; }
.blog-share-wechat { background: #07c160; }
.blog-share-email { background: var(--blog-secondary); }

/* Article Text */
.blog-article-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--blog-secondary);
    margin-bottom: 30px;
    text-align: justify;
}

.blog-article-text p {
    margin-bottom: 20px;
}

/* Article Images Grid */
.blog-article-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.blog-article-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

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

.blog-article-image.captioned::after {
    content: attr(data-caption);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 15px 15px;
    font-size: 0.85rem;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    margin: 30px 0;
}

.blog-pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    color: var(--blog-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.blog-pagination-btn:hover {
    background: var(--blog-accent);
    color: white;
    border-color: var(--blog-accent);
}

.blog-pagination-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Related News */
.blog-related-section {
    margin-top: 40px;
}

.blog-related-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blog-secondary);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--blog-accent);
    display: inline-block;
}

.blog-related-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.blog-related-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-related-card-image {
    overflow: hidden;
}

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

.blog-related-card-body {
    padding: 20px;
}

.blog-related-card-date {
    color: var(--blog-gray);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.blog-related-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--blog-secondary);
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-related-card-title a{
    color: var(--blog-secondary);
    text-decoration: none;
}
.blog-related-card-desc {
    color: var(--blog-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-related-card-link {
    color: var(--blog-accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-related-card-link:hover {
    text-decoration: underline;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 20px;
}

.blog-sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.blog-sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blog-secondary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blog-accent);
}

.blog-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-category-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.blog-category-list li:last-child {
    border-bottom: none;
}

.blog-category-list a {
    color: var(--blog-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.blog-category-list a::before {
    content: '\2022';
    color: var(--blog-accent);
    font-weight: bold;
}

.blog-category-list a:hover {
    color: var(--blog-accent);
}

.blog-category-list li.active a {
    color: var(--blog-accent);
    font-weight: 600;
}

/* Enquiry Form */
.blog-enquiry-form {
    background: var(--blog-primary);
    border-radius: 10px;
    padding: 25px;
}

.blog-enquiry-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.blog-form-group {
    margin-bottom: 15px;
}

.blog-form-label {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.blog-form-input,
.blog-form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background: rgba(255,255,255,0.95);
    font-size: 0.9rem;
    transition: box-shadow 0.3s ease;
}

.blog-form-input:focus,
.blog-form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,102,0,0.3);
}

.blog-form-textarea {
    min-height: 100px;
    resize: vertical;
}

.blog-form-required {
    color: #ff4444;
}

.blog-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--blog-accent);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.blog-submit-btn:hover {
    background: #e55a00;
    transform: translateY(-2px);
}

/* Footer Contact Section */
.blog-footer-contact {
    background: var(--blog-accent);
    padding: 50px 0;
    margin-top: 60px;
}

.blog-footer-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.blog-footer-form {
    max-width: 800px;
    margin: 0 auto;
}

.blog-footer-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.blog-footer-input {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
}

.blog-footer-textarea {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 5px;
    min-height: 100px;
    resize: vertical;
    margin-bottom: 15px;
}

.blog-footer-submit {
    text-align: center;
}

.blog-footer-submit-btn {
    padding: 14px 50px;
    background: var(--blog-primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.blog-footer-submit-btn:hover {
    background: #0f0f1a;
}

/* Footer Bottom */
.blog-footer-bottom {
    background: var(--blog-primary);
    padding: 25px 0;
}

.blog-footer-copyright {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-header-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .blog-article-title {
        font-size: 1.5rem;
    }
    .blog-article-text img{width:100%;height:auto;}
    .blog-article-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-pagination {
        flex-direction: column;
        gap: 15px;
    }

    .blog-pagination-btn {
        width: 100%;
        justify-content: center;
    }

    .blog-sidebar {
        position: static;
        margin-top: 40px;
    }
}

/* Image Placeholder Styles */
.blog-image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}
