/* ==========================================================================
   Information Box - Frontend Styles
   ========================================================================== */

/* Box container */
.ib-info-box {
	max-width: 100%;
	margin: 1em auto;
	background: #f6f5f2;
	font-family: inherit;
}

/* --------------------------------------------------------------------------
   Band (top & bottom)
   -------------------------------------------------------------------------- */
.ib-info-box__band-top {
	background-color: var(--ib-band-bg, #e24937);
	color: var(--ib-band-color, #fff);
	text-align: center;
	padding: 6px 16px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
	position: relative;
	z-index: 1;
}

.ib-info-box__band-text::before {
	content: var(--ib-band-text, 'INFORMATION');
}

.ib-info-box__band-bottom {
	background-color: var(--ib-band-bg, #e24937);
	color: var(--ib-band-color, #fff);
	text-align: center;
	padding: 4px 16px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.1em;
	box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------------------
   Body
   -------------------------------------------------------------------------- */
.ib-info-box__body {
	padding: 10px 12px;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Icon area with stripe background
   -------------------------------------------------------------------------- */
.ib-info-box__icon-area {
	position: relative;
	min-height: 48px;
	padding: 10px 0;
	margin-bottom: 6px;
}

.ib-info-box__stripe {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40%;
	height: 7px;
	opacity: 1;
	background: repeating-linear-gradient(
		-45deg,
		transparent,
		transparent 2px,
		var(--ib-band-bg, #e24937) 2px,
		var(--ib-band-bg, #e24937) 4px
	);
}

/* Icon wrap (white background over stripe) */
.ib-info-box__icon-wrap {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #f6f5f2;
	padding: 0 24px;
	border-radius: 4px;
}

.ib-info-box__icon-svg {
	display: block;
	width: 36px;
	height: 36px;
}

/* --------------------------------------------------------------------------
   Text content (via CSS content)
   -------------------------------------------------------------------------- */
.ib-info-box__text {
	margin-bottom: 6px;
}

.ib-info-box__text-content::before {
	content: var(--ib-text-content, '');
	white-space: pre-wrap;
	color: var(--ib-text-color, #e24937);
	font-size: var(--ib-text-size, 20px);
	font-weight: 700;
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Phone number
   -------------------------------------------------------------------------- */
.ib-info-box__phone {
	margin-bottom: 6px;
}

.ib-info-box__phone-link {
	text-decoration: none;
	color: #000;
	font-size: 60px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1;
}

.ib-info-box__phone-link::before {
	content: var(--ib-phone, '');
}

/* --------------------------------------------------------------------------
   Button
   -------------------------------------------------------------------------- */
.ib-info-box__button-section {
	margin-top: 16px;
	margin-bottom: 8px;
}

.post_content div.ib-info-box__button-section {
	margin-bottom: 8px !important;
}

.ib-info-box__button-top-text {
	margin-bottom: 4px;
}

.ib-info-box__button-top-text-content::before {
	content: var(--ib-button-top-text, '');
	color: var(--ib-btn-top-text-color, #e24937);
	font-size: 14px;
	font-weight: 500;
}

.ib-info-box__button-wrap {
	margin-top: 0;
}

.ib-info-box__button {
	display: inline-block;
	background-color: var(--ib-btn-bg, #e24937);
	color: var(--ib-btn-color, #fff);
	padding: 8px 24px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 16px;
	font-weight: 700;
	transition: opacity 0.2s ease;
	min-width: 250px;
}

.ib-info-box__button:hover {
	opacity: 0.85;
	color: var(--ib-btn-color, #fff);
}

.ib-info-box__button-text::before {
	content: var(--ib-button-text, '');
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
	.ib-info-box__stripe {
		width: 70%;
	}

	.ib-info-box__text-content::before {
		font-size: var(--ib-text-size-mobile, 14px);
	}

	.ib-info-box__phone-link {
		font-size: 40px;
	}
}
