/* WordPress block wrappers must not alter the approved V4 Visual Masters. */
.brand-hub-v4 > .wp-block-post-content,
.gift-hub-v4 > .wp-block-post-content,
.jikan-hub-v4 > .wp-block-post-content {
	margin: 0;
	padding: 0;
}

.brand-hub-v4,
.gift-hub-v4,
.jikan-hub-v4 {
	overflow-x: clip;
}

:is(.brand-hub-v4, .gift-hub-v4, .jikan-hub-v4) :where(.wp-block-group, .wp-block-image, .wp-block-buttons) {
	margin-block-start: 0;
	margin-block-end: 0;
}

:is(.brand-hub-v4, .gift-hub-v4, .jikan-hub-v4) .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

:is(.brand-hub-v4, .gift-hub-v4, .jikan-hub-v4) .wp-block-button__link {
	border-radius: 0;
}

.timeaid-v4-empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 32px 0;
	color: var(--gray);
	font-size: 13px;
}

.editor-styles-wrapper [data-type="timeaid/editorial-feed"],
.editor-styles-wrapper [data-type="timeaid/curated-posts"] {
	min-height: 80px;
}

.site-header .site-header__inner { display: grid; }
.site-header .logo,
.site-footer .logo { margin: 0; }
.site-header .logo a,
.site-footer .logo a { color: inherit; text-decoration: none; }
.site-header .global-nav .wp-block-navigation__container { display: flex; gap: 42px; }
.site-header .global-nav .current-menu-item > a::after,
.site-header .global-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.site-footer { margin-block-start: 0; }
.site-footer .site-footer__top { display: grid; }
.site-footer .timeaid-v4-footer__nav .wp-block-navigation__container { display: grid; }
.site-footer .legal-nav .wp-block-navigation__container { display: flex; }

.gv1-section > .timeaid-v4-editable-fragment,
.jv1-section > .timeaid-v4-editable-fragment {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 24px;
	border-top: 1px solid var(--border);
	padding-top: 18px;
}
.gv1-section > .timeaid-v4-editable-fragment h2,
.jv1-section > .timeaid-v4-editable-fragment h2 { color: var(--strong); font-size: 30px; font-weight: 600; line-height: 1.4; }
.gv1-section > .timeaid-v4-editable-fragment > p:last-of-type,
.jv1-section > .timeaid-v4-editable-fragment > p:last-of-type { max-width: 420px; color: var(--gray); font-size: 13px; }
.gv1-section > .timeaid-v4-editable-fragment > a,
.jv1-section > .timeaid-v4-editable-fragment > a { color: var(--gray); font-family: var(--en); font-size: 12px; font-weight: 600; }

.gv1-scenes > .timeaid-v4-editable-fragment,
.jv1-problems > .timeaid-v4-editable-fragment {
	border-top: 0;
	padding-top: 0;
}

.gv1-hero > .wp-block-timeaid-editable-section,
.jv1-hero > .wp-block-timeaid-editable-section,
.gv1-feature > .wp-block-timeaid-editable-section,
.jv1-feature > .wp-block-timeaid-editable-section,
.gv1-check > .wp-block-timeaid-editable-section,
.jv1-check > .wp-block-timeaid-editable-section,
.jv1-timeaid > .wp-block-timeaid-editable-section,
.gv1-information > .wp-block-timeaid-editable-section,
.jv1-information > .wp-block-timeaid-editable-section { display: contents; }

.timeaid-v4-image-placeholder { display: block; width: 100%; height: 100%; background: rgba(89, 87, 87, .06); }
.gv1-choose-visual img { width: 54px; height: 54px; object-fit: contain; }

@media (max-width: 760px) {
	.site-header .global-nav { display: none; }
	.gv1-section > .timeaid-v4-editable-fragment,
	.jv1-section > .timeaid-v4-editable-fragment { margin-bottom: 20px; padding-top: 14px; }
	.gv1-section > .timeaid-v4-editable-fragment h2,
	.jv1-section > .timeaid-v4-editable-fragment h2 { font-size: 24px; }
	.gv1-section > .timeaid-v4-editable-fragment > a,
	.jv1-section > .timeaid-v4-editable-fragment > a { padding-top: 8px; }
	.gv1-choose-visual img { width: 46px; height: 46px; }
}
