/**************************************/
/*     Reduction Landing Pages        */
/**************************************/

.reduction-page,
.survey-page,
.rfb-page,
.observation-page
{
    background: #fffaf0;
    border: 1px solid #d9cfbd;
    box-shadow: 0 18px 45px rgba(55, 45, 30, 0.12);
    color: #182421;
    margin: 18px auto 34px;
    width: min(1180px, calc(100% - 28px));
}

.reduction-hero,
.survey-hero,
.rfb-hero,
.observation-hero
{
    background: linear-gradient(135deg, rgba(109, 29, 23, 0.10), transparent 46%), #fffaf0;
    border-top: 6px solid #6d1d17;
    padding: 26px clamp(18px, 4vw, 36px) 12px;
}

.reduction-hero h1,
.survey-hero h1,
.rfb-hero h1,
.observation-hero h1
{
    color: #182421;
    font-size: clamp(30px, 5vw, 46px);
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0;
}

.reduction-hero h2,
.survey-hero h2,
.rfb-hero h2,
.observation-hero h2
{
    color: #6d1d17;
    font-size: clamp(20px, 3vw, 27px);
    letter-spacing: 0;
    margin: 10px 0 0;
}

.reduction-content,
.survey-content,
.rfb-content,
.observation-content
{
    padding: 4px clamp(18px, 4vw, 36px) 32px;
}

.reduction-content h2,
.reduction-content h3,
.survey-content h2,
.survey-content h3,
.rfb-content h2,
.rfb-content h3,
.observation-content h2,
.observation-content h3
{
    color: #6d1d17;
    letter-spacing: 0;
    margin: 28px 0 12px;
}

.reduction-content h2:first-child,
.reduction-content h3:first-child,
.survey-content h2:first-child,
.survey-content h3:first-child,
.rfb-content h2:first-child,
.rfb-content h3:first-child,
.observation-content h2:first-child,
.observation-content h3:first-child
{
    margin-top: 18px;
}

.reduction-content p,
.reduction-content li,
.survey-content p,
.survey-content li,
.rfb-content p,
.rfb-content li,
.observation-content p,
.observation-content li
{
    max-width: 980px;
}

.reduction-content p,
.survey-content p,
.rfb-content p,
.observation-content p
{
    color: #313438;
}

.reduction-content ul,
.reduction-content ol,
.survey-content ul,
.survey-content ol,
.rfb-content ul,
.rfb-content ol,
.observation-content ul,
.observation-content ol
{
    padding-left: 22px;
}

.reduction-content li,
.survey-content li,
.rfb-content li,
.observation-content li
{
    margin-bottom: 8px;
}

.reduction-content ul.square,
.survey-content ul.square,
.rfb-content ul.square,
.observation-content ul.square
{
    list-style-type: square;
}

.reduction-content ul.circle,
.survey-content ul.circle,
.rfb-content ul.circle,
.observation-content ul.circle
{
    list-style-type: circle;
}

.reduction-content ol.roman,
.survey-content ol.roman,
.rfb-content ol.roman,
.observation-content ol.roman
{
    list-style-type: lower-roman;
}

.reduction-content hr,
.survey-content hr,
.rfb-content hr,
.observation-content hr
{
    border: 0;
    border-top: 1px solid #d9cfbd;
    margin: 24px 0;
}

.content-body
{
    max-width: 980px;
}

.app-callout
{
    background: linear-gradient(180deg, #fffaf0, #f7f1e6);
    border: 1px solid #d9cfbd;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(55, 45, 30, 0.10);
    margin: 18px 0;
    overflow: hidden;
    padding: 18px 20px 20px 26px;
    position: relative;
}

.app-callout::before
{
    background: #6d1d17;
    content: "";
    inset: 0 auto 0 0;
    position: absolute;
    width: 6px;
}

.app-callout h3
{
    color: #182421;
    font-size: 22px;
    margin: 0 0 12px;
}

.app-link-grid
{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.reduction-page .button-link,
.survey-page .button-link,
.rfb-page .button-link
{
    align-items: center;
    background: #6d1d17;
    border: 1px solid #6d1d17;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    justify-content: center;
    min-height: 42px;
    padding: 8px 14px;
    text-decoration: none;
    transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.reduction-page .button-link:hover,
.reduction-page .button-link:focus,
.survey-page .button-link:hover,
.survey-page .button-link:focus,
.rfb-page .button-link:hover,
.rfb-page .button-link:focus
{
    background: #43130f;
    border-color: #43130f;
    box-shadow: 0 8px 18px rgba(31, 31, 31, 0.14);
    color: #ffffff;
    outline: none;
    transform: translateY(-1px);
}

.reduction-page img,
.survey-page img,
.rfb-page img,
.observation-page img
{
    height: auto;
    max-width: 100%;
}

.reduction-page .center,
.survey-page .center,
.rfb-page .center,
.observation-page .center
{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.reduction-page .bordered,
.survey-page .bordered,
.rfb-page .bordered,
.observation-page .bordered
{
    border: 1px solid #6d1d17;
}

.reduction-page img.text,
.survey-page img.text,
.rfb-page img.text,
.observation-page img.text
{
    margin-bottom: 40px;
}

.rfb-page img[style*="float"],
.observation-page img[style*="float"]
{
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(55, 45, 30, 0.12);
    margin: 10px 0 18px !important;
}

.observation-content table
{
    border-collapse: collapse;
    display: block;
    max-width: 100%;
    overflow-x: auto;
    width: max-content;
}

.observation-content table.center
{
    margin-left: auto;
    margin-right: auto;
}

.observation-content caption
{
    caption-side: top;
    color: #182421;
    font-weight: 700;
    padding-bottom: 8px;
    text-align: left;
}

.observation-content td,
.observation-content th
{
    background: #fffdf8;
    border-color: #d9cfbd !important;
}

@media (max-width: 620px)
{
    .reduction-page,
    .survey-page,
    .rfb-page,
    .observation-page
    {
        border-left: 0;
        border-right: 0;
        box-shadow: none;
        margin: 0;
        width: 100%;
    }

    .reduction-hero,
    .reduction-content,
    .survey-hero,
    .survey-content,
    .rfb-hero,
    .rfb-content,
    .observation-hero,
    .observation-content
    {
        padding-left: 16px;
        padding-right: 16px;
    }

    .app-callout
    {
        padding: 18px 16px 18px 22px;
    }

    .app-link-grid
    {
        display: grid;
        grid-template-columns: 1fr;
    }

    .reduction-page .button-link,
    .survey-page .button-link,
    .rfb-page .button-link
    {
        width: 100%;
    }

    .rfb-page img[style*="float"],
    .observation-page img[style*="float"]
    {
        display: block;
        float: none !important;
        height: auto !important;
        margin: 12px auto 18px !important;
        width: min(100%, 420px) !important;
    }
}
