/*
 * Infobrokerka — strona główna
 * Style są ograniczone do .ib-home, aby nie zmieniać wyglądu wpisów i podstron.
 */

.ibhp-page-active #site-content {
	overflow: visible;
}

.ibhp-page-active #site-content > .row > [class*="col-lg-"] {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	flex: 0 0 100%;
}

.ibhp-page-active #content,
.ibhp-page-active .entry-content {
	width: 100%;
	max-width: 100%;
}

.ibhp-page-active article.entry > .entry-title,
.ibhp-page-active article.entry > .entry-utils,
.ibhp-page-active #site-content .sidebar {
	display: none;
}

.ibhp-page-active article.entry,
.ibhp-page-active article.entry .entry-content {
	margin: 0;
	padding: 0;
	border: 0;
}

.ibhp-page-active #footer {
	display: none;
}

.ib-home {
	--ib-black: #161616;
	--ib-black-deep: #000000;
	--ib-gold: #b49543;
	--ib-gold-light: #f3eddd;
	--ib-ink: #333333;
	--ib-muted: #6d6962;
	--ib-line: #ebebeb;
	--ib-paper: #f8f7f3;
	--ib-white: #ffffff;
	--ib-max: 1040px;
	--ib-radius: 22px;
	--ib-shadow: 0 24px 70px rgba(22, 22, 22, .14);
	position: relative;
	left: 50%;
	width: 100vw;
	max-width: 100vw;
	margin: 0 0 0 -50vw;
	overflow: hidden;
	color: var(--ib-ink);
	background: var(--ib-white);
	font-family: Lato, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

.ib-home *,
.ib-home *::before,
.ib-home *::after {
	box-sizing: border-box;
}

.ib-home img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}

.ib-home h1,
.ib-home h2,
.ib-home h3,
.ib-home p,
.ib-home ul {
	margin-top: 0;
}

.ib-home h1,
.ib-home h2,
.ib-home h3 {
	color: var(--ib-black);
	font-family: Lora, Georgia, serif;
	font-weight: 400;
	line-height: 1.12;
}

.ib-home h1 {
	max-width: 790px;
	margin-bottom: 26px;
	font-size: clamp(2.75rem, 5vw, 4.5rem);
	letter-spacing: -.045em;
}

.ib-home h2 {
	margin-bottom: 24px;
	font-size: clamp(2.25rem, 4vw, 3.55rem);
	letter-spacing: -.035em;
}

.ib-home h3 {
	margin-bottom: 16px;
	font-size: 1.65rem;
	letter-spacing: -.02em;
}

.ib-home a {
	color: inherit;
}

.ib-container {
	width: min(calc(100% - 48px), var(--ib-max));
	margin-right: auto;
	margin-left: auto;
}

.ib-section {
	padding: 108px 0;
}

.ib-eyebrow {
	margin-bottom: 20px;
	color: var(--ib-gold);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.ib-eyebrow-dark {
	color: #8f722a;
}

.ib-large-copy {
	color: #37342f;
	font-size: 1.22rem;
	line-height: 1.6;
}

.ib-button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.ib-home .ib-button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 14px 23px;
	border: 2px solid var(--ib-black);
	border-radius: 0;
	font-family: Lato, Arial, sans-serif;
	font-size: .875rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.ib-home .ib-button:hover,
.ib-home .ib-button:focus-visible {
	transform: translateY(-2px);
}

.ib-button-primary {
	color: var(--ib-white) !important;
	background: var(--ib-black);
}

.ib-button-primary:hover,
.ib-button-primary:focus-visible {
	background: var(--ib-gold);
	border-color: var(--ib-gold);
}

.ib-button-secondary {
	color: var(--ib-black) !important;
	background: var(--ib-white);
}

.ib-button-secondary:hover,
.ib-button-secondary:focus-visible {
	color: var(--ib-gold) !important;
	border-color: var(--ib-gold);
}

.ib-text-link {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: auto;
	color: var(--ib-gold) !important;
	font-size: .9rem;
	font-weight: 700;
	text-decoration: none;
}

.ib-text-link span {
	transition: transform .2s ease;
}

.ib-text-link:hover span,
.ib-text-link:focus-visible span {
	transform: translateX(4px);
}

.ib-text-link-light {
	color: var(--ib-white) !important;
}

.ib-hero {
	position: relative;
	background:
		radial-gradient(circle at 12% 18%, rgba(180, 149, 67, .13), transparent 26%),
		linear-gradient(180deg, #ffffff 0%, #f8f7f3 100%);
}

.ib-hero-grid {
	display: grid;
	min-height: 710px;
	grid-template-columns: 1.15fr .85fr;
	gap: 68px;
	align-items: center;
	padding-top: 74px;
	padding-bottom: 92px;
}

.ib-hero-lead {
	max-width: 720px;
	margin-bottom: 0;
	color: var(--ib-muted);
	font-size: 1.2rem;
}

.ib-hero-visual {
	position: relative;
	min-height: 575px;
}

.ib-image-frame {
	position: absolute;
	inset: 0 16px 0 34px;
	overflow: hidden;
	background: var(--ib-gold-light);
	border-radius: 220px 220px 22px 22px;
	box-shadow: var(--ib-shadow);
}

.ib-image-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 12%;
}

.ib-floating-card {
	position: absolute;
	z-index: 2;
	display: flex;
	max-width: 220px;
	flex-direction: column;
	padding: 17px 20px;
	background: rgba(255, 255, 255, .96);
	border: 1px solid var(--ib-line);
	box-shadow: 0 16px 40px rgba(22, 22, 22, .14);
}

.ib-floating-card strong {
	color: var(--ib-black);
	font-family: Lora, Georgia, serif;
	font-size: 1.8rem;
	font-weight: 400;
	line-height: 1;
}

.ib-floating-card span {
	margin-top: 8px;
	color: var(--ib-muted);
	font-size: .8rem;
	line-height: 1.35;
}

.ib-proof-card {
	right: -12px;
	top: 58px;
}

.ib-experience-card {
	left: 0;
	bottom: 36px;
}

.ib-credibility {
	position: relative;
	z-index: 3;
	margin-top: -36px;
}

.ib-credibility-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: var(--ib-white);
	border: 1px solid var(--ib-line);
	box-shadow: 0 20px 55px rgba(22, 22, 22, .09);
}

.ib-credibility-grid > div {
	display: flex;
	min-height: 122px;
	align-items: center;
	gap: 15px;
	padding: 24px;
	border-right: 1px solid var(--ib-line);
}

.ib-credibility-grid > div:last-child {
	border-right: 0;
}

.ib-credibility-grid strong {
	color: var(--ib-gold);
	font-family: Lora, Georgia, serif;
	font-size: 2.05rem;
	font-weight: 400;
	line-height: 1;
}

.ib-credibility-grid span {
	color: var(--ib-muted);
	font-size: .82rem;
	line-height: 1.35;
}

.ib-ai-grid,
.ib-method-grid,
.ib-about-grid,
.ib-lead-grid,
.ib-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 82px;
	align-items: center;
}

.ib-tool-list,
.ib-about-points {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 30px 0 0;
}

.ib-tool-list span,
.ib-about-points span {
	padding: 8px 12px;
	color: var(--ib-black);
	background: var(--ib-white);
	border: 1px solid var(--ib-line);
	border-radius: 999px;
	font-size: .8rem;
	font-weight: 700;
}

.ib-dark-panel {
	position: relative;
	padding: 50px;
	overflow: hidden;
	color: rgba(255, 255, 255, .76);
	background: var(--ib-black);
	border-radius: var(--ib-radius);
}

.ib-dark-panel::after {
	position: absolute;
	width: 190px;
	height: 190px;
	right: -74px;
	top: -74px;
	border: 28px solid rgba(180, 149, 67, .25);
	border-radius: 50%;
	content: "";
}

.ib-panel-label,
.ib-card-label {
	margin-bottom: 18px;
	color: var(--ib-gold);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ib-dark-panel h3 {
	max-width: 430px;
	color: var(--ib-white);
	font-size: 2.3rem;
}

.ib-dark-panel p:not(.ib-panel-label) {
	margin-bottom: 30px;
}

.ib-offer {
	background: var(--ib-paper);
}

.ib-section-heading {
	max-width: 850px;
	margin-bottom: 50px;
}

.ib-section-heading > p:last-child {
	max-width: 650px;
	margin-bottom: 0;
	color: var(--ib-muted);
	font-size: 1.05rem;
}

.ib-offer-grid,
.ib-projects-grid,
.ib-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.ib-offer-card {
	display: flex;
	min-height: 510px;
	flex-direction: column;
	padding: 36px;
	background: var(--ib-white);
	border: 1px solid var(--ib-line);
	border-radius: var(--ib-radius);
}

.ib-offer-featured {
	color: rgba(255, 255, 255, .76);
	background: var(--ib-black);
	border-color: var(--ib-black);
}

.ib-offer-featured h3 {
	color: var(--ib-white);
}

.ib-card-number {
	display: block;
	margin-bottom: 42px;
	color: var(--ib-gold);
	font-family: Lora, Georgia, serif;
	font-size: 2rem;
}

.ib-offer-card > p:not(.ib-card-label),
.ib-offer-card li {
	color: var(--ib-muted);
}

.ib-offer-featured > p:not(.ib-card-label),
.ib-offer-featured li {
	color: rgba(255, 255, 255, .72);
}

.ib-offer-card ul {
	margin-bottom: 30px;
	padding-left: 19px;
}

.ib-offer-card li + li {
	margin-top: 7px;
}

.ib-method {
	background: var(--ib-white);
}

.ib-method-grid {
	align-items: start;
}

.ib-method-steps {
	border-top: 1px solid var(--ib-line);
}

.ib-method-steps > div {
	display: grid;
	grid-template-columns: 54px 1fr;
	column-gap: 18px;
	padding: 26px 0;
	border-bottom: 1px solid var(--ib-line);
}

.ib-method-steps span {
	grid-row: 1 / 3;
	color: var(--ib-gold);
	font-family: Lora, Georgia, serif;
	font-size: 1.5rem;
}

.ib-method-steps h3 {
	margin-bottom: 7px;
	font-size: 1.3rem;
}

.ib-method-steps p {
	margin-bottom: 0;
	color: var(--ib-muted);
}

.ib-about {
	background: var(--ib-paper);
}

.ib-about-image {
	position: relative;
	min-height: 650px;
}

.ib-about-image > img {
	width: 100%;
	height: 650px;
	object-fit: cover;
	object-position: center;
	border-radius: var(--ib-radius);
	box-shadow: var(--ib-shadow);
}

.ib-photo-caption {
	position: absolute;
	right: -28px;
	bottom: 28px;
	max-width: 300px;
	padding: 18px 22px;
	color: rgba(255, 255, 255, .78);
	background: var(--ib-black);
	font-size: .82rem;
	line-height: 1.45;
}

.ib-photo-caption strong {
	color: var(--ib-white);
}

.ib-about-points {
	margin: 28px 0 34px;
}

.ib-institutions {
	padding: 54px 0;
	background: var(--ib-white);
	border-top: 1px solid var(--ib-line);
	border-bottom: 1px solid var(--ib-line);
}

.ib-institution-lead {
	margin-bottom: 28px;
	color: var(--ib-muted);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-align: center;
	text-transform: uppercase;
}

.ib-wordmarks {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	color: #77736c;
}

.ib-wordmarks span {
	font-family: Lora, Georgia, serif;
	font-size: 1.12rem;
}

.ib-projects {
	background: var(--ib-white);
}

.ib-split-heading {
	display: grid;
	max-width: none;
	grid-template-columns: 1.15fr .85fr;
	gap: 68px;
	align-items: end;
}

.ib-project-card {
	position: relative;
	display: flex;
	min-height: 350px;
	flex-direction: column;
	padding: 34px;
	overflow: hidden;
	background: var(--ib-paper);
	border: 1px solid var(--ib-line);
	border-radius: var(--ib-radius);
}

.ib-project-card::after {
	position: absolute;
	width: 130px;
	height: 130px;
	right: -58px;
	top: -58px;
	border: 20px solid rgba(180, 149, 67, .14);
	border-radius: 50%;
	content: "";
}

.ib-book-card {
	padding-right: 46%;
	color: rgba(255, 255, 255, .72);
	background: var(--ib-black);
	border-color: var(--ib-black);
}

.ib-book-card h3 {
	color: var(--ib-white);
}

.ib-book-card p {
	color: rgba(255, 255, 255, .72) !important;
}

.ib-book-cover {
	position: absolute;
	z-index: 1;
	right: -5%;
	bottom: -6%;
	width: 58%;
	max-height: 340px;
	object-fit: contain;
	filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .3));
	transform: rotate(2deg);
}

.ib-project-type {
	position: relative;
	z-index: 2;
	margin-bottom: 28px;
	color: var(--ib-gold);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ib-project-logo {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	height: 70px !important;
	margin-bottom: 22px;
	object-fit: contain;
	object-position: left center;
}

.ib-project-logo-market {
	max-width: 270px !important;
	height: 62px !important;
}

.ib-project-logo-cyfrowa {
	max-width: 285px !important;
}

.ib-project-card h3,
.ib-project-card p {
	position: relative;
	z-index: 2;
}

.ib-project-card p {
	margin-bottom: 24px;
	color: var(--ib-muted);
}

.ib-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.ib-blog {
	background: var(--ib-paper);
}

.ib-blog-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 42px;
	margin-bottom: 50px;
}

.ib-blog-heading h2 {
	max-width: 780px;
	margin-bottom: 0;
}

.ib-post-card {
	display: flex;
	flex-direction: column;
}

.ib-post-visual {
	display: flex;
	min-height: 235px;
	flex-direction: column;
	justify-content: space-between;
	padding: 26px;
	overflow: hidden;
	color: var(--ib-white) !important;
	background: var(--ib-black);
	text-decoration: none;
}

.ib-post-visual-2 {
	color: var(--ib-black) !important;
	background: var(--ib-gold-light);
}

.ib-post-visual-3 {
	background: linear-gradient(135deg, var(--ib-black), #4d4021);
}

.ib-post-visual span {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ib-post-visual b {
	max-width: 260px;
	font-family: Lora, Georgia, serif;
	font-size: 1.55rem;
	font-weight: 400;
	line-height: 1.15;
}

.ib-post-image {
	width: calc(100% + 52px) !important;
	max-width: none !important;
	height: 287px !important;
	margin: -26px !important;
	object-fit: cover;
	transition: transform .3s ease;
}

.ib-post-visual:hover .ib-post-image {
	transform: scale(1.035);
}

.ib-post-meta {
	margin: 20px 0 10px;
	color: #8f722a;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.ib-post-card h3 {
	margin-bottom: 13px;
	font-size: 1.45rem;
}

.ib-post-card h3 a {
	text-decoration: none;
}

.ib-post-card h3 a:hover,
.ib-post-card h3 a:focus-visible {
	color: var(--ib-gold);
}

.ib-post-card > p:not(.ib-post-meta) {
	margin-bottom: 22px;
	color: var(--ib-muted);
}

.ib-lead-magnet {
	padding: 105px 0;
	color: rgba(255, 255, 255, .78);
	background: var(--ib-black);
}

.ib-lead-magnet h2 {
	color: var(--ib-white);
}

.ib-lead-magnet p:not(.ib-eyebrow) {
	max-width: 650px;
	margin-bottom: 30px;
}

.ib-resource-card {
	position: relative;
	display: flex;
	min-height: 540px;
	align-items: center;
	justify-content: center;
}

.ib-resource-cover {
	width: min(100%, 385px);
	border-radius: 4px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
	transform: rotate(1.5deg);
}

.ib-resource-badge {
	position: absolute;
	right: 3%;
	bottom: 35px;
	max-width: 195px;
	padding: 12px 16px;
	color: var(--ib-black);
	background: var(--ib-gold);
	border-radius: 999px;
	box-shadow: 0 14px 35px rgba(0, 0, 0, .3);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-align: center;
	text-transform: uppercase;
	transform: rotate(-2deg);
}

.ib-button-light {
	color: var(--ib-black) !important;
	background: var(--ib-white);
	border-color: var(--ib-white) !important;
}

.ib-button-outline-light {
	color: var(--ib-white) !important;
	background: transparent;
	border-color: rgba(255, 255, 255, .55) !important;
}

.ib-button-light:hover,
.ib-button-light:focus-visible,
.ib-button-outline-light:hover,
.ib-button-outline-light:focus-visible {
	color: var(--ib-black) !important;
	background: var(--ib-gold);
	border-color: var(--ib-gold) !important;
}

.ib-contact-grid {
	align-items: end;
}

.ib-contact-grid h2 {
	margin-bottom: 0;
}

.ib-contact-grid > div:last-child > p {
	margin-bottom: 26px;
	color: var(--ib-muted);
	font-size: 1.14rem;
}

.ib-footer {
	padding: 55px 0;
	color: rgba(255, 255, 255, .67);
	background: var(--ib-black-deep);
}

.ib-footer-grid {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 34px;
	align-items: center;
}

.ib-footer-logo {
	width: 240px;
	filter: invert(1);
	opacity: .96;
}

.ib-footer p {
	margin: 7px 0 0;
	font-size: .82rem;
}

.ib-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	font-size: .86rem;
}

.ib-footer a {
	color: rgba(255, 255, 255, .72);
	text-decoration: none;
}

.ib-footer a:hover,
.ib-footer a:focus-visible {
	color: var(--ib-white);
}

.ib-copyright {
	grid-column: 1 / -1;
	padding-top: 25px;
	border-top: 1px solid rgba(255, 255, 255, .14);
}

@media (max-width: 1020px) {
	.ib-hero-grid {
		grid-template-columns: 1fr 1fr;
		gap: 38px;
	}

	.ib-credibility-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ib-credibility-grid > div:nth-child(2) {
		border-right: 0;
	}

	.ib-credibility-grid > div:nth-child(-n+2) {
		border-bottom: 1px solid var(--ib-line);
	}

	.ib-ai-grid,
	.ib-method-grid,
	.ib-about-grid,
	.ib-lead-grid,
	.ib-contact-grid {
		gap: 48px;
	}

	.ib-offer-grid,
	.ib-projects-grid {
		grid-template-columns: 1fr;
	}

	.ib-offer-card {
		min-height: 0;
	}

	.ib-book-card {
		min-height: 370px;
		padding-right: 43%;
	}

	.ib-posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 760px) {
	.ib-container {
		width: min(calc(100% - 32px), var(--ib-max));
	}

	.ib-section {
		padding: 78px 0;
	}

	.ib-home h1 {
		font-size: 2.75rem;
	}

	.ib-home h2 {
		font-size: 2.3rem;
	}

	.ib-hero-grid,
	.ib-ai-grid,
	.ib-method-grid,
	.ib-about-grid,
	.ib-lead-grid,
	.ib-contact-grid,
	.ib-split-heading {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.ib-hero-grid {
		padding-top: 56px;
		padding-bottom: 78px;
	}

	.ib-hero-lead {
		font-size: 1.08rem;
	}

	.ib-button-row .ib-button {
		width: 100%;
	}

	.ib-hero-visual {
		min-height: 510px;
	}

	.ib-image-frame {
		inset: 0 5px 0 20px;
	}

	.ib-proof-card {
		right: 0;
		top: 25px;
	}

	.ib-experience-card {
		left: 0;
		bottom: 20px;
	}

	.ib-credibility {
		margin-top: -24px;
	}

	.ib-credibility-grid {
		grid-template-columns: 1fr;
	}

	.ib-credibility-grid > div {
		min-height: 90px;
		border-right: 0;
		border-bottom: 1px solid var(--ib-line);
	}

	.ib-credibility-grid > div:last-child {
		border-bottom: 0;
	}

	.ib-dark-panel,
	.ib-offer-card,
	.ib-project-card {
		padding: 30px 24px;
	}

	.ib-about-image,
	.ib-about-image > img {
		min-height: 520px;
		height: 520px;
	}

	.ib-photo-caption {
		right: 13px;
		left: 13px;
		bottom: 13px;
		max-width: none;
	}

	.ib-wordmarks {
		justify-content: center;
	}

	.ib-blog-heading {
		display: block;
	}

	.ib-blog-heading .ib-button {
		margin-top: 24px;
	}

	.ib-posts-grid {
		grid-template-columns: 1fr;
		gap: 46px;
	}

	.ib-book-card {
		padding-right: 44%;
	}

	.ib-book-cover {
		right: -8%;
		width: 62%;
	}

	.ib-resource-card {
		min-height: 500px;
	}

	.ib-resource-cover {
		width: min(100%, 340px);
		transform: none;
	}

	.ib-resource-badge {
		right: 0;
		bottom: 20px;
	}

	.ib-footer-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 430px) {
	.ib-home h1 {
		font-size: 2.35rem;
	}

	.ib-home h2 {
		font-size: 2rem;
	}

	.ib-hero-visual {
		min-height: 470px;
	}

	.ib-floating-card {
		max-width: 180px;
		padding: 14px 16px;
	}

	.ib-book-card {
		min-height: 430px;
		padding-right: 24px;
		padding-bottom: 220px;
	}

	.ib-book-cover {
		right: 8%;
		bottom: -7%;
		width: 78%;
		max-height: 255px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ib-home *,
	.ib-home *::before,
	.ib-home *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
