/*
 * Deezen - content pages only: a regular page, contact, questions and answers, thank you, 404.
 * Breakpoints: phone up to 767px, tablet 768-1024px, desktop from 1025px.
 */

/* ==================== Rules that came from the theme's old stylesheet (style.css), in their original order ==================== */

.rm-content-block ol {
    margin: 0 20px 20px 0;
    list-style: decimal;
}

/* ---------- 404 ---------- */
.dz-404 { padding: 0 var(--dz-gutter); }
.dz-404__inner { max-width: var(--dz-container); margin: 0 auto; padding: 50px 0; text-align: center; }
.dz-404__code, .dz-404__text { margin: 0; font-size: 26px; font-weight: 400; line-height: 1; }
.dz-404__code { margin-bottom: 10px; color: #000; }
.dz-404__text { margin-bottom: 20px; color: var(--dz-primary); }
.dz-404__action { line-height: 0; }

@media (max-width: 767px) {
    .dz-404 { padding: 0 10px; }
    .dz-404__inner { display: flex; flex-direction: column; justify-content: center; min-height: 400px; padding: 10px 0; }
    .dz-404__code { font-size: 100px; }
    .dz-404__text { font-size: 30px; }
}

.dz-thanks { padding: 0 var(--dz-gutter); }
.dz-thanks__inner { max-width: var(--dz-container); margin: 0 auto; padding: 50px 0; text-align: center; color: var(--dz-primary); }
.dz-thanks__title, .dz-thanks__text { margin: 0 0 20px; line-height: 1; }
.dz-thanks__title { font-size: 32px; font-weight: 700; }
.dz-thanks__text { font-size: 22px; font-weight: 400; }
.dz-thanks__action { line-height: 0; }

@media (max-width: 767px) {
    /* The phone sizes are the old page's own (100px and 40px), kept as they are today. */
    .dz-thanks { padding: 0 10px; }
    .dz-thanks__inner { display: flex; flex-direction: column; justify-content: center; min-height: 200px; padding: 10px 0; }
    .dz-thanks__title { font-size: 100px; }
    .dz-thanks__text { font-size: 40px; }
}

/* ---------- Questions and answers ---------- */
.dz-faq { padding: 0 100px; }
.dz-faq__inner { max-width: 1340px; margin: 0 auto; padding: 20px 0; }
.dz-faq__group + .dz-faq__group { margin-top: 30px; }
.dz-faq__group h2 { margin: 0 0 10px; font-size: 24px; font-weight: 700; line-height: 1; color: var(--dz-primary); }
.dz-faq__item + .dz-faq__item { margin-top: 5px; }
.dz-faq__item summary {
    display: block;
    padding: 10px;
    background: #f7f7f7;
    color: #1f2124;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    list-style: none;
}
.dz-faq__item summary::-webkit-details-marker { display: none; }
/* the 5px gap above an answer is its own border, so it slides open and shut with it (assets/js/main.js) */
.dz-faq__answer { padding: 10px; border-top: 5px solid #fff; background: #f7f7f7; color: #000; font-size: 16px; line-height: 1.2; }

@media (max-width: 767px) {
    .dz-faq { padding: 0 20px; }
}

/* ---------- Contact page ---------- */
.dz-contact__inner { display: flex; gap: 40px; max-width: calc(var(--dz-container) + 2 * var(--dz-gutter)); margin: 0 auto; padding: 50px var(--dz-gutter); }
.dz-contact__col { flex: 1 1 0; min-width: 0; }
/* The heading's underline: a grey line across the column with a black 50px piece at its start. */
.dz-contact__heading {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--dz-line);
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}
.dz-contact__heading::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; width: 50px; height: 1px; background: #000; }
.dz-contact__list { margin: 0 0 20px; padding: 0 10px 0 0; list-style: none; color: var(--dz-primary); font-size: 18px; line-height: 1.1; }
.dz-contact__list li { padding-bottom: 5px; }
.dz-contact__list li + li { margin-top: 5px; }
.dz-contact__list li:last-child { padding-bottom: 0; }
.dz-contact__list a { color: inherit; }
.dz-contact__map { line-height: 0; }
.dz-contact__map iframe { display: block; width: 100%; height: 400px; border: 0; }

@media (max-width: 767px) {
    .dz-contact__inner { flex-direction: column; gap: 20px; padding: 20px; }
    .dz-contact__heading { margin-bottom: 10px; }
    .dz-contact__list { line-height: 1.2; }
    .dz-contact__map iframe { height: 250px; }
}

