/* ==========================================================================
    1. SINGLE ARTICLE STRUCTURE & LAYOUT CONTAINMENT
============================================================================ */
.single-layout-wrapper { 
    display: grid; 
    grid-template-columns: 1fr 320px; 
    gap: 40px; 
    max-width: 1400px; 
    margin: auto; 
    padding: 0 20px; 
}
.single-main-content { 
    min-width: 0; 
    width: 100%;
}
.single-article { 
    background: #fff; 
    border-radius: 16px; 
    padding: 35px; 
    box-shadow: 0 8px 30px rgba(0,0,0,.06); 
    /* Removed content-visibility to eliminate the 1.21 CLS layout spike */
}

/* ==========================================================================
    2. HERO HEADER SECTION & METADATA
============================================================================ */
.single-hero { margin-bottom: 35px; }
.hero-category { margin-bottom: 15px; }
.hero-category a { display: inline-block; background: #0056d6; color: #fff; padding: 7px 14px; border-radius: 30px; font-size: 13px; font-weight: 700; letter-spacing: .3px; text-decoration: none; }
.post-title { font-family: var(--font-display, system-ui, sans-serif); font-size: 44px; line-height: 1.15; font-weight: 800; margin: 0 0 18px; color: #111; }
.post-subtitle { font-size: 22px; line-height: 1.6; color: #555; margin: 0 0 28px; }
.post-meta-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; margin-bottom: 25px; }
.meta-author { display: flex; align-items: center; gap: 15px; }
.meta-author img { border-radius: 50%; }
.meta-author strong { display: block; font-size: 16px; margin-bottom: 4px; }
.meta-author strong a { text-decoration: none; color: inherit; }
.meta-author span { font-size: 14px; color: #777; }
.meta-reading { font-size: 14px; font-weight: 700; color: #0056d6; }

/* CLS Optimization: Aspect ratio sets the space box structure layout early */
.post-featured-image { 
    margin-top: 25px; 
    overflow: hidden; 
    border-radius: 18px; 
    background-color: #f1f5f9; 
    aspect-ratio: 16 / 9; 
    width: 100%;
}
.post-featured-image img { 
    display: block; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: .35s; 
}
.post-featured-image img:hover { transform: scale(1.03); }

/* ==========================================================================
    3. POST CONTENT TYPOGRAPHY & INTERACTIVE CORE
============================================================================ */
.post-content { font-family: var(--font-body, system-ui, sans-serif); font-size: 19px; line-height: 1.85; color: #333; }
.post-content p { margin: 0 0 1.6em; }
.post-content h2 { font-size: 34px; margin: 60px 0 20px; font-weight: 800; color: #111; }
.post-content h3 { font-size: 28px; margin: 45px 0 18px; font-weight: 700; }
.post-content h4 { font-size: 22px; margin: 35px 0 15px; }
.post-content ul, .post-content ol { padding-left: 28px; margin: 20px 0; }
.post-content li { margin: 10px 0; }
.post-content a { color: #0056d6; font-weight: 600; text-decoration: none; }
.post-content a:hover { text-decoration: underline; }
.post-content blockquote { border-left: 5px solid #0056d6; background: #f6f9ff; padding: 20px 25px; margin: 35px 0; font-style: italic; border-radius: 0 10px 10px 0; }

.single-share { display: flex; gap: 12px; margin: 30px 0; flex-wrap: wrap; }
.single-share a { padding: 10px 18px; background: #f5f5f5; border-radius: 8px; font-weight: 600; transition: .25s; text-decoration: none; color: inherit; }
.single-share a:hover { background: #0056d6; color: #fff; }
.post-tags { margin: 40px 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.post-tags span { font-weight: 700; }
.post-tags a { padding: 8px 14px; background: #f2f4f8; border-radius: 30px; color: #333; font-size: 14px; transition: .25s; text-decoration: none; }
.post-tags a:hover { background: #0056d6; color: #fff; }

/* CLS Optimization: Locked layout boundaries for inline components */
.ad-inline {
    margin: 25px 0;
    min-height: 250px; 
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 8px;
}
.ad-inline::before {
    content: "Advertisement";
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10px;
    color: #94a3b8;
    font-family: sans-serif;
    text-transform: uppercase;
}

/* ==========================================================================
    4. IMPROVISED KEY HIGHLIGHTS COMPONENT
============================================================================ */
.key-highlights { margin: 35px 0; padding: 30px; background: #f8fafc; border: 1px solid #e2e8f0; border-left: 5px solid #2563eb; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.02); }
.key-highlights h2 { margin: 0 0 20px 0 !important; font-family: var(--font-display, system-ui, sans-serif) !important; font-size: 22px; font-weight: 700; color: #0f172a; letter-spacing: -0.3px; }
.key-highlights ul { margin: 0; padding: 0; list-style: none; counter-reset: highlight-counter; }
.key-highlights li { position: relative; padding-left: 40px; margin: 16px 0; font-family: var(--font-body, system-ui, sans-serif); font-size: 16px; line-height: 1.6; color: #334155; }
.key-highlights li::before { counter-increment: highlight-counter; content: counter(highlight-counter); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #e0f2fe; color: #0369a1; font-family: var(--font-display, system-ui, sans-serif); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.key-highlights li:hover::before { background: #2563eb; color: #ffffff; }

/* ==========================================================================
    5. E-E-A-T AUTHOR BIO PROFILE BOX
============================================================================ */
.author-bio-box { display: flex; gap: 28px; background: #ffffff; border: 1px solid #e5e7eb; border-left: 4px solid #2563eb; border-radius: 16px; padding: 32px; margin: 45px 0; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02); align-items: flex-start; }
.author-bio-avatar { flex-shrink: 0; }
.author-bio-avatar img.bio-avatar-img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 1px solid #e5e7eb; background: #f3f4f6; display: block; }
.author-bio-content { flex-grow: 1; }
.author-bio-label { display: inline-block; font-family: var(--font-display, system-ui, sans-serif); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #4b5563; margin-bottom: 4px; }
.author-bio-name { margin: 0 0 8px 0 !important; }
.author-bio-name a { font-family: var(--font-display, system-ui, sans-serif) !important; font-size: 20px; font-weight: 700; color: #111827; text-decoration: none; transition: color 0.2s ease; }
.author-bio-name a:hover { color: #2563eb; }
.author-bio-desc { font-family: var(--font-body, system-ui, sans-serif); font-size: 14px; line-height: 1.6; color: #4b5563; margin: 0 0 16px 0 !important; }
.author-bio-links { display: flex; gap: 16px; align-items: center; }
.author-link-url { display: inline-flex; align-items: center; font-family: var(--font-display, system-ui, sans-serif); font-size: 13px; font-weight: 600; color: #2563eb; text-decoration: none; transition: color 0.15s ease; }
.author-link-url:hover { color: #1d4ed8; text-decoration: underline; }

/* ==========================================================================
    6. POST NAVIGATION SPLIT CARDS
============================================================================ */
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0; padding-top: 25px; border-top: 1px solid #e5e7eb; }
.nav-box { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 12px; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.nav-box a { display: flex; flex-direction: column; padding: 20px; height: 100%; text-decoration: none; }
.nav-box .nav-direction { font-family: var(--font-display, system-ui, sans-serif); font-size: 12px; font-weight: 600; text-transform: uppercase; color: #2563eb; letter-spacing: 0.5px; margin-bottom: 6px; }
.nav-box .nav-title { font-family: var(--font-display, system-ui, sans-serif) !important; font-size: 15px; line-height: 1.4; font-weight: 500; color: #1f2937; transition: color 0.2s ease; }
.nav-box:hover { background: #ffffff; border-color: #2563eb; transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.04); }
.nav-box:hover .nav-title { color: #2563eb; }
.next-card { text-align: right; }

/* ==========================================================================
    7. RELATED ARTICLES GRID COMPONENT
============================================================================ */
.related-posts { margin-top: 50px; padding-top: 30px; border-top: 1px solid #eef2f6; }
.related-posts h2 { font-family: var(--font-display, system-ui, sans-serif) !important; font-size: 24px; font-weight: 700; margin-bottom: 25px; color: #111827; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.related-card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05); }
.related-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.related-img-wrapper { width: 100%; height: 160px; overflow: hidden; background: #f3f4f6; }
.related-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.related-card-content { padding: 16px; display: flex; flex-direction: column; flex-grow: 1; }
.related-card-content h3 { font-family: var(--font-display, system-ui, sans-serif) !important; font-size: 16px; line-height: 1.4; font-weight: 600; margin: 0 0 8px 0 !important; color: #1f2937; }
.related-card-content time { font-size: 12px; color: #6b7280; margin-top: auto; }

/* ==========================================================================
    8. USER RESPONSIVE COMMENT INTERFACE FORMS
============================================================================ */
#comments { margin-top: 70px; padding-top: 35px; border-top: 2px solid #eee; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment { padding: 25px; margin-bottom: 20px; border: 1px solid #ececec; border-radius: 14px; background: #fff; }
#respond { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 35px; margin-top: 40px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02); }
#respond h3 { font-family: var(--font-display, system-ui, sans-serif); font-size: 22px; font-weight: 700; color: #111827; margin: 0 0 6px 0; }
.comment-notes { font-size: 13px; color: #6b7280; margin-bottom: 24px; }
.custom-comment-form textarea, .custom-comment-form input[type="text"], .custom-comment-form input[type="email"] { width: 100%; background: #f9fafb; border: 1px solid #d1d5db; border-radius: 8px; padding: 14px 16px; font-family: var(--font-body, system-ui, sans-serif); font-size: 14px; color: #1f2124; outline: none; transition: all 0.2s ease; }
.custom-comment-form textarea:focus, .custom-comment-form input[type="text"]:focus, .custom-comment-form input[type="email"]:focus { background: #ffffff; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
.comment-form-comment { margin-bottom: 20px; }
.comment-form-comment textarea { resize: vertical; min-height: 120px; }
.comment-grid-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.custom-comment-form p label { display: block; font-family: var(--font-display, system-ui, sans-serif); font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.custom-comment-form p label .required { color: #ef4444; }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; }
.comment-form-cookies-consent input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border: 1px solid #d1d5db; border-radius: 4px; background: #f9fafb; margin-top: 2px; cursor: pointer; position: relative; flex-shrink: 0; }
.comment-form-cookies-consent input[type="checkbox"]:checked { background-color: #2563eb; border-color: #2563eb; }
.comment-form-cookies-consent input[type="checkbox"]:checked::after { content: "✓"; position: absolute; color: #ffffff; font-size: 11px; left: 3px; top: -1px; }
.comment-form-cookies-consent label { font-size: 13px; line-height: 1.4; color: #4b5563; font-weight: 400 !important; cursor: pointer; }
.btn-submit-comment { display: inline-block; background: #2563eb; color: #ffffff; border: none; border-radius: 8px; padding: 12px 28px; font-family: var(--font-display, system-ui, sans-serif); font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 2px 4px rgba(37, 99, 235, 0.08); }
.btn-submit-comment:hover { background: #1d4ed8; box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2); transform: translateY(-1px); }

/* ==========================================================================
    9. FIXED RUNNERS & MEDIA BREAKPOINTS MATRIX
============================================================================ */
.sidebar-wrapper { position: sticky; top: 90px; }
.reading-bar { position: fixed; left: 0; top: 0; height: 4px; width: 0; background: #0056d6; z-index: 99999; }

/* Timeline Sidebar Text Break/Wrap Fix */
.trending-sidebar { width: 100% !important; box-sizing: border-box; }
.trending-sidebar ul { list-style: none !important; padding: 0 !important; margin: 0 !important; width: 100% !important; }
.trending-sidebar li { margin-bottom: 22px !important; position: relative !important; padding-left: 28px !important; width: 100% !important; display: block !important; box-sizing: border-box; }
.trending-sidebar li a { display: block !important; width: 100% !important; font-family: var(--font-display, system-ui, sans-serif) !important; font-weight: 500 !important; font-size: 14px !important; line-height: 1.45 !important; color: #1f2124; text-decoration: none; white-space: normal !important; word-wrap: break-word !important; word-break: break-word !important; overflow: visible !important; max-width: 100% !important; box-sizing: border-box; transition: color 0.2s ease; }
.trending-sidebar li a:hover { color: #2563eb; }
.trending-sidebar .date { margin-bottom: 4px; font-size: 11px; color: #5f6368; font-family: var(--font-body, system-ui, sans-serif); }

@media(max-width: 1200px) {
    .single-layout-wrapper { grid-template-columns: 1fr; }
    .sidebar-wrapper { position: relative; top: 0; margin-top: 40px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 768px) {
    .single-layout-wrapper { padding: 0 15px; }
    .single-article { padding: 20px; border-radius: 12px; }
    .post-title { font-size: 34px; }
    .post-subtitle { font-size: 19px; }
    .post-meta-top { flex-direction: column; align-items: flex-start; gap: 15px; }
    .key-highlights { padding: 20px; }
    .key-highlights li { font-size: 15px; }
    .author-bio-box { flex-direction: column; gap: 20px; padding: 24px; align-items: center; text-align: center; }
    .author-bio-avatar { margin-bottom: 4px; }
    .author-bio-links { justify-content: center; }
    .post-navigation { grid-template-columns: 1fr; gap: 12px; }
    .related-grid { grid-template-columns: 1fr; gap: 16px; }
    .related-img-wrapper { height: 200px; }
    .comment-fields-grid { grid-template-columns: 1fr; gap: 16px; }
    #respond { padding: 20px; }
}
/* ==========================================================================
    10. PREMIUM USER INTERFACE FAQ ACCORDIONS (SEOPRESS COMPATIBLE)
============================================================================ */
/* Target the core SEOPress block or default details containers */
.seopress-faq, 
.post-content details {
    margin: 16px 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background-color: #ffffff;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Style the question clickable header bar */
.seopress-faq summary,
.post-content details summary {
    padding: 18px 24px;
    font-family: var(--font-display, system-ui, sans-serif);
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    list-style: none; /* Strips the default raw ugly black triangle arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    user-select: none;
    outline: none;
}

/* Webkit browser reset to completely kill default browser marker indicators */
.seopress-faq summary::-webkit-details-marker,
.post-content details summary::-webkit-details-marker {
    display: none;
}

/* Custom premium visual arrow indicator setup using pure CSS shapes */
.seopress-faq summary::after,
.post-content details summary::after {
    content: "+";
    font-family: monospace, sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #2563eb; /* Theme primary brand color highlight */
    transition: transform 0.25s ease;
}

/* Hover effects to maximize click signals */
.seopress-faq:hover,
.post-content details:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.03);
}

/* Active open states styling changes */
.seopress-faq[open],
.post-content details[open] {
    border-color: #2563eb;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

/* Rotate the arrow icon to morph into a dynamic minus sign when open */
.seopress-faq[open] summary::after,
.post-content details[open] summary::after {
    transform: rotate(45deg);
    color: #ef4444; /* Switches to warning red when item expands */
}

/* Beautifully format the answer slide space inside the block */
.seopress-faq .seopress-faq-answer,
.post-content details > div,
.post-content details > p:not(summary) {
    padding: 0 24px 20px 24px;
    font-family: var(--font-body, system-ui, sans-serif);
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
    border-top: 1px dashed #f1f5f9;
    margin: 0;
    animation: faqSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Native CSS animation keys to run entry transitions layout-shift free */
@keyframes faqSlideIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==========================================================================
    RESPONSIVE BREADCRUMBS LAYER
============================================================================ */
.telecombyte-breadcrumbs {
    margin-bottom: 20px;
}

.telecombyte-breadcrumbs ol {
    align-items: center;
}

.telecombyte-breadcrumbs a {
    color: #5f6368;
    text-decoration: none;
    transition: color 0.2s ease;
}

.telecombyte-breadcrumbs a:hover {
    color: #2563eb;
}

/* On mobile viewports, keep long titles from pushing layout boxes around */
@media (max-width: 768px) {
    .breadcrumb-current-title {
        display: inline-block;
        max-width: 180px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: bottom;
    }
}