.header__nav {
    background: #fbfbfb;
}

.header__logo {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: left;
    justify-content: flex-start;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    align-items: center;
    margin-bottom: 30px;
}

.header__link {
    color: #000;
}

.header__nav-title {
    color: #000;
    font-weight: 600;
}

.header__section-wrapper {
    padding: 0 0 15px;
}

.container-land {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2px 5px;
    flex-wrap: nowrap;
    overflow: hidden;
    width: 100%;
    /* background-color: #fbfbfb; */

}

.underline {
    text-decoration: underline;
}

.header__nav-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.header__nav-title {
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
    margin-right: 20px;
}

.header__nav-title span {
    display: block;
    font-size: 14px;
    font-weight: normal;
}

.header__nav-links a {
    text-decoration: none;
    font-size: 14px;
    border-radius: 5px;
    transition: background 0.3s;
    white-space: nowrap;
    flex: 1 1 auto;
    text-align: center;
}

.order__nav {
    margin-left: inherit;
}

.hero {
    text-align: center;
}

.hero .prev {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 0;
    max-height: 356px;
    overflow: hidden;
}

.prev img {
    margin: -10% auto 0;
    width: 100%;
    height: auto;
}

.hero h1 {
    font-size: 26px;
    color: #d61117;
}

.hero {
    text-align: center;
    padding: 10px 0px 30px;
}

.hero h1 {
    font-size: 28px;
    font-weight: bold;
}

.hero p {
    font-size: 18px;
    margin: 10px 0px 20px;
}

.doc-site {
    font-size: 18px;
    color: #0093d5;
    font-weight: 500;
    max-width: 1000px;
}

.image-placeholder {
    width: 100%;
    height: auto;
    margin: 20px auto 20px;
    border-radius: 10px;
    max-width: 600px;
}

.comment-box {
    display: flex;
    flex-wrap: wrap;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0px auto;
    max-width: 1000px;
    border-left: 5px solid #007bff;
    align-items: center;
}

.comment-content {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.comment-description {
    flex-basis: 100%;
    margin-top: 15px;
    text-align: left;
}


.comment-box .doctor-avatar {
    flex: 0 0 240px;
    max-width: 240px;
    margin-right: 15px;
}

.comment-box .doctor-avatar img {
    width: 100%;
    border-radius: 10%;
}


.comment-description {
    flex-basis: 100%;
    margin-top: 15px;
}

.comment-box p,
.story-box p {
    font-size: 16px;
    line-height: 1.6;
    margin: 5px 0;
    color: #444;
}

.comment-box b {
    color: #d61117;
}

.comment-box hr,
hr {
    width: 100%;
    border: none;
    height: 2px;
    background-color: #d61117;
    margin: 10px 0;
}


.story-box img {
    flex: 0 0 340px;
    max-width: 340px;
    margin: 0px 20px 0px 0;

    border-radius: 10px;
    border-top: 1px solid #bfbfbf;
    border-bottom: 1px solid #bfbfbf;

}

.story-box .story-text {
    flex: 1;
    text-align: left;
}

.story-container,
.hero {
    max-width: 1000px;
    margin: 15px auto 20px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.story-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1000px;
    margin: 20px auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content-section {
    max-width: 1000px;
    margin: 15px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #007bff;
}


.arthritis-info {
    text-align: left;
}

.arthritis-info p,
.arthritis-warning p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.arthritis-info b {
    color: #d9534f;
    font-weight: bolder;
}


.arthritis-warning {
    max-width: 1000px;
    margin: 0px auto;
    text-align: left;
}

.danger-text {
    color: #d9534f;
    font-weight: bold;
    background: #ffdada;
    padding: 4px 5px;
    border-radius: 5px;
}

.highlight-text {
    color: #0275d8;
    font-weight: bold;
}

.highlight-box {
    background-color: #fcf8e3;
    color: #8a6d3b;
    padding: 12px;
    border-left: 5px solid #f0ad4e;
    border-radius: 5px;
    font-weight: bold;
    margin: 15px 0;
    text-align: center;
}

.symptoms-title {
    font-size: 20px;
    font-weight: bold;
    color: #d9534f;
    margin-top: 20px;
}

.symptoms-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.symptoms-list li {
    font-size: 16px;
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.ingredient-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ingredient-list li {
    background: #e3f2fd;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
}

.biotrin-benefits {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 4px 5px;
    border-radius: 5px;
    text-align: left;
    font-weight: bold;
    margin: 15px 0;
}

.biotrin-benefits li {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 5px;
}

.double-image-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 20px;
}

.double-image-container img {
    width: 48%;
    border-radius: 10px;
}

.text-section {
    margin: 20px 0;
    text-align: left;
}

.text-section p,
.case-study p,
.biotrin-section p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.text-section b {
    color: #d61117;
}

.biotrin-section {
    max-width: 1000px;
    margin: 0px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 -5px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.biotrin-section ul li {
    font-size: 18px;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

blockquote {
    background: #e9ecef;
    padding: 15px;
    border-left: 5px solid #6c757d;
    font-style: italic;
    margin: 10px 0;
    border-radius: 5px;
}


.img-prod {
    width: 100%;
    max-width: 160px;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}

.biotrin-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0 20px;
    font-size: 16px;
    text-align: left;
    border-radius: 8px;
    overflow: hidden;
}

.biotrin-table th,
.biotrin-table td {
    border: 1px solid #ddd;
    padding: 12px;
}

.biotrin-table th {
    background-color: #f4f4f4;
    color: #333;
    font-weight: bold;
}

.bar__block {
    padding: 0 0 22px;
}

.review__wrapper .double-image-container {
    margin: 10px 0;
}

.review__wrapper img {
    max-width: 400px;
}

img.review__img {
    max-width: 400px;
    margin: 10px 0;
}

.review__wrapper video {
    max-width: 400px;
}

.review__section-wrapper {
    padding: 33px 0 0;
}

.review__block {
    margin-bottom: 12px;
}

.doctor-answer {
    background-color: #f3f4f6;
    padding: 15px;
    border-left: 5px solid #007bff;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    color: #444;
    line-height: 1.6;
    margin: 10px 0;
}

.doctor-title {
    font-weight: bold;
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
}

.doctor-answer p {
    font-size: 18px;
}

.review {
    text-align: left;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 10px;
    background-color: black;
}

.video {
    width: 100%;
    height: 100%;
    max-height: 700px;
    object-fit: cover;
}

.video-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 1000px;
    margin: 10px auto;
}

.video-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.video-wrapper.small {
    flex: 1 1 48%;
    max-width: 600px;
    position: relative;
    margin: 0 auto;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card__block {
    padding: 0px 0 22px;
}


/* Адаптивність для мобільних пристроїв */
@media (max-width: 768px) {
    .header__logo {
        justify-content: center;
    }

    .doc-site {
        text-align: center;
    }

    .menu {
        display: none;
    }

    .video-row {
        flex-direction: column;
    }

    .video-wrapper {
        max-width: 270px;
    }

    .video-wrapper.large {
        max-width: 100%;
    }


    .content-important {
        padding: 8px;
    }

    .biotrin-table,
    .biotrin-table thead,
    .biotrin-table tbody,
    .biotrin-table th,
    .biotrin-table td,
    .biotrin-table tr {
        display: block;
        width: 100%;
    }

    .biotrin-table thead tr {
        display: none;
    }

    .biotrin-table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
        background: #fff;
    }

    .biotrin-table td {
        display: flex;
        justify-content: flex-start;
        padding: 10px;
        border: none;
        border-bottom: 1px solid #ddd;
        position: relative;
    }

    .biotrin-table td:last-child {
        border-bottom: none;
    }

    .biotrin-table td::before {
        content: attr(data-label);
        font-weight: bold;
        text-transform: uppercase;
        color: #333;
        margin-right: 10px;
    }
}


/* .biotrin-section ul li:last-child {
    border-bottom: none;
}

.biotrin-section .cta-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: #d9534f;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.biotrin-section .cta-button:hover {
    background: #c9302c;
}

*/


@media (max-width: 1080px) {
    .header__nav .container {
        align-items: flex-start;
        width: 100%;
        max-width: 700px;
    }

    .container {
        width: 700px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header__nav-title {
        margin-bottom: 10px;
        -webkit-box-pack: start;
        justify-content: left;
    }

    .header__nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .header__nav-links a {
        flex: 1 1 calc(12% - 10px);
        text-align: center;
    }

    .order__nav {
        flex: 1 1 calc(12% - 10px);
        text-align: right;
    }
}

@media (max-width: 768px) {
    .prev img {
        margin: 0 auto 0;
    }

    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .header__nav-links a {
        flex: 1 1 calc(25% - 15px);
        text-align: center;
        padding: 10px;
    }

    .header__nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
        align-items: center;
        max-width: 600px;
    }

    .order__nav {
        flex: 1 1 100%;
    }

    .header__nav-links {
        justify-content: center;
        margin-top: 10px;
    }

    .header__nav-links a {
        text-align: center;
        padding: 10px;
    }

    .header__logo-wrapper h2 {
        font-size: 6.5vw;
    }

    .header__nav-links {
        justify-content: space-between;
    }

    .header__nav-links a {
        flex: 1 1 calc(25% - 10px);
    }

    .order__nav {
        flex: 1 1 calc(25% - 10px);
        text-align: right;
    }

    .content-left-doctor {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .content-left-doctor-foto {
        margin: 0 auto 15px;
        width: 100%;
        max-width: 340px;
        flex: 1 1 100%;
        text-align: center;
    }

    .content-left-doctor-text {
        width: 100%;
    }

    .content-left-doctor-text p {
        font-size: 16px;
        text-align: center;
    }

    .comment-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .comment-box .doctor-avatar {
        margin-bottom: 10px;
        max-width: 340px;
        margin: inherit;
    }

    .story-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .story-box img .image-placeholder {
        flex: inherit;
        max-width: inherit;

    }

    .double-image-container {
        /* flex-direction: column; */
        display: flex;
        justify-content: space-between;
        gap: 15px;
        max-width: 600px;
        width: 50%;
        margin: 0px;
    }

    .double-image-container img {
        width: 94%;
        border-radius: 10px;
    }

    .highlight-text {
        font-size: 16px;
    }

    .arthritis-info,
    .arthritis-warning {
        padding: 15px;
    }

    .arthritis-info p {
        font-size: 16px;
    }

    .symptoms-list li,
    .ingredient-list li,
    .biotrin-benefits li {
        font-size: 16px;
    }

}