/* Phase 1 Guides CSS */

.tpc-guides-page {
    background: #f7faf8;
    color: #1f2937;
}

.tpc-container {
    width: min(1180px, 92%);
    margin: auto;
}

.tpc-guides-hero {
    padding: 100px 0 80px;
    background: radial-gradient(circle at top right, #d9fbe5 0%, transparent 35%), linear-gradient(180deg, #fff, #f6fbf7);
}

.tpc-eyebrow {
    display: inline-block;
    background: #dcfce7;
    color: #16a34a;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700
}

.tpc-guides-hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    margin: 20px 0
}

.tpc-guides-hero p {
    max-width: 650px;
    font-size: 1.15rem;
    color: #6b7280;
    line-height: 1.8
}

.tpc-guide-search {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px
}

.tpc-guide-search input {
    flex: 1;
    min-width: 280px;
    padding: 18px 22px;
    border: 1px solid #e5e7eb;
    border-radius: 18px
}

.tpc-guide-search button {
    padding: 18px 28px;
    border: none;
    background: #22c55e;
    color: #fff;
    border-radius: 18px;
    font-weight: 700
}

.tpc-section {
    padding: 80px 0
}

.featured-guide {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 45px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .08)
}

.featured-image img {
    width: 100%;
    min-height: 420px;
    object-fit: cover
}

.featured-content {
    padding: 50px
}

.badge {
    display: inline-block;
    background: #22c55e;
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 18px
}

.primary-btn {
    display: inline-block;
    margin-top: 24px;
    background: #22c55e;
    color: #fff;
    padding: 16px 28px;
    border-radius: 16px;
    text-decoration: none
}

.tpc-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px
}

.tpc-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .08);
    transition: .3s
}

.tpc-card:hover {
    transform: translateY(-8px)
}

.tpc-card img {
    width: 100%;
    height: 230px;
    object-fit: cover
}

.card-body {
    padding: 28px
}

.meta {
    color: #16a34a;
    text-transform: uppercase;
    font-size: .8rem;
    font-weight: 700
}

.read-more {
    text-decoration: none;
    color: #16a34a;
    font-weight: 700
}

.category-card {
    text-decoration: none;
    color: inherit
}

@media(max-width:900px) {
    .featured-guide {
        grid-template-columns: 1fr
    }

    .featured-image img {
        min-height: 260px
    }
}