/* =========================================
   EDITORIAL LANDING PAGE
   Joomla 6 / Cassiopeia
   ========================================= */

/* 1. Colour palette and overall typography */
:root {
    --editorial-paper: #f7f5ef;
    --editorial-ink: #292923;
    --editorial-muted: #77756d;
    --editorial-accent: #805b45;
    --editorial-rule: #dcd7cc;

    --cassiopeia-color-primary: #292923;
    --cassiopeia-color-link: #805b45;
    --cassiopeia-color-hover: #5c4030;
}

body {
    background: var(--editorial-paper);
    color: var(--editorial-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.8;
}

/* 2. Remove the default blue header gradient */
.container-header {
    background-color: var(--editorial-paper);
    background-image: none;
    box-shadow: none;
    border-bottom: 1px solid var(--editorial-rule);
}

/* Header branding */
.container-header .navbar-brand,
.container-header .navbar-brand a {
    color: var(--editorial-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
    font-weight: normal;
    text-decoration: none;
}

/* 3. Keep the main content narrow and readable */
.container-component {
    max-width: 780px;
    margin-inline: auto;
    padding: 4rem 1.5rem 5rem;
}

/* 4. Elegant editorial headings */
h1, h2, h3, h4 {
    color: var(--editorial-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    margin-bottom: 1.25rem;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-top: 3rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

/* 5. Body copy */
.com-content-article__body p {
    margin-bottom: 1.5rem;
}

.com-content-article__body > p:first-of-type {
    font-size: 1.2rem;
    line-height: 1.65;
}

/* 6. Links */
a {
    color: var(--editorial-accent);
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
}

a:hover,
a:focus {
    color: var(--editorial-ink);
}

/* 7. Subtle separators */
hr {
    border: 0;
    border-top: 1px solid var(--editorial-rule);
    margin: 2.5rem 0;
}

/* 8. Hide article metadata for a cleaner landing page */
.article-info {
    display: none;
}

/* 9. Footer */
.container-footer {
    background: var(--editorial-paper);
    color: var(--editorial-muted);
    border-top: 1px solid var(--editorial-rule);
    font-size: 0.9rem;
}

/* 10. Mobile spacing */
@media (max-width: 600px) {
    .container-component {
        padding: 2.5rem 1.25rem 3rem;
    }

    body {
        font-size: 17px;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        margin-top: 2.25rem;
    }
}

/* ==========================================
   EDITORIAL HOMEPAGE: OVERSIZED WATERMARK
   ========================================== */

/* Hero section */
.editorial-home .editorial-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 65vh;
    display: flex;
    align-items: center;

    padding: 5rem max(1.5rem, calc((100vw - 780px) / 2));

    background: #f7f5ef;
    color: #292923;
}

/* Large, faint word behind the text */
.editorial-home .editorial-hero__watermark {
    position: absolute;
    z-index: 0;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(6rem, 19vw, 17rem);
    font-weight: bold;
    line-height: 1;
    letter-spacing: -0.07em;
    white-space: nowrap;

    color: #292923;
    opacity: 0.055;

    pointer-events: none;
    user-select: none;
}

/* Keep the actual content above the watermark */
.editorial-home .editorial-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 680px;
}

/* Small uppercase introduction */
.editorial-home .editorial-hero__eyebrow {
    margin: 0 0 1.5rem;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: #805b45;
}

/* Main headline */
.editorial-home .editorial-hero h1 {
    margin: 0 0 1.5rem;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: normal;
    line-height: 1.05;
    letter-spacing: -0.045em;

    color: #292923;
}

/* Introductory sentence */
.editorial-home .editorial-hero__intro {
    max-width: 540px;
    margin: 0 0 1.75rem;

    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.7;
}

/* Text link */
.editorial-home .editorial-hero__link {
    color: #805b45;
    text-decoration: underline;
    text-underline-offset: 0.3em;
}

/* Biography section */
.editorial-home .editorial-about {
    max-width: 780px;
    margin-inline: auto;
    padding: 4rem 1.5rem 6rem;
}

/* Smaller screens */
@media (max-width: 600px) {
    .editorial-home .editorial-hero {
        min-height: 60vh;
        padding: 3.5rem 1.5rem;
    }

    .editorial-home .editorial-hero__watermark {
        font-size: 23vw;
        letter-spacing: -0.06em;
    }

    .editorial-home .editorial-hero h1 {
        font-size: clamp(2.7rem, 11vw, 4rem);
    }

    .editorial-home .editorial-about {
        padding: 3rem 1.5rem 4rem;
    }
}
