/*
Theme Name: VereOnline Blog
Description: Clean editorial theme for the VereOnline portal.
Version: 1.0.0
Text Domain: vere-blog
*/
:root {
  --ink: #10233f;
  --muted: #64748b;
  --line: #dbe5ef;
  --paper: #fff;
  --canvas: #f4f8fc;
  --blue: #1769e0;
  --cyan: #12a8b8;
  --orange: #ff7a1a;
  --shadow: 0 18px 50px rgba(17, 41, 75, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.wrap { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.blog-header { position: sticky; top: 0; z-index: 20; color: white; background: rgba(10, 30, 58, .94); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.12); }
.blog-header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.blog-brand { display: flex; align-items: center; gap: 12px; font-weight: 850; letter-spacing: -.02em; }
.blog-brand__mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(135deg, #1b7cff, #0cc1be); box-shadow: 0 10px 24px rgba(20, 133, 255, .3); }
.blog-nav { display: flex; align-items: center; gap: 8px; font-size: .93rem; font-weight: 700; }
.blog-nav a { padding: 9px 13px; border-radius: 999px; color: #dce9f8; }
.blog-nav a:hover, .blog-nav a.active { color: white; background: rgba(255,255,255,.12); }
.blog-hero { padding: 72px 0 54px; color: white; overflow: hidden; background: radial-gradient(circle at 85% 15%, rgba(25, 197, 195, .35), transparent 26%), linear-gradient(135deg, #0a2344, #124f91 65%, #0d7d88); }
.blog-hero__eyebrow { display: inline-flex; padding: 7px 11px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(255,255,255,.09); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.blog-hero h1 { max-width: 760px; margin: 18px 0 12px; font-size: clamp(2.25rem, 6vw, 4.6rem); line-height: 1.03; letter-spacing: -.055em; }
.blog-hero p { max-width: 690px; margin: 0; color: #d7e9f9; font-size: 1.08rem; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; padding: 44px 0 70px; }
.section-kicker { margin: 0 0 20px; font-size: .8rem; color: var(--blue); font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.post-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 30px rgba(21,49,83,.06); transition: transform .22s ease, box-shadow .22s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__image { aspect-ratio: 16/9; display: block; background: linear-gradient(135deg, #d8eafa, #c7f0ed); }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #1874b9; font-size: 2.2rem; font-weight: 900; }
.post-card__body { padding: 22px; }
.post-meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .82rem; font-weight: 700; }
.post-card h2 { margin: 10px 0 9px; font-size: 1.25rem; line-height: 1.3; letter-spacing: -.025em; }
.post-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.read-more { display: inline-flex; margin-top: 16px; color: var(--blue); font-size: .9rem; font-weight: 850; }
.sidebar { display: grid; align-content: start; gap: 20px; }
.side-card { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 30px rgba(21,49,83,.05); }
.side-card h2 { margin: 0 0 14px; font-size: 1.03rem; }
.calendar_wrap table, .wp-calendar-table { width: 100%; border-collapse: collapse; font-size: .86rem; text-align: center; }
.calendar_wrap caption, .wp-calendar-table caption { margin-bottom: 12px; font-weight: 850; text-transform: capitalize; }
.calendar_wrap th, .calendar_wrap td, .wp-calendar-table th, .wp-calendar-table td { padding: 7px 3px; }
.calendar_wrap td a, .wp-calendar-table td a { display: grid; width: 28px; height: 28px; margin: auto; place-items: center; color: white; background: var(--blue); border-radius: 9px; font-weight: 800; }
.calendar_wrap #today, .wp-calendar-table #today { color: var(--orange); font-weight: 900; }
.recent-list { display: grid; gap: 13px; }
.recent-list a { padding-bottom: 13px; border-bottom: 1px solid var(--line); font-size: .92rem; font-weight: 750; line-height: 1.4; }
.recent-list a:last-child { padding-bottom: 0; border: 0; }
.pagination { grid-column: 1/-1; margin-top: 16px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination a, .pagination span { min-width: 38px; padding: 7px 11px; text-align: center; background: white; border: 1px solid var(--line); border-radius: 10px; }
.pagination .current { color: white; background: var(--blue); border-color: var(--blue); }
.article { max-width: 850px; margin: 46px auto 70px; padding: clamp(24px, 5vw, 58px); background: white; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.article h1 { margin: 10px 0 18px; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -.045em; }
.article__media { overflow: hidden; margin: 28px 0; border-radius: 20px; }
.article__content { font-family: Georgia, Cambria, serif; color: #263b54; font-size: 1.08rem; }
.article__content h2, .article__content h3 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: var(--ink); line-height: 1.25; }
.article__content a { color: var(--blue); text-decoration: underline; }
.article__content img { border-radius: 14px; }
.blog-footer { padding: 28px 0; color: #c8d9e9; background: #091c34; }
.blog-footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.blog-footer__inner>div:first-child { display: grid; gap: 3px; }
.blog-footer__links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.blog-footer__links a:hover { color: white; }
.affiliate-note { margin: 22px 0; padding: 15px 17px; border: 1px solid #bdd8f5; border-radius: 14px; color: #294968; background: #eef7ff; font-size: .93rem; }
.affiliate-note a { color: var(--blue); text-decoration: underline; }
.empty-state { padding: 40px; background: white; border: 1px dashed #bacbdd; border-radius: 22px; text-align: center; }
@media (max-width: 900px) { .blog-layout { grid-template-columns: 1fr; } .sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 680px) { .blog-header__inner { min-height: 64px; flex-wrap:wrap; padding:10px 0; } .blog-nav { width:100%; overflow-x:auto; gap: 1px; font-size: .82rem; } .blog-nav a { flex:0 0 auto; padding: 7px 8px; } .blog-brand span:last-child { display: inline; } .post-grid, .sidebar { grid-template-columns: 1fr; } .blog-hero { padding: 54px 0 42px; } }
