/* Small adaptations of the existing Podcast layout, scoped to HLS PR Services. */
.hls-pr-services { font-weight: 400; }
/* Give image and video heroes the same full-width frame and curved-section overlap. */
.hls-pr-services .pr-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    margin-bottom: -350px;
    overflow: hidden;
    background: #000;
}
.hls-pr-services .pr-hero > :is(img, video) {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
    transform: none;
}
.hls-pr-services .pr-hero > .video-mobile { display: none; }
@media (max-width: 991px) { .hls-pr-services .pr-hero { margin-bottom: -180px; } }
@media (max-width: 767px) {
    .hls-pr-services .pr-hero { margin-bottom: -100px; }
    .hls-pr-services .pr-hero > .video-desktop { display: none; }
    .hls-pr-services .pr-hero > .video-mobile { display: block; }
}
.hls-pr-services :is(.section-communication, .graphic-communication, .what-we-offer-wrapper, .logos-section, .form-section, .pr-testimonials) :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 400;
}
.hls-pr-services :is(p, li, blockquote),
.hls-pr-services .pr-kicker,
.hls-pr-services .offer-text-bottom { font-weight: 400; }
.hls-pr-services :is(strong, b) { font-weight: 600; }
.hls-pr-services .form-section .form-inner label { font-weight: 400; }
.hls-pr-services .section-communication h1 {
    color: #fff;
    max-width: 950px;
    margin: 0 auto 40px;
    font-size: clamp(32px, 4vw, 55px);
}
.hls-pr-services .section-communication .container { position: relative; z-index: 2; }
.hls-pr-services .section-communication::after { pointer-events: none; }
.hls-pr-services .pr-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-inline: auto;
    gap: 15px;
}
.hls-pr-services .theme-btn { white-space: normal; max-width: 100%; line-height: 1.5; }
.hls-pr-services .pr-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    margin-inline: auto;
    padding: 0;
    margin-block: 30px 35px;
    gap: 15px;
}
.hls-pr-services .pr-proof li {
    display: flex;
    flex: 0 1 calc((100% - 60px) / 5);
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-width: 0;
    margin: 0;
    padding: 24px 16px;
    list-style: none;
    background: #1d1f1e;
    border: 1px solid #3c3e3d;
    border-radius: 28px 28px 28px 6px;
}
.hls-pr-services .pr-proof-icon {
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    color: #111;
    background: #fdec0b;
    border-radius: 50%;
}
.hls-pr-services .pr-proof-icon svg { display: block; width: 28px; height: 28px; }
.hls-pr-services .pr-proof-copy { font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 1199px) {
    .hls-pr-services .pr-proof li { flex-basis: calc((100% - 30px) / 3); }
}
@media (max-width: 575px) {
    .hls-pr-services .pr-proof { gap: 12px; }
    .hls-pr-services .pr-proof li { flex-basis: 100%; flex-direction: row; padding: 16px; text-align: left; }
    .hls-pr-services .pr-proof-icon { flex-basis: 44px; width: 44px; height: 44px; }
    .hls-pr-services .pr-proof-icon svg { width: 24px; height: 24px; }
}
.hls-pr-services .logos-section { padding-block: clamp(50px, 6vw, 80px); }
.hls-pr-services .logos-section ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 25px; padding: 0; }
.hls-pr-services .logos-section li { width: 130px; list-style: none; margin: 0; }
.hls-pr-services .logos-section img { width: 100%; height: 80px; object-fit: contain; }
.hls-pr-services .graphic-communication.podcast img { display: block; width: 100%; max-width: 100%; height: auto; max-height: none !important; }
.hls-pr-services .graphic-communication.podcast img.icon-images {
    display: block;
    width: 100%;
    max-width: 100px;
    height: auto;
    max-height: none !important;
    position: static;
    top: auto;
    left: auto;
    transform: none;
    margin-left: auto;
}
.hls-pr-services #pr-results .campaign-inner { margin-top: 0; }
.hls-pr-services :is(.pr-difference-cards, .pr-service-cards) {
    display: grid;
    gap: 60px 25px;
    grid-auto-rows: 1fr;
}
.hls-pr-services .pr-difference-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hls-pr-services .pr-service-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hls-pr-services :is(.pr-difference-cards, .pr-service-cards) > .offer-box { width: 100%; min-width: 0; }
.hls-pr-services :is(.pr-difference-cards, .pr-service-cards) .offers-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: 100%;
    padding: 30px 20px 40px;
}
.hls-pr-services .offers-inner > h3 { font-size: 18px; line-height: 1.4; text-align: center; margin: 0 0 20px; }
.hls-pr-services .offers-inner .pr-offer-copy { margin: 0; color: inherit; }
.hls-pr-services .offers-inner .pr-offer-copy p { margin: 0 0 15px; }
.hls-pr-services .offers-inner .pr-offer-copy p:last-child { margin-bottom: 0; }
/* A wider lead story and four supporting cards give the differences their own rhythm. */
.hls-pr-services #pr-differences .pr-difference-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 24px;
}
.hls-pr-services #pr-differences .offer-box { --pr-card-surface: #1d1f1e; --pr-card-ink: #fff; }
.hls-pr-services #pr-differences .offer-box:first-child { grid-column: span 2; --pr-card-surface: #fdec0b; --pr-card-ink: #111; }
.hls-pr-services #pr-differences .offer-box:nth-child(3n) { --pr-card-surface: #e7e8e8; --pr-card-ink: #111; }
.hls-pr-services #pr-differences .offers-inner {
    flex-wrap: nowrap;
    padding: 30px;
    background: var(--pr-card-surface);
    color: var(--pr-card-ink);
    border: 1px solid #ffffff26;
    border-radius: 30px 30px 6px 30px;
    transform: none;
}
.hls-pr-services #pr-differences .offers-inner::after { content: none; }
.hls-pr-services #pr-differences .pr-difference-marker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 26px;
    color: #fdec0b;
}
.hls-pr-services #pr-differences .offer-box:is(:first-child, :nth-child(3n)) .pr-difference-marker { color: #111; }
.hls-pr-services #pr-differences .pr-difference-marker svg { width: 42px; height: 42px; flex: 0 0 auto; }
.hls-pr-services #pr-differences .pr-difference-marker span { display: block; margin: 0; color: inherit; opacity: 1; font-size: 14px; letter-spacing: 0.12em; }
.hls-pr-services #pr-differences .offers-inner > h3 { margin-bottom: 16px; text-align: left; font-size: 21px; line-height: 1.3; font-weight: 400 !important; }
.hls-pr-services #pr-differences .offer-box:first-child h3 { max-width: 480px; font-size: clamp(25px, 2.5vw, 34px); }
.hls-pr-services #pr-differences .pr-offer-copy { line-height: 1.65; }
@media (max-width: 1199px) {
    .hls-pr-services #pr-differences .pr-difference-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hls-pr-services #pr-differences .offer-box:last-child:nth-child(odd) { grid-column: auto; width: 100%; }
}
@media (max-width: 767px) {
    .hls-pr-services #pr-differences .pr-difference-cards { grid-template-columns: 1fr; gap: 18px; }
    .hls-pr-services #pr-differences .offer-box:first-child { grid-column: auto; }
    .hls-pr-services #pr-differences .offers-inner { padding: 26px; }
    .hls-pr-services #pr-differences .pr-difference-marker { margin-bottom: 20px; }
}
.hls-pr-services .section-communication,
.hls-pr-services .graphic-communication,
.hls-pr-services .form-section { background-image: none; }
.hls-pr-services .pr-anchor-nav { position: relative; z-index: 2; background: #00000000; padding: 18px 0; }
.hls-pr-services .pr-anchor-nav .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px 30px; }
.hls-pr-services .pr-anchor-nav a { color: #fff; text-decoration: none!important; }
.hls-pr-services .pr-anchor-nav a:hover,
.hls-pr-services .pr-anchor-nav a:focus-visible { background: #fdee15; color: #000; text-decoration: underline; }
.pr-sticky-cta.btn.theme-btn { position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 1000; background: #fdec0b; color: #111; box-shadow: 0 3px 15px #0008; }
.pr-sticky-cta[hidden] { display: none; }
.pr-sticky-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hls-pr-services .pr-margin-marks { pointer-events: none; }
.hls-pr-services .pr-margin-marks::before,
.hls-pr-services .pr-margin-marks::after { position: absolute; z-index: 1; top: 35%; color: #fdec0b; font-size: 24px; width: 24px; text-align: center; }
.hls-pr-services .pr-margin-marks::before { content: '+'; left: 12px; }
.hls-pr-services .pr-margin-marks::after { content: '○'; right: 12px; top: 65%; }
@media (max-width: 1439px) { .hls-pr-services .pr-margin-marks { display: none; } }
.hls-pr-services .form-section .form-inner :is(input[type="submit"], button[type="submit"]) { opacity: 1; background: #fdec0b; color: #111; border-color: #d4c500; }
.hls-pr-services .form-section .form-inner :is(input[type="submit"], button[type="submit"]):disabled { opacity: 1; background: #d8cf66; color: #444; border-color: #aaa15a; cursor: not-allowed; box-shadow: none; }
.hls-pr-services #pr-differences .row { row-gap: 40px; }
.hls-pr-services .pr-offer-copy { color: #fff; opacity: 0.85; margin-top: 50px; }
.hls-pr-services .pr-section-intro { color: #fff; margin-bottom: 30px; }
.hls-pr-services .pr-formula h3,
.hls-pr-services .campaign-inner h3 { color: #fff; }
.hls-pr-services .pr-formula .row p { max-width: 100%; }
.hls-pr-services .pr-formula-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(30px, 5vw, 70px); text-align: left; }
.hls-pr-services .pr-formula-heading { grid-column: 2; grid-row: 1; }
.hls-pr-services .pr-formula .pr-formula-heading h2 { margin: 0 0 20px; text-align: left; }
.hls-pr-services .pr-formula .pr-formula-heading p { max-width: none; margin: 0 0 28px; }
.hls-pr-services .pr-formula-visual { grid-column: 1; grid-row: 1 / span 2; align-self: center; min-width: 0; margin: 0; }
.hls-pr-services .pr-formula-image { display: block; width: 100%; height: auto; border-radius: 32px 32px 6px 32px; }
.hls-pr-services .pr-formula-steps { grid-column: 2; grid-row: 2; list-style: none; counter-reset: pr-formula; padding: 0; margin: 0; }
.hls-pr-services .pr-formula-step { position: relative; counter-increment: pr-formula; padding-left: 66px; margin: 0 0 24px; }
.hls-pr-services .pr-formula-step:last-child { margin-bottom: 0; }
.hls-pr-services .pr-formula-step::before { content: counter(pr-formula, decimal-leading-zero); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #fdec0b; border-radius: 50%; color: #fdec0b; font-size: 16px; }
.hls-pr-services .pr-formula .pr-formula-step h3 { font-size: 24px; margin: 0 0 8px; }
.hls-pr-services .pr-formula .pr-formula-step p { max-width: none; margin: 0; line-height: 1.6; }
@media (max-width: 767px) {
    .hls-pr-services .pr-formula-layout { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
    .hls-pr-services .pr-formula-heading,
    .hls-pr-services .pr-formula-visual,
    .hls-pr-services .pr-formula-steps { grid-column: 1; grid-row: auto; }
    .hls-pr-services .pr-formula .pr-formula-heading p { margin-bottom: 0; }
    .hls-pr-services .pr-formula-step { padding-left: 60px; }
}
.hls-pr-services #pr-results > .container > .row + .row { margin-top: 50px; }
.hls-pr-services .pr-awards { color: #fff; }
.hls-pr-services .pr-awards ul { padding-left: 24px; }
.hls-pr-services .pr-awards li { margin-bottom: 12px; }
.hls-pr-services .pr-awards > .container { text-align: center; }
.hls-pr-services .pr-awards .pr-awards-subtitle { max-width: 850px; margin: 0 auto 30px; font-size: 20px; line-height: 1.5; }
.hls-pr-services .pr-awards-closing { max-width: 900px; margin: 0 auto 30px; text-align: left; line-height: 1.7; }
.hls-pr-services .pr-awards .pr-awards-closing p { max-width: none; margin: 0 0 16px; }
.hls-pr-services .pr-awards .pr-awards-closing p:last-child { margin-bottom: 0; }
.hls-pr-services .pr-awards .pr-award-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 35px 0;
    padding: 0;
    list-style: none;
}
.hls-pr-services .pr-award-grid .pr-award-card {
    min-width: 0;
    margin: 0;
    padding: 20px;
    background: #1d1f1e;
    border: 1px solid #3c3e3d;
    border-radius: 28px 28px 6px 28px;
}
.hls-pr-services .pr-award-badge {
    display: grid;
    place-items: center;
    height: 160px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    color: #111;
    border-radius: 16px;
}
.hls-pr-services .pr-award-logo { display: block; width: auto; height: auto; max-width: 100%; max-height: 120px; object-fit: contain; }
.hls-pr-services .pr-award-placeholder { width: 64px; height: 64px; }
.hls-pr-services .pr-award-card .pr-award-description { margin: 0; color: #fff; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.hls-pr-services .pr-awards-legacy { max-width: 850px; margin: 0 auto 30px; text-align: left; }
@media (max-width: 991px) { .hls-pr-services .pr-awards .pr-award-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
    .hls-pr-services .pr-awards .pr-award-grid { grid-template-columns: 1fr; gap: 18px; }
    .hls-pr-services .pr-award-badge { height: 140px; }
    .hls-pr-services .pr-award-logo { max-height: 100px; }
}
.hls-pr-services .accordion-header { margin: 0; }
.hls-pr-services .pr-faq .accordion-item { color: #fff; background: #000; border-color: #444; }
.hls-pr-services .accordion-button { font: inherit; color: #fff; background: #000; }
.hls-pr-services .accordion-button:not(.collapsed) { background: #fdec0b; color: #000; }
.hls-pr-services .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ccc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
}
.hls-pr-services .accordion-button:focus { border-color: #fdec0b; box-shadow: 0 0 0 0.2rem rgba(253, 236, 11, 0.35); }
.hls-pr-services .accordion-body { color: #fff; background: #000; }
.hls-pr-services .pr-reassurance { font-size: 13px; margin-top: 20px; }
.hls-pr-services [id] { scroll-margin-top: 120px; }
.hls-pr-services .form-inner input:not([type="checkbox"]):not([type="radio"]),
.hls-pr-services .form-inner select,
.hls-pr-services .form-inner textarea { max-width: 100%; }
@media (max-width: 1199px) {
    .hls-pr-services :is(.pr-difference-cards, .pr-service-cards) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hls-pr-services .pr-difference-cards > .offer-box:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - 25px) / 2); justify-self: center; }
}
@media (max-width: 767px) {
    .hls-pr-services :is(.pr-difference-cards, .pr-service-cards) { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .hls-pr-services .pr-difference-cards > .offer-box:last-child:nth-child(odd) { grid-column: auto; width: 100%; }
}
@media (max-width: 575px) {
    .hls-pr-services .graphic-communication .row,
    .hls-pr-services .form-section .row { row-gap: 25px; }
    .hls-pr-services .campaign-inner { padding-left: 0; }
    .hls-pr-services .graphic-communication.podcast img.icon-images { margin-left: 0; }
}

/* Set text colour on surfaces so plain text, divs and paragraphs all inherit it. */
.hls-pr-services .section-communication,
.hls-pr-services .graphic-communication,
.hls-pr-services .what-we-offer-wrapper { color: #fff; }

.hls-pr-services :is(.section-communication, .graphic-communication, .what-we-offer-wrapper, .logos-section, .form-section) :is(p, li, blockquote, h2, h3, h4, h5, h6) {
    color: inherit;
    opacity: 1;
}
.hls-pr-services .pr-offer-copy,
.hls-pr-services .pr-proof { opacity: 1; }

/* The Podcast cards alternate dark, yellow and grey surfaces. */
.hls-pr-services .what-we-offer-wrapper .offers-inner { color: #111; }
.hls-pr-services .what-we-offer-wrapper .offer-box:nth-of-type(3n+1) .offers-inner { color: #fff; }
.hls-pr-services .logos-section,
.hls-pr-services .form-section { color: #111; background-color: #fff; }

/* Remove the Contact template's overlap with the preceding dark section. */
.hls-pr-services .form-section { padding-top: 60px; }
.hls-pr-services .form-section > .container > .row { margin-top: 0; }
.hls-pr-services .form-inner :is(input, select, textarea) { color: #111; background-color: #fff; }
.hls-pr-services .form-inner ::placeholder { color: #595959; opacity: 1; }
.hls-pr-services a:not(.btn) { color: inherit; text-decoration: underline; }
.hls-pr-services .form-inner { color: #111; }
.hls-pr-services .form-section .pr-reassurance { color: inherit; }
.hls-pr-services .form-section .theme-btn { color: inherit; }
.hls-pr-services .form-section .yellow.theme-btn { color: #111; }
.hls-pr-services .theme-btn:hover,
.hls-pr-services .theme-btn:focus-visible { color: #111; background-color: #fdee15; }

/* Existing Clients speech-bubble cards, with explicit text contrast. */
.hls-pr-services .client-testimonials.pr-testimonials { background: #000; color: #fff; padding: 70px 0; }
.hls-pr-services .pr-testimonials h2 { color: #fff; margin-bottom: 30px; }
.hls-pr-services .pr-testimonials-slider { overflow: hidden; position: relative; padding: 45px 0 20px; }
.hls-pr-services .pr-testimonials .swiper-slide { height: auto; }
.hls-pr-services .client-testimonials.pr-testimonials .box-client .box-section {
    background: #fff; color: #111; height: auto; min-height: 300px;
    padding: 50px 30px 40px 70px;
}
.hls-pr-services .pr-testimonials .box-section :is(p, div, li, blockquote) { color: inherit; opacity: 1; }
.hls-pr-services .client-testimonials.pr-testimonials .pr-testimonial-highlight .box-client .box-section { background: #f9ee16; }
.hls-pr-services .client-testimonials.pr-testimonials .pr-testimonial-highlight .box-client .box-section::after {
    background-image: url('../imgs/hls-testimonial-yellow-tail.png');
}
.hls-pr-services .pr-testimonials .box-client .pr-testimonial-name {
    color: #fff; font-size: 15px; font-weight: 400; text-align: center; margin: 20px 0 0;
}
.hls-pr-services .pr-testimonials .box-client .pr-testimonial-role {
    color: #fff; font-size: 13px; text-align: center; margin: 0; padding: 0 25px;
}
.hls-pr-services .pr-testimonials .logos-sponsor { max-width: 100%; max-height: 60px; object-fit: contain; }
.hls-pr-services .pr-testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 20px; }
.hls-pr-services .pr-testimonial-controls[hidden] { display: none; }
.hls-pr-services .pr-testimonial-prev,
.hls-pr-services .pr-testimonial-next { background: transparent; border: 0; width: 45px; padding: 0; }
.hls-pr-services .pr-testimonial-controls button:focus-visible { outline: 2px solid #fdec0b; outline-offset: 5px; }
.hls-pr-services .pr-testimonial-controls .swiper-button-disabled { opacity: 0.4; }
/* Readable fallback if JavaScript is unavailable. */
.hls-pr-services .pr-testimonials-slider:not(.swiper-container-initialized) .swiper-wrapper { flex-wrap: wrap; }
.hls-pr-services .pr-testimonials-slider:not(.swiper-container-initialized) .swiper-slide { width: 33.333%; }
@media (max-width: 1023px) {
    .hls-pr-services .pr-testimonials-slider:not(.swiper-container-initialized) .swiper-slide { width: 50%; }
}
@media (max-width: 639px) {
    .hls-pr-services .pr-testimonials-slider:not(.swiper-container-initialized) .swiper-slide { width: 100%; }
    .hls-pr-services .pr-testimonial-controls { gap: 10px; }
}

.hls-pr-services .client-testimonials.pr-testimonials .box-client .box-section::after { background-image: url('../imgs/hls-testimonial-white-tail.png'); }
.hls-pr-services .client-testimonials.pr-testimonials .pr-testimonial-highlight .box-client .box-section::after { background-image: url('../imgs/hls-testimonial-yellow-tail.png'); }

/* Follow the Podcast's black / charcoal ribbon at panel boundaries, not at every content block. */
.hls-pr-services {
    --pr-curve-left-width: min(31vw, 444px);
    --pr-curve-left-height: min(21vw, 300px);
    --pr-curve-right-width: min(28vw, 400px);
    --pr-curve-right-height: min(17vw, 240px);
}
.hls-pr-services .pr-flow-panel { position: relative; }
.hls-pr-services .pr-flow-black { --pr-panel-color: #000; background-color: #000; color: #fff; }
.hls-pr-services .pr-flow-charcoal { --pr-panel-color: #1d1f1e; background-color: #1d1f1e; color: #fff; }
.hls-pr-services .pr-flow-white { --pr-panel-color: #fff; background-color: #fff; color: #111; }

/* Remove inherited curves from the blocks inside each panel. Keep the hero's upper-left curve. */
.hls-pr-services .section-communication::before,
.hls-pr-services .pr-flow-panel .section-communication::after,
.hls-pr-services .logos-section::before,
.hls-pr-services .logos-section::after,
.hls-pr-services .full-width.graphic-communication.podcast::before,
.hls-pr-services .full-width.graphic-communication.podcast::after,
.hls-pr-services .full-width.what-we-offer-wrapper::before {
    content: none;
}
.hls-pr-services .section-communication { z-index: auto; }
.hls-pr-services .pr-flow-panel .logos-section { z-index: auto; border-radius: 0; background-image: none; }
.hls-pr-services .pr-flow-panel .section-communication { border-radius: 0; }
.hls-pr-services .pr-flow-panel > :is(.logos-section, .section-communication, .graphic-communication, .what-we-offer-wrapper, .client-testimonials, .form-section) {
    background-color: transparent;
    color: inherit;
}
.hls-pr-services .pr-flow-panel .container { position: relative; z-index: 2; }
.hls-pr-services .pr-flow-panel::before,
.hls-pr-services .pr-flow-panel::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.hls-pr-services .pr-flow-panel::before {
    width: var(--pr-curve-left-width);
    height: var(--pr-curve-left-height);
    bottom: calc(100% - 1px);
    left: 0;
}
.hls-pr-services .pr-flow-panel::after {
    width: var(--pr-curve-right-width);
    height: var(--pr-curve-right-height);
    top: -1px;
    right: 0;
}
.hls-pr-services .pr-flow-charcoal::before { background-image: url('../imgs/leftcurv.png'); }
.hls-pr-services .pr-flow-charcoal::after { background-image: url('../imgs/curve2_1.png'); }
.hls-pr-services .pr-flow-black::before {
    background-image: url('../imgs/11.png');
    width: min(24vw, 337px);
    height: min(18vw, 260px);
}
.hls-pr-services .pr-flow-black::after { background-image: url('../imgs/curvegrays.png'); }

/* Logos stay legible on white tiles without breaking the charcoal panel into a white stripe. */
.hls-pr-services .pr-flow-charcoal .logos-section li { background: #fff; border-radius: 12px; padding: 12px; }

/* Keep the white panel variant available; the footer follows the charcoal consultation panel. */
.hls-pr-services .pr-flow-white::before {
    background-color: #fff;
    mask-image: radial-gradient(ellipse 100% 100% at top right, transparent calc(100% - 1px), #000 100%);
}
.hls-pr-services .pr-flow-white::after {
    background-image: radial-gradient(ellipse 100% 100% at bottom left, transparent calc(100% - 1px), #000 100%);
}
.hls-pr-services .form-section { padding-bottom: max(80px, var(--pr-curve-left-height)); }
.page-template-hls-pr-services footer#main-footer { position: relative; }
.page-template-hls-pr-services footer#main-footer::before,
.page-template-hls-pr-services footer#main-footer::after {
    content: "";
    position: absolute;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.page-template-hls-pr-services footer#main-footer::before {
    background-image: url('../imgs/11.png');
    width: min(24vw, 337px);
    height: min(18vw, 260px);
    bottom: calc(100% - 1px);
    left: 0;
}
.page-template-hls-pr-services footer#main-footer::after {
    background-image: url('../imgs/curvegrays.png');
    width: min(28vw, 400px);
    height: min(17vw, 240px);
    top: -1px;
    right: 0;
}
.page-template-hls-pr-services footer#main-footer > * { position: relative; z-index: 2; }
