/* Cbshop.in Social Media Caption Generator – page-specific styles.
   Shared layout, typography, ads, breadcrumbs, buttons and SEO article styles
   are provided by /assets/css/creator-tools.css. */

.cb-caption-page .cb-tools-tool-heading { min-width: 0; flex: 1 1 460px; }
.cb-caption-page .cb-tools-back-link { margin: 0 0 18px; }
.cb-caption-page .cb-tools-back-link svg {
    width: 17px; height: 17px; fill: none; stroke: currentColor;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.cb-caption-page .cb-tools-share-button { flex: 0 0 auto; margin-top: 34px; }
.cb-caption-page .cb-tools-share-button svg { fill: currentColor; }
.cb-caption-generator-card { margin: 22px 0 28px; }
.cb-caption-tool-intro { margin-bottom: 20px; text-align: left; }
.cb-caption-tool-intro h2 { margin: 0 0 8px; color: #1c2738; font-size: 23px; line-height: 1.3; text-align: left; }
.cb-caption-tool-intro p { margin: 0; color: #647184; font-size: 15px; line-height: 1.7; text-align: left; }
.cb-caption-page .ab-tool-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cb-caption-page .ab-field { display: flex; flex-direction: column; gap: 8px; color: #263449; font-size: 14px; font-weight: 650; text-align: left; }
.cb-caption-page .ab-field textarea,
.cb-caption-page .ab-field select {
    width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #dce3ed;
    border-radius: 10px; background: #fff; color: #202938; font: inherit; font-weight: 400;
}
.cb-caption-page .ab-field textarea { min-height: 104px; resize: vertical; line-height: 1.6; }
.cb-caption-page .ab-field textarea:focus,
.cb-caption-page .ab-field select:focus { outline: 3px solid rgba(37, 99, 235, .14); border-color: #5b8def; }
.cb-caption-page .ab-field-wide { grid-column: 1 / -1; }
.cb-caption-page .ab-tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.cb-caption-page .ab-tool-output { min-width: 0; }
.cb-caption-page .ab-placeholder { margin: 0; padding: 16px; border: 1px dashed #d7dfeb; border-radius: 10px; color: #687589; background: #f8faff; line-height: 1.6; }
.cb-caption-privacy-note { margin: 14px 0 0; color: #778397; font-size: 12px; line-height: 1.6; }
.cb-caption-page .cb-tools-seo-content { text-align: left; }
.cb-caption-page .cb-tools-seo-content h2,
.cb-caption-page .cb-tools-seo-content p,
.cb-caption-page .cb-tools-seo-content li { text-align: left; }
.cb-caption-page .cb-tools-related-section { margin: 34px 0 42px; }
.cb-caption-page .cb-tools-related-section .cb-tools-section-heading { text-align: left; }
.cb-caption-page .cb-tools-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 900px) {
    .cb-caption-page .cb-tools-share-button { margin-top: 0; }
}
@media (max-width: 640px) {
    .cb-caption-page .ab-tool-form-grid,
    .cb-caption-page .cb-tools-related-grid { grid-template-columns: minmax(0, 1fr); }
    .cb-caption-page .cb-tools-tool-header { align-items: flex-start; }
    .cb-caption-page .cb-tools-share-button { width: 100%; }
    .cb-caption-page .cb-tools-tool-hero { padding-top: 4px; }
}
