/**
 * Public Bid Index SEO 1.4.0
 * Visual helpers for title, thin-page notes, and the header site title.
 * Capitol palette is defined here (and aliased to --fbi2-* so existing theme CSS follows).
 */

/* Capitol palette (1.4.0). --pbi-* is the canonical set; --fbi2-* is an
   alias so homepage/theme CSS written against the old names picks up the
   new colors. !important wins over Additional CSS token definitions. */
:root {
  --pbi-primary: #0C1A2E;
  --pbi-accent: #F0B429;
  --pbi-dark: #0C1A2E;
  --pbi-graphite: #1B283B;
  --pbi-paper: #F3F1EA;
  --pbi-card: #FFFFFF;
  --pbi-line: #D7D7D3;
  --pbi-ink: #0C1A2E;
  --pbi-muted: #666E77;
  --pbi-on-dark: #FFFFFF;
  --pbi-muted-dark: #7C838E;
  --pbi-accent-ink: #836A2B;
  --pbi-button: #F0B429;
  --pbi-button-text: #0C1A2E;
  --pbi-hero-emphasis: #F0B429;
  --pbi-logo-tile: #F0B429;
  --pbi-logo-mark: #0C1A2E;
  --pbi-accent-deep: #E0A106;
  --pbi-accent-wash: #FBF0D2;
  --fbi2-black: #0C1A2E !important;
  --fbi2-ink: #0C1A2E !important;
  --fbi2-paper: #F3F1EA !important;
  --fbi2-white: #FFFFFF !important;
  --fbi2-accent: #F0B429 !important;
  --fbi2-accent-deep: #E0A106 !important;
  --fbi2-accent-ink: #836A2B !important;
  --fbi2-muted: #666E77 !important;
  --fbi2-line: #D7D7D3 !important;
  --fbi2-card: #FFFFFF !important;
  --fbi2-graphite: #1B283B !important;
}

/* Header logo is the 40px price-tag tile; keep it tight next to the title. */
@media (min-width: 782px) {
	.site-header .wp-block-site-logo img {
		width: 40px !important;
		height: 40px !important;
	}
}
@media (max-width: 781px) {
	.site-header .wp-block-site-logo img,
	header .hostinger-ai-menu-wrapper > .wp-block-site-logo img {
		width: 34px !important;
		height: 34px !important;
	}
}

/* Internal "Draft / noindex" editor note must not show to visitors.
   Thin landing pages stay noindex; only the visible paragraph is hidden. */
.fbi2-thin {
	display: none !important;
}

/*
 * The theme's Additional CSS targets h1.wp-block-site-title on mobile.
 * This plugin renders that block as <p class="wp-block-site-title"> so
 * each page can have a single content H1. Mirror the mobile header rule
 * so the logo + name layout stays identical.
 */
@media (max-width: 781px) {
	header .hostinger-ai-menu-wrapper > p.wp-block-site-title,
	header .hostinger-ai-menu-wrapper > .wp-block-site-title {
		margin: 0 auto 0 0 !important;
		font-size: 20px !important;
		line-height: 1.1 !important;
		white-space: nowrap;
	}
}

/* Landing pages already have a hero H1 in the content (.fbi2-h1).
   Hide the theme's extra centered post-title so there are not two
   headlines stacked, and not a second content H1. Guides are left alone. */
body.fbi-landing-page .hostinger-ai-page-title.wp-block-post-title {
	display: none;
}

/* Hub page lists */
.fbi-hub-section { margin: 2rem 0; }
.fbi-hub-section h2 { margin-bottom: 0.6rem; }
.fbi-hub-section h3 { margin-top: 1.6rem; }
.fbi-hub-list {
	columns: 2;
	column-gap: 2rem;
	margin: 0.4rem 0 0;
	padding-left: 1.2rem;
}
@media (max-width: 600px) {
	.fbi-hub-list { columns: 1; }
}

/*
 * 1.3.3 desktop header: the theme flex row uses space-between and a 24px
 * gap, plus a 10px logo margin, so the icon sits too far from the name.
 * Keep logo + visible title together (~10px), push the nav right, and
 * take the duplicate Hostinger title out of the row so it adds no space.
 * Mobile rules in Additional CSS (and the mirror above) stay in charge
 * below 782px: logo 34px, gap 10px, title margin 0 auto 0 0.
 */
.site-header .wp-block-site-logo:has(img) ~ .hostinger-ai-site-title {
	display: none !important;
}

@media (min-width: 782px) {
	.site-header .hostinger-ai-menu-wrapper,
	.site-header .hostinger-ai-menu-wrapper.alignwide {
		justify-content: flex-start !important;
		column-gap: 10px;
	}
	.site-header .wp-block-site-logo:has(img) {
		margin-right: 0;
	}
	.site-header .hostinger-ai-menu-wrapper > .wp-block-site-title:not(.hostinger-ai-site-title) {
		margin-right: auto;
	}
}

/* 1.5.1: breadcrumb readable on the navy page hero */
.fbi2-pagehero .fbi2-crumb,
.fbi2-pagehero .fbi2-crumb a { color: #C9CED6 !important; }
.fbi2-pagehero .fbi2-crumb a { text-decoration: underline; text-underline-offset: 3px; }
.fbi2-pagehero .fbi2-crumb a:hover { color: #F0B429 !important; }
