html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}
:root {
    /* Pulled from Main Page image */
    /* Group 1: Muted Blues & Lavender */
    --color-light-periwinkle: #c8cbe2; /* rgb(200, 203, 226) */
    --color-slate-blue: #7f9ec7; /* rgb(127, 158, 199) */
    --color-muted-steel-blue: #5071a6; /* rgb(80, 113, 166) */
    --color-dark-navy-blue: #2a3d75; /* rgb(42, 61, 117) */

    /* Group 2: Medium & Royal Blues */
    --color-medium-blue: #3f81c4; /* rgb(63, 129, 196) */
    --color-dark-royal-blue: #1c4d81; /* rgb(28, 77, 129) */

    /* Group 3: Sage Greens */
    --color-light-sage: #7aa28d; /* rgb(122, 162, 141) */
    --color-dark-sage-pine: #5d7a68; /* rgb(93, 122, 104) */

    /* Group 4: Charcoal & Purplish Grey */
    --color-deep-purplish-grey: #4d4651; /* rgb(77, 70, 81) */
    --color-dark-charcoal: #2b2229; /* rgb(43, 34, 41) */

    /* Group 5: Olive Greens */
    --color-golden-olive: #715b2e; /* rgb(113, 91, 46) */
    --color-medium-olive: #51542f; /* rgb(81, 84, 47) */
    --color-dark-olive: #404533; /* rgb(64, 69, 51) */

    /* Group 6: Warm Creams */
    --color-soft-cream-peach: #fce3cc; /* rgb(252, 227, 204) */
    --color-sandy-beige: #f2dbb3; /* rgb(242, 219, 179) */

    /* Group 7: Pinks & Reds */
    --color-coral-pink: #f36c74; /* rgb(243, 108, 116) */
    --color-crimson-red: #991c28; /* rgb(153, 28, 40) */
    --color-deep-burgundy: #73131b; /* rgb(115, 19, 27) */

    /* Group 8: Terracotta & Browns */
    --color-terracotta: #c95d37; /* rgb(201, 93, 55) */
    --color-dark-choco-brown: #4a2d1f; /* rgb(74, 45, 31) */

    /* Look tokens: shared shape, shadow and link rules */
    --radius-card: 1rem;
    --radius-small: 0.75rem;
    --shadow-card: 0 8px 20px rgba(42, 61, 117, 0.1);
    --shadow-raised: 0 8px 20px rgba(42, 61, 117, 0.18);
    --color-link: var(--color-dark-royal-blue);
    --color-link-hover: var(--color-crimson-red);
    --color-surface: rgba(255, 255, 255, 0.82);
    --color-surface-warm: rgba(252, 227, 204, 0.94);
}

/* Heading font: Fraunces, a soft storybook serif, saved in wwwroot/fonts (see docs/fonts.md) */
@font-face {
    font-family: 'Fraunces';
    src: url('/fonts/Fraunces-latin.woff2') format('woff2');
    font-weight: 600 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
}

h1, h2, h3, h4,
.navbar-brand {
    font-family: var(--font-heading);
}

/* ---------------------------------------------------------------
   Cards: one shared look for every card on the site.
   Page-specific rules below only add layout (grid, flex, numbers).
   To make a dark card, add the page's "-featured" or "-message" class.
   --------------------------------------------------------------- */
:root {
    --card-padding: 1.5rem;
    --card-border: 1px solid rgba(42, 61, 117, 0.12);
    --card-title-size: 1.25rem;
    --card-text-line-height: 1.55;
}

.sketchercise-card,
.prompt-list,
.rule-card,
.illustrators-card {
    padding: var(--card-padding);
    border: var(--card-border);
    border-radius: var(--radius-card);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    line-height: var(--card-text-line-height);
}

/* Dark variant */
.sketchercise-card-featured,
.prompt-list-featured,
.rule-card-message {
    border-color: var(--color-dark-navy-blue);
    background: var(--color-dark-navy-blue);
    color: #fff;
}

/* Card titles */
.sketchercise-card h2,
.sketchercise-card h3,
.prompt-list h2,
.prompt-list h3,
.rule-card h2,
.rule-card h3,
.illustrators-card h3 {
    margin: 0 0 0.65rem;
    color: var(--color-dark-royal-blue);
    font-size: var(--card-title-size);
    font-weight: 800;
    line-height: 1.25;
}

.sketchercise-card-featured h2,
.sketchercise-card-featured h3,
.prompt-list-featured h2,
.prompt-list-featured h3,
.rule-card-message h2,
.rule-card-message h3 {
    color: var(--color-sandy-beige);
}

/* Links on dark cards */
.sketchercise-card-featured a,
.prompt-list-featured a,
.rule-card-message a {
    color: var(--color-sandy-beige);
}

/* Links use the palette, not Bootstrap's default blue */
a {
    color: var(--color-link);
}

a:hover {
    color: var(--color-link-hover);
}

/* Buttons that are links keep their own text color and have no underline */
a.ButtonRed,
a.ButtonRed:hover {
    text-decoration: none;
}

/* Footer sits at the bottom of the page and stays readable over the art */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-bottom: 0;
}

body > .container {
    flex: 1 0 auto;
}

.footer {
    position: static;
    flex-shrink: 0;
    width: 100%;
    margin-top: 2rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(42, 61, 117, 0.14);
    background: var(--color-surface-warm);
    color: var(--color-deep-purplish-grey) !important;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: normal;
}

body.home-page .footer {
    margin-top: 0;
}

.footer a {
    color: var(--color-dark-royal-blue);
    font-weight: 600;
}

.footer a:hover {
    color: var(--color-crimson-red);
}

/* Navbar: warm cream with navy text, to sit with the art */
.navbar {
    background-color: var(--color-surface-warm) !important;
    border-bottom: 1px solid rgba(42, 61, 117, 0.14) !important;
}

.navbar .navbar-brand {
    color: var(--color-dark-navy-blue);
    font-weight: 800;
}

.navbar .nav-link {
    color: var(--color-dark-navy-blue) !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--color-crimson-red) !important;
}





@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    /* Near-black text color */
    color: var(--color-dark-charcoal);
}

body.home-page {
  background-image: url('/images/Main%20Page.png');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Phones: keep Dreugan in frame, and leave room under the footer for the fixed dialogue box */
@media (max-width: 767px) {
    body.home-page {
        background-position: 30% top;
        padding-bottom: 32vh;
    }
}

.home-tagline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    background: rgba(252, 227, 204, 0.92);
    box-shadow: 0 8px 20px rgba(42, 61, 117, 0.14);
    text-align: center;
}

.home-tagline h1 {
    margin: 0;
    color: var(--color-dark-navy-blue);
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    font-weight: 800;
}

.home-tagline a {
    color: var(--color-crimson-red);
    font-weight: 700;
}

.dialogue-page {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 10;
    width: min(90vw, 420px);
    height: auto;
    max-height: 30vh;
    margin: 0;
}

.dialogue-header {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(252, 227, 204, 0.92);
    box-shadow: 0 8px 20px rgba(42, 61, 117, 0.14);
    text-align: center;
}

.dialogue-eyebrow {
    margin-bottom: 0.5rem;
    color: var(--color-crimson-red);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dialogue-header h1 {
    margin: 0;
    color: var(--color-dark-navy-blue);
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 800;
}

.dialogue-scenes {
    position: relative;
    height: auto;
    max-height: 30vh;
}

.dialogue-scene {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    padding: 0.75rem 3rem 2.5rem 1rem;
    border: 1px solid rgba(42, 61, 117, 0.14);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(42, 61, 117, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.dialogue-scene-active {
    position: relative;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
}

.dialogue-next {
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    z-index: 2;
    display: grid;
    width: 2rem;
    height: 2rem;
    padding: 0;
    place-items: center;
    border: 1px solid var(--color-dark-navy-blue);
    border-radius: 50%;
    background: var(--color-soft-cream-peach);
    color: var(--color-dark-navy-blue);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.dialogue-next:hover {
    background: var(--color-sandy-beige);
    transform: translateX(2px);
}

.dialogue-next:focus-visible {
    outline: 2px solid var(--color-coral-pink);
    outline-offset: 2px;
}

.dialogue-scene p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.35;
}

.dialogue-scene p + p {
    margin-top: 0.35rem;
}

.dialogue-scene strong {
    color: var(--color-dark-royal-blue);
}

.dialogue-scene a {
    color: var(--color-crimson-red);
    font-weight: 700;
}

@media (max-width: 767px) {
    .dialogue-page {
        right: 0.5rem;
        bottom: 0.5rem;
        width: calc(100vw - 1rem);
        height: auto;
        max-height: 30vh;
    }

    .dialogue-scene {
        padding: 0.6rem 3rem 2.25rem 0.75rem;
    }

    .dialogue-scene p {
        font-size: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dialogue-scene,
    .dialogue-next {
        transition: none;
    }
}

body.information-page {
    background: linear-gradient(135deg, var(--color-soft-cream-peach), var(--color-light-periwinkle));
}

body.sketchercises-page {
    background: linear-gradient(135deg, var(--color-light-periwinkle), var(--color-soft-cream-peach));
}

.sketchercises-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 0 4rem;
}

.sketchercises-header {
    margin-bottom: 2rem;
    text-align: center;
}

.sketchercises-eyebrow,
.sketchercise-level {
    color: var(--color-crimson-red);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sketchercises-eyebrow {
    margin-bottom: 0.5rem;
}

.sketchercises-header h1 {
    margin-bottom: 0.75rem;
    color: var(--color-dark-navy-blue);
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 800;
}

.sketchercises-intro {
    max-width: 680px;
    margin: 0 auto;
    color: var(--color-deep-purplish-grey);
    font-size: 1.1rem;
}

.sketchercises-lead {
    max-width: 720px;
    margin: 0 auto 0.75rem;
    color: var(--color-dark-navy-blue);
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 700;
    line-height: 1.35;
}

.sketchercises-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.sketchercise-card {
    display: flex;
    gap: 1rem;
    min-height: 220px;
}

.sketchercise-number {
    flex: 0 0 auto;
    color: var(--color-coral-pink);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.sketchercise-level {
    margin: 0 0 0.5rem;
    letter-spacing: 0.1em;
}

/* Labels on the dark featured cards need a light color to stay readable */
.sketchercise-card-featured .sketchercise-level,
.prompt-list-featured .prompts-eyebrow {
    color: var(--color-coral-pink);
}

.sketchercise-focus {
    margin: 1rem 0 0;
    color: var(--color-deep-purplish-grey);
    font-size: 0.95rem;
    font-style: italic;
}

.sketchercise-card-featured .sketchercise-focus {
    color: var(--color-soft-cream-peach);
}

.sketchercises-section-title,
.prompts-section-title {
    margin: 3rem 0 1rem;
    color: var(--color-dark-navy-blue);
    font-size: 1.75rem;
    font-weight: 800;
    text-align: center;
}

.sketchercise-card-info {
    min-height: 0;
}

.sketchercise-card-info p,
.prompt-list p {
    margin: 0;
}

.sketchercises-note {
    margin: 2rem auto 0;
    color: var(--color-deep-purplish-grey);
    text-align: center;
    font-style: italic;
}

@media (max-width: 767px) {
    .sketchercises-content {
        padding: 1.5rem 0 3rem;
    }

    .sketchercises-grid {
        grid-template-columns: 1fr;
    }
}

body.prompts-page {
    background: linear-gradient(135deg, var(--color-soft-cream-peach), var(--color-light-periwinkle));
}

.prompts-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 0 4rem;
}

.prompts-header {
    margin-bottom: 2rem;
    text-align: center;
}

.prompts-eyebrow {
    margin: 0 0 0.5rem;
    color: var(--color-crimson-red);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.prompts-header h1 {
    margin-bottom: 0.75rem;
    color: var(--color-dark-navy-blue);
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 800;
}

.prompts-intro {
    max-width: 680px;
    margin: 0 auto;
    color: var(--color-deep-purplish-grey);
    font-size: 1.1rem;
}

.prompt-lists {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.prompt-list-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-height: 76px;
    margin-bottom: 1rem;
}

.prompt-list-icon {
    color: var(--color-coral-pink);
    font-size: 2rem;
    line-height: 1;
}

.prompt-list-header h2 {
    margin: 0;
}

.prompt-list ul {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding-left: 1.25rem;
}

.prompt-list li {
    line-height: 1.5;
}

.prompts-note {
    margin: 2rem auto 0;
    color: var(--color-deep-purplish-grey);
    text-align: center;
    font-style: italic;
}

@media (max-width: 767px) {
    .prompts-content {
        padding: 1.5rem 0 3rem;
    }

    .prompt-lists {
        grid-template-columns: 1fr;
    }
}

.information-page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 0 4rem;
}

.information-page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.information-page-eyebrow {
    margin-bottom: 0.5rem;
    color: var(--color-crimson-red);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.information-page-header h1 {
    margin-bottom: 0.75rem;
    color: var(--color-dark-navy-blue);
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 800;
}

.information-page-intro {
    margin: 0;
    color: var(--color-deep-purplish-grey);
    font-size: 1.1rem;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

.rule-card {
    position: relative;
    display: flex;
    min-height: 120px;
    overflow: hidden;
}

.rule-card-message {
    grid-column: span 1;
}

.rule-number {
    flex: 0 0 auto;
    margin-right: 1rem;
    color: var(--color-coral-pink);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.rule-card-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin-top: 0.75rem;
    border-radius: 0.75rem;
}

/* Villages page: grouped card sections */
.village-group {
    margin-top: 2.5rem;
}

.village-group:first-of-type {
    margin-top: 0;
}

.village-group-title {
    margin-bottom: 0.5rem;
    color: var(--color-dark-navy-blue);
    font-size: 1.75rem;
    font-weight: 800;
}

.village-group-intro {
    max-width: 680px;
    margin-bottom: 1rem;
    color: var(--color-deep-purplish-grey);
}

.email-fallbacks {
    font-size: 0.85em;
    white-space: nowrap;
}

.email-copy {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.village-page-link {
    margin: 2.5rem 0 0;
    text-align: center;
}

.village-group .rules-grid {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.rule-text,
.rule-note {
    margin: 0;
}

/* Short statements that come with a note, like Dreugan's Rules, are shown in bold */
.rule-text-short {
    font-weight: 600;
}

.rule-note {
    margin-top: 0.35rem;
    color: var(--color-deep-purplish-grey);
    font-size: 0.95rem;
    font-style: italic;
}

.rule-card-message .rule-note {
    color: var(--color-soft-cream-peach);
}

@media (max-width: 767px) {
    .information-page-content {
        padding: 1.5rem 0 3rem;
    }

    .rules-grid {
        grid-template-columns: 1fr;
    }

    .rule-card-message {
        grid-column: span 1;
    }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/*Pages*/
.PageBackground {
    background: linear-gradient(135deg, var(--color-soft-cream-peach), var(--color-sandy-beige));
    /* Deep contrast text color */
    color: var(--color-dark-choco-brown);
}

/*Buttons*/
/* Base styles shared across all buttons */
.ButtonRed,
.ButtonTan,
.ButtonBlue,
.ButtonGreen {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    /* Requested Styling Effects */
    border-radius: 9999px; /* Rounded pill shape */
    border: 2px solid transparent; /* Placeholder filled by individual classes */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04); /* Soft shadow */
    /* Smooth interactions */
    transition: all 0.2s ease-in-out;
}

    /* Micro-interactions for all buttons */
    .ButtonRed:hover,
    .ButtonTan:hover,
    .ButtonBlue:hover,
    .ButtonGreen:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    }

    .ButtonRed:active,
    .ButtonTan:active,
    .ButtonBlue:active,
    .ButtonGreen:active {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    }

/* --- INDIVIDUAL COLOR CLASSES --- */

/* Crimson Red background, Deep Burgundy border, Light text */
.ButtonRed {
    background-color: var(--color-crimson-red);
    border-color: var(--color-deep-burgundy);
    padding: 0.4rem 0.8rem;
    color: #ffffff !important;
    font-size: 0.875rem;
}

.ButtonRed:hover {
    background-color: var(--color-deep-burgundy);
    color: #ffffff !important;
}

.ButtonRed:focus-visible {
    outline: 2px solid var(--color-coral-pink);
    outline-offset: 2px;
}

.raven-status {
    margin-bottom: 1rem;
}

/* Sandy Beige background, Terracotta border, Dark Chocolate text */
.ButtonTan {
    background-color: var(--color-sandy-beige);
    border-color: var(--color-terracotta);
    color: var(--color-dark-choco-brown);
}

.ButtonTan:hover {
    background-color: var(--color-soft-cream-peach);
}

/* Medium Blue background, Dark Royal border, Light text */
.ButtonBlue {
    background-color: var(--color-medium-blue);
    border-color: var(--color-dark-royal-blue);
    color: #ffffff;
}

.ButtonBlue:hover {
    background-color: var(--color-dark-royal-blue);
}

/* Light Sage background, Dark Sage border, Dark Charcoal text */
.ButtonGreen {
    background-color: var(--color-light-sage);
    border-color: var(--color-dark-sage-pine);
    color: var(--color-dark-charcoal);
}

.ButtonGreen:hover {
    background-color: var(--color-dark-sage-pine);
    color: #ffffff; /* Swapped to white on hover as the background gets dark */
}

/*Charcoal palette cards*/

.warm-cream-card-modern {
    background: linear-gradient(135deg, var(--color-soft-cream-peach), var(--color-sandy-beige));
    /* Near-black text color */
    color: var(--color-dark-charcoal);
}

.warm-cream-card-modern a {
    /* Uses Dark Navy Blue for links to introduce a fresh pop of color */
    color: var(--color-dark-navy-blue);
}

/*Crimson Accent Banners*/
.warm-cream-banner {
    background: radial-gradient(circle at top, var(--color-soft-cream-peach) 0%, var(--color-sandy-beige) 100%);
    color: var(--color-dark-charcoal);
}

.warm-cream-banner .accent-text {
    /* Perfect for a prominent heading or bold alert text */
    color: var(--color-crimson-red);
}
/* Illustrators page */
body.illustrators-page {
    background: linear-gradient(135deg, var(--color-soft-cream-peach), var(--color-light-periwinkle));
}

.illustrators-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 0 4rem;
}

.illustrators-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 2rem;
}

.illustrators-eyebrow {
    margin: 0 0 0.5rem;
    color: var(--color-crimson-red);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.illustrators-hero h1 {
    margin-bottom: 0.75rem;
    color: var(--color-dark-navy-blue);
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 800;
}

.illustrators-lead {
    color: var(--color-deep-purplish-grey);
    font-size: 1.1rem;
}

.illustrators-paid {
    font-weight: 700;
}

.illustrators-hero-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(42, 61, 117, 0.18);
}

.illustrators-section {
    margin-top: 3rem;
}

.illustrators-section h2 {
    margin-bottom: 0.75rem;
    color: var(--color-dark-navy-blue);
    font-size: 1.75rem;
    font-weight: 800;
}

.illustrators-section-intro {
    color: var(--color-deep-purplish-grey);
}

.illustrators-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
}

.illustrators-card ul {
    margin: 0;
    padding-left: 1.25rem;
}

.illustrators-roles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.illustrators-role {
    display: flex;
    flex-direction: column;
}

.illustrators-role-actions {
    margin-top: auto;
    padding-top: 1rem;
}

@media (max-width: 767px) {
    .illustrators-roles {
        grid-template-columns: 1fr;
    }
}

.illustrators-role-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.illustrators-role-seats {
    color: var(--color-crimson-red);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.illustrators-tag {
    flex: 0 0 auto;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.illustrators-tag-open {
    background: var(--color-light-sage);
    color: var(--color-dark-charcoal);
}

.illustrators-tag-filled {
    background: var(--color-light-periwinkle);
    color: var(--color-dark-navy-blue);
}

.illustrators-role-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.illustrators-steps li,
.illustrators-apply li {
    margin-bottom: 0.4rem;
}

.illustrators-faq dt {
    margin-top: 1rem;
    color: var(--color-dark-royal-blue);
    font-weight: 800;
}

.illustrators-faq dd {
    margin: 0.25rem 0 0;
}

.illustrators-apply {
    padding: var(--card-padding);
    border-radius: var(--radius-card);
    background: var(--color-dark-navy-blue);
    box-shadow: var(--shadow-card);
    color: #fff;
}

.illustrators-apply h2 {
    color: var(--color-sandy-beige);
}

.illustrators-apply a {
    color: var(--color-sandy-beige);
    font-weight: 700;
}

@media (max-width: 767px) {
    .illustrators-content {
        padding: 1.5rem 0 3rem;
    }

    .illustrators-hero {
        grid-template-columns: 1fr;
    }
}

/* Illustrator role pages */
.illustrators-back {
    margin-bottom: 1.5rem;
}

.illustrators-role-hero h1 {
    margin-bottom: 0.75rem;
    color: var(--color-dark-navy-blue);
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    font-weight: 800;
}

.illustrators-role-hero {
    max-width: 46rem;
}

.illustrators-checklist {
    padding-left: 1.25rem;
}

.illustrators-checklist li {
    margin-bottom: 0.4rem;
}

.illustrators-card-tag {
    margin: 0.75rem 0 0;
    color: var(--color-crimson-red);
    font-size: 0.85rem;
    font-style: italic;
}

.illustrators-context-note {
    margin-top: 1rem;
    color: var(--color-deep-purplish-grey);
    font-style: italic;
}

.illustrators-optional {
    margin-top: 1.5rem;
}
