/* ═══════════════════════════════════════════════
   GALVANIZED STEEL PIPE — Page-specific overrides
   Base styles loaded via SeoHead: /BoFuPage.css
   ═══════════════════════════════════════════════ */

/* ─── GRADES TABLE — allow wrapping ─── */
.ss-pipe-page .grades-section td,
.ss-pipe-page .grades-section th {
	white-space: normal;
}

.ss-pipe-page .grades-section table {
	table-layout: fixed;
}

.ss-pipe-page .grades-section th:nth-child(1) { width: 18%; }
.ss-pipe-page .grades-section th:nth-child(2) { width: 14%; }
.ss-pipe-page .grades-section th:nth-child(3) { width: 38%; }
.ss-pipe-page .grades-section th:nth-child(4) { width: 30%; }

/* ─── CERTIFICATIONS ─── */
.ss-pipe-page .certifications .cert-grid {
	grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
}

.ss-pipe-page .cert-badge {
	background: #fff;
	border: 1px solid var(--border-light);
	position: relative;
	overflow: hidden;
}

.ss-pipe-page .cert-badge::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--steel-blue);
	opacity: 0;
	transition: opacity 0.25s;
}

.ss-pipe-page .cert-badge:hover::before {
	opacity: 1;
}

.ss-pipe-page .cert-icon {
	width: 40px;
	height: 40px;
	margin: 0 auto 10px;
	background: var(--ice-blue);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--steel-blue);
	font-size: 1.1rem;
	font-weight: 700;
}

.ss-pipe-page .cert-name {
	font-size: 1.3rem;
}

/* ─── ORDERING STEPS ─── */
.ss-pipe-page .steps {
	grid-template-columns: repeat(5, 1fr);
}

/* ─── SEO CONTENT ACCORDION ─── */
.ss-pipe-page .seo-content {
	background: var(--crisp-white);
}

.ss-pipe-page .seo-content .inner {
	max-width: 900px;
}

.ss-pipe-page .seo-toggle-wrap {
	margin-bottom: 24px;
}

.ss-pipe-page .seo-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--ice-blue);
	border: 1px solid var(--border-light);
	border-radius: 8px;
	padding: 12px 24px;
	font-family: 'Barlow', sans-serif;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--steel-blue);
	cursor: pointer;
	transition: all 0.2s;
}

.ss-pipe-page .seo-toggle:hover {
	background: var(--steel-blue);
	color: #fff;
	border-color: var(--steel-blue);
}

.ss-pipe-page .seo-toggle .arrow {
	transition: transform 0.3s;
	display: inline-block;
}

.ss-pipe-page .seo-toggle.open .arrow {
	transform: rotate(180deg);
}

.ss-pipe-page .seo-accordion {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease;
}

.ss-pipe-page .seo-accordion.open {
	max-height: 8000px;
}

.ss-pipe-page .seo-block h2 {
	font-family: 'Bebas Neue', sans-serif;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	letter-spacing: 2px;
	color: var(--text-dark);
	margin-bottom: 24px;
	line-height: 1.15;
}

.ss-pipe-page .seo-block h3 {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 700;
	font-size: 1.1rem;
	margin: 32px 0 12px;
	color: var(--text-dark);
	letter-spacing: 0.5px;
	padding-left: 14px;
	border-left: 3px solid var(--accent-orange);
}

.ss-pipe-page .seo-block p {
	color: var(--text-mid);
	font-size: 0.95rem;
	line-height: 1.8;
	margin-bottom: 16px;
}

.ss-pipe-page .seo-block a {
	color: var(--accent-orange);
	text-decoration: none;
	font-weight: 600;
}

.ss-pipe-page .seo-block a:hover {
	text-decoration: underline;
}

.ss-pipe-page .seo-block ul {
	list-style: none;
	padding: 0;
	margin-bottom: 16px;
}

.ss-pipe-page .seo-block ul li {
	padding: 8px 0 8px 24px;
	position: relative;
	color: var(--text-mid);
	font-size: 0.92rem;
	line-height: 1.7;
}

.ss-pipe-page .seo-block ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 16px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--steel-blue);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
	.ss-pipe-page .certifications .cert-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ss-pipe-page .steps {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.ss-pipe-page .certifications .cert-grid {
		grid-template-columns: 1fr;
	}
}
