/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
/* Compact Mobile-Friendly Home Page Post Design - GracefulReplies.com */
.graceful-home-post {
    background: #ffffff;
    border: 1px solid #e3f2fd;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    gap: 0;
    position: relative;
}

.graceful-home-post:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #CC0000;
}

/* Featured Image Section */
.graceful-home-post .post-image {
    flex: 0 0 140px;
    height: 120px;
    overflow: hidden;
    border-radius: 8px;
    margin: 12px;
    position: relative;
}

.graceful-home-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.graceful-home-post:hover .post-image img {
    transform: scale(1.05);
}

/* Content Section */
.graceful-home-post .post-content {
    flex: 1;
    padding: 20px 20px 60px 20px; /* Extra bottom padding for button */
    display: flex;
    flex-direction: column;
    min-height: 120px;
    position: relative;
}

/* Title */
.graceful-home-post h2.entry-title {
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.graceful-home-post h2.entry-title a {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.graceful-home-post h2.entry-title a:hover {
    color: #CC0000;
}

/* Meta Information */
.graceful-home-post .entry-meta {
    font-size: 13px;
    color: #666;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.graceful-home-post .entry-meta .post-date {
    color: #666;
    font-weight: 500;
}

.graceful-home-post .entry-meta .post-author {
    color: #888;
}

.graceful-home-post .entry-meta .post-author::before {
    content: "by ";
    color: #999;
}

/* Excerpt */
.graceful-home-post .entry-summary {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More Button - Bottom Right Corner */
.graceful-home-post .read-more-home {
    background: #CC0000;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.graceful-home-post .read-more-home:hover {
    background: #AA0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(204, 0, 0, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .graceful-home-post {
        flex-direction: column;
        margin-bottom: 16px;
    }
    
    .graceful-home-post .post-image {
        flex: none;
        height: 180px;
        margin: 12px 12px 0 12px;
        border-radius: 8px 8px 0 0;
    }
    
    .graceful-home-post .post-content {
        padding: 16px 16px 60px 16px;
        min-height: auto;
    }
    
    .graceful-home-post h2.entry-title a {
        font-size: 18px;
    }
    
    .graceful-home-post .entry-summary {
        font-size: 14px;
        margin-bottom: 14px;
    }
    
    .graceful-home-post .read-more-home {
        bottom: 15px;
        right: 15px;
    }
}

/* Featured Posts */
.graceful-home-post.featured {
    border-color: #CC0000;
    background: linear-gradient(135deg, #ffffff 0%, #FFF5F5 100%);
}

/* Loading Animation */
.graceful-home-post {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===========================================
   Graceful Replies - Premium Post Footer Styles
   (Color-Optimized Version)
   =========================================== */

:root {
    /* Color Variables */
    --primary-purple: #5a3a72;       /* Deep purple for headings */
    --secondary-purple: #9c7bbd;     /* Medium purple accents */
    --light-purple: #f5eef9;         /* Very light purple BG */
    --text-dark: #4a2d6a;            /* Primary text */
    --text-medium: #5d5d5d;          /* Secondary text */
    --text-light: #ffffff;           /* White text for buttons */
    --border-color: rgba(154, 121, 189, 0.15); /* Subtle borders */
    --shadow-color: rgba(109, 75, 132, 0.08);  /* Soft shadows */
}

/* Base Container */
.graceful-post-footer {
    margin: 3.5rem 0 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    color: var(--text-medium);
}

/* ================
   Share Card Section
   ================ */
.graceful-share-container {
    margin-bottom: 2.5rem;
}

.graceful-share-card {
    background: white;
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.graceful-share-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(109, 75, 132, 0.12);
}

.share-title {
    margin: 0 0 1.2rem 0;
    color: var(--primary-purple);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-title i {
    color: var(--secondary-purple);
}

.graceful-share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    color: var(--text-light) !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.share-btn span {
    display: inline-block;
    transform: translateY(1px);
}

.share-btn i {
    font-size: 0.9rem;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

/* Share Button Colors */
.facebook { background: linear-gradient(135deg, #3b5998, #4c70ba); }
.twitter { background: linear-gradient(135deg, #1da1f2, #3bb1f4); }
.whatsapp { background: linear-gradient(135deg, #25d366, #2fe878); }
.pinterest { background: linear-gradient(135deg, #bd081c, #e03a52); }
.link { background: linear-gradient(135deg, var(--secondary-purple), #b594d6); }

/* ===================
   Categories & Tags
   =================== */
.graceful-taxonomy-container {
    margin-bottom: 2.5rem;
}

.graceful-taxonomy-card {
    background: white;
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.taxonomy-section {
    margin-bottom: 1.5rem;
}

.taxonomy-section:last-child {
    margin-bottom: 0;
}

.taxonomy-title {
    margin: 0 0 1rem 0;
    color: var(--primary-purple);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.taxonomy-title i {
    color: var(--secondary-purple);
}

.graceful-categories,
.graceful-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.graceful-categories a,
.graceful-tags a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--light-purple);
    color: var(--primary-purple);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(154, 121, 189, 0.2);
}

.graceful-categories a:hover,
.graceful-tags a:hover {
    background-color: var(--primary-purple);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(109, 75, 132, 0.2);
}

/* =============
   Author Section
   ============= */
.graceful-author-card {
    display: flex;
    gap: 25px;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.graceful-author-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-purple), #c2a8e0);
}

.author-image img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--light-purple);
    box-shadow: 0 3px 10px var(--shadow-color);
}

.author-content {
    flex: 1;
}

.author-title {
    margin: 0.5rem 0 1rem 0;
    color: var(--primary-purple);
    font-size: 1.3rem;
    font-weight: 700;
}

.author-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-purple), #c2a8e0);
    margin: 0 0 1.2rem 0;
    border-radius: 3px;
}

.author-bio {
    margin: 0 0 1.5rem 0;
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
}

.author-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(to right, var(--secondary-purple), #b594d6);
    color: var(--text-light) !important;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(156, 123, 189, 0.3);
}

.author-button:hover {
    background: linear-gradient(to right, #8c6bad, #a584c6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(156, 123, 189, 0.4);
}

/* ====================
   Responsive Adjustments
   ==================== */
@media (max-width: 768px) {
    .graceful-author-card {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        margin: 0 auto;
    }
    
    .author-divider {
        margin: 0 auto 1.2rem auto;
    }
    
    .graceful-share-buttons,
    .graceful-categories,
    .graceful-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .graceful-share-card,
    .graceful-taxonomy-card,
    .graceful-author-card {
        padding: 1.5rem;
    }
    
    .share-btn {
        padding: 0.5rem 0.9rem;
        font-size: 0.8rem;
    }
    
    .author-title {
        font-size: 1.2rem;
    }
    
    .author-bio {
        font-size: 0.9rem;
    }
}