/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Jan 19, 2026, 3:22:06 AM
    Author     : aoham
*/

body {
    font-family: "Inter Tight", sans-serif !important;
 

}
.container-b {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Featured Card Styles */
.featured-card {
    background: #fff;
    display: flex;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    padding: 10px;
    box-shadow: 
        0 14px 40px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1.5px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(to bottom, rgba(0, 186, 255, 1), rgba(0, 186, 255, 0.15), rgba(0, 186, 255, 0)) border-box;
}


.featured-image {
    flex: 1.1;
    
}

.featured-content a h1:hover{
 color: #007BFF;   
}

.featured-image img {
    width: 100%;
    height: 300px;
    border-radius: 20px;
      object-fit: cover;
}

.featured-content {
    flex: 1.1;
    padding-left: 30px;
}

.badge {
    background: #e1f5fe;
    color: #0288d1;
    padding: 15px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.featured-content h1 {
    font-size: 1.8rem;
    margin: 10px 0;
    font-weight: 700;
     color: rgb(90, 90, 90);
    line-height: 1.2;
}

.meta {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 20px;
    align-items: center;
}

.meta span {
    margin-right: 15px;
}

.meta i {
    width: 14px;
    height: 14px;
    color: #0819c8;
    margin-right: 6px;
    margin-top: -15px;
}

.featured-content p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Grid Layout */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.post-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    padding: 10px;
    padding-bottom: 20px;

    border: 1.5px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(to bottom, rgba(0, 186, 255, 1), rgba(0, 186, 255, 0.15), rgba(0, 186, 255, 0)) border-box;
    box-shadow: 
        0 14px 40px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.04);
}



.post-card:hover {
    transform: none;
}

.post-card img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
}

.post-info {
    padding: 10px;
    padding-left: 0px;
}

.post-info h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 3em; /* keeps titles aligned */
     color: rgb(90, 90, 90);
}

.post-info a h3:hover{
 color: #007BFF;   
}

.read-more {
    display: inline-flex !important;
    align-items: center;
    color: #007BFF;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 6px;
    
    /* FORCE THE BROWSER TO IGNORE LAYOUT CHANGES */
    white-space: nowrap;
    
    /* THE FIX: Create a dedicated rendering layer for the text */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0); 
    backface-visibility: hidden;
    perspective: 1000px;
    
    /* Ensure only the color and underline animate, NOT the size/position */
    transition: color 0.3s ease;
}

/* Force the parent card NOT to affect this link's scale */
.post-card:hover .read-more,
.read-more:hover {
    transform: translateZ(0) scale(1) !important;
    font-size: 17px !important;
}

.read-more::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #007BFF, #00C6FF);
    /* Animate ONLY the width of the bar */
    transition: width 0.3s ease-in-out;
    /* Keeps the line from 'pushing' the text */
    pointer-events: none; 
}

.read-more:hover::after {
    width: 100%;
}

.read-more i {
    font-size: 14px;
    margin-left: 8px;
    margin-top: -3px;
    color: #007BFF;
    opacity: 0.85;
}


/* Responsive Tweaks */
@media (max-width: 900px) {
    .featured-card {
        flex-direction: column;
        padding: 10px;
        padding-bottom: 20px;
    }
    .featured-content {
        padding-left: 0;
        margin-top: 20px;
    }
    
    .container-b {
        padding: 20px;
    }
    
    .featured-content h1 {
    font-size: 1.2rem;
   
}
.featured-image img {
        height: 200px;
        border-radius: 10px;
        width: 100%;
    }
}









.main-wrapper {
                max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
            display: grid;
            grid-template-columns: 2fr 1fr; /* 2 parts content, 1 part sidebar */
            gap: 40px;
        }

        /* --- Content Area --- */
       .featured-image-d {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 32px;

    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.10),
        0 4px 12px rgba(0, 0, 0, 0.05);
}


        .post-title {
            font-size: 2.0rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .post-date {
            color: rgb(0, 186, 255);
            font-weight: 500;
            margin-bottom: 25px;
            font-size: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .article-text p {
             margin-top: 20px;
     font-size: 16px;
    color: rgb(90, 90, 90);
    line-height: 24px;
    text-align: left;
        }

        /* --- Sidebar General --- */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .sidebar-widget {
            padding: 30px;
            border: 1px solid #eee;
            border-radius: 25px;
            box-shadow: none;
        }

        .widget-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 20px;
        }

        .widget-title span {
            color: #00b4ff;
        }

        /* --- Widget 1: Newsletter --- */
        .newsletter-form .input-group {
            position: relative;
            margin-bottom: 15px;
        }

        .newsletter-form i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #2e3192;
        }

        .newsletter-form input {
            width: 100%;
            padding: 12px 12px 12px 45px;
            border: 1px solid #ddd;
            border-radius: 12px;
            outline: none;
        }

        .subscribe-btn {
            width: 100%;
            background: #00b4ff;
            color: white;
            border: none;
            padding: 15px;
            border-radius: 50px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        /* --- Widget 2: Table of Contents --- */
        .toc-list {
            list-style: none;
        }

        .toc-list li {
            padding: 8px 0;
            color: #666;
            cursor: pointer;
            transition: color 0.2s;
        }

        .toc-list li:hover {
            color: #00b4ff;
        }

        /* --- Widget 3: I'm Looking For --- */
        .looking-for-list {
            list-style: none;
        }

        .looking-for-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px 0;
            border-bottom: 1px solid #f0f0f0;
            color: #555;
            font-weight: 500;
        }

        .looking-for-item:last-child {
            border-bottom: none;
        }

        .looking-for-item i {
            color: #00b4ff;
            font-size: 1.2rem;
            width: 25px;
            text-align: center;
        }

        /* --- Widget 4: Categories (Blue Background) --- */
        .categories-widget {
            background-color: #f0faff; /* Light blue tint */
            border: none;
        }
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.category-item a {
    display: flex;
    align-items: center; /* vertical alignment fix */
    gap: 8px;
    padding: 8px 0;
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.category-item a:hover {
    color: #0077ff;
    transform: translateX(3px);
}

.category-item i {
    font-size: 1.1rem;
    color: #00b4ff;
    line-height: 1; /* icon alignment fix */
    display: flex;
    align-items: center;
}


        /* --- Responsive --- */
        @media (max-width: 992px) {
            .main-wrapper {
                grid-template-columns: 1fr;
            }
            .main-wrapper {
                padding: 20px;
                padding-top: 10px !important;
            }
            
             .featured-image-d {
                 height: 220px;
             }
             
             .post-title {
            font-size: 1.4rem;
            
             }
        }
        
        /* --- Popular Posts Widget --- */
.popular-posts {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 25px;
    padding: 30px;
    margin-bottom: 30px;
}

.popular-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.popular-post-item:last-child {
    margin-bottom: 0;
}

.popular-post-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.popular-post-info h4 {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #333;
}

.read-more-link {
    color: #c97d3a; /* Brownish-orange color from screenshot */
    text-decoration: underline;
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- Explore Our Solutions Banner --- */
.solutions-banner {
    background: linear-gradient(135deg, #001a3d 0%, #003366 100%);
    /* Note: Add a background-image here if you have the circular pattern graphic */
    background-size: cover;
    padding: 40px 30px;
    border-radius: 25px;
    color: #fff;
    text-align: left;
}

.solutions-banner h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.solutions-banner p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
    color: rgb(255, 255, 255);
}

.solutions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #00b4ff;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.solutions-btn:hover {
    transform: scale(1.03);
}


.button-wrapper {
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center */
    height: 20vh;           /* full container height */
   
  }

  .load-more-btn {
    background: linear-gradient(135deg, #6C63FF, #42A5F5);
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
  }

  .load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.25);
    background: linear-gradient(135deg, #42A5F5, #6C63FF);
  }

  .load-more-btn:active {
    transform: translateY(1px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.2);
  }
  
  
  .skeleton.hidden {
  display: none;
 
}

.loading #postGrid {
  opacity: 0.4;
  pointer-events: none;
}


.skeleton-card {
  height: 320px;
  background: linear-gradient(90deg, #e9e9e9 25%, #f5f5f5 50%, #e9e9e9 75%);
  background-size: 300% 100%;
  animation: shimmer 1.2s infinite linear;
  border-radius: 12px;
   margin-top: 15px;
}


@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}



.fade-in {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 0.4s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ============================= */
/* BLOG EDITOR CONTENT STYLING */
/* ============================= */

.editor-content {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  max-width: 900px;
}

/* Headings */
.editor-content h1 {
  font-size: 32px;
  margin: 25px 0 15px;
  font-weight: 700;
}

.editor-content h2 {
  font-size: 26px;
  margin: 22px 0 12px;
  font-weight: 600;
}

.editor-content h3 {
  font-size: 22px;
  margin: 18px 0 10px;
  font-weight: 600;
}

.editor-content h4 {
  font-size: 18px;
  margin: 15px 0 8px;
  
}

/* Paragraph */
.editor-content p {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 500;
}

/* Lists */
.editor-content ul,
.editor-content ol {
  margin: 15px 0 20px 25px;
  padding-left: 15px;
}

.editor-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Blockquote */
.editor-content blockquote {
  margin: 20px 0;
  padding: 15px 20px;
  background: #f7f7f7;
  border-left: 5px solid #111;
  font-style: italic;
}

/* Images */
.editor-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
}

/* Links */
.editor-content a {
  color: #0066ff;
  font-weight: 500;
  text-decoration: underline;
  font-size: 16px;
}

.editor-content a:hover {
  text-decoration: none;
}

/* Code blocks */
.editor-content pre {
  background: #111;
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
}

.editor-content code {
  background: #f2f2f2;
  padding: 3px 6px;
  border-radius: 4px;
}

/* Tables */
.editor-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.editor-content th,
.editor-content td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

/* Horizontal rule */
.editor-content hr {
  margin: 25px 0;
  border: none;
  height: 1px;
  background: #ddd;
}



.toc-list {
  list-style: none;
  padding-left: 0;
}

.toc-list li {
  margin-bottom: 8px;
}

.toc-list a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: 0.2s ease;
}

.toc-list a:hover {
  color: #0066ff;
  padding-left: 6px;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}



.toc-list a.active {
  color: #0066ff;
  font-weight: 600;
}
