/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Astra Child Theme
Author: OMshop
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* ==============================
   OMshop Blog Content
   ============================== */

.omshop-post-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.omshop-post-content > * + * {
    margin-top: 1.25rem;
}

.omshop-post-content h2,
.omshop-post-content h3,
.omshop-post-content h4 {
    color: #111827;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 2.25rem;
}

.omshop-post-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.omshop-post-content h3 {
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.omshop-post-content p {
    color: #374151;
}

.omshop-post-content a {
    color: #047857;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.omshop-post-content ul,
.omshop-post-content ol {
    padding-left: 1.5rem;
}

.omshop-post-content ul {
    list-style: disc;
}

.omshop-post-content ol {
    list-style: decimal;
}

.omshop-post-content li + li {
    margin-top: 0.5rem;
}

.omshop-post-content blockquote {
    border-left: 4px solid #047857;
    padding-left: 1.25rem;
    color: #374151;
    font-style: italic;
    background: #f9fafb;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 0 0.75rem 0.75rem 0;
}

.omshop-post-content img {
    border-radius: 1rem;
    height: auto;
}

.omshop-post-content table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 0.75rem;
}

.omshop-post-content th,
.omshop-post-content td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
}

.omshop-post-content th {
    background: #f9fafb;
    font-weight: 700;
}

/* ==============================
   OMshop Pagination
   ============================== */

.omshop-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.omshop-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.875rem;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #374151;
    background: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.omshop-pagination .page-numbers:hover {
    border-color: #047857;
    color: #047857;
}

.omshop-pagination .page-numbers.current {
    background: #047857;
    border-color: #047857;
    color: #ffffff;
}