/*
Theme Name: Twenty Twelve - Reparacio.cat
Description: Child theme de Twenty Twelve per a reparacio.cat. Conserva les personalitzacions (selector d'idioma a la capçalera, crèdit al peu) perquè actualitzar el tema pare no les esborri.
Template: twentytwelve
Version: 1.0
*/

.site-experience-badge {
	display: inline-block;
	margin-left: 0.5cm;
	font-size: 12px;
	font-size: 0.857142857rem;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-weight: normal;
	color: #444;
}

.reparacio-brands {
	margin-top: 24px;
}
.reparacio-brand-logo {
	display: inline-block;
	height: 40px;
	width: auto;
	margin: 8px 20px 8px 0;
	vertical-align: middle;
}

/* Brand names as rounded text pills instead of logo images: removes 5 image
   requests per page (and the low-resolution/missing-dimensions findings
   PageSpeed flagged on them) at essentially zero page weight. */
.reparacio-brand-pills {
	line-height: 1;
}
.reparacio-brand-pill {
	display: inline-block;
	padding: 8px 18px;
	margin: 6px 8px 6px 0;
	border-radius: 999px;
	border: 1px solid #d2d2d2;
	background-color: #f4f4f4;
	color: #444;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	vertical-align: middle;
}

.entry-content img + img {
	margin-left: 2mm;
}

/* --- Accessibility fixes: color contrast (WCAG AA) --- */
/* Cookie consent "Aceptar todas" button: original green (#61A229) on white
   text gave ~3.16:1 contrast, below the 4.5:1 AA minimum for normal text.
   Overriding with !important because Cookie Law Info renders the color as
   an inline style attribute, which normal stylesheet rules can't beat. */
.wt-cli-accept-all-btn,
a.wt-cli-accept-all-btn {
	background-color: #4c7a20 !important;
	color: #ffffff !important;
}

/* --- Accessibility fixes: touch target size (min ~44x44px) --- */
/* The theme's button text (#7c7c7c) on its button gradient (down to #e6e6e6)
   is only ~3.0:1, below the 4.5:1 AA minimum; #595959 gives ~5.6:1 against
   the darkest end of that gradient while keeping the same button look. */
#searchsubmit {
	min-height: 44px;
	min-width: 44px;
	padding: 10px 16px;
	color: #595959;
}

.wt-cli-accept-all-btn,
.wt-cli-reject-btn,
.wt-cli-settings-btn {
	min-height: 44px;
	padding: 10px 20px !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
