/* =====================================================================
   Weldless Piping and Tubing – page stylesheet
   File : page-css/weldless-hydraulic-tubing.css
   Load : AFTER style.css + site-theme.css
   Scope: everything is inside .wl-page, so other pages are not affected.
   ===================================================================== */

.wl-page {
    --wl-green: #0d8b44;
    --wl-green-2: #00a859;
    --wl-green-soft: #e9f6ef;
    --wl-blue: #0b3d91;
    --wl-navy: #0f1c2e;
    --wl-text: #3a4350;
    --wl-heading: #1c2631;
    --wl-border: #e3e8ef;
    --wl-radius: 14px;
    --wl-shadow: 0 6px 22px rgba(15, 28, 46, .07);
    --wl-shadow-hover: 0 12px 32px rgba(15, 28, 46, .13);

    padding: 0 !important;
    max-width: 100% !important;
    color: var(--wl-text);
    font-size: 15.5px;
    line-height: 1.75;
}

.wl-page p { margin: 0 0 14px; color: var(--wl-text); }
.wl-page p:last-child { margin-bottom: 0; }
.wl-page strong { color: var(--wl-heading); font-weight: 700; }
.wl-page a { color: var(--wl-green); font-weight: 600; }

/* ---------- Intro ---------- */
.wl-page .wl-eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--wl-green) !important;
    background: var(--wl-green-soft);
    padding: 5px 12px;
    border-radius: 30px;
    margin-bottom: 12px;
}
.wl-page h2.wl-title,
body.inner-page .service-detail .wl-page h2.wl-title {
    font-size: 27px !important;
    font-weight: 800;
    line-height: 1.3;
    color: var(--wl-heading) !important;
    margin: 0 0 14px !important;
    padding: 0 0 0 16px !important;
    border: 0 !important;
    border-left: 5px solid var(--wl-green) !important;
}
.wl-page .wl-lead {
    font-size: 17px;
    color: var(--wl-heading);
    margin-bottom: 24px;
}

/* ---------- Photos ---------- */
.wl-gallery {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}
.wl-gallery figure,
.wl-photo {
    margin: 0;
    background: #fff;
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius);
    overflow: hidden;
    box-shadow: var(--wl-shadow);
    display: flex; align-items: center; justify-content: center;
}
.wl-gallery figure { aspect-ratio: 4 / 3; }
.wl-gallery img,
.wl-photo img {
    width: 100% !important; height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.wl-gallery--contain img,
.wl-photo--contain img { object-fit: contain; padding: 10px; }
.wl-gallery figure:hover img,
.wl-photo:hover img { transform: scale(1.04); }

.wl-photo--wide { aspect-ratio: 16 / 9; margin-bottom: 22px; max-width: 640px; }
.wl-photo--contain { aspect-ratio: 3 / 4; }

/* ---------- Sections & headings ---------- */
.wl-section { margin-bottom: 36px; }
.wl-section:last-child { margin-bottom: 0; }

.wl-page h2.wl-h2,
body.inner-page .service-detail .wl-page h2.wl-h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 21px !important;
    font-weight: 800;
    line-height: 1.35;
    color: var(--wl-heading) !important;
    margin: 0 0 16px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid var(--wl-border) !important;
}
.wl-h2-icon {
    flex: 0 0 40px;
    width: 40px; height: 40px;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--wl-green), var(--wl-green-2));
    color: #fff;
    font-size: 19px;
}
.wl-page h3.wl-h3 {
    font-size: 18px !important;
    font-weight: 800;
    color: var(--wl-blue) !important;
    margin: 22px 0 8px !important;
}

/* ---------- Tables ---------- */
.wl-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius);
    box-shadow: var(--wl-shadow);
    margin: 16px 0 22px;
    background: #fff;
}
.wl-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 14.5px;
    line-height: 1.6;
}
.wl-table th {
    background: var(--wl-navy);
    color: #fff;
    font-weight: 700;
    text-align: left;
    padding: 12px 16px;
    white-space: nowrap;
}
.wl-table td {
    padding: 12px 16px;
    vertical-align: top;
    border-top: 1px solid var(--wl-border);
    color: var(--wl-text);
}
.wl-table tbody tr:nth-child(even) td { background: #f7f9fc; }
.wl-table td:first-child { font-weight: 700; color: var(--wl-heading); }

/* ---------- Cards ---------- */
.wl-card {
    background: #fff;
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius);
    box-shadow: var(--wl-shadow);
    padding: 20px 22px;
    transition: box-shadow .3s ease, transform .3s ease;
}
.wl-card:hover { box-shadow: var(--wl-shadow-hover); transform: translateY(-3px); }
.wl-page .wl-card h3 {
    display: flex; align-items: center; gap: 10px;
    font-size: 17px !important;
    font-weight: 800;
    color: var(--wl-heading) !important;
    margin: 0 0 10px !important;
}
.wl-card h3 i { color: var(--wl-green); font-size: 20px; }
.wl-card p { font-size: 15px; }

.wl-ind-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.wl-card--wide { grid-column: 1 / -1; }

/* ---------- Split: table + photo ---------- */
.wl-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 20px;
    align-items: end;
}
.wl-split .wl-table { min-width: 420px; }

/* ---------- Capability steps ---------- */
.wl-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.wl-step { position: relative; padding-top: 26px; }
.wl-step-num {
    position: absolute;
    top: -14px; left: 20px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--wl-green);
    color: #fff;
    font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(13, 139, 68, .35);
}
.wl-steps { margin-top: 18px; row-gap: 30px; }

.wl-check { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.wl-check li {
    list-style: none !important;
    position: relative;
    padding-left: 26px !important;
    margin-bottom: 8px !important;
    font-size: 14.5px;
    line-height: 1.6;
}
.wl-check li::before {
    content: "\F26E"; /* bi-check2 */
    font-family: "bootstrap-icons";
    position: absolute; left: 0; top: 0;
    color: var(--wl-green);
    font-weight: 700;
}

/* ---------- Why Concord ---------- */
.wl-benefits {
    list-style: none !important;
    padding: 0 !important; margin: 0 !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.wl-benefits li {
    list-style: none !important;
    position: relative;
    margin: 0 !important;
    padding: 14px 16px 14px 56px !important;
    background: var(--wl-green-soft);
    border-radius: 12px;
    font-size: 14.5px;
    line-height: 1.6;
}
.wl-benefits li i {
    position: absolute; left: 16px; top: 14px;
    width: 28px; height: 28px;
    border-radius: 8px;
    background: var(--wl-green);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 15px;
}
.wl-benefits li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- FAQ ---------- */
.wl-faq details {
    background: #fff;
    border: 1px solid var(--wl-border);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}
.wl-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 14px 48px 14px 18px;
    font-weight: 700;
    color: var(--wl-heading);
    position: relative;
}
.wl-faq summary::-webkit-details-marker { display: none; }
.wl-faq summary::after {
    content: "+";
    position: absolute; right: 18px; top: 50%;
    transform: translateY(-50%);
    font-size: 22px; font-weight: 400;
    color: var(--wl-green);
}
.wl-faq details[open] summary { color: var(--wl-green); border-bottom: 1px solid var(--wl-border); }
.wl-faq details[open] summary::after { content: "\2212"; }
.wl-faq details p { padding: 14px 18px; margin: 0; font-size: 15px; }

/* ---------- Closing CTA ---------- */
.wl-cta {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: linear-gradient(135deg, var(--wl-navy) 0%, #13294b 100%);
    border-radius: var(--wl-radius);
    padding: 26px 28px;
}
.wl-cta > i {
    flex: 0 0 48px;
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--wl-green);
    color: #fff;
    font-size: 22px;
    display: inline-flex; align-items: center; justify-content: center;
}
.wl-page .wl-cta h2 {
    font-size: 20px !important;
    font-weight: 800;
    color: #fff !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
}
.wl-page .wl-cta p { color: rgba(255, 255, 255, .85); }
.wl-page .wl-cta a { color: #7ee2a8; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .wl-page h2.wl-title,
    body.inner-page .service-detail .wl-page h2.wl-title { font-size: 22px !important; }
    .wl-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
    .wl-ind-grid,
    .wl-steps,
    .wl-benefits { grid-template-columns: 1fr; }
    .wl-split { grid-template-columns: 1fr; }
    .wl-split .wl-photo--contain { max-width: 220px; margin: 0 auto; }
    .wl-cta { flex-direction: column; padding: 22px; }
}

/* Keep table words whole (theme forces break-word in content) */
.wl-table th, .wl-table td { word-break: normal !important; overflow-wrap: normal !important; hyphens: none !important; }
.wl-table td:first-child, .wl-table th:first-child { min-width: 140px; }
