/* Subpage Banner CSS */

.blog-page #Banner-Container-S {
    background-repeat: no-repeat;
    background-position: center top;
    position: relative;
}

.blog-page .banner-info {
    width: 600px;
    position: absolute;
    top: 45px;
    right: 0;
    padding: 10px 10px;
    color: #fff;
    z-index: 1;
}

.blog-deatil-page.blog-page .banner-info {
    top: auto;
    bottom: 33%;
}

.blog-page .banner-info h1 {
    font: normal 36px/38px 'Parkinsans';
    padding: 0 0 10px 0;
    color: #000;
}

.blog-page .banner-info .product-tag {
    font: 500 16px/24px 'Parkinsans';
    padding: 10px 0 10px 0;
    color: #000;
}

.blog-page .banner-info .ban-btn {
    font: 500 16px/26px 'Parkinsans';
    padding: 10px 0 10px 0;
}

.blog-page .banner-info .ban-btn li {
    display: inline-block;
    vertical-align: top;
    margin: 0 0 10px 0;
}

.blog-page .banner-info .ban-btn li:first-child {
    margin-right: 15px;
}

.blog-page .banner-info .ban-btn li a {
    display: block;
    padding: 10px 30px;
    border-radius: 25px;
    background: #1c78ae;
    border: 1px solid #167cb7;
    color: #000;
}

.blog-page .banner-info .ban-btn li a.btn-hvr-b {
    color: #fff;
}

.blog-page .banner-info .ban-btn li a:hover {
    background: var(--black-color) !important;
    border-color: #000;
    color: #fff;
}

.blog-page .banner-info .ban-btn li a::before {
    background: #000;
}

.blog-page .banner-info .ban-btn li:last-child a {
    background: none;
}

.blog-page .banner-info .ban-links {
    font: 500 16px/26px 'Parkinsans';
    padding: 10px 0 0px 0;
}

.blog-page .banner-info .ban-links li {
    display: inline-block;
    vertical-align: top;
    position: relative;
}

.blog-page .banner-info .ban-links li::after {
    content: '|';
    padding: 0 15px;
    color: #000;
}

.blog-page .banner-info .ban-links li:last-child::after {
    display: none;
}

.blog-page .banner-info .ban-links li a {
    display: inline-block;
    text-decoration: underline;
    text-underline-offset: 2px;
    color: #000;
}

.blog-page .banner-info .ban-links li a:hover {
    color: #1c78ae;
}

/* Heading row */

.blog-page .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 40px 0 0 0;
}

.blog-page .top h2 {
    font-weight: 300;
    font-size: 44px;
    line-height: 50px;
}

.blog-page .view-all {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #167cb7;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
}

.blog-page .view-all svg {
    width: 20px;
    height: 20px;
    transition: transform .2s;
}

.blog-page .view-all:hover svg {
    transform: translateX(4px);
}

/* Cards */

.blog-section {
    margin: 40px 0;
}

.blog-page .cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.blog-page .card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #d1e2f5;
    border-radius: 22px;
    overflow: hidden;
    padding-bottom: 32px;
}

.blog-page .card__img {
    display: block;
    aspect-ratio: 383/261;
    overflow: hidden;
    background: #f4f9ff;
}

.blog-page .card__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.blog-page .card:hover .card__img img {
    transform: scale(1.03);
}

.blog-page .card__date,
.blog-page .card__title,
.blog-page .card__text,
.blog-page .card__more {
    padding-inline: 40px 32px !important;
}

.blog-page .card__date {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #292929;
}

.blog-page .card__date svg {
    flex: none;
    width: 18px;
    height: 18px;
}

.blog-page .textMain .card__title {
    margin-top: 12px;
    padding-block: 0;
    font-weight: 400;
    font-size: 22px;
    line-height: 29px;
    color: #167cb7;
    /* max 4 lines, so all cards line up */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-page .card__title a:hover {
    text-decoration: none;
    color: #000;
}

.blog-page .card__text {
    margin-top: 16px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 24px;
    color: #000;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* flex: 1; - stretched the text box, so a cut-off line showed under the "..." */
    flex: none;
    align-self: start;
    font-weight: normal;
}

/* no top/bottom padding (from .textMain p): the bottom padding showed part of the next hidden line */
.blog-page .textMain .card__text {
    padding-top: 0;
    padding-bottom: 0;
}

.blog-page .card__more {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    color: #167cb7;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
}

.blog-page .card__more svg {
    width: 18px;
    height: 18px;
    transition: transform .2s;
}

.blog-page .card__more:hover {
    color: #000;
}

.blog-page .card__more:hover svg {
    transform: translateX(4px);
}

/* Same row heights across cards where the browser supports subgrid */

@supports (grid-template-rows:subgrid) {
    .blog-page .card {
        display: grid;
        grid-row: span 5;
        grid-template-rows: subgrid;
        row-gap: 0;
    }
    .blog-page .card__text {
        flex: none;
        align-self: start;
    }
    .blog-page .card__more {
        align-self: end;
        justify-self: start;
    }
}

/* Pagination */

.blog-page .pager {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 60px;
}

.blog-page .pager a,
.blog-page .pager span {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid #888;
    border-radius: 14px;
    font-size: 18px;
    line-height: 1;
    color: #111;
    background: #fff;
    transition: border-color .2s, background .2s;
}

.blog-page .pager a:hover {
    border-color: #167cb7;
}

.blog-page .pager [aria-current="page"] {
    background: #167cb7;
    border-color: #167cb7;
    color: #fff;
    font-weight: 500;
}

.blog-page .pager .gap {
    color: #777;
    letter-spacing: 2px;
    font-weight: 700;
}

.blog-page .pager svg {
    width: 18px;
    height: 18px;
    color: #666;
}

/* Text CSS (post body on the detail page) */

.blog-page .textMain {
    padding: 10px 10px 0px 10px;
    font: normal 15px/25px 'Parkinsans';
    color: #000;
}

.blog-page .textMain h2 {
    font: 500 26px/32px 'Parkinsans';
    color: #167cb7;
}

.blog-page .textMain h3 {
    font: 500 23px/29px 'Parkinsans';
}

.blog-page .textMain h4 {
    font: normal 18px/22px 'Parkinsans';
}

.blog-page .textMain h2,
.blog-page .textMain h3,
.blog-page .textMain h4 {
    padding: 15px 0px 5px 0px;
}

.blog-page .textMain p {
    padding: 5px 0px 15px 0px;
}

.blog-page .textMain a {
    color: #167cb7;
}

.blog-page .textMain ul {
    padding: 0px 0px 10px 0px;
}

.blog-page .textMain ol {
    padding: 0px 0px 10px 30px;
}

/* .blog-page .textMain ul li {
    background: url(../images/bullet-b.gif) no-repeat 10px 13px;
    padding: 5px 5px 5px 30px;
} */

.blog-page .textMain ol li {
    padding: 5px;
    list-style: decimal;
}

.blog-page .textMain strong {
    font-weight: bold;
}
.blog-page.blog-deatil-page .textMain strong {
    font-weight: 600;
}
.blog-page .textMain em {
    font-style: italic;
}

.blog-detail-page-img {
    text-align: center;
    margin: 20px auto;
}

.blog-detail-page-img img {
    max-width: 100%;
    height: auto;
}

/* Blog detail page - space above the first heading and before the footer */
.blog-deatil-page .textMain .section-inside {
    padding-top: 40px;
    padding-bottom: 70px;
}

/* Video embeds in the post body (moved to the "post body" block below)
.blog-deatil-page .section-inside iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    margin: 30px 0;
} */

/* Blog detail page - picture like a photo frame */
.blog-deatil-page .blog-detail-page-img {
    margin: 30px auto 35px auto;
}

.blog-deatil-page .blog-detail-page-img img {
    display: inline-block;
    vertical-align: top;
    border: 8px solid #fff;
    border-radius: 20px;
    box-shadow: 0px 12px 30px 0px rgba(22, 124, 183, 0.18), 0px 2px 6px 0px rgba(0, 0, 0, 0.06);
}

/* ==========================================================
   Blog / News detail page - post body
   Works for any post content: text, lists, pictures, quotes,
   tables and videos (inline styles from the editor are kept)
   ========================================================== */
.blog-deatil-page .textMain .section-inside {
    font-size: 16px;
    line-height: 28px;
    color: #000;
    overflow-wrap: break-word;
}

/* Post title */
.blog-deatil-page .textMain .section-inside > h2:first-child {
    padding: 0 0 5px 0;
    font: normal 30px/38px 'Parkinsans';
    color: #167cb7;
}

/* Headings inside the post */
.blog-deatil-page .textMain h2 {
    padding: 25px 0 10px 0;
    font: 500 24px/32px 'Parkinsans';
}

.blog-deatil-page .textMain h3 {
    padding: 22px 0 8px 0;
    font: 500 20px/28px 'Parkinsans';
}

.blog-deatil-page .textMain h4 {
    padding: 18px 0 6px 0;
    font: 500 18px/24px 'Parkinsans';
}

/* Paragraphs and links */
.blog-deatil-page .textMain p {
    padding: 0 0 18px 0;
}

.blog-deatil-page .textMain a {
    color: #167cb7;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-deatil-page .textMain a:hover {
    color: #000;
}

/* Lists - numbers and bullets sit just outside the text, text lines up */
.blog-deatil-page .textMain ul,
.blog-deatil-page .textMain ol {
    margin: 0;
    padding: 0 0 18px 0;
}

.blog-deatil-page .textMain ol,
.blog-deatil-page .textMain ul {
    padding-left: 24px;
}

.blog-deatil-page .textMain ol > li {
    padding: 0 0 0 6px;
    margin-bottom: 14px;
    background: none;
}

.blog-deatil-page .textMain ol > li::marker {
    font-weight: 600;
    color: #167cb7;
}

/* bullets: normal round bullet (flexi-slider.css removes the bullet
   image with !important), lined up the same way as the numbers */
.blog-deatil-page .textMain ul > li {
    padding: 0 0 0 6px;
    margin-bottom: 8px;
    list-style: disc outside;
}

.blog-deatil-page .textMain ul > li::marker {
    font-size: 1.1em;
    color: #167cb7;
}

.blog-deatil-page .textMain ul ul > li {
    list-style-type: circle;
}

.blog-deatil-page .textMain li:last-child {
    margin-bottom: 0;
}

/* text inside a list item: small gap under the question / first line */
.blog-deatil-page .textMain li > p {
    padding: 6px 0 0 0;
}

.blog-deatil-page .textMain li > ul,
.blog-deatil-page .textMain li > ol {
    padding-top: 8px;
    padding-bottom: 0;
}

/* Pictures - every picture in the post gets the same photo frame
   as the main picture, never wider than the column (max 860px,
   same as the video) and keeps its shape */
.blog-deatil-page .textMain .section-inside img {
    box-sizing: border-box;
    max-width: min(100%, 860px) !important;
    height: auto !important;
    vertical-align: top;
    margin: 15px 0 25px 0;
    border: 8px solid #fff;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0px 12px 30px 0px rgba(22, 124, 183, 0.18), 0px 2px 6px 0px rgba(0, 0, 0, 0.06);
}

/* main picture: its box already has the space around it */
.blog-deatil-page .textMain .blog-detail-page-img img {
    margin: 0;
}

/* Person / author picture next to the name: no frame */
.blog-deatil-page .textMain .section-inside .news-event-doctor-image img {
    display: block;
    margin: 0;
    border: 0;
    border-radius: 12px;
    box-shadow: none;
}

/* name placed next to a picture: line up with the top of the picture */
.blog-deatil-page .textMain .section-inside h2[style*="float"] {
    padding-top: 8px;
}

.blog-deatil-page .textMain h2 span {
    margin-top: 4px;
    font-weight: normal;
    line-height: 22px;
}

/* Quotes */
.blog-deatil-page .textMain blockquote {
    margin: 5px 0 25px 0;
    padding: 18px 25px;
    background: #f4f9ff;
    border-left: 4px solid #167cb7;
    border-radius: 0 12px 12px 0;
}

.blog-deatil-page .textMain blockquote p:last-child {
    padding-bottom: 0;
}

/* Tables - basic (kept for any other table) */
.blog-deatil-page .textMain table {
    width: 100%;
    margin: 0 0 25px 0;
    border-collapse: collapse;
}

.blog-deatil-page .textMain th,
.blog-deatil-page .textMain td {
    padding: 10px 14px;
    border: 1px solid #d1e2f5;
    text-align: left;
    vertical-align: top;
}

.blog-deatil-page .textMain th {
    background: #f4f9ff;
    font-weight: 600;
}

/* Text tables (comparison / data tables) - clean card look:
   blue header, light row stripes, rounded corners.
   The table box scrolls sideways on small screens (see 767.99px),
   so the columns are never squeezed. */
.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) {
    display: block;
    width: 100%;
    margin: 10px 0 30px 0;
    overflow-x: auto;
    border: 1px solid #d1e2f5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0px 6px 20px 0px rgba(22, 124, 183, 0.08);
    -webkit-overflow-scrolling: touch;
}

.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) > tbody {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) th,
.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) td {
    padding: 14px 18px;
    border: 0;
    border-bottom: 1px solid #e3eef9;
    font-size: 14px;
    line-height: 22px;
    text-align: left;
    vertical-align: top;
}

.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) th + th,
.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) td + td {
    border-left: 1px solid #e3eef9;
}

.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) tr:last-child td {
    border-bottom: 0;
}

/* header row */
.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) th,
.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) thead td {
    background: #167cb7;
    border-color: rgba(255, 255, 255, 0.2);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

/* light stripes on every other row, soft highlight on hover */
.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) tr:nth-child(odd) td {
    background: #f7fbff;
}

.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) tr:hover td {
    background: #eef6ff;
}

/* first column (row names) */
.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) td:first-child {
    font-weight: 600;
    color: #000;
}

/* lists inside a cell */
.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) td ul,
.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) td ol {
    padding: 0 0 0 18px;
}

.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) td li {
    margin-bottom: 4px;
    padding-left: 2px;
}

.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) td li:last-child {
    margin-bottom: 0;
}

.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) td p {
    padding: 0 0 8px 0;
}

.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) td p:last-child {
    padding-bottom: 0;
}

/* Videos - 16:9, centred, not too big on wide screens,
   same photo frame as the post picture */
.blog-deatil-page .textMain .videoBorder {
    width: 100%;
    max-width: 860px;
    margin: 30px auto;
    padding: 0;
    font-size: 0;
    line-height: 0;
}

.blog-deatil-page .textMain .section-inside iframe {
    position: static;
    display: block;
    width: 100%;
    max-width: 860px;
    height: auto;
    margin: 30px auto;
    aspect-ratio: 16 / 9;
    box-sizing: border-box;
    border: 8px solid #fff;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0px 12px 30px 0px rgba(22, 124, 183, 0.18), 0px 2px 6px 0px rgba(0, 0, 0, 0.06);
}

.blog-deatil-page .textMain .videoBorder iframe {
    margin: 0;
}

/* ---------- Picture gallery ----------
   2 or more pictures one after another (no text between them) are
   shown side by side as a gallery: 3 per row on desktop, 2 per row
   on tablet, 1 per row on mobile, same size tiles.
   Works without any HTML change; a post with single pictures
   between the text is not changed. */
.blog-deatil-page .textMain .section-inside:has(> div:not([class]) + div:not([class]) > img:only-child) {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 16px;
}

/* everything else in the post keeps the full width */
:where(.blog-deatil-page .textMain .section-inside:has(> div:not([class]) + div:not([class]) > img:only-child)) > * {
    grid-column: 1 / -1;
    min-width: 0;
}

/* gallery pictures */
.blog-deatil-page .textMain .section-inside > div:not([class]):has(> img:only-child):has(+ div:not([class]) > img:only-child),
.blog-deatil-page .textMain .section-inside > div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child) {
    grid-column: span 4;
    margin: 0 0 16px 0 !important;
}

.blog-deatil-page .textMain .section-inside > div:not([class]):has(> img:only-child):has(+ div:not([class]) > img:only-child) > img,
.blog-deatil-page .textMain .section-inside > div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child) > img {
    display: block;
    width: 100%;
    max-width: 100% !important;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    margin: 0;
    border-width: 6px;
    border-radius: 16px;
}

/* ---------- People cards (table.bedicu) ----------
   A table of people (photo, name, title) is shown as cards:
   4 per row on desktop, a lone last card in the middle. */
.blog-deatil-page .textMain .section-inside table.bedicu {
    display: block;
    width: 100%;
    margin: 10px 0 30px 0;
}

.blog-deatil-page .textMain .section-inside table.bedicu tbody {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.blog-deatil-page .textMain .section-inside table.bedicu tr {
    display: contents;
}

.blog-deatil-page .textMain .section-inside table.bedicu td {
    display: block;
    width: auto;
    padding: 28px 18px 25px 18px;
    background: #f4f9ff;
    border: 1px solid #d1e2f5;
    border-radius: 20px;
    font-size: 14px;
    line-height: 22px;
    color: #333;
}

.blog-deatil-page .textMain .section-inside table.bedicu td[colspan] {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 60px) / 4);
}

.blog-deatil-page .textMain .section-inside table.bedicu td img {
    width: 120px !important;
    height: 120px !important;
    margin: 0 0 6px 0;
    object-fit: cover;
    border: 5px solid #fff;
    border-radius: 50% !important;
    box-shadow: 0px 6px 16px 0px rgba(22, 124, 183, 0.18);
}

.blog-deatil-page .textMain .section-inside table.bedicu td strong {
    display: block;
    margin-top: 6px;
    font-size: 17px;
    font-weight: 600;
    line-height: 24px;
    color: #167cb7;
}

/* ---------- Photo table ----------
   A table cell with several pictures is shown as a neat row of
   same-height photos that wrap onto the next line. */
.blog-deatil-page .textMain .section-inside table:has(td > img + img) {
    margin: 10px 0 25px 0;
}

.blog-deatil-page .textMain .section-inside table:has(td > img + img) td {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 0;
    border: 0;
}

.blog-deatil-page .textMain .section-inside table:has(td > img + img) td img {
    width: auto;
    height: 220px !important;
    margin: 0 !important;
    object-fit: cover;
    border-width: 6px;
    border-radius: 16px;
}

/* lists with an editor indent (style="margin-left: 40px") line up
   with the other lists */
.blog-deatil-page .textMain .section-inside ul[style*="margin-left"],
.blog-deatil-page .textMain .section-inside ol[style*="margin-left"] {
    margin-left: 0 !important;
}

/* ---------- Centred picture paragraphs ----------
   <p class="text-center"> with one or more pictures (e.g. app
   screenshots): pictures keep their shape, are never taller than
   600px, and two pictures sit side by side with a gap. */
.blog-deatil-page .textMain .section-inside p:is(.text-center, [style*="text-align: center"], [style*="text-align:center"]):has(> img) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    padding: 10px 0 30px 0;
}

.blog-deatil-page .textMain .section-inside p:is(.text-center, [style*="text-align: center"], [style*="text-align:center"]):has(> img) > img {
    width: auto !important;
    height: auto !important;
    max-height: 600px;
    margin: 0;
}

.blog-deatil-page .textMain .section-inside p:is(.text-center, [style*="text-align: center"], [style*="text-align:center"]):has(> img) > img + img,
.blog-deatil-page .textMain .section-inside p:is(.text-center, [style*="text-align: center"], [style*="text-align:center"]):has(> img) > img:has(+ img) {
    max-width: calc(50% - 12px) !important;
}

/* ---------- News / blog picture slider (Flexslider) ----------
   Main picture + thumbnail strip, styled like the product page
   gallery: rounded pictures, no photo frame, 4 thumbnails in a row,
   blue border on the selected one, magnifier on the others, round
   arrows on the main picture. 855px wide = exactly 4 thumbnails
   (thumbnail width 210px + 5px gap, set in the page script). */
.blog-deatil-page .textMain .section-inside #slider-img,
.blog-deatil-page .textMain .section-inside #carousel-slide-img {
    max-width: 855px;
    margin-left: auto;
    margin-right: auto;
}

.blog-deatil-page .textMain .section-inside #slider-img {
    margin-top: 25px;
    border-radius: 20px;
    overflow: hidden;
}

.blog-deatil-page .textMain .section-inside #carousel-slide-img {
    padding: 12px 0 0 0;
    margin-bottom: 30px;
}

/* lists inside the slider: no bullets, no indent */
.blog-deatil-page .textMain .section-inside .flexslider ul {
    margin: 0;
    padding: 0;
}

.blog-deatil-page .textMain .section-inside .flexslider ul > li {
    margin-bottom: 0;
    padding: 0;
    list-style: none;
    background: none;
}

/* main picture */
.blog-deatil-page .textMain .section-inside #slider-img .slides img {
    display: block;
    width: 100%;
    max-width: 100% !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #f4f9ff;
    box-shadow: none;
}

/* thumbnails */
.blog-deatil-page .textMain .section-inside #carousel-slide-img .slides > li {
    position: relative;
    cursor: pointer;
}

.blog-deatil-page .textMain .section-inside #carousel-slide-img .slides img {
    display: block;
    width: 100%;
    max-width: 100% !important;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    margin: 0;
    border: 2px solid transparent;
    border-radius: 14px;
    background: #f4f9ff;
    box-shadow: none;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.blog-deatil-page .textMain .section-inside #carousel-slide-img .slides > li:hover img {
    opacity: 0.85;
}

.blog-deatil-page .textMain .section-inside #carousel-slide-img .slides > li.flex-active-slide img {
    border-color: #167cb7;
}

/* magnifier on the thumbnails that are not selected */
.blog-deatil-page .textMain .section-inside #carousel-slide-img .slides > li::after {
    position: absolute;
    content: '';
    inset: 0;
    margin: auto;
    width: 32px;
    height: 32px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 38"><circle cx="16" cy="16" r="11" fill="none" stroke="%23ffffff" stroke-width="3"/><line x1="24" y1="24" x2="33" y2="33" stroke="%23ffffff" stroke-width="3" stroke-linecap="round"/></svg>') no-repeat center / contain;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
    pointer-events: none;
}

.blog-deatil-page .textMain .section-inside #carousel-slide-img .slides > li.flex-active-slide::after {
    display: none;
}

/* arrows: round white buttons on the main picture, none on the thumbnails */
.blog-deatil-page .textMain .section-inside #carousel-slide-img .flex-direction-nav {
    display: none !important;
}

.blog-deatil-page .textMain .section-inside #slider-img .flex-direction-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0;
    z-index: 5;
}

.blog-deatil-page .textMain .section-inside #slider-img .flex-direction-nav li {
    float: none;
    margin: 0;
}

.blog-deatil-page .textMain .section-inside #slider-img .flex-direction-nav a {
    position: absolute;
    top: 0;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 0;
    border-radius: 50%;
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 5l7 7-7 7" fill="none" stroke="%23167cb7" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / 18px 18px;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.18);
    font-size: 0;
    text-indent: -9999px;
    overflow: hidden;
    opacity: 0.92;
    transition: opacity 0.2s ease;
}

.blog-deatil-page .textMain .section-inside #slider-img .flex-direction-nav a:hover {
    opacity: 1;
}

.blog-deatil-page .textMain .section-inside #slider-img .flex-direction-nav .flex-prev {
    left: 16px;
    transform: scaleX(-1);
}

.blog-deatil-page .textMain .section-inside #slider-img .flex-direction-nav .flex-next {
    right: 16px;
}

/* first / last picture: hide the arrow that does nothing */
.blog-deatil-page .textMain .section-inside #slider-img .flex-direction-nav .flex-disabled {
    opacity: 0;
    pointer-events: none;
}

/* ---------- News / blog gallery - same as the product page ----------
   blog-gallery-splide.js (added to functions.js) turns the post's
   Flexslider gallery into the product page Splide gallery (same ids,
   same script). Same look as "See the Product in Use" in
   product-detail.css, plus resets for the post picture frame and
   list styles. Main picture 2:1 on desktop (post photos are 16:9,
   so only a little is trimmed), 16:9 from tablet down. */
.blog-deatil-page #PP-See-the-Product-Use-wrapper {
    margin: 25px 0 35px 0;
}

/* lists inside the gallery: no bullets, no indent */
.blog-deatil-page .textMain #PP-See-the-Product-Use-wrapper ul {
    margin: 0;
    padding: 0;
}

.blog-deatil-page .textMain #PP-See-the-Product-Use-wrapper ul > li {
    margin-bottom: 0;
    padding: 0;
    list-style: none;
    background: none;
}

.blog-deatil-page #PP-See-the-Product-Use-wrapper .splide__track--nav > .splide__list > .splide__slide,
.blog-deatil-page #PP-See-the-Product-Use-wrapper .splide__track--nav > .splide__list > .splide__slide.is-active {
    border: none;
}

/* main picture */
/* photo frame: white border + soft blue shadow (same as the post pictures) */
.blog-deatil-page #PP-See-the-Product-Use-slider {
    border: 8px solid #fff;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0px 12px 30px 0px rgba(22, 124, 183, 0.18), 0px 2px 6px 0px rgba(0, 0, 0, 0.06);
}

.blog-deatil-page #PP-See-the-Product-Use-wrapper .pp-see-the-product-use-list-preview-img {
    position: relative;
    aspect-ratio: 2 / 1;
    border-radius: inherit;
    background: #f4f9ff;
}

.blog-deatil-page .textMain #PP-See-the-Product-Use-wrapper .pp-see-the-product-use-list-preview-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

/* thumbnails */
.blog-deatil-page #PP-See-the-Product-Use-Thumbnails-slider {
    margin-top: 22px;
}

/* room for the thumbnail shadow and lift (the track hides overflow) */
.blog-deatil-page #PP-See-the-Product-Use-Thumbnails-slider .splide__track {
    padding-top: 6px;
    padding-bottom: 12px;
}

.blog-deatil-page #PP-See-the-Product-Use-wrapper .pp-see-the-product-use-list-thumbnail-img {
    position: relative;
    width: 296px;
    height: 194px;
    margin: 0 auto;
    border: 4px solid #fff;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    box-shadow: 0px 4px 12px 0px rgba(22, 124, 183, 0.14);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-deatil-page .textMain #PP-See-the-Product-Use-wrapper .pp-see-the-product-use-list-thumbnail-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* hover: full colour */
.blog-deatil-page .textMain #PP-See-the-Product-Use-wrapper .splide__slide:hover .pp-see-the-product-use-list-thumbnail-img img {
    opacity: 1;
}

/* selected thumbnail: blue frame, lifted, full colour, no magnifier */
.blog-deatil-page #PP-See-the-Product-Use-wrapper .is-active ul li.is-active .pp-see-the-product-use-list-thumbnail-img {
    border-color: #167cb7;
    box-shadow: 0px 8px 18px 0px rgba(22, 124, 183, 0.3);
    transform: translateY(-4px);
}

.blog-deatil-page .textMain #PP-See-the-Product-Use-wrapper .is-active ul li.is-active .pp-see-the-product-use-list-thumbnail-img img {
    opacity: 1;
}

.blog-deatil-page #PP-See-the-Product-Use-wrapper .is-active ul li.is-active .pp-see-the-product-use-list-thumbnail-img::before {
    opacity: 0;
}

/* magnifier on the thumbnails */
.blog-deatil-page #PP-See-the-Product-Use-wrapper .pp-see-the-product-use-list-thumbnail-img::before {
    position: absolute;
    content: '';
    z-index: 1;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 38"><circle cx="16" cy="16" r="11" fill="none" stroke="%23ffffff" stroke-width="3"/><line x1="24" y1="24" x2="33" y2="33" stroke="%23ffffff" stroke-width="3" stroke-linecap="round"/></svg>') no-repeat center;
    width: 38px;
    height: 38px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    transition: opacity 0.3s ease;
}

/* before the slider starts: show only the first picture */
.blog-deatil-page #PP-See-the-Product-Use-wrapper ul li:not(:first-child) {
    display: none;
}

.blog-deatil-page #PP-See-the-Product-Use-wrapper .is-active ul li {
    display: block;
}

/* progress bar */
.blog-deatil-page #PP-See-the-Product-Use-wrapper .progress-bar-container {
    display: flex;
    align-items: center;
    height: 7px;
    margin-top: 35px;
}

.blog-deatil-page #PP-See-the-Product-Use-wrapper .progress-track {
    position: relative;
    width: 100%;
    height: 2px;
    background: #c3e2ff;
}

.blog-deatil-page #PP-See-the-Product-Use-wrapper .progress-fill {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0%;
    height: 5px;
    border-radius: 2px;
    background: #167cb7;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Let's Start a Conversation */

.blog-page #Start-Conversation {
    background: #f4f9ff;
}

.blog-page #Start-Conversation-In {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 93px;
}

.blog-page #Start-Conversation-In h2 {
    font: 300 48px/54px 'Parkinsans';
    color: #222222;
}

.blog-page #Start-Conversation-In p {
    font: 300 18px/28px 'Parkinsans';
    color: #494949;
    margin-top: 22px;
}

.blog-page .conversation-list {
    margin-top: 50px;
}

.blog-page .conversation-list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.blog-page .conversation-list ul li {
    text-align: center;
    background: none;
    padding: 0;
}

.blog-page .conversation-list ul li a {
    display: block;
    font: normal 18px/24px 'Parkinsans';
    color: #000;
    letter-spacing: 0.2px;
    border-color: #167cb7;
    padding: 13px 52px;
}

.blog-page .conversation-list ul li a.btn-hvr-b::before {
    background: #167cb7;
}

.blog-page .conversation-list ul li a.btn-hvr-b:hover {
    color: #fff;
}

.blog-page .conversation-list ul li a.btn-hvr-w::before {
    background: #fff;
}

.blog-page .conversation-list ul li a.btn-hvr-w:hover {
    color: #000;
    background: none;
}

.blog-page .conversation-list ul li:nth-child(even) a {
    background: #167cb7;
    color: #fff;
}

/* Media Query For Different Screens */

@media (min-width:640px) {
    .blog-page .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width:1000px) {
    .blog-page .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* @media (max-width:999px) {
    .blog-page .card__date,
    .blog-page .card__title,
    .blog-page .card__text,
    .blog-page .card__more {
        padding-inline: 36px 28px !important;
    }
} */

/* @media screen and (max-width: 1023.99px) {
    .blog-page .banner-info {
        width: 100%;
        position: static;
        padding: 30px 20px;
    }
} */

/* @media (max-width:639px) {
    .blog-page .top {
        margin-bottom: 28px;
    }
    .blog-page .top h2 {
        font-size: 30px;
        line-height: 36px;
    }
    .blog-page .view-all {
        font-size: 14px;
        gap: 8px;
    }
    .blog-page .cards {
        gap: 20px;
    }
    .blog-page .card {
        border-radius: 18px;
        padding-bottom: 30px;
    }
    .blog-page .card__date,
    .blog-page .card__title,
    .blog-page .card__text,
    .blog-page .card__more {
        padding-inline: 22px 18px !important;
    }
    .blog-page .card__date {
        margin-top: 24px;
        font-size: 14px;
    }
    .blog-page .textMain .card__title {
        font-size: 19px;
        line-height: 27px;
    }
    .blog-page .card__text {
        margin-top: 18px;
    }
    .blog-page .pager {
        gap: 6px;
        margin-top: 40px;
    }
    .blog-page .pager a,
    .blog-page .pager span {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        font-size: 16px;
    }
    .blog-page #Start-Conversation-In h2 {
        font: 300 32px/38px 'Parkinsans';
    }
} */

/* @media screen and (max-width: 479.99px) {
    .blog-page .banner-info .ban-btn li,
    .blog-page .banner-info .ban-btn li a {
        display: block;
        width: 100%;
        text-align: center;
    }
    .blog-page .banner-info .ban-btn li:first-child {
        margin-right: 0;
    }
} */

/* Media Query For Different Screens (new) */
@media screen and (max-width : 1200.99px) {
	/* Cards */
	.blog-page .card__date,
	.blog-page .card__title,
	.blog-page .card__text,
	.blog-page .card__more {
		padding-inline: 32px 28px !important;
	}

	/* Bottom buttons */
	.blog-page .conversation-list ul li a {
		padding: 13px 40px;
	}
}

@media screen and (max-width : 1023.99px) {
	/* Banner - picture on top, text below */
	.blog-page #Banner-Container-S #Banner {
		height: auto;
		padding: 350px 0 0 0;
	}

	.blog-page #Banner-Container-S {
		background-size: auto 350px;
		background-position: left top;
	}

	.blog-page .banner-info,
	.blog-deatil-page.blog-page .banner-info {
		position: static;
		width: 100%;
		padding: 20px 10px 50px;
		background-color: #ecf0f9;
	}

	.blog-page .banner-info h1 {
		font-size: 32px;
		line-height: 40px;
	}

	/* Section headings */
	.blog-page .top h2,
	.blog-page #Start-Conversation-In h2 {
		font-size: 34px;
		line-height: 42px;
	}

	/* Cards */
	.blog-page .top {
		margin-top: 30px;
	}

	.blog-section {
		margin: 30px 0;
	}

	.blog-page .cards {
		gap: 20px;
	}

	.blog-page .card__date,
	.blog-page .card__title,
	.blog-page .card__text,
	.blog-page .card__more {
		padding-inline: 25px 22px !important;
	}

	.blog-page .pager {
		margin-top: 45px;
	}

	/* Let's Start a Conversation */
	.blog-page #Start-Conversation-In {
		padding-top: 55px;
		padding-bottom: 60px;
	}

	.blog-page #Start-Conversation-In p {
		font-size: 17px;
		line-height: 28px;
	}

	.blog-page .conversation-list {
		margin-top: 35px;
	}

	.blog-page .conversation-list ul li a {
		padding: 13px 30px;
	}

	/* Blog detail page */
	.blog-deatil-page .textMain .section-inside {
		padding-top: 30px;
		padding-bottom: 55px;
	}

	.blog-deatil-page .blog-detail-page-img {
		margin: 25px auto 30px auto;
	}

	.blog-deatil-page .blog-detail-page-img img {
		border-width: 6px;
		border-radius: 16px;
	}

	.blog-page .textMain h2 {
		font-size: 24px;
		line-height: 30px;
	}

	.blog-page .textMain h3 {
		font-size: 21px;
		line-height: 27px;
	}
}

@media screen and (max-width : 767.99px) {
	.blog-page .top h2,
	.blog-page #Start-Conversation-In h2 {
		font-size: 28px;
		line-height: 36px;
	}

	.blog-page .textMain .card__title {
		font-size: 20px;
		line-height: 27px;
	}
}

@media screen and (max-width : 639.99px) {
	/* Banner */
	.blog-page #Banner-Container-S #Banner {
		padding: 250px 0 0 0;
	}

	.blog-page #Banner-Container-S {
		background-size: auto 250px;
	}

	.blog-page .banner-info,
	.blog-deatil-page.blog-page .banner-info {
		padding: 20px 10px 40px;
	}

	.blog-page .banner-info h1 {
		font-size: 28px;
		line-height: 36px;
	}

	/* Headings */
	.blog-page .top h2,
	.blog-page #Start-Conversation-In h2 {
		font-size: 25px;
		line-height: 35px;
	}

	/* Cards - 1 per row (kept from the old 639px media query, adjusted) */
	.blog-page .top {
		margin-top: 20px;
		margin-bottom: 0;
	}

	.blog-page .view-all {
		font-size: 14px;
		gap: 8px;
	}

	.blog-page .cards {
		gap: 20px;
		max-width: 450px;
		margin: 0 auto;
	}

	.blog-page .card {
		border-radius: 18px;
		padding-bottom: 25px;
	}

	.blog-page .card__date,
	.blog-page .card__title,
	.blog-page .card__text,
	.blog-page .card__more {
		padding-inline: 20px 18px !important;
	}

	.blog-page .card__date {
		margin-top: 20px;
		font-size: 14px;
	}

	.blog-page .textMain .card__title {
		font-size: 19px;
		line-height: 26px;
		margin-top: 10px;
	}

	.blog-page .card__text {
		margin-top: 12px;
		margin-bottom: 18px;
		font-size: 14px;
		line-height: 22px;
	}

	.blog-page .pager {
		gap: 6px;
		margin-top: 35px;
	}

	.blog-page .pager a,
	.blog-page .pager span {
		width: 40px;
		height: 40px;
		border-radius: 10px;
		font-size: 16px;
	}

	/* Let's Start a Conversation */
	.blog-page #Start-Conversation-In {
		padding-top: 40px;
		padding-bottom: 45px;
	}

	.blog-page #Start-Conversation-In p {
		font-size: 15px;
		line-height: 26px;
		margin-top: 15px;
	}

	.blog-page .conversation-list {
		margin-top: 30px;
	}

	.blog-page .conversation-list ul {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}

	.blog-page .conversation-list ul li {
		width: 100%;
		max-width: 340px;
	}

	.blog-page .conversation-list ul li a {
		font-size: 16px;
		padding: 12px 20px;
	}

	/* Blog detail page */
	.blog-deatil-page .textMain .section-inside {
		padding-top: 20px;
		padding-bottom: 40px;
	}

	.blog-deatil-page .blog-detail-page-img {
		margin: 18px auto 22px auto;
	}

	.blog-deatil-page .blog-detail-page-img img {
		border-width: 4px;
		border-radius: 12px;
		box-shadow: 0px 8px 20px 0px rgba(22, 124, 183, 0.16);
	}

	.blog-page .textMain h2 {
		font-size: 22px;
		line-height: 28px;
	}

	.blog-page .textMain h3 {
		font-size: 19px;
		line-height: 25px;
	}

	.blog-page .textMain h4 {
		font-size: 17px;
		line-height: 22px;
	}
}

@media screen and (max-width : 479.99px) {
	/* Banner - buttons and links stacked (kept from the old media query) */
	.blog-page #Banner-Container-S {
		background-position: 20% top;
	}

	.blog-page .banner-info .ban-btn li,
	.blog-page .banner-info .ban-btn li a {
		display: block;
		width: 100%;
		text-align: center;
	}

	.blog-page .banner-info .ban-btn li:first-child {
		margin-right: 0;
	}

	.blog-page .banner-info .ban-btn li a {
		padding: 10px 20px;
	}

	.blog-page .banner-info .ban-links li {
		display: block;
		padding: 3px 0;
	}

	.blog-page .banner-info .ban-links li::after {
		display: none;
	}
}

@media screen and (max-width : 359.99px) {
	.blog-page .banner-info h1 {
		font-size: 24px;
		line-height: 32px;
	}

	.blog-page .top h2,
	.blog-page #Start-Conversation-In h2 {
		font-size: 22px;
		line-height: 30px;
	}

	.blog-page .conversation-list ul li a {
		font-size: 15px;
	}
}

/* Blog / News detail page - post body (responsive) */
@media screen and (max-width : 1023.99px) {
	.blog-deatil-page .textMain .section-inside > h2:first-child {
		font-size: 26px;
		line-height: 34px;
	}

	.blog-deatil-page .textMain h2 {
		font-size: 22px;
		line-height: 30px;
	}

	/* picture and video frame */
	.blog-deatil-page .textMain .section-inside img,
	.blog-deatil-page .textMain .section-inside iframe {
		border-width: 6px;
		border-radius: 16px;
	}
}

/* Gallery - tablet: 2 per row, a lone last picture in the middle
   (mobile is 1 per row, see 479.99px) */
@media screen and (min-width : 480px) and (max-width : 1023.99px) {
	.blog-deatil-page .textMain .section-inside > div:not([class]):has(> img:only-child):has(+ div:not([class]) > img:only-child),
	.blog-deatil-page .textMain .section-inside > div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child) {
		grid-column: span 6;
	}

	.blog-deatil-page .textMain .section-inside > :not(div:not([class]):has(> img:only-child)) + div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child):not(:has(+ div:not([class]) > img:only-child)),
	.blog-deatil-page .textMain .section-inside > :not(div:not([class]):has(> img:only-child)) + div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child):not(:has(+ div:not([class]) > img:only-child)),
	.blog-deatil-page .textMain .section-inside > :not(div:not([class]):has(> img:only-child)) + div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child):not(:has(+ div:not([class]) > img:only-child)) {
		grid-column: 4 / span 6;
	}
}

@media screen and (max-width : 639.99px) {
	.blog-deatil-page .textMain .section-inside {
		font-size: 15px;
		line-height: 26px;
	}

	.blog-deatil-page .textMain .section-inside > h2:first-child {
		font-size: 24px;
		line-height: 32px;
	}

	.blog-deatil-page .textMain h2 {
		padding-top: 20px;
		font-size: 20px;
		line-height: 28px;
	}

	.blog-deatil-page .textMain h3 {
		padding-top: 18px;
		font-size: 18px;
		line-height: 26px;
	}

	.blog-deatil-page .textMain h4 {
		font-size: 17px;
		line-height: 23px;
	}

	.blog-deatil-page .textMain p {
		padding-bottom: 15px;
	}

	.blog-deatil-page .textMain .videoBorder,
	.blog-deatil-page .textMain .section-inside iframe {
		margin-top: 20px;
		margin-bottom: 20px;
	}

	.blog-deatil-page .textMain .videoBorder iframe {
		margin: 0;
	}

	/* picture and video frame */
	.blog-deatil-page .textMain .section-inside img,
	.blog-deatil-page .textMain .section-inside iframe {
		border-width: 4px;
		border-radius: 12px;
		box-shadow: 0px 8px 20px 0px rgba(22, 124, 183, 0.16);
	}

	.blog-deatil-page .textMain .section-inside img {
		margin: 10px 0 20px 0;
	}

	.blog-deatil-page .textMain .blog-detail-page-img img {
		margin: 0;
	}

	.blog-deatil-page .textMain blockquote {
		padding: 15px 18px;
	}

	/* gallery: smaller gaps and frame */
	.blog-deatil-page .textMain .section-inside:has(> div:not([class]) + div:not([class]) > img:only-child) {
		column-gap: 10px;
	}

	.blog-deatil-page .textMain .section-inside > div:not([class]):has(> img:only-child):has(+ div:not([class]) > img:only-child),
	.blog-deatil-page .textMain .section-inside > div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child) {
		margin-bottom: 10px !important;
	}

	.blog-deatil-page .textMain .section-inside > div:not([class]):has(> img:only-child):has(+ div:not([class]) > img:only-child) > img,
	.blog-deatil-page .textMain .section-inside > div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child) > img {
		border-width: 4px;
		border-radius: 12px;
	}
}

@media screen and (max-width : 479.99px) {
	/* pictures and names placed side by side (float) stack on small phones
	   (not the slider pictures - the slider floats them itself) */
	.blog-deatil-page .textMain .section-inside [style*="float"]:not(.slides > li) {
		float: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.blog-deatil-page .textMain .news-event-doctor-image {
		margin-bottom: 15px !important;
	}

	.blog-deatil-page .textMain .section-inside h2[style*="float"] {
		margin-bottom: 0 !important;
	}

	.blog-deatil-page .textMain ol,
	.blog-deatil-page .textMain ul {
		padding-left: 20px;
	}

	.blog-deatil-page .textMain ol > li,
	.blog-deatil-page .textMain ul > li {
		padding-left: 4px;
	}

	/* wide tables scroll sideways instead of breaking the page
	   (text tables scroll from 767.99px, see below)
	.blog-deatil-page .textMain table {
		display: block;
		overflow-x: auto;
	} */

	.blog-deatil-page .textMain th,
	.blog-deatil-page .textMain td {
		padding: 8px 10px;
	}

	/* gallery: 1 picture per row */
	.blog-deatil-page .textMain .section-inside > div:not([class]):has(> img:only-child):has(+ div:not([class]) > img:only-child),
	.blog-deatil-page .textMain .section-inside > div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child) {
		grid-column: 1 / -1;
		margin-bottom: 15px !important;
	}

	/* full picture (no crop) when there is one per row */
	.blog-deatil-page .textMain .section-inside > div:not([class]):has(> img:only-child):has(+ div:not([class]) > img:only-child) > img,
	.blog-deatil-page .textMain .section-inside > div:not([class]):has(> img:only-child) + div:not([class]):has(> img:only-child) > img {
		aspect-ratio: auto;
	}
}

@media screen and (max-width : 359.99px) {
	.blog-deatil-page .textMain .section-inside > h2:first-child {
		font-size: 22px;
		line-height: 30px;
	}

	.blog-deatil-page .textMain h2 {
		font-size: 19px;
		line-height: 26px;
	}
}

/* People cards and photo table - tablet */
@media screen and (max-width : 1023.99px) {
	.blog-deatil-page .textMain .section-inside table.bedicu tbody {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}

	.blog-deatil-page .textMain .section-inside table.bedicu td[colspan] {
		width: calc((100% - 32px) / 3);
	}

	.blog-deatil-page .textMain .section-inside table:has(td > img + img) td img {
		height: 180px !important;
	}
}

@media screen and (max-width : 767.99px) {
	.blog-deatil-page .textMain .section-inside table.bedicu tbody {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.blog-deatil-page .textMain .section-inside table.bedicu td[colspan] {
		width: calc((100% - 16px) / 2);
	}

	.blog-deatil-page .textMain .section-inside table.bedicu td {
		padding: 22px 14px 20px 14px;
	}

	.blog-deatil-page .textMain .section-inside table.bedicu td img {
		width: 100px !important;
		height: 100px !important;
	}

	.blog-deatil-page .textMain .section-inside table.bedicu td strong {
		font-size: 16px;
	}

	.blog-deatil-page .textMain .section-inside table:has(td > img + img) td {
		gap: 10px;
	}

	.blog-deatil-page .textMain .section-inside table:has(td > img + img) td img {
		height: 140px !important;
		border-width: 4px;
		border-radius: 12px;
	}
}

@media screen and (max-width : 479.99px) {
	/* people: 1 per row */
	.blog-deatil-page .textMain .section-inside table.bedicu tbody {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.blog-deatil-page .textMain .section-inside table.bedicu td,
	.blog-deatil-page .textMain .section-inside table.bedicu td[colspan] {
		width: auto;
		justify-self: stretch;
		padding: 20px 16px;
	}

	/* photos: 2 per row, same size */
	.blog-deatil-page .textMain .section-inside table:has(td > img + img) td {
		gap: 8px;
	}

	.blog-deatil-page .textMain .section-inside table:has(td > img + img) td img {
		width: calc(50% - 4px) !important;
		height: 130px !important;
	}
}

/* Text tables - tablet and mobile: keep a readable width and scroll
   sideways inside the table box instead of squeezing the columns */
@media screen and (max-width : 1023.99px) {
	.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) th,
	.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) td {
		padding: 12px 14px;
	}
}

@media screen and (max-width : 767.99px) {
	.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) > tbody {
		min-width: 640px;
	}

	.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) {
		border-radius: 12px;
	}

	.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) th,
	.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) td {
		font-size: 13px;
		line-height: 20px;
	}

	.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) th,
	.blog-deatil-page .textMain .section-inside table:not(.bedicu):not(:has(img)) thead td {
		font-size: 14px;
	}
}

/* Centred picture paragraphs - tablet and mobile */
@media screen and (max-width : 767.99px) {
	.blog-deatil-page .textMain .section-inside p:is(.text-center, [style*="text-align: center"], [style*="text-align:center"]):has(> img) {
		gap: 16px;
		padding-bottom: 25px;
	}

	.blog-deatil-page .textMain .section-inside p:is(.text-center, [style*="text-align: center"], [style*="text-align:center"]):has(> img) > img {
		max-height: 480px;
	}

	.blog-deatil-page .textMain .section-inside p:is(.text-center, [style*="text-align: center"], [style*="text-align:center"]):has(> img) > img + img,
	.blog-deatil-page .textMain .section-inside p:is(.text-center, [style*="text-align: center"], [style*="text-align:center"]):has(> img) > img:has(+ img) {
		max-width: calc(50% - 8px) !important;
	}
}

@media screen and (max-width : 479.99px) {
	.blog-deatil-page .textMain .section-inside p:is(.text-center, [style*="text-align: center"], [style*="text-align:center"]):has(> img) {
		gap: 10px;
		padding: 5px 0 20px 0;
	}

	.blog-deatil-page .textMain .section-inside p:is(.text-center, [style*="text-align: center"], [style*="text-align:center"]):has(> img) > img {
		max-height: 420px;
	}

	.blog-deatil-page .textMain .section-inside p:is(.text-center, [style*="text-align: center"], [style*="text-align:center"]):has(> img) > img + img,
	.blog-deatil-page .textMain .section-inside p:is(.text-center, [style*="text-align: center"], [style*="text-align:center"]):has(> img) > img:has(+ img) {
		max-width: calc(50% - 5px) !important;
	}
}

/* News / blog picture slider - tablet and mobile */
@media screen and (max-width : 1023.99px) {
	.blog-deatil-page .textMain .section-inside #slider-img {
		border-radius: 16px;
	}

	.blog-deatil-page .textMain .section-inside #carousel-slide-img .slides img {
		border-radius: 12px;
	}
}

@media screen and (max-width : 639.99px) {
	.blog-deatil-page .textMain .section-inside #slider-img {
		margin-top: 18px;
		border-radius: 12px;
	}

	.blog-deatil-page .textMain .section-inside #carousel-slide-img {
		padding-top: 8px;
		margin-bottom: 22px;
	}

	.blog-deatil-page .textMain .section-inside #carousel-slide-img .slides img {
		border-radius: 10px;
	}

	.blog-deatil-page .textMain .section-inside #carousel-slide-img .slides > li::after {
		width: 24px;
		height: 24px;
	}

	.blog-deatil-page .textMain .section-inside #slider-img .flex-direction-nav a {
		width: 34px;
		height: 34px;
		margin-top: -17px;
		background-size: 14px 14px;
	}

	.blog-deatil-page .textMain .section-inside #slider-img .flex-direction-nav .flex-prev {
		left: 10px;
	}

	.blog-deatil-page .textMain .section-inside #slider-img .flex-direction-nav .flex-next {
		right: 10px;
	}
}

/* News / blog gallery (product page style) - responsive, same as product-detail.css */
@media screen and (max-width : 1200.99px) {
	.blog-deatil-page #PP-See-the-Product-Use-wrapper .pp-see-the-product-use-list-thumbnail-img {
		width: 100%;
		max-width: 296px;
		height: auto;
		aspect-ratio: 296 / 194;
	}
}

@media screen and (max-width : 1023.99px) {
	.blog-deatil-page #PP-See-the-Product-Use-Thumbnails-slider {
		margin-top: 16px;
	}

	.blog-deatil-page #PP-See-the-Product-Use-wrapper .progress-bar-container {
		margin-top: 25px;
	}

	.blog-deatil-page #PP-See-the-Product-Use-slider {
		border-width: 6px;
		border-radius: 18px;
	}

	/* whole photo on tablet and mobile */
	.blog-deatil-page #PP-See-the-Product-Use-wrapper .pp-see-the-product-use-list-preview-img {
		aspect-ratio: 16 / 9;
	}
}

@media screen and (max-width : 639.99px) {
	.blog-deatil-page #PP-See-the-Product-Use-wrapper {
		margin: 18px 0 28px 0;
	}

	.blog-deatil-page #PP-See-the-Product-Use-Thumbnails-slider {
		margin-top: 10px;
	}

	.blog-deatil-page #PP-See-the-Product-Use-wrapper .pp-see-the-product-use-list-thumbnail-img {
		border-width: 3px;
		border-radius: 12px;
	}

	.blog-deatil-page #PP-See-the-Product-Use-slider {
		border-width: 5px;
		border-radius: 16px;
		box-shadow: 0px 8px 20px 0px rgba(22, 124, 183, 0.16);
	}

	.blog-deatil-page #PP-See-the-Product-Use-wrapper .is-active ul li.is-active .pp-see-the-product-use-list-thumbnail-img {
		transform: translateY(-2px);
	}

	.blog-deatil-page #PP-See-the-Product-Use-wrapper .pp-see-the-product-use-list-thumbnail-img::before {
		transform: scale(0.7);
	}

	.blog-deatil-page #PP-See-the-Product-Use-wrapper .progress-bar-container {
		margin-top: 20px;
	}
}
