/* =========================================================
   SEO guide page - Zee Compressor orange theme
   ========================================================= */

.seo-hero {
    padding-bottom: 30px;
}

.seo-accent {
    color: orange;
}

.seo-breadcrumb {
    margin-bottom: 18px;
    font-size: 14px;
    color: #6c757d;
}

.seo-breadcrumb a {
    color: #e68a00;
    text-decoration: none;
    font-weight: 600;
}

.seo-breadcrumb a:hover {
    text-decoration: underline;
}

.seo-breadcrumb span {
    margin: 0 4px;
}

.seo-meta {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

/* ---------- Article ---------- */
.seo-article {
    max-width: 820px;
    margin: 0 auto;
    padding-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #343a40;
}

.seo-article h2 {
    margin: 46px 0 14px;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #212529;
    scroll-margin-top: 90px;
}

.seo-article h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 8px;
    border-radius: 4px;
    background: orange;
}

.seo-article p,
.seo-article li {
    margin-bottom: 12px;
}

.seo-article a {
    color: #e68a00;
    font-weight: 600;
    text-decoration: none;
}

.seo-article a:hover {
    color: #e65100;
    text-decoration: underline;
}

/* ---------- Quick answer ---------- */
.callout {
    margin: 10px 0 28px;
    padding: 22px 24px;
    background: #fff8ec;
    border: 1px solid #ffe2b3;
    border-left: 5px solid orange;
    border-radius: 14px;
}

.seo-article .callout .callout-title {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #e65100;
}

.seo-article .callout .callout-title::after {
    display: none;
}

/* ---------- Table of contents ---------- */
.toc {
    margin-bottom: 10px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
}

.seo-article .toc h2 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.seo-article .toc h2::after {
    display: none;
}

.toc ol {
    margin: 0;
    padding-left: 20px;
}

.toc li {
    margin-bottom: 4px;
}

/* ---------- Tables ---------- */
.seo-table {
    margin-bottom: 8px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.97rem;
}

.seo-table thead th {
    background: #fff4e0;
    color: #e65100;
    font-weight: 700;
    border-bottom: 2px solid #ffd699;
    white-space: nowrap;
}

.seo-table td,
.seo-table th {
    padding: 12px 14px;
    vertical-align: middle;
}

/* ---------- Steps ---------- */
.steps {
    list-style: none;
    counter-reset: step;
    padding-left: 0;
}

.steps li {
    position: relative;
    margin-bottom: 14px;
    padding: 14px 16px 14px 62px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    counter-increment: step;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: orange;
    color: #fff;
    font-weight: 700;
}

/* ---------- Buttons / call to action ---------- */
.btn-orange {
    background: linear-gradient(135deg, #f57c00, #ff9800);
    border: 0;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
}

.btn-orange:hover,
.btn-orange:focus {
    background: linear-gradient(135deg, #e65100, #f57c00);
    color: #fff !important;
}

.cta-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 6px 0 10px;
    color: #6c757d;
    font-size: 0.95rem;
}

.cta-box {
    margin: 50px 0 10px;
    padding: 38px 28px;
    text-align: center;
    color: #fff;
    border-radius: 20px;
    background: linear-gradient(135deg, #f57c00 0%, #ff9800 60%, #ffa726 100%);
    box-shadow: 0 10px 30px rgba(245, 124, 0, 0.3);
}

.seo-article .cta-box h2 {
    margin: 0 0 8px;
    color: #fff;
}

.seo-article .cta-box h2::after {
    display: none;
}

.cta-box p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
}

.seo-article .cta-box .btn-light {
    color: #e65100;
    font-weight: 700;
    text-decoration: none;
}

/* ---------- FAQ ---------- */
.faq-item {
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.faq-item summary {
    position: relative;
    padding: 16px 48px 16px 18px;
    font-weight: 700;
    color: #212529;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: orange;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item[open] {
    border-color: orange;
}

.faq-item p {
    margin: 0;
    padding: 0 18px 18px;
    color: #495057;
}

/* ---------- Related tools ---------- */
.seo-article .related-title {
    margin-top: 50px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.related-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    color: #212529 !important;
    text-decoration: none !important;
    line-height: 1.4;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.related-card i {
    font-size: 24px;
    color: orange;
}

.related-card span {
    font-size: 0.88rem;
    font-weight: 400;
    color: #6c757d;
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: orange;
    box-shadow: 0 10px 24px rgba(255, 165, 0, 0.2);
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {

    .seo-article {
        font-size: 1rem;
    }

    .seo-article h2 {
        margin-top: 36px;
        font-size: 1.4rem;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps li {
        padding-left: 58px;
    }
}

@media (max-width: 479.98px) {

    .related-grid {
        grid-template-columns: 1fr;
    }

    .callout,
    .toc {
        padding: 18px;
    }
}
