/* Gallery: keep Media & Text images inside their own column.
   Without this the image renders at its natural width and overlaps the text
   at mid widths (two columns, before the mobile stack kicks in). */
.wp-block-media-text__media img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

/* Nav submenus: the header is clipped at its own bottom edge
   (clip-path: inset(... 0)), which cut off any dropdown. */
/* Submenu items: match the top-level nav instead of the theme's
   uppercase/wide-tracking default. Pink, white on hover. */
.wp-block-navigation__submenu-container .wp-block-navigation-item__content,
.wp-block-navigation__submenu-container .wp-block-navigation-item__label {
	color: #c2349a;
	text-transform: none;
	letter-spacing: normal;
	line-height: 1.5;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.4rem 1.2rem;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus {
	background-color: #c2349a;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus,
.wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover .wp-block-navigation-item__label,
.wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus .wp-block-navigation-item__label {
	color: #fff;
}

/* Featured video on the Videos page: lets the LATEST ribbon sit over it. */
.fonty-yt-featured {
	position: relative;
}

/* The featured video's ribbon: clears YouTube's title and byline, and
   overhangs the left edge with a folded tail under it. */
.fonty-yt-featured .fonty-yt-ribbon {
	top: 58px;
	left: -14px;
	padding: 11px 30px;
	background: #c2349a;
	color: #fff;
	font-size: 15px;
	letter-spacing: 0.1em;
	box-shadow: 0 2px 6px rgb( 0 0 0 / 0.25 );
}

.fonty-yt-featured .fonty-yt-ribbon::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -9px;
	border-style: solid;
	border-width: 9px 0 0 14px;
	border-color: #7d2062 transparent transparent transparent;
}

/* Square corners on the video grid, to match the nav. */
.fonty-yt-frame,
.fonty-yt-play,
.fonty-yt-ribbon {
	border-radius: 0;
}