/* ===================================
   MTNT BLOG - Exact styles from main site
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:wght@300..900&display=swap');

/* ===== BASE STYLES ===== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    min-height: 100vh;
    font-family: 'Rubik', sans-serif;
    background-color: #12161c;
    color: #d6dbea;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    max-width: 100vw;
}

main {
    flex: 1;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

/* ===== NAVBAR (dokładnie jak na głównej) ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #21252b;
    transition: all 0.3s ease;
    z-index: 1000;
    --navbar-height: 72px;
}

header.shrink {
    --navbar-height: 48px;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease;
}

header.shrink .nav-container { 
    padding: 10px 20px; 
}

.nav-logo { 
    display: flex;
    align-items: center;
}

.logo-link {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500; 
    font-size: 1.32rem; 
    transition: color 0.3s ease;
    text-decoration: none;
    color: #d6dbea;
    display: flex;
    align-items: baseline;
    gap: 0;
}

.logo-link:hover {
    color: #4da3ff;
}

.logo-text {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500; 
    font-size: 1.32rem;
    color: #d6dbea;
}

.logo-text::after {
    content: "█";
    color: #4da3ff;
    animation: blink 1.1s step-end infinite;
    margin-left: 6px; 
    vertical-align: middle;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

.logo-subtitle {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: #aaa;
    margin-left: 12px;
}

/* Menu mobilne */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 8px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: #eaeaea;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-link {
    color: #eaeaea;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
    font-family: 'IBM Plex Mono', monospace;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.4px;
    transition: color 0.3s ease;
}

.nav-link:hover { 
    color: #4da3ff; 
}

.nav-link.active {
    color: #4da3ff;
}

/* Nav Actions - Language + Main Site Button */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language switcher (copied from main site) */
.lang-switch {
    display: flex;
    gap: 6px;
    align-items: center;
}

.flag-text-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #aaa;
    border: 1px solid transparent;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
}

.flag-text-btn:hover {
    background: #2a2e35;
    color: #4da3ff;
    border-color: #4da3ff44;
}

.flag-text-btn.active {
    background: #2a2e35;
    color: #4da3ff;
    border-color: #4da3ff;
}

.flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Button to main MTNT site */
.btn-main-site {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, #4da3ff, #357abd);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid #4da3ff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(77, 163, 255, 0.2);
}

.btn-main-site:hover {
    background: linear-gradient(135deg, #357abd, #4da3ff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 163, 255, 0.4);
}

/* ===== MAIN CONTENT ===== */
main {
    margin-top: 80px;
}

.container {
    max-width: 1000px; /* Optimal for 2 columns */
    margin: 0 auto;
    padding: 20px 20px 60px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

section { 
    margin-bottom: 20px; 
    margin-top: 30px;
}

h1, h2 { 
    margin-bottom: 20px; 
    font-weight: normal;
    font-size: 2em;
    color: #d6dbea;
}

p {
    margin-bottom: 15px; 
    color: #cccccc; 
}

/* ===== BLOG HOMEPAGE ===== */
.blog-home {
    margin-top: 0;
}

.blog-hero {
    background: 
        linear-gradient(rgba(18, 22, 28, 0.85), rgba(18, 22, 28, 0.75)),
        url('../images/hero-bg.png') center/cover;
    padding: 150px 20px 60px;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(8px);
    z-index: -1;
}

.blog-title {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: normal;
}

.blog-subtitle {
    font-size: 1.05rem;
    max-width: 720px;
    color: #dcdcdc;
    font-family: 'Rubik', sans-serif;
    letter-spacing: 0.3px;
    font-weight: 400;
}

/* ===== POSTS GRID ===== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Force 2 columns */
    gap: 28px;
    margin-top: 20px;
}

.posts-grid > * {
    min-width: 0; /* Fix grid overflow */
}

/* ===== POST CARD ===== */
.post-card-link {
    text-decoration: none;
    color: inherit;
    /* display removed - let grid handle layout */
}

.post-card {
    background: #1c1f26;
    border: 1px solid #252529;
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    height: 100%;
}

.post-card-image {
    width: calc(100% + 56px);
    height: 200px;
    margin: -32px -28px 20px -28px;
    object-fit: cover;
    background: linear-gradient(135deg, #357abd, #4da3ff);
    border-radius: 16px 16px 0 0;
    position: relative;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gradient overlay for better text contrast if needed */
.post-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(28, 31, 38, 0.6), transparent);
    pointer-events: none;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #4da3ff, #6ab0ff);
    opacity: 0.7;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.post-card-link:hover .post-card {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-color: #4da3ff44;
}

.post-card-link:hover .post-card::before {
    transform: scaleX(1);
}

.post-read-more-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #4da3ff, #6ab0ff);
    color: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.post-card-link:hover .post-read-more-btn {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(77, 163, 255, 0.4);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: #aaa;
    font-family: 'IBM Plex Mono', monospace;
}

.post-meta time {
    color: #aaa;
}

.post-category {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #aaa;
}

.date-icon,
.clock-icon,
.category-icon,
.tag-icon {
    flex-shrink: 0;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #aaa;
}

.post-reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #aaa;
}

.post-category a,
.post-category span {
    color: #4da3ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-category a:hover {
    color: #6ab0ff;
}

.post-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #4da3ff;
}

.post-excerpt {
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* ===== POST TAGS ===== */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    background: #4da3ff22;
    color: #4da3ff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    display: inline-block;
}

/* ===== SINGLE POST ===== */
.blog-post {
    margin-top: 0;
    max-width: 100%;
}

.post-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #252529;
}

.post-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.post-description {
    font-size: 1.05rem;
    color: #dcdcdc;
    line-height: 1.7;
    margin: 20px 0;
}

/* ===== POST CONTENT ===== */
.post-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #cccccc;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.post-content h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff;
    margin-top: 32px;
    margin-bottom: 16px;
}

.post-content h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
    margin-top: 24px;
    margin-bottom: 12px;
}

.post-content p {
    margin-bottom: 16px;
    color: #ccc;
    line-height: 1.7;
}

.post-content a {
    color: #4da3ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content a:hover {
    color: #6ab0ff;
    text-decoration: underline;
}

.post-content strong {
    color: #fff;
}

.post-content ul {
    list-style-type: disc;
    padding-left: 40px;
    margin-bottom: 16px;
}

.post-content ol {
    list-style-type: decimal;
    padding-left: 40px;
    margin-bottom: 16px;
}

.post-content li {
    margin-bottom: 10px;
    color: #ccc;
    padding-left: 8px;
}

.post-content li::marker {
    color: #4da3ff;
}

.post-content blockquote {
    border-left: 4px solid #4da3ff;
    padding: 16px 24px;
    margin: 24px 0;
    background: #1c1f26;
    border-radius: 0 8px 8px 0;
    color: #ccc;
    font-style: italic;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

/* ===== CODE BLOCKS ===== */
.post-content code {
    background: #181e29;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9em;
    color: #4da3ff;
    border: 1px solid #252529;
    word-break: break-word;
    overflow-wrap: break-word;
}

.post-content pre {
    background: #181e29;
    border: 1px solid #3f4147;
    border-radius: 12px;
    padding: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 24px 0;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    
    /* Smooth scrolling */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    
    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #4a4d55 #181e29;
}

/* Webkit scrollbar styling */
.post-content pre::-webkit-scrollbar {
    height: 8px;
}

.post-content pre::-webkit-scrollbar-track {
    background: #181e29;
    border-radius: 4px;
}

.post-content pre::-webkit-scrollbar-thumb {
    background: #4a4d55;
    border-radius: 4px;
}

.post-content pre::-webkit-scrollbar-thumb:hover {
    background: #5a5d65;
}

.post-content pre code {
    background: none;
    padding: 0;
    border: none;
    color: #d6dbea;
    display: block;
    font-size: 0.9em;
    line-height: 1.6;
    font-family: 'IBM Plex Mono', monospace;
    white-space: pre;
    word-wrap: normal;
    overflow-wrap: normal;
}
}

.post-content .highlight {
    margin: 24px 0;
}

.post-content .chroma {
    background: #181e29;
    border: 1px solid #3f4147;
    border-radius: 12px;
    padding: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 24px 0;
    
    /* Smooth scrolling */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    
    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #4a4d55 #181e29;
}

/* Webkit scrollbar for chroma */
.post-content .chroma::-webkit-scrollbar {
    height: 8px;
}

.post-content .chroma::-webkit-scrollbar-track {
    background: #181e29;
    border-radius: 4px;
}

.post-content .chroma::-webkit-scrollbar-thumb {
    background: #4a4d55;
    border-radius: 4px;
}

.post-content .chroma::-webkit-scrollbar-thumb:hover {
    background: #5a5d65;
}

.post-content .chroma code {
    white-space: pre;
}

/* ===== POST FOOTER ===== */
.post-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #252529;
}

/* ===== POST NAVIGATION ===== */
.post-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.post-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #1c1f26;
    border: 1px solid #252529;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-nav-link:hover {
    border-color: #4da3ff44;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.post-nav-link.next {
    justify-content: flex-end;
}

.post-nav-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.post-nav-label {
    font-size: 0.85rem;
    color: #aaa;
    font-family: 'IBM Plex Mono', monospace;
}

.post-nav-title {
    color: #ffffff;
    font-weight: 500;
}

.post-back {
    text-align: center;
}

.btn-back {
    display: inline-block;
    padding: 12px 24px;
    background: #1c1f26;
    border: 1px solid #252529;
    border-radius: 8px;
    color: #4da3ff;
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #21252b;
    border-color: #4da3ff44;
    text-decoration: underline;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 40px 0;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1c1f26;
    border: 1px solid #252529;
    border-radius: 8px;
    color: #4da3ff;
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background: #21252b;
    border-color: #4da3ff44;
}

.pagination-info {
    color: #aaa;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
}

/* ===== LIST PAGES ===== */
.blog-list {
    margin-top: 0;
}

.list-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #252529;
}

.list-title {
    font-size: 2.4rem;
    font-weight: normal;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.list-description {
    font-size: 1.05rem;
    color: #dcdcdc;
    margin-bottom: 8px;
}

.list-count {
    color: #4da3ff;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid #222;
    background-color: #080d18;
    padding: 60px 20px 30px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h4 {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    margin-bottom: 12px;
    color: #ffffff;
}

.footer-section p {
    font-size: 0.9rem;
    color: #bdbdbd;
    line-height: 1.6;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #1c1f26;
    border: 1px solid #252529;
    border-radius: 8px;
    color: #4da3ff;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'IBM Plex Mono', monospace;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #252529;
    border-color: #4da3ff;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #4da3ff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #6ab0ff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8rem;
    color: #777;
}

/* Footer Main Site Box */
.footer-main-site {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.footer-main-site-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #1c1f26, #21252b);
    border: 2px solid #4da3ff;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(77, 163, 255, 0.2);
}

.footer-main-site-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(77, 163, 255, 0.4);
    border-color: #6ab0ff;
}

.footer-main-site-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.footer-main-site-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-main-site-text strong {
    color: #ffffff;
    font-size: 1.1rem;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
}

.footer-main-site-text span {
    color: #4da3ff;
    font-size: 0.9rem;
    font-family: 'IBM Plex Mono', monospace;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex !important;
    }
    
    .nav-right {
        position: fixed;
        top: var(--navbar-height, 72px);
        left: 0;
        width: 100%;
        background-color: #21252b;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, top 0.3s ease;
        border-bottom: 1px solid #252529;
    }
    
    /* Adjust menu position when navbar shrinks */
    header.shrink ~ main .nav-right,
    header.shrink .nav-right {
        top: 48px; /* Shrunk navbar height */
    }
    
    .nav-right.active {
        max-height: 100vh;
        padding: 20px 0;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .nav-link {
        margin: 10px 0;
        width: 100%;
        text-align: center;
        padding: 10px;
    }
    
    .nav-actions {
        flex-direction: column;
        margin-top: 15px;
        width: 100%;
        align-items: center;
    }
    
    .lang-switch {
        margin-bottom: 10px;
    }
    
    .btn-main-site {
        width: 80%;
        justify-content: center;
    }
    
    .blog-hero {
        padding: 120px 20px 40px;
    }
    
    .blog-title {
        font-size: 1.8rem;
    }
    
    .blog-subtitle {
        font-size: 0.95rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .post-card {
        padding: 24px 20px;
    }
    
    .post-title {
        font-size: 1.35rem;
    }
    
    /* Mobile overflow fixes */
    .container {
        padding: 20px 10px 60px;
        overflow-x: hidden;
    }
    
    .post-content pre,
    .post-content .chroma {
        border-radius: 8px;
        padding: 12px;
        font-size: 0.85em;
    }
    
    .post-content code {
        font-size: 0.85em;
    }
}
/* ===== COMMENTS SECTION ===== */
.comments-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #252529;
}

.comments-title {
    font-size: 1.8rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 30px;
    font-family: 'Rubik', sans-serif;
}

/* Giscus widget will use dark theme automatically */
.giscus {
    width: 100%;
}

/* Optional: Custom styling for Giscus iframe */
.giscus-frame {
    border-radius: 12px;
}

@media (max-width: 768px) {
    .comments-section {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .comments-title {
        font-size: 1.5rem;
    }
}

/* ===== INFO BOXES ===== */
.info-box {
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    border-left: 4px solid;
    background: #21252b;
}

.info-box-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-family: 'Rubik', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box-content {
    line-height: 1.7;
    color: #d6dbea;
}

.info-box-content p:last-child {
    margin-bottom: 0;
}

/* Info (default - blue) */
.info-box.info {
    border-left-color: #4da3ff;
    background: #1a2332;
}

.info-box.info .info-box-title {
    color: #4da3ff;
}

/* Warning (yellow) */
.info-box.warning {
    border-left-color: #f0ad4e;
    background: #2b2416;
}

.info-box.warning .info-box-title {
    color: #f0ad4e;
}

/* Danger (red) */
.info-box.danger {
    border-left-color: #d9534f;
    background: #2b1a1a;
}

.info-box.danger .info-box-title {
    color: #d9534f;
}

/* Success (green) */
.info-box.success {
    border-left-color: #5cb85c;
    background: #1a2b1a;
}

.info-box.success .info-box-title {
    color: #5cb85c;
}

@media (max-width: 768px) {
    .info-box {
        padding: 16px;
        margin: 16px 0;
    }
    
    .info-box-title {
        font-size: 1rem;
    }
}