body.single-post .blog-single-page {
background: var(--section-bg-light, #f8f9fa);
}
body.single-post .blog-single {
display: block;
}
body.single-post .blog-breadcrumb{
font-size: 14px;
margin-bottom: 16px;
color: var(--body-text-color, #666);
padding-top: 60px;
}
body.single-post .blog-breadcrumb a{
color: var(--accent-color, #ff9933);
text-decoration: none;
}
body.single-post .blog-breadcrumb span{
color: var(--body-text-color, #333);
}
body.single-post .blog-single__layout {
display: grid;
grid-template-columns: 850px 280px;
gap: 30px;
align-items: start;
grid-template-areas: "main sidebar";
}
body.single-post .blog-single__article {
grid-area: main;
}
body.single-post .blog-single__sidebar {
grid-area: sidebar;
}
body.single-post .ss-card {
background: #fff;
border-radius: 10px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
padding: 20px;
padding-right: 0;
}
body.single-post .sidebar-widget.ss-card{
padding-right: 20px;
} body.single-post .toc-card {
position: sticky;
top: 20px;
}
body.single-post .toc-card__title {
font-size: 16px;
font-weight: 600;
margin: 0;
padding: 8px 12px;
border-radius: 8px;
background: #e3f2fd;
}
body.single-post .toc-card__nav a {
display: block;
padding: 8px 0 8px 12px;
color: var(--body-text-color, #666);
text-decoration: none;
border-left: 2px solid transparent;
transition: color 0.2s ease, border-color 0.2s ease;
}
body.single-post .toc-card__nav a:hover {
color: var(--accent-color, #ff9933);
}
body.single-post .toc-card__nav a.active {
color: var(--accent-color, #ff9933);
border-left-color: var(--accent-color, #ff9933);
font-weight: 600;
}
body.single-post .toc-card__nav .toc-h2 { padding-left: 12px; }
body.single-post .toc-card__nav .toc-h3 { padding-left: 24px; font-size: 13px; }
body.single-post .toc-card__nav .toc-h4 { padding-left: 36px; font-size: 12px; } body.single-post .blog-single__article {
padding: 28px;
}
body.single-post .article-categories {
margin-bottom: 12px;
display: flex;
flex-wrap: wrap;
gap: 8px;
}
body.single-post .article-category {
display: inline-flex;
align-items: center;
padding: 6px 12px;
border-radius: 999px;
background: #e3f2fd;
color: #1976d2;
font-size: 13px;
text-decoration: none;
}
body.single-post .article-title {
font-size: 30px;
line-height: 1.35;
margin: 0 0 16px 0;
color: var(--heading-primary-color, #1b3a5f);
}
body.single-post .article-meta {
display: flex;
flex-wrap: wrap;
gap: 18px;
padding-bottom: 18px;
margin-bottom: 24px;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
color: var(--body-text-color, #666);
font-size: 14px;
}
body.single-post .article-meta__item {
display: inline-flex;
align-items: center;
gap: 6px;
}
body.single-post .article-featured {
margin-bottom: 24px;
border-radius: 10px;
overflow: hidden;
}
body.single-post .article-featured__img {
width: 100%;
height: auto;
display: block;
object-fit: cover;
} body.single-post .article-share__actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
body.single-post .share-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 10px;
border: 1px solid rgba(0, 0, 0, 0.08);
background: #fff;
text-decoration: none;
cursor: pointer;
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
body.single-post .share-btn:hover {
transform: translateY(-1px);
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}
body.single-post .share-btn__icon {
width: 20px;
height: 20px;
display: block;
} body.single-post .article-content {
font-size: 16px;
line-height: 1.8;
color: var(--body-text-color, #333);
} body.single-post .article-content span[style*="font-size:18px"],
body.single-post .article-content span[style*="font-size: 18px"],
body.single-post .article-content [style*="font-size:18px"],
body.single-post .article-content [style*="font-size: 18px"],
body.single-post .article-content p[style*="font-size:18px"],
body.single-post .article-content p[style*="font-size: 18px"],
body.single-post .article-content div[style*="font-size:18px"],
body.single-post .article-content div[style*="font-size: 18px"] {
font-size: 16px !important;
} body.single-post .article-content p:not([style*="font-size"]),
body.single-post .article-content span:not([style*="font-size"]),
body.single-post .article-content div:not([style*="font-size"]) {
font-size: 16px;
}
body.single-post .article-content h1,
body.single-post .article-content h2,
body.single-post .article-content h3,
body.single-post .article-content h4,
body.single-post .article-content h5,
body.single-post .article-content h6 {
margin-top: 30px;
margin-bottom: 15px;
font-weight: 600;
color: var(--heading-primary-color, #1b3a5f);
scroll-margin-top: 90px;
}
body.single-post .article-content h2 { font-size: 26px; }
body.single-post .article-content h3 { font-size: 22px; }
body.single-post .article-content h4 { font-size: 18px; }
body.single-post .article-content p { margin-bottom: 20px; }
body.single-post .article-content img {
max-width: 100%;
border-radius: 8px;
margin: 20px 0;
}
body.single-post .article-content a {
color: var(--accent-color, #ff9933);
text-decoration: underline;
}
body.single-post .article-content ul,
body.single-post .article-content ol {
margin: 15px 0;
padding-left: 24px;
list-style-position: outside;
}
body.single-post .article-content ul {
list-style-type: disc;
}
body.single-post .article-content ol {
list-style-type: decimal;
}
body.single-post .article-content blockquote {
border-left: 4px solid var(--accent-color, #ff9933);
padding-left: 18px;
margin: 20px 0;
color: #666;
font-style: italic;
}
body.single-post .article-content code {
background: #f5f5f5;
padding: 2px 6px;
border-radius: 3px;
font-family: 'Courier New', monospace;
font-size: 14px;
}
body.single-post .article-content pre {
background: #2d2d2d;
color: #f8f8f2;
padding: 18px;
border-radius: 8px;
overflow-x: auto;
} body.single-post .article-tags {
margin-top: 28px;
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
}
body.single-post .article-tag {
display: inline-flex;
padding: 6px 12px;
background: #f5f5f5;
border-radius: 6px;
color: var(--body-text-color, #666);
text-decoration: none;
font-size: 13px;
}
body.single-post .article-share {
margin-top: 28px;
padding: 18px;
}
body.single-post .article-share__title {
margin: 0 0 14px 0;
font-size: 16px;
}
body.single-post .article-share__actions {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
body.single-post .share-btn {
width: 44px;
height: 44px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: #f5f5f5;
text-decoration: none;
transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
border: none;
cursor: pointer;
}
body.single-post .share-btn:hover {
transform: scale(1.08);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
} body.single-post .ss-toast {
position: fixed;
left: 50%;
bottom: 22px;
transform: translateX(-50%) translateY(12px);
background: rgba(27, 58, 95, 0.92);
color: #fff;
padding: 10px 14px;
border-radius: 999px;
font-size: 13px;
line-height: 1.2;
opacity: 0;
transition: opacity 0.2s ease, transform 0.2s ease;
z-index: 9999;
pointer-events: none;
max-width: min(92vw, 520px);
text-align: center;
}
body.single-post .ss-toast.is-visible {
opacity: 1;
transform: translateX(-50%) translateY(0);
} body.single-post .blog-single__sidebar .sidebar-sticky {
position: sticky;
top: 20px;
display: flex;
flex-direction: column;
gap: 18px;
}
body.single-post .sidebar-widget__title {
font-size: 16px;
font-weight: 700;
margin: 0 0 14px 0;
padding-bottom: 10px;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
color: var(--heading-primary-color, #1B3A5F);
}
body.single-post .sidebar-categories {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 10px;
}
body.single-post .sidebar-category {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 12px;
border-radius: 8px;
background: #f8f9fa;
color: var(--body-text-color, #333);
text-decoration: none;
transition: background 0.2s ease, color 0.2s ease;
}
body.single-post .sidebar-category.is-active {
background: #e3f2fd;
color: #1976d2;
}
body.single-post .sidebar-category__count {
font-size: 12px;
background: #e0e0e0;
padding: 2px 8px;
border-radius: 999px;
}
body.single-post .sidebar-posts {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 12px;
}
body.single-post .sidebar-post {
text-decoration: none;
color: var(--body-text-color, #333);
display: block;
}
body.single-post .sidebar-post__title {
display: block;
line-height: 1.5;
margin-bottom: 4px;
}
body.single-post .sidebar-post__meta {
font-size: 12px;
color: #999;
}
body.single-post .sidebar-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
body.single-post .sidebar-tag {
display: inline-flex;
padding: 6px 10px;
background: #f5f5f5;
border-radius: 6px;
text-decoration: none;
color: var(--body-text-color, #666);
font-size: 12px;
} body.single-post .related-posts {
margin-top: 30px;
}
body.single-post .related-posts__title {
margin: 0 0 16px 0;
font-size: 18px;
font-weight: 600;
}
body.single-post .related-posts__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 18px;
}
body.single-post .related-card {
border: 1px solid rgba(0, 0, 0, 0.06);
border-radius: 10px;
overflow: hidden;
background: #fff;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.single-post .related-card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
body.single-post .related-card__thumb {
display: block;
width: 100%;
overflow: hidden;
background-color: #f5f5f5;
}
body.single-post .related-card__img {
width: 100%;
height: 170px;
object-fit: cover;
display: block;
transition: transform 0.3s ease;
}
body.single-post .related-card:hover .related-card__img {
transform: scale(1.05);
}
body.single-post .related-card__body {
padding: 12px 14px 14px;
}
body.single-post .related-card__title {
font-size: 15px;
margin: 0 0 8px 0;
line-height: 1.4;
}
body.single-post .related-card__title a {
text-decoration: none;
color: var(--heading-primary-color, #1b3a5f);
}
body.single-post .related-card__title a:hover {
color: var(--accent-color, #ff9933);
}
body.single-post .related-card__meta {
font-size: 12px;
color: #999;
} body.single-post .comments-section {
margin-top: 30px;
} body.single-post .related-empty {
color: #999;
} body.single-post .article-cta {
margin-top: 30px;
padding: 30px;
text-align: center;
background: linear-gradient(135deg, var(--section-bg-light, #f8f9fa) 0%, #ffffff 100%);
border-left: 4px solid var(--accent-color, #ff9933);
}
body.single-post .article-cta__title {
font-size: 22px;
font-weight: 600;
margin: 0 0 12px 0;
color: var(--heading-primary-color, #1b3a5f);
}
body.single-post .article-cta__text {
font-size: 16px;
color: var(--body-text-color, #666);
margin: 0 0 20px 0;
line-height: 1.6;
}
body.single-post .article-cta__btn {
display: inline-block;
padding: 12px 30px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
text-decoration: none;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.single-post .article-cta__btn,
body.single-post .article-cta__btn:link,
body.single-post .article-cta__btn:visited,
body.single-post .article-cta__btn:hover,
body.single-post .article-cta__btn:active{
color: #fff;
}
body.single-post .article-cta__btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
} body.single-post .toc-card__header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
padding-bottom: 12px;
border-bottom: 2px solid var(--accent-color, #ff9933);
}
body.single-post .toc-close {
display: none;
background: none;
border: none;
font-size: 28px;
line-height: 1;
color: var(--body-text-color, #666);
cursor: pointer;
padding: 0;
width: 30px;
height: 30px;
align-items: center;
justify-content: center;
transition: color 0.2s ease;
}
body.single-post .toc-close:hover {
color: var(--accent-color, #ff9933);
}
body.single-post .toc-card__title {
margin: 0;
} body.single-post .toc-toggle {
display: none;
position: fixed;
left: 20px;
bottom: 30px;
z-index: 1001;
background: var(--accent-color, #ff9933);
color: white;
border: none;
border-radius: 50%;
width: 56px;
height: 56px;
font-size: 24px;
cursor: pointer;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
transition: transform 0.2s ease, box-shadow 0.2s ease;
align-items: center;
justify-content: center;
}
body.single-post .toc-toggle:hover {
transform: scale(1.1);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
body.single-post .toc-toggle__icon {
display: block;
} @media (max-width: 1200px) {
body.single-post .blog-single__layout {
grid-template-columns: 1fr;
}
body.single-post .toc-card,
body.single-post .sidebar-sticky {
position: static;
}
}
@media (max-width: 1024px) { body.single-post .toc-toggle {
display: flex;
}
body.single-post .blog-single__toc {
position: fixed;
top: 0;
left: -320px;
width: 300px;
height: 100vh;
background: #fff;
z-index: 1000;
padding: 20px;
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
transition: transform 0.3s ease;
overflow-y: auto;
}
body.single-post .blog-single__toc.is-visible {
transform: translateX(320px);
}
body.single-post .toc-card {
box-shadow: none;
padding: 0;
background: transparent;
}
body.single-post .toc-close {
display: flex;
}
body.single-post .toc-card__header {
position: sticky;
top: 0;
background: #fff;
z-index: 10;
padding: 15px 0;
margin-bottom: 15px;
}
}
@media (max-width: 768px) {
body.single-post .blog-single__article {
padding: 20px;
}
body.single-post .article-title {
font-size: 24px;
}
body.single-post .related-posts__grid {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
body.single-post .article-cta {
padding: 24px 20px;
}
body.single-post .article-cta__title {
font-size: 20px;
}
body.single-post .article-cta__text {
font-size: 15px;
}
}  .blog-single-page .article-content .wp-block-table {
overflow-x: auto;
padding-bottom: 1em;
margin-bottom: 1.5em;
}
.blog-single-page .article-content table {
width: 100%;
border-collapse: collapse;
border-radius: 12px;
border-style: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
font-size: 15px;
}
.blog-single-page .article-content th,
.blog-single-page .article-content td {
padding: 12px 16px;
text-align: left;
border-bottom: 1px solid rgba(0,0,0,0.06);
}
.blog-single-page .article-content thead th {
background-color: #f8fafc;
font-weight: 600;
color: #334155;
}
.blog-single-page .article-content tbody tr:nth-child(even) {
background-color: #fcfdfe;
}
.blog-single-page .article-content tbody tr:hover {
background-color: #f4f6f8;
} .blog-single-page .article-content p, 
.blog-single-page .article-content li { unicode-bidi: isolate;
}
.blog-single-page .article-content p .emoji, 
.blog-single-page .article-content li .emoji {
display: inline-block;
vertical-align: -0.15em;
font-size: 1.1em;
}
body.single-post .blog-breadcrumb{font-size:14px;margin-bottom:16px;color:var(--body-text-color,#666)}
body.single-post .blog-breadcrumb a{color:var(--accent-color,#ff9933);text-decoration:none}
body.single-post .blog-breadcrumb span{color:var(--body-text-color,#333)}