/* ===== Digital Banaana – Blog styles ===== */

/* Blog listing */
.db-blog { max-width: 1200px; margin: 0 auto; padding: 140px 20px 80px; }
.db-blog-hero { text-align: center; margin-bottom: 60px; }
.db-blog-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin: 0 0 12px; line-height: 1.1; }
.db-blog-hero p { font-size: 1.1rem; opacity: .75; max-width: 620px; margin: 0 auto; }
.db-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.db-blog-card { display: flex; flex-direction: column; border: 1px solid rgba(128,128,128,.25); border-radius: 18px;
    overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.db-blog-card:hover { transform: translateY(-6px); border-color: #f5c400; box-shadow: 0 14px 30px rgba(0,0,0,.12); }

/* Card thumbnail */
.db-blog-thumb { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; }
.db-blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.db-blog-card:hover .db-blog-thumb img { transform: scale(1.05); }

/* Card body */
.db-blog-body { display: flex; flex-direction: column; padding: 24px 28px 28px; flex-grow: 1; }

.db-blog-tag, .db-post-tag { align-self: flex-start; display: inline-block; background: #f5c400; color: #111; font-size: .75rem;
    font-weight: 700; padding: 5px 12px; border-radius: 50px; text-transform: uppercase; letter-spacing: .5px; }
.db-blog-tag { margin-bottom: 16px; }
.db-blog-card h2 { font-size: 1.35rem; line-height: 1.3; margin: 0 0 12px; }
.db-blog-card p { opacity: .8; line-height: 1.6; margin: 0 0 20px; flex-grow: 1; }
.db-blog-meta { font-size: .85rem; opacity: .6; display: flex; justify-content: space-between; }
.db-blog-more { margin-top: 16px; font-weight: 700; }

/* Single post */
.db-post { max-width: 780px; margin: 0 auto; padding: 140px 20px 80px; line-height: 1.8; font-size: 1.08rem; }
.db-post-back { display: inline-block; margin-bottom: 24px; text-decoration: none; font-weight: 600; }
.db-post h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.15; margin: 16px 0; }
.db-post-meta { opacity: .6; font-size: .9rem; margin-bottom: 40px; }
.db-post h2 { font-size: 1.6rem; margin: 40px 0 12px; line-height: 1.3; }
.db-post h3 { font-size: 1.2rem; margin: 28px 0 8px; }
.db-post ul, .db-post ol { padding-left: 24px; }
.db-post li { margin-bottom: 10px; }
.db-post article a { color: #d9a900; text-decoration: underline; }
.db-post code { background: rgba(128,128,128,.15); padding: 2px 6px; border-radius: 4px; }
.db-post-cta { margin-top: 50px; padding: 30px; border-radius: 18px; background: #f5c400; color: #111; text-align: center; }
.db-post-cta a { display: inline-block; margin-top: 12px; background: #111; color: #fff; padding: 12px 28px;
    border-radius: 50px; text-decoration: none; font-weight: 700; }
