/*
|--------------------------------------------------------------------------
| 2026 brand: admin-only preview
|--------------------------------------------------------------------------
| Loaded after main.css only while an admin has brand preview switched on
| (?brand_preview=on, see index.php). Members and visitors never get it.
|
| Palette (brand guide):
|   rose   #C18583   headings, wordmark, hover
|   taupe  #72635C   buttons, links, nav, second headings
|   gold   #D4B797   accents
|   white  #F4F2F3   panels and page background
|   blush  #D5B8B6   borders and soft backgrounds
| Fonts: the guide's web fonts are Playfair Display (headings) and Futura
| (text). Futura isn't free for the web, so Jost (a close Google Fonts
| match) stands in; Bicyclette, the print text font, is on Adobe Fonts and
| could replace it via the site's Typekit kit.
|
| Part 1 is written by hand. Part 2 was generated from main.css: every
| declaration that used an old brand colour or font, restated with the
| new one (teal and navy -> taupe, pink and peach -> rose, pale pink and
| pale blue -> warm white and blush).
*/

/* ---------- Part 1: hand-written ---------- */

/* Preview banner */
#brand_preview_banner {
    position: sticky;
    top: 0;
    z-index: 10001;
    background: #72635c;
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    text-align: center;
    font-family: 'Jost', sans-serif;
}
#brand_preview_banner a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

/* Page background: warm white with faint blush dots instead of the blue pattern */
.container {
    background-color: #f4f2f3;
    background-image: radial-gradient(#d5b8b6 1px, transparent 1.5px);
    background-size: 22px 22px;
}

/* Top edge: rose zigzag instead of the blue image */
.zigzag {
    background-image:
        linear-gradient(135deg, #c18583 25%, transparent 25%),
        linear-gradient(225deg, #c18583 25%, transparent 25%);
    background-size: 18px 18px;
    background-position: 0 0;
    background-repeat: repeat-x;
    height: 9px;
}

/* New logo is wider and shorter than the old badge */
header .logo_box {
    max-width: 420px;
}
footer .logo_box {
    max-width: 260px;
}
@media only screen and (max-width: 800px) {
    /* clear the stacked account buttons on phones */
    header .logo_box {
        margin-top: 105px;
        max-width: 340px;
    }
}

/* Ticks in the join list: taupe */
.join_box ul li {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 16'%3E%3Cpath d='M1 8.5l6 6L19 1.5' fill='none' stroke='%2372635c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Headings: Playfair is wider than Caecilia; keep weight light */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

/* Gold accent under slanted titles */
.title_slant {
    box-shadow: 3px 3px 0 1px #d4b797;
}

/* The newsletter sign-up embed (Campaign Monitor) carries page-wide styles
   for html, h1-h6 and a, which load after this file. These rules are one
   step more specific so the brand colours still apply. */
html body {
    color: #4f4440;
}
body h1,
body h3,
body h4 {
    color: #c18583;
}
body h2 {
    color: #72635c;
}
body a {
    color: #72635c;
}
body .js-cm-submit-button {
    background-color: #72635c;
    font-family: 'Jost', sans-serif;
}

/* ---------- Part 2: generated from main.css ---------- */

body {
    font-family: 'Jost', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display',sans-serif;
}

h1 {
    color: #c18583;
}

h2 {
    color: #72635c;
}

h3 {
    color: #c18583;
}

h4 {
    color: #c18583;
}

p {
    font-family: 'Jost', sans-serif;
}

p a {
    color: #72635c;
}

.btn.btn_pastel {
    background-color: #72635c;
}

.btn.btn_pastel:hover {
    background-color: #c18583;
}

.btn.btn_pastel:focus {
    box-shadow: 0 0 0px 3px #c18583;
}

.btn_active {
    box-shadow: 0 0 0px 3px #c18583;
}

.form_row label sup {
    color: #c18583;
}

.form_row label a {
    color: #72635c;
}

.form_row input:focus, .reply_box textarea:focus {
    border-color: #c18583;
}

.header_search input {
    border: 2px solid #72635c;
}

.header_search input:focus {
    border-color: #c18583;
}

header {
    border-top: 16px solid #d5b8b6;
}

header nav {
    border-top: 2px solid rgba(193,133,131,0.1);
}

header nav ul li a {
    color: #72635c;
    font-family: 'Playfair Display',sans-serif;
}

header nav ul li a:hover {
    background-color: #c18583;
}

.books-banner {
    background: #72635c;
}

.books-banner:hover {
    background: #c18583;
}

.books-banner p {
    font-family: 'Playfair Display',sans-serif;
}

.join_box {
    background-color: #f4f2f3;
}

.title_slant {
    background-color: #72635c;
}

.past_projects h3, .join_box h3 {
    color: #72635c;
}

.review_box {
    border-top: 1px solid rgba(193,133,131,0.57);
    border-bottom: 1px solid rgba(193,133,131,0.57);
}

.review_box h3, .resource_box h3 {
    color: #72635c;
}

.review_box blockquote p {
    color: #c18583;
    font-family: 'Playfair Display',sans-serif;
}

.review_box blockquote p strong {
    font-family: 'Jost', sans-serif;
}

.review blockquote p:last-child {
    font-family: 'Jost', sans-serif;
}

.resource_box {
    border-bottom: 1px solid rgba(193,133,131,0.57);
}

.social_widget {
    border-bottom: 1px solid rgba(193,133,131,0.57);
}

footer {
    border-top: 16px solid #d5b8b6;
    background-color: #f4f2f3;
}

.footer_box ul li a {
    color: #72635c;
}

#mob_nav {
    background-color: #c18583;
}

#mob_nav nav ul li a {
    font-family: 'Playfair Display',sans-serif;
}

#short_nav li a strong {
    font-family: 'Jost', sans-serif;
}

.module_box > h1, .module_box > h2 {
    background-color: #c18583;
}

.inner_container ul li {
    color: #72635c;
}

.lSSlideOuter .lSPager.lSpg>li.active a, .lSSlideOuter .lSPager.lSpg>li:hover a {
    background-color: #72635c;
}

.members_tag {
    border-bottom: 80px solid #c18583;
}

.free_tag {
    border-bottom: 80px solid #72635c;
}

.difficulty p {
    color: #72635c;
}

.reveal_more {
    color: #72635c;
}

.dash_border {
    border: 3px dashed #72635c;
}

.tips_box {
    background-color: #f4f2f3;
}

.tips_box {
    background-color: #f4f2f3;
}

.tips_box ul li a {
    color: #c18583;
}

#forum_list li h3 a {
    color: #c18583;
}

#forum_list li h3 a:hover {
    color: #72635c;
}

.answer_box h4 {
    font-family: 'Jost', serif;
}

.answer_box h4 span {
    color: #72635c;
}

.pagination li a {
    background-color: #72635c;
}

.pagination li a:hover {
    background-color: #c18583;
}

.drop_area {
    background-color: #d5b8b6;
}

.radio_container span:hover {
    border-color: #72635c;
}

.radio_container input:checked ~ span {
    background-color: #72635c;
    border-color: #72635c;
}

.favourite-buttons a {
    color: #72635c;
}

.favourite-buttons a.active, .favourite-buttons a:hover {
    background-color: #72635c;
}

.offer-text {
    border: 10px solid #72635c;
    border: 10px solid #9e6563;
    background-color: #f4f2f3;
}

.download_count {
    color: #c18583;
}

@media print {
    .project_steps .text_box h4 {
        font-family: 'Jost';
    }
    h1, h2, h3, h4, h5 {
        font-family: 'Jost';
    }
}

/* Home hero (logged out): the welcome graphic is 16:9 text and a drawing,
   so show all of it inside the tall hero box instead of cropping it.
   Letterbox colours match the image: white above, its grey swoosh below. */
#hp_hero .video_box img {
    object-fit: contain;
    background: linear-gradient(#ffffff 50%, #f4f2f3 50%);
}
