/*
 * Information pages (resources/views/layouts/doc.blade.php): «Договір оферти», «Політика конфіденційності»,
 * «Доставка та оплата», «Про нас». Plain CSS: the Tailwind build is not rebuilt on the server.
 */
.ycd {
    max-width: 820px;
    margin: 24px auto 48px;
    color: #0d0d0d;
    font-size: 15px;
    line-height: 1.55;
}

.ycd-crumbs {
    margin-bottom: 10px;
    font-size: 13px;
    color: #8a8a8a;
}

.ycd-crumbs a {
    color: inherit;
    text-decoration: underline;
}

.ycd h1 {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.ycd-meta {
    margin: 0 0 16px;
    font-size: 13px;
    color: #6b6b6b;
}

.ycd-lead {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 1.5;
}

.ycd h2 {
    margin: 26px 0 8px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    scroll-margin-top: 16px;
}

.ycd h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}

.ycd p {
    margin: 0 0 10px;
}

.ycd ul {
    margin: 0 0 12px;
    padding-left: 20px;
    list-style: disc;
}

.ycd li {
    margin-bottom: 4px;
}

.ycd a {
    color: #028a59;
    text-decoration: underline;
    word-break: break-word;
}

/* Contents at the top of a long page. */
.ycd-toc {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.7;
}

.ycd-toc b {
    display: block;
    margin-bottom: 2px;
}

.ycd-toc a {
    display: block;
    color: #0d0d0d;
    text-decoration: none;
}

/* A block that matters most to the buyer (e.g. the subscription terms in the offer). */
.ycd-note {
    margin: 12px 0 14px;
    padding: 12px 14px;
    border-left: 4px solid #03bd7a;
    border-radius: 0 12px 12px 0;
    background: #f3fcf8;
}

.ycd-note p:last-child {
    margin-bottom: 0;
}

/* Small table: services and what they get, delivery terms. */
.ycd-table {
    width: 100%;
    margin: 0 0 14px;
    border-collapse: collapse;
    font-size: 14px;
}

.ycd-table th,
.ycd-table td {
    padding: 8px 10px;
    border: 1px solid #e2e2e2;
    text-align: left;
    vertical-align: top;
}

.ycd-table th {
    background: #f6f6f6;
    font-weight: 700;
}

/* Seller details at the end of a page. */
.ycd-req {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid #e2e2e2;
    font-size: 14px;
    color: #333;
}

/* «Про нас»: the chef's photo next to the text on wide screens, above it on phones. */
.ycd-chef h2 {
    margin-top: 0;
}

.ycd-chef {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 6px 0 18px;
}

.ycd-chef img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 16px;
}

@media (min-width: 802px) {
    .ycd {
        margin-top: 36px;
        font-size: 16px;
    }

    .ycd h1 {
        font-size: 34px;
    }

    .ycd h2 {
        font-size: 22px;
    }

    .ycd-chef {
        flex-direction: row;
        align-items: flex-start;
    }

    .ycd-chef img {
        width: 300px;
        flex: none;
    }
}
