/* === Taima OrganicBio Typography Beautification - 2026-08-31 === */
/* Fonts: Playfair Display (headings) + DM Sans (body) — already loaded site-wide */
/* Target: product detail pages (single-product) + news single posts (single-post) + news list */

/* ===== PRODUCT DETAIL PAGE (single-product-taima.php template) ===== */

/* Product title — H1 */
.single-product .ta-sp-title {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.3px !important;
    color: #1a2332 !important;
    margin: 0 0 1.5rem 0 !important;
    text-align: left !important;
}

/* Section headings — H2 */
.single-product .ta-sp-h2 {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.2px !important;
    color: #1a2332 !important;
    margin: 2.2rem 0 1rem 0 !important;
    padding-bottom: 0.6rem !important;
    border-bottom: 2px solid #e8edf2 !important;
}

/* Subsection headings — H3 */
.single-product .ta-sp-desc h3,
.single-product .ta-sp-section h3,
.single-product .ta-sp-desc .wp-block-heading,
.single-product .ta-sp-section .wp-block-heading {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #2a3a4a !important;
    margin: 1.5rem 0 0.75rem 0 !important;
}

/* Sub-subsection headings — H4 */
.single-product .ta-sp-desc h4,
.single-product .ta-sp-section h4 {
    font-family: "DM Sans", sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #2a3a4a !important;
    margin: 1.2rem 0 0.5rem 0 !important;
    text-transform: none !important;
}

/* Body text — paragraphs */
.single-product .ta-sp-desc p,
.single-product .ta-sp-section p {
    font-family: "DM Sans", sans-serif !important;
    font-size: 0.98rem !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    color: #3a4a5a !important;
    margin: 0 0 1rem 0 !important;
    letter-spacing: 0.1px !important;
}

/* List items */
.single-product .ta-sp-desc li,
.single-product .ta-sp-section li {
    font-family: "DM Sans", sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    color: #3a4a5a !important;
    margin-bottom: 0.4rem !important;
    letter-spacing: 0.1px !important;
}

/* Table text */
.single-product .ta-sp-desc table,
.single-product .ta-sp-section table {
    font-family: "DM Sans", sans-serif !important;
}
.single-product .ta-sp-desc th,
.single-product .ta-sp-section th {
    font-family: "DM Sans", sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    color: #1a2332 !important;
}
.single-product .ta-sp-desc td,
.single-product .ta-sp-section td {
    font-family: "DM Sans", sans-serif !important;
    font-size: 0.9rem !important;
    color: #3a4a5a !important;
}

/* CTA button */
.single-product .ta-sp-btn,
.single-product .ta-sp-cta a,
.single-product .ta-sp-cta button {
    font-family: "DM Sans", sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.3px !important;
}

/* ===== NEWS SINGLE POST (Vantage theme template) ===== */

/* Post title — H1 */
.single-post .entry-title {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 2.1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.3px !important;
    color: #1a2332 !important;
    margin: 0 0 0.8rem 0 !important;
    text-align: left !important;
}

/* Post metadata */
.single-post .entry-meta,
.single-post .entry-date,
.single-post .entry-categories,
.single-post .entry-meta a {
    font-family: "DM Sans", sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    color: #889 !important;
    letter-spacing: 0.2px !important;
    text-transform: none !important;
}

/* Post body text */
.single-post .entry-content p {
    font-family: "DM Sans", sans-serif !important;
    font-size: 1.02rem !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    color: #333 !important;
    margin: 0 0 1.2rem 0 !important;
    letter-spacing: 0.1px !important;
}

/* Post headings */
.single-post .entry-content h2 {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #1a2332 !important;
    margin: 2rem 0 0.8rem 0 !important;
}
.single-post .entry-content h3 {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #2a3a4a !important;
    margin: 1.5rem 0 0.6rem 0 !important;
}
.single-post .entry-content h4 {
    font-family: "DM Sans", sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #2a3a4a !important;
    margin: 1.2rem 0 0.5rem 0 !important;
}

/* Post list items */
.single-post .entry-content li {
    font-family: "DM Sans", sans-serif !important;
    font-size: 0.98rem !important;
    line-height: 1.7 !important;
    color: #444 !important;
    margin-bottom: 0.4rem !important;
}

/* Post links */
.single-post .entry-content a {
    font-family: "DM Sans", sans-serif !important;
    color: #1565c0 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}
.single-post .entry-content a:hover {
    color: #0d47a1 !important;
    text-decoration: underline !important;
}

/* Post blockquotes */
.single-post .entry-content blockquote {
    font-family: "Playfair Display", Georgia, serif !important;
    font-style: italic !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    color: #555 !important;
    border-left: 3px solid #1565c0 !important;
    padding: 0.5rem 0 0.5rem 1.5rem !important;
    margin: 1.5rem 0 !important;
    background: #f8fafc !important;
}

/* ===== NEWS LIST PAGE (/news/ — Gutenberg Query Loop) ===== */

/* News list item title */
.wp-block-post .wp-block-post-title,
.wp-block-post-template .wp-block-post-title {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #1a2332 !important;
    margin: 0 0 0.5rem 0 !important;
}
.wp-block-post .wp-block-post-title a,
.wp-block-post-template .wp-block-post-title a {
    color: #1a2332 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.wp-block-post .wp-block-post-title a:hover {
    color: #1565c0 !important;
}

/* News list excerpt text */
.wp-block-post .wp-block-post-excerpt__excerpt {
    font-family: "DM Sans", sans-serif !important;
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
    color: #555 !important;
    margin: 0.5rem 0 !important;
}

/* News list "Read More" link */
.wp-block-post .wp-block-post-excerpt__more-text,
.wp-block-post .wp-block-post-excerpt__more-link {
    font-family: "DM Sans", sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.3px !important;
    color: #1565c0 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.wp-block-post .wp-block-post-excerpt__more-text:hover,
.wp-block-post .wp-block-post-excerpt__more-link:hover {
    color: #0d47a1 !important;
}

/* News list date */
.wp-block-post .wp-block-post-date {
    font-family: "DM Sans", sans-serif !important;
    font-size: 0.82rem !important;
    color: #889 !important;
    letter-spacing: 0.2px !important;
}

/* ===== PAGINATION ===== */
.wp-block-query-pagination {
    font-family: "DM Sans", sans-serif !important;
}
.wp-block-query-pagination .wp-block-query-pagination-previous,
.wp-block-query-pagination .wp-block-query-pagination-next,
.wp-block-query-pagination .wp-block-query-pagination-numbers {
    font-family: "DM Sans", sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #1565c0 !important;
    text-decoration: none !important;
    padding: 0.4rem 0.8rem !important;
    border: 1px solid #e0e7ee !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}
.wp-block-query-pagination .wp-block-query-pagination-previous:hover,
.wp-block-query-pagination .wp-block-query-pagination-next:hover,
.wp-block-query-pagination .wp-block-query-pagination-numbers:hover {
    background: #1565c0 !important;
    color: #fff !important;
    border-color: #1565c0 !important;
}
.wp-block-query-pagination .current {
    background: #1565c0 !important;
    color: #fff !important;
    border-color: #1565c0 !important;
}

/* ===== GENERAL REFINEMENTS ===== */
/* Smooth font rendering */
body {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

/* Product/News footer headings */
.footer h4,
#colophon h4,
.site-footer h4 {
    font-family: "DM Sans", sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: #fff !important;
}
