/* YuvaRun blog (/blog/ and /blog/<slug>/). Plain CSS so the pages need no Tailwind build.
   Look follows the design the blog developer sent (yuvarun-headless-blog-files, Nov 2026). */

.blog-page { background: #fff; color: #232437; font-family: 'Jost', sans-serif; }
.blog-page *, .blog-page *::before, .blog-page *::after { box-sizing: border-box; }

/* Shared bits */
.blog-eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 0;
    font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #14b078; }
.blog-eyebrow i { font-size: 12px; }
.blog-eyebrow i:last-child { transform: scaleX(-1); }
.blog-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
    border-radius: 9999px; background: #09D895; padding: 14px 24px; font: 700 14px/1 'Jost', sans-serif;
    letter-spacing: .03em; text-transform: uppercase; color: #fff; text-decoration: none;
    box-shadow: 0 10px 25px rgba(9, 216, 149, .35); transition: transform .3s, background-color .3s; }
.blog-btn:hover { transform: translateY(-3px); background: #08c287; color: #fff; }
.blog-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: #28BC5E;
    text-decoration: none; transition: transform .3s; }
.blog-link:hover { transform: translateY(-3px); color: #14b078; }
.blog-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: #29D391; opacity: .07;
    filter: blur(120px); pointer-events: none; }

/* Page header (list) */
.blog-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F8FAFD 0%, #FFFFFF 100%);
    padding: 64px 20px 56px; text-align: center; }
.blog-hero .blog-glow { right: -160px; top: -160px; }
.blog-hero-mark { position: absolute; left: -40px; top: 50%; display: none; transform: translateY(-50%) rotate(-90deg);
    font-size: 110px; font-weight: 900; line-height: 1; text-transform: uppercase; color: transparent; opacity: .3;
    -webkit-text-stroke: 2px #29D391; pointer-events: none; user-select: none; }
.blog-hero-inner { position: relative; max-width: 768px; margin: 0 auto; }
.blog-hero h1 { margin: 4px 0 0; font-size: 36px; font-weight: 700; line-height: 1.15; color: #232437; }
.blog-hero p { max-width: 650px; margin: 20px auto 0; font-size: 15px; line-height: 1.8; color: #64748B; }

/* Card grid */
.blog-list { max-width: 1280px; margin: 0 auto; padding: 16px 20px 80px; }
.blog-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.blog-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid #EEF2F6;
    border-radius: 24px; background: #fff; transition: transform .5s, box-shadow .5s, border-color .5s; }
.blog-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 20px 60px rgba(24, 40, 56, .08); }
.blog-card-media { position: relative; display: block; overflow: hidden; background: #F2FFF9; aspect-ratio: 16 / 10; }
.blog-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-noimg { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; gap: 8px;
    font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #14b078; }
.blog-chip { position: absolute; left: 16px; top: 16px; border-radius: 9999px; background: rgba(255, 255, 255, .95);
    padding: 6px 14px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #14b078;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.blog-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.blog-card-body time { font-size: 13px; font-weight: 500; color: #5E6B65; }
.blog-card-body h2 { margin: 8px 0 0; font-size: 22px; font-weight: 500; line-height: 1.25; }
.blog-card-body h2 a { color: #232437; text-decoration: none; transition: color .3s; }
.blog-card-body h2 a:hover { color: #14b078; }
.blog-card-body p { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: #5E6B65; display: -webkit-box;
    -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-body .blog-link { margin-top: auto; padding-top: 24px; }

/* Pagination: real links, so search engines can reach older articles */
.blog-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 56px; }
.blog-pages a, .blog-pages span.blog-page-off { display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid #E5E7EB; border-radius: 9999px; font-size: 14px;
    font-weight: 700; color: #232437; text-decoration: none; transition: background-color .3s, border-color .3s; }
.blog-pages a:hover { border-color: #29D391; background: #EAFBF3; }
.blog-pages a[aria-current="page"] { border-color: #09D895; background: #09D895; color: #fff;
    box-shadow: 0 8px 20px rgba(9, 216, 149, .35); }
.blog-pages span.blog-page-off { opacity: .4; cursor: not-allowed; }
.blog-pages .blog-gap { padding: 0 4px; color: #94A3B8; }

/* Loading, empty and error boxes */
.blog-skel { animation: blog-pulse 1.6s ease-in-out infinite; background: #F1F5F9; border-radius: 6px; }
.blog-skel-green { background: #EAFBF3; border-radius: 9999px; }
@keyframes blog-pulse { 50% { opacity: .5; } }
.blog-card-skel .blog-card-media { background: #F1F5F9; }
.blog-card-skel .blog-card-body > * + * { margin-top: 12px; }
.blog-box { max-width: 576px; margin: 0 auto; border-radius: 24px; padding: 40px 32px; text-align: center; }
.blog-box-empty { background: linear-gradient(180deg, #F2FFF9 0%, #FFFFFF 100%); }
.blog-box-error { border: 1px solid #FEE2E2; background: #FEF2F2; }
.blog-box h2 { margin: 0; font-size: 22px; font-weight: 700; color: #232437; }
.blog-box p { margin: 8px 0 0; font-size: 15px; color: #64748B; }
.blog-box .blog-btn, .blog-box .blog-link { margin-top: 24px; }
.blog-box-icon { display: flex; width: 56px; height: 56px; margin: 0 auto 16px; align-items: center; justify-content: center;
    border-radius: 50%; background: #EAFBF3; color: #14b078; font-size: 22px; }

/* Article */
.blog-article-head { position: relative; overflow: hidden; background: linear-gradient(180deg, #F8FAFD 0%, #FFFFFF 100%);
    padding: 40px 20px 32px; }
.blog-article-head .blog-glow { left: -160px; top: -160px; }
/* 984 px = the article's 1024 px minus its side padding, so the title lines up with the picture */
.blog-article-head-inner { position: relative; max-width: 984px; margin: 0 auto; }
.blog-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #94A3B8; }
.blog-crumbs a { color: #28BC5E; text-decoration: none; }
.blog-crumbs a:hover { color: #14b078; text-decoration: underline; }
.blog-article-head h1 { margin: 16px 0 0; font-size: 32px; font-weight: 700; line-height: 1.15; color: #232437; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 24px; font-size: 13px;
    font-weight: 500; color: #5E6B65; }
.blog-meta .blog-meta-cat { color: #14b078; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.blog-article { max-width: 1024px; margin: 0 auto; padding: 0 20px 80px; }
.blog-article-image { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 24px;
    box-shadow: 0 20px 60px rgba(24, 40, 56, .08); background: #F1F5F9; }
.blog-skel-title { height: 44px; margin-top: 16px; }

/* Article text from WordPress */
.blog-content { padding: 32px 0 0; font-size: 16px; line-height: 1.8; color: #5E6B65; overflow-wrap: break-word; }
.blog-content > :first-child { margin-top: 0; }
.blog-content p { margin: 0 0 24px; }
.blog-content h2 { margin: 48px 0 16px; font-size: 28px; font-weight: 700; line-height: 1.25; color: #232437; }
.blog-content h3 { margin: 32px 0 12px; font-size: 22px; font-weight: 600; line-height: 1.3; color: #232437; }
.blog-content h4, .blog-content h5, .blog-content h6 { margin: 24px 0 8px; font-size: 18px; font-weight: 600; color: #232437; }
.blog-content strong, .blog-content b { color: #232437; }
.blog-content a { font-weight: 600; color: #14b078; text-decoration: underline; text-decoration-color: rgba(41, 211, 145, .4);
    text-underline-offset: 4px; }
.blog-content a:hover { text-decoration-color: #29D391; }
.blog-content ul, .blog-content ol { margin: 0 0 24px; padding-left: 24px; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li { margin-bottom: 8px; padding-left: 4px; }
.blog-content li::marker { color: #29D391; }
.blog-content blockquote { margin: 32px 0; border-left: 4px solid #29D391; border-radius: 0 16px 16px 0; background: #F2FFF9;
    padding: 20px 24px; font-size: 18px; font-weight: 500; font-style: italic; color: #232437; }
.blog-content blockquote p:last-child { margin-bottom: 0; }
.blog-content img { display: block; max-width: 100%; height: auto; margin: 32px auto; border-radius: 20px; }
.blog-content figure { margin: 32px 0; max-width: 100%; }
.blog-content figure img { margin: 0 auto; }
.blog-content figcaption { margin-top: 8px; font-size: 14px; text-align: center; color: #94A3B8; }
.blog-content iframe, .blog-content video { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto;
    border: 0; border-radius: 20px; margin: 32px 0; }
.blog-content table { width: 100%; margin: 0 0 24px; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.blog-content th, .blog-content td { border: 1px solid #E5E7EB; padding: 10px 12px; text-align: left; }
.blog-content th { background: #F8FAFD; color: #232437; }
.blog-content hr { margin: 40px 0; border: 0; border-top: 1px solid #E5E7EB; }
.blog-content pre { overflow-x: auto; border-radius: 12px; background: #F8FAFD; padding: 16px; font-size: 14px; }
.blog-content .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }

/* End-of-article call to action */
.blog-cta { position: relative; overflow: hidden; margin-top: 56px; border: 1px solid rgba(41, 211, 145, .2); border-radius: 24px;
    background: linear-gradient(180deg, #F2FFF9 0%, #FFFFFF 100%); padding: 40px 24px; text-align: center; }
.blog-cta .blog-glow { left: 50%; top: 50%; width: 400px; height: 400px; transform: translate(-50%, -50%); opacity: .08; filter: blur(100px); }
.blog-cta > div:not(.blog-glow) { position: relative; }
.blog-cta h2 { margin: 4px 0 0; font-size: 24px; font-weight: 700; line-height: 1.25; color: #232437; }
.blog-cta p { max-width: 512px; margin: 12px auto 0; font-size: 15px; line-height: 1.7; color: #64748B; }
.blog-cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }

@media (min-width: 640px) {
    .blog-hero { padding: 80px 20px 64px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-list { padding-bottom: 96px; }
    .blog-article-head { padding-top: 56px; }
    .blog-article-head h1 { font-size: 48px; }
    .blog-content { padding-top: 40px; }
    .blog-cta { padding: 40px; }
    .blog-cta h2 { font-size: 32px; }
}
@media (min-width: 768px) {
    .blog-hero h1 { font-size: 48px; }
    .blog-hero p { font-size: 16px; }
}
@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-hero-mark { display: block; }
    .blog-hero h1, .blog-article-head h1 { font-size: 50px; }
}
@media (prefers-reduced-motion: reduce) {
    .blog-page *, .blog-page *::before, .blog-page *::after { transition: none !important; animation: none !important; }
}
