/* ============================================================
   post-style.css — Shared styles for English blog posts
   Used by: post14.html through post20.html
   ============================================================ */

/* ---- Header ---- */
.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.post-header .logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.post-header .logo span {
    color: #2575fc;
}

.post-header .back-link {
    color: #a0b4ff;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.post-header .back-link:hover {
    color: #fff;
}

/* ---- Post Container ---- */
.post-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    background: #fff;
    min-height: 100vh;
}

/* ---- Post Hero / Title Area ---- */
.post-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #2575fc 100%);
    padding: 40px 35px;
    border-radius: 20px;
    margin-bottom: 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.post-hero::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.post-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    backdrop-filter: blur(5px);
}

.post-hero h1 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .post-hero h1 {
        font-size: 1.3rem;
    }

    .post-hero {
        padding: 28px 20px;
    }
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-intro {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.75;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 16px;
}

/* ---- Highlight Cards ---- */
.highlight-card {
    background: #fff;
    border: 1px solid #e8eeff;
    border-radius: 16px;
    padding: 28px 30px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(37, 117, 252, 0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}

.highlight-card:hover {
    box-shadow: 0 6px 20px rgba(37, 117, 252, 0.12);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .highlight-card {
        padding: 20px 16px;
    }
}

.highlight-card h2 {
    font-size: 1.2rem;
    color: #1a1a2e;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8eeff;
}

.highlight-card h3 {
    font-size: 1.04rem;
    color: #2575fc;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 8px;
}

.highlight-card p {
    color: #444;
    line-height: 1.8;
    font-size: 0.97rem;
    margin-bottom: 12px;
}

.highlight-card ul,
.highlight-card ol {
    color: #444;
    line-height: 1.85;
    font-size: 0.97rem;
    padding-left: 22px;
    margin-bottom: 14px;
}

.highlight-card li {
    margin-bottom: 6px;
}

.highlight-card table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9rem;
    border-radius: 8px;
    overflow: hidden;
}

.highlight-card th {
    background: #2575fc;
    color: #fff;
    padding: 10px 12px;
    text-align: left;
}

.highlight-card td {
    border: 1px solid #e8eeff;
    padding: 9px 12px;
    color: #444;
}

.highlight-card tr:nth-child(even) td {
    background: #f7f9ff;
}

/* ---- Post Footer Navigation ---- */
.post-footer {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #e8eeff;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    color: #fff !important;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(37, 117, 252, 0.3);
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 117, 252, 0.4);
    color: #000000 !important;
   
}

/* ---- Main Footer ---- */
.main-footer {
    background: #f8f9fb;
    color: #555;
    text-align: center;
    padding: 24px 20px;
    font-size: 0.88rem;
    border-top: 1px solid #e0e6f5;
}

.main-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-bottom: 12px;
}

.main-footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.main-footer a:hover {
    color: #f8f8f8;
}