/*
Theme Name: Ideaspace Footer
Template: kadence
Version: 1.4
*/

/* ── Global Typography — Poppins heading font ── */
h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.site-title,
.entry-title {
    font-family: 'Poppins', sans-serif !important;
}

body, p, li, td, th, label, input, textarea, select, button {
    font-family: 'Roboto', sans-serif;
}

/* ── Blog index hero banner ── */
.blog .site-main > .content-bg:first-child,
.home .site-main > .content-bg:first-child {
    display: none;
}

/* ── Blog index — styled post cards ── */
.blog .content-bg,
.archive .content-bg {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Post entry wrapper */
.blog article.post,
.archive article.post {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #6A2CA0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}

.blog article.post:hover,
.archive article.post:hover {
    box-shadow: 0 4px 20px rgba(106,44,160,0.12);
}

/* Post titles */
.blog .entry-title a,
.archive .entry-title a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.blog .entry-title a:hover,
.archive .entry-title a:hover {
    color: #6A2CA0;
}

/* Post meta */
.blog .entry-meta,
.archive .entry-meta {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

/* Post excerpt */
.blog .entry-summary p,
.archive .entry-summary p {
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
}

/* Read more link */
.blog .entry-summary a.more-link,
.archive .entry-summary a.more-link {
    color: #6A2CA0;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.blog .entry-summary a.more-link:hover,
.archive .entry-summary a.more-link:hover {
    text-decoration: underline;
}

/* ── Single post styling ── */
.single article.post {
    max-width: 760px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.single .entry-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.single .entry-meta {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.single .entry-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.single .entry-content h2 {
    color: #6A2CA0;
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.single .entry-content h3 {
    color: #1a1a1a;
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.single .entry-content blockquote {
    border-left: 4px solid #6A2CA0;
    background: #f9f5ff;
    padding: 1.25rem 1.5rem;
    border-radius: 0 6px 6px 0;
    margin: 2rem 0;
    font-style: italic;
    color: #444;
}

/* ── Blog page hero (top of blog index) ── */
.blog-hero {
    background: #6A2CA0;
    padding: 56px 4rem 48px;
    text-align: center;
    margin-bottom: 3rem;
}

.blog-hero h1 {
    color: #FFFFFF;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-hero p {
    color: #C9A84C;
    font-size: 1.1rem;
}

/* ── Pagination ── */
.pagination .page-numbers {
    color: #6A2CA0;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid #6A2CA0;
    border-radius: 4px;
    margin: 0 2px;
    font-size: 0.9rem;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #6A2CA0;
    color: #FFFFFF;
}
