/* ==========================================================================
   GlobeMarket — Blogs page (Figma "Blogs" 955:6844)
   ========================================================================== */
.gm-blog { overflow-x: clip; font-family: var(--gm-font-sans); color: #0a0a0a; }
.gm-blog p, .gm-blog h1, .gm-blog h2 { margin: 0; }
.gm-blog ul { margin: 0; padding: 0; list-style: none; }

/* Hero (955:6897) */
.gm-blog-hero {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px;
	min-height: 497px; padding: 80px var(--gm-gutter); background: var(--gm-color-bg-canvas, #fff);
}
.gm-blog-head { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 978px; max-width: 100%; text-align: center; }
.gm-blog-head--hero { gap: 12px; }
.gm-blog-hero__title { padding: 10px; font-size: 40px; line-height: 48px; font-weight: 700; letter-spacing: -.6px; color: #000; }
.gm-blog-hero__lead { font-size: 18px; line-height: 28px; color: #2f3137; }

/* Chips (720:6265, 698:14854) */
.gm-blog-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; filter: drop-shadow(0 1px 1.5px rgba(13, 27, 42, .08)); }
.gm-blog-chip {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px;
	border: 0; border-radius: 8px; background: var(--gm-color-bg-subtle, #f5f7f8);
	font: 700 18px/24px var(--gm-font-sans); color: #000; text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color var(--gm-dur-fast, .15s) ease, color var(--gm-dur-fast, .15s) ease;
}
.gm-blog-chip img { flex: none; transition: transform var(--gm-dur-fast, .15s) ease, filter var(--gm-dur-fast, .15s) ease; }
.gm-blog-chip:hover { background: #e8ebed; color: #000; }
.gm-blog-chip:hover img { transform: translateX(2px); }
.gm-blog-chips--white .gm-blog-chip { background: #fff; }
.gm-blog-chips--white .gm-blog-chip:hover { background: #eef0f2; }
.gm-blog-chip:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); }

/* Sections (955:6923 …) */
.gm-blog-sec { padding: 80px var(--gm-gutter); background: var(--gm-color-bg-subtle, #f5f7f8); }
.gm-blog-sec__in { display: flex; flex-direction: column; align-items: center; gap: 40px; max-width: 1320px; margin: 0 auto; }
#gm-blog-your-tech .gm-blog-sec__in { gap: 32px; }
.gm-blog-sec__title { padding: 10px; font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -.4px; color: #000; }
.gm-blog-sec__lead { font-size: 16px; line-height: 24px; font-weight: 500; color: #62676c; }
.gm-blog-chip--static { cursor: default; }
.gm-blog-chips--white .gm-blog-chip--static:hover { background: #fff; }
.gm-blog-chip--static:hover img { transform: none; }

/* Article cards (955:6960, 955:6976, 955:6996) */
.gm-blog .gm-blog-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.gm-blog-card { width: 320px; max-width: 100%; }
.gm-blog-card__link {
	position: relative; display: block; height: 500px; overflow: hidden; border-radius: 16px; background: #fff;
	color: inherit; text-decoration: none;
	transition: transform var(--gm-dur, .25s) var(--gm-ease, ease), box-shadow var(--gm-dur, .25s) var(--gm-ease, ease);
}
.gm-blog-card--art .gm-blog-card__link { background: var(--gm-color-bg-brand, #ff7a00); }
.gm-blog-card__link:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(17, 15, 21, .1); color: inherit; }
.gm-blog-card__link:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); }
.gm-blog-card__media { position: absolute; inset: 0; }
.gm-blog-card__photo { position: absolute; top: -60px; left: 0; width: 320px; height: 500px; object-fit: cover; transition: transform .5s var(--gm-ease, ease); }
.gm-blog-card__photo--top { top: 0; height: 350px; object-position: top; }
.gm-blog-card__crop { position: absolute; overflow: hidden; transition: transform .5s var(--gm-ease, ease); }
.gm-blog-card__crop img { position: absolute; max-width: none; }
.gm-blog-card__arrow { position: absolute; max-width: none; }
.gm-blog-card__tag { position: absolute; transform: translateY(-50%); font-size: 12px; line-height: 14px; font-weight: 600; color: #fff; white-space: nowrap; }
.gm-blog-card__link:hover .gm-blog-card__photo { transform: scale(1.04); }
.gm-blog-card__link:hover .gm-blog-card__crop { transform: translateY(-3px); }
.gm-blog-card__body {
	position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px;
	min-height: 178px; padding: 24px 20px 40px; border-radius: 12px 12px 0 0; background: #fff;
}
.gm-blog-card__label { font-size: 16px; line-height: 24px; color: #454a4f; }
.gm-blog-card__title { font-size: 20px; line-height: 28px; font-weight: 700; color: #0a0a0a; transition: color var(--gm-dur-fast, .15s) ease; }
.gm-blog-card__link:hover .gm-blog-card__title { color: var(--gm-color-action-secondary-default, #0858ce); }

@media (max-width: 900px) {
	.gm-blog-hero { min-height: 0; padding: 56px var(--gm-gutter); gap: 28px; }
	.gm-blog-hero__title { font-size: 32px; line-height: 40px; }
	.gm-blog-sec { padding: 56px var(--gm-gutter); }
}
@media (max-width: 560px) {
	.gm-blog-hero__title { font-size: 28px; line-height: 36px; padding: 0; }
	.gm-blog-hero__lead { font-size: 16px; line-height: 24px; }
	.gm-blog-sec__title { font-size: 26px; line-height: 34px; }
	.gm-blog-sec__in { gap: 24px; }
	.gm-blog-chips { gap: 8px; }
	.gm-blog-chip { padding: 10px 12px; font-size: 16px; }
}
/* Phones: the desktop line breaks strand single words on the 280px rail cards, so let titles wrap evenly. */
@media (max-width: 767px) {
	.gm-blog-br { display: none; }
	.gm-blog-card__title { text-wrap: balance; }
}
@media (prefers-reduced-motion: reduce) {
	.gm-blog-card__link, .gm-blog-card__photo, .gm-blog-card__crop, .gm-blog-chip img { transition: none; }
	.gm-blog-card__link:hover, .gm-blog-card__link:hover .gm-blog-card__photo, .gm-blog-card__link:hover .gm-blog-card__crop { transform: none; }
}
html:has(body.gm-blog-page) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(body.gm-blog-page) { scroll-behavior: auto; } }

/* Phones (client 2026-10-29): each topic's articles scroll sideways like the other article rows,
   running to the screen edges and snapping card by card. */
@media (max-width: 767px) {
	.gm-blog .gm-blog-cards {
		flex-wrap: nowrap; justify-content: flex-start; gap: 12px;
		margin: 0 calc(-1 * var(--gm-gutter)); padding: 4px var(--gm-gutter) 8px;
		overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory; scroll-padding: 0 var(--gm-gutter); scrollbar-width: none;
		list-style: none; align-self: stretch; width: auto; max-width: none; min-width: 0; /* Its column centres it otherwise: as wide as all cards. */
	}
	.gm-blog .gm-blog-cards::-webkit-scrollbar { display: none; }
	.gm-blog .gm-blog-cards > * { flex: 0 0 auto; width: min(280px, 78vw); scroll-snap-align: start; }
}
