/* QueenKeto Ingredient Links Notice
   Lives inside the WP Recipe Maker card, below the ingredients list, so it is
   deliberately quiet: a hairline rule and small text, not a banner.
   No JavaScript, no web fonts, no external requests.

   Design tokens are taken from the card's own template ("my-cutout"), not from
   the surrounding post, because the card overrides the theme inside itself:

     card base font   20px, line-height 1.6em
     card font stack  system UI stack
     card accent      #5c9207   (the header band, and every link INSIDE the card)
     card heading ink #212121
     card surface     #fafafa
     card border      #aaa, radius 10px outer / 7px inner

   Note that links inside the card render #5c9207, not the #23a955 used in body
   prose: ".wprm-recipe-template-my-cutout a" is declared later at equal
   specificity, so it wins. The notice follows the card. */

.qk-ing-notice {
	display: flex;
	gap: .5em;
	align-items: flex-start;
	clear: both;
	box-sizing: border-box;
	width: auto;
	max-width: 100%;
	margin: 1em 0 .2em;
	padding: .7em 0 0;
	border: 0;
	border-top: 1px solid #e2ebd2;
	background: none;
	color: #5a5a5a;
	/* Deliberately NOT the card's sans stack: an italic serif reads as an aside
	   in the author's voice rather than another line of recipe data. All of
	   these are system faces, so nothing extra is downloaded. */
	font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "Times New Roman", Times, serif;
	/* em, so the note scales with the card's 20px base instead of fighting it */
	font-size: .7em;
	font-style: italic;
	font-weight: 400;
	line-height: 1.55;
	text-align: left;
	text-transform: none;
}

/* The card declares "font-family:<sans>; font-size:1em!important;
   line-height:1.6em!important" on every p inside it. font-family is not marked
   important but sits at equal specificity, so load order would decide it:
   these are forced rather than left to chance. */
.qk-ing-notice p {
	margin: 0 !important;
	padding: 0;
	color: inherit;
	font-family: inherit !important;
	font-size: inherit !important;
	font-style: italic !important;
	line-height: 1.55 !important;
	text-indent: 0;
}

.qk-ing-notice p + p {
	margin-top: .5em !important;
}

.qk-ing-notice .qk-ing-notice__text {
	min-width: 0;
	flex: 1 1 auto;
}

.qk-ing-notice .qk-ing-notice__title {
	display: block;
	margin: 0 0 .15em;
	padding: 0;
	color: #3f3f3f;
	font-family: inherit !important;
	font-size: 1em;
	font-style: italic;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
}

/* Icon is off by default. When on, it is pinned at 16px three ways so a theme
   rule such as "svg { width: 100% }" cannot inflate it. */
.qk-ing-notice .qk-ing-notice__icon {
	display: block;
	flex: 0 0 16px !important;
	box-sizing: content-box;
	width: 16px !important;
	height: 16px !important;
	max-width: 16px !important;
	max-height: 16px !important;
	margin: .15em 0 0 !important;
	padding: 0 !important;
	color: #5c9207;
}

.qk-ing-notice .qk-ing-notice__icon svg {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	max-width: 16px !important;
	max-height: 16px !important;
	margin: 0 !important;
	padding: 0 !important;
	fill: currentColor;
	vertical-align: baseline;
}

/* Links in the note stay underlined, unlike both the theme and the card
   default, because the whole point of the note is to show what a link is.
   #4a7506 is the card accent darkened to clear 4.5:1 on the card surface;
   #5c9207 itself only reaches 3.6:1, which is short for text this size. */
.qk-ing-notice a {
	color: #4a7506;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.qk-ing-notice a:hover,
.qk-ing-notice a:focus {
	color: #3a5c05;
}

/* Above the ingredients list the rule belongs underneath the note, not on top
   of it, otherwise it collides with the "Ingredients" header directly above. */
.qk-ing-notice.qk-ing-notice--above {
	margin: .2em 0 .9em;
	padding: 0 0 .7em;
	border-top: 0;
	border-bottom: 1px solid #e2ebd2;
}

/* Placed above the card rather than inside it, a hairline reads as a stray
   rule, so that variant becomes a soft tinted block keyed to the card accent.
   Radius matches the card's inner radius. */
.qk-ing-notice.qk-ing-notice--block {
	margin: 0 0 1.1em;
	padding: .75em .9em;
	border: 1px solid #e2ebd2;
	border-left: 3px solid #5c9207;
	border-radius: 7px;
	background: #f5f8f0;
	font-size: .85em;
}

@media print {
	.qk-ing-notice {
		display: none !important;
	}
}
