/* ===== Font Imports ===== */
/* Google Fonts are enqueued via functions.php wp_enqueue_style */

/* ===== Cookie / Accent Font ===== */
.font-accent {
    font-family: 'Cookie', cursive !important;
}

/* ===== Serif Heading Font (Libre Baskerville) ===== */
.font-serif {
    font-family: 'Libre Baskerville', Georgia, serif !important;
}

/* ===== Poppins Body / Subtitle Font ===== */
.font-poppins {
    font-family: 'Poppins', sans-serif !important;
}

/* ===== WordPress Pagination Styling ===== */
.wp-pagination .page-numbers {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.wp-pagination .page-numbers li {
    list-style: none;
}

.wp-pagination .page-numbers a,
.wp-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    color: #6b7280;
}

.wp-pagination .page-numbers a:hover {
    background-color: #E6B59E;
    color: #fff;
    border-color: #E6B59E;
}

.wp-pagination .page-numbers .current {
    background-color: #E6B59E;
    color: #fff;
    border-color: #E6B59E;
}

/* ===== Rich Editorial Content Typography (.prose-custom) ===== */
.prose-custom p {
    font-family: 'Poppins', sans-serif;
    color: #4b5563;
    font-size: 1.0625rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

.prose-custom p:first-of-type {
    font-size: 1.15rem;
    color: #374151;
    font-weight: 400;
    line-height: 1.8;
}

.prose-custom h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.prose-custom h3 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 1.75rem;
    margin-bottom: 0.875rem;
    line-height: 1.35;
}

.prose-custom ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    margin-bottom: 1.75rem;
}

.prose-custom ul li {
    position: relative;
    padding-left: 1.875rem;
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
}

.prose-custom ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 1.25rem;
    height: 1.25rem;
    background-color: #fee2e2;
    color: #ef4444;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.prose-custom blockquote {
    border-left: 4px solid #f87171;
    background-color: #fef2f2;
    padding: 1.25rem 1.5rem;
    border-radius: 0 1rem 1rem 0;
    margin: 1.75rem 0;
    font-style: italic;
    color: #374151;
}

.prose-custom blockquote p {
    margin-bottom: 0 !important;
    font-size: 1.05rem !important;
    color: #374151 !important;
}

.prose-custom strong {
    color: #111827;
    font-weight: 600;
}


/* ===== Single Blog Post — WordPress Classic Editor Content ===== */

/* ol lists */
.prose-custom ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1.75rem;
}

.prose-custom ol li {
    font-family: 'Poppins', sans-serif;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

/* Links */
.prose-custom a {
    color: #ef4444;
    text-decoration: underline;
    text-decoration-color: rgba(239, 68, 68, 0.3);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.prose-custom a:hover {
    color: #b91c1c;
    text-decoration-color: #b91c1c;
}

/* Images */
.prose-custom img {
    width: 100%;
    border-radius: 1rem;
    margin: 2rem 0;
    object-fit: cover;
}

/* Horizontal rule */
.prose-custom hr {
    border: none;
    border-top: 2px solid #f3f4f6;
    margin: 2.5rem 0;
}

/* h4, h5, h6 */
.prose-custom h4 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Tables */
.prose-custom table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9375rem;
}

.prose-custom th {
    background-color: #fef2f2;
    color: #111827;
    font-weight: 600;
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 2px solid #fecaca;
}

.prose-custom td {
    padding: 0.75rem 1rem;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.prose-custom tr:hover td {
    background-color: #fafafa;
}

/* Code */
.prose-custom code {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    background-color: #f3f4f6;
    color: #ef4444;
    padding: 0.15rem 0.4rem;
    border-radius: 0.35rem;
}

/* WordPress .wp-caption and aligned images */
.prose-custom .wp-caption {
    max-width: 100%;
    margin: 2rem auto;
    text-align: center;
}

.prose-custom .wp-caption-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 0.5rem;
    font-style: italic;
}

.prose-custom .alignleft {
    float: left;
    margin: 0 2rem 1.5rem 0;
    max-width: 45%;
    border-radius: 1rem;
}

.prose-custom .alignright {
    float: right;
    margin: 0 0 1.5rem 2rem;
    max-width: 45%;
    border-radius: 1rem;
}

.prose-custom .aligncenter {
    display: block;
    margin: 2rem auto;
    text-align: center;
}
