/* ===== GifNeo SEO Content Modules =====
   Reuses existing FAQ visual language:
   - #ff5722 accent
   - #fff cards, #e0e0e0 borders, #fafafa section bg
   - 12px radius, 10px gap
   - 1400px max-width
   ===== */

/* ---------- Breadcrumb (minimal) ---------- */
.seo-breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px 0;
    font-size: 12px;
    color: #999;
}
.seo-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}
.seo-breadcrumb a:hover { color: #ff5722; }
.seo-breadcrumb .sep { margin: 0 6px; color: #ccc; }
.seo-breadcrumb .current { color: #1a1a1a; font-weight: 500; }

/* ---------- Content Section Wrapper ---------- */
.seo-content-section {
    padding: 40px 24px;
    background: #fafafa;
}
.seo-content-section + .seo-content-section {
    padding-top: 0;
    margin-top: -16px;
}
.seo-content-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.seo-content-inner h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-align: center;
    margin-bottom: 24px;
    color: #1a1a1a;
}
.seo-content-inner h2 span { color: #ff5722; }

/* ---------- Accordion (reuses faq-item visual) ---------- */
.seo-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.seo-acc-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.seo-acc-item:hover {
    border-color: #ff5722;
}
.seo-acc-item[open] {
    border-color: #ff5722;
    box-shadow: 0 2px 12px rgba(255,87,34,0.08);
}
.seo-acc-item summary {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    line-height: 1.5;
}
.seo-acc-item summary::-webkit-details-marker {
    display: none;
}
.seo-acc-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 16px;
    position: relative;
}
.seo-acc-icon::before,
.seo-acc-icon::after {
    content: '';
    position: absolute;
    background: #999;
    border-radius: 2px;
    transition: transform 0.2s, background 0.2s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.seo-acc-icon::before {
    width: 12px;
    height: 2px;
}
.seo-acc-icon::after {
    width: 2px;
    height: 12px;
}
.seo-acc-item[open] .seo-acc-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}
.seo-acc-item[open] .seo-acc-icon::before {
    background: #ff5722;
}

.seo-acc-body {
    padding: 0 20px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}
.seo-acc-body p { margin: 0 0 10px; }
.seo-acc-body p:last-child { margin-bottom: 0; }
.seo-acc-body ul,
.seo-acc-body ol {
    margin: 6px 0 10px 22px;
    padding: 0;
}
.seo-acc-body li {
    margin-bottom: 5px;
    color: #666;
}
.seo-acc-body strong {
    color: #1a1a1a;
    font-weight: 600;
}
.seo-acc-body code {
    background: #fff3e0;
    color: #e64a19;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Step list inside accordion */
.seo-step-list {
    list-style: none;
    margin: 4px 0 10px;
    padding: 0;
    counter-reset: seostep;
}
.seo-step-list li {
    counter-increment: seostep;
    position: relative;
    padding: 4px 0 4px 36px;
    margin-bottom: 8px !important;
    min-height: 28px;
    color: #666;
}
.seo-step-list li::before {
    content: counter(seostep);
    position: absolute;
    left: 0;
    top: 4px;
    width: 26px;
    height: 26px;
    background: #ff5722;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* Feature grid */
.seo-feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 6px;
}
.seo-feat-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 10px;
}
.seo-feat-item .seo-feat-ico {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff3e0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.seo-feat-item .seo-feat-ico svg {
    width: 16px;
    height: 16px;
    stroke: #ff5722;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.seo-feat-item .seo-feat-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 3px;
    color: #1a1a1a;
}
.seo-feat-item .seo-feat-text {
    font-size: 12px;
    color: #757575;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .seo-feat-grid { grid-template-columns: 1fr; }
}

/* Use case list */
.seo-uc-list {
    list-style: none;
    margin: 4px 0 10px;
    padding: 0;
}
.seo-uc-list li {
    position: relative;
    padding: 4px 0 4px 22px;
    margin-bottom: 6px !important;
    color: #666;
}
.seo-uc-list li::before {
    content: "›";
    position: absolute;
    left: 8px;
    color: #ff5722;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
}

/* ---------- Related Tools ---------- */
.seo-related-section {
    padding: 48px 24px;
    background: #fafafa;
}
.seo-related-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.seo-related-inner h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-align: center;
    margin-bottom: 28px;
    color: #1a1a1a;
}
.seo-related-inner h2 span { color: #ff5722; }
.seo-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.seo-related-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 18px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.2s ease;
    gap: 8px;
}
.seo-related-card:hover {
    border-color: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,87,34,0.1);
}
.seo-related-card .seo-rel-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff3e0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
.seo-related-card .seo-rel-icon svg {
    width: 20px;
    height: 20px;
    stroke: #ff5722;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.seo-related-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}
.seo-related-card p {
    font-size: 12px;
    color: #757575;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .seo-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .seo-related-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .seo-content-section { padding: 32px 16px; }
    .seo-content-inner h2 { font-size: 24px; margin-bottom: 18px; }
    .seo-acc-item summary { font-size: 14px; padding: 14px 16px; }
    .seo-acc-body { font-size: 13px; padding: 0 16px 16px; }
    .seo-related-section { padding: 32px 16px; }
    .seo-related-inner h2 { font-size: 24px; margin-bottom: 20px; }
    .seo-breadcrumb { padding: 10px 16px; }
}
