/* SnapSale blog styling — gerenderde markdown-content + shortcodes */

/* ============== Content typography ============== */
.ss-blog-content {
    color: #1f2937;
    line-height: 1.75;
    font-size: 1rem;
}

.ss-blog-content h1,
.ss-blog-content h2,
.ss-blog-content h3,
.ss-blog-content h4 {
    color: #1D6BAB;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.ss-blog-content h1 { font-size: 2rem; }
.ss-blog-content h2 { font-size: 1.625rem; }
.ss-blog-content h3 { font-size: 1.25rem; }
.ss-blog-content h4 { font-size: 1.1rem; }

.ss-blog-content p {
    margin: 1rem 0;
}

.ss-blog-content a {
    color: #1D6BAB;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ss-blog-content a:hover {
    color: #155486;
}

.ss-blog-content ul,
.ss-blog-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}
.ss-blog-content ul { list-style: disc; }
.ss-blog-content ol { list-style: decimal; }
.ss-blog-content li { margin: 0.25rem 0; }

.ss-blog-content code {
    background: #f3f4f6;
    color: #1f2937;
    padding: 0.1em 0.35em;
    border-radius: 3px;
    font-size: 0.9em;
}

.ss-blog-content pre {
    background: #1f2937;
    color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}
.ss-blog-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.ss-blog-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}
.ss-blog-content th,
.ss-blog-content td {
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    text-align: left;
}
.ss-blog-content th {
    background: #f9fafb;
    font-weight: 600;
}

.ss-blog-content hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

.ss-blog-content img,
.ss-blog-content picture {
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    display: block;
    border-radius: 0.5rem;
}

.ss-inline-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* ============== Shortcode: Quote ============== */
.ss-quote {
    border-left: 4px solid #1D6BAB;
    background: #f9fafb;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #374151;
    border-radius: 0 0.375rem 0.375rem 0;
}
.ss-quote__content {
    font-size: 1.05rem;
}
.ss-quote__cite {
    margin-top: 0.5rem;
    font-style: normal;
    font-size: 0.875rem;
    color: #6b7280;
}

/* ============== Shortcode: Info callout ============== */
.ss-callout {
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
    border: 1px solid transparent;
}
.ss-callout--info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e3a8a;
}
.ss-callout--highlight {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #7c2d12;
}

/* ============== Shortcode: CTA-button ============== */
.ss-cta-inline {
    margin: 2rem 0;
    text-align: center;
}
/* Hogere specificiteit zodat de generieke .ss-blog-content a regels niet overschrijven */
.ss-blog-content a.ss-cta-button,
a.ss-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #F27926;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(242, 121, 38, 0.25);
    transition: background-color 0.15s ease, transform 0.15s ease;
}
.ss-blog-content a.ss-cta-button:hover,
a.ss-cta-button:hover {
    background: #d96a1f;
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
}

/* ============== Utilities ============== */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
