/* Collins Ghostwriting â€” premium blog (listing + single)
   Scoped to WordPress blog templates only. */

body.page-template-blog,
body.single-post,
body.archive,
body.category,
body.blog {
    background: #f6f1e8;
}

body.page-template-blog footer,
body.single-post footer,
body.archive footer,
body.category footer,
body.blog footer {
    background-image: none !important;
    background:
            radial-gradient(900px 480px at 6% -10%, rgba(0, 153, 109, 0.2), transparent 58%),
            radial-gradient(720px 420px at 100% 110%, rgba(0, 196, 138, 0.1), transparent 56%),
            linear-gradient(180deg, #0d1c18 0%, #142722 46%, #0b1613 100%) !important;
    color: rgba(244, 238, 228, 0.78);
    padding: 48px 0 0;
    position: relative;
    overflow: hidden;
}

body.page-template-blog .mcontainer,
body.single-post .mcontainer {
    background:
            radial-gradient(720px 380px at 12% 0%, rgba(0, 153, 109, 0.08), transparent 58%),
            linear-gradient(180deg, #f7f3ea 0%, #eef6f1 48%, #f3efe4 100%);
}

body.page-template-blog,
body.page-template-blog p,
body.page-template-blog li,
body.single-post,
body.single-post p,
body.single-post li {
    font-family: Poppins, sans-serif !important;
    font-style: normal !important;
}

body.page-template-blog h1,
body.page-template-blog h2,
body.page-template-blog h3,
body.page-template-blog h4,
body.page-template-blog h5,
body.page-template-blog h6,
body.single-post h1,
body.single-post h2,
body.single-post h3,
body.single-post h4,
body.single-post h5,
body.single-post h6 {
    font-family: Arsenal, sans-serif !important;
    font-style: normal !important;
    font-weight: 700;
}

/* ----- Inner banner ----- */
body.page-template-blog .banner.inner-bann,
body.single-post .banner.inner-bann {
    position: relative;
    text-align: center !important;
    padding: 72px 0 64px !important;
    min-height: 0 !important;
    background:
            radial-gradient(620px 280px at 50% 0%, rgba(0, 196, 138, 0.2), transparent 58%),
            linear-gradient(180deg, #0f2a24 0%, #16352d 48%, #102820 100%) !important;
}

body.page-template-blog .banner.inner-bann h1,
body.single-post .banner.inner-bann h1 {
    font-family: Arsenal, sans-serif !important;
    font-size: clamp(2rem, 3.4vw, 3rem) !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    color: #f4eee4 !important;
    max-width: 18em;
    margin: 0 auto !important;
    text-transform: none !important;
}

body.page-template-blog .banner.inner-bann h1::after,
body.single-post .banner.inner-bann h1::after {
    content: "";
    display: block;
    width: 72px;
    height: 2px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, transparent, #00996d, transparent);
}

body.page-template-blog .banner.inner-bann .btn-block,
body.single-post .banner.inner-bann .btn-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

body.page-template-blog .banner.inner-bann .btn,
body.single-post .banner.inner-bann .btn {
    border-radius: 999px !important;
    padding: 13px 26px !important;
    font-family: Poppins, sans-serif !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.page-template-blog .banner.inner-bann .btn-yellow,
body.single-post .banner.inner-bann .btn-yellow {
    background: linear-gradient(135deg, #00c48a, #00996d) !important;
    color: #fff !important;
    border: 0 !important;
}

body.page-template-blog .banner.inner-bann .btn-transparent,
body.single-post .banner.inner-bann .btn-transparent {
    background: transparent !important;
    color: #f4eee4 !important;
    border: 1px solid rgba(244, 238, 228, 0.35) !important;
}

/* ----- Listing ----- */
body.page-template-blog .nblog-center {
    padding: 56px 0 72px;
}

body.page-template-blog .nblog-page-full .container {
    max-width: 1180px;
}

body.page-template-blog .nblog-page-full .row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
    float: none !important;
    width: 100% !important;
}

body.page-template-blog .nblog-page-full .lt-post-line {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fffdf8;
    border: 1px solid rgba(0, 153, 109, 0.12);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(28, 43, 36, 0.06);
    display: flex;
    flex-direction: column;
}

body.page-template-blog .nblog-page-full .lt-post-line .features-image {
    float: none !important;
    width: 100% !important;
    height: 210px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}

body.page-template-blog .nblog-page-full .lt-post-line .features-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

body.page-template-blog .nblog-page-full .post-itemc {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 22px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.page-template-blog .nblog-page-full .p-cat {
    position: static !important;
    display: inline-flex !important;
    width: auto;
    margin: 0 0 12px;
    padding: 5px 12px !important;
    background: #00996d !important;
    border-radius: 999px;
    top: auto;
    left: auto;
}

body.page-template-blog .nblog-page-full .p-cat a {
    color: #fff !important;
    font-family: Poppins, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

body.page-template-blog .nblog-page-full .post-itemc h3.titles {
    font-family: Arsenal, sans-serif !important;
    font-size: 1.35rem !important;
    line-height: 1.28 !important;
    font-weight: 700 !important;
    color: #1c2b24 !important;
    margin: 0 0 10px !important;
}

body.page-template-blog .nblog-page-full .post-itemc h3.titles a,
body.page-template-blog .nblog-page-full .page-headerss > a {
    color: inherit !important;
    text-decoration: none;
}

body.page-template-blog .nblog-page-full span.author-line {
    display: block;
    color: #5a6b64 !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    margin: 0 0 18px;
}

body.page-template-blog .nblog-page-full span.author-line span {
    color: #00996d;
    font-weight: 600;
}

body.page-template-blog .nblog-page-full .post_rd_btn {
    float: none !important;
    margin-top: auto !important;
}

body.page-template-blog .nblog-page-full .post_rd_btn a {
    display: inline-flex !important;
    align-items: center;
    float: none !important;
    margin: 0 !important;
    padding: 11px 20px !important;
    background: linear-gradient(135deg, #00c48a, #00996d) !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-family: Poppins, sans-serif !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

body.page-template-blog .nblog-page-full .post_rd_btn a:hover {
    background: #1c2b24 !important;
    color: #fff !important;
}

/* ----- Pagination ----- */
body.page-template-blog .navigation {
    display: block !important;
    grid-column: 1 / -1;
    width: 100% !important;
    float: none !important;
    clear: both;
    margin: 16px 0 0 !important;
    padding: 28px 0 8px;
    text-align: center;
}

body.page-template-blog .custom_pagination {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    float: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    width: 100%;
    max-width: 100%;
}

body.page-template-blog .custom_pagination > span:not(.current):first-child {
    flex: 0 0 100%;
    float: none !important;
    background: none !important;
    color: #5a6b64 !important;
    font-family: Poppins, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500;
    padding: 0 0 10px !important;
    margin: 0 !important;
    text-align: center;
}

body.page-template-blog .custom_pagination a,
body.page-template-blog .custom_pagination span.current {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    min-width: 44px;
    height: 44px;
    margin: 0 !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    background: #fff !important;
    border: 1px solid rgba(0, 153, 109, 0.16) !important;
    color: #1c2b24 !important;
    font-family: Poppins, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.page-template-blog .custom_pagination span.current,
body.page-template-blog .custom_pagination a:hover {
    background: #00996d !important;
    border-color: #00996d !important;
    color: #fff !important;
}

/* ----- Single post ----- */
body.single-post .cs-post-page,
body.single-post .post-itemc,
body.single-post .mcontainer > .container {
    float: none !important;
    width: 100% !important;
    max-width: none;
    margin: 0 !important;
    padding: 0;
}

body.single-post .cs-post-center {
    display: flex !important;
    align-items: flex-start;
    gap: 32px;
    max-width: 1180px;
    margin: 0 auto !important;
    padding: 40px 20px 80px;
    float: none !important;
    width: auto !important;
}

body.single-post .single-single-sidebar-left {
    float: none !important;
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    background: #fffdf8;
    border: 1px solid rgba(0, 153, 109, 0.12);
    border-radius: 24px;
    padding: 36px 40px 40px;
    box-shadow: 0 18px 40px rgba(28, 43, 36, 0.06);
    box-sizing: border-box;
}

body.single-post .single-single-sidebar-left > img,
body.single-post .single-single-sidebar-left .wp-post-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 0 0 28px;
    display: block;
}

body.single-post .single-single-sidebar-left p {
    color: #3d4d45 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.85 !important;
    margin: 0 0 18px !important;
}

body.single-post .single-single-sidebar-left p strong {
    color: #1c2b24;
    font-weight: 600;
}

body.single-post .single-single-sidebar-left h2 {
    font-size: clamp(22px, 2.2vw, 30px) !important;
    color: #1c2b24 !important;
    text-transform: none !important;
    letter-spacing: -0.02em;
    margin: 36px 0 14px !important;
    padding-left: 16px;
    border-left: 3px solid #00996d;
}

body.single-post .single-single-sidebar-left h3 {
    font-size: 20px !important;
    color: #1c2b24 !important;
    text-transform: none !important;
    margin: 28px 0 10px !important;
}

body.single-post .single-single-sidebar-left ul,
body.single-post .single-single-sidebar-left ol {
    margin: 0 0 20px !important;
    padding: 0 0 0 4px !important;
}

body.single-post .single-single-sidebar-left li {
    list-style: none !important;
    position: relative;
    padding-left: 22px;
    margin: 0 0 10px !important;
    color: #3d4d45 !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
}

body.single-post .single-single-sidebar-left ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    background: #00996d;
    transform: rotate(45deg);
}

body.single-post .single-single-sidebar-left a {
    color: #00996d !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.single-post .single-single-sidebar-left a:hover {
    color: #087a58 !important;
}

body.single-post .single-single-sidebar-left table {
    width: 100% !important;
    margin: 8px 0 28px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid rgba(0, 153, 109, 0.14) !important;
    border-radius: 16px;
    font-family: Poppins, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

body.single-post .single-single-sidebar-left table th,
body.single-post .single-single-sidebar-left table tr:first-child td {
    background: #0f2a24 !important;
    color: #f4eee4 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    letter-spacing: 0.02em;
    padding: 12px 14px !important;
    border: 0 !important;
    border-right: 1px solid rgba(244, 238, 228, 0.08) !important;
}

body.single-post .single-single-sidebar-left table td {
    color: #3d4d45 !important;
    padding: 12px 14px !important;
    border: 0 !important;
    border-top: 1px solid rgba(0, 153, 109, 0.1) !important;
    border-right: 1px solid rgba(0, 153, 109, 0.08) !important;
    vertical-align: top;
}

body.single-post .single-single-sidebar-left table tr:nth-child(even) td {
    background: #f7f3ea !important;
}

body.single-post .single-single-sidebar-left table tr:first-child td {
    background: #0f2a24 !important;
    color: #f4eee4 !important;
    border-top: 0 !important;
}

body.single-post .single-single-sidebar-left table th:last-child,
body.single-post .single-single-sidebar-left table td:last-child {
    border-right: 0 !important;
}

body.single-post .footerindex {
    display: none !important;
}

body.single-post .post_rd_btn {
    float: none !important;
    clear: both;
    width: 100% !important;
    margin: 36px 0 0 !important;
    text-align: left;
}

body.single-post .post_rd_btn a,
body.single-post .single-single-sidebar-left .post_rd_btn a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 14px 28px !important;
    background: linear-gradient(135deg, #00c48a, #00996d) !important;
    background-color: #00996d !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-family: Poppins, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em;
    line-height: 1 !important;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 12px 24px rgba(0, 153, 109, 0.22);
}

body.single-post .post_rd_btn a:hover,
body.single-post .single-single-sidebar-left .post_rd_btn a:hover {
    background: #1c2b24 !important;
    background-color: #1c2b24 !important;
    color: #fff !important;
}

/* TOC */
body.single-post #ez-toc-container,
body.single-post .ez-toc-container-direction {
    background: #f7f3ea !important;
    border: 1px solid rgba(0, 153, 109, 0.14) !important;
    border-radius: 18px !important;
    padding: 22px 24px !important;
    margin: 8px 0 32px !important;
    box-shadow: none !important;
}

body.single-post .ez-toc-title {
    font-family: Arsenal, sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #1c2b24 !important;
    margin: 0 0 12px !important;
}

body.single-post .ez-toc-list,
body.single-post .ez-toc-list li {
    list-style: none !important;
    padding-left: 0 !important;
}

body.single-post .ez-toc-list li::before {
    display: none !important;
}

body.single-post .ez-toc-link {
    color: #1c2b24 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
}

body.single-post .ez-toc-link:hover {
    color: #00996d !important;
}

/* Sidebar form — native sticky (Theia JS stays off so it does not jerk) */
body.single-post .single-sidebar-right {
    float: none !important;
    flex: 0 0 360px;
    width: 360px !important;
    max-width: 100%;
    position: sticky !important;
    top: 88px;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    align-self: flex-start;
    transform: none !important;
    z-index: 4;
}

body.single-post .sing_form {
    float: none !important;
    overflow: hidden;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 20px 20px !important;
    background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, transparent 22%),
            linear-gradient(180deg, #fffdf8 0%, #f6f0e6 100%) !important;
    color: #1c2b24 !important;
    border: 1px solid rgba(255, 255, 255, 0.88) !important;
    border-radius: 22px !important;
    box-shadow:
            0 28px 56px rgba(12, 22, 18, 0.12),
            0 0 0 1px rgba(0, 153, 109, 0.08) inset;
    box-sizing: border-box;
}

body.single-post .sing_form::before {
    content: "";
    display: block;
    height: 8px;
    margin: 0 -20px 0;
    background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 46%),
            linear-gradient(90deg, #0f2a24 0%, #1c463c 38%, #246354 50%, #1c463c 62%, #0f2a24 100%);
}

body.single-post .sing_hd {
    text-align: center;
    margin: 0 0 14px;
    padding: 18px 4px 0;
}

body.single-post .sing_hd i {
    display: none !important;
}

body.single-post .sing_hd h5 {
    font-family: Arsenal, sans-serif !important;
    color: #1c2b24 !important;
    font-size: 26px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    margin: 0 0 8px !important;
    text-transform: none !important;
}

body.single-post .sing_hd h5 span {
    color: #00996d !important;
}

body.single-post .sing_hd h6 {
    color: #5a6b64 !important;
    font-family: Poppins, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

body.single-post .sing_form form,
body.single-post .sing_form form.validate-popin {
    clear: both;
    margin: 0;
}

body.single-post .sing_form ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.single-post .sing_form ul li,
body.single-post .post-itemc .sing_form li,
body.single-post .sing_form li.half-line,
body.single-post .sing_form li.full-line {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    color: #1c2b24 !important;
    position: relative;
}

body.single-post .sing_form ul li input[type="text"],
body.single-post .sing_form li input[type="email"],
body.single-post .sing_form ul li textarea,
body.single-post .sing_form ul li input[type="tel"],
body.single-post .sing_form ul li select {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    background-color: #fff !important;
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    background-size: 16px 16px !important;
    border: 1px solid rgba(28, 43, 36, 0.1) !important;
    border-radius: 12px !important;
    color: #1c2b24 !important;
    font-family: Poppins, sans-serif !important;
    font-size: 14px !important;
    padding: 11px 14px 11px 40px !important;
    box-shadow: inset 0 1px 2px rgba(28, 43, 36, 0.04) !important;
    box-sizing: border-box;
}

body.single-post .sing_form input[name="cn"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c2b24' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") !important;
}

body.single-post .sing_form input[name="em"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c2b24' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 7 9-7'/%3E%3C/svg%3E") !important;
}

body.single-post .sing_form input[name="pn"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c2b24' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.7A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.6a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.4-1.3a2 2 0 0 1 2.1-.4c.8.3 1.7.5 2.6.6a2 2 0 0 1 1.9 2.1z'/%3E%3C/svg%3E") !important;
}

body.single-post .sing_form ul li textarea {
    height: 78px !important;
    min-height: 78px !important;
    resize: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c2b24' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v14H4z'/%3E%3Cpath d='M8 9h8M8 13h5'/%3E%3C/svg%3E") !important;
    background-position: 14px 14px !important;
}

body.single-post .sing_form ul li input:focus,
body.single-post .sing_form ul li textarea:focus {
    outline: none;
    border-color: #00996d !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 3px rgba(0, 153, 109, 0.12) !important;
}

body.single-post .placeholder1::placeholder,
body.single-post .placeholder1::-webkit-input-placeholder,
body.single-post .placeholder1::-ms-input-placeholder {
    color: #8a9a93 !important;
    opacity: 1;
}

body.single-post .sing_form li input[type="submit"],
body.single-post .sing_form input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    cursor: pointer;
    background-color: #00996d !important;
    background-image:
            linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 42%),
            linear-gradient(135deg, #00c48a, #00996d) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-family: Poppins, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 14px 18px !important;
    box-shadow:
            0 12px 22px rgba(0, 153, 109, 0.26),
            inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body.single-post .sing_form li input[type="submit"]:hover,
body.single-post .sing_form input[type="submit"]:hover {
    background-color: #1c2b24 !important;
    background-image: none !important;
    color: #fff !important;
}

body.single-post .mcontainer::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 1100px) {
    body.single-post .cs-post-center {
        gap: 22px;
        padding: 32px 16px 64px;
    }

    body.single-post .single-sidebar-right {
        flex-basis: 320px;
        width: 320px !important;
    }

    body.single-post .single-single-sidebar-left {
        padding: 28px 24px 30px;
    }
}

@media (max-width: 980px) {
    body.page-template-blog .nblog-page-full .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    body.page-template-blog .banner.inner-bann,
    body.single-post .banner.inner-bann {
        padding: 48px 0 42px !important;
    }

    body.single-post .cs-post-center {
        display: block !important;
        padding: 24px 16px 48px;
    }

    body.single-post .single-single-sidebar-left,
    body.single-post .single-sidebar-right {
        width: 100% !important;
        float: none !important;
        display: block !important;
        flex: none;
        position: static !important;
        top: auto !important;
    }

    body.single-post .single-single-sidebar-left {
        padding: 22px 18px 24px;
        margin-bottom: 24px;
        overflow-x: auto;
    }

    body.single-post .sing_hd h5 {
        font-size: 22px !important;
    }

    body.page-template-blog .custom_pagination a,
    body.page-template-blog .custom_pagination span.current {
        min-width: 40px;
        height: 40px;
        padding: 0 12px !important;
    }
}

@media (max-width: 640px) {
    body.page-template-blog .nblog-page-full .row {
        grid-template-columns: 1fr;
    }
}

/* ========== PREMIUM MOTION + ORNAMENTS ========== */
@keyframes bpRise {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
}

@keyframes bpFloat {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-10px) rotate(45deg); }
}

@keyframes bpGlow {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.9; }
}

@keyframes bpShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes bpDrift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(24px, -18px, 0); }
}

body.page-template-blog .mcontainer {
    position: relative;
    overflow: hidden;
}

body.single-post .mcontainer {
    position: relative;
    overflow: visible;
}

body.page-template-blog .mcontainer::before,
body.single-post .mcontainer::before {
    content: "";
    position: absolute;
    inset: auto -80px 8% auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 153, 109, 0.12), transparent 68%);
    pointer-events: none;
    z-index: 0;
    animation: bpDrift 16s ease-in-out infinite;
}

body.page-template-blog .nblog-center,
body.single-post .cs-post-center {
    position: relative;
    z-index: 1;
}

body.page-template-blog .banner.inner-bann,
body.single-post .banner.inner-bann {
    overflow: hidden;
    isolation: isolate;
}

body.page-template-blog .banner.inner-bann .container,
body.single-post .banner.inner-bann .container {
    position: relative;
    z-index: 2;
}

body.page-template-blog .banner.inner-bann .container::before,
body.single-post .banner.inner-bann .container::before {
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ddec0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20c7-2 11-9 13-15 1-3 4-4 5-4-2 5-7 8-10 10'/%3E%3Cpath d='M8 16l-3 4'/%3E%3Cpath d='M12 11l7-8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px;
    animation: bpGlow 4.5s ease-in-out infinite;
}

body.page-template-blog .banner.inner-bann .container::after,
body.single-post .banner.inner-bann .container::after {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    background: #7ddec0;
    transform: rotate(45deg);
    box-shadow:
            -120px 36px 0 0 rgba(125, 222, 192, 0.45),
            120px 28px 0 -1px rgba(125, 222, 192, 0.35),
            -190px 88px 0 -2px rgba(0, 196, 138, 0.28),
            186px 92px 0 -2px rgba(0, 196, 138, 0.25);
    animation: bpFloat 6.5s ease-in-out infinite;
    pointer-events: none;
}

body.page-template-blog .banner.inner-bann h1,
body.single-post .banner.inner-bann h1 {
    animation: bpRise 0.8s ease both;
}

body.page-template-blog .banner.inner-bann .btn-block,
body.single-post .banner.inner-bann .btn-block {
    animation: bpRise 0.9s ease 0.12s both;
}

body.page-template-blog .banner.inner-bann .btn-yellow,
body.single-post .banner.inner-bann .btn-yellow {
    background-color: #00996d !important;
    box-shadow: 0 12px 24px rgba(0, 153, 109, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

body.page-template-blog .banner.inner-bann .btn-yellow:hover,
body.single-post .banner.inner-bann .btn-yellow:hover {
    transform: translateY(-2px);
    background: #1c2b24 !important;
}

body.page-template-blog .banner.inner-bann .btn-transparent:hover,
body.single-post .banner.inner-bann .btn-transparent:hover {
    background: rgba(244, 238, 228, 0.1) !important;
    border-color: #7ddec0 !important;
    color: #fff !important;
}

body.page-template-blog .nblog-page-full .lt-post-line {
    position: relative;
    isolation: isolate;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    animation: bpRise 0.7s ease both;
}

body.page-template-blog .nblog-page-full .lt-post-line:nth-child(2) { animation-delay: 0.1s; }
body.page-template-blog .nblog-page-full .lt-post-line:nth-child(3) { animation-delay: 0.2s; }
body.page-template-blog .nblog-page-full .lt-post-line:nth-child(4) { animation-delay: 0.3s; }
body.page-template-blog .nblog-page-full .lt-post-line:nth-child(5) { animation-delay: 0.4s; }
body.page-template-blog .nblog-page-full .lt-post-line:nth-child(6) { animation-delay: 0.5s; }

body.page-template-blog .nblog-page-full .lt-post-line::before,
body.page-template-blog .nblog-page-full .lt-post-line::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 1.5px solid #00996d;
    z-index: 5;
    pointer-events: none;
    opacity: 0.55;
}

body.page-template-blog .nblog-page-full .lt-post-line::before {
    top: 12px;
    left: 12px;
    border-right: 0;
    border-bottom: 0;
    border-radius: 6px 0 0 0;
}

body.page-template-blog .nblog-page-full .lt-post-line::after {
    right: 12px;
    bottom: 12px;
    border-left: 0;
    border-top: 0;
    border-radius: 0 0 6px 0;
}

body.page-template-blog .nblog-page-full .lt-post-line:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 153, 109, 0.32);
    box-shadow: 0 28px 48px rgba(28, 43, 36, 0.14);
}

body.page-template-blog .nblog-page-full .lt-post-line .features-image {
    position: relative;
}

body.page-template-blog .nblog-page-full .lt-post-line .features-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 42, 36, 0.05) 40%, rgba(15, 42, 36, 0.38) 100%);
    pointer-events: none;
    z-index: 1;
}

body.page-template-blog .nblog-page-full .lt-post-line .features-image img {
    transition: transform 0.7s ease;
}

body.page-template-blog .nblog-page-full .lt-post-line:hover .features-image img {
    transform: scale(1.07);
}

body.page-template-blog .nblog-page-full .p-cat {
    position: absolute !important;
    top: 16px;
    left: 16px;
    z-index: 4;
    margin: 0 !important;
    box-shadow: 0 8px 18px rgba(12, 22, 18, 0.22);
    display: none !important;
}

body.page-template-blog .nblog-page-full .post-itemc h3.titles {
    transition: color 0.25s ease;
}

body.page-template-blog .nblog-page-full .post-itemc h3.titles:hover,
body.page-template-blog .nblog-page-full .post-itemc h3.titles a:hover {
    color: #00996d !important;
}

body.page-template-blog .nblog-page-full span.author-line {
    position: relative;
    padding-left: 14px;
}

body.page-template-blog .nblog-page-full span.author-line::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 6px;
    height: 6px;
    background: #00996d;
    transform: rotate(45deg);
}

body.page-template-blog .nblog-page-full .post_rd_btn a {
    gap: 8px;
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

body.page-template-blog .nblog-page-full .post_rd_btn a::after {
    content: "";
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 12px;
    transition: transform 0.25s ease;
}

body.page-template-blog .nblog-page-full .post_rd_btn a:hover::after {
    transform: translateX(4px);
}

body.page-template-blog .custom_pagination a,
body.page-template-blog .custom_pagination span.current {
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

body.page-template-blog .custom_pagination a:hover,
body.page-template-blog .custom_pagination span.current {
    transform: translateY(-2px);
}

body.single-post .single-single-sidebar-left {
    position: relative;
}

body.single-post .single-sidebar-right,
body.single-post .theiaStickySidebar {
    animation: none !important;
    transform: none !important;
}

body.single-post .single-single-sidebar-left::before,
body.single-post .single-single-sidebar-left::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    border: 1.5px solid rgba(0, 153, 109, 0.45);
    pointer-events: none;
    z-index: 3;
}

body.single-post .single-single-sidebar-left::before {
    top: 14px;
    left: 14px;
    border-right: 0;
    border-bottom: 0;
    border-radius: 8px 0 0 0;
}

body.single-post .single-single-sidebar-left::after {
    right: 14px;
    bottom: 14px;
    border-left: 0;
    border-top: 0;
    border-radius: 0 0 8px 0;
}

body.single-post .single-sidebar-right,
body.single-post .theiaStickySidebar {
    animation: none !important;
    transform: none !important;
}

body.single-post .theiaStickySidebar {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.single-post .single-single-sidebar-left > img,
body.single-post .single-single-sidebar-left .wp-post-image {
    position: relative;
    box-shadow: 0 22px 40px rgba(12, 22, 18, 0.16);
}

body.single-post .single-single-sidebar-left h2 {
    position: relative;
}

body.single-post .single-single-sidebar-left h2::after {
    content: "";
    position: absolute;
    left: -5px;
    top: 0.45em;
    width: 8px;
    height: 8px;
    margin-left: 0;
    background: #00996d;
    transform: rotate(45deg);
}

body.single-post .single-single-sidebar-left blockquote {
    margin: 8px 0 24px !important;
    padding: 18px 22px 18px 24px !important;
    background: #f7f3ea;
    border: 0 !important;
    border-left: 3px solid #00996d !important;
    border-radius: 0 16px 16px 0;
    color: #1c2b24 !important;
    font-family: Arsenal, sans-serif !important;
    font-size: 20px !important;
    line-height: 1.5 !important;
}

body.single-post #ez-toc-container,
body.single-post .ez-toc-container-direction {
    position: relative;
    overflow: hidden;
}

body.single-post #ez-toc-container::before {
    content: "";
    display: block;
    height: 6px;
    margin: -22px -24px 16px;
    background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 46%),
            linear-gradient(90deg, #0f2a24 0%, #246354 50%, #0f2a24 100%);
}

body.single-post .ez-toc-link {
    transition: color 0.2s ease, padding-left 0.2s ease;
}

body.single-post .ez-toc-link:hover {
    padding-left: 6px;
}

body.single-post .sing_form {
    transition: box-shadow 0.35s ease;
    transform: none !important;
}

body.single-post .post_rd_btn a,
body.single-post .single-single-sidebar-left .post_rd_btn a {
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

body.single-post .post_rd_btn a:hover,
body.single-post .single-single-sidebar-left .post_rd_btn a:hover {
    transform: translateY(-2px);
}

@media (max-width: 980px) {
    body.page-template-blog .banner.inner-bann .container::after,
    body.single-post .banner.inner-bann .container::after {
        box-shadow:
                -70px 28px 0 -1px rgba(125, 222, 192, 0.4),
                70px 22px 0 -1px rgba(125, 222, 192, 0.32);
    }

    body.page-template-blog .nblog-page-full .p-cat {
        top: 12px;
        left: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-template-blog .lt-post-line,
    body.page-template-blog .banner.inner-bann h1,
    body.page-template-blog .banner.inner-bann .btn-block,
    body.page-template-blog .banner.inner-bann .container::before,
    body.page-template-blog .banner.inner-bann .container::after,
    body.page-template-blog .mcontainer::before,
    body.single-post .mcontainer::before,
    body.single-post .banner.inner-bann h1,
    body.single-post .banner.inner-bann .btn-block,
    body.single-post .banner.inner-bann .container::before,
    body.single-post .banner.inner-bann .container::after {
        animation: none !important;
    }
}


body.single-post .sing_form ul li input[type="text"]::placeholder,
body.single-post .sing_form li input[type="email"]::placeholder,
body.single-post .sing_form ul li textarea::placeholder,
body.single-post .sing_form ul li input[type="tel"]::placeholder,
body.single-post .sing_form ul li select::placeholder {
    color: #000;
    opacity: 0.7;
    font-size: 12px;
}

/* Stop Theia Sticky Sidebar + nested overflow from jerking the page */
html:has(body.single-post),
html:has(body.page-template-blog) {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body.home-premium.single-post,
body.home-premium.page-template-blog,
body.single-post,
body.page-template-blog {
    overflow: visible !important;
}

body.home-premium.single-post section,
body.home-premium.single-post #content,
body.home-premium.single-post .container,
body.home-premium.single-post .single-container,
body.home-premium.page-template-blog section,
body.home-premium.page-template-blog #content {
    overflow: visible !important;
}

body.single-post .cs-post-center {
    transform: none !important;
}

body.single-post .single-sidebar-right .theiaStickySidebar,
body.single-post .theiaStickySidebar {
    position: static !important;
    transform: none !important;
    inset: auto !important;
    width: 100% !important;
    will-change: auto !important;
}
