/* RUDI VILJOEN — EDITORIAL MAIN CONTENT */
.content {
    --content-accent: #be8e59;
    --content-accent-dark: #957149;
    --content-ink: #151515;
    --content-muted: #686868;
    --content-line: rgba(21, 21, 21, 0.12);
    width: 100%;
    padding: 0 5%;
    margin: 0;
    position: relative;
    clear: both;
    overflow: hidden;
    background-color: #ffffff;
    color: var(--content-ink);
    font-family: "Lato", sans-serif;
    box-sizing: border-box;
}

@media screen and (max-width: 1080px) {
    .content {
        padding: 0 40px;
    }
}

@media screen and (max-width: 767px) {
    .content {
        padding: 0 24px;
    }
}

@media screen and (max-width: 560px) {
    .content {
        padding: 0 20px;
    }
}

@media screen and (max-width: 440px) {
    .content {
        padding: 0 16px;
    }
}

.content_intro {
    width: min(1240px, calc(100% - 10%));
    padding: 112px 0 104px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(54px, 8vw, 118px);
    align-items: start;
}
.content_intro::before {
    content: "";
    width: 210px;
    height: 210px;
    position: absolute;
    top: 36px;
    right: -106px;
    border: 1px solid rgba(190, 142, 89, 0.14);
    transform: rotate(45deg);
    pointer-events: none;
}
.content_intro::after {
    display: none;
}

.content_intro.hide-bottom-line {
    grid-template-columns: 1fr;
    gap: 0;
}

.content_intro.hide-bottom-line > .content_copy {
    margin-top: 38px;
}
@media screen and (max-width: 1080px) {
    .content_intro {
        width: min(1240px, calc(100% - 80px));
        padding: 92px 0 88px;
        gap: 54px;
    }
}
@media screen and (max-width: 767px) {
    .content_intro {
        width: calc(100% - 48px);
        padding: 74px 0 68px;
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .content_intro::before {
        width: 150px;
        height: 150px;
        top: 28px;
        right: -96px;
    }

    .content_intro::after {
        display: none;
    }
}
@media screen and (max-width: 560px) {
    .content_intro {
        width: calc(100% - 40px);
        padding: 62px 0 58px;
        gap: 30px;
    }
}
@media screen and (max-width: 440px) {
    .content_intro {
        width: calc(100% - 32px);
        padding: 54px 0 50px;
    }
}

.content_intro.content_intro_has_contacts {
    row-gap: 40px;
}

.content_intro.hide-bottom-line.content_intro_has_contacts {
    row-gap: 0;
}

.content_intro.content_intro_has_news,
.content_intro.content_intro_has_books,
.content_intro.content_intro_has_workshops,
.content_intro.content_intro_has_enquire {
    padding-bottom: 48px;
}

@media screen and (max-width: 1080px) {
    .content_intro.content_intro_has_news,
    .content_intro.content_intro_has_books,
    .content_intro.content_intro_has_workshops,
    .content_intro.content_intro_has_enquire {
        padding-bottom: 40px;
    }
}

@media screen and (max-width: 767px) {
    .content_intro.content_intro_has_news,
    .content_intro.content_intro_has_books,
    .content_intro.content_intro_has_workshops,
    .content_intro.content_intro_has_enquire {
        padding-bottom: 32px;
    }
}

@media screen and (max-width: 560px) {
    .content_intro.content_intro_has_news,
    .content_intro.content_intro_has_books,
    .content_intro.content_intro_has_workshops,
    .content_intro.content_intro_has_enquire {
        padding-bottom: 28px;
    }
}

.content_intro .contact_page_layout {
    width: 100%;
    max-width: none;
    grid-column: 1 / -1;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    margin: 40px 0 0;
    box-sizing: border-box;
}

@media screen and (max-width: 1280px) {
    .content_intro .contact_page_layout {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 1080px) {
    .content_intro.content_intro_has_contacts {
        row-gap: 32px;
    }

    .content_intro .contact_page_layout {
        width: 100%;
        margin-top: 32px;
        padding-left: 0;
        padding-right: 0;
    }
}

/* .contact_blocks is a direct child of .contact_page_layout — fill the full parent width. */
.contact_page_layout > .contact_blocks {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

@media screen and (max-width: 767px) {
    .content_intro.content_intro_has_contacts {
        row-gap: 28px;
    }

    .content_intro .contact_page_layout {
        width: 100%;
        margin-top: 28px;
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 560px) {
    .content_intro .contact_page_layout {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 560px) {
    .content_intro .contact_page_layout {
        width: 100%;
        margin-top: 24px;
    }
}

@media screen and (max-width: 440px) {
    .content_intro .contact_page_layout {
        width: 100%;
        margin-top: 20px;
    }
}

.content_heading_group {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.content_heading_group_center {
    align-items: center;
    text-align: center;
}

.content_heading_group_right {
    align-items: flex-end;
    text-align: right;
}

.content_feature_image {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 520px;
    padding: 0;
    margin: 48px 0 0;
    position: relative;
    overflow: hidden;
    background-color: #151515;
}
@media screen and (max-width: 767px) {
    .content_feature_image {
        width: 100%;
        aspect-ratio: 1 / 1;
        margin-top: 34px;
    }
}
@media screen and (max-width: 560px) {
    .content_feature_image {
        margin-top: 28px;
    }
}

.content_feature_image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.08);
    transition:
        filter 0.6s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.content_feature_image.is-visible img {
    transform: scale(1);
}

.content_feature_image:hover img {
    filter: saturate(1.1) contrast(1.04);
    transform: scale(1.05);
}

/* Stacked layout: image sits below content, square */
.content_feature_image_stacked {
    aspect-ratio: 1 / 1;
    margin-top: 52px;
}

.content_heading_marker {
    width: 46px;
    height: 3px;
    margin-bottom: 24px;
    position: relative;
    display: block;
    background-color: var(--content-accent);
}
.content_heading_marker::after {
    content: "";
    width: 7px;
    height: 7px;
    position: absolute;
    top: 50%;
    right: -14px;
    border: 1px solid var(--content-accent);
    transform: translateY(-50%) rotate(45deg);
}
@media screen and (max-width: 560px) {
    .content_heading_marker {
        margin-bottom: 18px;
    }
}

.content_h2_header {
    padding: 0;
    margin: 0 0 15px;
    color: var(--content-accent);
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    line-height: 1.35;
    text-transform: uppercase;
}

.content_h2_header_center {
    text-align: center;
}

.content_h2_header_right {
    text-align: right;
}

.content_h2_sub_header {
    max-width: 700px;
    padding: 0;
    margin: 0;
    color: var(--content-ink);
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: clamp(2.25rem, 4.5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 0.98;
    text-wrap: balance;
}
@media screen and (max-width: 1080px) {
    .content_h2_sub_header {
        font-size: clamp(2.1rem, 5vw, 3.5rem);
    }
}
@media screen and (max-width: 767px) {
    .content_h2_sub_header {
        font-size: clamp(2rem, 7.5vw, 3rem);
    }
}
@media screen and (max-width: 560px) {
    .content_h2_sub_header {
        font-size: clamp(2.1rem, 10vw, 3rem);
    }
}
@media screen and (max-width: 440px) {
    .content_h2_sub_header {
        font-size: clamp(1.9rem, 10.5vw, 2.65rem);
    }
}

.content_h2_sub_header_center {
    text-align: center;
}

.content_h2_sub_header_right {
    text-align: right;
}

.content_copy {
    position: relative;
    z-index: 1;
    color: var(--content-muted);
    font-size: 1rem;
    line-height: 1.82;
}
@media screen and (max-width: 1200px) {
    .content_copy {
        font-size: 0.98rem;
    }
}
@media screen and (max-width: 767px) {
    .content_copy {
        font-size: 0.96rem;
        line-height: 1.75;
    }
}

.content_copy p {
    padding: 0;
    margin: 0 0 1.35em;
}

.content_copy p:first-of-type {
    color: #3b3b3b;
    font-size: 1.12em;
}

.content_copy p:first-of-type::first-letter {
    margin: 0.1em 0.1em 0 0;
    float: left;
    color: var(--content-accent);
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: 3.55em;
    font-weight: 600;
    line-height: 0.88;
}

/* One-column / stacked layout: body copy only — no drop cap or lead paragraph */
.content_intro.hide-bottom-line .content_copy p:first-of-type {
    color: var(--content-muted);
    font-size: inherit;
}

.content_intro.hide-bottom-line .content_copy p:first-of-type::first-letter {
    float: none;
    margin: 0;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.content_copy a {
    color: var(--content-accent-dark);
    text-decoration-color: rgba(190, 142, 89, 0.45);
    text-underline-offset: 4px;
    transition:
        color 0.25s ease,
        text-decoration-color 0.25s ease;
}

.content_copy a:hover,
.content_copy a:focus-visible {
    color: var(--content-ink);
    text-decoration-color: var(--content-ink);
}

/* =========================================================
   ONE COLUMN LAYOUT — full-width section headers
   When the page layout is set to one column, the
   content_intro section and its children break out of the
   centred max-width container so the heading spans edge-to-
   edge. Content is then padded inward to maintain readability.
   ========================================================= */

.content_intro_one_column {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
}

/* Break heading group out of any parent max-width constraint */
.content_intro_one_column .content_heading_group {
    width: 100%;
    max-width: 100%;
    padding-left: max(24px, calc((100vw - 1240px) / 2 + 32px));
    padding-right: max(24px, calc((100vw - 1240px) / 2 + 32px));
    box-sizing: border-box;
}

/* For narrower viewports the inner breathing room is smaller */
@media screen and (max-width: 1280px) {
    .content_intro_one_column .content_heading_group {
        padding-left: max(24px, 5vw);
        padding-right: max(24px, 5vw);
    }
}

@media screen and (max-width: 767px) {
    .content_intro_one_column {
        padding-top: 72px;
        padding-bottom: 72px;
    }
    .content_intro_one_column .content_heading_group {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 560px) {
    .content_intro_one_column {
        padding-top: 56px;
        padding-bottom: 56px;
    }
    .content_intro_one_column .content_heading_group {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Full-width copy block — padded inward */
.content_intro_one_column .content_copy {
    width: 100%;
    max-width: 100%;
    padding-left: max(24px, calc((100vw - 1240px) / 2 + 32px));
    padding-right: max(24px, calc((100vw - 1240px) / 2 + 32px));
    box-sizing: border-box;
}

@media screen and (max-width: 1280px) {
    .content_intro_one_column .content_copy {
        padding-left: max(24px, 5vw);
        padding-right: max(24px, 5vw);
    }
}

@media screen and (max-width: 767px) {
    .content_intro_one_column .content_copy {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 560px) {
    .content_intro_one_column .content_copy {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Let the headers span the full width in stacked layout */
.content_intro_stacked .content_h2_header,
.content_intro_stacked .content_h2_sub_header {
    width: 100%;
    max-width: 100%;
}
