/* Blog index + single posts (matches the live blog look). */
.gblog { padding: 10px 20px 70px; background: #fff; font-family: Outfit, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.gblog-wrap { max-width: 1200px; margin: 0 auto; }
.gblog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.gblog-card { background: #fff; border-radius: 6px; box-shadow: 0 4px 22px rgba(11,16,32, .07); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.gblog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(11,16,32, .12); }
.gblog-img { display: block; aspect-ratio: 16 / 9; background: #EEF2F7; overflow: hidden; }
.gblog-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gblog-card:hover .gblog-img img { transform: scale(1.04); }
.gblog-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.gblog-body h2 { margin: 0 0 12px; font-size: 18px; line-height: 1.4; font-weight: 700; letter-spacing: 0; }
.gblog-body h2 a { color: #0B1020; }
.gblog-body h2 a:hover { color: #5E6AD6; }
.gblog-body p { margin: 0 0 16px; color: #6B7280; font-size: 15px; line-height: 1.7; }
.gblog-more { margin-top: auto; font-weight: 500; color: #7C4DFF; }
.gblog-more:hover { color: #5E6AD6; }
.gblog-pagination ul.page-numbers, .gblog-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.gblog-pagination ul { list-style: none; padding: 0; margin: 0; }
.gblog-pagination .page-numbers { padding: 8px 16px; border: 1px solid #E2E8F0; border-radius: 10px; color: #0B1020; }
.gblog-pagination .page-numbers.current { background: linear-gradient(135deg, #5E6AD6, #5E6AD6); color: #fff; border-color: transparent; }

/* Single post */
.gpost { background: #F5F7FA; padding: 40px 20px 70px; font-family: Outfit, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.gpost-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.gpost-main { min-width: 0; }
.gpost-title { margin: 0 0 14px; font-size: clamp(1.7rem, 2.4vw + .8rem, 2.4rem); line-height: 1.25; font-weight: 700; color: #0B1020; letter-spacing: -.01em; }
.gpost-meta { margin: 0 0 22px; color: #64748B; font-size: 14px; }
.gpost-thumb { margin: 0 0 26px; }
.gpost-thumb img { width: 100%; height: auto; display: block; border-radius: 4px; }
.gpost-content { font-size: 17px; line-height: 1.8; color: #1E293B; }
.gpost-content p { margin: 0 0 1.2em; }
.gpost-content h2, .gpost-content h3, .gpost-content h4 { color: #0B1020; line-height: 1.3; margin: 1.6em 0 .6em; font-weight: 700; }
.gpost-content h2 { font-size: 1.6rem; }
.gpost-content h3 { font-size: 1.3rem; }
.gpost-content a { color: #2563EB; text-decoration: underline; text-underline-offset: 3px; }
.gpost-content ul, .gpost-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.gpost-content li { margin-bottom: .35em; }
.gpost-content img { max-width: 100%; height: auto; border-radius: 6px; }
.gpost-content blockquote { margin: 1.4em 0; padding: .4em 1.2em; border-left: 4px solid #5E6AD6; background: #fff; border-radius: 0 10px 10px 0; }
.gpost-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; margin: 0 0 1.4em; }
.gpost-content th, .gpost-content td { padding: 10px 14px; border: 1px solid #E2E8F0; text-align: left; }
.gpost-tags { margin: 28px 0 0; }
.gpost-tags a { display: inline-block; background: #fff; padding: 4px 12px; border-radius: 999px; font-size: 13px; margin: 0 6px 6px 0; color: #475569; }
.gpost .post-navigation { margin-top: 36px; }
.gpost .post-navigation .nav-links { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.gpost-side .widget { margin: 0 0 30px; }
.gpost-side .widget-title { font-size: 22px; font-weight: 700; margin: 0 0 14px; color: #0B1020; }
.gpost-side ul { list-style: none; margin: 0; padding: 0; }
.gpost-side li { margin: 0 0 12px; line-height: 1.5; color: #334155; }
.gpost-side li a { color: #0B1020; }
.gpost-side li a:hover { color: #5E6AD6; }
.gpost-side .recentcomments { color: #334155; font-size: 15px; }
.gpost-side .search-form, .gpost-side form[role="search"] { display: flex; gap: 8px; }
.gpost-side input[type="search"] { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #CBD5E1; border-radius: 4px; background: #fff; font: inherit; }
.gpost-side .search-submit, .gpost-side button[type="submit"] { padding: 10px 16px; border: 1px solid #E2E8F0; background: #fff; border-radius: 4px; cursor: pointer; font: inherit; }
.gpost-comments { margin-top: 44px; }
@media (max-width: 1024px) { .gblog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gpost-wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .gblog-grid { grid-template-columns: 1fr; } .gblog { padding: 0 14px 56px; } .gpost { padding: 26px 14px 56px; } .gpost-content { font-size: 16px; } }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gpost-side .wp-block-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gpost-side .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.gpost-side .wp-block-search__input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #CBD5E1; border-radius: 4px; background: #fff; font: inherit; color: #0B1020; }
.gpost-side .wp-block-search__button { padding: 10px 16px; border: 1px solid #E2E8F0; background: #fff; border-radius: 4px; cursor: pointer; font: inherit; color: #0B1020; }
.gpost-side .wp-block-heading { font-size: 22px; font-weight: 700; margin: 0 0 14px; color: #0B1020; }
.gpost-side .wp-block-latest-posts, .gpost-side .wp-block-latest-comments { list-style: none; margin: 0; padding: 0; }
.gpost-side .wp-block-latest-posts li, .gpost-side .wp-block-latest-comments li { margin: 0 0 12px; line-height: 1.5; }

/* ---------------------------------------------------------------- comment form + post extras: touch friendly */
.gpost-comments h2, .gpost-comments .comment-reply-title { font-size: 24px; font-weight: 700; color: #0B1020; margin: 0 0 14px; letter-spacing: -.01em; }
.gpost-comments .comment-form { display: grid; gap: 14px; }
.gpost-comments .comment-form p { margin: 0; }
.gpost-comments label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: #0B1020; }
.gpost-comments input[type="text"], .gpost-comments input[type="email"], .gpost-comments input[type="url"], .gpost-comments textarea {
	width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid #DCE1EF; border-radius: 14px; background: #fff; color: #0B1020; font: inherit; font-size: 16px; line-height: 1.4;
}
.gpost-comments textarea { min-height: 150px; resize: vertical; }
.gpost-comments input:focus, .gpost-comments textarea:focus { outline: none; border-color: #5E6AD6; box-shadow: 0 0 0 4px rgba(94, 106, 214, .14); }
.gpost-comments .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 12px; }
.gpost-comments .comment-form-cookies-consent input { flex: 0 0 22px; width: 22px; height: 22px; margin: 2px 0 0; accent-color: #5E6AD6; }
.gpost-comments .comment-form-cookies-consent label { margin: 0; font-weight: 400; font-size: 14.5px; color: #475467; line-height: 1.5; }
.gpost-comments .form-submit input[type="submit"], .gpost-comments .submit {
	min-height: 50px; padding: 0 30px; border: 0; border-radius: 999px; background: #5E6AD6; color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; box-shadow: 0 14px 28px -12px #5E6AD6; transition: transform .2s ease, box-shadow .2s ease;
}
.gpost-comments .form-submit input[type="submit"]:hover { transform: translateY(-2px); }
.gpost-comments a { color: #5E6AD6; }
.gpost-tags a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; font-size: 14px; }
.gpost .post-navigation .nav-links a { display: flex; align-items: center; min-height: 48px; padding: 10px 0; font-weight: 600; color: #0B1020; }
.gpost-side li a { display: inline-block; padding: 6px 0; }
.gpost-side .wp-block-search__button, .gpost-side .wp-block-search__input { min-height: 46px; }

/* tables written inside a post (some carry their own minimum width) scroll sideways inside the post instead of running off a phone screen */
.gpost-content table { min-width: 0 !important; max-width: 100%; }
