/**
 * Blog page CSS – all rules scoped under .blog-page-wrapper.
 * Used by app/Views/blog/index.php and app/Views/blog/view.php.
 * Classes/structures from blog_old/index and blog_old/view.
 */
.blog-page-wrapper {
    position: relative;
    display: block;
    background: #ffffff;
}

/* ---------- Blog index (listing) ---------- */
.blog-page-wrapper .blog-style1-area {
    position: relative;
    display: block;
    background: #ffffff;
    padding: 90px 0 0;
    z-index: 1;
}

.blog-page-wrapper .single-blog-style1 {
    position: relative;
    display: block;
    background: #ffffff;
    z-index: 1;
}
.blog-page-wrapper .single-blog-style1 .img-holder {
    position: relative;
    display: block;
}
.blog-page-wrapper .single-blog-style1 .img-holder .inner {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
}
.blog-page-wrapper .single-blog-style1 .img-holder .inner::before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: '';
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, .4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 1;
}
.blog-page-wrapper .single-blog-style1:hover .img-holder .inner::before {
    animation: circle .95s;
}

.blog-page-wrapper .single-blog-style1 .img-holder .inner .date-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 119px;
    height: 113px;
    z-index: 2;
}
.blog-page-wrapper .single-blog-style1 .img-holder .inner .date-box .shape-bg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
}
.blog-page-wrapper .single-blog-style1 .img-holder .inner .date-box h5 {
    position: relative;
    top: 24px;
    right: -22px;
    color: #ffffff;
    font-size: 16px;
    line-height: 26px;
    font-weight: 600;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-page-wrapper .single-blog-style1 .img-holder img {
    width: 100%;
    transform: scale(1);
}
.blog-page-wrapper .single-blog-style1:hover .img-holder img {
    transform: scale(1.2) rotate(1deg);
}

.blog-page-wrapper .single-blog-style1 .text-holder {
    position: relative;
    display: block;
    padding: 23px 0 0;
}
.blog-page-wrapper .single-blog-style1 .text-holder .blog-title {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 15px;
}
.blog-page-wrapper .single-blog-style1 .text-holder .blog-title a {
    color: var(--thm-black, #252628);
    transition: all 200ms linear;
}
.blog-page-wrapper .single-blog-style1 .text-holder .blog-title a:hover {
    color: var(--thm-base, #ed202b);
}
.blog-page-wrapper .single-blog-style1 .text-holder .text {
    position: relative;
    display: block;
}
.blog-page-wrapper .single-blog-style1 .text-holder .text p {
    margin: 0;
}

/* ---------- Blog view (single post) ---------- */
.blog-page-wrapper .blog-details-page {
    position: relative;
    display: block;
    background: #ffffff;
    z-index: 1;
}
.blog-page-wrapper .section-space {
    padding: 80px 0 100px;
}
.blog-page-wrapper .small-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}
.blog-page-wrapper .blog-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 0;
}
.blog-page-wrapper .blog-thumb.w-img img,
.blog-page-wrapper .w-img img {
    width: 100%;
    display: block;
}
.blog-page-wrapper .blog-post-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #6c757d;
}
.blog-page-wrapper .blog-post-meta li a {
    color: inherit;
}
.blog-page-wrapper .blog-post-meta i {
    margin-right: 6px;
}

.blog-page-wrapper .blog-single-title {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: #252628;
    margin: 0px 0 16px;
}

/* Utility spacing used in blog view */
.blog-page-wrapper .mt-25 { margin-top: 25px; }
.blog-page-wrapper .mb-30 { margin-bottom: 30px; }
.blog-page-wrapper .mb-20 { margin-bottom: 20px; }
.blog-page-wrapper .mt-40 { margin-top: 40px; }
.blog-page-wrapper .mb-40 { margin-bottom: 40px; }
.blog-page-wrapper .mt-60 { margin-top: 60px; }
.blog-page-wrapper .mb-50 { margin-bottom: 50px; }
.blog-page-wrapper .h2-size {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: #252628;
}

/* Blog details content blocks (from blog-section) */
.blog-page-wrapper .blog-details-area {
    position: relative;
    display: block;
    background: #ffffff;
    padding: 110px 0;
    z-index: 1;
}
.blog-page-wrapper .blog-details-content {
    position: relative;
    display: block;
}
.blog-page-wrapper .blog-details-text1,
.blog-page-wrapper .blog-details-text2,
.blog-page-wrapper .blog-details-text3,
.blog-page-wrapper .blog-details-text4,
.blog-page-wrapper .blog-details-text5,
.blog-page-wrapper .blog-details-text6 {
    position: relative;
    display: block;
}
.blog-page-wrapper .blog-details-text2 { padding: 10px 0 8px; }
.blog-page-wrapper .blog-details-text4 { padding-top: 10px; }
.blog-page-wrapper .blog-details-text5 { padding-top: 10px; padding-bottom: 36px; }
.blog-page-wrapper .blog-details-text6 { padding-top: 23px; }
.blog-page-wrapper .blog-details-image-box .single-box img,
.blog-page-wrapper .blog-details-image-box .single-box {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
}
.blog-page-wrapper .blog-details-image-box .single-box img { width: 100%; }

/* Comment form (postbox) */
.blog-page-wrapper .postbox__comment-form {
    position: relative;
    display: block;
    margin-top: 60px;
}
.blog-page-wrapper .postbox__comment-form-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #252628;
}
.blog-page-wrapper .postbox__comment-input {
    margin-bottom: 20px;
}
.blog-page-wrapper .postbox__comment-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #252628;
}
.blog-page-wrapper .postbox__comment-input input,
.blog-page-wrapper .postbox__comment-input textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    font-size: 15px;
}
.blog-page-wrapper .postbox__comment-input textarea {
    min-height: 120px;
    resize: vertical;
}
.blog-page-wrapper .postbox__comment-btn {
    margin-top: 20px;
}
.blog-page-wrapper .primary-btn-1.btn-hover {
    display: inline-block;
    padding: 14px 35px;
    background: var(--thm-base, #ed202b);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.blog-page-wrapper .primary-btn-1.btn-hover:hover {
    opacity: 0.9;
}

/* Social links */
.blog-page-wrapper .blog-details-social-links {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 36px;
}
.blog-page-wrapper .post-social-link ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}
.blog-page-wrapper .post-social-link ul li a {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 48px;
    text-align: center;
    border: 1px solid #e6e6e6;
    border-radius: 50%;
    color: #93959e;
    transition: all 200ms linear;
}
.blog-page-wrapper .post-social-link ul li a:hover {
    color: #fff;
    border-color: var(--thm-base, #ed202b);
    background: var(--thm-base, #ed202b);
}

/* ---------- CTA (from blog_old) ---------- */
.blog-page-wrapper .blog-cta-inline-section {
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    margin-bottom: 40px;
}
.blog-page-wrapper .blog-cta-inline-inner {
    background: linear-gradient(135deg, var(--thm-base, #ed202b) 0%, #c41a1f 100%);
    border-radius: 15px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(237, 32, 43, 0.3);
}
.blog-page-wrapper .blog-cta-inline-inner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.blog-page-wrapper .blog-cta-inline-inner::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.blog-page-wrapper .blog-cta-inline-content {
    position: relative;
    z-index: 1;
}
.blog-page-wrapper .blog-cta-inline-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 12px 25px;
    border-radius: 30px;
    margin-bottom: 20px;
}
.blog-page-wrapper .blog-cta-inline-badge i {
    color: #fff;
    font-size: 20px;
    margin-right: 8px;
}
.blog-page-wrapper .blog-cta-inline-badge span {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}
.blog-page-wrapper .blog-cta-inline-title {
    color: #fff;
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.blog-page-wrapper .blog-cta-inline-desc {
    color: rgba(255,255,255,0.95);
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 28px;
}
.blog-page-wrapper .blog-cta-inline-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #fff;
    color: var(--thm-base, #ed202b);
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.blog-page-wrapper .blog-cta-inline-btn:hover {
    background: rgba(255,255,255,0.9);
    color: var(--thm-base, #ed202b);
}

/* ---------- FAQ (from blog_old) ---------- */
.blog-page-wrapper .blog-faq-inline-section {
    margin-top: 30px;
    margin-bottom: 40px;
}
.blog-page-wrapper .blog-faq-inline-heading {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    color: var(--thm-black, #252628);
    margin-bottom: 24px;
}
.blog-page-wrapper .blog-faq-inline-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--thm-base, #ed202b);
}
.blog-page-wrapper .blog-faq-inline-item:last-child {
    margin-bottom: 0;
}
.blog-page-wrapper .blog-faq-inline-item .faq-inner {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.blog-page-wrapper .blog-faq-inline-item .faq-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(237, 32, 43, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--thm-base, #ed202b);
    font-weight: 700;
    font-size: 16px;
}
.blog-page-wrapper .blog-faq-inline-item .faq-body {
    flex: 1;
}
.blog-page-wrapper .blog-faq-inline-item .faq-question {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--thm-black, #252628);
    font-weight: 700;
    line-height: 26px;
}
.blog-page-wrapper .blog-faq-inline-item .faq-answer {
    margin: 0;
    color: var(--thm-gray, #6c757d);
    line-height: 26px;
    font-size: 15px;
}
.blog-page-wrapper h2{
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    text-transform: capitalize;
    font-family: var(--thm-font-2);
    margin-bottom: 10px;
}


/* ===============================
   PRO TIP BLOCKQUOTE (GLOBAL)
   Scope: .blog-page-wrapper
================================ */

.blog-page-wrapper blockquote {
    position: relative;
    margin: 50px 0 40px;
    padding: 35px 40px 35px 120px;

    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
    border-left: 5px solid var(--thm-base);
    border-radius: 10px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* ICON CIRCLE */
.blog-page-wrapper blockquote::before {
    content: "★"; /* icon */
    position: absolute;
    left: 35px;
    top: 35px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--thm-base);
    color: #ffffff;

    font-size: 28px;
    font-weight: 700;

    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(237, 32, 43, 0.3);
}

/* TITLE */
.blog-page-wrapper blockquote strong,
.blog-page-wrapper blockquote b {
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: var(--thm-base);
    margin-bottom: 12px;
}

/* TEXT */
.blog-page-wrapper blockquote,
.blog-page-wrapper blockquote p {
    font-size: 16px;
    line-height: 1.7;
    color: #151515;
}

/* MOBILE */
@media (max-width: 768px) {
    .blog-page-wrapper blockquote {
        padding: 28px 25px 28px 95px;
    }

    .blog-page-wrapper blockquote::before {
        width: 50px;
        height: 50px;
        font-size: 24px;
        left: 25px;
        top: 28px;
    }
}
/* Suggested Reads / Related Posts box */
.blog-suggested-reads {
    position: relative;
    display: block;
    background: rgba(var(--thm-base-rgb), 0.04);
    border-radius: 10px;
    padding: 18px 24px 18px 28px;
    border-left: 5px solid var(--thm-base);
    margin: 30px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.blog-suggested-reads .suggested-label {
    color: var(--thm-black);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--thm-font-2);
}

.blog-suggested-reads .suggested-link {
    color: var(--thm-base);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--thm-font-2);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-suggested-reads .suggested-link:hover {
    color: #c41a1f;
}


/* Areas We Serve / Location grid container */
.blog-page-wrapper .blog-areas-box {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    margin: 30px 0 40px;
}

.blog-page-wrapper .blog-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.blog-page-wrapper .blog-areas-item {
    background: linear-gradient(135deg, rgba(var(--thm-base-rgb), 0.05) 0%, rgba(var(--thm-base-rgb), 0.1) 100%);
    padding: 12px 18px;
    border-radius: 8px;
    border-left: 3px solid var(--thm-base);
    transition: all 0.3s ease;
}

.blog-page-wrapper .blog-areas-item span {
    color: var(--thm-black);
    font-weight: 600;
    font-size: 15px;
}

.blog-page-wrapper .blog-areas-item:hover {
    background: linear-gradient(135deg, rgba(var(--thm-base-rgb), 0.08) 0%, rgba(var(--thm-base-rgb), 0.15) 100%);
}