/* build/style.css - Frontend Styles */
.wpe-further-reading {
    margin: 1rem 0 2rem 0;
}

.wpe-further-reading-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    text-align: center;
}

/* Card Layout (Default) - Image on top, text below */
.wpe-layout-card .wpe-further-reading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.wpe-layout-card .wpe-further-reading-item {
   
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
   
}

.wpe-further-reading-post-title svg{
    position:relative;
    top:6px;
}

.wpe-layout-card .wpe-further-reading-item:hover {
    
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    
}

.wpe-layout-card .wpe-further-reading-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.wpe-layout-card .wpe-further-reading-content {
    padding: 1.25rem;
}

/* List Layout - Image on left, text on right */
.wpe-layout-list .wpe-further-reading-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.wpe-layout-list .wpe-further-reading-item {
    display: flex;
    align-items: flex-start;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpe-layout-list .wpe-further-reading-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.wpe-layout-list .wpe-further-reading-image {
    flex: 0 0 150px;
    width: 150px;
    height: 120px;
    overflow: hidden;
}

.wpe-layout-list .wpe-further-reading-content {
    flex: 1;
    padding: 1.25rem;
}

/* List 2 Column Layout - 2 columns with image left, text right in each item */
.wpe-layout-list-2-column .wpe-further-reading-list-2-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.wpe-layout-list-2-column .wpe-further-reading-item {
    display: flex;
    align-items: flex-start;
    /*
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    */
}

.wpe-layout-list-2-column .wpe-further-reading-item:hover {
    /*
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    */
}

.wpe-layout-list-2-column .wpe-further-reading-image {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    overflow: hidden;
}

.wpe-layout-list-2-column .wpe-further-reading-content {
    flex: 1;
    padding: 0rem 1rem 1rem 1rem;
}

.wpe-layout-list-2-column .wpe-further-reading-post-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

/* List No Image Layout - Only text */
.wpe-layout-list-no-image .wpe-further-reading-list-no-image {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.wpe-layout-list-no-image .wpe-further-reading-item {
    
}

.wpe-layout-list-no-image .wpe-further-reading-item:hover {
    transform: translateX(4px);
    border-left-color: #005a87;
}

.wpe-layout-list-no-image .wpe-further-reading-content {
    padding: 0;
}
.wpe-layout-list-no-image .wpe-further-reading-post-title{
    margin:0px; padding:0px;
}

/* Common image styles */
.wpe-further-reading-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.wpe-related-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wpe-further-reading-item:hover .wpe-related-thumbnail {
    transform: scale(1.05);
}

.wpe-no-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Common content styles */
.wpe-further-reading-post-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.wpe-further-reading-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
    font-style:italic;
}

.wpe-further-reading-post-title a:hover {
    color: #0073aa;
}

.wpe-further-reading-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.wpe-further-reading-loading,
.wpe-further-reading-empty {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wpe-further-reading {
        padding: 1rem;
    }
    
    .wpe-layout-card .wpe-further-reading-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wpe-layout-card .wpe-further-reading-image {
        height: 180px;
    }
    
    .wpe-layout-list .wpe-further-reading-item,
    .wpe-layout-list-2-column .wpe-further-reading-item {
        flex-direction: column;
    }
    
    .wpe-layout-list .wpe-further-reading-image,
    .wpe-layout-list-2-column .wpe-further-reading-image {
        flex: none;
        width: 100%;
        height: 150px;
    }
    
    .wpe-layout-list .wpe-further-reading-content,
    .wpe-layout-list-2-column .wpe-further-reading-content {
        padding: 1rem;
    }
    
    .wpe-layout-list-2-column .wpe-further-reading-list-2-column {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wpe-further-reading-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .wpe-further-reading-content {
        padding: 1rem;
    }
    
    .wpe-further-reading-post-title {
        font-size: 1rem;
    }
    
    .wpe-layout-card .wpe-further-reading-image {
        height: 150px;
    }
    
    .wpe-layout-list .wpe-further-reading-image,
    .wpe-layout-list-2-column .wpe-further-reading-image {
        height: 120px;
    }
}/* build/style.css - Frontend Styles */
.wpe-further-reading {
    
}

.wpe-further-reading-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    text-align: center;
}

.wpe-further-reading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.wpe-further-reading-item {
    /*
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    */
}

.wpe-further-reading-item:hover {
    /*
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    */
}

.wpe-further-reading-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.wpe-further-reading-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.wpe-related-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wpe-further-reading-item:hover .wpe-related-thumbnail {
    transform: scale(1.05);
}

.wpe-no-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.wpe-further-reading-content {
    padding: 1.25rem;
}

.wpe-further-reading-post-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.wpe-further-reading-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wpe-further-reading-post-title a:hover {
    color: #0073aa;
}

.wpe-further-reading-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.wpe-further-reading-loading,
.wpe-further-reading-empty {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wpe-further-reading {
        padding: 1rem;
    }
    
    .wpe-further-reading-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wpe-further-reading-image {
        height: 180px;
    }
    
    .wpe-further-reading-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .wpe-further-reading-content {
        padding: 1rem;
    }
    
    .wpe-further-reading-post-title {
        font-size: 1rem;
    }
    
    .wpe-further-reading-image {
        height: 150px;
    }
}