/*!
Theme Name: Canatec Eurasia
Theme URI: https://persausive.com/
Author: Persausive
Author URI: https://persausive.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: canatec-eurasia
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

.single-post-container {
    max-width: 80rem;
    /* ~768px */
    margin: 0 auto;
    padding: 0 1.5rem;
}

.post-header {
    padding-top: 10rem;
    padding-bottom: 3rem;
    text-align: center;
}

.post-cat {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-foreground);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.post-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.post-meta {
    font-size: 0.85rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.post-meta span {
    margin: 0 0.5rem;
}

.post-featured-image {
    margin-bottom: 4rem;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
}

.post-body-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: oklch(0.97 0.012 220 / 0.85);
}

.post-body-content p {
    margin-bottom: 1.75rem;
}

.post-body-content h2,
.post-body-content h3 {
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    color: var(--foreground);
}

.post-body-content h2 {
    font-size: 1.85rem;
}

.post-body-content h3 {
    font-size: 1.45rem;
}

.post-body-content blockquote {
    border-left: 4px solid var(--primary);
    background: oklch(1 0 0 / 0.03);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--foreground);
}

.post-body-content ul,
.post-body-content ol {
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

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

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

.post-body-content li {
    margin-bottom: 0.5rem;
}

.post-footer-nav {
    margin-top: 5rem;
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.post-footer-nav .nav-box {
    width: 50%;
}

.post-footer-nav .nav-box.next {
    text-align: right;
}

.post-footer-nav .nav-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.post-footer-nav .nav-link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--foreground);
    transition: color 0.2s;
    display: block;
}

.post-footer-nav .nav-link:hover {
    color: var(--primary);
}

.comments-area {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
}

/* Pagination Styling */
.pagination-container {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: oklch(0.19 0.04 240 / 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid oklch(1 0 0 / 0.08);
    border-radius: 9999px;
    box-shadow: var(--shadow-card);
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 9999px;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.pagination a.page-numbers:hover {
    color: var(--foreground);
    background: oklch(1 0 0 / 0.05);
    border-color: oklch(1 0 0 / 0.15);
}

.pagination .page-numbers.current {
    color: var(--primary-foreground);
    background: var(--gradient-primary);
    background-image: var(--gradient-primary);
    box-shadow: 0 0 12px oklch(0.82 0.14 215 / 0.3);
    font-weight: 600;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    padding: 0 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.pagination .page-numbers.dots {
    min-width: 1.5rem;
    padding: 0;
    cursor: default;
    color: oklch(0.97 0.012 220 / 0.4);
}

input.wpcf7-form-control {
    width: 100%;
}

textarea.wpcf7-form-control {
    width: 100%;
}