/* PHPpot archive/home styles: hero, cards, lists, category/archive navigation. */

/* Search results */
.minientry {
    padding: 20px 0 20px 0;
    overflow: auto;
}

/* Archive and home list/card layout */
.content-shell .list-rows {
    display: grid;
    gap: 0;
}

.content-shell .list-row,
.content-shell .recent-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    transition: background .12s ease;
}

.content-shell .list-row+.list-row,
.content-shell .recent-item+.recent-item {
    border-top: 1px solid var(--line);
}

.content-shell .list-row--no-media,
.content-shell .recent-item--no-media {
    grid-template-columns: 1fr;
}

.content-shell .meta-date,
.content-shell .recent-meta {
    color: rgba(15, 23, 42, .6);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.content-shell .shell {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
}

.content-shell .hero {
    padding: 26px 22px;
    position: relative;
    background: #fff;
}

.content-shell .hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.content-shell .hero-text {
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 780px) {
    .content-shell .hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.content-shell .kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 176, 0, .12);
    border: 1px solid rgba(255, 176, 0, .35);
    color: var(--ink);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    letter-spacing: .2px;
}

.content-shell .subline {
    font-size: 16px;
    color: rgba(15, 23, 42, .85);
    margin: 0 0 10px;
}

.content-shell .subheadline {
    color: rgba(15, 23, 42, .72);
    font-size: 14.5px;
    margin: 0 0 12px;
    max-width: 68ch;
}

.content-shell .text-lead {
    font-size: 1.05em;
    color: rgba(15, 23, 42, .82);
}

.content-shell .cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0 8px;
    align-items: center;
}

.content-shell .chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 2px;
}

.content-shell .chip {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .06);
    border: 1px solid rgba(15, 23, 42, .1);
    color: rgba(15, 23, 42, .72);
    font-weight: 600;
}

.content-shell .trustline {
    margin-top: 10px;
    font-size: 12.5px;
    color: rgba(15, 23, 42, .6);
}

.category-featured {
    margin: 16px 0 20px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: rgba(255, 176, 0, .08);
}

.category-featured h2 {
    margin: 0 0 10px;
    font-size: 1.1em;
    color: rgba(15, 23, 42, .9);
}

.content-shell .section-head .category-title {
    font-size: 24px;
    line-height: 1.2;
}

.category-featured ul {
    margin: 0;
    padding-left: 18px;
}

.category-featured li {
    margin: 6px 0;
}

.category-featured a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(15, 23, 42, .25);
    font-weight: 600;
}

.category-featured a:hover {
    color: rgba(15, 23, 42, .9);
}

.category-list-title {
    margin: 18px 0 12px;
    font-size: 1.15em;
}

.content-shell .section {
    padding: 22px 22px 26px;
}

.content-shell .section+.section {
    border-top: 1px solid var(--line);
}

.content-shell .feature-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
}

.content-shell .feature-media img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, .12);
}

.content-shell .feature-placeholder {
    height: 120px;
    border-radius: 12px;
    border: 1px dashed rgba(15, 23, 42, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: rgba(15, 23, 42, .6);
    background: rgba(255, 176, 0, .08);
}

.content-shell .feature-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 12px;
    color: rgba(15, 23, 42, .65);
}

.content-shell .badge {
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 11px;
    color: #5c3600;
    background: rgba(255, 176, 0, .25);
    border: 1px solid rgba(255, 176, 0, .5);
}

.content-shell .feature-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.3;
}

.content-shell .feature-card p {
    margin: 0 0 10px;
    color: rgba(15, 23, 42, .72);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .content-shell .feature-card {
        grid-template-columns: 1fr;
    }

    .content-shell .feature-media img,
    .content-shell .feature-placeholder {
        height: 160px;
    }
}

.content-shell .link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.content-shell .link-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 12px 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: rgba(15, 23, 42, .03);
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.content-shell .link-card:hover {
    background: rgba(255, 176, 0, .12);
    transform: translateY(-1px);
}

.content-shell .link-card img {
    width: 18px;
    height: 18px;
}

.content-shell .link-card span {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(15, 23, 42, .9);
}

.content-shell .recent-shell {
    margin-top: 0;
}

.content-shell .shell+.recent-shell {
    margin-top: 22px;
}

.content-shell .recent-list {
    margin: 0 -16px;
}

.content-shell .list-row:hover,
.content-shell .recent-item:hover {
    background: rgba(255, 176, 0, .08);
}

.content-shell .recent-media img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, .12);
}

.content-shell .list-row h3,
.content-shell .recent-item h3 {
    margin: 0 0 6px;
    font-size: 16.5px;
}

.content-shell .list-row p,
.content-shell .recent-item p {
    margin: 0 0 8px;
    color: rgba(15, 23, 42, .72);
    font-size: 13.5px;
}

@media (max-width: 640px) {

    .content-shell .list-row,
    .content-shell .recent-item {
        grid-template-columns: 1fr;
    }

    .content-shell .recent-media img {
        height: 160px;
    }
}

.content-shell .home-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
}

.content-shell .navigation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .18);
    color: rgba(15, 23, 42, .85);
    background: rgba(15, 23, 42, .04);
    font-size: 13px;
    text-transform: lowercase;
}

.content-shell .navigation:hover {
    background: rgba(255, 176, 0, .12);
    text-decoration: none;
}

.content-shell .previous-page,
.content-shell .next-page {
    float: none;
}
