/* ==========================================================
   Power Care KSA - Blog
   Uses the site palette from power-care.css:
   orange var(--color-one) #F18902 · teal #224C5A · cream #FFFBF1
   ========================================================== */

:root {
    --pc-orange: #F18902;
    --pc-orange-dark: #d47700;
    --pc-teal: #224C5A;
    --pc-teal-dark: #17363f;
    --pc-cream: #FFFBF1;
    --pc-ink: #1d1d1f;
    --pc-body: #3b4246;
    --pc-muted: #7a8288;
    --pc-line: #ece6d8;
    --pc-radius: 20px;
    --pc-font: "Titillium Web", sans-serif;
}

/* ---------- Shared bits ---------- */

.pc-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--pc-orange); color: #fff !important;
    padding: 12px 26px; border-radius: 50px;
    font-weight: 600; font-size: 15px; letter-spacing: .02em;
    border: 0; transition: background .3s, transform .3s;
}
.pc-btn:hover { background: var(--pc-teal); transform: translateY(-2px); }
.pc-btn--light { background: #fff; color: var(--pc-teal) !important; }
.pc-btn--light:hover { background: var(--pc-teal); color: #fff !important; }

.pc-blog-link { color: var(--pc-orange); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.pc-blog-link i { transition: transform .3s; font-size: 13px; }
.pc-blog-link:hover { color: var(--pc-teal); }
.pc-blog-link:hover i { transform: translateX(4px); }

.pc-blog-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--pc-orange); color: #fff !important;
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 6px 14px; border-radius: 30px;
}

.pc-blog-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--pc-muted); font-size: 14px; }
.pc-blog-meta i { color: var(--pc-orange); margin-right: 4px; }

.pc-blog-heading { font-size: 52px; font-weight: 400; line-height: 1.1; color: #000; margin: 6px 0 0; }
.pc-blog-heading span { display: block; color: var(--pc-orange); }

/* ---------- Listing page ---------- */

.pc-blog-section { position: relative; z-index: 0; padding-bottom: 70px; }
.pc-blog-section::before {
    content: ""; position: absolute; z-index: -1;
    top: 50px; left: 0; right: 0; bottom: 0; background: var(--pc-cream);
}
.pc-blog-panel {
    background: #fff; border-radius: var(--pc-radius) var(--pc-radius) 0 0;
    padding: 55px 40px 50px; margin-top: -50px; position: relative; z-index: 2;
}

.pc-blog-search { position: relative; }
.pc-blog-search input {
    width: 100%; border: 1px solid #d8d2c4; border-radius: 50px;
    padding: 13px 58px 13px 22px; font-size: 15px; background: var(--pc-cream);
    transition: border-color .3s, box-shadow .3s;
}
.pc-blog-search input:focus { border-color: var(--pc-orange); box-shadow: 0 0 0 4px rgba(241, 137, 2, .12); background: #fff; }
.pc-blog-search button {
    position: absolute; right: 5px; top: 5px; bottom: 5px; width: 44px;
    border: 0; border-radius: 50%; background: var(--pc-orange); color: #fff;
}
.pc-blog-search button:hover { background: var(--pc-teal); }

.pc-blog-cats { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid #A1A1A1; }
.pc-blog-cats a {
    padding: 8px 18px; border-radius: 40px; border: 1px solid #d8d2c4;
    font-size: 14px; font-weight: 600; color: #333; background: #fff;
}
.pc-blog-cats a span { color: var(--pc-muted); font-weight: 400; margin-left: 4px; }
.pc-blog-cats a:hover { border-color: var(--pc-orange); color: var(--pc-orange); }
.pc-blog-cats a.active { background: var(--pc-teal); border-color: var(--pc-teal); color: #fff; }
.pc-blog-cats a.active span { color: rgba(255, 255, 255, .7); }

.pc-blog-result-note { color: var(--pc-muted); text-align: left; margin-bottom: 25px; }
.pc-blog-result-note a { color: var(--pc-orange); margin-left: 10px; font-weight: 600; }

/* Featured */
.pc-blog-featured {
    display: grid; grid-template-columns: 1.15fr 1fr;
    background: var(--pc-cream); border-radius: var(--pc-radius); overflow: hidden;
    margin-bottom: 40px;
}
.pc-blog-featured__media { display: block; position: relative; min-height: 340px; overflow: hidden; }
.pc-blog-featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.pc-blog-featured:hover .pc-blog-featured__media img { transform: scale(1.04); }
.pc-blog-featured__body { padding: 45px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pc-blog-featured__body h3 { font-size: 34px; line-height: 1.2; font-weight: 600; margin: 0; }
.pc-blog-featured__body h3 a { color: #000; }
.pc-blog-featured__body h3 a:hover { color: var(--pc-orange); }
.pc-blog-featured__body p { color: var(--pc-body); font-size: 16px; line-height: 1.7; text-align: left; margin: 0; }

/* Card */
.pc-blog-card {
    display: flex; flex-direction: column; width: 100%;
    background: #fff; border: 1px solid var(--pc-line); border-radius: var(--pc-radius);
    overflow: hidden; transition: transform .35s, box-shadow .35s, border-color .35s;
}
.pc-blog-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(34, 76, 90, .12); border-color: transparent; }
.pc-blog-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--pc-cream); }
.pc-blog-card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.pc-blog-card:hover .pc-blog-card__media > img { transform: scale(1.06); }
.pc-blog-card__placeholder {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--pc-cream), #f6ead2);
}
.pc-blog-card__placeholder img { width: 45%; opacity: .55; }
.pc-blog-card__cat {
    position: absolute; left: 16px; bottom: 16px;
    background: var(--pc-orange); color: #fff; font-size: 11px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 30px;
}
.pc-blog-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.pc-blog-card__body .pc-blog-meta { font-size: 13px; }
.pc-blog-card__title { font-size: 22px; line-height: 1.3; font-weight: 600; margin: 0; }
.pc-blog-card__title a { color: #000; }
.pc-blog-card__title a:hover { color: var(--pc-orange); }
.pc-blog-card__excerpt { color: var(--pc-body); font-size: 15px; line-height: 1.65; text-align: left; margin: 0; flex: 1; }
.pc-blog-card .pc-blog-link { margin-top: 4px; }

.pc-blog-empty { text-align: center; padding: 60px 20px; }
.pc-blog-empty > i { font-size: 54px; color: var(--pc-orange); margin-bottom: 16px; display: block; }
.pc-blog-empty h3 { font-size: 30px; font-weight: 400; }
.pc-blog-empty p { text-align: center; color: var(--pc-muted); margin-bottom: 24px; }

.pc-blog-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.pc-blog-pagination a, .pc-blog-pagination span {
    min-width: 46px; height: 46px; padding: 0 12px; border-radius: 50px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 1px solid #d8d2c4; font-weight: 600; color: #000; background: #fff;
}
.pc-blog-pagination .dots { border: 0; color: var(--pc-muted); min-width: 24px; background: none; }
.pc-blog-pagination a:hover { border-color: var(--pc-orange); color: var(--pc-orange); }
.pc-blog-pagination .active { background: var(--pc-orange); border-color: var(--pc-orange); color: #fff; }
.pc-blog-pagination .pc-page-nav { padding: 0 20px; }
.pc-blog-pagination .pc-page-nav i { font-size: 12px; }
.pc-blog-pagination .disabled { color: #b5b0a6; border-color: #ebe6db; background: #faf8f3; cursor: not-allowed; }
.pc-blog-page-info { text-align: center !important; color: var(--pc-muted); font-size: 14px; margin: 14px 0 0; }
@media (max-width: 575.98px) {
    .pc-blog-pagination { gap: 6px; }
    .pc-blog-pagination a, .pc-blog-pagination span { min-width: 40px; height: 40px; padding: 0 10px; }
    .pc-blog-pagination .pc-page-nav { padding: 0 14px; }
}

/* ---------- Article page ---------- */

.pc-preview-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1001;
    background: var(--pc-teal); color: #fff; text-align: center;
    padding: 10px 16px; font-size: 14px;
}
.pc-preview-bar a { color: var(--pc-orange); font-weight: 700; margin-left: 12px; text-decoration: underline; }

.pc-article-hero {
    position: relative; overflow: hidden; color: #fff;
    min-height: 520px; display: flex; align-items: flex-end;
    background: var(--pc-teal);
}
.pc-article-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-article-hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 22%, rgba(23, 54, 63, .25) 45%, rgba(23, 54, 63, .92) 100%);
}
.pc-article-hero.no-image::after { background: linear-gradient(180deg, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 22%, rgba(23, 54, 63, .75) 45%, rgba(23, 54, 63, .97) 100%); }
.pc-article-hero__inner { position: relative; z-index: 2; padding-top: 170px; padding-bottom: 95px; }
.pc-article-hero h1 {
    color: #fff; font-size: 52px; line-height: 1.12; font-weight: 600;
    max-width: 950px; margin: 18px 0 22px; text-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}
.pc-breadcrumb {
    display: inline-flex; margin-bottom: 18px; font-size: 13.5px; font-weight: 600;
    background: rgba(255, 255, 255, .92); padding: 7px 16px; border-radius: 30px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}
.pc-breadcrumb .breadcrumb-item, .pc-breadcrumb .breadcrumb-item a { color: var(--pc-teal); }
.pc-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #a9b4b8; }
.pc-breadcrumb .breadcrumb-item a:hover { color: var(--pc-orange); }
.pc-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.pc-article-meta i { color: var(--pc-orange); margin-right: 6px; }
.pc-author { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.pc-avatar {
    width: 38px; height: 38px; border-radius: 50%; background: var(--pc-orange); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px;
    border: 2px solid rgba(255, 255, 255, .7);
}

.pc-reading-progress { position: sticky; top: 0; z-index: 998; height: 4px; background: transparent; }
.pc-reading-progress span { display: block; height: 100%; width: 0; background: var(--pc-orange); transition: width .1s linear; }

.pc-article-section { position: relative; z-index: 1; padding-bottom: 80px; }
.pc-article {
    background: #fff; border-radius: var(--pc-radius) var(--pc-radius) 0 0;
    margin-top: -60px; padding: 50px 50px 30px; position: relative; z-index: 2;
}
.pc-article-lead {
    font-size: 21px; line-height: 1.6; color: var(--pc-teal); font-weight: 400; text-align: left;
    padding: 0 0 26px; margin: 0 0 30px; border-bottom: 1px solid var(--pc-line);
}

/* TOC */
.pc-toc { background: var(--pc-cream); border-radius: 16px; padding: 24px 24px 18px; margin-bottom: 26px; }
.pc-toc h4, .pc-toc summary {
    font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--pc-teal); margin: 0 0 12px; cursor: pointer;
}
.pc-toc summary { margin: 0; list-style: none; }
.pc-toc summary::-webkit-details-marker { display: none; }
.pc-toc summary::after { content: "+"; float: right; color: var(--pc-orange); font-size: 20px; line-height: 1; }
.pc-toc[open] summary::after { content: "–"; }
.pc-toc[open] summary { margin-bottom: 12px; }
.pc-toc i { color: var(--pc-orange); margin-right: 6px; }
.pc-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; max-height: 55vh; overflow-y: auto; }
.pc-toc li { margin: 0; }
.pc-toc li.lvl-3 { padding-left: 18px; }
.pc-toc li.lvl-2 { counter-increment: toc; }
.pc-toc a {
    display: block; padding: 7px 0 7px 14px; border-left: 2px solid #e8dfcb;
    font-size: 15px; line-height: 1.4; color: #333;
}
.pc-toc li.lvl-2 > a::before { content: counter(toc, decimal-leading-zero) ". "; color: var(--pc-orange); font-weight: 700; }
.pc-toc a:hover, .pc-toc a.active { color: var(--pc-orange); border-left-color: var(--pc-orange); }
.pc-toc a.active { font-weight: 600; }
.pc-toc--inline { margin-bottom: 30px; }

/* Sidebar */
.pc-sidebar { position: sticky; top: 110px; padding-top: 30px; }
.pc-cta-card {
    position: relative; overflow: hidden;
    background: var(--pc-teal); color: #fff; border-radius: var(--pc-radius);
    padding: 32px 28px; margin-bottom: 26px;
}
.pc-cta-card::after {
    content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%;
    right: -80px; top: -80px; background: rgba(241, 137, 2, .35);
}
.pc-cta-card__icon {
    width: 54px; height: 54px; border-radius: 50%; background: var(--pc-orange);
    display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
    position: relative; z-index: 1;
}
.pc-cta-card h4 { color: #fff; font-size: 26px; font-weight: 400; line-height: 1.2; position: relative; z-index: 1; }
.pc-cta-card p { color: rgba(255, 255, 255, .8); text-align: left; line-height: 1.6; font-size: 15px; }
.pc-cta-card .pc-btn { width: 100%; justify-content: center; margin: 6px 0 14px; }
.pc-cta-card__link { color: #fff; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.pc-cta-card__link:hover { color: var(--pc-orange); }

.pc-recent { border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 24px; }
.pc-recent h4 { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pc-teal); margin-bottom: 14px; }
.pc-recent-item { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--pc-line); }
.pc-recent-item:first-of-type { border-top: 0; padding-top: 0; }
.pc-recent-thumb { flex: 0 0 76px; height: 60px; border-radius: 10px; overflow: hidden; background: var(--pc-cream); display: flex; align-items: center; justify-content: center; }
.pc-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pc-recent-thumb img.logo { width: 70%; height: auto; opacity: .6; }
.pc-recent-item strong { display: block; color: #000; font-size: 15px; line-height: 1.35; font-weight: 600 !important; }
.pc-recent-item small { color: var(--pc-muted); }
.pc-recent-item:hover strong { color: var(--pc-orange); }

/* FAQ */
.pc-faq { margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--pc-line); }
.pc-faq h2 { font-size: 40px; font-weight: 400; line-height: 1.15; margin-bottom: 26px; color: #000; }
.pc-faq h2 span { color: var(--pc-orange); }
.pc-faq-item { border: 1px solid var(--pc-line); border-radius: 14px; margin-bottom: 12px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.pc-faq-item[open] { border-color: var(--pc-orange); box-shadow: 0 8px 24px rgba(241, 137, 2, .08); }
.pc-faq-item summary {
    list-style: none; cursor: pointer; padding: 18px 60px 18px 22px; position: relative;
    font-size: 18px; font-weight: 600; color: #000; line-height: 1.4;
}
.pc-faq-item summary::-webkit-details-marker { display: none; }
.pc-faq-item summary::after {
    content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; border-radius: 50%; background: var(--pc-cream); color: var(--pc-orange);
    display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 400;
}
.pc-faq-item[open] summary::after { content: "–"; background: var(--pc-orange); color: #fff; }
.pc-faq-answer { padding: 0 22px 20px; color: var(--pc-body); font-size: 16px; line-height: 1.75; }

/* Tags / share / prev-next */
.pc-article-foot {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px;
    margin-top: 40px; padding: 24px 0; border-top: 1px solid var(--pc-line); border-bottom: 1px solid var(--pc-line);
}
.pc-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pc-tags > i { color: var(--pc-orange); margin-right: 4px; }
.pc-tags a { background: var(--pc-cream); color: var(--pc-teal); font-size: 14px; font-weight: 600; padding: 5px 14px; border-radius: 30px; }
.pc-tags a:hover { background: var(--pc-orange); color: #fff; }
.pc-share { display: flex; align-items: center; gap: 8px; }
.pc-share span { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--pc-muted); margin-right: 4px; }
.pc-share a, .pc-share button {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ddd; background: #fff;
    display: inline-flex; align-items: center; justify-content: center; color: var(--pc-teal); font-size: 15px;
    transition: all .3s;
}
.pc-share a:hover, .pc-share button:hover, .pc-share button.copied { background: var(--pc-orange); border-color: var(--pc-orange); color: #fff; }

.pc-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.pc-post-nav a {
    display: block; padding: 20px 22px; border-radius: 16px; background: var(--pc-cream);
    color: #000; font-weight: 600; font-size: 17px; line-height: 1.35;
}
.pc-post-nav a small { display: block; color: var(--pc-orange); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.pc-post-nav a.next { text-align: right; grid-column: 2; }
.pc-post-nav a:hover { background: var(--pc-teal); color: #fff; }

.pc-related { background: var(--pc-cream); padding: 80px 0; }

/* ==========================================================
   RICH TEXT CONTENT (.blog-content)
   Also loaded inside the admin editor so authors see the
   final look while writing.
   ========================================================== */

.blog-content {
    font-family: var(--pc-font);
    font-size: 18px; line-height: 1.8; color: var(--pc-body);
    word-wrap: break-word; overflow-wrap: anywhere;
}
.blog-content > *:first-child { margin-top: 0; }
.blog-content > *:last-child { margin-bottom: 0; }

.blog-content p { font-size: inherit; line-height: inherit; text-align: left; font-weight: 400; margin: 0 0 1.35em; }

.blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
    font-family: var(--pc-font); color: #000; line-height: 1.25; scroll-margin-top: 120px;
}
.blog-content h2 { font-size: 34px; font-weight: 600; margin: 1.8em 0 .7em; padding-left: 18px; border-left: 4px solid var(--pc-orange); }
.blog-content h3 { font-size: 26px; font-weight: 600; margin: 1.6em 0 .6em; color: var(--pc-teal); }
.blog-content h4 { font-size: 21px; font-weight: 700; margin: 1.5em 0 .5em; }
.blog-content h5, .blog-content h6 { font-size: 18px; font-weight: 700; margin: 1.4em 0 .5em; text-transform: uppercase; letter-spacing: .04em; }

.blog-content a { color: var(--pc-orange); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: 600; }
.blog-content a:hover { color: var(--pc-teal); }

.blog-content strong, .blog-content b { font-weight: 700 !important; color: #111; }
.blog-content em, .blog-content i, .blog-content cite { font-style: italic; }
.blog-content u, .blog-content ins { text-decoration: underline; }
.blog-content s, .blog-content del { text-decoration: line-through; opacity: .75; }
.blog-content mark { background: #ffe7c2; padding: 0 .2em; border-radius: 3px; }
.blog-content sub, .blog-content sup { font-size: .7em; }
.blog-content small { font-size: .85em; }
.blog-content abbr[title] { text-decoration: underline dotted; cursor: help; }

.blog-content ul, .blog-content ol { margin: 0 0 1.4em; padding-left: 1.6em; }
.blog-content li { margin-bottom: .45em; padding-left: .3em; }
.blog-content li > ul, .blog-content li > ol { margin: .45em 0 0; }
.blog-content ul { list-style: none; padding-left: 1.4em; }
.blog-content ul > li { position: relative; }
.blog-content ul > li::before {
    content: ""; position: absolute; left: -1.1em; top: .72em;
    width: 8px; height: 8px; border-radius: 50%; background: var(--pc-orange);
}
.blog-content ul ul > li::before { background: transparent; border: 2px solid var(--pc-orange); width: 7px; height: 7px; }
.blog-content ul[style*="list-style-type"] { list-style: initial; }
.blog-content ul[style*="list-style-type"] > li::before { display: none; }
.blog-content ol > li::marker { color: var(--pc-orange); font-weight: 700; }
.blog-content dl { margin: 0 0 1.4em; }
.blog-content dt { font-weight: 700; color: #000; }
.blog-content dd { margin: 0 0 .8em 1.2em; }

.blog-content blockquote {
    position: relative; margin: 2em 0; padding: 26px 30px 26px 70px;
    background: var(--pc-cream); border-radius: 0 16px 16px 0; border-left: 4px solid var(--pc-orange);
    font-size: 20px; line-height: 1.6; color: var(--pc-teal); font-style: italic;
}
.blog-content blockquote::before {
    content: "\201C"; position: absolute; left: 20px; top: 6px;
    font-family: Georgia, serif; font-size: 70px; line-height: 1; color: var(--pc-orange); font-style: normal;
}
.blog-content blockquote p { margin-bottom: .6em; }
.blog-content blockquote p:last-child { margin-bottom: 0; }
.blog-content blockquote cite { display: block; margin-top: 10px; font-size: 15px; color: var(--pc-muted); font-style: normal; font-weight: 600; }

.blog-content hr { border: 0; height: 1px; margin: 2.5em 0; background: linear-gradient(90deg, transparent, #d8d2c4, transparent); opacity: 1; }

.blog-content img { max-width: 100%; height: auto; border-radius: 14px; display: inline-block; vertical-align: middle; }
.blog-content p > img:only-child { display: block; margin: 0 auto; }
.blog-content img[style*="float: left"], .blog-content img[style*="float:left"] { margin: .3em 1.5em 1em 0; }
.blog-content img[style*="float: right"], .blog-content img[style*="float:right"] { margin: .3em 0 1em 1.5em; }
.blog-content figure { margin: 2em 0; display: table; max-width: 100%; }
.blog-content figure.image { display: table; }
.blog-content figure.align-center, .blog-content figure[style*="margin-left: auto"] { margin-left: auto; margin-right: auto; }
.blog-content figure.align-left { float: left; margin: .3em 1.5em 1em 0; }
.blog-content figure.align-right { float: right; margin: .3em 0 1em 1.5em; }
.blog-content figure img { display: block; margin: 0 auto; }
.blog-content figcaption {
    display: table-caption; caption-side: bottom;
    font-size: 14px; color: var(--pc-muted); text-align: center; padding-top: 10px; font-style: italic;
}

.blog-content code {
    font-family: Consolas, Monaco, "Courier New", monospace; font-size: .88em;
    background: #f4efe4; color: #a24e00; padding: .15em .45em; border-radius: 5px;
}
.blog-content pre {
    background: #17363f; color: #e9f1f3; padding: 22px 24px; border-radius: 14px;
    overflow-x: auto; font-size: 15px; line-height: 1.6; margin: 0 0 1.6em; white-space: pre;
}
.blog-content pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.blog-content kbd { background: #222; color: #fff; padding: .1em .45em; border-radius: 4px; font-size: .85em; }

.blog-content .blog-table-wrap { width: 100%; overflow-x: auto; margin: 0 0 1.8em; border-radius: 14px; border: 1px solid var(--pc-line); -webkit-overflow-scrolling: touch; }
.blog-content table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; margin: 0 0 1.8em; }
.blog-content .blog-table-wrap table { margin: 0; min-width: 520px; }
.blog-content caption { caption-side: top; text-align: left; font-weight: 700; color: var(--pc-teal); padding: 12px 16px 8px; }
.blog-content th, .blog-content td { padding: 13px 16px; border: 1px solid var(--pc-line); text-align: left; vertical-align: top; }
.blog-content thead th, .blog-content tr:first-child th { background: var(--pc-teal); color: #fff; font-weight: 600; border-color: var(--pc-teal); }
.blog-content tbody tr:nth-child(even) td { background: #fdfaf3; }
.blog-content tbody tr:hover td { background: #fff4e3; }
.blog-content .blog-table-wrap th:first-child, .blog-content .blog-table-wrap td:first-child { border-left: 0; }
.blog-content .blog-table-wrap th:last-child, .blog-content .blog-table-wrap td:last-child { border-right: 0; }
.blog-content .blog-table-wrap tr:first-child > * { border-top: 0; }
.blog-content .blog-table-wrap tr:last-child > td { border-bottom: 0; }

.blog-content .blog-embed, .blog-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; margin: 0 0 1.6em; display: block; }
.blog-content .blog-embed iframe { margin: 0; height: 100%; }
.blog-content .mce-preview-object { display: block; }

.blog-content [style*="text-align: center"] { text-align: center; }
.blog-content [style*="text-align: right"] { text-align: right; }
.blog-content [style*="text-align: justify"] { text-align: justify; }
.blog-content::after { content: ""; display: table; clear: both; }

/* ---------- Responsive ---------- */

@media (max-width: 1199.98px) {
    .pc-article { padding: 40px 34px 24px; }
    .pc-article-hero h1 { font-size: 44px; }
}

@media (max-width: 991.98px) {
    .pc-blog-heading { font-size: 38px; }
    .pc-blog-featured { grid-template-columns: 1fr; }
    .pc-blog-featured__media { min-height: 260px; }
    .pc-blog-featured__body { padding: 30px; }
    .pc-blog-featured__body h3 { font-size: 28px; }
    .pc-sidebar { position: static; padding-top: 0; }
    .pc-article-hero { min-height: 420px; }
    .pc-article-hero__inner { padding-top: 130px; padding-bottom: 85px; }
}

@media (max-width: 767.98px) {
    .pc-blog-panel { padding: 30px 18px 30px; margin-top: -20px; }
    .pc-blog-heading { font-size: 30px; text-align: center; }
    .pc-blog-section .home-head { display: block; text-align: center; }
    .pc-blog-cats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 18px; margin-bottom: 22px; scrollbar-width: none; }
    .pc-blog-cats::-webkit-scrollbar { display: none; }
    .pc-blog-cats a { white-space: nowrap; }
    .pc-blog-card__title { font-size: 20px; }

    .pc-article-hero { min-height: 380px; margin-top: 64px; }
    .pc-article-hero::after { background: linear-gradient(180deg, rgba(23, 54, 63, .2) 0%, rgba(23, 54, 63, .93) 75%); }
    .pc-article-hero__inner { padding-top: 60px; padding-bottom: 60px; }
    .pc-article-hero h1 { font-size: 30px; margin: 12px 0 16px; }
    .pc-article-meta { font-size: 13.5px; gap: 8px 16px; }
    .pc-breadcrumb { display: none; }

    .pc-article { margin-top: -30px; padding: 28px 18px 18px; border-radius: 16px 16px 0 0; }
    .pc-article-lead { font-size: 18px; }
    .pc-faq h2 { font-size: 30px; }
    .pc-faq-item summary { font-size: 16px; padding: 16px 54px 16px 16px; }
    .pc-article-foot { flex-direction: column; align-items: flex-start; }
    .pc-post-nav { grid-template-columns: 1fr; }
    .pc-post-nav a.next { grid-column: 1; }
    .pc-related { padding: 50px 0; }

    .blog-content { font-size: 17px; line-height: 1.75; }
    .blog-content h2 { font-size: 26px; padding-left: 14px; }
    .blog-content h3 { font-size: 22px; }
    .blog-content h4 { font-size: 19px; }
    .blog-content blockquote { padding: 20px 18px 20px 52px; font-size: 18px; }
    .blog-content blockquote::before { left: 12px; font-size: 54px; }
    .blog-content figure.align-left, .blog-content figure.align-right,
    .blog-content img[style*="float"] { float: none !important; margin: 1.5em auto !important; display: block; }
}
