/* Prime Drainage Solutions — editorial advice centre */
.blog-page-full-width{width:100%;max-width:none;margin:0;padding:0;overflow:hidden;background:#fbfaf7;color:#101826}
.blog-page-full-width>.wp-block-group.alignfull{width:100%;max-width:none;margin:0;box-sizing:border-box;padding-left:max(28px,calc((100vw - 1220px)/2))!important;padding-right:max(28px,calc((100vw - 1220px)/2))!important}
.blog-page-full-width>.wp-block-group.alignfull>.wp-block-group__inner-container{width:100%}
.blog-page-full-width .wp-block-group{box-sizing:border-box}
.blog-page-full-width .wp-block-heading{overflow-wrap:anywhere;color:#0f2a4a}
.blog-page-full-width h1.wp-block-heading{max-width:700px;font-size:clamp(2.8rem,5.4vw,5.25rem)!important;line-height:.99!important;letter-spacing:-.055em;margin:18px 0 24px}
.blog-page-full-width h2.wp-block-heading{font-size:clamp(2rem,3.3vw,3.05rem)!important;line-height:1.06;letter-spacing:-.045em;margin:0 0 18px}
.blog-page-full-width h3.wp-block-heading{font-size:clamp(1.2rem,1.7vw,1.5rem)!important;line-height:1.2;letter-spacing:-.025em;color:#0f2a4a;margin-top:0}
.blog-page-full-width p{max-width:unset;line-height:1.75}
.blog-page-full-width .wp-block-columns{gap:18px;align-items:stretch;margin-top:28px}
.blog-page-full-width .wp-block-column>.wp-block-group{height:100%;box-sizing:border-box}
.blog-page-full-width .wp-block-column .wp-block-group p:last-child{margin-bottom:0}
.blog-page-full-width a:not(.wp-element-button){color:#1f6fe5;text-underline-offset:4px;text-decoration-thickness:1px}
.blog-page-full-width a:not(.wp-element-button):hover{color:#1a5fc6}
/* Dramatic photographic hero, with a readable navy overlay */
.blog-page-full-width>.wp-block-group.blog-hero-full{position:relative;isolation:isolate;min-height:500px;display:flex;flex-direction:column;justify-content:center;background-color:#0f2a4a!important;background-image:linear-gradient(90deg,rgba(7,25,46,.98) 0%,rgba(10,35,63,.92) 42%,rgba(10,35,63,.56) 72%,rgba(10,35,63,.28) 100%),url('https://images.unsplash.com/photo-1558690194-5aaa922b59b6?auto=format&fit=crop&w=2000&q=85')!important;background-size:cover!important;background-position:center 46%!important;padding-top:100px!important;padding-bottom:100px!important}
.blog-page-full-width>.wp-block-group.blog-hero-full:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,rgba(7,25,46,.28),transparent 50%);pointer-events:none}
.blog-page-full-width>.wp-block-group.blog-hero-full>p:first-child{color:#8db8ff!important;font-family:"IBM Plex Sans",sans-serif;font-size:12px!important;font-weight:700;letter-spacing:.18em!important;text-transform:uppercase;display:flex;align-items:center;gap:12px}
.blog-page-full-width>.wp-block-group.blog-hero-full>p:first-child:before{content:"";display:inline-block;width:30px;height:2px;background:#1f6fe5}
.blog-page-full-width>.wp-block-group.blog-hero-full h1{color:#fff!important;text-wrap:balance}
.blog-page-full-width>.wp-block-group.blog-hero-full p{color:#e4edf8;font-size:clamp(1rem,1.3vw,1.2rem)!important;max-width:680px;line-height:1.8}
.blog-page-full-width>.wp-block-group.blog-hero-full .wp-block-buttons{margin-top:26px;gap:12px}
.blog-page-full-width>.wp-block-group.blog-hero-full .wp-block-button__link{font-weight:700;font-size:15px;padding:15px 24px!important;border-radius:5px!important;transition:transform .2s ease,background .2s ease}
.blog-page-full-width>.wp-block-group.blog-hero-full .wp-block-button:first-child .wp-block-button__link{background:#1f6fe5!important;color:#fff!important;border:1px solid #1f6fe5}
.blog-page-full-width>.wp-block-group.blog-hero-full .wp-block-button:first-child .wp-block-button__link:hover{background:#1a5fc6!important;transform:translateY(-2px)}
.blog-page-full-width>.wp-block-group.blog-hero-full .wp-block-button:last-child .wp-block-button__link{color:#fff!important;border-color:rgba(255,255,255,.6)!important;background:rgba(255,255,255,.05)!important}
/* Topic finder */
.blog-page-full-width>.wp-block-group.alignfull:nth-child(2){background:#fbfaf7!important;border-bottom:1px solid #e3e1da;padding-top:82px!important;padding-bottom:88px!important}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(2)>h2:first-child{max-width:760px}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(2)>p{max-width:740px;color:#5b6b80}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(2) .wp-block-columns>.wp-block-column>.wp-block-group{position:relative;min-height:220px;padding:30px 26px!important;background:#fff!important;border:1px solid #e3e1da!important;border-radius:9px!important;box-shadow:0 4px 16px rgba(16,24,38,.035);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(2) .wp-block-columns>.wp-block-column>.wp-block-group:before{content:"";display:block;width:38px;height:4px;background:#1f6fe5;margin-bottom:24px;border-radius:3px}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(2) .wp-block-columns>.wp-block-column>.wp-block-group:hover{transform:translateY(-5px);border-color:#b7c9e6!important;box-shadow:0 16px 32px rgba(16,24,38,.08)}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(2) .wp-block-columns>.wp-block-column>.wp-block-group h3{margin-bottom:12px}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(2) .wp-block-columns>.wp-block-column>.wp-block-group p{font-size:15px;color:#5b6b80}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(2) .wp-block-columns>.wp-block-column>.wp-block-group p:last-child a{font-weight:700;text-decoration:none}
/* FAQ as a clear contrast band */
.blog-page-full-width>.wp-block-group.alignfull:nth-child(3){background:#eef3fb!important;border-top:1px solid #dfe8f7;border-bottom:1px solid #dfe8f7;padding-top:82px!important;padding-bottom:82px!important}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(3)>h2{max-width:800px}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(3) .wp-block-columns{gap:48px;margin-top:30px}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(3) .wp-block-column h3{margin:0 0 8px;font-size:1.12rem!important}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(3) .wp-block-column p{color:#50617a;font-size:15px;line-height:1.75;margin:0 0 28px}
/* Latest guides band */
.blog-page-full-width>.wp-block-group.alignfull:nth-child(4){background:#fff!important;padding-top:82px!important;padding-bottom:84px!important}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(4)>h2{max-width:800px}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(4)>p{color:#5b6b80;max-width:800px}
/* Swipeable blog carousel: every published post appears as an image-led card */
.blog-page-full-width .wp-block-query{width:100%;max-width:none;overflow:visible}
.blog-page-full-width .wp-block-query .wp-block-post-template{display:flex!important;flex-wrap:nowrap!important;gap:22px!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-left:2px;padding:8px 4px 24px!important;margin:22px 0 0!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#1f6fe5 #e3e1da}
.blog-page-full-width .wp-block-query .wp-block-post-template>li{flex:0 0 clamp(280px,31vw,370px);min-width:0;scroll-snap-align:start}
.blog-page-full-width .wp-block-post-featured-image{margin:0 0 20px}
.blog-page-full-width .wp-block-query .wp-block-post-template>li:focus-within{outline:2px solid #1f6fe5;outline-offset:3px}
.blog-page-full-width .wp-block-query .wp-block-post-template::-webkit-scrollbar{height:8px}
.blog-page-full-width .wp-block-query .wp-block-post-template::-webkit-scrollbar-track{background:#e3e1da;border-radius:20px}
.blog-page-full-width .wp-block-query .wp-block-post-template::-webkit-scrollbar-thumb{background:#1f6fe5;border-radius:20px}
.blog-page-full-width .wp-block-post-featured-image img{display:block;width:100%;height:220px;object-fit:cover;border-radius:5px}
.blog-page-full-width .wp-block-query .wp-block-post-template>li .wp-block-post-title{margin-top:0}
.blog-page-full-width .wp-block-query .wp-block-post-template>li .wp-block-post-excerpt{margin-bottom:0}
.blog-page-full-width .wp-block-post-featured-image img{width:100%;height:210px;object-fit:cover;border-radius:5px}
.blog-page-full-width .wp-block-post-template>li{overflow:hidden;padding:0 0 26px;border:1px solid #e3e1da;border-radius:9px;background:#fff;box-shadow:0 4px 16px rgba(16,24,38,.04);transition:transform .2s ease,box-shadow .2s ease}
.blog-page-full-width .wp-block-post-template>li:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(16,24,38,.09)}
.blog-page-full-width .wp-block-post-template>li>*:not(.wp-block-post-featured-image){margin-left:24px;margin-right:24px}
.blog-page-full-width .wp-block-post-title{font-size:1.3rem;line-height:1.25}
.blog-page-full-width .wp-block-post-title a{color:#0f2a4a;text-decoration:none}
.blog-page-full-width .wp-block-post-title a:hover{color:#1f6fe5}
.blog-page-full-width .wp-block-post-excerpt{color:#5b6b80;font-size:15px}
.blog-page-full-width .wp-block-query-no-results{padding:28px 30px;border-left:4px solid #1f6fe5;background:#eef3fb;color:#0f2a4a}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(4)>.wp-block-buttons{margin-top:24px}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(4)>.wp-block-buttons .wp-block-button__link{background:#1f6fe5!important;color:#fff!important;border-radius:5px!important}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(4)>.wp-block-buttons .wp-block-button__link:hover{background:#1a5fc6!important}
/* Articles */
.blog-article__meta{margin-top:18px;color:#d5e3e7;font-size:.95rem}
.blog-article__meta a{color:inherit}
.blog-article__layout{display:grid;grid-template-columns:minmax(0,760px) minmax(230px,300px);gap:48px;align-items:start}
.blog-article__content{min-width:0}
/* Article CTA buttons: consistent spacing and safe wrapping on narrow screens. */
.blog-article__content .wp-block-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:24px 0 18px}
.blog-article__content .wp-block-button{margin:0;max-width:100%}
.blog-article__content .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;padding:12px 20px;line-height:1.35;text-align:center;white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){.blog-article__content .wp-block-buttons{align-items:stretch;gap:10px}.blog-article__content .wp-block-button{flex:1 1 100%}.blog-article__content .wp-block-button__link{width:100%}}
.blog-article__featured{margin:0 0 32px}
.blog-article__featured img{display:block;width:100%;height:auto;max-height:480px;object-fit:cover;border-radius:9px}
.blog-article__aside{position:sticky;top:28px}
.blog-contact-card{padding:26px;border:1px solid #dfe8f7;border-radius:9px;background:#eef3fb}
.blog-contact-card h2{margin:8px 0 12px;color:#0f2a4a}
.blog-contact-card p{line-height:1.65}
.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.blog-card{overflow:hidden;border:1px solid #e3e1da;border-radius:9px;background:#fff;box-shadow:0 4px 16px rgba(16,24,38,.04);transition:transform .2s ease,box-shadow .2s ease}
.blog-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(16,24,38,.09)}
.blog-card__image{display:flex;aspect-ratio:16/9;align-items:center;justify-content:center;overflow:hidden;background:#eef3fb;text-decoration:none}
.blog-card__image img{display:block;width:100%;height:100%;object-fit:cover}
.blog-card__image-placeholder{font-weight:800;letter-spacing:.16em;color:#1f6fe5}
.blog-card__body{padding:24px}
.blog-card__date{margin:0 0 10px;color:#5b6b80;font-size:.82rem}
.blog-card h2{margin:0 0 12px;font-size:1.35rem;line-height:1.3}
.blog-card h2 a{color:#0f2a4a;text-decoration:none}
.blog-card h2 a:hover,.blog-card__read:hover{color:#1f6fe5}
.blog-card__body>p:not(.blog-card__date){line-height:1.65;color:#5b6b80}
.blog-card__read{display:inline-flex;gap:8px;margin-top:8px;color:#1f6fe5;font-weight:700;text-decoration:none}
.blog-post-navigation{display:flex;justify-content:space-between;gap:20px;margin-top:42px;padding-top:24px;border-top:1px solid #e3e1da}
.blog-post-navigation a{color:#1f6fe5;font-weight:600}
.pagination{margin-top:36px}
.pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.pagination .page-numbers{padding:8px 12px;border:1px solid #e3e1da;border-radius:6px;text-decoration:none}
.pagination .page-numbers.current{background:#0f2a4a;color:#fff}
@media(max-width:900px){
.blog-page-full-width>.wp-block-group.alignfull{padding-left:28px!important;padding-right:28px!important}
.blog-page-full-width>.wp-block-group.blog-hero-full{min-height:450px}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(2) .wp-block-columns{gap:14px}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(2) .wp-block-columns>.wp-block-column>.wp-block-group{padding:24px 20px!important}
.blog-article__layout{grid-template-columns:1fr;gap:30px}.blog-article__aside{position:static}.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:781px){
.blog-page-full-width .wp-block-columns{flex-wrap:wrap!important}
.blog-page-full-width .wp-block-columns>.wp-block-column{flex-basis:calc(50% - 9px)!important;min-width:0}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(3) .wp-block-columns{gap:22px}
}
/* Accessibility refinements: maintain WCAG-friendly contrast and visible focus states. */
.blog-page-full-width .wp-block-post-date,
.blog-page-full-width .wp-block-post-excerpt,
.blog-page-full-width>.wp-block-group.alignfull:nth-child(2)>p,
.blog-page-full-width>.wp-block-group.alignfull:nth-child(3) .wp-block-column p,
.blog-page-full-width>.wp-block-group.alignfull:nth-child(4)>p { color:#3f4f63!important; }
.blog-page-full-width a:not(.wp-element-button) { color:#174ea6; }
.blog-page-full-width a:not(.wp-element-button):hover { color:#103b7a; }
.blog-page-full-width a:focus-visible,
.blog-page-full-width button:focus-visible,
.blog-page-full-width .wp-block-button__link:focus-visible { outline:3px solid #0b57d0; outline-offset:3px; }
@media(max-width:600px){
.blog-grid{grid-template-columns:1fr}
.blog-card__body{padding:20px}
.blog-post-navigation{flex-direction:column}
.blog-article__meta{line-height:1.7}
.blog-page-full-width>.wp-block-group.alignfull{padding:48px 20px!important}
.blog-page-full-width>.wp-block-group.blog-hero-full{min-height:unset;padding-top:76px!important;padding-bottom:76px!important;background-position:60% center!important;background-image:linear-gradient(90deg,rgba(7,25,46,.96),rgba(10,35,63,.76)),url('https://images.unsplash.com/photo-1558690194-5aaa922b59b6?auto=format&fit=crop&w=1200&q=80')!important}
.blog-page-full-width h1.wp-block-heading{font-size:clamp(2.7rem,12vw,4rem)!important;line-height:.98}
.blog-page-full-width h2.wp-block-heading{font-size:clamp(1.9rem,8vw,2.4rem)!important}
.blog-page-full-width p{font-size:16px!important;overflow-wrap:break-word}
.blog-page-full-width .wp-block-columns{gap:14px}
.blog-page-full-width .wp-block-columns>.wp-block-column{flex-basis:100%!important}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(2) .wp-block-columns>.wp-block-column>.wp-block-group{min-height:unset}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(3) .wp-block-columns{gap:0}
.blog-page-full-width>.wp-block-group.alignfull:nth-child(3) .wp-block-column p{margin-bottom:24px}
.blog-page-full-width .wp-block-buttons{gap:10px}
.blog-page-full-width .wp-block-button,.blog-page-full-width .wp-block-button__link{max-width:100%;white-space:normal}
.blog-page-full-width .wp-block-query .wp-block-post-template{gap:14px!important;padding-bottom:20px!important}
.blog-page-full-width .wp-block-query .wp-block-post-template>li{flex-basis:84vw;max-width:340px}
.blog-page-full-width .wp-block-post-featured-image img{height:190px}
}