/**
Theme Name: Astra Child
Author:  Wiselogix
Author URI: https://wiselogix.com/
Description: This child theme is created by Wiselogix.com
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Body font */
body {
    font-family: 'Raleway', sans-serif;
}


h1, h2, h3 {
    font-family: 'Montserrat', sans-serif !important;
}

/* ============================================================
   UTILITY CLASSES — ready to use in your CSS / Elementor
   ============================================================ */

.font-montserrat   { font-family: 'Montserrat',      sans-serif; }
.font-raleway      { font-family: 'Raleway',          sans-serif; }
.font-poppins      { font-family: 'Poppins',          sans-serif; }
.font-playfair     { font-family: 'Playfair Display', serif;      }


/* Wrapper */
.books-premium-wrapper {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Card */
.book-premium-card {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 22px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #eef0f3;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover Glow */
.book-premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

/* Image */
.book-premium-img img {
    width: 85px;
    height: 85px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* Content */
.book-premium-content {
    flex: 1;
}

.book-premium-content h3 {
    font-size: 19px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.book-premium-content h3  a{
	 font-size: 40px;
	 color: #0f172a;
	  font-weight: 600;
}

.book-premium-content p {
    font-size: 20px;
    color: color-mix(in oklab,var(--black)70%,transparent);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Price Badge */
.price-badge {
    font-size: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    font-weight: 600;
}

.price-badge.free {
    background: #000;
    color: #f7630c;
}

.price-badge.paid {
    background: #000;
    color: #fff;
}

/* Button */
.book-premium-action {
    display: flex;
    align-items: center;
}

.premium-btn {
    background: linear-gradient(90deg, #ff6a1a, #d9a066);
    color: #fff;
    padding: 24px 48px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Button Hover */
.premium-btn:hover {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 10px 20px rgba(124,58,237,0.35);
	 color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .book-premium-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .book-premium-img img {
        width: 100%;
        height: auto;
    }

    .book-premium-action {
        width: 100%;
    }

    .premium-btn {
        width: 100%;
        text-align: center;
    }
}

/* Wrapper */
.wp-block-latest-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Each Item */
.wp-block-latest-posts li {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.wp-block-latest-posts li:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #dcdcdc;
}

/* Title Link */
.wp-block-latest-posts__post-title {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    display: block;
    line-height: 1.5;
    transition: color 0.3s ease;
}

/* Hover Title */
.wp-block-latest-posts__post-title:hover {
    color: #4f46e5; /* modern purple */
}

/* Optional subtle arrow */
.wp-block-latest-posts li::after {
    content: "→";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #bbb;
    transition: all 0.3s ease;
}

/* Arrow Hover */
.wp-block-latest-posts li:hover::after {
    color: #4f46e5;
    transform: translateY(-50%) translateX(4px);
}

/* Add subtle divider line effect */
.wp-block-latest-posts li:not(:last-child)::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: #f3f3f3;
}
.single .post-navigation a:hover{ color: #000 !important;}
.single .post-navigation a:hover{ color: #F0620E !important;}