/* ========================================
   Blog Page Styles — Double Coat Painting
   Matches existing design system:
   Primary: #2cabf5 | Title: #15233d
   Fonts: Abel (body), Roboto Condensed (headings)
   ======================================== */
.site-content {
     padding-bottom:0px;
}

/* ---- Blog Archive Column ---- */
.blog-archive.col-md-9 {
    padding-right: 35px;
}

/* ---- Post Card ---- */
.blog-content.layout-grid article .post-content {
    border: 1px solid #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    margin-bottom: 30px;
    background: #fff;
}

.blog-content.layout-grid article .post-content:hover {
    border-color: #2cabf5;
    box-shadow: 0 8px 28px rgba(44, 171, 245, 0.13);
}

/* ---- Post Media / Image Placeholder ---- */
.blog-content.layout-grid article .post-media {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-img-placeholder {
    width: 100%;
    height: 220px;
    transition: transform 0.4s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-content.layout-grid article .post-content:hover .blog-img-placeholder {
    transform: scale(1.06);
    opacity: 0.88;
}

/* Gradient colour fills — painting-themed palettes */
.blog-img-color1 {
    background: linear-gradient(135deg, #2cabf5 0%, #15233d 100%);
}
.blog-img-color2 {
    background: linear-gradient(135deg, #f7b200 0%, #e06b00 100%);
}
.blog-img-color3 {
    background: linear-gradient(135deg, #3ecfae 0%, #2282ba 100%);
}
.blog-img-color4 {
    background: linear-gradient(135deg, #e94e4e 0%, #8b1a1a 100%);
}
.blog-img-color5 {
    background: linear-gradient(135deg, #9b59b6 0%, #2c3e50 100%);
}
.blog-img-color6 {
    background: linear-gradient(135deg, #27ae60 0%, #15233d 100%);
}

/* Paint-roller decorative icon inside placeholder */
.blog-img-placeholder::after {
    content: '\f1fc'; /* Font Awesome paint-brush */
    font-family: FontAwesome;
    font-size: 52px;
    color: rgba(255, 255, 255, 0.25);
    position: absolute;
}

/* ---- Category Label Badge ---- */
.post-cat-label {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background-color: #2cabf5;
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 2px;
    z-index: 2;
    pointer-events: none;
}

/* ---- Post Summary ---- */
.blog-content.layout-grid article .post-summary {
    padding: 22px 24px 28px;
}

/* ---- Post Meta ---- */
.blog-content.layout-grid .post-meta {
    margin: 0 0 10px;
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    text-transform: uppercase;
    font-size: 12px;
    color: #aaa;
    letter-spacing: 0.5px;
}

.blog-content.layout-grid .post-meta li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-content.layout-grid .post-meta li i {
    color: #2cabf5;
    font-size: 12px;
}

/* ---- Post Title ---- */
.blog-content.layout-grid .post-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 12px;
    line-height: 1.35;
    color: #15233d;
}

.blog-content.layout-grid .post-title a {
    color: #15233d;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-content.layout-grid .post-title a:hover {
    color: #2cabf5;
}

/* ---- Post Description ---- */
.blog-content.layout-grid article .post-description {
    font-size: 15px;
    color: #8a8a8a;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ---- Read More Button ---- */
.blog-content.layout-grid article a.read-more {
    display: inline-block;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #2cabf5;
    border: 1px solid #2cabf5;
    border-radius: 30px;
    padding: 0 26px;
    height: 36px;
    line-height: 34px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.blog-content.layout-grid article a.read-more:hover {
    background-color: #2cabf5;
    color: #fff;
}

/* ---- Pagination ---- */
.blog-pagination-wrapper {
    margin-top: 30px;
    text-align: center;
}

.loop-pagination {
    margin: 0;
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.loop-pagination li a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(197, 197, 197, 0.5);
    color: #8a8a8a;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Roboto Condensed', sans-serif;
}

.loop-pagination li.active a,
.loop-pagination li a:hover {
    background-color: #2cabf5;
    border-color: #2cabf5;
    color: #fff;
}

.loop-pagination li.pagination-next a {
    background: #f7f7f7;
}

/* ============================
   SIDEBAR
   ============================ */

/* ---- Search Widget ---- */
.widget-area .wd-search form {
    position: relative;
}

.widget-area .wd-search input[type="search"] {
    width: 100%;
    height: 42px;
    line-height: 42px;
    padding: 0 46px 0 18px;
    border-radius: 22px;
    border: 1px solid #e6e6e6;
    font-size: 15px;
    color: #8a8a8a;
    font-family: Abel, sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.widget-area .wd-search input[type="search"]:focus {
    border-color: #2cabf5;
}

.widget-area .wd-search button {
    position: absolute;
    top: 0;
    right: 6px;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    font-size: 16px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s;
}

.widget-area .wd-search button:hover {
    color: #2cabf5;
}

/* ---- Categories Widget ---- */
.wd-categories {
    padding: 24px 22px;
    background-color: #fafafa;
    border-radius: 3px;
}

.wd-categories ul {
    margin: 0;
    list-style: none;
    padding: 0;
}

.wd-categories ul li {
    padding: 11px 0 11px 8px;
    border-bottom: 1px dashed #e7e7e7;
    line-height: 1.4;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wd-categories ul li:last-child {
    border-bottom: none;
}

.wd-categories ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8a8a8a;
    text-decoration: none;
    transition: color 0.3s;
    flex: 1;
}

.wd-categories ul li a i {
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s;
    color: #2cabf5;
}

.wd-categories ul li a:hover i,
.wd-categories ul li.active a i {
    opacity: 1;
    margin-right: 2px;
}

.wd-categories ul li.active a,
.wd-categories ul li a:hover {
    color: #2cabf5;
}

.cat-count {
    font-size: 12px;
    color: #bbb;
    margin-left: auto;
    font-family: 'Roboto Condensed', sans-serif;
}

/* ---- Recent Posts Widget ---- */
.wd-recent-post .post {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #eee;
}

.wd-recent-post .post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wd-recent-post .post-image {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 3px;
    overflow: hidden;
}

.recent-thumb {
    width: 72px;
    height: 72px;
    border-radius: 3px;
    transition: opacity 0.3s;
}

.recent-thumb-1 { background: linear-gradient(135deg, #2cabf5, #15233d); }
.recent-thumb-2 { background: linear-gradient(135deg, #f7b200, #e06b00); }
.recent-thumb-3 { background: linear-gradient(135deg, #9b59b6, #2c3e50); }

.wd-recent-post .post-image a:hover .recent-thumb {
    opacity: 0.8;
}

.wd-recent-post .post-content {
    flex: 1;
}

.wd-recent-post .post-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.35;
    margin: 0 0 5px;
}

.wd-recent-post .post-title a {
    color: #15233d;
    text-decoration: none;
    transition: color 0.3s;
}

.wd-recent-post .post-title a:hover {
    color: #2cabf5;
}

.wd-recent-post .post-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: flex;
    gap: 4px;
    align-items: center;
}

.wd-recent-post .post-meta li i {
    color: #2cabf5;
    margin-right: 4px;
    font-size: 11px;
}

/* ---- CTA Widget ---- */
.blog-cta-box {
    background: linear-gradient(145deg, #15233d 0%, #1a3a6e 100%);
    border-radius: 4px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-cta-box::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(44, 171, 245, 0.12);
    pointer-events: none;
}

.blog-cta-icon {
    font-size: 36px;
    color: #2cabf5;
    margin-bottom: 14px;
    display: block;
}

.blog-cta-box h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0 0 10px;
    line-height: 1.3;
}

.blog-cta-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.55;
}

.blog-cta-btn {
    display: inline-block;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: #2cabf5;
    color: #fff !important;
    border: 1px solid #2cabf5;
    border-radius: 30px;
    padding: 0 28px;
    height: 38px;
    line-height: 36px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-cta-btn:hover {
    background-color: transparent;
    border-color: #fff;
    color: #fff !important;
}

/* ---- Tags Widget ---- */
.wd-tags ul {
    margin: 0;
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wd-tags ul li a {
    display: inline-block;
    font-size: 13px;
    padding: 5px 16px;
    border-radius: 4px;
    border: 1px solid #e6e6e6;
    color: #8a8a8a;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.4px;
}

.wd-tags ul li a:hover {
    background-color: #2cabf5;
    border-color: #2cabf5;
    color: #fff;
}

/* ---- Widget Title ---- */
.wd-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #15233d;
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.wd-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background-color: #2cabf5;
    border-radius: 2px;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 991px) {
    .blog-archive.col-md-9 {
        padding-right: 15px;
    }
}

@media (max-width: 767px) {
    .blog-archive.col-md-9,
    #blog-sidebar {
        width: 100%;
        float: none;
        padding-right: 15px;
        padding-left: 15px;
    }

    #blog-sidebar {
        margin-top: 40px;
    }

    .blog-content.layout-grid article .post-content {
        margin-bottom: 24px;
    }

    .blog-img-placeholder {
        height: 200px;
    }

    .blog-content.layout-grid article .post-media {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .blog-content.layout-grid .post-title {
        font-size: 16px;
    }

    .blog-content.layout-grid article .post-description {
        font-size: 14px;
    }

    .blog-cta-box {
        padding: 24px 18px;
    }
}
