/* ============================================================
   LevisPay — Single Blog Post Page Styles
   ============================================================ */

/* Banner */
.post-banner {
    background: linear-gradient(135deg, #4fb7ed, #46d6f0);
    padding: 90px 20px ;
    text-align: center;
    color: #FFFFFF;
}
.post-banner .post-date {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.85;
    margin-bottom: 12px;
}
.post-banner h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}
.post-banner .post-subtitle {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Back link */
.back-to-blog {
    max-width: 850px;
    margin: 40px auto 0;
    padding: 0 20px;
}
.back-to-blog a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5DB7F1;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.back-to-blog a:hover {
    color: #003f7b;
}

/* Article content */
.post-content {
    max-width: 900px;
    margin: -50px auto 60px;
    padding: 25px 25px 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

@media (max-width: 768px) {
    .post-content {
        margin: -30px 15px 40px;
        padding: 20px 18px 30px;
        border-radius: 12px;
    }
}

.post-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #142B3D;
    margin-top: 40px;
    margin-bottom: 15px;
    line-height: 1.3;
}
.post-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #284E6A;
    margin-top: 15px;
    margin-bottom: 12px;
}
.post-content p {
    font-size: 1rem;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 18px;
}
.post-content strong {
    color: #142B3D;
}
.post-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 25px 0;
    display: block;
}
.post-content > *:first-child {
    margin-top: 0;
}
.post-content ul {
    margin-bottom: 18px;
    padding-left: 25px;
    list-style-type: disc !important;
}
.post-content ul a {
    color: #5DB7F1;
    font-weight: 600;
    transition: color 0.3s;
}
.post-content ul a:hover {
    color: #003f7b;
    text-decoration: underline;
}
.post-content li {
    font-size: 1rem;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 8px;
    display: list-item !important;
    list-style: disc !important;
}

/* Comparison table */
.post-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.95rem;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.post-table thead {
    background: #e8f5fe;
}
.post-table th {
    text-align: left;
    padding: 14px 18px;
    font-weight: 700;
    color: #142B3D;
    border-bottom: 2px solid #5DB7F1;
}
.post-table td {
    padding: 14px 18px;
    color: #000000;
    line-height: 1.6;
    border-bottom: 1px solid #e6eef5;
    vertical-align: top;
}
.post-table tbody tr:last-child td {
    border-bottom: none;
}
.post-table tbody tr:hover {
    background: #f7fbfe;
}

@media (max-width: 768px) {
    .post-table {
        font-size: 0.85rem;
    }
    .post-table th,
    .post-table td {
        padding: 10px 12px;
    }
}

/* Highlight box */
.post-highlight {
    background: #f0f7fd;
    border-left: 4px solid #5DB7F1;
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin: 25px 0;
}
.post-highlight p {
    color: #142B3D;
    font-style: italic;
    margin-bottom: 0;
}

/* 2x2 STEP grid */
.step-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}
.step-card {
    display: flex;
    flex-direction: column;
}
.step-header {
    background: #e8f5fe;
    padding: 20px 24px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.step-num {
    font-size: 1rem;
    font-weight: 700;
    color: #5DB7F1;
    margin-bottom: 4px;
    letter-spacing: 1px;
}
.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #142B3D;
    line-height: 1.3;
}
.step-body p {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .step-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Side-by-side layout (image + text) */
.post-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin: 30px 0;
}
.post-row.reverse {
    direction: rtl;
}
.post-row.reverse > * {
    direction: ltr;
}
.post-row img {
    width: 100%;
    border-radius: 12px;
    margin: 0;
}
.post-row ul {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .post-row {
        grid-template-columns: 1fr;
    }
    .post-row.reverse {
        direction: ltr;
    }
    .post-banner {
        padding: 70px 20px 50px;
    }
    .post-banner h1 {
        font-size: 1.7rem;
    }
    .post-banner .post-subtitle {
        font-size: 0.95rem;
    }
    .post-content h2 {
        font-size: 1.3rem;
    }
    .post-content h3 {
        font-size: 1.1rem;
    }
    .post-content p,
    .post-content li {
        font-size: 0.95rem;
    }
}
