/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/* Grid Container */
.cpt-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Card Style */
.cpt-card {
    background: #fff;
    border: 1px solid #e1e1e1; /* Light border like screenshot */
    border-radius: 12px;
    overflow: hidden;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cpt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Image */
.cpt-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #eee;
}

/* Content Area */
.cpt-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Meta Data */
.cpt-date {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Title */
.cpt-title {
    font-size: 1.25em;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.cpt-title a {
    color: #111;
    text-decoration: none;
    font-weight: 700;
}

.cpt-title a:hover {
    color: #0073aa; /* Change to your brand color */
}

/* Excerpt */
.cpt-excerpt {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Read More Button */
.cpt-read-more {
    font-size: 0.9em;
    font-weight: 700;
    color: #004d26; /* Dark Green like your screenshot */
    text-decoration: none;
    text-transform: uppercase;
    margin-top: auto; /* Pushes button to bottom if heights vary */
}

.cpt-read-more:hover {
    text-decoration: underline;
}