/* ==========================================================================
   Horsforth Smile Clinic — Blog Styles v1.2.0
   Brand: Navy #0A253B, Blue #338EB5, Dark Blue #00549A
   Fonts: Poppins headings, Roboto body
   ========================================================================== */

:root {
    --hsc-primary: #0A253B;
    --hsc-accent: #338EB5;
    --hsc-accent-dark: #00549A;
    --hsc-text: #333333;
    --hsc-text-light: #555555;
    --hsc-bg-light: #f5f8fa;
    --hsc-bg-highlight: #edf4f8;
    --hsc-border: #d5dfe5;
    --hsc-white: #ffffff;
    --hsc-radius: 8px;
    --hsc-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

body.single-post .entry-content,
body.single-post .content-area {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

body.single-post .entry-header {
    max-width: 820px;
    margin: 40px auto 30px;
    padding: 0 24px;
}

/* ==========================================================================
   POST TITLE
   ========================================================================== */

body.single-post .page-header,
body.single-post h1.entry-title,
body.single-post .entry-title {
    font-family: 'Poppins', 'Montserrat', sans-serif !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #0A253B !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
}

body.single-post .entry-meta {
    font-family: 'Roboto', sans-serif;
    font-size: 15px !important;
    color: #555 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--hsc-border);
}

body.single-post .entry-meta a {
    color: var(--hsc-accent) !important;
    text-decoration: none !important;
}

/* ==========================================================================
   BODY TEXT — 19px Roboto
   ========================================================================== */

body.single-post .entry-content,
body.single-post .entry-content p,
body.single-post .entry-content span,
body.single-post #content .entry-content,
body.single-post #content .entry-content p {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 19px !important;
    line-height: 1.85 !important;
    color: #333333 !important;
}

body.single-post .entry-content p {
    margin-bottom: 1.5em;
}

/* ==========================================================================
   HEADINGS
   ========================================================================== */

body.single-post .entry-content h2,
body.single-post #content .entry-content h2 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #0A253B !important;
    margin: 2.5em 0 0.8em !important;
    padding-bottom: 0.45em;
    border-bottom: 3px solid #338EB5;
    line-height: 1.3 !important;
    letter-spacing: -0.01em;
}

body.single-post .entry-content h2:first-child {
    margin-top: 0 !important;
}

body.single-post .entry-content h3,
body.single-post #content .entry-content h3 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #0A253B !important;
    margin: 2em 0 0.6em !important;
    padding-left: 14px;
    border-left: 4px solid #338EB5;
    line-height: 1.35 !important;
}

/* ==========================================================================
   LINKS
   ========================================================================== */

body.single-post .entry-content a {
    color: #00549A !important;
    text-decoration: none !important;
    border-bottom: 1.5px solid #338EB5 !important;
    padding-bottom: 1px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

body.single-post .entry-content a:hover {
    color: #338EB5 !important;
}

/* ==========================================================================
   LISTS — 18px
   ========================================================================== */

body.single-post .entry-content ul {
    margin: 0 0 1.6em;
    padding: 0;
    list-style: none !important;
}

body.single-post .entry-content ul li,
body.single-post #content .entry-content ul li {
    position: relative;
    padding: 0.5em 0 0.5em 1.8em !important;
    line-height: 1.8 !important;
    font-size: 18px !important;
    list-style: none !important;
}

body.single-post .entry-content ul li::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0.95em;
    width: 10px !important;
    height: 10px !important;
    background: #338EB5 !important;
    border-radius: 50% !important;
}

body.single-post .entry-content ol {
    margin: 0 0 1.6em;
    padding-left: 1.6em;
}

body.single-post .entry-content ol li {
    padding: 0.4em 0;
    line-height: 1.8 !important;
    font-size: 18px !important;
}

body.single-post .entry-content ul ul li::before {
    background: transparent !important;
    border: 2px solid #338EB5 !important;
    width: 7px !important;
    height: 7px !important;
}

/* ==========================================================================
   QUICK ANSWERS BOX
   ========================================================================== */

body.single-post .entry-content h2:first-of-type + ul,
body.single-post .entry-content h2:first-of-type + p + ul {
    background: #edf4f8 !important;
    border: 1px solid #d5dfe5 !important;
    border-left: 4px solid #338EB5 !important;
    border-radius: 8px !important;
    padding: 1.5em 1.8em !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}

/* ==========================================================================
   RELATED GUIDES
   ========================================================================== */

body.single-post .entry-content h2:last-of-type ~ ul:last-of-type,
body.single-post .entry-content h2 + ul:last-of-type {
    background: #f5f8fa !important;
    border: 1px solid #d5dfe5 !important;
    border-radius: 8px !important;
    padding: 1.3em 1.5em !important;
}

body.single-post .entry-content h2:last-of-type ~ ul:last-of-type li::before,
body.single-post .entry-content h2 + ul:last-of-type li::before {
    content: '\2192' !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    color: #338EB5 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    top: 0.5em;
}

/* ==========================================================================
   CTA BUTTON
   ========================================================================== */

body.single-post .entry-content > p:last-of-type a[href*="contact-us"],
body.single-post .entry-content > p:last-child a[href*="contact-us"] {
    display: inline-block !important;
    background: #338EB5 !important;
    color: #ffffff !important;
    padding: 16px 42px !important;
    border-radius: 50px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    border: none !important;
    text-decoration: none !important;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(51, 142, 181, 0.3);
    margin-top: 8px;
}

body.single-post .entry-content > p:last-of-type a[href*="contact-us"]:hover,
body.single-post .entry-content > p:last-child a[href*="contact-us"]:hover {
    background: #0A253B !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 37, 59, 0.3);
    color: #ffffff !important;
}

/* ==========================================================================
   STRONG
   ========================================================================== */

body.single-post .entry-content strong {
    font-weight: 600 !important;
    color: #0A253B !important;
}

/* ==========================================================================
   BLOCKQUOTE
   ========================================================================== */

body.single-post .entry-content blockquote {
    border-left: 4px solid #338EB5;
    margin: 1.8em 0;
    padding: 1.2em 1.6em;
    background: #f5f8fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

/* ==========================================================================
   CATEGORY / TAG PILLS
   ========================================================================== */

body.single-post .cat-links a,
body.single-post .tags-links a {
    display: inline-block;
    background: #f5f8fa;
    color: #0A253B !important;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 14px !important;
    font-weight: 500;
    text-decoration: none !important;
    border: 1px solid #d5dfe5 !important;
    transition: all 0.2s ease;
}

body.single-post .cat-links a:hover,
body.single-post .tags-links a:hover {
    background: #338EB5 !important;
    color: #ffffff !important;
    border-color: #338EB5 !important;
}

/* ==========================================================================
   BLOG ARCHIVE
   ========================================================================== */

body.blog article.post,
body.archive article.post,
body.category article.post,
body.blog .entry,
body.archive .entry,
body.category .entry {
    background: #ffffff !important;
    border: 1px solid #d5dfe5 !important;
    border-radius: 8px !important;
    padding: 32px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.blog article.post:hover,
body.archive article.post:hover,
body.category article.post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08) !important;
}

body.blog .entry-title a,
body.archive .entry-title a,
body.category .entry-title a {
    font-family: 'Poppins', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #0A253B !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

body.blog .entry-title a:hover,
body.archive .entry-title a:hover,
body.category .entry-title a:hover {
    color: #338EB5 !important;
}

body.blog .entry-content p,
body.archive .entry-content p,
body.category .entry-content p,
body.blog .entry-excerpt p,
body.archive .entry-excerpt p {
    font-size: 16px !important;
    line-height: 1.75 !important;
    color: #555 !important;
}

body.blog .more-link,
body.archive .more-link,
body.category .more-link {
    color: #338EB5 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
}

body.blog .page-header .page-title,
body.archive .page-header .page-title,
body.category .page-header .page-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #0A253B !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    body.single-post h1.entry-title,
    body.single-post .entry-title {
        font-size: 28px !important;
    }
    body.single-post .entry-content,
    body.single-post .entry-content p {
        font-size: 17px !important;
    }
    body.single-post .entry-content h2 {
        font-size: 24px !important;
    }
    body.single-post .entry-content h3 {
        font-size: 20px !important;
    }
    body.single-post .entry-content ul li {
        font-size: 17px !important;
    }
}

@media (max-width: 480px) {
    body.single-post h1.entry-title,
    body.single-post .entry-title {
        font-size: 24px !important;
    }
    body.single-post .entry-content,
    body.single-post .entry-content p {
        font-size: 16px !important;
    }
    body.single-post .entry-content > p:last-of-type a[href*="contact-us"] {
        display: block !important;
        text-align: center;
        padding: 14px 20px !important;
    }
}
