/* PrestaSEO Autopilot — Front-end blog styles */

/* ── Blog listing ── */
.pseo-blog-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.pseo-articles-grid {
    margin: 0 -10px;
}

.pseo-article-card-wrap {
    padding: 10px;
}

.pseo-article-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pseo-article-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.1);
    transform: translateY(-2px);
}

.pseo-card-image {
    display: block;
    overflow: hidden;
    height: 200px;
}

.pseo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.pseo-article-card:hover .pseo-card-image img {
    transform: scale(1.04);
}

.pseo-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pseo-card-tag {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 3px 9px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.pseo-card-title {
    font-size: 1.1em;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.4;
    color: #1a1a1a;
}

.pseo-card-title a {
    color: inherit;
    text-decoration: none;
}

.pseo-card-title a:hover {
    color: #2563eb;
}

.pseo-card-excerpt {
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
    flex: 1;
}

.pseo-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.82em;
}

.pseo-card-date {
    color: #999;
}

.pseo-card-read-more {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

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

/* ── Pagination ── */
.pseo-pagination {
    margin-top: 40px;
    text-align: center;
}

/* ── Single article ── */
.pseo-article-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.pseo-article-hero {
    margin: 0 -20px 30px;
    border-radius: 8px;
    overflow: hidden;
    max-height: 420px;
}

.pseo-article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pseo-article-tag {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.pseo-article-title {
    font-size: 1.9em;
    font-weight: 800;
    line-height: 1.3;
    color: #111;
    margin-bottom: 10px;
}

.pseo-article-meta {
    color: #888;
    font-size: 0.88em;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.pseo-article-body {
    font-size: 1.05em;
    line-height: 1.8;
    color: #333;
}

.pseo-article-body h2 {
    font-size: 1.5em;
    font-weight: 700;
    margin: 36px 0 14px;
    color: #111;
}

.pseo-article-body h3 {
    font-size: 1.2em;
    font-weight: 700;
    margin: 28px 0 12px;
    color: #222;
}

.pseo-article-body p {
    margin-bottom: 18px;
}

.pseo-article-body .pseo-inline-products {
    margin: 28px 0;
    padding: 16px 18px;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 42%, #ffffff 100%);
    border: 2px solid #60a5fa;
    border-left: 6px solid #1d4ed8;
    border-radius: 12px;
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.10);
}

.pseo-article-body .pseo-inline-products a {
    display: inline-block;
    margin: 6px 8px 4px 0;
    padding: 7px 12px;
    background: #ffffff;
    border: 1px solid #3b82f6;
    border-radius: 999px;
    color: #1e40af;
    font-weight: 800;
    font-size: 0.98em;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(30, 64, 175, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.pseo-article-body .pseo-inline-products a:hover {
    background: #eff6ff;
    border-color: #1d4ed8;
    box-shadow: 0 8px 18px rgba(29, 78, 216, 0.20);
    transform: translateY(-1px);
    text-decoration: none;
}

.pseo-article-body ul, .pseo-article-body ol {
    padding-left: 24px;
    margin-bottom: 18px;
}

.pseo-article-body li {
    margin-bottom: 6px;
}

.pseo-article-back {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

@media (max-width: 767px) {
    .pseo-card-image { height: 160px; }
    .pseo-article-title { font-size: 1.4em; }
}
