/* =========================================================
   Bluepipes – Inner pages (About, PCD, Third-Party, Contact,
   Blog, Shop, Product). Uses tokens from home-modern.css.
========================================================= */
:root {
	--bpi-ink: #0a1b3d; --bpi-ink-2: #0e2a5e; --bpi-ink-3: #15408a;
	--bpi-blue: #0b5ed7; --bpi-blue-2: #2d7ff9; --bpi-orange: #ff6a13; --bpi-orange-2: #ff9330;
	--bpi-soft: #edf3ff; --bpi-line: #dbe5f4; --bpi-text: #1f2f4a; --bpi-muted: #45567a;
	--bpi-display: 'Poppins', system-ui, sans-serif; --bpi-body: 'DM Sans', system-ui, sans-serif;
	--bpi-ease: cubic-bezier(.22, 1, .36, 1);
}
body:not(.home) { font-family: var(--bpi-body); color: var(--bpi-text); }
body:not(.home) h1, body:not(.home) h2, body:not(.home) h3, body:not(.home) h4 { font-family: var(--bpi-display); color: var(--bpi-ink); }

/* ---------------- PAGE HERO ---------------- */
.bph-phero { position: relative; overflow: hidden; background: var(--bpi-ink); color: #dbe6f7; padding: 46px 0 78px; }
.bph-phero__photo { position: absolute; top: 0; bottom: 0; right: 0; left: 42%; background-size: cover; background-position: center; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%); mask-image: linear-gradient(90deg, transparent 0%, #000 40%); animation: bph-kenburns 16s ease-in-out infinite alternate; }
.bph-phero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,24,58,1) 0%, rgba(8,24,58,.95) 40%, rgba(10,35,85,.55) 70%, rgba(10,35,85,.3) 100%); }
.bph-phero__shade::after { content: ""; position: absolute; width: 480px; height: 480px; left: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,19,.3), transparent 65%); }
.bph-phero .bph-grid { position: absolute; inset: 0; opacity: .5; }
.bph-phero__in { position: relative; z-index: 2; max-width: 1240px; }
.bph-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; font-weight: 600; color: #b7c7e3; }
.bph-crumbs a { display: inline-flex; align-items: center; gap: 6px; color: #fff !important; text-decoration: none !important; }
.bph-crumbs a:hover { color: var(--bpi-orange-2) !important; }
.bph .bph-crumbs svg { width: 15px; height: 15px; color: var(--bpi-orange-2); }
.bph-crumbs .sep { opacity: .5; }
.bph-crumbs .is-current { color: var(--bpi-orange-2); }
.bph-phero .bph-pill { margin-bottom: 4px; }
.bph-phero__title { margin: 14px 0 12px !important; max-width: 760px; font-size: clamp(32px, 4.4vw, 54px) !important; font-weight: 800 !important; line-height: 1.1 !important; letter-spacing: -.03em; color: #fff !important; }
.bph-phero__title span { background: linear-gradient(95deg, #ffc04d, #ff7a1a 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bph-phero__sub { max-width: 640px; font-size: 18px; line-height: 1.7; color: #d3def2; margin: 0; }
.bph-phero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.bph-phero__certs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.bph-phero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 44px; fill: #fff; z-index: 2; }
.bph .bph-phero__wave { width: 100%; height: 44px; }
.bph-cert--mini { padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.bph-cert--mini .bph-cert__seal { width: 34px; height: 34px; font-size: 16px; }
.bph-cert--mini .bph-cert__seal::before { inset: -3px; }
.bph-cert--mini .bph-cert__tick { width: 15px; height: 15px; font-size: 8px; right: -3px; bottom: -2px; border-color: var(--bpi-ink); }
.bph-cert--mini .bph-cert__txt b { color: #fff; font-size: 13px; }
.bph-cert--mini .bph-cert__txt small { display: none; }

/* ---------------- ARTICLE + SIDEBAR ---------------- */
.bph-artwrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.bph-prose { font-size: 17px; line-height: 1.8; color: var(--bpi-text); }
.bph-prose > *:first-child { margin-top: 0; }
.bph-prose h2 { position: relative; margin: 40px 0 14px; padding-left: 18px; font-size: clamp(24px, 2.4vw, 31px); font-weight: 800; line-height: 1.25; color: var(--bpi-ink); }
.bph-prose h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; border-radius: 4px; background: linear-gradient(var(--bpi-orange-2), var(--bpi-orange)); }
.bph-prose h3 { margin: 28px 0 10px; font-size: 21px; font-weight: 700; color: var(--bpi-ink); }
.bph-prose h4 { margin: 22px 0 8px; font-size: 18px; font-weight: 700; }
.bph-prose p { margin: 0 0 16px; }
.bph-prose a { color: var(--bpi-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bph-prose ul, .bph-prose ol { margin: 0 0 20px; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bph-prose li { position: relative; padding: 12px 14px 12px 44px; border-radius: 14px; background: var(--bpi-soft); border: 1px solid var(--bpi-line); font-weight: 600; font-size: 16px; line-height: 1.5; }
.bph-prose li::before { content: ""; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--bpi-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.bph-prose strong, .bph-prose b { color: var(--bpi-ink); }
.bph-prose__box { padding: 34px 38px; border-radius: 28px; background: #fff; border: 1px solid var(--bpi-line); box-shadow: 0 24px 50px -36px rgba(10,27,61,.35); }

.bph-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.bph-side__card { padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--bpi-line); box-shadow: 0 20px 44px -32px rgba(10,27,61,.4); }
.bph-side__card h3 { margin: 6px 0 4px; font-size: 21px; font-weight: 800; }
.bph-side__card h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 17px; font-weight: 700; }
.bph .bph-side__card h4 svg { width: 18px; height: 18px; color: var(--bpi-orange); }
.bph-side__card > p { margin: 0 0 14px; font-size: 14.5px; color: var(--bpi-muted); }
.bph-side__kicker { display: inline-flex; align-items: center; gap: 6px; font-family: var(--bpi-display); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bpi-orange); }
.bph .bph-side__kicker svg { width: 14px; height: 14px; }
.bph-side__form { background: linear-gradient(180deg, #fff 0%, #f7faff 100%); border-top: 4px solid var(--bpi-orange); }
.bph-side__form .cf7-modern-form { box-shadow: none !important; padding: 0 !important; background: none !important; }
.bph-side__form .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]), .bph-side__form .wpcf7 textarea, .bph-side__form .wpcf7 select { width: 100%; border: 1.5px solid var(--bpi-line) !important; border-radius: 12px !important; padding: 11px 14px !important; font-family: var(--bpi-body); font-size: 15px; background: #fff !important; }
.bph-side__form .wpcf7 textarea { max-height: 90px; }
.bph-side__form .wpcf7 input:focus, .bph-side__form .wpcf7 textarea:focus { border-color: var(--bpi-blue) !important; outline: none; box-shadow: 0 0 0 4px rgba(11,94,215,.12); }
.bph-side__form .wpcf7 [class*="col"], .bph-side__form .wpcf7 .field-row, .bph-side__form .wpcf7 .form-row { grid-template-columns: 1fr !important; flex-direction: column; width: 100% !important; max-width: 100% !important; }
.bph-side__form input[type=submit], .bph-side__form button[type=submit] { width: 100%; border: 0 !important; border-radius: 999px !important; padding: 14px 20px !important; background: linear-gradient(135deg, var(--bpi-orange-2), var(--bpi-orange)) !important; color: #fff !important; font-family: var(--bpi-display); font-weight: 800; font-size: 15.5px; cursor: pointer; box-shadow: 0 14px 28px -12px rgba(255,106,19,.8); }
.bph-side__call { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, var(--bpi-ink), var(--bpi-ink-3)); border: 0; color: #fff; }
.bph-side__callic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--bpi-orange-2), var(--bpi-orange)); }
.bph .bph-side__callic svg { width: 22px; height: 22px; color: #fff; }
.bph-side__call div { flex: 1; min-width: 0; }
.bph-side__call small { display: block; font-size: 12.5px; color: #b7c7e3; font-weight: 600; }
.bph-side__call div a { font-family: var(--bpi-display); font-size: 18px; font-weight: 700; color: #fff !important; text-decoration: none !important; }
.bph-side__wa { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #1fbf5f; color: #fff !important; flex: none; }
.bph .bph-side__wa svg { width: 20px; height: 20px; }
.bph-side__cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 360px; overflow: auto; }
.bph-side__cats a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; font-weight: 600; font-size: 15px; color: var(--bpi-text) !important; text-decoration: none !important; transition: background .25s, color .25s, padding .3s var(--bpi-ease); }
.bph-side__cats a:hover, .bph-side__cats a.is-active { background: var(--bpi-soft); color: var(--bpi-blue) !important; padding-left: 16px; }
.bph-side__cats em { font-style: normal; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--bpi-soft); color: var(--bpi-blue); }
.bph-side__cats a.is-active em { background: var(--bpi-orange); color: #fff; }

/* ---------------- shared inner blocks ---------------- */
.bph-iconcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bph-iconcard { position: relative; padding: 26px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--bpi-line); transition: transform .4s var(--bpi-ease), box-shadow .4s, border-color .3s; overflow: hidden; }
.bph-iconcard::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--bpi-orange-2), var(--bpi-orange)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--bpi-ease); }
.bph-iconcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(10,27,61,.5); border-color: transparent; }
.bph-iconcard:hover::after { transform: scaleX(1); }
.bph-iconcard__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; background: linear-gradient(135deg, var(--bpi-blue-2), var(--bpi-blue)); box-shadow: 0 14px 26px -12px rgba(11,94,215,.8); }
.bph .bph-iconcard__ic svg { width: 26px; height: 26px; }
.bph-iconcard:nth-child(3n+2) .bph-iconcard__ic { background: linear-gradient(135deg, var(--bpi-orange-2), var(--bpi-orange)); box-shadow: 0 14px 26px -12px rgba(255,106,19,.8); }
.bph-iconcard:nth-child(3n) .bph-iconcard__ic { background: linear-gradient(135deg, #2dd4a7, #0c9a74); box-shadow: 0 14px 26px -12px rgba(12,154,116,.8); }
.bph-iconcard__num { position: absolute; top: 14px; right: 18px; font-family: var(--bpi-display); font-weight: 800; font-size: 40px; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(11,94,215,.18); }
.bph-iconcard h3 { margin: 0 0 8px; font-size: 19.5px; font-weight: 700; }
.bph-iconcard p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--bpi-muted); }

.bph-hlstrip { position: relative; z-index: 3; margin-top: -34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -36px rgba(10,27,61,.55); border: 1px solid var(--bpi-line); }
.bph-hlstrip > div { display: flex; align-items: center; gap: 14px; padding: 22px 22px; }
.bph-hlstrip > div + div { border-left: 1px solid var(--bpi-line); }
.bph-hlstrip span { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--bpi-soft); color: var(--bpi-blue); }
.bph .bph-hlstrip span svg { width: 24px; height: 24px; }
.bph-hlstrip b { display: block; font-family: var(--bpi-display); font-size: 17px; color: var(--bpi-ink); line-height: 1.25; }
.bph-hlstrip small { font-size: 14px; color: var(--bpi-muted); font-weight: 600; }

.bph-chipgrid { display: flex; flex-wrap: wrap; gap: 10px; }
.bph-chipgrid a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 14px; background: #fff; border: 1.5px solid var(--bpi-line); font-family: var(--bpi-display); font-weight: 600; font-size: 15px; color: var(--bpi-ink) !important; text-decoration: none !important; transition: all .3s var(--bpi-ease); }
.bph-chipgrid a em { font-style: normal; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--bpi-soft); color: var(--bpi-blue); }
.bph-chipgrid a:hover { background: var(--bpi-blue); border-color: var(--bpi-blue); color: #fff !important; transform: translateY(-3px); }
.bph-chipgrid a:hover em { background: #fff; }
.bph .bph-chipgrid a svg { width: 16px; height: 16px; color: var(--bpi-orange); }

.bph-steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.bph-steps4::before { content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--bpi-blue) 0 8px, transparent 8px 16px); opacity: .35; }

/* MVV cards (about) */
.bph-mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bph-mvv__card { position: relative; padding: 32px 28px; border-radius: 26px; color: #dbe6f7; overflow: hidden; background: radial-gradient(120% 100% at 100% 0%, #1e6ff0 0%, #0c3f99 45%, var(--bpi-ink) 100%); box-shadow: 0 30px 60px -36px rgba(10,27,61,.7); }
.bph-mvv__card:nth-child(2) { background: radial-gradient(120% 100% at 100% 0%, #ff9330 0%, #e4520c 45%, #7a2604 100%); }
.bph-mvv__card:nth-child(3) { background: radial-gradient(120% 100% at 100% 0%, #2dd4a7 0%, #0b8f6c 45%, #053d2f 100%); }
.bph-mvv__card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 34px solid rgba(255,255,255,.08); }
.bph-mvv__ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); color: #fff; }
.bph .bph-mvv__ic svg { width: 28px; height: 28px; }
.bph-mvv__card h3 { color: #fff !important; font-size: 24px; font-weight: 800; margin: 0 0 10px; }
.bph-mvv__card p { margin: 0; font-size: 16.5px; line-height: 1.7; color: #eef3fc; position: relative; z-index: 1; }

.bph-certrow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.bph-certrow .bph-cert { flex-direction: column; text-align: center; padding: 26px 14px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--bpi-line); transition: transform .4s var(--bpi-ease), box-shadow .4s; }
.bph-certrow .bph-cert:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(10,27,61,.5); }
.bph-certrow .bph-cert__seal { width: 70px; height: 70px; font-size: 32px; }
.bph-certrow .bph-cert__tick { width: 24px; height: 24px; font-size: 13px; }
.bph-certrow .bph-cert__txt { text-align: center; }
.bph-certrow .bph-cert__txt b { font-size: 17px; margin-top: 6px; }
.bph-certrow .bph-cert__txt small { font-size: 13.5px; }

/* two-card link row */
.bph-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.bph-duo a { position: relative; display: flex; align-items: center; gap: 20px; padding: 28px; border-radius: 26px; overflow: hidden; color: #fff !important; text-decoration: none !important; background: linear-gradient(120deg, var(--bpi-blue-2), var(--bpi-blue) 50%, #0a3f94); box-shadow: 0 30px 60px -36px rgba(11,94,215,.8); transition: transform .4s var(--bpi-ease); }
.bph-duo a:nth-child(2) { background: linear-gradient(120deg, #18c0c9, #0b7f9e 50%, #063a58); box-shadow: 0 30px 60px -36px rgba(11,127,158,.8); }
.bph-duo a:hover { transform: translateY(-6px); }
.bph-duo__ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); }
.bph .bph-duo__ic svg { width: 30px; height: 30px; }
.bph-duo b { display: block; font-family: var(--bpi-display); font-size: 22px; font-weight: 800; }
.bph-duo small { display: block; margin-top: 4px; font-size: 15px; color: #e3ecfa; }
.bph-duo__go { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fff; color: var(--bpi-ink); }
.bph .bph-duo__go svg { width: 20px; height: 20px; }

/* contact */
.bph-ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bph-ccard { display: flex; flex-direction: column; gap: 10px; padding: 26px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--bpi-line); text-decoration: none !important; color: var(--bpi-text) !important; transition: transform .4s var(--bpi-ease), box-shadow .4s; }
.bph-ccard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(10,27,61,.5); }
.bph-ccard__ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--bpi-blue-2), var(--bpi-blue)); }
.bph-ccard:nth-child(2) .bph-ccard__ic { background: linear-gradient(135deg, #2bd46d, #13a84f); }
.bph-ccard:nth-child(3) .bph-ccard__ic { background: linear-gradient(135deg, var(--bpi-orange-2), var(--bpi-orange)); }
.bph-ccard:nth-child(4) .bph-ccard__ic { background: linear-gradient(135deg, #9a6cff, #6a36d0); }
.bph .bph-ccard__ic svg { width: 24px; height: 24px; }
.bph-ccard small { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bpi-muted); }
.bph-ccard b { font-family: var(--bpi-display); font-size: 17px; font-weight: 700; color: var(--bpi-ink); line-height: 1.4; word-break: break-word; }
.bph-contact { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: stretch; }
.bph-contact__form { padding: 34px; border-radius: 28px; background: #fff; border: 1px solid var(--bpi-line); border-top: 5px solid var(--bpi-orange); box-shadow: 0 30px 60px -40px rgba(10,27,61,.5); }
.bph-contact__form h2 { font-size: 30px; font-weight: 800; margin: 6px 0 6px; }
.bph-contact__form > p { color: var(--bpi-muted); margin: 0 0 20px; }
.bph-contact__map { position: relative; min-height: 420px; border-radius: 28px; overflow: hidden; border: 1px solid var(--bpi-line); box-shadow: 0 30px 60px -40px rgba(10,27,61,.5); }
.bph-contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bph-contact__hours { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(10,27,61,.92); color: #fff; backdrop-filter: blur(8px); }
.bph .bph-contact__hours svg { width: 26px; height: 26px; color: var(--bpi-orange-2); flex: none; }
.bph-contact__hours b { display: block; font-family: var(--bpi-display); }
.bph-contact__hours small { color: #c3d1ea; font-size: 14px; }
.bph-contact__form .cf7-modern-form { box-shadow: none !important; padding: 0 !important; background: none !important; }
.bph-contact__form .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]), .bph-contact__form .wpcf7 textarea { width: 100%; border: 1.5px solid var(--bpi-line) !important; border-radius: 14px !important; padding: 13px 16px !important; font-family: var(--bpi-body); font-size: 15.5px; background: #f7faff !important; }
.bph-contact__form .wpcf7 input:focus, .bph-contact__form .wpcf7 textarea:focus { border-color: var(--bpi-blue) !important; background: #fff !important; outline: none; box-shadow: 0 0 0 4px rgba(11,94,215,.12); }
.bph-contact__form input[type=submit] { width: 100%; border: 0 !important; border-radius: 999px !important; padding: 16px 24px !important; background: linear-gradient(135deg, var(--bpi-orange-2), var(--bpi-orange)) !important; color: #fff !important; font-family: var(--bpi-display); font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(255,106,19,.8); }

/* ---------------- default (Elementor / other) pages ---------------- */
body.page:not(.home) .page-header { position: relative; overflow: hidden; margin: 0 0 30px; padding: 54px 20px 58px; background: radial-gradient(120% 120% at 0% 0%, #123b85, var(--bpi-ink-2) 45%, var(--bpi-ink)); text-align: left; }
body.page:not(.home) .page-header::after { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,19,.3), transparent 65%); }
body.page:not(.home) .page-header .entry-title { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto !important; padding: 0 !important; font-size: clamp(30px, 4vw, 48px) !important; font-weight: 800; color: #fff !important; }

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
	.bph-artwrap { grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; }
	.bph-certrow { grid-template-columns: repeat(3, 1fr); }
	.bph-ccards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
	.bph-artwrap, .bph-contact { grid-template-columns: 1fr; }
	.bph-side { position: static; }
	.bph-phero__photo { left: 0; opacity: .35; -webkit-mask-image: none; mask-image: none; }
	.bph-iconcards, .bph-mvv { grid-template-columns: 1fr 1fr; }
	.bph-hlstrip { grid-template-columns: 1fr 1fr; }
	.bph-hlstrip > div:nth-child(3) { border-left: 0; }
	.bph-hlstrip > div:nth-child(n+3) { border-top: 1px solid var(--bpi-line); }
	.bph-steps4 { grid-template-columns: 1fr 1fr; }
	.bph-steps4::before { display: none; }
	.bph-duo { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.bph-phero { padding: 30px 0 62px; }
	.bph-phero__sub { font-size: 16px; }
	.bph-phero__cta .bph-btn { flex: 1; }
	.bph-prose { font-size: 16px; }
	.bph-prose ul, .bph-prose ol { grid-template-columns: 1fr; }
	.bph-prose__box { padding: 22px 18px; border-radius: 20px; }
	.bph-iconcards, .bph-mvv, .bph-steps4 { grid-template-columns: 1fr; }
	.bph-hlstrip { grid-template-columns: 1fr; margin-top: -24px; }
	.bph-hlstrip > div + div { border-left: 0; border-top: 1px solid var(--bpi-line); }
	.bph-certrow { grid-template-columns: 1fr 1fr; }
	.bph-ccards { grid-template-columns: 1fr; }
	.bph-contact__form { padding: 22px 18px; }
	.bph-contact__map { min-height: 340px; }
	.bph-duo a { padding: 20px; }
	.bph-duo b { font-size: 19px; }
}

/* ---------------- BLOG ---------------- */
.bph-blog--list { grid-template-columns: repeat(3, 1fr); }
.bph-bcard__ex { font-size: 15.5px; color: var(--bpi-muted); line-height: 1.6; }
.bph-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; }
.bph-pager .page-numbers { min-width: 46px; height: 46px; padding: 0 16px; border-radius: 14px; display: inline-grid; place-items: center; font-family: var(--bpi-display); font-weight: 700; color: var(--bpi-ink) !important; background: #fff; border: 1.5px solid var(--bpi-line); text-decoration: none !important; transition: all .25s; }
.bph-pager .page-numbers:hover { border-color: var(--bpi-blue); color: var(--bpi-blue) !important; }
.bph-pager .page-numbers.current { background: linear-gradient(135deg, var(--bpi-orange-2), var(--bpi-orange)); border-color: transparent; color: #fff !important; }
.bph-empty { max-width: 560px; margin: 0 auto; text-align: center; padding: 50px 30px; border-radius: 28px; background: var(--bpi-soft); border: 1px dashed rgba(11,94,215,.35); }
.bph-empty > span { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; background: #fff; color: var(--bpi-blue); }
.bph .bph-empty > span svg { width: 32px; height: 32px; }
.bph-empty h3 { font-size: 24px; margin-bottom: 8px !important; }
.bph-empty p { color: var(--bpi-muted); margin-bottom: 20px !important; }
.bph-post__img { width: 100%; border-radius: 20px; margin-bottom: 26px; }
.bph-post img { max-width: 100%; height: auto; border-radius: 16px; }
.bph-post__share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--bpi-line); }
.bph-post__share a { padding: 8px 16px; border-radius: 999px; background: var(--bpi-soft); color: var(--bpi-blue); font-weight: 700; font-size: 14px; text-decoration: none; }
.bph-post__share a:hover { background: var(--bpi-blue); color: #fff; }
.bph-side__posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.bph-side__posts a { display: block; padding: 10px 12px; border-radius: 12px; text-decoration: none !important; transition: background .25s; }
.bph-side__posts a:hover { background: var(--bpi-soft); }
.bph-side__posts b { display: block; font-family: var(--bpi-display); font-size: 15px; font-weight: 600; color: var(--bpi-ink); line-height: 1.35; }
.bph-side__posts small { font-size: 13px; color: var(--bpi-muted); }
.bph-post .bph-prose ul, .bph-post ul, .bph-post ol { grid-template-columns: 1fr; }
@media (max-width: 991px) { .bph-blog--list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .bph-blog--list { grid-template-columns: 1fr; } }

/* ---------------- SHOP / CATEGORY ---------------- */
.bph-shop__grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 30px; align-items: start; }
.bph-shop__side { position: sticky; top: 96px; display: grid; gap: 16px; }
.bph-shop__side .bph-side__cats { max-height: 440px; }
.bph-shop__promo { background: linear-gradient(135deg, #fff5ec, #ffe8d6); border-color: #ffd9bb; }
.bph-shop__promo b { display: block; font-family: var(--bpi-display); font-size: 17px; color: var(--bpi-ink); }
.bph-shop__promo p { margin: 4px 0 14px !important; font-size: 14.5px; color: var(--bpi-muted); }
.bph-shop__promo .bph-btn { width: 100%; }
.bph-shop__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; padding: 12px; border-radius: 20px; background: var(--bpi-soft); border: 1px solid var(--bpi-line); }
.bph-shop__count { font-weight: 700; color: var(--bpi-ink); padding-left: 6px; }
.bph-shop__count p { margin: 0 !important; font-size: 15px; }
.bph-shop__search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px; border-radius: 14px; background: #fff; border: 1.5px solid var(--bpi-line); margin: 0; }
.bph-shop__search:focus-within { border-color: var(--bpi-blue); box-shadow: 0 0 0 4px rgba(11,94,215,.1); }
.bph .bph-shop__search svg { width: 18px; height: 18px; color: var(--bpi-blue); }
.bph-shop__search input[type=search] { flex: 1; min-width: 0; height: 40px; border: 0 !important; outline: none !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; font-size: 15px; font-family: var(--bpi-body); }
#bph-home .bph-shop__search button { padding: 10px 18px; border: 0; border-radius: 10px; background: linear-gradient(135deg, var(--bpi-orange-2), var(--bpi-orange)); color: #fff; font-family: var(--bpi-display); font-weight: 700; font-size: 14px; cursor: pointer; }
.bph-shop__order form { margin: 0 !important; }
.bph-shop__order select { height: 44px; padding: 0 36px 0 14px; border-radius: 12px; border: 1.5px solid var(--bpi-line); background-color: #fff; font-family: var(--bpi-body); font-weight: 600; color: var(--bpi-ink); }
ul.bph-plist { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 22px; width: 100% !important; }
ul.bph-plist::before, ul.bph-plist::after { display: none !important; }
ul.bph-plist > li.bph-pli { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; list-style: none; }
ul.bph-plist--4 { grid-template-columns: repeat(4, 1fr); }
.bph-pc__pack { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--bpi-ink); }
.bph .bph-pc__pack svg { width: 15px; height: 15px; color: var(--bpi-orange); }
.bph-pc__price { font-family: var(--bpi-display); font-weight: 700; color: var(--bpi-blue); }
.bph-pager--woo .woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; border: 0 !important; margin: 0; padding: 0; list-style: none; }
.bph-pager--woo .woocommerce-pagination ul li { border: 0 !important; margin: 0; float: none; overflow: visible; }
.bph-pager--woo { display: block; }

/* ---------------- SINGLE PRODUCT ---------------- */
.bph-sp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.bph-sp__gallery { position: relative; padding: 18px; border-radius: 28px; background: radial-gradient(120% 90% at 50% 0%, #fff 0%, #eef5ff 100%); border: 1px solid var(--bpi-line); box-shadow: 0 30px 60px -40px rgba(10,27,61,.5); }
.bph-sp__gallery .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; opacity: 1 !important; }
.bph-sp__gallery .woocommerce-product-gallery__image img { border-radius: 18px; background: #fff; }
.bph-sp__gallery .flex-control-thumbs { display: flex; gap: 10px; margin: 14px 0 0 !important; padding: 0; list-style: none; }
.bph-sp__gallery .flex-control-thumbs li { width: 80px !important; float: none !important; margin: 0 !important; }
.bph-sp__gallery .flex-control-thumbs img { border-radius: 12px; border: 2px solid transparent; opacity: .7; cursor: pointer; transition: all .25s; }
.bph-sp__gallery .flex-control-thumbs img.flex-active, .bph-sp__gallery .flex-control-thumbs img:hover { border-color: var(--bpi-orange); opacity: 1; }
.bph-sp__gallery .woocommerce-product-gallery__trigger { z-index: 5; top: 26px !important; right: 26px !important; }
.bph-sp__gmp { position: absolute; z-index: 4; top: 30px; left: 30px; }
.bph-sp__cat { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #e3edff; color: var(--bpi-blue) !important; font-family: var(--bpi-display); font-weight: 700; font-size: 13.5px; text-decoration: none !important; }
.bph .bph-sp__cat svg { width: 15px; height: 15px; color: var(--bpi-orange); }
.bph-sp__title { margin: 14px 0 10px !important; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.bph-sp__short { font-size: 17px; color: var(--bpi-muted); }
.bph-sp__price { margin-top: 8px; font-family: var(--bpi-display); font-size: 24px; font-weight: 800; color: var(--bpi-blue); }
.bph-sp__specs { list-style: none; margin: 22px 0 0; padding: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--bpi-line); }
.bph-sp__specs li { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 13px 18px; font-size: 15.5px; }
.bph-sp__specs li:nth-child(odd) { background: var(--bpi-soft); }
.bph-sp__specs span { font-weight: 700; color: var(--bpi-muted); }
.bph-sp__specs b { font-weight: 700; color: var(--bpi-ink); }
.bph-sp__specs b a { color: var(--bpi-blue); text-decoration: none; }
.bph-sp__specs b.is-ok { display: inline-flex; align-items: center; gap: 6px; color: #0c8f6a; }
.bph .bph-sp__specs b.is-ok svg { width: 16px; height: 16px; }
.bph-sp__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.bph-sp__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.bph-sp__trust .bph-usp { padding: 12px 18px; font-size: 14px; }
.bph-sp__desc { margin-top: 40px; }
.bph-sp__enq { margin-top: 40px; padding: 30px; border-radius: 30px; background: radial-gradient(120% 120% at 0% 0%, #123b85 0%, var(--bpi-ink-2) 45%, var(--bpi-ink) 100%); box-shadow: 0 40px 80px -40px rgba(10,27,61,.7); }
.bph-sp__enqtxt { padding: 10px 10px 10px 6px; color: #cbd8ee; }
.bph-sp__enqtxt h2 { color: #fff !important; font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; line-height: 1.2; margin: 6px 0 12px !important; }
.bph-sp__enqtxt h2 span { background: linear-gradient(95deg, #ffc04d, #ff7a1a 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bph-sp__enqtxt p { color: #d3def2; font-size: 16.5px; }
.bph-sp__enqtxt ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.bph-sp__enqtxt li { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.bph .bph-sp__enqtxt li > svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--bpi-orange-2); flex: none; }
.bph-sp__enqtxt li small { display: block; font-size: 12.5px; color: #b7c7e3; }
.bph-sp__enqtxt li a { color: #fff !important; text-decoration: none; }
.bph-sp__rel { margin-top: 50px; }

@media (max-width: 1100px) {
	ul.bph-plist { grid-template-columns: repeat(2, 1fr); }
	ul.bph-plist--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
	.bph-shop__grid { grid-template-columns: 1fr; }
	.bph-shop__side { position: static; grid-template-columns: 1fr; order: 2; }
	.bph-shop__side .bph-side__cats { display: flex; flex-wrap: nowrap; overflow-x: auto; max-height: none; gap: 8px; }
	.bph-shop__side .bph-side__cats a { white-space: nowrap; border: 1px solid var(--bpi-line); }
	.bph-shop__main { order: 1; }
	.bph-sp__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 680px) {
	ul.bph-plist, ul.bph-plist--4 { grid-template-columns: 1fr 1fr; gap: 12px; }
	.bph-plist .bph-pc__body { padding: 12px; }
	.bph-plist .bph-pc h3 { font-size: 15px; }
	.bph-plist .bph-pc__more span { width: 28px; height: 28px; }
	.bph-plist .bph-pc__actions { padding: 0 8px 8px; gap: 6px; }
	#bph-home .bph-plist .bph-pc__act { font-size: 12px; padding: 9px 6px; }
	.bph-shop__bar { padding: 10px; }
	.bph-shop__order, .bph-shop__order select { width: 100%; }
	.bph-sp__specs li { grid-template-columns: 1fr; gap: 2px; }
	.bph-sp__btns .bph-btn { flex: 1 1 100%; }
	.bph-sp__enq { padding: 18px; border-radius: 22px; }
}

/* WooCommerce page overrides (logo + grid) */
#header .bpx-logo img { height: 46px !important; width: auto !important; max-width: none !important; }
#header.scrolled .bpx-logo img { height: 40px !important; }
.mobile-nav .mn-head .logo img { height: 40px !important; width: auto !important; }
.bph ul.products.bph-plist { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.bph ul.products.bph-plist.bph-plist--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.bph-shop__count:empty { display: none; }
.bph .bph-plist .bph-pc__media img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
@media (max-width: 1100px) { .bph ul.products.bph-plist, .bph ul.products.bph-plist.bph-plist--4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 680px) { .bph ul.products.bph-plist, .bph ul.products.bph-plist.bph-plist--4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; } #header .bpx-logo img { height: 36px !important; } }
/* mobile overflow fix */
.bph-shop__main, .bph-shop__side, .bph-artwrap > *, .bph-sp__grid > * { min-width: 0; }
@media (max-width: 991px) {
	.bph-shop__grid, .bph-artwrap, .bph-sp__grid, .bph-contact { grid-template-columns: minmax(0, 1fr) !important; }
	.bph-shop__side .bph-side__card { min-width: 0; overflow: hidden; }
}
@media (max-width: 680px) { .bph-plist .bph-pc__gmp { display: none; } .bph-plist .bph-pc__badge { max-width: 86%; font-size: 10.5px; } .bph-shop__search { min-width: 0; } }

/* ---------------- DIRECTOR'S MESSAGE ---------------- */
.bph-dir { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 44px; align-items: start; }
.bph-dir__card { position: sticky; top: 96px; padding: 22px 22px 26px; border-radius: 30px; background: #fff; border: 1px solid var(--bpi-line); box-shadow: 0 34px 70px -40px rgba(10,27,61,.55); text-align: center; }
.bph-dir__photo { position: relative; aspect-ratio: 1 / 1.08; border-radius: 24px; overflow: hidden; background: radial-gradient(120% 100% at 100% 0%, #1e6ff0 0%, #0c3f99 45%, var(--bpi-ink) 100%); }
.bph-dir__photo img { width: 100%; height: 100%; object-fit: cover; }
.bph-dir__ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.85); }
.bph .bph-dir__ph svg { width: 110px; height: 110px; stroke-width: 1.3; }
.bph-dir__badge { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.95); font-family: var(--bpi-display); font-weight: 700; font-size: 13px; color: var(--bpi-ink); }
.bph .bph-dir__badge svg { width: 15px; height: 15px; color: var(--bpi-orange); }
.bph-dir__card h3 { margin: 20px 0 4px !important; font-size: 24px; font-weight: 800; }
.bph-dir__card > p { margin: 0 !important; color: var(--bpi-muted); font-weight: 600; font-size: 15px; }
.bph-dir__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.bph-dir__meta span { padding: 12px 6px; border-radius: 16px; background: var(--bpi-soft); }
.bph-dir__meta b { display: block; font-family: var(--bpi-display); font-size: 20px; font-weight: 800; color: var(--bpi-blue); }
.bph-dir__meta small { font-size: 12px; font-weight: 700; color: var(--bpi-muted); }
.bph-dir__btns { margin-top: 20px; }
.bph-dir__btns .bph-btn { width: 100%; }
.bph-dir__msg { position: relative; padding: 40px 44px; border-radius: 30px; background: #fff; border: 1px solid var(--bpi-line); box-shadow: 0 30px 60px -44px rgba(10,27,61,.5); overflow: hidden; }
.bph-dir__msg::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(var(--bpi-orange-2), var(--bpi-orange), var(--bpi-blue)); }
.bph-dir__quote { position: absolute; top: -30px; right: 24px; font-family: Georgia, serif; font-size: 220px; line-height: 1; color: rgba(11,94,215,.07); pointer-events: none; }
.bph-dir__msg .bph-title { font-size: clamp(26px, 3vw, 38px); margin-bottom: 22px !important; }
.bph-dir__text { font-size: 18px; line-height: 1.85; }
.bph-dir__text p:first-child { font-family: var(--bpi-display); font-weight: 700; font-size: 20px; color: var(--bpi-ink); }
.bph-dir__sign { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--bpi-line); }
.bph-dir__signname { display: block; font-family: 'Brush Script MT', 'Segoe Script', cursive; font-size: 38px; line-height: 1.1; color: var(--bpi-blue); }
.bph-dir__sign small { font-weight: 700; color: var(--bpi-muted); font-size: 14.5px; }
.bph-iconcards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) {
	.bph-dir { grid-template-columns: minmax(0, 1fr); }
	.bph-dir__card { position: static; max-width: 420px; margin: 0 auto; width: 100%; }
	.bph-iconcards--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	.bph-dir__msg { padding: 26px 20px; border-radius: 22px; }
	.bph-dir__text { font-size: 16.5px; }
	.bph-iconcards--4 { grid-template-columns: 1fr; }
}
/* category lists: arrow instead of product count */
.bph-side__cats em { background: transparent !important; color: var(--bpi-muted) !important; font-size: 18px; font-weight: 400; padding: 0 4px; transition: transform .3s, color .3s; }
.bph-side__cats a:hover em, .bph-side__cats a.is-active em { color: var(--bpi-orange) !important; transform: translateX(3px); }
.woocommerce-result-count { display: none !important; }

/* =========================================================
   Product Gallery page
========================================================= */
.bph-gal__bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.bph-gal__filters { display: flex; flex-wrap: wrap; gap: 10px; }
.bph-gal__search { position: relative; display: flex; align-items: center; min-width: 260px; flex: 0 1 320px; margin: 0; }
.bph .bph-gal__search svg { position: absolute; left: 16px; width: 18px; height: 18px; color: var(--bph-muted); pointer-events: none; }
#bph-home .bph-gal__search input { width: 100%; height: 48px; padding: 0 18px 0 46px; border: 1.5px solid var(--bph-line); border-radius: 999px; background: #fff; font: 500 15px var(--bph-body); color: var(--bph-ink); outline: none; transition: border-color .25s, box-shadow .25s; }
#bph-home .bph-gal__search input:focus { border-color: var(--bph-blue); box-shadow: 0 0 0 4px rgba(11,94,215,.12); }

.bph-gal__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.bph-gal__item { position: relative; margin: 0; border-radius: 20px; background: #fff; border: 1px solid var(--bph-line); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--bph-ease), box-shadow .45s, border-color .3s; animation: bph-gal-in .5s var(--bph-ease) both; }
.bph-gal__item[hidden] { display: none !important; }
.bph-gal__item:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -22px rgba(10,27,61,.35); border-color: transparent; }
@keyframes bph-gal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.bph-gal__media { display: block; aspect-ratio: 1 / 1; background: radial-gradient(120% 90% at 50% 0%, #fff 0%, #eef5ff 100%); overflow: hidden; }
.bph-gal__media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .6s var(--bph-ease); }
.bph-gal__item:hover .bph-gal__media img { transform: scale(1.07); }
#bph-home .bph-gal__zoom { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(10,27,61,.82); color: #fff; cursor: pointer; opacity: 0; transform: scale(.7); transition: all .3s var(--bph-ease); backdrop-filter: blur(4px); }
#bph-home .bph-gal__zoom svg { width: 18px; height: 18px; }
.bph-gal__item:hover .bph-gal__zoom, #bph-home .bph-gal__zoom:focus-visible { opacity: 1; transform: none; }
#bph-home .bph-gal__zoom:hover { background: var(--bph-orange); }
.bph-gal__item figcaption { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--bph-line); margin-top: auto; }
.bph-gal__item figcaption > a:first-child { flex: 1; min-width: 0; text-decoration: none; }
.bph-gal__item figcaption small { display: block; font: 600 11px var(--bph-body); letter-spacing: .08em; text-transform: uppercase; color: var(--bph-orange); margin-bottom: 2px; }
.bph-gal__item figcaption b { display: block; font: 700 15px/1.3 var(--bph-display); color: var(--bph-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bph-gal__go { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bph-soft); color: var(--bph-blue); transition: all .3s var(--bph-ease); }
.bph .bph-gal__go svg { width: 16px; height: 16px; }
.bph-gal__item:hover .bph-gal__go { background: linear-gradient(135deg, var(--bph-orange-2, #ff9330), var(--bph-orange)); color: #fff; transform: rotate(-45deg); }
.bph-gal__empty { text-align: center; padding: 40px 0; color: var(--bph-muted); font-weight: 600; }
.bph-gal__more { text-align: center; margin-top: 34px; }

.bph-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(6,16,38,.92); display: flex; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(6px); }
.bph-lb[hidden] { display: none; }
.bph-lb__fig { margin: 0; max-width: min(900px, 100%); text-align: center; }
.bph-lb__fig img { max-height: 72vh; max-width: 100%; border-radius: 18px; background: #fff; object-fit: contain; animation: bph-gal-in .35s var(--bph-ease); }
.bph-lb__fig figcaption { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; margin-top: 16px; }
.bph-lb__fig figcaption b { color: #fff; font: 700 20px var(--bph-display); }
#bph-home .bph-lb__close, #bph-home .bph-lb__nav { position: absolute; border: 0; padding: 0; background: rgba(255,255,255,.12); color: #fff; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .25s; line-height: 1; }
#bph-home .bph-lb__close { top: 18px; right: 18px; width: 46px; height: 46px; font-size: 30px; }
#bph-home .bph-lb__nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 36px; }
.bph-lb__prev { left: 18px; } .bph-lb__next { right: 18px; }
#bph-home .bph-lb__close:hover, #bph-home .bph-lb__nav:hover { background: var(--bph-orange); }

@media (max-width: 1100px) { .bph-gal__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.bph-gal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.bph-gal__search { flex: 1 1 100%; min-width: 0; }
	.bph-gal__filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
	.bph-gal__filters .bph-fp__chip { flex: none; }
	.bph-gal__item figcaption { padding: 10px 12px; }
	.bph-gal__item figcaption b { font-size: 13px; }
	.bph-gal__go { display: none; }
	#bph-home .bph-gal__zoom { opacity: 1; transform: none; width: 34px; height: 34px; top: 8px; right: 8px; }
	#bph-home .bph-lb__nav { width: 42px; height: 42px; top: auto; bottom: 18px; margin: 0; }
}
