
/* =====================================
   SINGLE POST PAGE
===================================== */
.single-cat-label a {
    color: #d32f2f;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}
.single-post-title {
    font-family: var(--si-font-en);
    font-size: 42px;
    font-weight: 700;
    color: var(--si-charcoal);
    line-height: 1.25;
}
.single-post-excerpt {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
}
/* Article Reading Font */
.single-entry-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #222;
    margin-bottom: 24px;
    font-family: var(--si-font-en);
}
.single-entry-content h2, 
.single-entry-content h3, 
.single-entry-content h4 {
    color: var(--si-navy);
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 18px;
}
.single-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
}
.single-entry-content a {
    color: #d32f2f;
    text-decoration: underline;
}
.single-entry-content a:hover {
    color: var(--si-navy);
}

/* Share icons — brand colors, square shape */
.single-share-icons {
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
    gap: 8px;
    position: relative;
}
.share-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 6px;
    color: #ffffff !important;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    flex-shrink: 0;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.share-icon i {
    display: block;
    line-height: 1;
}
.share-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}
.share-wa { background: #25D366; }
.share-fb { background: #1877F2; }
.share-x  { background: #000000; }
.share-tg { background: #229ED9; }
.share-li { background: #0A66C2; }
.share-copy { background: #6c757d; }
.share-copy.si-copied { background: #198754; }

/* Copy-link tooltip */
.si-copy-tooltip {
    position: absolute;
    top: -32px;
    right: 0;
    background: #198754;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.si-copy-tooltip.show {
    opacity: 1;
}

/* Read More (mobile content collapse) */
.single-entry-content.si-collapsed {
    max-height: 450px;
    overflow: hidden;
    position: relative;
}
.single-entry-content.si-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: linear-gradient(rgba(255,255,255,0), #ffffff);
    pointer-events: none;
}

.si-read-more-btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    margin-bottom: 20px;
    padding: 10px;
    background: var(--si-navy);
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 30px;
}
.si-read-more-btn:active {
    opacity: .85;
}

/* Tags Styling */
.si-tag-link {
    display: inline-flex;
    padding: 6px 16px;
    background: #f1f3f5;
    color: var(--si-charcoal);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    transition: .2s;
}
.si-tag-link:hover {
    background: var(--si-navy);
    color: #fff;
    border-color: var(--si-navy);
}

/* Related News section heading */
.single-related-section h4 {
    color: #000000 !important;
}

/* Related News grid — 2 col mobile, 4 col desktop */
.si-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 768px) {
    .si-related-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}
.si-related-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    transition: box-shadow .2s ease, transform .2s ease;
}
.si-related-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.si-related-card .si-archive-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.si-related-card .si-archive-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.si-related-card .si-archive-card-body {
    padding: 10px 12px 14px;
}
.si-related-card .si-archive-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--si-gold);
}
.si-related-card .si-archive-card-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 6px 0;
    color: var(--si-charcoal);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.si-related-card .si-archive-card-date {
    font-size: 12px;
    color: #888;
}
.si-load-more-btn {
    padding: 10px 28px;
    background: var(--si-navy);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
}
.si-load-more-btn:disabled {
    opacity: .6;
}

/* Sidebar Utilities */
.hover-navy:hover {
    color: var(--si-navy) !important;
}

/* Dark mode overrides for this file's new elements */
body.dark-mode .single-related-section h4 {
    color: #ffffff !important;
}
body.dark-mode .si-read-more-btn {
    background: var(--si-gold);
    color: #0d1117;
}

/* =====================================
   RESPONSIVE: SINGLE POST PAGE
===================================== */
/* --- TABLET (Max 991px) --- */
@media (max-width: 991px) {
    .single-post-title {
        font-size: 36px;
    }
    .single-post-excerpt {
        font-size: 17px;
    }
    .single-content-col {
        padding-right: calc(var(--bs-gutter-x) * .5) !important; 
    }
}
/* --- MOBILE (Max 767px) --- */
@media (max-width: 767px) {
    .single-post-title {
        font-size: 28px;
        line-height: 1.3;
    }
    .single-post-excerpt {
        font-size: 16px;
        line-height: 1.5;
    }
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    .single-share-icons {
        width: 100%;
    }
    .share-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    .single-entry-content p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    .single-entry-content h2 {
        font-size: 24px;
        margin-top: 28px;
    }
    .single-entry-content h3 {
        font-size: 20px;
        margin-top: 24px;
    }
    .si-read-more-btn {
        width: 90%;
        max-width: 320px;
        margin: 16px auto 20px;
        padding: 9px;
        font-size: 13px;
    }
}
/* --- SMALL MOBILE (Max 480px) --- */
@media (max-width: 480px) {
    .single-post-title {
        font-size: 24px;
    }
    .single-entry-content p {
        font-size: 15px;
    }
    .si-tag-link {
        font-size: 12px;
        padding: 5px 12px;
    }
    .si-read-more-btn {
        width: 95%;
        max-width: 280px;
        font-size: 12px;
        padding: 8px;
    }
}