/* ================================================================
   APPOINTTHEME – assets/css/style.css
   Blog Grid Page + Single Blog Page styles
   Appended to existing theme stylesheet.
   All blog CSS lives here — NO separate file.
   Colors, fonts, icons exactly match the template theme3.
   ================================================================ */

/* ── Theme color variable (set per-page via :root override) ── */
:root {
          
    --theme-dark:  #3169b8;
    --theme-light: #6fa8e8;
    --hero-bg1:    #0d1b35;
    --hero-bg2:    #1a3a6e;
    --hero-bg3:    #0d2a5c;
    --body-clr:    #3d3d3d;
    --muted-clr:   #8D9199;
}

/* ================================================================
   1. SHARED BLOG HERO / BREADCRUMB BANNER
   Matches the contact-us.php hero exactly — same gradient, grid
   overlay, radial glow, badge pill, breadcrumb glass pill.
   ================================================================ */
.blog-hero-section {
    background: linear-gradient(135deg, var(--hero-bg1) 0%, var(--hero-bg2) 55%, var(--hero-bg3) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 65px;
}
.blog-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.blog-hero-section::after {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74,135,214,.15) 0%, transparent 65%);
    top: -250px; right: -100px;
    pointer-events: none;
}
.blog-hero-inner { position: relative; z-index: 2; }

/* Badge pill — matches .contact-hero-badge */
.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74,135,214,.15);
    border: 1px solid rgba(74,135,214,.3);
    padding: 6px 16px;
    border-radius: 24px;
    color: #90bdf0;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
}

/* H1 — matches contact hero h1 exactly */
.blog-hero-section h1 {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}
.blog-hero-section h1 span { color: var(--theme-color); }

.blog-hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,.58);
    max-width: 520px;
    line-height: 1.75;
    margin: 0;
}

/* Breadcrumb glass pill — matches .hero-breadcrumb from contact-us.php */
.hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    padding: 10px 18px;
    margin-top: 28px;
    backdrop-filter: blur(8px);
}
.hero-breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0; padding: 0;
}
.hero-breadcrumb li { display: flex; align-items: center; font-size: 13px; }
.hero-breadcrumb li + li::before {
    content: '';
    display: inline-block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    margin: 0 10px;
}
.hero-breadcrumb li a { color: rgba(255,255,255,.5); transition: color .2s; }
.hero-breadcrumb li a:hover { color: #fff; }
.hero-breadcrumb li.active { color: var(--theme-color); font-weight: 600; }

/* ================================================================
   2. BLOG GRID PAGE — ARTICLE CARDS
   Exact clone of theme-3.php .article-card / .article-image /
   .article-card-content / .blog-date / .hover-underline structure.
   ================================================================ */
.blog-listing-section {
    background: var(--light-footer-bg);
    padding: 80px 0;
}

/* Article card — matches theme-3 article-card exactly */
.article-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--text-color2);
    box-shadow: color-mix(in srgb, var(--primary-color1) 7%, transparent);
    margin-bottom: 28px;
    transition: transform .3s, box-shadow .3s;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: color-mix(in srgb, var(--primary-color1) 14%, transparent);
}
.article-card:last-child { margin-bottom: 0; }

/* Article image block — matches .article-image */
.article-image {
    position: relative;
    flex-shrink: 0;
    width: 240px;
    min-height: 200px;
    overflow: hidden;
    align-self: stretch;
}
.article-card-img { display: block; height: 100%; }
.article-card-img img,
.obj_cover_center {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s;
    display: block;
}
.article-card:hover .article-card-img img { transform: scale(1.06); }

/* Date badge — matches .blog-date */
.blog-date {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
}
.blog-date a {
    display: inline-block;
    padding: 4px 13px;
    background: var(--theme-color);
    border-radius: 24px;
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .3px;
}
.blog-date a:hover { opacity: .85; color: #fff; }

/* Article content — matches .article-card-content */
.article-card-content {
    padding: 28px 30px;
    flex: 1;
}
.article-card-content small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--theme-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.article-card-content small i { font-size: 14px; }

.article-card-content .h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color1);
    line-height: 1.3;
    letter-spacing: -.3px;
    margin: 8px 0 14px;
}
.article-card-content .h4 a { color: var(--primary-color1); }
.article-card-content .h4 a:hover { color: var(--theme-color); }

/* Excerpt */
.article-card-excerpt {
    font-size: 14.5px;
    color: var(--muted-clr);
    line-height: 1.7;
    margin: 0 0 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More link — same arrow SVG style as theme view-all */
.article-card-content > a,
.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color1);
    transition: all .3s ease;
}
.article-card-content > a svg,
.read-more-link svg { fill: currentColor; transition: transform .3s; }
.article-card-content > a:hover,
.read-more-link:hover { color: var(--theme-color); }
.article-card-content > a:hover svg,
.read-more-link:hover svg { transform: translateX(4px); }

/* Post meta row (date / author / read-time) */
.post-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted-clr);
    margin-bottom: 10px;
}
.post-meta-row span { display: inline-flex; align-items: center; gap: 5px; }
.post-meta-row i { color: var(--theme-color); font-size: 14px; }

/* ================================================================
   3. BLOG GRID CARDS (3-column related / grid view)
   Used on single-blog related posts section.
   ================================================================ */
.blog-grid-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--text-color2);
    box-shadow: color-mix(in srgb, var(--primary-color1) 7%, transparent);
    height: 100%;
    transition: transform .3s, box-shadow .3s;
    display: flex;
    flex-direction: column;
}
.blog-grid-card:hover {
    transform: translateY(-6px);
    box-shadow: color-mix(in srgb, var(--primary-color1) 14%, transparent);
}
.blog-grid-card .card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.blog-grid-card .card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.blog-grid-card:hover .card-img-wrap img { transform: scale(1.07); }
.card-category-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--theme-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 24px;
    letter-spacing: .5px;
    text-transform: uppercase;
    z-index: 2;
}
.blog-grid-card .card-body-inner {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-grid-card .h5 {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary-color1);
    line-height: 1.35;
    margin: 8px 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-grid-card .h5 a { color: var(--primary-color1); }
.blog-grid-card .h5 a:hover { color: var(--theme-color); }
.card-excerpt {
    font-size: 14px;
    color: var(--muted-clr);
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}
.card-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--text-color2);
    margin-top: auto;
    gap: 8px;
    flex-wrap: wrap;
}
.author-mini { display: flex; align-items: center; gap: 8px; }
.author-mini img {
    width: 30px; height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(74,135,214,.15);
}
.author-mini span { font-size: 13px; font-weight: 600; color: var(--primary-color1); }

/* ================================================================
   4. SIDEBAR WIDGETS
   Matches .shop-widget / .shop-widget-title from listing.php
   ================================================================ */
.sidebar-area .shop-widget {
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--text-color2);
    padding: 26px 24px;
    box-shadow: color-mix(in srgb, var(--primary-color1) 7%, transparent);
}

.shop-widget-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-color1);
    letter-spacing: -.3px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--text-color2);
    position: relative;
}
.shop-widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 36px; height: 2px;
    background: var(--theme-color);
    border-radius: 2px;
}

/* Search widget */
.sidebar-search-wrap { position: relative; }
.sidebar-search-wrap input {
    width: 100%;
    padding: 11px 48px 11px 16px;
    border: 1.5px solid var(--text-color2);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--body-clr);
    background: var(--light-footer-bg);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.sidebar-search-wrap input:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 4px rgba(74,135,214,.1);
    background: #fff;
}
.sidebar-search-wrap input::placeholder { color: var(--muted-clr); }
.sidebar-search-wrap button {
    position: absolute;
    right: 4px; top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    background: var(--theme-color);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.sidebar-search-wrap button:hover { background: var(--theme-dark); }

/* Categories list */
.sidebar-cat-list { list-style: none; margin: 0; padding: 0; }
.sidebar-cat-list li { border-bottom: 1px solid var(--text-color2); }
.sidebar-cat-list li:last-child { border-bottom: none; }
.sidebar-cat-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--body-clr);
    transition: all .3s ease;
}
.sidebar-cat-list li a:hover { color: var(--theme-color); padding-left: 6px; }
.cat-count {
    background: rgba(74,135,214,.1);
    color: var(--theme-color);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 24px;
}

/* Recent posts */
.recent-post-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--text-color2);
}
.recent-post-item:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.recent-post-img {
    flex-shrink: 0;
    width: 70px; height: 70px;
    border-radius: 10px;
    overflow: hidden;
}
.recent-post-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.recent-post-item:hover .recent-post-img img { transform: scale(1.1); }
.recent-post-info { flex: 1; }
.recent-post-date {
    font-size: 12px;
    color: var(--theme-color);
    font-weight: 600;
    display: flex; align-items: center; gap: 5px;
    margin-bottom: 5px;
}
.recent-post-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color1);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.recent-post-title a { color: var(--primary-color1); }
.recent-post-title a:hover { color: var(--theme-color); }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
    display: inline-block;
    padding: 5px 13px;
    border: 1px solid var(--text-color2);
    border-radius: 24px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--body-clr);
    background: var(--light-footer-bg);
    transition: all .3s ease;
}
.tag-cloud a:hover {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: #fff;
}

/* Newsletter widget — dark sidebar like contact sidebar */
.newsletter-widget {
    background: linear-gradient(160deg, var(--hero-bg1), var(--hero-bg2));
    border-radius: 10px;
    padding: 26px 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}
.newsletter-widget::before {
    content: '';
    position: absolute;
    width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(74,135,214,.2) 0%, transparent 70%);
    top: -60px; right: -40px;
    pointer-events: none;
}
.newsletter-widget > * { position: relative; z-index: 1; }
.newsletter-widget .shop-widget-title {
    color: #fff;
    border-color: rgba(255,255,255,.12);
}
.newsletter-widget .shop-widget-title::after { background: #90bdf0; }
.newsletter-widget p { font-size: 13.5px; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.newsletter-widget input {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid rgba(255,255,255,.15);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #fff;
    background: rgba(255,255,255,.08);
    outline: none;
    margin-bottom: 10px;
    transition: border-color .2s;
}
.newsletter-widget input::placeholder { color: rgba(255,255,255,.38); }
.newsletter-widget input:focus { border-color: rgba(74,135,214,.6); }

/* ================================================================
   5. PAGINATION
   ================================================================ */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.blog-pagination .page-link {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    border: 1.5px solid var(--text-color2);
    background: #fff;
    color: var(--primary-color1);
    font-size: 14px;
    font-weight: 700;
    transition: all .3s ease;
    padding: 0;
}
.blog-pagination .page-item.active .page-link,
.blog-pagination .page-link:hover {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(74,135,214,.35);
}
.blog-pagination .page-item.disabled .page-link { opacity: .45; pointer-events: none; }

/* ================================================================
   6. SINGLE BLOG PAGE
   ================================================================ */
.single-blog-section {
    background: var(--light-footer-bg);
    padding: 80px 0;
}

/* Post header */
.post-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--theme-color);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 24px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 18px;
}

.post-title {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    color: var(--primary-color1);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 22px;
}
.post-title span { color: var(--theme-color); }

/* Meta bar */
.post-meta-bar {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--text-color2);
    margin-bottom: 34px;
    font-size: 13.5px;
    color: var(--muted-clr);
}
.post-meta-bar .meta-item { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.post-meta-bar .meta-item i { color: var(--theme-color); font-size: 15px; }
.meta-author-img {
    width: 32px; height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(74,135,214,.15);
}
.meta-author-name { font-weight: 700; color: var(--primary-color1); }

/* Featured image */
.post-featured-img {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 40px;
    aspect-ratio: 16/7;
    box-shadow: color-mix(in srgb, var(--primary-color1) 10%, transparent);
}
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Post body */
.post-body { font-size: 15.5px; line-height: 1.85; color: var(--body-clr); }
.post-body h2 { font-size: clamp(22px,3vw,30px); font-weight: 800; margin-top: 1.8em; color: var(--primary-color1); }
.post-body h3 { font-size: clamp(18px,2.5vw,22px); font-weight: 700; margin-top: 1.5em; color: var(--primary-color1); }
.post-body h4 { font-size: 18px; font-weight: 700; margin-top: 1.2em; color: var(--primary-color1); }
.post-body p  { margin-bottom: 1.4em; }

.post-body img {
    border-radius: 12px;
    margin: 1.5em 0;
    width: 100%;
    box-shadow: color-mix(in srgb, var(--primary-color1) 7%, transparent);
    display: block;
}

/* Blockquote — matches c-info-card top-stripe concept */
.post-body blockquote {
    background: var(--light-footer-bg);
    border-left: 4px solid var(--theme-color);
    border-radius: 0 12px 12px 0;
    padding: 24px 28px;
    margin: 2em 0;
    font-size: 17px;
    font-style: italic;
    font-weight: 600;
    color: var(--primary-color1);
    position: relative;
}
.post-body blockquote::before {
    content: '\201C';
    font-size: 72px;
    color: rgba(74,135,214,.15);
    line-height: 1;
    position: absolute;
    top: -10px; left: 16px;
    font-style: normal;
}
.post-body blockquote cite {
    display: block;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    color: var(--theme-color);
    margin-top: 12px;
}

/* Info callout box */
.post-callout {
    background: rgba(74,135,214,.06);
    border: 1px solid rgba(74,135,214,.18);
    border-radius: 12px;
    padding: 22px 26px;
    margin: 2em 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.post-callout i { font-size: 22px; color: var(--theme-color); flex-shrink: 0; margin-top: 2px; }
.post-callout p { margin: 0; font-size: 14.5px; }

.post-body ul, .post-body ol { padding-left: 22px; margin-bottom: 1.4em; }
.post-body li { margin-bottom: .5em; }
.post-body a { color: var(--theme-color); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--theme-dark); }

/* Table — dark header matches hero gradient */
.post-body table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    font-size: 14px;
    margin-bottom: 1.4em;
    box-shadow: color-mix(in srgb, var(--primary-color1) 7%, transparent);
}
.post-body table th {
    background: linear-gradient(135deg, var(--hero-bg1), var(--hero-bg2));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 16px;
    text-align: left;
    letter-spacing: .3px;
}
.post-body table td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--text-color2);
    color: var(--body-clr);
}
.post-body table tr:nth-child(even) td { background: var(--light-footer-bg); }
.post-body table tr:last-child td { border-bottom: none; }

/* Tags row */
.post-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 22px 0;
    border-top: 1px solid var(--text-color2);
    border-bottom: 1px solid var(--text-color2);
    margin-bottom: 36px;
}
.post-tags .tags-label {
    font-weight: 700;
    font-size: 13.5px;
    color: var(--primary-color1);
    flex-shrink: 0;
    display: flex; align-items: center; gap: 6px;
}
.post-tags .tags-label i { color: var(--theme-color); }
.post-tags a {
    padding: 4px 13px;
    border: 1px solid var(--text-color2);
    border-radius: 24px;
    font-size: 12.5px;
    color: var(--body-clr);
    background: var(--light-footer-bg);
    transition: all .3s ease;
}
.post-tags a:hover { background: var(--theme-color); border-color: var(--theme-color); color: #fff; }

/* Social share — matches cs-social-t3 from contact-us.php */
.post-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}
.post-share .share-label {
    font-weight: 700;
    font-size: 13.5px;
    color: var(--primary-color1);
    display: flex; align-items: center; gap: 6px;
}
.share-btn {
    width: 38px; height: 38px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    color: #fff;
    transition: all .3s ease;
    text-decoration: none;
}
.share-btn:hover { transform: translateY(-3px); color: #fff; opacity: .88; }
.share-btn.s-fb { background: #1877f2; }
.share-btn.s-tw { background: #1da1f2; }
.share-btn.s-ln { background: #0a66c2; }
.share-btn.s-wa { background: #25d366; }
.share-btn.s-pt { background: #e60023; }

/* Author bio — matches c-info-card with top gradient stripe */
.author-bio-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--text-color2);
    padding: 30px;
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin-bottom: 44px;
    box-shadow: color-mix(in srgb, var(--primary-color1) 7%, transparent);
    position: relative;
    overflow: hidden;
}
.author-bio-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-color), var(--theme-light));
}
.author-bio-avatar {
    width: 86px; height: 86px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid rgba(74,135,214,.15);
}
.author-bio-info h4 { font-size: 19px; font-weight: 800; margin-bottom: 3px; }
.author-bio-role {
    font-size: 12.5px;
    color: var(--theme-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 5px;
}
.author-bio-info p { font-size: 14px; color: var(--muted-clr); line-height: 1.7; margin-bottom: 14px; }
.author-social { display: flex; gap: 8px; }
.author-social a {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: var(--light-footer-bg);
    border: 1px solid var(--text-color2);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    color: var(--body-clr);
    transition: all .3s ease;
}
.author-social a:hover { background: var(--theme-color); border-color: var(--theme-color); color: #fff; }

/* Post navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}
.post-nav-link {
    background: #fff;
    border: 1.5px solid var(--text-color2);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all .3s ease;
    text-decoration: none;
}
.post-nav-link:hover { border-color: var(--theme-color); box-shadow: 0 8px 28px rgba(74,135,214,.12); transform: translateY(-2px); }
.post-nav-link.next { justify-content: flex-end; text-align: right; }
.post-nav-icon {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(74,135,214,.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--theme-color);
    font-size: 17px;
    flex-shrink: 0;
    transition: all .3s ease;
}
.post-nav-link:hover .post-nav-icon { background: var(--theme-color); color: #fff; }
.post-nav-dir { font-size: 11px; font-weight: 700; color: var(--theme-color); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.post-nav-ttl { font-size: 14.5px; font-weight: 800; color: var(--primary-color1); line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Comments */
.block-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color1);
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--text-color2);
    position: relative;
}
.block-title::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 40px; height: 2px;
    background: var(--theme-color);
}

.comment-item {
    display: flex;
    gap: 18px;
    margin-bottom: 26px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--text-color2);
}
.comment-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.comment-item.reply { margin-left: 56px; border-left: 3px solid rgba(74,135,214,.15); padding-left: 20px; }
.comment-avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid rgba(74,135,214,.15); }
.comment-body { flex: 1; }
.comment-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; flex-wrap: wrap; gap: 6px; }
.comment-author { font-size: 15px; font-weight: 800; color: var(--primary-color1); }
.comment-date { font-size: 12px; color: var(--muted-clr); display: flex; align-items: center; gap: 5px; }
.comment-text { font-size: 14.5px; line-height: 1.7; color: var(--body-clr); margin-bottom: 8px; }
.comment-reply-btn {
    font-size: 13px; font-weight: 700; color: var(--theme-color);
    display: inline-flex; align-items: center; gap: 5px;
    background: none; border: none; padding: 0; cursor: pointer; transition: all .3s ease;
}
.comment-reply-btn:hover { color: var(--theme-dark); }

/* Comment form — matches form-inner-t3 from contact-us.php exactly */
.form-label-t {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color1);
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: 6px;
}
.form-label-t span { color: #ef4444; }
.form-ctrl-t {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--text-color2);
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    color: var(--body-clr);
    background: var(--light-footer-bg);
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-ctrl-t:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 4px rgba(74,135,214,.1);
    background: #fff;
}
.form-ctrl-t::placeholder { color: var(--muted-clr); }
.form-ctrl-t.textarea { resize: vertical; min-height: 130px; }

/* Related posts section */
.related-posts-section { padding: 60px 0; background: #fff; }

/* ================================================================
   7. RESPONSIVE BREAKPOINTS
   ================================================================ */

/* < 992px */
@media (max-width: 991.98px) {
    .blog-hero-section { padding: 80px 0 50px; }
    .blog-listing-section,
    .single-blog-section,
    .related-posts-section { padding: 60px 0; }
    .sidebar-area { margin-top: 40px; }
    .author-bio-card { flex-direction: column; }
    .post-navigation { grid-template-columns: 1fr; }
    .post-nav-link.next { justify-content: flex-start; text-align: left; }
    .comment-item.reply { margin-left: 24px; }
}

/* < 768px */
@media (max-width: 767.98px) {
    .blog-hero-section { padding: 130px 0 42px; }
    /* Article card stacks vertically */
    .article-card { flex-direction: column; align-items: stretch; }
    .article-image { width: 100%; min-height: 210px; }
    .article-card-content { padding: 20px; }
    .article-card-content .h4 { font-size: 17px; }
    .section-title3 { flex-direction: column; align-items: flex-start; }
    .post-title { letter-spacing: -.5px; }
    .post-meta-bar { gap: 12px; font-size: 15px; }
    .post-body h2 { font-size: 21px; }
    .post-featured-img {aspect-ratio: 16 / 9;}
}

/* < 576px */
@media (max-width: 575.98px) {
    .blog-hero-section { padding: 130px 0 36px; }
    .blog-hero-section h1 { font-size: clamp(30px,9vw,42px); letter-spacing: -.8px; }
    .blog-hero-desc { font-size: 15px; }
    .article-image { min-height: 185px; }
    .blog-pagination .page-link { width: 38px; height: 38px; font-size: 13px; }
    .post-share { gap: 7px; }
    .comment-item.reply { margin-left: 10px; padding-left: 12px; }
    .comment-avatar { width: 40px; height: 40px; }
    .author-bio-avatar { width: 68px; height: 68px; }
    .post-navigation { gap: 12px; }
    .article-card .article-image {width: 100%;}
    .article-card .article-image .article-card-img {height: 190px;}
    .article-card .article-card-content {padding: 10px 0 0 0;}
    .sidebar-cat-list li a {padding: 4px 0px;}
    .hero-breadcrumb{padding: 4px 12px;}
}

/* ================================================================
   8. ACCESSIBILITY & PRINT
   ================================================================ */
:focus-visible { outline: 3px solid var(--theme-color); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
    .blog-hero-section, .sidebar-area,
    .related-posts-section, .comment-form-section,
    .post-share, .blog-pagination { display: none; }
    .blog-listing-section, .single-blog-section { padding: 0; background: #fff; }
    .article-card, .blog-grid-card { box-shadow: none; border: 1px solid #ccc; }
}
