/* ==========================================================================
   Digitech Now – Blog (index, archives, search, single post, post cards)
   Uses the tokens defined in digitech.css (--digitech-violet, --digitech-grad, …).
   ========================================================================== */

.digitech-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.digitech-blog .site-main, .digitech-blog .digitech-main { padding: 0; }

/* ---------- Shared chips ---------- */
.digitech-chip-cat {
	display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px;
	background: #e7f6fb; color: var(--digitech-magenta) !important; text-decoration: none !important;
	font: 700 10.5px/1.3 "Inter", sans-serif; letter-spacing: .06em; text-transform: uppercase;
	transition: background .25s, color .25s;
}
.digitech-chip-cat:hover { background: var(--digitech-magenta); color: #fff !important; }

/* ==========================================================================
   BLOG HERO (index / archives / search)
   ========================================================================== */
.digitech-bloghero {
	position: relative; overflow: hidden; color: #fff; text-align: center;
	background: radial-gradient(90% 80% at 75% 20%, #183146 0%, #0f1b24 55%, #0b131a 100%);
	padding: 84px 0 150px; clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
}
.digitech-bloghero::after {
	content: ""; position: absolute; inset: -20%; pointer-events: none;
	background:
		radial-gradient(30% 35% at 22% 30%, rgba(30, 155, 215, .30), transparent 70%),
		radial-gradient(38% 42% at 76% 62%, rgba(11, 74, 125, .42), transparent 70%);
	animation: digitech-aurora 16s ease-in-out infinite alternate;
}
.digitech-bloghero__inner { position: relative; z-index: 1; }
.digitech-bloghero__eyebrow { font: 600 12px/1.4 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #8acce4; }
.digitech-bloghero .digitech-bloghero__title { font: 800 clamp(34px, 4.6vw, 56px)/1.1 "Inter", sans-serif; letter-spacing: -.025em; margin: 14px auto 16px; max-width: 20ch; color: #fff; }
.digitech-bloghero__intro { color: #c4d1dc; max-width: 62ch; margin: 0 auto 28px; font-size: 16px; }
.digitech-bloghero__search {
	display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 0 auto 26px;
	background: #fff; border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.digitech-bloghero__search svg { width: 20px; height: 20px; color: var(--digitech-violet); flex: 0 0 auto; }
.digitech-bloghero__search input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 15px "Inter", sans-serif; color: var(--digitech-ink); padding: 10px 4px; }
.digitech-bloghero__search .elementor-button { padding: 12px 22px; font-size: 12px; border: 0; cursor: pointer; }
.digitech-bloghero__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.digitech-bloghero__cats a {
	padding: 7px 16px; border-radius: 999px; font: 500 13.5px "Inter", sans-serif; color: #e5eff7; text-decoration: none;
	background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); transition: all .25s;
}
.digitech-bloghero__cats a:hover { border-color: var(--digitech-magenta); color: #fff; transform: translateY(-2px); }
.digitech-bloghero__cats a.is-active { background: var(--digitech-grad); border-color: transparent; color: #fff; }

/* ==========================================================================
   INDEX LAYOUT
   ========================================================================== */
.digitech-blog-body { position: relative; z-index: 2; margin-top: -84px; padding-bottom: 90px; }
.digitech-featured { margin-bottom: 56px; }
.digitech-blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.digitech-blog-body > .digitech-blog-layout:first-child { margin-top: 84px; }
.digitech-section-label { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.digitech-blog-main .digitech-section-label h2 { margin: 0; font: 600 26px/1.2 "Kanit", sans-serif; color: var(--digitech-ink); }
.digitech-section-label span { font-size: 13px; color: var(--digitech-muted); }

.digitech-postgrid { display: grid; gap: 24px; }
.digitech-postgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.digitech-postgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.digitech-postgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Post card ---------- */
.digitech-card-post {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--digitech-line); border-radius: 18px; overflow: hidden;
	transition: transform .35s var(--digitech-ease), box-shadow .35s var(--digitech-ease), border-color .35s;
	animation: digitech-card-in .7s var(--digitech-ease) both;
}
.digitech-postgrid > .digitech-card-post:nth-child(2) { animation-delay: .08s; }
.digitech-postgrid > .digitech-card-post:nth-child(3) { animation-delay: .16s; }
.digitech-postgrid > .digitech-card-post:nth-child(4) { animation-delay: .24s; }
@keyframes digitech-card-in { from { opacity: 0; transform: translateY(18px); } }
.digitech-card-post:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(11, 74, 125, .5); border-color: #d5e8f7; }
.digitech-card-post__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eaf6ff; }
.digitech-card-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--digitech-ease); }
.digitech-card-post:hover .digitech-card-post__media img { transform: scale(1.06); }
.digitech-thumb-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; background: radial-gradient(circle at 70% 30%, #2f9af2, #0a385e 75%); color: #fff; font: 800 18px/1.25 "Inter", sans-serif; }
.digitech-card-post__badge { position: absolute; left: 16px; top: 16px; padding: 5px 12px; border-radius: 999px; background: var(--digitech-grad); color: #fff; font: 700 11px/1.3 "Inter", sans-serif; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 20px -8px rgba(30, 155, 215, .7); }
.digitech-card-post__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.digitech-card-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12.5px; color: var(--digitech-muted); }
.digitech-card-post__meta > span + span::before { content: "•"; margin-right: 12px; color: #c4d1dc; }
.digitech-card-post .digitech-card-post__title { margin: 2px 0 0; font: 700 19px/1.32 "Fraunces", Georgia, serif; letter-spacing: -.005em; }
.digitech-card-post__title a { color: var(--digitech-ink); text-decoration: none; background: linear-gradient(var(--digitech-violet), var(--digitech-violet)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--digitech-ease), color .25s; }
.digitech-card-post:hover .digitech-card-post__title a { color: var(--digitech-violet); background-size: 100% 2px; }
.digitech-card-post__excerpt { margin: 0; font-size: 14px; line-height: 1.65; color: var(--digitech-muted); }
.digitech-card-post__more { margin-top: auto; padding-top: 6px; font: 700 12px/1.4 "Inter", sans-serif; letter-spacing: .05em; text-transform: uppercase; color: var(--digitech-violet) !important; text-decoration: none; }
.digitech-card-post__more span[aria-hidden] { display: inline-block; transition: transform .3s var(--digitech-ease); }
.digitech-card-post:hover .digitech-card-post__more span[aria-hidden] { transform: translateX(5px); }

/* Featured (large) card */
.digitech-card-post--featured { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 24px; box-shadow: 0 40px 80px -40px rgba(11, 21, 30, .45); }
.digitech-card-post--featured .digitech-card-post__media { aspect-ratio: auto; min-height: 380px; }
.digitech-card-post--featured .digitech-card-post__body { padding: 40px 42px; justify-content: center; gap: 14px; }
.digitech-card-post--featured .digitech-card-post .digitech-card-post__title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; }
.digitech-card-post--featured .digitech-card-post__excerpt { font-size: 15.5px; }
.digitech-card-post--featured .digitech-card-post__more { align-self: flex-start; margin-top: 10px; padding: 13px 24px; border-radius: 999px; background: var(--digitech-grad); color: #fff !important; box-shadow: 0 10px 24px -10px rgba(30, 155, 215, .6); }

/* ---------- Pagination ---------- */
.digitech-pagination { margin-top: 40px; }
.digitech-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.digitech-pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--digitech-line); background: #fff; color: var(--digitech-ink); text-decoration: none; font-weight: 600; font-size: 14px; transition: all .25s; }
.digitech-pagination .page-numbers:hover { border-color: var(--digitech-violet); color: var(--digitech-violet); }
.digitech-pagination .page-numbers.current { background: var(--digitech-grad); color: #fff; border-color: transparent; }
.digitech-noresults { background: #fff; border: 1px solid var(--digitech-line); border-radius: 18px; padding: 32px; }
.digitech-blog-main .digitech-noresults h2 { margin: 0 0 8px; font: 700 26px "Fraunces", serif; }

/* ==========================================================================
   SIDEBAR + WIDGETS
   ========================================================================== */
.digitech-sidebar__inner { position: sticky; top: calc(96px + var(--wp-admin--admin-bar--height, 0px)); display: flex; flex-direction: column; gap: 22px; }
.digitech-widget { background: #fff; border: 1px solid var(--digitech-line); border-radius: 20px; padding: 22px; box-shadow: 0 14px 30px -26px rgba(11, 21, 30, .4); }
.digitech-widget:has(.digitech-sb-cta) { padding: 0; border: 0; background: none; box-shadow: none; }
.digitech-widget > *:last-child { margin-bottom: 0; }
.digitech-widget ul { list-style: none; margin: 0; padding: 0; }
.digitech-sb-title, .digitech-widget .wp-block-heading { position: relative; margin: 0 0 16px !important; padding-bottom: 10px; font: 700 18px/1.3 "Fraunces", Georgia, serif !important; color: var(--digitech-ink); }
.digitech-sb-title::after, .digitech-widget .wp-block-heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; border-radius: 3px; background: var(--digitech-grad); }

/* Search */
.digitech-widget .wp-block-search__label { display: none; }
.digitech-widget .wp-block-search__inside-wrapper { display: flex; align-items: center; gap: 6px; border: 2px solid var(--digitech-line) !important; border-radius: 999px !important; padding: 4px !important; transition: border-color .25s; }
.digitech-widget .wp-block-search__inside-wrapper:focus-within { border-color: var(--digitech-magenta) !important; }
.digitech-widget .wp-block-search__input { border: 0 !important; outline: 0; background: none; padding: 8px 12px !important; font: 400 14px "Inter", sans-serif; color: var(--digitech-ink); min-width: 0; }
.digitech-site .digitech-widget .wp-block-search__button { margin: 0; width: 40px; height: 40px; padding: 0 !important; display: grid; place-items: center; border: 0; border-radius: 50% !important; background: var(--digitech-grad) !important; color: #fff; box-shadow: none; flex: 0 0 auto; }
.digitech-widget .wp-block-search__button svg { width: 20px; height: 20px; fill: #fff; }

/* Recent posts (core Latest Posts block) */
.digitech-widget .wp-block-latest-posts { margin: 0; }
.digitech-widget .wp-block-latest-posts > li { display: grid; grid-template-columns: 70px 1fr; column-gap: 14px; align-items: center; padding: 12px 0; margin: 0; border-bottom: 1px dashed var(--digitech-line); }
.digitech-widget .wp-block-latest-posts > li:first-child { padding-top: 0; }
.digitech-widget .wp-block-latest-posts > li:last-child { border-bottom: 0; padding-bottom: 0; }
.digitech-widget .wp-block-latest-posts__featured-image { grid-row: span 2; float: none !important; margin: 0 !important; width: 70px; height: 70px; border-radius: 14px; overflow: hidden; }
.digitech-widget .wp-block-latest-posts__featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--digitech-ease); }
.digitech-widget .wp-block-latest-posts > li:hover img { transform: scale(1.1); }
.digitech-widget .wp-block-latest-posts__post-title { font: 600 14px/1.4 "Inter", sans-serif; color: var(--digitech-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.digitech-widget .wp-block-latest-posts__post-title:hover { color: var(--digitech-violet); }
.digitech-widget .wp-block-latest-posts__post-date { font-size: 12px; color: var(--digitech-muted); margin-top: 3px; }

/* Categories & archives */
.digitech-widget .wp-block-categories li,
.digitech-widget .wp-block-archives li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--digitech-line); font-size: 13px; color: var(--digitech-muted); }
.digitech-widget .wp-block-categories li:last-child,
.digitech-widget .wp-block-archives li:last-child { border-bottom: 0; }
.digitech-widget .wp-block-categories a,
.digitech-widget .wp-block-archives a { flex: 1; font: 500 14.5px "Inter", sans-serif; color: var(--digitech-ink-2); text-decoration: none; transition: color .25s, padding .25s; }
.digitech-widget .wp-block-categories a::before,
.digitech-widget .wp-block-archives a::before { content: "›"; margin-right: 8px; color: var(--digitech-magenta); font-weight: 700; }
.digitech-widget .wp-block-categories a:hover,
.digitech-widget .wp-block-archives a:hover { color: var(--digitech-violet); padding-left: 4px; }

/* Tag cloud */
.digitech-widget .wp-block-tag-cloud, .digitech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.digitech-widget .wp-block-tag-cloud a, .digitech-tags a { padding: 6px 13px; border-radius: 999px; background: #f2f9ff; border: 1px solid #deeefb; color: #4a769a !important; font: 500 12.5px/1.3 "Inter", sans-serif !important; text-decoration: none; transition: all .25s; }
.digitech-widget .wp-block-tag-cloud a:hover, .digitech-tags a:hover { background: var(--digitech-grad); color: #fff !important; border-color: transparent; }

/* CTA + social */
.digitech-sb-cta { position: relative; overflow: hidden; border-radius: 20px; padding: 26px 24px; color: #fff; background: radial-gradient(80% 90% at 0% 0%, #1a466a 0%, transparent 60%), radial-gradient(60% 70% at 100% 100%, #0a2f44 0%, transparent 60%), #0b151e; }
.digitech-sb-cta::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 22px solid rgba(30, 155, 215, .22); }
.digitech-sb-cta__eyebrow { font: 600 11px "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #8acce4; }
.digitech-sb-cta .digitech-sb-cta__title { margin: 8px 0 8px; font: 700 21px/1.25 "Fraunces", serif; color: #fff; }
.digitech-sb-cta p { margin: 0 0 16px; font-size: 13.5px; color: #d1dfea; }
.digitech-sb-cta__btn { width: 100%; justify-content: center; }
.digitech-sb-cta__phone { display: block; margin-top: 10px; text-align: center; font-size: 12.5px; color: #c4d1dc !important; text-decoration: none; }
.digitech-sb-social { display: flex; gap: 10px; }
.digitech-sb-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #e7f6fb; transition: all .3s var(--digitech-ease); }
.digitech-sb-social a svg { width: 17px; height: 17px; fill: var(--digitech-magenta); }
.digitech-sb-social a:hover { background: var(--digitech-grad); transform: translateY(-3px); }
.digitech-sb-social a:hover svg { fill: #fff; }

/* ==========================================================================
   SINGLE POST
   ========================================================================== */
.digitech-posthero {
	position: relative; overflow: hidden; color: #fff;
	background: radial-gradient(90% 80% at 75% 20%, #183146 0%, #0f1b24 55%, #0b131a 100%);
	padding: 56px 0 170px; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}
.digitech-posthero::after { content: ""; position: absolute; inset: -20%; pointer-events: none; background: radial-gradient(30% 35% at 20% 30%, rgba(30, 155, 215, .28), transparent 70%), radial-gradient(38% 42% at 80% 60%, rgba(11, 74, 125, .4), transparent 70%); animation: digitech-aurora 16s ease-in-out infinite alternate; }
.digitech-posthero__inner { position: relative; z-index: 1; max-width: 900px; }
.digitech-breadcrumb { font-size: 13px; color: #b3c6d6; margin-bottom: 20px; }
.digitech-breadcrumb a { color: #e5eff7; text-decoration: none; }
.digitech-breadcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.digitech-breadcrumb .breadcrumb_last { color: #b3c6d6; }
.digitech-posthero__cats { display: flex; gap: 8px; margin-bottom: 14px; }
.digitech-posthero__cats .digitech-chip-cat { background: rgba(30, 155, 215, .18); color: #c2efff !important; }
.digitech-posthero .digitech-posthero__title { margin: 0 0 16px; font: 800 clamp(30px, 4vw, 50px)/1.12 "Inter", sans-serif; letter-spacing: -.025em; color: #fff; max-width: 24ch; }
.digitech-posthero__lead { margin: 0 0 22px; font-size: 17px; color: #c4d1dc; max-width: 62ch; }
.digitech-posthero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: #d1dfea; }
.digitech-posthero__meta strong { color: #fff; }
.digitech-dot { width: 4px; height: 4px; border-radius: 50%; background: #8699a8; }
.digitech-avatar { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--digitech-grad); color: #fff; font: 800 14px "Inter", sans-serif; box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); flex: 0 0 auto; }
.digitech-avatar--lg { width: 72px; height: 72px; font-size: 22px; box-shadow: 0 10px 24px -10px rgba(30, 155, 215, .6); }

.digitech-single-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; margin-top: -110px; padding-bottom: 80px; }
.digitech-single-main { min-width: 0; }
.digitech-single-cover { margin: 0 0 22px; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(11, 21, 30, .55); background: #eaf6ff; }
.digitech-single-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.digitech-single-layout .digitech-sidebar__inner { top: calc(96px + var(--wp-admin--admin-bar--height, 0px)); }
.digitech-single-layout > .digitech-sidebar { padding-top: 110px; }

/* Share */
.digitech-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.digitech-share__label { font: 700 12px "Inter", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--digitech-muted); margin-right: 4px; }
.digitech-site .digitech-share__btn { position: relative; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: #edf5fc; box-shadow: none; cursor: pointer; transition: all .3s var(--digitech-ease); }
.digitech-share__btn svg { width: 16px; height: 16px; fill: var(--digitech-violet); transition: fill .3s; }
.digitech-site .digitech-share__btn:hover { background: var(--digitech-grad); transform: translateY(-3px); }
.digitech-share__btn:hover svg { fill: #fff; }
.digitech-share__copied { position: absolute; bottom: calc(100% + 6px); left: 50%; translate: -50% 0; white-space: nowrap; padding: 4px 10px; border-radius: 8px; background: var(--digitech-ink); color: #fff; font-size: 11px; }
.digitech-single-share-end .digitech-share { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--digitech-line); }

/* Table of contents */
.digitech-toc { margin: 0 0 32px; border-radius: 18px; background: linear-gradient(135deg, #f6fbff, #f2fafd); border: 1px solid #e4f1fb; }
.digitech-toc summary { cursor: pointer; list-style: none; padding: 16px 22px; font: 700 15px "Inter", sans-serif; color: var(--digitech-ink); display: flex; align-items: center; justify-content: space-between; }
.digitech-toc summary::-webkit-details-marker { display: none; }
.digitech-toc summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--digitech-violet); border-bottom: 2px solid var(--digitech-violet); rotate: 45deg; transition: rotate .3s; }
.digitech-toc details[open] summary::after { rotate: 225deg; }
.digitech-toc ol { margin: 0; padding: 0 22px 18px 44px; counter-reset: toc; list-style: none; }
.digitech-toc li { position: relative; margin: 0 0 8px; counter-increment: toc; font-size: 14.5px; }
.digitech-toc li::before { content: counter(toc, decimal-leading-zero); position: absolute; left: -26px; font: 700 11px/22px "Inter", sans-serif; color: var(--digitech-magenta); }
.digitech-toc li.digitech-toc__l3 { margin-left: 16px; font-size: 13.5px; counter-increment: none; }
.digitech-toc li.digitech-toc__l3::before { content: "–"; }
.digitech-toc a { color: var(--digitech-ink-2); text-decoration: none; }
.digitech-toc a:hover { color: var(--digitech-violet); }

/* Article typography */
.digitech-prose { font-size: 16.5px; line-height: 1.8; color: var(--digitech-ink-2); }
.digitech-prose > * { margin-top: 0; }
.digitech-prose p { margin: 0 0 1.2em; }
.digitech-prose h2 { margin: 1.9em 0 .6em; font: 700 clamp(24px, 2.4vw, 30px)/1.25 "Fraunces", Georgia, serif; color: var(--digitech-ink); scroll-margin-top: 110px; }
.digitech-prose h3 { margin: 1.5em 0 .5em; font: 600 20px/1.35 "Kanit", sans-serif; color: var(--digitech-ink); scroll-margin-top: 110px; }
.digitech-prose a { color: var(--digitech-violet); text-decoration: underline; text-decoration-color: rgba(11, 74, 125, .35); text-underline-offset: 3px; }
.digitech-prose a:hover { color: var(--digitech-magenta); text-decoration-color: currentColor; }
.digitech-prose strong { color: var(--digitech-ink); }
.digitech-prose ul, .digitech-prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.digitech-prose li { margin-bottom: .45em; }
.digitech-prose ul li::marker { color: var(--digitech-magenta); }
.digitech-prose ol li::marker { color: var(--digitech-violet); font-weight: 700; }
.digitech-prose blockquote, .digitech-prose .wp-block-quote { margin: 1.6em 0; padding: 18px 24px; border: 0; border-left: 4px solid; border-image: var(--digitech-grad) 1; background: #f8fcff; border-radius: 0 14px 14px 0; font-style: italic; color: var(--digitech-ink); }
.digitech-prose blockquote p:last-child { margin-bottom: 0; }
.digitech-prose .digitech-callout { margin: 1.6em 0; padding: 18px 22px; border-radius: 16px; background: linear-gradient(135deg, #edf7ff, #e9f8fd); border: 1px solid #e4f1fb; }
.digitech-prose .digitech-callout p:last-child { margin: 0; }
.digitech-prose img { border-radius: 16px; height: auto; }
.digitech-prose figure { margin: 1.6em 0; }
.digitech-prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.6em 0; font-size: 14.5px; border: 1px solid var(--digitech-line); border-radius: 14px; overflow: hidden; }
.digitech-prose th { background: #f2f9ff; color: var(--digitech-ink); font-weight: 700; text-align: left; }
.digitech-prose th, .digitech-prose td,
.digitech-prose .wp-block-table th, .digitech-prose .wp-block-table td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--digitech-line); vertical-align: top; }
.digitech-prose .wp-block-table thead { border-bottom: 0; }
.digitech-prose tbody tr:nth-child(even) td { background: #fbfdff; }
.digitech-prose tr:last-child td { border-bottom: 0; }
.digitech-prose .wp-block-table { margin: 1.6em 0; overflow-x: auto; }
.digitech-prose .wp-block-table table { margin: 0; }
.digitech-prose .digitech-sources { font-size: 13.5px; color: var(--digitech-muted); }

/* Tags, author, prev/next */
.digitech-tags { margin-top: 30px; align-items: center; }
.digitech-tags__label { font: 700 12px "Inter", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--digitech-muted); margin-right: 4px; }
.digitech-authorbox { display: flex; gap: 20px; align-items: flex-start; margin-top: 32px; padding: 26px; border-radius: 20px; background: linear-gradient(135deg, #f6fbff, #f2fafd); border: 1px solid #e4f1fb; }
.digitech-authorbox__label { font: 700 11px "Inter", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--digitech-magenta); }
.digitech-authorbox .digitech-authorbox__name { margin: 4px 0 6px; font: 700 20px "Fraunces", serif; color: var(--digitech-ink); }
.digitech-authorbox p { margin: 0; font-size: 14.5px; color: var(--digitech-ink-2); }
.digitech-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.digitech-postnav__item { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--digitech-line); background: #fff; text-decoration: none; transition: all .3s var(--digitech-ease); }
.digitech-postnav__item--next { text-align: right; }
.digitech-postnav__item span { font: 700 11.5px "Inter", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--digitech-violet); }
.digitech-postnav__item strong { font: 700 16px/1.35 "Fraunces", serif; color: var(--digitech-ink); }
.digitech-postnav__item:hover { border-color: #d5e8f7; transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(11, 74, 125, .5); }

/* Related */
.digitech-related { padding: 80px 0 90px; background: linear-gradient(180deg, #f5f9fd, #fff); }
.digitech-related__head { text-align: center; margin-bottom: 34px; }
.digitech-related__kicker { font: 600 19px "Inter", sans-serif; background: var(--digitech-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.digitech-related .digitech-related__head h2 { margin: 6px 0 0; font: 700 clamp(28px, 3.4vw, 38px)/1.2 "Fraunces", serif; color: var(--digitech-ink); }

/* Card grid inside Elementor sections (homepage, SEO, SMO) */
.elementor-widget-shortcode .digitech-postgrid { margin: 0; }
.digitech-empty { color: var(--digitech-muted); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
	.digitech-blog-layout, .digitech-single-layout { grid-template-columns: 1fr; }
	.digitech-single-layout > .digitech-sidebar { padding-top: 0; }
	.digitech-sidebar__inner { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.digitech-postgrid--3, .digitech-postgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.digitech-card-post--featured { grid-template-columns: 1fr; }
	.digitech-card-post--featured .digitech-card-post__media { min-height: 0; aspect-ratio: 16 / 9; }
	.digitech-card-post--featured .digitech-card-post__body { padding: 28px; }
}
@media (max-width: 767px) {
	.digitech-bloghero { padding: 60px 0 120px; }
	.digitech-bloghero__search { padding-left: 14px; }
	.digitech-bloghero__search .elementor-button { padding: 11px 16px; }
	.digitech-postgrid--2, .digitech-postgrid--3, .digitech-postgrid--4 { grid-template-columns: 1fr; }
	.digitech-sidebar__inner { grid-template-columns: 1fr; }
	.digitech-posthero { padding: 40px 0 130px; }
	.digitech-single-layout { margin-top: -80px; gap: 32px; }
	.digitech-prose { font-size: 16px; }
	.digitech-authorbox { flex-direction: column; }
	.digitech-postnav { grid-template-columns: 1fr; }
	.digitech-postnav__item--next { text-align: left; }
	.digitech-section-label { flex-direction: column; gap: 4px; }
}
