:root {
  --primary-color: var(--vtc-primary-color, #ff5722);
  --dark-color: var(--vtc-heading-color, #343a40);
  --light-gray: var(--vtc-section-bg, #f8f9fa);
  --white-color: var(--vtc-card-bg, #fff);
  --border-color: var(--vtc-border-color, #dee2e6);
}
html { scroll-behavior: smooth; }
body { font-family: "Plus Jakarta Sans", sans-serif; background-color: var(--light-gray); color: var(--dark-color); }
.reading-progress-bar { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background-color: var(--primary-color); z-index: 1050; transition: width 0.2s ease-out; }
.post-hero { height: 50vh; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; color: var(--white-color); text-align: center; }
.post-hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); }
.hero-content { position: relative; z-index: 2; padding: 2rem; }
.hero-content .post-category a { background-color: var(--primary-color); color: var(--white-color); padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.9rem; text-decoration: none; font-weight: 600; }
.hero-content .entry-title { font-size: 3rem; font-weight: 800; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.2; color: var(--white-color); }
.hero-content .entry-meta { font-size: 0.9rem; }
.hero-content .entry-meta .meta-item { margin: 0 10px; }
.hero-content .entry-meta a { color: var(--white-color); text-decoration: none; }
.hero-content .entry-meta a:hover { text-decoration: underline; }
.site-main { position: relative; z-index: 5; margin-top: -100px; padding-bottom: 5rem; }
.site-main > .container { background-color: var(--white-color); border-radius: 15px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); padding: 3rem; }
.entry-content { font-size: 1.1rem; line-height: 1.8; }
.entry-content h2, .entry-content h3 { font-weight: 700; margin-top: 2.5rem; margin-bottom: 1.5rem; }
.entry-content a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.entry-content a:hover { text-decoration: underline; }
.entry-content blockquote { background-color: var(--light-gray); border-left: 4px solid var(--primary-color); padding: 1.5rem 2rem; margin: 2rem 0; font-size: 1.1rem; font-style: italic; color: #555; }
.entry-content blockquote p { margin-bottom: 0; }
.entry-content img { max-width: 100%; height: auto; border-radius: 10px;}
.entry-content .code-block-wrapper { position: relative; margin: 2rem 0; }
.entry-content pre { background-color: #2d2d2d; color: #f8f8f2; padding: 2rem 1.5rem 1.5rem; border-radius: 10px; white-space: pre-wrap; word-wrap: break-word; margin: 0; }
.copy-code-button { position: absolute; top: 10px; right: 10px; background-color: #444; color: #ccc; border: none; padding: 5px 10px; border-radius: 5px; font-size: 0.8rem; cursor: pointer; transition: all 0.2s ease; }
.copy-code-button:hover { background-color: #555; color: var(--white-color); }
.copy-code-button.copied { background-color: #28a745; color: var(--white-color); }
.entry-content code { font-family: "Source Code Pro", monospace; font-size: 0.95rem; }
#toc-container { background-color: var(--light-gray); border-left: 4px solid var(--primary-color); padding: 1.5rem 2rem; margin-bottom: 2.5rem; position: relative; }
#toc-container .widget-title { font-size: 1.3rem; margin-bottom: 1rem; padding-bottom: 0; border-bottom: none; }
#toc-container ul { list-style-type: none; padding-left: 0; margin-bottom: 0; }
#toc-container ul li { margin-bottom: 0.5rem; }
#toc-container ul li a { text-decoration: none; color: var(--dark-color); font-weight: 500; transition: color 0.2s ease; }
#toc-container ul li a:hover { color: var(--primary-color); }
.floating-social-share { position: fixed; top: 50%; left: 20px; transform: translateY(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
.floating-social-share a { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 50%; color: var(--white-color); text-decoration: none; font-size: 1.2rem; transition: transform 0.3s ease; }
.floating-social-share a:hover { transform: scale(1.15); }
.ss-facebook { background-color: #1877f2; }
.ss-twitter { background-color: #1da1f2; }
.ss-linkedin { background-color: #0a66c2; }
.ss-whatsapp { background-color: #25d366; }
.author-box { display: flex; align-items: flex-start; gap: 20px; background-color: var(--white-color); padding: 2rem; border-radius: 15px; margin-top: 3rem; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); }
.author-box .author-avatar img { width: 80px; height: 80px; border-radius: 50%; }
.author-box .author-info h4 { font-weight: 700; margin-bottom: 0.5rem; }
.sidebar { position: sticky; top: 20px; }
.widget { background-color: var(--white-color); padding: 1.5rem; border-radius: 15px; margin-bottom: 2rem; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); }
.widget-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--primary-color); }
.widget ul { list-style: none; padding: 0; }
.widget ul li { margin-bottom: 0.75rem; }
.widget ul li a { text-decoration: none; color: var(--dark-color); transition: color 0.3s ease; }
.widget ul li a:hover { color: var(--primary-color); }
.mobile-top-bar, .mobile-bottom-nav { display: none; }
@media (max-width: 767.98px) {
  body.single-post .floating-social-share, body.single-post .sidebar, body.single-post .post-hero .entry-meta { display: none !important; }
  body.single-post { padding-top: 60px !important; padding-bottom: 70px !important; }
  body.single-post .site-main { padding-top: 1rem; padding-bottom: 1rem; }
  body.single-post .mobile-top-bar { display: flex !important; align-items: center; justify-content: space-between; position: fixed; top: 0; left: 0; right: 0; height: 60px; background-color: var(--white-color); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); padding: 0 1rem; z-index: 1030; }
  body.single-post .mobile-top-bar .back-button, body.single-post .mobile-top-bar .share-button { font-size: 1.2rem; color: var(--dark-color); background: none; border: none; }
  body.single-post .mobile-top-bar .post-title { font-size: 1rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; padding: 0 10px; }
  body.single-post .post-hero { height: 40vh; }
  body.single-post .hero-content .entry-title { font-size: 1.8rem; }
  body.single-post .entry-content { font-size: 1rem; line-height: 1.7; }
  body.single-post .mobile-bottom-nav { display: flex !important; justify-content: space-around; align-items: center; position: fixed; bottom: 0; left: 0; right: 0; height: 70px; background-color: var(--white-color); box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); z-index: 1030; }
  body.single-post .mobile-bottom-nav .nav-item { position: relative; }
  body.single-post .mobile-bottom-nav .nav-item:not(.cta) a { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #6c757d; font-size: 0.7rem; gap: 4px; }
  body.single-post .mobile-bottom-nav .nav-item i { font-size: 1.4rem; }
  body.single-post .mobile-bottom-nav .nav-item.cta a { background-color: var(--primary-color); color: var(--white-color); padding: 10px 20px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; }
}
#scrollToTopBtn { position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; background-color: var(--primary-color); color: var(--white-color); border-radius: 50%; text-align: center; line-height: 50px; font-size: 1.2rem; z-index: 1000; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s ease-in-out; }
#scrollToTopBtn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#scrollToTopBtn:hover { background-color: #e64a19; transform: scale(1.1); }
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in-up.is-visible { opacity: 1; transform: translateY(0); }
.related-posts-section .section-title { font-weight: 700; }
.related-posts-section .post-card { border: none; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; border-radius: 15px; overflow: hidden; }
.related-posts-section .post-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); }
.related-posts-section .post-card .card-title a { text-decoration: none; color: var(--dark-color); transition: color 0.2s ease; }
.related-posts-section .post-card .card-title a:hover { color: var(--primary-color); }
.related-posts-section .post-card .post-category a { font-size: 0.8rem; font-weight: 600; color: var(--primary-color); text-decoration: none; }
.related-posts-section .post-card .card-footer { background-color: var(--white-color); border-top: 1px solid var(--light-gray); }
