:root {
    --premium-green-bg: #ecfdf5;
    --premium-green-text: #065f46;
    --dark-neutral: #111827;
    --body-text: #4b5563;
    --white: #ffffff;
    --shadow-main: 0 4px 25px rgba(0, 0, 0, 0.06);
}

body {
    background-color: #f8fafc;
    color: var(--body-text);
}

a {
    text-decoration: none;
    transition: 0.25s ease-in-out;
}

.max-1400 {
    max-width: 1400px;
    margin: 0 auto;
}

.badge-premium {
    background: var(--premium-green-bg);
    color: var(--premium-green-text);
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.badge-premium-sm {
    background: var(--premium-green-bg);
    color: var(--premium-green-text);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
}

.post-meta-strip {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #9ca3af;
    font-size: 0.85rem;
}

.meta-item i {
    margin-right: 5px;
}

.date-item::before {
    content: "•";
    margin-right: 15px;
    color: #d1d5db;
}

.featured-post-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-main);
}

.post-content-area {
    padding: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-title-lg a {
    color: var(--dark-neutral);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.2;
}

.post-image-area {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.post-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-post-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-main);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.grid-post-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.grid-image-box {
    height: 240px;
    position: relative;
}

.grid-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-content-box {
    padding: 28px;
}

.post-title-md a {
    color: var(--dark-neutral);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.4;
}

.main-article-container {
    background: var(--white);
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow-main);
}

.article-display-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-neutral);
    letter-spacing: -1.5px;
}

.article-reading-meta {
    display: flex;
    justify-content: center;
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
}

.featured-media-frame img {
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.article-body-typography {
    font-size: 1.25rem;
    line-height: 1.9;
    color: #374151;
    max-width: 900px;
    margin: 0 auto;
}

.read-time-tag, .read-time-tag-sm {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(17, 24, 39, 0.9);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.image-fallback {
    height: 100%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.pagination-ui-container .page-item .page-link {
    border: none;
    border-radius: 12px !important;
    background: var(--white);
    color: var(--dark-neutral);
    padding: 14px 22px;
    font-weight: 700;
    box-shadow: var(--shadow-main);
    margin: 0 4px;
}

.pagination-ui-container .page-item.active .page-link {
    background: var(--premium-green-text) !important;
    color: var(--white) !important;
}

.pagination-ui-container nav div:first-child {
    display: none !important;
}

.back-link {
    color: #059669;
    font-weight: 600;
    font-size: 1rem;
}

.back-link:hover {
    color: #047857;
}

@media (max-width: 991px) {
    .article-display-title { font-size: 2.5rem; }
    .main-article-container { padding: 35px; }
    .post-title-lg a { font-size: 1.8rem; }
    .post-content-area { padding: 30px; }
}
.comment-form-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

.comment-form-box .form-control {
    border-color: #cbd5e1;
    padding: 12px 18px;
    font-size: 1rem;
}

.comment-form-box .form-control:focus {
    border-color: var(--premium-green-text);
    box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.1);
}

.btn-premium-submit {
    background: var(--premium-green-text);
    color: var(--white);
    border: none;
    transition: transform 0.2s;
}

.btn-premium-submit:hover {
    background: #047857;
    color: var(--white);
    transform: translateY(-2px);
}

.comment-item {
    border-left: 4px solid var(--premium-green-text);
}

.article-reading-meta a:hover {
    color: var(--premium-green-text) !important;
}

html {
    scroll-behavior: smooth;
}