/*
 * Snyptech — single.css v3.0
 * Blog single-post page: all components rendered by blog-helpers.php
 * Depends on: style.css (tokens + base)
 * NO duplicate rules for classes already in style.css
 */

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.snyp-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    list-style: none !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
}

.snyp-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--snyp-font);
    font-size: 13px;
    color: var(--snyp-gray);
    padding: 0 !important;
    margin: 0 !important;
}

.snyp-breadcrumb li a {
    color: var(--snyp-gray) !important;
    text-decoration: none !important;
    transition: var(--snyp-transition);
}

.snyp-breadcrumb li a:hover {
    color: var(--snyp-blue) !important;
}

.snyp-bc-sep {
    display: inline-flex;
    align-items: center;
    color: var(--snyp-border);
    flex-shrink: 0;
}

.snyp-bc-current {
    color: var(--snyp-dark);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

/* ============================================================
   POST HEADER — word-count badge + updated badge
   ============================================================ */
.snyp-post-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.snyp-badge-updated {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fef3c7;
    color: #92400e;
    font-family: var(--snyp-font);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #fcd34d;
}

.snyp-badge-depth {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0fdf4;
    color: #166534;
    font-family: var(--snyp-font);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #bbf7d0;
}

.snyp-badge-expert {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ede9fe;
    color: #5b21b6;
    font-family: var(--snyp-font);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #c4b5fd;
}

/* Reading time — prominent in header */
.snyp-post-read-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--snyp-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--snyp-gray);
}

.snyp-post-read-time svg {
    color: var(--snyp-blue);
    flex-shrink: 0;
}

/* ============================================================
   TABLE OF CONTENTS
   ============================================================ */
.snyp-toc {
    background: var(--snyp-gray-light);
    border: 1px solid var(--snyp-border);
    border-left: 4px solid var(--snyp-blue);
    border-radius: var(--snyp-radius);
    padding: 22px 26px;
    margin: 36px 0;
}

.snyp-toc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--snyp-font);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--snyp-dark);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--snyp-border);
}

.snyp-toc-header svg {
    color: var(--snyp-blue);
    flex-shrink: 0;
}

.snyp-toc-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    counter-reset: toc-counter;
}

.snyp-toc-list li {
    padding: 0 !important;
    margin: 0 !important;
}

.snyp-toc-h2 {
    padding: 5px 0 !important;
}

.snyp-toc-h3 {
    padding: 4px 0 4px 20px !important;
}

.snyp-toc-h2 a,
.snyp-toc-h3 a {
    font-family: var(--snyp-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--snyp-dark-2) !important;
    text-decoration: none !important;
    transition: var(--snyp-transition);
    display: block;
    line-height: 1.5;
}

.snyp-toc-h3 a {
    font-size: 13px;
    color: var(--snyp-gray) !important;
}

.snyp-toc-h2 a:hover,
.snyp-toc-h3 a:hover,
.snyp-toc-h2 a.is-active,
.snyp-toc-h3 a.is-active {
    color: var(--snyp-blue) !important;
    padding-left: 4px;
}

/* ============================================================
   INLINE CTA (auto-injected after paragraph 3)
   ============================================================ */
.snyp-inline-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid var(--snyp-border);
    border-left: 4px solid var(--snyp-blue);
    border-radius: var(--snyp-radius);
    padding: 20px 22px;
    margin: 36px 0;
    flex-wrap: wrap;
}

.snyp-inline-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--snyp-blue-light);
    border-radius: 10px;
    color: var(--snyp-blue);
    flex-shrink: 0;
}

.snyp-inline-cta-text {
    flex: 1;
    min-width: 200px;
}

.snyp-inline-cta-text strong {
    display: block;
    font-family: var(--snyp-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--snyp-dark);
    margin-bottom: 2px;
}

.snyp-inline-cta-text span {
    font-family: var(--snyp-font);
    font-size: 13px;
    color: var(--snyp-gray);
    line-height: 1.5;
}

.snyp-inline-cta-btn {
    display: inline-block;
    background: var(--snyp-blue);
    color: var(--snyp-white) !important;
    font-family: var(--snyp-font);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.snyp-inline-cta-btn:hover {
    background: var(--snyp-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(32,125,233,0.25);
}

/* ============================================================
   SOCIAL SHARE — INLINE (bottom of post)
   ============================================================ */
.snyp-share-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 24px 0;
    border-top: 1px solid var(--snyp-border);
    margin-top: 8px;
}

.snyp-share-label {
    font-family: var(--snyp-font);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--snyp-gray);
    flex-shrink: 0;
}

.snyp-share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.snyp-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--snyp-border);
    background: var(--snyp-white);
    color: var(--sc, var(--snyp-gray));
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    padding: 0;
}

.snyp-share-btn:hover {
    background: var(--sc, var(--snyp-blue));
    color: var(--snyp-white) !important;
    border-color: var(--sc, var(--snyp-blue));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.snyp-share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.snyp-share-icon svg {
    width: 16px;
    height: 16px;
}

.snyp-share-copy.copied {
    background: #22c55e;
    border-color: #22c55e;
    color: white !important;
}

/* Sticky share rail styling removed (disabled per client request) */

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.snyp-faq {
    margin: 48px 0;
    border-top: 2px solid var(--snyp-border);
    padding-top: 36px;
}

.snyp-faq-title {
    font-family: var(--snyp-font) !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: var(--snyp-dark) !important;
    margin-bottom: 24px !important;
}

.snyp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--snyp-border);
    border-radius: var(--snyp-radius);
    overflow: hidden;
}

.snyp-faq-item {
    border-bottom: 1px solid var(--snyp-border);
}

.snyp-faq-item:last-child {
    border-bottom: none;
}

.snyp-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 22px;
    background: var(--snyp-white);
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.18s ease;
    font-family: var(--snyp-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--snyp-dark);
    line-height: 1.5;
}

.snyp-faq-q:hover {
    background: var(--snyp-gray-light);
}

.snyp-faq-q[aria-expanded="true"] {
    background: var(--snyp-blue-light);
    color: var(--snyp-blue);
}

.snyp-faq-q[aria-expanded="true"] .snyp-faq-chevron {
    transform: rotate(180deg);
    color: var(--snyp-blue);
}

.snyp-faq-chevron {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--snyp-gray);
    transition: transform 0.22s ease, color 0.18s ease;
}

.snyp-faq-a {
    overflow: hidden;
}

.snyp-faq-a-inner {
    padding: 4px 22px 20px;
    font-family: var(--snyp-font);
    font-size: 15px;
    color: var(--snyp-gray);
    line-height: 1.75;
    border-top: 1px solid var(--snyp-border);
    padding-top: 16px;
    margin-top: 0;
}

.snyp-faq-a-inner p:last-child {
    margin-bottom: 0;
}

.snyp-faq-a-inner a {
    color: var(--snyp-blue);
}

/* ============================================================
   "WAS THIS HELPFUL?" WIDGET
   ============================================================ */
.snyp-helpful {
    background: var(--snyp-white);
    border: 1px solid var(--snyp-border);
    border-radius: var(--snyp-radius);
    padding: 28px;
    text-align: center;
    margin: 36px 0;
}

.snyp-helpful-label {
    font-family: var(--snyp-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--snyp-dark);
    margin-bottom: 16px !important;
}

.snyp-helpful-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.snyp-helpful-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border-radius: 8px;
    border: 1px solid var(--snyp-border);
    background: var(--snyp-white);
    font-family: var(--snyp-font);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--snyp-dark);
}

.snyp-helpful-btn:hover {
    border-color: var(--snyp-gray);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}

.snyp-helpful-yes:hover,
.snyp-helpful-yes.voted {
    background: #f0fdf4;
    border-color: #86efac;
    color: #16a34a;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.1);
}

.snyp-helpful-no:hover,
.snyp-helpful-no.voted {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.snyp-helpful-thanks {
    font-family: var(--snyp-font);
    font-size: 14px;
    color: var(--snyp-gray);
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    animation: snyp-fadeIn 0.3s ease;
}

@keyframes snyp-fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   AUTHOR BOX — extended fields from blog-helpers.php
   ============================================================ */
.snyp-author-box-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.snyp-author-box-role {
    display: inline-block;
    font-family: var(--snyp-font);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--snyp-blue);
    margin-bottom: 4px;
}

.snyp-author-box-count {
    font-family: var(--snyp-font);
    font-size: 12px;
    color: var(--snyp-gray);
    display: block;
    margin-bottom: 8px;
}

.snyp-author-box-socials {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.snyp-author-box-socials a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--snyp-font);
    font-size: 12px;
    font-weight: 600;
    color: var(--snyp-blue) !important;
    text-decoration: none !important;
    background: var(--snyp-white);
    border: 1px solid var(--snyp-border);
    padding: 5px 12px;
    border-radius: 6px;
    transition: var(--snyp-transition);
}

.snyp-author-box-socials a:hover {
    background: var(--snyp-blue);
    color: var(--snyp-white) !important;
    border-color: var(--snyp-blue);
}

/* ============================================================
   SIDEBAR — missing widget pieces
   ============================================================ */

/* .snyp-widget-title used in blog-helpers.php sidebar */
.snyp-widget-title {
    font-family: var(--snyp-font);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--snyp-dark);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--snyp-blue);
    margin-bottom: 16px;
}

/* Sidebar post meta date+time line */
.snyp-sidebar-post-meta {
    font-family: var(--snyp-font);
    font-size: 11px;
    color: var(--snyp-gray);
    margin-top: 3px;
}

/* Trending widget */
.snyp-trending-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--snyp-border);
    text-decoration: none !important;
    transition: var(--snyp-transition);
}

.snyp-trending-item:last-child {
    border-bottom: none;
}

.snyp-trending-item:hover .snyp-trending-title {
    color: var(--snyp-blue);
}

.snyp-trending-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--snyp-blue);
    color: var(--snyp-white);
    font-family: var(--snyp-font);
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.snyp-trending-num:nth-child(1) { background: #f59e0b; }

.snyp-trending-item:first-child .snyp-trending-num {
    background: #f59e0b;
}

.snyp-trending-item:nth-child(2) .snyp-trending-num {
    background: #94a3b8;
}

.snyp-trending-item:nth-child(3) .snyp-trending-num {
    background: #cd7c2e;
}

.snyp-trending-title {
    font-family: var(--snyp-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--snyp-dark);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--snyp-transition);
}

.snyp-trending-meta {
    font-family: var(--snyp-font);
    font-size: 11px;
    color: var(--snyp-gray);
    margin-top: 3px;
}

/* Newsletter widget */
.snyp-newsletter-desc {
    font-family: var(--snyp-font);
    font-size: 13px;
    color: var(--snyp-gray);
    line-height: 1.6;
    margin-bottom: 14px !important;
}

.snyp-newsletter-form {
    display: flex !important;
    align-items: center !important;
    background: #f8fafc !important;
    border: 1px solid var(--snyp-border) !important;
    border-radius: 8px !important;
    padding: 3px !important;
    transition: all 0.2s ease !important;
}

.snyp-newsletter-form:focus-within {
    border-color: var(--snyp-blue) !important;
    box-shadow: 0 0 0 3px rgba(32,125,233,0.1) !important;
    background: var(--snyp-white) !important;
}

.snyp-newsletter-input {
    flex: 1 !important;
    border: none !important;
    outline: none !important;
    padding: 10px 14px !important;
    font-family: var(--snyp-font) !important;
    font-size: 14px !important;
    color: var(--snyp-dark) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.snyp-newsletter-btn {
    background: var(--snyp-blue) !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 20px !important;
    font-family: var(--snyp-font) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    white-space: nowrap !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.snyp-newsletter-btn:hover {
    background: var(--snyp-blue-dark) !important;
}

/* ============================================================
   PREMIUM SaaS FORM & SUBMIT BUTTONS (WPForms, Elementor, CF7, Mailchimp)
   ============================================================ */
/* Input fields */
.elementor-field-textual,
.wpforms-field input[type="email"],
.wpforms-field input[type="text"],
.mc4wp-form input[type="email"],
.wpcf7-form input[type="email"],
.wp-block-search__input {
    font-family: var(--snyp-font, 'Inter', sans-serif) !important;
    font-size: 14px !important;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    border: 1px solid var(--snyp-border, #e2e8f0) !important;
    background-color: #ffffff !important;
    color: var(--snyp-dark, #0f172a) !important;
    box-shadow: none !important;
    transition: all 0.22s ease !important;
    outline: none !important;
    height: auto !important;
    line-height: normal !important;
}

.elementor-field-textual:focus,
.wpforms-field input[type="email"]:focus,
.wpforms-field input[type="text"]:focus,
.mc4wp-form input[type="email"]:focus,
.wpcf7-form input[type="email"]:focus,
.wp-block-search__input:focus {
    border-color: var(--snyp-blue, #207DE9) !important;
    box-shadow: 0 0 0 3px rgba(32,125,233,0.1) !important;
}

/* Submit buttons */
.elementor-button[type="submit"],
.wpforms-submit,
.mc4wp-form input[type="submit"],
.wpcf7-submit,
input[type="submit"].wp-block-button__link,
.wp-block-search__button {
    font-family: var(--snyp-font, 'Inter', sans-serif) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px 22px !important;
    border-radius: 6px !important;
    border: none !important;
    background-color: var(--snyp-blue, #207DE9) !important;
    background: var(--snyp-blue, #207DE9) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: all 0.22s ease !important;
    cursor: pointer !important;
    height: auto !important;
    line-height: 1.5 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.elementor-button[type="submit"]:hover,
.wpforms-submit:hover,
.mc4wp-form input[type="submit"]:hover,
.wpcf7-submit:hover,
input[type="submit"].wp-block-button__link:hover,
.wp-block-search__button:hover {
    background-color: var(--snyp-blue-dark, #1565E0) !important;
    background: var(--snyp-blue-dark, #1565E0) !important;
    box-shadow: 0 4px 12px rgba(32,125,233,0.25) !important;
    transform: translateY(-1px) !important;
}

.snyp-newsletter-success {
    font-family: var(--snyp-font);
    font-size: 13px;
    color: #16a34a;
    font-weight: 600;
    text-align: center;
    padding: 10px 0;
    display: none;
}

/* Sidebar TOC mirror */
.snyp-sidebar-toc-widget {
    transition: opacity 0.3s ease;
}

.snyp-sidebar-toc nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.snyp-sidebar-toc a {
    font-family: var(--snyp-font);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--snyp-gray) !important;
    text-decoration: none !important;
    padding: 5px 0 5px 12px;
    border-left: 2px solid transparent;
    transition: var(--snyp-transition);
    display: block;
    line-height: 1.45;
}

.snyp-sidebar-toc a:hover,
.snyp-sidebar-toc a.is-active {
    color: var(--snyp-blue) !important;
    border-left-color: var(--snyp-blue);
}

.snyp-sidebar-toc a.is-sub {
    padding-left: 22px;
    font-size: 12px;
}

/* Sidebar category list — name from blog-helpers.php is snyp-cat-list */
.snyp-cat-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.snyp-cat-list li {
    border-bottom: 1px solid var(--snyp-border);
    padding: 0 !important;
    margin: 0 !important;
}

.snyp-cat-list li:last-child { border-bottom: none; }

.snyp-cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 4px;
    font-family: var(--snyp-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--snyp-dark) !important;
    text-decoration: none !important;
    transition: var(--snyp-transition);
}

.snyp-cat-list a:hover {
    color: var(--snyp-blue) !important;
    padding-left: 8px;
}

.snyp-cat-count {
    background: var(--snyp-gray-light);
    color: var(--snyp-gray);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    flex-shrink: 0;
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.snyp-back-top,
.elementor-back-to-top,
#scrollUp,
.scroll-to-top,
.back-to-top,
#back-to-top,
.to-top,
#to-top,
.btn-scroll-up,
.scroll-top,
#scroll-top {
    position: fixed !important;
    bottom: 32px !important;
    right: 32px !important;
    z-index: 99999 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background-color: var(--snyp-blue, #207DE9) !important;
    background: var(--snyp-blue, #207DE9) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(32,125,233,0.3), 0 2px 5px rgba(0,0,0,0.08) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.snyp-back-top.is-visible,
.elementor-back-to-top.is-visible,
.elementor-back-to-top-show {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.snyp-back-top:hover,
.elementor-back-to-top:hover,
#scrollUp:hover,
.scroll-to-top:hover,
.back-to-top:hover,
#back-to-top:hover,
.to-top:hover,
#to-top:hover,
.btn-scroll-up:hover,
.scroll-top:hover,
#scroll-top:hover {
    background-color: var(--snyp-blue-dark, #1565E0) !important;
    background: var(--snyp-blue-dark, #1565E0) !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(32,125,233,0.4), 0 2px 5px rgba(0,0,0,0.12) !important;
}

.snyp-back-top svg,
.elementor-back-to-top svg,
#scrollUp svg,
.scroll-to-top svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #ffffff !important;
    stroke-width: 2.2 !important;
    fill: none !important;
}

/* ============================================================
   MOBILE STICKY CTA BAR
   ============================================================ */
.snyp-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: var(--snyp-dark);
    padding: 12px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.snyp-mobile-cta.is-visible {
    transform: translateY(0);
}

.snyp-mobile-cta span {
    font-family: var(--snyp-font);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
}

.snyp-mobile-cta a {
    display: inline-block;
    background: var(--snyp-blue);
    color: white !important;
    font-family: var(--snyp-font);
    font-size: 13px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 6px;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.snyp-mobile-cta a:hover {
    background: var(--snyp-blue-dark);
}

/* ============================================================
   LEAD / EXIT-INTENT BANNER (scroll 70% trigger)
   ============================================================ */
.snyp-lead-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 500;
    width: 340px;
    background: var(--snyp-white);
    border: 1px solid var(--snyp-border);
    border-radius: var(--snyp-radius);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15), 0 4px 16px rgba(0,0,0,0.08);
    padding: 20px;
    animation: snyp-slideUp 0.4s cubic-bezier(0.22,1,0.36,1);
    transform-origin: bottom right;
}

@keyframes snyp-slideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.snyp-lead-banner-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: none;
    background: var(--snyp-gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--snyp-gray);
    transition: var(--snyp-transition);
    padding: 0;
}

.snyp-lead-banner-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

.snyp-lead-banner-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.snyp-lead-banner-icon {
    font-size: 28px;
    line-height: 1;
}

.snyp-lead-banner-text strong {
    display: block;
    font-family: var(--snyp-font);
    font-size: 16px;
    font-weight: 800;
    color: var(--snyp-dark);
    margin-bottom: 4px;
}

.snyp-lead-banner-text span {
    font-family: var(--snyp-font);
    font-size: 13px;
    color: var(--snyp-gray);
    line-height: 1.5;
}

.snyp-lead-banner-cta {
    display: block;
    background: var(--snyp-blue);
    color: white !important;
    font-family: var(--snyp-font);
    font-size: 14px;
    font-weight: 700;
    padding: 12px;
    border-radius: var(--snyp-radius-sm);
    text-align: center;
    text-decoration: none !important;
    margin-top: 4px;
    transition: background 0.2s ease;
}

.snyp-lead-banner-cta:hover {
    background: var(--snyp-blue-dark);
}

/* ============================================================
   AUTHOR ARCHIVE HEADER
   ============================================================ */
.snyp-author-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 40px 0 36px;
    border-bottom: 2px solid var(--snyp-border);
    margin-bottom: 40px;
}

.snyp-author-header-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 4px solid var(--snyp-white);
    box-shadow: var(--snyp-shadow);
}

.snyp-author-header-info {
    flex: 1;
}

.snyp-author-header-role {
    display: inline-block;
    font-family: var(--snyp-font);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--snyp-blue);
    margin-bottom: 6px;
}

.snyp-author-header-name {
    font-family: var(--snyp-font) !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: var(--snyp-dark) !important;
    margin: 0 0 10px !important;
    line-height: 1.2 !important;
}

.snyp-author-header-bio {
    font-family: var(--snyp-font);
    font-size: 15px;
    color: var(--snyp-gray);
    line-height: 1.7;
    margin-bottom: 14px !important;
    max-width: 600px;
}

.snyp-author-header-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.snyp-author-header-meta span {
    font-family: var(--snyp-font);
    font-size: 13px;
    color: var(--snyp-gray);
}

.snyp-author-header-meta a {
    font-family: var(--snyp-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--snyp-blue) !important;
    text-decoration: none !important;
    border: 1px solid var(--snyp-border);
    padding: 4px 12px;
    border-radius: 6px;
    transition: var(--snyp-transition);
}

.snyp-author-header-meta a:hover {
    background: var(--snyp-blue);
    color: white !important;
    border-color: var(--snyp-blue);
}

/* Dark mode removed — light theme only */

/* ============================================================
   PRINT STYLESHEET
   ============================================================ */
@media print {
    .snyp-share-inline,
    .snyp-mobile-cta,
    .snyp-lead-banner,
    .snyp-back-top,
    .snyp-sidebar,
    .snyp-progress-bar,
    .snyp-inline-cta,
    .snyp-helpful,
    .snyp-breadcrumb,
    .snyp-related,
    .elementor-location-header,
    .elementor-location-footer,
    #wpadminbar {
        display: none !important;
    }

    .snyp-single-wrap {
        display: block !important;
        padding: 0 !important;
        max-width: 100% !important;
    }

    .snyp-main-content {
        max-width: 100% !important;
    }

    .snyp-post-title {
        font-size: 24pt !important;
        margin-bottom: 12pt !important;
    }

    .snyp-post-content {
        font-size: 11pt !important;
        line-height: 1.6 !important;
    }

    .snyp-post-content a::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #555;
    }

    .snyp-post-content a[href^="#"]::after {
        content: "";
    }

    .snyp-toc {
        page-break-after: avoid;
        border: 1px solid #ccc;
    }

    .snyp-post-content h2,
    .snyp-post-content h3 {
        page-break-after: avoid;
    }

    .snyp-faq-a[hidden] {
        display: block !important;
    }

    .snyp-featured-img {
        max-height: 300px;
        object-fit: cover;
    }

    @page {
        margin: 2cm 2.5cm;
    }
}
/* Responsive additions */

@media (max-width: 640px) {
    /* Show mobile CTA bar */
    .snyp-mobile-cta {
        display: flex;
    }

    /* Lead banner full-width on mobile */
    .snyp-lead-banner {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        border-radius: var(--snyp-radius) var(--snyp-radius) 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }

    .snyp-back-top {
        bottom: 70px;
        right: 16px;
    }

    .snyp-inline-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .snyp-inline-cta-btn {
        width: 100%;
        text-align: center;
    }

    .snyp-helpful-btns {
        flex-direction: column;
        align-items: center;
    }

    .snyp-helpful-btn {
        width: 100%;
        justify-content: center;
    }

    .snyp-author-header {
        flex-direction: column;
        gap: 16px;
        padding: 28px 0 24px;
    }

    .snyp-author-header-name {
        font-size: 1.6rem !important;
    }

    .snyp-share-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .snyp-faq-q {
        font-size: 14px;
        padding: 14px 16px;
    }

    .snyp-toc {
        padding: 16px 18px;
    }

    .snyp-toc-h2 a {
        font-size: 13px;
    }

    .snyp-toc-h3 a {
        font-size: 12px;
    }
}

/* ============================================================
   FORCED LIGHT THEME ONLY (Erasing Dark Scheme overrides)
   ============================================================ */
/* Global html and body */
html,
body,
body.blog,
body.single-post,
body.single-case_study,
body.archive,
body.category,
body.tag,
body.author,
body.page,
body.home {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

/* Page containers */
#page,
#content,
.site-content,
.elementor,
.snyp-blog-wrap,
.snyp-single-wrap,
.snyp-main-content {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

/* Global dark-mode wrapper class neutralizations */
body.dark,
body.dark-mode,
html.dark,
html.dark-mode,
[data-theme="dark"] {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

body.dark #page,
body.dark #content,
body.dark-mode #page,
body.dark-mode #content,
body.dark .elementor,
body.dark-mode .elementor {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

/* Headings color */
h1, h2, h3, h4, h5, h6,
.snyp-blog-wrap h1,
.snyp-blog-wrap h2,
.snyp-blog-wrap h3,
.snyp-blog-wrap h4,
.snyp-single-wrap h1,
.snyp-single-wrap h2,
.snyp-single-wrap h3,
.snyp-single-wrap h4,
.snyp-cat-header h1 {
    color: #0f172a !important;
}

/* Post text and general colors */
.snyp-post-title,
.snyp-post-content,
.snyp-post-content p,
.snyp-post-content li,
.snyp-card-title,
.snyp-card-excerpt,
.snyp-author-box-name,
.snyp-author-box-bio {
    color: #1e293b !important;
}

.snyp-post-meta,
.snyp-post-meta-info,
.snyp-post-meta-sub,
.snyp-post-author-name,
.snyp-card-meta,
.snyp-card-meta-info,
.snyp-card-author,
.snyp-card-date {
    color: #64748b !important;
}

.snyp-post-author-name:hover,
.snyp-author-box-name:hover {
    color: #207DE9 !important;
}

/* Sidebar Widgets light styling */
.snyp-sidebar-widget {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06) !important;
    color: #0f172a !important;
}

.snyp-widget-title,
.snyp-sidebar-widget-title {
    color: #0f172a !important;
    border-bottom: 2px solid #207DE9 !important;
}

.snyp-newsletter-desc {
    color: #64748b !important;
}

.snyp-sidebar-post-title,
.snyp-trending-title {
    color: #0f172a !important;
}

.snyp-trending-num {
    color: #ffffff !important;
}

/* Hide all common dark/light theme toggles and switchers */
.wp-dark-mode-switcher,
#wp-dark-mode-btn,
.dark-mode-toggle,
#dark-mode-toggle,
.dark-light-toggle,
.theme-switch,
.theme-toggle,
#theme-toggle,
.mode-switch,
#mode-switch,
.elementor-widget-wp-dark-mode-switcher {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ============================================================
   PREMIUM SaaS BREADCRUMBS
   ============================================================ */
.snyp-breadcrumb,
.breadcrumbs,
.yoast-breadcrumbs,
.rank-math-breadcrumb {
    font-family: var(--snyp-font, 'Inter', sans-serif) !important;
    font-size: 12px !important;
    margin: 0 0 32px 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    color: #64748b !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 8px 16px !important;
    border-radius: 100px !important;
    width: fit-content !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
}

.snyp-breadcrumb ol {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.snyp-breadcrumb li {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.snyp-breadcrumb a,
.breadcrumbs a,
.yoast-breadcrumbs a,
.rank-math-breadcrumb a {
    color: #64748b !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.snyp-breadcrumb a:hover,
.breadcrumbs a:hover,
.yoast-breadcrumbs a:hover,
.rank-math-breadcrumb a:hover {
    color: var(--snyp-blue, #207DE9) !important;
}

/* Breadcrumb separator */
.snyp-bc-sep,
.snyp-breadcrumb .sep,
.breadcrumbs .sep,
.yoast-breadcrumbs .sep {
    color: #94a3b8 !important;
    font-size: 11px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.snyp-bc-sep svg {
    stroke: #94a3b8 !important;
    width: 10px !important;
    height: 10px !important;
}

.snyp-bc-current,
.snyp-breadcrumb span[aria-current="page"],
.breadcrumbs span:last-child {
    color: #0f172a !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 280px !important;
}

/* ============================================================
   PREMIUM BOTTOM CTA CARD
   ============================================================ */
.snyp-bottom-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 32px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid var(--snyp-blue, #207DE9) !important;
    border-radius: var(--snyp-radius, 10px) !important;
    padding: 36px 40px !important;
    margin: 48px 0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
    text-align: left !important;
}

.snyp-bottom-cta-content {
    flex: 1 !important;
}

.snyp-bottom-cta-badge {
    display: inline-block !important;
    background: var(--snyp-blue-light, #eef4ff) !important;
    color: var(--snyp-blue, #207DE9) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    margin-bottom: 12px !important;
    line-height: normal !important;
}

.snyp-bottom-cta-title {
    font-family: var(--snyp-font, 'Inter', sans-serif) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3 !important;
}

.snyp-bottom-cta-text {
    font-family: var(--snyp-font, 'Inter', sans-serif) !important;
    font-size: 14px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

.snyp-bottom-cta-actions {
    flex-shrink: 0 !important;
}

.snyp-bottom-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--snyp-blue, #207DE9) !important;
    background: var(--snyp-blue, #207DE9) !important;
    color: #ffffff !important;
    font-family: var(--snyp-font, 'Inter', sans-serif) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.22s ease !important;
    box-shadow: 0 4px 12px rgba(32,125,233,0.2) !important;
    border: none !important;
    cursor: pointer !important;
}

.snyp-bottom-cta-btn:hover {
    background-color: var(--snyp-blue-dark, #1565E0) !important;
    background: var(--snyp-blue-dark, #1565E0) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(32,125,233,0.3) !important;
}

/* ============================================================
   SVG ICON ALIGNMENT IN WIDGET HEADERS
   ============================================================ */
.snyp-icon-widget {
    vertical-align: -2px !important;
    margin-right: 8px !important;
    color: var(--snyp-blue, #207DE9) !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    stroke-width: 1.8 !important;
}

@media (max-width: 768px) {
    .snyp-bottom-cta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        padding: 28px 24px !important;
    }
    
    .snyp-bottom-cta-btn {
        width: 100% !important;
        text-align: center !important;
    }
}

/* ============================================================
   FIX: Back-to-top button overlapping lead banner (desktop + mobile)
   JS toggles "snyp-lead-open" on the back-to-top button while the
   lead banner is visible, lifting it clear of the banner.
   ============================================================ */
.snyp-back-top.snyp-lead-open,
.elementor-back-to-top.snyp-lead-open,
#scrollUp.snyp-lead-open,
.scroll-to-top.snyp-lead-open,
.back-to-top.snyp-lead-open,
#back-to-top.snyp-lead-open,
.to-top.snyp-lead-open,
#to-top.snyp-lead-open,
.btn-scroll-up.snyp-lead-open,
.scroll-top.snyp-lead-open,
#scroll-top.snyp-lead-open {
    bottom: 210px !important;
    transition: bottom 0.25s ease !important;
}

@media (max-width: 640px) {
    /* Lead banner takes the full bottom strip on mobile — lift the
       back-to-top button above it so they never overlap */
    .snyp-back-top.snyp-lead-open,
    .elementor-back-to-top.snyp-lead-open,
    #scrollUp.snyp-lead-open,
    .scroll-to-top.snyp-lead-open,
    .back-to-top.snyp-lead-open,
    #back-to-top.snyp-lead-open,
    .to-top.snyp-lead-open,
    #to-top.snyp-lead-open,
    .btn-scroll-up.snyp-lead-open,
    .scroll-top.snyp-lead-open,
    #scroll-top.snyp-lead-open {
        bottom: 230px !important;
        right: 16px !important;
    }

    /* When the mobile sticky CTA bar is also visible, lift it further still */
    .snyp-back-top.snyp-mobilecta-open,
    .elementor-back-to-top.snyp-mobilecta-open,
    #scrollUp.snyp-mobilecta-open,
    .scroll-to-top.snyp-mobilecta-open,
    .back-to-top.snyp-mobilecta-open,
    #back-to-top.snyp-mobilecta-open,
    .to-top.snyp-mobilecta-open,
    #to-top.snyp-mobilecta-open,
    .btn-scroll-up.snyp-mobilecta-open,
    .scroll-top.snyp-mobilecta-open,
    #scroll-top.snyp-mobilecta-open {
        bottom: 90px !important;
    }

    /* Breadcrumb: hidden on mobile */
    .snyp-breadcrumb,
    .breadcrumbs,
    .yoast-breadcrumbs,
    .rank-math-breadcrumb {
        display: none !important;
    }
}

/* ============================================================
   FIX: Sidebar CTA heading "Need Designs That Convert?" (and other
   dynamic CTA headings) — make heading text white
   ============================================================ */
.snyp-sidebar-cta h4 {
    color: #ffffff !important;
}


/* Production fixes */
.display-name{
display:inline-block;
max-width:100%;
overflow-wrap:anywhere;
word-break:break-word;
}
.snyp-mobile-cta,.snyp-lead-banner{
box-sizing:border-box;
max-width:100%;
}


/* === Production fixes 2026 === */
.snyp-lead-banner{z-index:350;}
.snyp-back-top{z-index:250;}
@media (max-width:1024px){
 .snyp-back-top.is-visible,.snyp-back-top{bottom:120px!important;}
}
@media (max-width:768px){
 .snyp-back-top.is-visible,.snyp-back-top{bottom:95px!important;}
}
.snyp-lead-banner-icon,
.snyp-lead-banner-icon svg{
 color:#fff!important;
 stroke:#fff!important;
 fill:none!important;
}
.snyp-lead-banner-text{
 flex:1 1 auto;
 min-width:0;
}
.snyp-lead-banner-text strong,
.snyp-lead-banner-text span{
 overflow-wrap:anywhere;
 word-break:break-word;
}


/* Production overlap fixes */
.snyp-lead-banner{z-index:400!important;}
.snyp-back-top{z-index:300!important;}
.snyp-back-top.is-visible{bottom:140px!important;}
@media(max-width:1024px){.snyp-back-top.is-visible{bottom:150px!important;}}
@media(max-width:768px){.snyp-back-top.is-visible{bottom:110px!important;}}
.snyp-lead-banner-icon,.snyp-lead-banner-icon svg,.snyp-lead-banner-icon path{color:#fff!important;stroke:#fff!important;fill:none!important;}
.snyp-lead-banner-close,.snyp-lead-banner-close svg,.snyp-lead-banner-close path{color:#fff!important;stroke:#fff!important;}
.snyp-lead-banner-text{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;word-break:break-word;padding-right:56px;}


/* v4 fixes */
.snyp-lead-banner{z-index:9998!important;}
.snyp-back-top{z-index:999!important;}
@media(max-width:1024px){.snyp-back-top.is-visible{bottom:140px!important}}
@media(max-width:768px){.snyp-back-top,.snyp-back-top.is-visible{bottom:120px!important}}
.snyp-lead-banner-icon,.snyp-lead-banner-icon svg,.snyp-lead-banner-icon path{color:#fff!important;stroke:#fff!important;fill:none!important}
.snyp-lead-banner-text{flex:1 1 auto;min-width:0;padding-right:56px;overflow-wrap:anywhere;word-break:break-word}
.snyp-lead-banner-close{position:absolute;top:14px;right:14px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.12)!important;color:#fff!important;z-index:10000}
.snyp-lead-banner-close svg,.snyp-lead-banner-close path{display:block;stroke:#fff!important;fill:none!important;stroke-width:2.5!important}

/* v5 close button */
.snyp-lead-banner-close{
position:absolute;top:14px;right:14px;background:transparent!important;border:none!important;
box-shadow:none!important;padding:0!important;margin:0!important;width:auto!important;height:auto!important;
font-size:24px!important;font-weight:700!important;line-height:1!important;color:#0f172a!important;
z-index:99999!important;cursor:pointer!important}
.snyp-lead-banner-close svg{display:none!important}
.snyp-back-top{z-index:100!important}
.snyp-lead-banner{z-index:1000!important}
