/* /products/approved/biologics — product table (review request 2026-11-11) */

/* Wrap at word boundaries instead of inside a word (common.css sets break-all on these cells) */
#wrapper section.product .cpnt_divtable.t-cell5 .thead,
#wrapper section.product .cpnt_divtable.t-cell5 .thead b,
#wrapper section.product .cpnt_divtable.t-cell5 .tbody dd,
#wrapper section.product .cpnt_divtable.t-cell5 .tbody dt,
#wrapper section.product .cpnt_divtable.t-cell5 .tbody b,
#wrapper section.product .cpnt_divtable.t-cell5 .tbody span {
    word-break: normal;
    overflow-wrap: break-word;
}

/* Table layout, 1201-1599px: all table text at 0.8x (20px -> 16px, links 18px -> 14.4px) */
@media (min-width:1201px) and (max-width:1599px) {
    #wrapper section.product .cpnt_divtable.t-cell5 .thead b,
    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dt,
    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd,
    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dt span,
    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd span,
    #wrapper section.product .cpnt_divtable.t-cell5 .tbody b {
        font-size: 1rem;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd .btn_gconfirm,
    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd .btn_gconfirm span {
        font-size: .9rem;
    }
}

/* Card layout: the design used at 768px and below now starts at 1200px.
   The declarations are those of the (max-width:768px) block for .cpnt_divtable in common.css. */
@media (min-width:769px) and (max-width:1200px) {
    #wrapper section.product .cpnt_divtable.t-cell5 .thead.isPc {
        display: none !important;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody {
        border-top: solid 0 #cfcfcf;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody>div {
        display: block;
        height: auto;
        border: solid 1px #cfcfcf;
        border-radius: 30px;
        padding: 2.35rem 2.5rem 2.16rem;
        text-align: center;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody>div+div {
        margin-top: 20px;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd:not(.img),
    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dt {
        display: flex;
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: -.02px;
        text-align: inherit;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dt {
        font-size: 1.125rem;
        font-weight: 700;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd.img {
        width: 200px;
        min-height: 200px;
        margin-top: 0;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd.img img {
        max-width: 100%;
        max-height: 100%;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd.img+dd {
        margin-top: 1.2rem;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dt+dd {
        margin-top: 1rem;
        padding-top: 1.2rem;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd+dd {
        margin-top: 1rem;
        padding-top: 1.2rem;
        border-top: 1px solid #e8e8e8;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd+dd+dd {
        margin-top: 1rem;
        padding-top: 1.2rem;
        border-top: 1px solid #e8e8e8;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd+dd+dd+dd {
        margin-top: 1rem;
        padding-top: .85rem;
        border-top: 1px solid #e8e8e8;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd:last-child {
        margin-top: 1.25rem;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd,
    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dt {
        padding: 0;
    }

    /* as rendered at 768px: image cell without top padding, full-width link with its icon 23% from the right */
    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd.img {
        padding-top: 0;
    }

    html.en #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd .btn_gconfirm {
        min-width: 100%;
        width: auto;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd .btn_gconfirm::after {
        right: 23%;
    }
}

/* Card layout (1200px and below): the link box is as wide as its text and centred, so the external-link
   icon sits next to the text (review request 2026-11-12) */
@media (max-width:1200px) {
    html.en #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd .btn_gconfirm {
        min-width: 0;
        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd .btn_gconfirm::after {
        right: 0;
    }
}

/* Card layout at 768px and below: same left padding as at 769-1200px, so the link text stays centred
   (the icon hangs to its right) and does not shift left at 768px */
@media (max-width:768px) {
    html.en #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd .btn_gconfirm {
        padding-left: 24px;
    }
}

/* Card layout (1200px and below): all card text at 20px, the size used in the Peru site's cards
   (was: product name 18px, cells 16px, links 18px) */
@media (max-width:1200px) {
    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd:not(.img),
    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dt,
    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd:not(.img) span,
    #wrapper section.product .cpnt_divtable.t-cell5 .tbody dt span,
    html.en #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd .btn_gconfirm,
    html.en #wrapper section.product .cpnt_divtable.t-cell5 .tbody dd .btn_gconfirm span {
        font-size: 20px;
    }
}
