.ccm-page.page-template-bukotec-proposal > header {
    background-color: #62544b;
}

.bukotec-proposal-page {
    flex: 1;
    padding-top: 90px;
}

.bukotec-proposal {
    --bp-ink: #322923;
    --bp-muted: #66594f;
    --bp-red: #a03c32;
    --bp-red-dark: #832c25;
    --bp-paper: #f6f2ec;
    --bp-line: #ded5cb;
    --bp-field: #a99b8d;
    color: var(--bp-ink);
    font-size: 16px;
    line-height: 1.53;
}

.bukotec-proposal h1, .bukotec-proposal h2, .bukotec-proposal h3,
.bukotec-proposal p, .bukotec-proposal ol {
    margin: 0;
}

.bukotec-proposal [hidden] { display: none !important; }
.bukotec-proposal :focus-visible { outline: 3px solid var(--bp-red); outline-offset: 3px; }

.bp-shell { width: min(1152px, calc(100% - 88px)); margin-inline: auto; }
.bp-hero { position: relative; overflow: hidden; background: #3b3028; color: #fff; }
.bp-hero-img {
    position: absolute;
    inset: 0 0 0 auto;
    display: block;
    width: 63%;
    height: 100%;
    object-fit: cover;
    object-position: center 56%;
}
.bp-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, #3b3028 0%, #3b3028 37%, #3b3028f7 42%, #3b3028ad 56%, #3b302818 83%);
}
.bp-hero-content {
    position: relative;
    z-index: 1;
    min-height: 321px;
    padding-block: 26px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.bp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #efe7de;
    font-size: 13px;
    margin-bottom: 26px;
}
.bp-breadcrumb a, .bukotec-proposal .bp-breadcrumb a:hover { color: inherit; text-decoration: underline; }
.bp-breadcrumb :focus-visible { outline-color: #fff; }
.bukotec-proposal .bp-hero h1 {
    max-width: 680px;
    color: #fff;
    font-size: clamp(35px, 4.2vw, 58px);
    font-weight: 500;
    letter-spacing: -.038em;
    line-height: 1.04;
    text-wrap: balance;
}
.bukotec-proposal .bp-hero p { color: #f9f2eb; font-size: clamp(16px, 1.42vw, 20px); max-width: 555px; margin-top: 18px; }

.bp-layout {
    display: grid;
    grid-template-columns: minmax(0, 740px) minmax(0, 336px);
    justify-content: space-between;
    gap: 48px;
    padding-block: 46px 62px;
}
.bp-form { border: 1px solid var(--bp-line); padding: 29px 34px 32px; min-width: 0; scroll-margin-top: 150px; }
.bp-fields { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.bp-section { padding-bottom: 23px; margin-bottom: 24px; border-bottom: 1px solid var(--bp-line); }
.bukotec-proposal .bp-section h2 { font-size: 22px; line-height: 1.24; font-weight: 500; margin-bottom: 13px; color: var(--bp-ink); }
.bukotec-proposal .bp-note { font-size: 13px; color: var(--bp-muted); }
.bukotec-proposal .bp-intro-note { margin: -6px 0 16px; }
.bp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 18px; }
.bp-field { display: grid; min-width: 0; gap: 6px; align-content: start; }
.bukotec-proposal .bp-field > label, .bukotec-proposal .bp-label { color: var(--bp-ink); font-size: 14px; font-weight: 500; margin: 0; }
.bp-field input, .bp-field textarea, .bp-date select {
    min-width: 0;
    width: 100%;
    min-height: 43px;
    padding: 8px 11px;
    border: 1px solid var(--bp-field);
    border-radius: 3px;
    background: #fff;
    color: var(--bp-ink);
    font: inherit;
    font-size: 15px;
}
.bp-field textarea { min-height: 66px; resize: vertical; }
.bp-field textarea::placeholder { opacity: 1; color: #75685f; }
.bp-required { color: var(--bp-red); }
.bp-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bukotec-proposal .bp-check {
    display: flex;
    align-items: center;
    min-height: 41px;
    gap: 8px;
    padding: 7px 8px;
    border: 1px solid var(--bp-line);
    border-radius: 3px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.25;
    margin: 0;
    cursor: pointer;
}
.bp-check:hover { border-color: var(--bp-field); }
.bp-check:has(input:checked) { background: #f9eeea; border-color: var(--bp-red); }
.bp-check input {
    appearance: auto;
    accent-color: var(--bp-red);
    width: 17px;
    height: 17px;
    margin: 0;
    flex: none;
}
.bp-date { margin-bottom: 15px; max-width: 370px; }
.bukotec-proposal .bp-date .bp-label { margin-bottom: 5px; }
.bp-date-grid { gap: 9px; }
.bp-details { display: grid; gap: 13px; }
.bp-upload {
    padding: 13px;
    min-height: 107px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px dashed #9a7968;
    border-radius: 4px;
    background: var(--bp-paper);
    text-align: center;
}
.bp-upload > div { min-width: 0; }
.bp-upload input[type="file"] { max-width: 100%; margin: 5px auto; font-size: 14px; }
.bp-upload strong { display: block; font-size: 14px; font-weight: 500; }
.bp-upload.is-over { background: #f8e6e2; border-color: var(--bp-red); }
.bp-upload-icon { font-size: 26px; line-height: 1; color: var(--bp-red); }
.bukotec-proposal .bp-pick, .bukotec-proposal .bp-remove, .bukotec-proposal .bp-submit a {
    padding: 5px;
    border: 0;
    background: transparent;
    color: var(--bp-red-dark);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.bukotec-proposal .bp-submit a { padding: 0; font-size: inherit; }
.bp-file-list { margin: 0; padding: 0; list-style: none; }
.bp-file-list li { padding: 6px 0; border-bottom: 1px solid var(--bp-line); display: flex; justify-content: space-between; gap: 10px; overflow-wrap: anywhere; }
.bukotec-proposal .bp-file-error { color: var(--bp-red-dark); font-size: 14px; margin-top: 8px; }
.bp-submit { display: grid; justify-items: start; gap: 11px; }
.bukotec-proposal .bp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 45px;
    padding: 10px 16px;
    border: 1px solid var(--bp-red);
    border-radius: 3px;
    background: var(--bp-red);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}
.bp-button:hover:not(:disabled) { background: var(--bp-red-dark); }
.bp-fields:disabled .bp-button { opacity: .7; cursor: default; }
.bp-next { align-self: start; padding: 26px; background: var(--bp-paper); border-top: 3px solid var(--bp-red); }
.bukotec-proposal .bp-next h2 { font-size: 24px; font-weight: 500; line-height: 1.18; letter-spacing: -.032em; color: var(--bp-ink); }
.bukotec-proposal .bp-next ol { list-style: none; padding: 0; margin-top: 18px; }
.bp-next li { display: grid; grid-template-columns: 27px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid #dcd0c4; }
.bp-next li:first-child { padding-top: 0; }
.bp-next li:last-child { padding-bottom: 0; border: 0; }
.bp-step-number { width: 26px; height: 26px; text-align: center; border: 1px solid #cbb0a0; border-radius: 50%; color: var(--bp-red-dark); font-size: 13px; line-height: 24px; font-weight: 500; }
.bukotec-proposal .bp-next h3 { margin: 1px 0 3px; font-size: 15px; line-height: 1.32; font-weight: 500; color: var(--bp-ink); }
.bukotec-proposal .bp-next p { color: var(--bp-muted); font-size: 13px; line-height: 1.5; }
.bukotec-proposal .bp-message { margin: 0 0 20px; padding: 12px 14px; border-left: 3px solid #9a7968; background: var(--bp-paper); font-size: 14px; }
.bp-error ul { margin: 6px 0; padding-left: 18px; }
.bukotec-proposal .bp-error { color: var(--bp-red-dark); border-color: var(--bp-red); }
.bukotec-proposal .bp-success { border-color: #5b733c; background: #f3f5ed; color: #354023; }
.bp-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.bp-honeypot { position: absolute; top: 0; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1020px) {
    .bp-shell { width: calc(100% - 56px); }
    .bp-layout { gap: 26px; grid-template-columns: minmax(0, 1fr) minmax(0, 286px); }
    .bp-form, .bp-next { padding: 22px; }
    .bp-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .bp-shell { width: calc(100% - 36px); }
    .bp-hero-img { width: 100%; object-position: 61% 57%; }
    .bp-hero::after { background: linear-gradient(90deg, #342922ef 0%, #342922d9 62%, #34292294 100%); }
    .bp-hero-content { min-height: 285px; padding-block: 25px 32px; }
    .bp-breadcrumb { gap: 7px; font-size: 12px; margin-bottom: 18px; }
    .bukotec-proposal .bp-hero h1 { font-size: clamp(32px, 8.9vw, 46px); text-wrap: initial; }
    .bukotec-proposal .bp-hero p { font-size: 16px; margin-top: 13px; }
    .bp-layout { grid-template-columns: minmax(0, 1fr); gap: 23px; padding-block: 23px 31px; }
    .bp-form { padding: 17px 15px 20px; }
    .bp-section { margin-bottom: 19px; padding-bottom: 18px; }
    .bukotec-proposal .bp-section h2 { font-size: 19px; }
    .bp-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; }
    .bp-date-grid { grid-template-columns: 1.2fr 1fr; }
    .bp-field input, .bp-field textarea, .bp-date select { font-size: 16px; }
    .bukotec-proposal .bp-check { min-height: 44px; gap: 6px; }
    .bp-next { padding: 19px; }
    .bukotec-proposal .bp-next h2 { font-size: 22px; }
    .bp-upload { gap: 7px; }
    .bukotec-proposal .bp-upload .bp-note { font-size: 12px; }
    .bukotec-proposal .bp-submit .bp-button { width: 100%; }
}
@media (max-width: 355px) {
    .bp-checks { grid-template-columns: minmax(0, 1fr); }
    .bp-upload-icon { display: none; }
}

html.ccm-toolbar-visible .ccm-page.page-template-bukotec-proposal > header {
    top: 48px;
}

html.ccm-toolbar-visible .ccm-page.page-template-bukotec-proposal > .toggle,
html.ccm-toolbar-visible .ccm-page.page-template-bukotec-proposal > .toggle.toggle-close {
    top: 73px;
}

html.ccm-edit-mode .ccm-page.page-template-bukotec-proposal > header {
    position: relative;
    top: auto;
}

html.ccm-edit-mode .bukotec-proposal-page {
    padding-top: 0;
}
