/* === Base === */
body {
    background-color: #f1f5f9;
    color: #0f172a;
    font-family: 'Lato', Arial, Verdana, sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
    line-height: 1.65;
}
a { color: #0891b2; text-decoration: none; }
a:hover { color: #0e7490; text-decoration: underline; }
img { border: 0; }
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', 'Times New Roman', Times, serif;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0;
}

/* === Header === */
.site-title {
    font-family: 'Lora', 'Times New Roman', serif;
    font-size: 46px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: block;
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 6px;
}
.site-title:hover { color: #06b6d4; text-decoration: none; }
.site-tagline { color: #94a3b8; font-family: 'Lato', sans-serif; font-size: 17px; }
.nav-link {
    color: #e2e8f0;
    text-decoration: none;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 14px;
    display: inline-block;
}
.nav-link:hover { color: #06b6d4; background-color: #0f172a; text-decoration: none; }

/* === Article Cards === */
.article-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    overflow: hidden;
    vertical-align: top;
}
.article-card:hover { border-color: #06b6d4; }
.card-img-wrap { overflow: hidden; line-height: 0; }
.card-img-wrap img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    display: block;
}
.card-body { padding: 11px 12px 13px; }
.card-category {
    display: inline-block;
    background: #06b6d4;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    font-family: 'Lato', Arial, sans-serif;
    padding: 2px 8px;
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.card-title {
    font-family: 'Lora', 'Times New Roman', serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 7px;
}
.card-title a { color: #0f172a; text-decoration: none; }
.card-title a:hover { color: #0891b2; }
.card-excerpt {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 8px;
}
.card-date {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 11px;
    color: #94a3b8;
}

/* === Sidebar Widgets === */
.widget {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    margin-bottom: 16px;
    overflow: hidden;
}
.widget-title {
    background: #334155;
    color: #ffffff;
    font-family: 'Lora', serif;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 13px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}
.widget-content { padding: 11px 13px; }
.widget-list { list-style: none; padding: 0; margin: 0; }
.widget-list li {
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    line-height: 1.4;
}
.widget-list li:last-child { border-bottom: none; padding-bottom: 0; }
.widget-list li a { color: #0891b2; text-decoration: none; font-family: 'Lato', Arial, sans-serif; }
.widget-list li a:hover { color: #0e7490; text-decoration: underline; }
.widget-post-date { font-size: 10px; color: #94a3b8; display: block; margin-top: 2px; }

/* === Tags === */
.tags-cloud { line-height: 2; }
a.tag-pill {
    display: inline-block;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 11px;
    font-family: 'Lato', Arial, sans-serif;
    padding: 2px 9px;
    margin: 2px 2px 2px 0;
    text-decoration: none;
}
a.tag-pill:hover { background: #475569; color: #ffffff; border-color: #475569; text-decoration: none; }

/* === Breadcrumb === */
.breadcrumb-nav {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 12px;
    color: #64748b;
    padding: 8px 0 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}
.breadcrumb-nav a { color: #0891b2; text-decoration: none; }
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-sep { margin: 0 5px; color: #94a3b8; }

/* === Article page === */
.article-wrap { background: #ffffff; border: 1px solid #cbd5e1; padding: 20px 22px; }
.article-cat-badge {
    display: inline-block;
    background: #06b6d4;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Lato', Arial, sans-serif;
    padding: 3px 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.article-h1 {
    font-family: 'Lora', 'Times New Roman', serif;
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
    line-height: 1.3;
}
.article-date {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 12px;
    color: #64748b;
    margin: 0 0 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.article-img-wrap { margin-bottom: 18px; }
.article-img-wrap img { width: 100%; height: auto; max-width: 100%; display: block; }

/* === Entry content === */
.entry-content {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #0f172a;
}
.entry-content h2 {
    font-family: 'Lora', 'Times New Roman', serif;
    font-size: 21px;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 2px solid #06b6d4;
    padding-bottom: 7px;
    margin: 26px 0 14px;
}
.entry-content h3 {
    font-family: 'Lora', 'Times New Roman', serif;
    font-size: 17px;
    font-weight: 700;
    color: #334155;
    margin: 20px 0 10px;
}
.entry-content p { margin: 0 0 15px; }
.entry-content ul, .entry-content ol { padding-left: 22px; margin: 0 0 15px; }
.entry-content li { margin-bottom: 5px; line-height: 1.65; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13px; }
.entry-content table th {
    background: #334155;
    color: #ffffff;
    padding: 9px 11px;
    text-align: left;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 600;
    font-size: 12px;
}
.entry-content table td { padding: 8px 11px; border: 1px solid #cbd5e1; vertical-align: top; }
.entry-content table tr:nth-child(even) td { background: #f8fafc; }
.entry-content blockquote {
    border-left: 4px solid #06b6d4;
    margin: 20px 0;
    padding: 12px 18px;
    background: #f0f9ff;
    font-style: italic;
    color: #334155;
    font-size: 15px;
    line-height: 1.65;
}
.entry-content blockquote p { margin: 0; }
.entry-content .infobox {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
    padding: 13px 17px;
    margin: 18px 0;
}
.entry-content .stat-block {
    background: #334155;
    color: #ffffff;
    text-align: center;
    padding: 18px;
    margin: 20px 0;
}
.entry-content .stat-block .stat-number {
    font-family: 'Lora', serif;
    font-size: 34px;
    font-weight: 700;
    color: #06b6d4;
    display: block;
}
.entry-content .stat-block .stat-label { font-size: 12px; color: #94a3b8; margin-top: 4px; }
.entry-content a { color: #0891b2; }
.entry-content a:hover { color: #0e7490; }
.entry-content img { max-width: 100%; height: auto; display: block; margin: 16px auto; }
.entry-content strong { font-weight: 700; }

/* === Article tags section === */
.article-tags-section {
    border-top: 1px solid #cbd5e1;
    padding-top: 14px;
    margin-top: 22px;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 12px;
}
.article-tags-label { color: #64748b; margin-right: 6px; font-weight: 600; }
a.article-tag-link {
    display: inline-block;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 11px;
    padding: 2px 9px;
    margin: 2px 2px 2px 0;
    text-decoration: none;
}
a.article-tag-link:hover { background: #475569; color: #ffffff; text-decoration: none; }

/* === Category page header === */
.cat-page-header {
    background: #334155;
    padding: 16px 18px;
    margin-bottom: 18px;
}
.cat-page-header h1 {
    color: #ffffff;
    font-size: 24px;
    margin: 0;
    font-family: 'Lora', serif;
}
.cat-page-header .cat-desc {
    color: #94a3b8;
    font-size: 12px;
    margin: 5px 0 0;
    font-family: 'Lato', sans-serif;
}

/* === Section heading === */
.section-heading {
    font-family: 'Lora', serif;
    font-size: 19px;
    font-weight: 700;
    color: #334155;
    border-bottom: 2px solid #06b6d4;
    padding-bottom: 7px;
    margin: 0 0 15px;
}

/* === Tag page heading === */
.tag-page-heading {
    font-family: 'Lora', serif;
    font-size: 22px;
    color: #334155;
    margin: 0 0 18px;
    border-bottom: 2px solid #06b6d4;
    padding-bottom: 8px;
}

/* === Footer === */
.footer-section-title {
    font-family: 'Lora', serif;
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #334155;
    padding-bottom: 6px;
}
.footer-link { color: #94a3b8; text-decoration: none; font-size: 12px; display: block; margin-bottom: 5px; }
.footer-link:hover { color: #06b6d4; text-decoration: none; }

/* === Utility === */
.clearfix::after { content: ''; display: table; clear: both; }
