/*
	Theme Name: TheRedPeach 
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: The Red Peach is a lightweight and minimalist WordPress theme that is based upon Hello Elementor.
	Author: Brian Craker
	Author URI: https://becoms.co.uk/?utm_source=wp-themes
	Version: 1.0.0
	Stable tag: 1.0.0
	Requires at least: 7.0
	Tested up to: 7.2
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: the-red-peach
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/


.elementor-widget-hfe-basic-posts .hfe-post-title a {text-decoration:none;!important}
/* Container and Layout Base */
.trp-blog-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Category Title Header */
.trp-archive-header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 30px;
}
.trp-archive-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #2c2c2c;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}
.trp-archive-desc {
    font-style: italic;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Framework */
.trp-post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Post Cards Style */
.trp-post-card {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.trp-thumbnail img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}
.trp-thumbnail a:hover img {
    opacity: 0.9;
}
.trp-card-body {
    padding: 25px 10px;
}
.trp-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a3a3a3;
    margin-bottom: 12px;
}
.trp-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.6rem;
    line-height: 1.3;
    font-weight: 400;
    margin: 0 0 15px 0;
}
.trp-title a {
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.2s ease;
}
.trp-title a:hover {
    color: #e5937d; /* Soft Peach color accent */
}
.trp-excerpt {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 20px;
}

/* Clean Custom Read Post Link */
.trp-read-more-wrapper {
    margin-top: 15px;
}
.trp-read-more {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #2c2c2c;
    text-decoration: none;
    border-bottom: 1px solid #2c2c2c;
    padding-bottom: 4px;
    transition: all 0.2s ease;
}
.trp-read-more:hover {
    color: #e5937d;
    border-color: #e5937d;
}

/* Sidebar Styling */
.trp-sidebar {
    width: 100%;
}
.trp-widget {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #fafafa;
    border: 1px solid #f2f2f2;
    text-align: center;
}
.trp-widget-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Pagination Structure */
.trp-pagination {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #f2f2f2;
    padding-top: 30px;
}
.trp-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.trp-pagination a, .trp-pagination .current {
    padding: 8px 16px;
    text-decoration: none;
    color: #2c2c2c;
}
.trp-pagination .current {
    font-weight: bold;
    color: #e5937d;
}

/* Responsive Desktop Layout (Screens 1024px and wider) */
@media (min-width: 1024px) {
    .trp-blog-container {
        flex-direction: row;
        align-items: flex-start;
    }
    .trp-main-content {
        flex: 0 0 73%; /* Takes 73% width */
        max-width: 73%;
    }
    .trp-sidebar {
        flex: 0 0 27%; /* Sidebar takes 27% width */
        max-width: 27%;
        position: sticky;
        top: 40px; /* Sticks to screen on scroll */
    }
    .trp-post-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Column Grid for Desktop Posts */
        gap: 40px 30px;
    }
}

