/* Single post styles extracted from single.php */

/* Minimal, responsive styles scoped to single.php */
body.single-post { background: #f7fbfc; }
.ph-single-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f7fbfc;
}
.ph-single-hero .hero-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
    margin: 0;
}
.ph-single-container {
    max-width: 1060px;
    margin: -70px auto 60px;
    padding: 28px;
    position: relative;
    box-sizing: border-box;
}
.ph-article-card {
    background: #fff;
    border-radius: 6px;
    padding: 36px;
    box-shadow: 0 6px 18px rgba(15,23,42,0.06);
    box-sizing: border-box;
}
.ph-meta {
    font-size: 12px;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: #2b6cb0; /* brand accent - soft blue */
    font-weight: 600;
}
.ph-title {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    font-size: 34px;
    line-height: 1.18;
    margin: 6px 0 18px;
    color: #0f1724;
    font-weight: 700;
}
.ph-meta-row {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 24px;
}
.ph-content {
    font-size: 18px;
    line-height: 1.78;
    color: #0f1724;
    margin-bottom: 28px;
    word-wrap: break-word;
}
.ph-content img { max-width: 100%; height: auto; display: block; margin: 18px 0; border-radius: 6px; }
.ph-disclosure {
    background: #fff7f0;
    border-left: 4px solid #ffd080;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #6b4a00;
    border-radius: 4px;
}
.ph-share {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 18px 0 28px;
}
.ph-share a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #f3f4f6;
    text-decoration: none;
    color: #0f1724;
    font-size: 14px;
    border: 1px solid rgba(15,23,36,0.04);
}
.ph-divider {
    height: 1px;
    background: #eef2f6;
    margin: 28px 0;
    border-radius: 2px;
}
.ph-similar {
    padding: 36px 0 8px;
    background: transparent;
}
.ph-similar h3 {
    font-size: 24px;
    margin-bottom: 18px;
    color: #0f1724;
}
.ph-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: start;
}
.ph-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(15,23,42,0.04);
    transition: transform .18s ease, box-shadow .18s ease;
}
.ph-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(15,23,42,0.08); }
.ph-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.ph-card .card-body { padding: 14px; }
.ph-card .card-title { font-weight: 700; font-size: 16px; color: #0f1724; margin: 6px 0; }
.ph-card .card-meta { font-size: 13px; color: #6b7280; margin-top: 6px; }

/* Responsive adjustments */
@media (max-width: 980px) {
    .ph-single-container { margin: -54px 20px 40px; padding: 24px; }
    .ph-title { font-size: 28px; }
    .ph-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .ph-single-container { margin: -36px 16px 24px; padding: 18px; }
    .ph-title { font-size: 22px; }
    .ph-grid { grid-template-columns: 1fr; gap: 16px; }
    .ph-card img { height: 180px; }
    .ph-article-card { padding: 20px; }
    .ph-content { font-size: 16px; line-height: 1.7; }
}
/* Prevent horizontal overflow */
html, body { overflow-x: hidden; }
