/* project-014 local preview. Layout follows the approved page hierarchy. */
:root {
  --pap014-navy: #123454;
  --pap014-deep: #0d2945;
  --pap014-green: #3e8754;
  --pap014-ink: #173554;
  --pap014-muted: #526d82;
  --pap014-line: #d9e4ec;
  --pap014-mist: #f3f7fa;
}

body { color: var(--pap014-ink); }
.pap014-footer-inner > div:first-child { flex: 1; min-width: 0; max-width: 340px; }
.pap014-footer-inner > div:first-child p { overflow-wrap: anywhere; }
.pap014-card-image.pap014-client-image,
.pap014-detail-media img.pap014-client-image { object-fit: contain; background: #fff; }
.pap014-product-content .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pap014-product-content .gallery .gallery-item { float: none !important; width: auto !important; min-width: 0; margin: 0 !important; }
.pap014-product-content .gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border: 0 !important; background: #fff; }
.pap014-product-content .gallery br { display: none; }
.pap014-media-pending { min-height: 320px; border: 1px dashed var(--pap014-line); border-radius: 4px; background: var(--pap014-mist); }
.pap014-split-media.pap014-client-context-media img { object-fit: contain; background: #fff; }
.pap014-client-product .pap014-private-label { font-size: 11px; }
@media (max-width: 767px) {
  .pap014-product-content .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
body .ct-footer { display: none; }
.pap014-footer { background: var(--pap014-deep); color: #e8f1f6; }
.pap014-footer-inner { width: min(1180px, calc(100% - 40px)); margin: auto; padding: 44px 0; display: flex; justify-content: space-between; gap: 50px; }
.pap014-footer strong { color: #fff; font-size: 24px; letter-spacing: -.02em; }
.pap014-footer p { margin: 8px 0 0; color: #b7ccda; font-size: 13px; }
.pap014-footer nav { display: flex; flex-wrap: wrap; align-content: center; gap: 12px 24px; max-width: 610px; }
.pap014-footer a { color: #e8f1f6; font-size: 14px; text-decoration: none; }
.pap014-footer a:hover, .pap014-footer a:focus-visible { color: #fff; text-decoration: underline; }
.pap014-footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 200px; }
.pap014-footer-contact strong { font-size: 15px; }
.pap014-footer-contact .pap014-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; }
.pap014-footer-contact .pap014-contact > * { overflow-wrap: anywhere; color: #d6e7ec; font-size: 13px; line-height: 1.45; }
.pap014-footer-contact .pap014-footer-form-link { display: inline-block; margin-top: 4px; color: #cde0e8; font-weight: 700; }
.pap014-contact-copy .pap014-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 14px; }
.pap014-contact-copy .pap014-contact > * { color: #174d71; font-size: 15px; overflow-wrap: anywhere; }
.pap014-contact-copy .pap014-contact__address { color: var(--pap014-muted); }

/* Elementor page sections: text and images remain individually editable. */
.pap014-page-hero { position: relative; isolation: isolate; min-height: 350px; align-items: center; background-color: var(--pap014-deep); background-position: center; background-size: cover; }
.pap014-page-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(9, 37, 63, .92), rgba(9, 37, 63, .57) 54%, rgba(9, 37, 63, .18)); pointer-events: none; }
.pap014-page-hero-inner { z-index: 1; width: min(1180px, 100%); margin: auto; padding: 82px 30px; align-items: flex-start; }
.pap014-page-hero .elementor-heading-title { color: #fff; font: 750 clamp(38px, 5vw, 61px)/1.08 "Segoe UI", Arial, sans-serif; letter-spacing: -.035em; }
.pap014-page-hero .elementor-widget-text-editor p { max-width: 560px; margin: 12px 0 0; color: #e8f1f6; font: 17px/1.6 "Segoe UI", Arial, sans-serif; }
.pap014-page-hero .elementor-button { margin-top: 20px; padding: 15px 22px; border-radius: 4px; background: var(--pap014-green); color: #fff; font-weight: 700; }
/* Client product imagery: ensure the overlay is generated at the affected narrow breakpoints. */
@media (max-width: 900px) {
  body.page-id-31 .pap014-page-hero[data-id="6a7757b6"]::before { content: ""; display: block; background: rgba(9, 37, 63, .86); }
}
@media (max-width: 700px) {
  body.page-id-35 .pap014-page-hero[data-id="329a76e1"]::before { content: ""; display: block; background: rgba(9, 37, 63, .86); }
}
.pap014-page-section { padding: 76px 24px 84px; background: #fff; }
.pap014-page-section.pap014-soft { background: var(--pap014-mist); }
.pap014-section-inner { width: min(1180px, 100%); margin: auto; }
.pap014-page-section .elementor-heading-title { color: var(--pap014-ink); font: 750 clamp(29px, 3vw, 40px)/1.15 "Segoe UI", Arial, sans-serif; letter-spacing: -.025em; }
.pap014-page-section .elementor-widget-text-editor p { color: var(--pap014-muted); line-height: 1.68; }
.pap014-lead { max-width: 650px; margin: 14px 0 30px; }
.pap014-section-row { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
.pap014-section-row .elementor-button { color: #164f81; background: transparent; padding: 8px 0; font-weight: 700; }
.pap014-section-row .elementor-button:hover { text-decoration: underline; }
.pap014-split { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.pap014-split-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.pap014-split-copy { align-items: flex-start; }
.pap014-split-copy .elementor-button { background: var(--pap014-green); color: #fff; padding: 14px 21px; border-radius: 4px; margin-top: 14px; }
.pap014-internal-note p { color: #55738a; font-size: 13px; font-style: italic; }
.pap014-bottom-band { background: var(--pap014-deep); padding: 38px 24px; }
.pap014-bottom-band-inner { width: min(1180px, 100%); margin: auto; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
.pap014-bottom-band .elementor-heading-title { color: #fff; font: 700 clamp(24px, 2.6vw, 34px)/1.2 "Segoe UI", Arial, sans-serif; }
.pap014-bottom-band .elementor-button { background: var(--pap014-green); color: #fff; padding: 15px 23px; border-radius: 4px; }
.pap014-contact-grid { display: grid !important; grid-template-columns: .83fr 1.17fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.pap014-contact-panel { padding: 32px; border: 1px solid var(--pap014-line); border-radius: 5px; background: #f7fafc; }
.pap014-contact-panel .elementor-heading-title { font-size: clamp(25px, 2.5vw, 32px); }
.pap014-contact-panel .ff-el-group { margin-bottom: 18px; }
.pap014-contact-panel label { color: var(--pap014-ink); font-weight: 650; }
.pap014-contact-panel input:not([type="hidden"]), .pap014-contact-panel textarea { border: 1px solid #c8d7e2; border-radius: 3px; background: #fff; }
.pap014-contact-panel .ff-btn-submit { width: 100%; padding: 14px 22px; border: 0; border-radius: 4px; background: var(--pap014-green); color: #fff; font-weight: 700; }

/* Small dynamic fragments, populated only by published WP records (or authorized private preview). */
.pap014-product-grid, .pap014-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pap014-card, .pap014-news-card { min-width: 0; border: 1px solid var(--pap014-line); border-radius: 5px; overflow: hidden; background: #fff; box-shadow: 0 8px 26px rgba(19, 51, 77, .045); }
.pap014-card-link, .pap014-news-card > a { display: block; height: 100%; color: inherit; text-decoration: none; }
.pap014-card-link:hover, .pap014-card-link:focus-visible, .pap014-news-card > a:hover, .pap014-news-card > a:focus-visible { box-shadow: inset 0 0 0 2px var(--pap014-green); }
.pap014-card-media { display: block; background: #eaf0f3; }
.pap014-card-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.pap014-image-empty, .pap014-detail-image-empty { display: grid; place-items: center; color: #617f90; font-size: 14px; background: linear-gradient(135deg, #e1ebef, #f5f9fa); }
.pap014-card-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 19px 20px 22px; }
.pap014-card-copy strong, .pap014-news-copy strong { color: var(--pap014-ink); font-size: 18px; line-height: 1.32; }
.pap014-card-excerpt { color: var(--pap014-muted); font-size: 14px; line-height: 1.5; }
.pap014-card-action, .pap014-news-copy > span:last-child { margin-top: auto; padding-top: 4px; color: #165e8d; font-size: 14px; font-weight: 700; }
.pap014-private-label { display: inline-block; margin: 0 0 6px; padding: 4px 8px; color: #6a4a18; background: #fbecd1; border-radius: 3px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.pap014-empty { padding: 52px 36px; border: 1px dashed #bad0dc; border-radius: 5px; background: #f7fafb; text-align: center; }
.pap014-empty p { margin: 0 0 12px; color: var(--pap014-muted); font-size: 17px; }
.pap014-empty a { color: #155b88; font-weight: 700; }
.pap014-news-image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pap014-news-copy { display: flex; min-height: 135px; flex-direction: column; align-items: flex-start; gap: 9px; padding: 18px 20px 22px; }
.pap014-news-copy time { color: #6b869a; font-size: 13px; }
.pap014-product-context { padding: 12px 15px; border-left: 3px solid var(--pap014-green); background: #edf5ef; color: var(--pap014-ink); }

/* Detail view is the one necessary WP template in this free stack. */
.pap014-single-product { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 84px; }
.pap014-breadcrumb { display: flex; gap: 11px; align-items: center; flex-wrap: wrap; margin: 0 0 26px; color: #668196; font-size: 13px; }
.pap014-breadcrumb a { color: #28658c; text-decoration: none; }
.pap014-detail-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 68px); align-items: center; }
.pap014-detail-media { overflow: hidden; border: 1px solid var(--pap014-line); border-radius: 5px; background: #f3f7fa; }
.pap014-detail-media img, .pap014-detail-image-empty { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.pap014-detail-image-empty { display: grid; }
.pap014-detail-copy h1 { margin: 6px 0 18px; color: var(--pap014-ink); font: 750 clamp(34px, 4vw, 52px)/1.13 "Segoe UI", Arial, sans-serif; letter-spacing: -.035em; }
.pap014-detail-summary { max-width: 550px; margin: 0 0 27px; color: var(--pap014-muted); font-size: 17px; line-height: 1.7; }
.pap014-button { display: inline-flex; justify-content: center; gap: 12px; align-items: center; padding: 16px 24px; border-radius: 4px; color: #fff !important; background: var(--pap014-green); font-size: 14px; font-weight: 700; text-decoration: none !important; }
.pap014-button:hover, .pap014-button:focus-visible { background: #326f44; }
.pap014-detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 76px; padding-top: 54px; border-top: 1px solid var(--pap014-line); }
.pap014-detail-body h2, .pap014-related h2 { margin: 0 0 18px; color: var(--pap014-ink); font-size: 30px; line-height: 1.2; }
.pap014-product-content, .pap014-detail-fields p { color: var(--pap014-muted); line-height: 1.7; }
.pap014-detail-fields { display: grid; gap: 20px; }
.pap014-detail-fields section { padding: 24px; border: 1px solid var(--pap014-line); border-radius: 5px; }
.pap014-detail-fields h2 { margin-bottom: 8px; font-size: 21px; }
.pap014-detail-fields p { margin: 0; }
.pap014-related { margin-top: 76px; }
.pap014-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.pap014-section-heading h2 { margin: 0; }
.pap014-section-heading a { color: #165e8d; font-weight: 700; }
.pap014-bottom-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 76px; padding: 30px 36px; background: var(--pap014-mist); }
.pap014-bottom-cta p { margin: 0; color: var(--pap014-ink); font-size: 22px; font-weight: 700; }

/* Home retains its original editable hero and split section. */
body.home .pap-products-section .pap014-product-grid { margin-top: 22px; }
body.home .pap-products-section .pap014-empty { margin-top: 22px; }
body.home .pap-news-section { padding: 76px max(24px, calc((100vw - 1180px) / 2)) 84px; }
body.home .pap-news-section .elementor-heading-title { color: var(--pap014-ink); font-size: clamp(29px, 3vw, 40px); }

@media (max-width: 900px) {
  .pap014-product-grid, .pap014-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pap014-contact-grid { grid-template-columns: 1fr; }
  .pap014-detail-body { gap: 28px; }
  .pap014-footer-inner { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .pap014-footer-inner, .pap014-bottom-band-inner, .pap014-bottom-cta { flex-direction: column; align-items: flex-start; }
  .pap014-page-hero { min-height: 300px; }
  .pap014-page-hero-inner { padding: 64px 22px; }
  .pap014-page-section { padding: 54px 20px 62px; }
  .pap014-split, .pap014-detail-intro, .pap014-detail-body { grid-template-columns: 1fr; }
  .pap014-section-row { align-items: flex-start; }
  .pap014-product-grid, .pap014-news-grid { grid-template-columns: 1fr; }
  .pap014-contact-panel { padding: 22px; }
  .pap014-single-product { padding-top: 20px; }
  .pap014-detail-body, .pap014-related { margin-top: 52px; }
  .pap014-bottom-cta { padding: 25px; margin-top: 52px; }
  .pap014-empty { padding: 40px 22px; }
  body.home .pap-news-section { padding: 54px 20px 62px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }

/* Elementor's generated .e-con spacing and flex variables need explicit page overrides. */
.elementor .pap014-page-hero-inner { width: min(1180px, calc(100% - 40px)); max-width: 1180px; margin-inline: auto; padding: 82px 30px; --padding-top: 82px; --padding-right: 30px; --padding-bottom: 82px; --padding-left: 30px; align-items: flex-start; }
.elementor .pap014-page-section { padding: 76px 24px 84px; --padding-top: 76px; --padding-right: 24px; --padding-bottom: 84px; --padding-left: 24px; }
.elementor .pap014-section-inner { width: min(1180px, 100%); max-width: 1180px; margin-inline: auto; }
.elementor .pap014-bottom-band { padding: 38px 24px; --padding-top: 38px; --padding-right: 24px; --padding-bottom: 38px; --padding-left: 24px; }
.elementor .pap014-bottom-band-inner { width: min(1180px, 100%); max-width: 1180px; margin-inline: auto; flex-direction: row; --flex-direction: row; align-items: center; justify-content: space-between; }
.elementor .pap014-section-row { flex-direction: row; --flex-direction: row; align-items: center; justify-content: space-between; }
.elementor .pap-news-section { padding: 76px max(24px, calc((100vw - 1180px) / 2)) 84px; }
.pap014-contact-panel .ff-btn-submit { background: var(--pap014-green) !important; border-color: var(--pap014-green) !important; }
.pap-products-section .elementor-widget-button .elementor-button, .pap-about-copy .elementor-widget-button .elementor-button { background: var(--pap014-green); color: #fff; padding: 14px 21px; border-radius: 4px; margin-top: 14px; }
body.page-id-31 .pap014-page-section .elementor-heading-title { text-align: center; }

@media (max-width: 700px) {
  .elementor .pap014-page-hero-inner { padding: 64px 22px; --padding-top: 64px; --padding-right: 22px; --padding-bottom: 64px; --padding-left: 22px; }
  .elementor .pap014-page-section { padding: 54px 20px 62px; --padding-top: 54px; --padding-right: 20px; --padding-bottom: 62px; --padding-left: 20px; }
  .elementor .pap014-bottom-band-inner { flex-direction: column; --flex-direction: column; align-items: flex-start; }
  .elementor .pap-news-section { padding: 54px 20px 62px; }
}
