/* ==========================================================================
   Velento — Blog (listing, archives, single post). Redesign.
   Uses the shared .vl-* tokens, headings, buttons and .vl-post card base
   from home.css (loaded site-wide).
   ========================================================================== */

.vl-blog-page a, .vl-article-page a { color: inherit; text-decoration: none; }

/* ---------- Shared bits (crumbs + pills; also defined for shop/brands) ---------- */
.vl-blog-page .vl-crumbs, .vl-article-page .vl-crumbs {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px;
    margin-bottom: 26px; font-size: 13px; color: var(--vl-muted);
}
.vl-blog-page .vl-crumbs a:hover, .vl-article-page .vl-crumbs a:hover { color: var(--vl-gold); }
.vl-blog-page .vl-crumbs [aria-current] { color: var(--vl-text); font-weight: 600; }
.vl-blog-page .vl-shop-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.vl-blog-page .vl-chip {
    display: inline-flex; align-items: center; height: 44px; padding: 0 22px;
    border-radius: 999px; background: var(--vl-soft); color: var(--vl-text) !important;
    font-size: 14px; font-weight: 600;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.vl-blog-page .vl-chip:hover { background: var(--vl-yellow-soft); transform: translateY(-2px); }
.vl-blog-page .vl-chip.is-active { background: var(--vl-yellow); color: #1F1F1F !important; box-shadow: 0 8px 20px rgba(255,194,31,.3); }

.vl-tag {
    display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px;
    background: var(--vl-soft); color: var(--vl-text) !important; font-size: 12.5px; font-weight: 700;
    transition: background .25s ease;
}
a.vl-tag:hover { background: var(--vl-yellow-soft); }
.vl-tag--gold { background: var(--vl-yellow); color: #1F1F1F !important; }

/* ---------- Hero ---------- */
.vl-blog-hero { padding: 36px 0 12px; text-align: center; }
.vl-blog-hero .vl-heading { margin: 0 auto 18px; }
.vl-blog-hero .vl-title { max-width: 20em; }
.vl-main .vl-blog-lead { max-width: 640px; margin: 0 auto 28px; font-size: 15px !important; line-height: 2.1 !important; color: var(--vl-muted); }

.vl-blog-body { padding-top: 34px; padding-bottom: 96px; }

/* ---------- Featured ---------- */
.vl-blog-featured { margin-bottom: 44px; }
.vl-featured {
    display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch;
    border: 1px solid var(--vl-line); border-radius: 48px; overflow: hidden;
    background: var(--vl-surface); box-shadow: var(--vl-shadow);
}
.vl-featured-img { position: relative; display: block; min-height: 340px; background: var(--vl-soft); overflow: hidden; }
.vl-featured-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.vl-featured:hover .vl-featured-img img { transform: scale(1.04); }
.vl-featured-copy { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 44px clamp(24px, 4vw, 56px); }
.vl-featured-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.vl-main .vl-featured-title { margin: 0 !important; font-size: clamp(24px, 2.6vw, 32px) !important; line-height: 1.7 !important; font-weight: 800 !important; }
.vl-featured-title a:hover { color: var(--vl-gold); }
.vl-main .vl-featured-excerpt { font-size: 15px !important; line-height: 2.2 !important; color: var(--vl-muted); }
.vl-featured-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.vl-featured-meta { font-size: 13.5px; color: var(--vl-muted); }

/* ---------- Layout: cards + sidebar ---------- */
.vl-blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.vl-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.vl-blog-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Post cards (base styles live in home.css) */
.vl-post--blog .vl-post-img { position: relative; }
.vl-post-cat {
    position: absolute; top: 12px; inset-inline-start: 12px; padding: 3px 12px; border-radius: 999px;
    background: var(--vl-yellow); color: #1F1F1F; font-size: 12px; font-weight: 700;
}
.vl-post-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.vl-post-ph b { font-size: 54px; font-weight: 800; color: rgba(255,255,255,.9); }
.vl-main .vl-post--blog .vl-post-title { border-bottom: 0; padding-bottom: 0; min-height: 0; }
.vl-main .vl-post-excerpt { font-size: 13.5px !important; line-height: 2 !important; color: var(--vl-muted); padding-bottom: 14px; border-bottom: 1px solid var(--vl-line); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vl-post--blog .vl-post-foot { margin-top: auto; }

/* Sidebar */
.vl-blog-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 110px; }
.vl-side-search { position: relative; display: flex; align-items: center; }
.vl-side-search input {
    width: 100%; height: 56px; padding: 0 24px 0 60px; border: 1.5px solid var(--vl-line); border-radius: 999px;
    background: var(--vl-soft); color: var(--vl-text); font: inherit; font-size: 14px;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.vl-side-search input:focus { outline: none; background: var(--vl-surface); border-color: var(--vl-yellow); box-shadow: 0 0 0 4px color-mix(in srgb, var(--vl-yellow) 25%, transparent); }
.vl-side-search button {
    position: absolute; left: 6px; top: 6px; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--vl-yellow); color: #1F1F1F; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.vl-blog-side .vl-topics li a em { font-style: normal; min-width: 28px; padding: 1px 8px; border-radius: 999px; background: var(--vl-soft); color: var(--vl-muted); font-size: 12px; text-align: center; }

.vl-side-cta {
    position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
    padding: 30px 26px 28px; border-radius: 36px; background: #212121; color: #fff;
}
.vl-side-cta .vl-script { position: absolute; top: 4px; inset-inline-end: 14px; margin: 0; font-size: 64px;
    background: linear-gradient(180deg, rgba(240,190,50,.55), rgba(229,169,18,0) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vl-main .vl-side-cta h3 { position: relative; margin: 40px 0 0 !important; font-size: 19px !important; line-height: 1.8 !important; font-weight: 800 !important; color: #fff; }
.vl-main .vl-side-cta p { position: relative; font-size: 13.5px !important; line-height: 2 !important; color: #A8A8A8; }
.vl-side-cta .vl-btn { height: 56px; margin-top: 8px; }

/* Pagination */
.vl-pagination { margin-top: 48px; }
.vl-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.vl-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 6px;
    border-radius: 50%; background: var(--vl-soft); color: var(--vl-text); font-size: 15px; font-weight: 700;
    transition: background .25s ease, transform .25s ease;
}
.vl-pagination a.page-numbers:hover { background: var(--vl-yellow-soft); transform: translateY(-2px); }
.vl-pagination .page-numbers.current { background: var(--vl-yellow); color: #1F1F1F; box-shadow: 0 8px 20px rgba(255,194,31,.35); }
.vl-pagination .page-numbers.dots { background: transparent; }

/* Empty */
.vl-blog-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 64px 20px; border: 1px dashed var(--vl-line); border-radius: 32px; background: var(--vl-soft); text-align: center; }
.vl-main .vl-blog-empty h2 { margin: 0 !important; font-size: 22px !important; font-weight: 800 !important; }
.vl-blog-empty p { color: var(--vl-muted); }

/* ==========================================================================
   Single post
   ========================================================================== */
.vl-article-hero { padding: 36px 0 8px; text-align: center; }
.vl-article-cats { justify-content: center; margin-bottom: 16px; }
.vl-main .vl-article-title {
    max-width: 22em; margin: 0 auto 22px !important; font-size: clamp(28px, 3.6vw, 42px) !important;
    line-height: 1.7 !important; font-weight: 800 !important; letter-spacing: 0 !important; color: var(--vl-text);
}
.vl-article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: 13.5px; color: var(--vl-muted); }
.vl-article-meta li { display: inline-flex; align-items: center; gap: 7px; }
.vl-article-meta svg { color: var(--vl-gold); }

.vl-article-cover { margin-top: 30px; }
.vl-article-cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 44px; box-shadow: var(--vl-shadow); }

.vl-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-top: 44px; padding-bottom: 72px; }
.vl-article-side { position: sticky; top: 110px; }

/* Article typography — beats the global main h*/p !important rules */
.vl-article-body { min-width: 0; font-size: 16.5px; }
.vl-main .vl-article-body p, .vl-main .vl-article-body li { font-size: 16.5px !important; line-height: 2.4 !important; color: var(--vl-text); }
.vl-main .vl-article-body p { margin: 0 0 1.4em; text-align: justify; }
.vl-main .vl-article-body h2 { margin: 2em 0 .7em !important; padding-inline-start: 16px; border-inline-start: 5px solid var(--vl-yellow); font-size: 26px !important; line-height: 1.7 !important; font-weight: 800 !important; }
.vl-main .vl-article-body h3 { margin: 1.7em 0 .6em !important; font-size: 21px !important; line-height: 1.7 !important; font-weight: 800 !important; }
.vl-main .vl-article-body h4 { margin: 1.5em 0 .5em !important; font-size: 18px !important; font-weight: 700 !important; }
.vl-article-body a { color: var(--vl-gold); text-decoration: underline; text-underline-offset: 4px; }
.vl-article-body a:hover { color: var(--vl-amber); }
.vl-article-body ul, .vl-article-body ol { margin: 0 0 1.4em; padding-inline-start: 1.6em; }
.vl-article-body ul { list-style: disc; }
.vl-article-body ol { list-style: decimal; }
.vl-article-body li::marker { color: var(--vl-gold); font-weight: 700; }
.vl-article-body img, .vl-article-body video, .vl-article-body iframe { max-width: 100%; border-radius: 28px; }
.vl-article-body img { height: auto; }
.vl-article-body figure { margin: 2em 0; }
.vl-article-body figcaption { margin-top: 10px; font-size: 13px; color: var(--vl-muted); text-align: center; }
.vl-article-body blockquote {
    margin: 2em 0; padding: 24px 28px; border-radius: 28px; background: var(--vl-cream);
    box-shadow: inset 4px 0 0 var(--vl-yellow); font-size: 18px; font-weight: 600;
}
.vl-article-body blockquote p:last-child { margin-bottom: 0; }
.vl-article-body table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 15px; display: block; overflow-x: auto; }
.vl-article-body th, .vl-article-body td { padding: 12px 16px; border: 1px solid var(--vl-line); text-align: start; }
.vl-article-body th { background: var(--vl-soft); font-weight: 800; }
.vl-article-body pre { padding: 18px; border-radius: 18px; background: #212121; color: #eee; overflow-x: auto; direction: ltr; text-align: left; }
.vl-article-body hr { border: 0; height: 2px; margin: 2.4em 0; background: linear-gradient(90deg, transparent, var(--vl-gold), transparent); }

.vl-article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; list-style: none; padding: 0; }
.vl-article-tags a { display: inline-flex; height: 36px; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--vl-soft); color: var(--vl-text); text-decoration: none; font-size: 13.5px; font-weight: 600; transition: background .25s ease; }
.vl-article-tags a:hover { background: var(--vl-yellow-soft); color: #1F1F1F; }

.vl-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; padding: 18px 22px; border-radius: 24px; background: var(--vl-soft); }
.vl-share b { margin-inline-end: 6px; font-size: 14px; }
.vl-share a { display: inline-flex; height: 40px; align-items: center; padding: 0 18px; border-radius: 999px; background: var(--vl-surface); color: var(--vl-text); text-decoration: none; font-size: 13.5px; font-weight: 600; box-shadow: var(--vl-shadow-sm); transition: background .25s ease, transform .25s ease; }
.vl-share a:hover { background: var(--vl-yellow); color: #1F1F1F; transform: translateY(-2px); }

.vl-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.vl-post-nav a { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; border: 1px solid var(--vl-line); border-radius: 24px; background: var(--vl-surface); transition: border-color .25s ease, transform .25s ease; }
.vl-post-nav a:hover { border-color: var(--vl-yellow); transform: translateY(-3px); }
.vl-post-nav small { font-size: 12px; color: var(--vl-gold); font-weight: 700; }
.vl-post-nav span { font-size: 14.5px; font-weight: 600; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vl-post-nav .is-prev { text-align: left; align-items: flex-end; grid-column: 2; }
.vl-post-nav .is-next { grid-column: 1; }
.vl-post-nav .is-next:only-child { grid-column: 1; }

/* Comments */
.vl-article-body .comments-area { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--vl-line); }
.vl-main .vl-article-body .comments-title, .vl-main .vl-article-body .comment-reply-title { font-size: 21px !important; font-weight: 800 !important; margin: 0 0 22px !important; }
.vl-article-body .comment-list { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.vl-article-body .comment-list .children { list-style: none; margin: 14px 0 0; padding-inline-start: 24px; }
.vl-article-body .comment-body { padding: 18px 22px; border-radius: 24px; background: var(--vl-soft); }
.vl-article-body .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.vl-article-body .comment-author img { width: 42px; height: 42px; border-radius: 50%; }
.vl-article-body .comment-metadata { font-size: 12.5px; color: var(--vl-muted); margin: 4px 0 10px; }
.vl-article-body .comment-metadata a, .vl-article-body .reply a { text-decoration: none; color: var(--vl-gold); font-weight: 600; }
.vl-article-body .comment-form { display: flex; flex-direction: column; gap: 14px; }
.vl-article-body .comment-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.vl-article-body .comment-form input[type="text"], .vl-article-body .comment-form input[type="email"], .vl-article-body .comment-form input[type="url"], .vl-article-body .comment-form textarea {
    width: 100%; padding: 14px 16px; border: 1.5px solid var(--vl-line); border-radius: 16px; background: var(--vl-soft); color: var(--vl-text); font: inherit; font-size: 14px;
}
.vl-article-body .comment-form input:focus, .vl-article-body .comment-form textarea:focus { outline: none; border-color: var(--vl-yellow); background: var(--vl-surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--vl-yellow) 25%, transparent); }
.vl-article-body .comment-form .submit { height: 52px; padding: 0 32px; border: 0; border-radius: 999px; background: var(--vl-yellow); color: #1F1F1F; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }

.vl-related { padding: 24px 0 96px; }
.vl-related .vl-heading { display: flex; width: fit-content; margin: 0 auto 44px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .vl-blog-layout, .vl-article-layout { grid-template-columns: 1fr; }
    .vl-blog-side, .vl-article-side { position: static; }
    .vl-blog-grid, .vl-blog-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vl-article-side { order: 2; }
}
@media (max-width: 820px) {
    .vl-featured { grid-template-columns: 1fr; border-radius: 36px; }
    .vl-featured-img { min-height: 240px; }
    .vl-featured-copy { padding: 28px 22px 32px; }
    .vl-article-cover img { border-radius: 28px; }
    .vl-post-nav { grid-template-columns: 1fr; }
    .vl-post-nav .is-prev, .vl-post-nav .is-next { grid-column: 1; text-align: start; align-items: flex-start; }
    .vl-blog-page .vl-shop-cats { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-inline: -14px; padding-inline: 14px; }
    .vl-blog-page .vl-shop-cats::-webkit-scrollbar { display: none; }
    .vl-blog-page .vl-chip { flex: none; }
}
@media (max-width: 600px) {
    .vl-blog-grid, .vl-blog-grid--3 { grid-template-columns: 1fr; }
    .vl-main .vl-article-body p, .vl-main .vl-article-body li { font-size: 15.5px !important; line-height: 2.3 !important; }
    .vl-main .vl-article-body h2 { font-size: 22px !important; }
}


