/**
 * Theme Name:  Astra Child
 * Author:      Brainstorm Force / WAVD
 * Template:    astra
 * Text Domain: astra-child
 * Description: The Astra WordPress theme
 * Website:     Red Rope
 * Last Update: 16/09/026
 */

/* ============================================================
   #1. GLOBAL COLOUR & TEXT VARIABLES
   ============================================================ */
  :root {
    /* base layout colours */
    --page-bg: #ffffff;              /* page background */
    --header-bg: #ffffff;            /* header background */
    --strip-bg: #9bc8ab;             /* pale green strip/header accent */
    --section-header-bg: #ffffff;    /* section header background */
    --section-content-bg: #ffffff;   /* section content background */
    --heading-color: #333333;        /* dark grey headings */
    --paragraph-color: #444444;      /* mid grey body text */
    --nav-color: #333333;            /* navigation text */
    --nav-hover: #2e5e2e;            /* navigation hover */
    --accent-red: #cc0000;           /* action/cta red */

    /* core brand palette */
    --rr-red: #cc0000;               /* brand primary red */
    --rr-green-prim: #9bc8ab;        /* brand primary pale green */
    --rr-green-sec: #6b9278;         /* brand secondary deep green */
    --rr-blue: #3b7ea1;              /* brand blue */
    --rr-purple: #72558f;            /* brand purple */
    --rr-orange: #e67e22;         /* safety */

    /* extended palette */
    --rr-blue-sec: #2980b9;          /* strong blue accent */
    --rr-brown-sec: #8b4513;         /* brown accent */
    --rr-gold-sec: #f7e7c6;          /* light sand accent */
    --rr-orange-sec: #e67e22;        /* orange accent */
    --rr-red-sec: #cc0000;           /* red accent */
    --rr-sand-sec: #f7e7c6;          /* sand accent */

    /* semantic colours */
    --rr-governance: #dde3f8;        /* governance/roles */
    --rr-grey-light: #f7f7f7;        /* light grey frame/background */
    --rr-grey-verylight: #fafafa;    /* very light grey – section frame background */
    --rr-membership: #fff4d6;        /* membership/joining */
    --rr-publicity: #e6f2ff;         /* publicity/media */
    --rr-safety: #fce8e6;            /* safety/incidents */
    --rr-secondary: #e8f4e3;         /* generic secondary pale green */
    --rr-color-trip: #2e7d32;        /* Trip green */
    --rr-color-default: #444444;     /* Neutral grey */
    --rr-color-brown: #8B4513;       /* saddle brown */

    /* structural overrides */
    --strip-bg: var(--rr-green-prim); /* strip uses brand green */
    --nav-hover: var(--rr-green-sec); /* nav hover uses deep green */
    --accent-red: var(--rr-red);      /* accent red uses brand red */
    
    /* Classic web link colours  - W3C blue - not in use */
    --link-colour-www: #0000EE;      /* standard web blue */
    --visited-colour-www: #551A8B;   /* standard visited purple */
    --active-colour-www: #551A8B;   /* standard visited purple */

    /* in use body-link colours */
    --body-colour:    #333333;
    --link-colour: #00a651;
    --visited-colour: #7250c9;
    --active-colour: #007a3d;

    /* typography */
    --rr-text-size: 18px;            /* base text size */
    --rr-line-height: 1.6;           /* base line height */

    /* heading scale */
    --rr-h1-scale: 2.0;              
    --rr-h2-scale: 1.6;            
    --rr-h3-scale: 1.3;             
    --rr-h4-scale: 1.15;             
    --rr-h5-scale: 1.05;             
    --rr-h6-scale: 1.0;             

    /* spacing */
    --rr-space-sm: 0.5rem;           /* small spacing */
    --rr-space-md: 1rem;             /* medium spacing */
    --rr-space-lg: 2rem;             /* large spacing */

    /* icons and cards */
    --rr-icon-size: 1.2rem;          /* icon size */
    --rr-card-text-size: 0.95rem;    /* card text size */
}

/* ============================================================
   #2. GLOBAL ROOT + HTML + BODY TYPOGRAPHY FIX (Bootstrap-safe)
   ============================================================ */

html {
    font-size: 18px;
    font-family: "Open Sans", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--page-bg) !important; 
    font-size: 18px;
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #222;
    -webkit-font-smoothing: antialiased;
}

/* Bootstrap 4 no-gutters utility */
.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.rr-bootstrap .container-fluid, .rr-bootstrap .container {
    padding-left: 0;
    padding-right: 0;
}

.rr-bootstrap .row.no-gutters > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}
/* force full width in rr-bs container */
@media (min-width: 1200px) {
    .rr-bootstrap .container {
        max-width: 1200px;
    }
}

/* safari only footer adjustment */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
        #colophon {
            margin-left: auto !important;
            margin-right: auto !important;
            left: 0 !important;
            transform: none !important;
        }
    }
}

/* hide region sidebar in Main Sidebar on 3 pages */
.category-news #nav_menu-12, /* if .category-neews was implemented */
.page-id-61 #nav_menu-12,
.category-bulletins #nav_menu-12,
.blog #nav_menu-12 {
    display: none !important;
}

/* home page footer news */
.rr-latest-news .rr-news-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

 .rr-site-notice{
    width:100%;
    background:#e8f3e8;
    border-top:1px solid #7fa67f;
    border-bottom:1px solid #7fa67f;
    padding:2px 40px;
    text-align:center;
    box-sizing:border-box;
    margin-bottom: 15px;
	font-size: 11px;
}

.rr-bg-white {
    background:#FFF;
    margin: 0 10px 0 10px !important;
}

/* Responsive table scrolling */

@media (max-width: 767px) {

    body .entry-content figure.wp-block-table.rr-table-scroll {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    body .entry-content figure.wp-block-table.rr-table-scroll table {
        width: 700px !important;
        min-width: 700px !important;
        max-width: none !important;
        table-layout: fixed !important;
    }
}

@media (max-width: 767px) {
    figure.rr-table-scroll table {
        min-width: 900px !important;
        width: 900px !important;
    }
}

@media (max-width: 767px) {
    html body .entry-content figure.wp-block-table.rr-table-scroll {
        overflow-x: scroll !important;
        overflow-y: hidden !important;
    }
}


/* ============================================================
   #3. GLOBAL HEADING SYSTEM (DESKTOP)
   ============================================================ */

h1 {
    font-size: 2.0rem;
    line-height: 1.25;
    font-weight: 700;
    color: #111;
}

h2 {
    font-size: 1.6rem;
    line-height: 1.3;
    font-weight: 700;
    color: #111;
}

h3 {
    font-size: 1.3rem;
    line-height: 1.35;
    font-weight: 700;
    color: #111;
}

h4 {
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 700;
    color: #111;
}

h5 {
    font-size: 1.05rem;
    line-height: 1.45;
    font-weight: 700;
    color: #111;
}

h6 {
    font-size: 1.0rem;
    line-height: 1.5;
    font-weight: 700;
    color: #111;
}

.entry-content h1 { font-size: 2.0rem; line-height: 1.25; }
.entry-content h2 { font-size: 1.6rem; line-height: 1.3; }
.entry-content h3 { font-size: 1.3rem; line-height: 1.35; }
.entry-content h4 { font-size: 1.15rem; line-height: 1.4; }
.entry-content h5 { font-size: 1.05rem; line-height: 1.4; }
.entry-content h6 { font-size: 1.0rem; line-height: 1.4; }

@media (max-width: 768px) {
    .entry-content h1 { font-size: 1.7rem; }
    .entry-content h2 { font-size: 1.4rem; }
    .entry-content h3 { font-size: 1.15rem; }
    .entry-content h4 { font-size: 1.0rem; }
    .entry-content h5 { font-size: 0.9rem; }
    .entry-content h6 { font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .entry-content h1 { font-size: 1.5rem; }
    .entry-content h2 { font-size: 1.2rem; }
    .entry-content h3 { font-size: 1.0rem; }
    .entry-content h4 { font-size: 0.9rem; }
    .entry-content h5 { font-size: 0.85rem; }
    .entry-content h6 { font-size: 0.8rem; }
}

/* ============================================================
   #4. GLOBAL TEXT ELEMENTS
   ============================================================ */

p {
    font-size: var(--rr-text-size);
    line-height: var(--rr-line-height);
}

ul,
li {
    font-size: var(--rr-text-size);
    line-height: var(--rr-line-height);
}

span {
    font-size: var(--rr-text-size);
    line-height: var(--rr-line-height);
}

strong,b {
    font-weight: 700;
}

/* Global link colour */
a {
    color: #6B9278;
}

/* Global link hover */
a:hover {
    color: #6B9278;
    text-decoration: underline;
}

/* Extra Typographic Elements */

/* Lead paragraph */
.rr-lead {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: var(--rr-line-height);
    margin-bottom: 2rem;
}

/* Quote block */
.rr-quote {
    border-left: 4px solid #5cb85c;
    padding-left: 1rem;
    font-style: italic;
    color: #555;
}

/* hide intro h2 */
.rr-intro-content > h2 {
  display: none;
}

.site-primary-header-wrap {
  overflow: visible !important;
}

header.entry-header h1 {
    padding-top: 0;
}

/* Red Rope – Site-wide H1 colour - test only */
h1 {
    color: #6B9278;
}
/* ASTRA – BLOG AND ARCHIVE HEADINGS */

/* Remove Astra's indentation from the archive description block */
.ast-archive-description {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Archive heading – all categories, tags, dates and authors */
.ast-archive-description .ast-archive-title {
    color: #6B9278 !important;
    padding-top: 1em !important;
    padding-left: 0 !important;
    margin-top: 0 !important;
}

/* Confirms on Region Pages - auto added */
.page-id-10  .entry-header,
.page-id-37  .entry-header,
.page-id-39  .entry-header,
.page-id-77  .entry-header,
.page-id-79  .entry-header,
.page-id-81  .entry-header,
.page-id-83  .entry-header,
.page-id-85  .entry-header,
.page-id-87  .entry-header,
.page-id-89  .entry-header,
.page-id-91  .entry-header,
.page-id-95  .entry-header,
.page-id-97  .entry-header,
.page-id-99  .entry-header,
.page-id-101 .entry-header {
    display: block !important;
}

/* Global content page rules (safe for Gutenberg) */

.page-content img,
.entry-content img {
    max-width: 100%;
    height: auto;
}

.page-content p,
.page-content ul,
.page-content ol {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* ==========================================================
   #5. BODY CONTENT LINKS ONLY
   ----------------------------------------------------------
   Scope:
   • Paragraphs
   • Lists
   • Tables
   • Blockquotes

   Excludes:
   • Navigation
   • Header
   • Footer
   • Buttons
   • Image links

   Behaviour:
   • Green by default
   • Purple when visited
   • Underlined at all times
   • Slightly heavier underline on hover/focus
   • Darker green when active
   ========================================================== */

/* ==========================================================
   BODY CONTENT LINKS ONLY
   ----------------------------------------------------------
   Scope:
   • Paragraphs
   • Lists
   • Tables
   • Blockquotes

   Excludes:
   • Buttons
   • Image links

   ========================================================== */


/* ----------------------------------------------------------
   DEFAULT LINK
   ---------------------------------------------------------- */

.entry-content blockquote a:not(.wp-block-button__link):not(:has(img)),
.entry-content li a:not(.wp-block-button__link):not(:has(img)),
.entry-content p a:not(.wp-block-button__link):not(:has(img)),
.entry-content td a:not(.wp-block-button__link):not(:has(img)) {

    color: var(--link-colour);

    text-decoration: underline;

    /* NORMAL UNDERLINE THICKNESS */
    text-decoration-thickness: 1.5px !important;

    text-underline-offset: 2px;

    transition:
        color .15s ease,
        text-decoration-thickness .15s ease;
}


/* ----------------------------------------------------------
   VISITED LINK
   ---------------------------------------------------------- */

.entry-content blockquote a:not(.wp-block-button__link):not(:has(img)):visited,
.entry-content li a:not(.wp-block-button__link):not(:has(img)):visited,
.entry-content p a:not(.wp-block-button__link):not(:has(img)):visited,
.entry-content td a:not(.wp-block-button__link):not(:has(img)):visited {

    color: var(--visited-colour);
}

/* stand alone blog image cureved corner */
.rounded-img {
    border: 0.5px solid #eaeaea;
    border-radius: 6px !important;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

/* ----------------------------------------------------------
   HOVER + FOCUS
   ---------------------------------------------------------- */

.entry-content blockquote a:not(.wp-block-button__link):not(:has(img)):hover,
.entry-content blockquote a:not(.wp-block-button__link):not(:has(img)):focus,
.entry-content li a:not(.wp-block-button__link):not(:has(img)):hover,
.entry-content li a:not(.wp-block-button__link):not(:has(img)):focus,
.entry-content p a:not(.wp-block-button__link):not(:has(img)):hover,
.entry-content p a:not(.wp-block-button__link):not(:has(img)):focus,
.entry-content td a:not(.wp-block-button__link):not(:has(img)):hover,
.entry-content td a:not(.wp-block-button__link):not(:has(img)):focus {

    /* HOVER UNDERLINE THICKNESS */
    text-decoration-thickness: 2px !important;
}


/* ----------------------------------------------------------
   ACTIVE (MOUSE DOWN)
   ---------------------------------------------------------- */

.entry-content blockquote a:not(.wp-block-button__link):not(:has(img)):active,
.entry-content li a:not(.wp-block-button__link):not(:has(img)):active,
.entry-content p a:not(.wp-block-button__link):not(:has(img)):active,
.entry-content td a:not(.wp-block-button__link):not(:has(img)):active {

    color: var(--active-colour);
}
/* ============================================================
   #5. ENTRY HEADER
   ============================================================ */

/* page title */
.ast-article-single .entry-header {
    display: block !important;
    margin-top: 2em;
}

/* small mobile */
@media (max-width: 600px) {
    .ast-article-single .entry-header,
    .ast-page-title,
    .ast-page-title .entry-title,
    .ast-page-title-wrap .entry-title {
        display: block !important;
        margin-bottom: 1rem !important;
    }
}
/* ============================================================
   #6. PAGE TITLE + BREADCRUMBS
   ============================================================ */

/* page title */
.ast-article-single .entry-header {
    display: block !important;
    margin-top: 2em;
}

/* breadcrumb container */
.ast-breadcrumbs-inner {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    padding: 0 12px;
    text-align: left;
    width: 100%;
}

/* breadcrumb trail */
.ast-breadcrumbs .trail-items {
    margin: 0;
    overflow: hidden;
    padding-left: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* breadcrumb items */
.ast-breadcrumbs .trail-item {
    display: inline;
}

/* breadcrumb text */
.ast-breadcrumbs .trail-items,
.ast-breadcrumbs .trail-items a,
.ast-breadcrumbs .trail-items span {
    color: #68746b !important; /* adjust breadcrumb colour here */
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400;
}

/* breadcrumb links */
.ast-breadcrumbs .trail-items a {
    text-decoration: none;
}
/* breadcrumb separators */
.ast-breadcrumbs .trail-items li::after {
    content: none !important;
}

.ast-breadcrumbs .trail-items .trail-item + .trail-item::before {
    color: #a5aea8; /* adjust separator colour here */
    content: "\f054" !important;
    display: inline-block;
    font-family: "Font Awesome 6 Free" !important;
    font-size: 7px;
    font-weight: 900;
    margin: 0 8px;
    vertical-align: middle;
}

/* current breadcrumb */
.ast-breadcrumbs .trail-end {
    display: inline-block;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
}

/* current breadcrumb text */
.ast-breadcrumbs .trail-end span {
    color: #8a928d !important;
}

/* breadcrumb hover */
.ast-breadcrumbs .trail-items a:hover {
    color: var(--rr-green-sec) !important;
    text-decoration: none;
}

/* ensure breadcrumb visibility */
.ast-breadcrumbs-wrapper * {
    opacity: 1 !important;
    position: relative;
    visibility: visible !important;
    z-index: 10;
}

/* mobile */
@media (max-width: 768px) {
    .ast-breadcrumbs-inner {
        max-width: 100%;
        padding: 0 12px;
    }
}

/* narrow mobile */
@media (max-width: 480px) {
    .ast-breadcrumbs-inner {
        padding: 0 8px;
    }
}

/* small mobile */
@media (max-width: 600px) {
    .ast-article-single .entry-header,
    .ast-page-title,
    .ast-page-title .entry-title,
    .ast-page-title-wrap .entry-title {
        display: block !important;
        margin-bottom: 1rem !important;
    }
}

/* ============================================================
   #7. RESPONSIVE HEADER FIX (works with simplified heading system)
   ============================================================ */

/* Hover grow rule — smoother + slower easing */
header .custom-logo-link img.custom-logo {
    display: inline-block !important;      /* THIS is the missing piece */
    will-change: transform !important;     /* forces GPU acceleration */
    transition: transform 0.8s ease-in-out !important;
    transform-origin: center center !important;
}

header .custom-logo-link:hover img.custom-logo {
    transform: scale(1.05) !important;
}

/* ============================================================
   HEADER – SITE TITLE AND TAGLINE
   ============================================================ */

/* Site title */
.site-title {
    display: block;
    font-size: 1.0625rem;       /* 17px at 16px root size */
    font-weight: normal;
    line-height: 1.2;
    margin: 0;
}

/* Site title link – remove hover effects */
.site-title a,
.site-title a:hover,
.site-title a:focus,
.site-title a:active {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: -0.04em;
    color: inherit;
    text-decoration: none;
    transition: none;
    transform: none;
}

/* Mobile title and tagline */
@media (max-width: 768px) {

    /* Logo */
    header .custom-logo-link img {
        width: 140px;
        max-width: 140px;
        height: auto;
        display: block;
    }

    /* Identity text container */
    .ast-site-title-wrap {
        max-width: 180px;
        min-width: 0;
    }

    /* Title wrapping */
    .site-title a {
        display: block;
        white-space: normal;
        overflow-wrap: normal;
        text-align: left;
    }

    /* Tagline wrapping */
    .site-description {
        display: block;
        white-space: normal;
        line-height: 1.2;
        max-width: 150px;
        text-align: left;
        overflow-wrap: break-word;
    }
}



/* ============================================================
   HEADER – GLOBAL LEFT SECTION WIDTH
   ============================================================ */
/*
.site-header-primary-section-left {
    min-width: 0 !important;
    max-width: 75% !important;
    box-sizing: border-box !important;
}

.site-header-primary-section-left .site-branding {
    min-width: 0 !important;
    max-width: 100% !important;
}

.site-header-primary-section-left .ast-site-title-wrap {
    min-width: 0 !important;
    max-width: 100% !important;
}*/



/* Regions page only override */
.page-id-10 #primary {
    margin: 0 !important;
}

/* gloabl rule needed */
body.page .ast-container,
body.page #primary {
    padding-top: 0 !important;
}

.ast-container > #primary {
    margin-top: 0 !important;
}

/* img fix where img-fluid not applied */
.rr_content-image img {
    width: 100%;
    height: auto;
}
/* ============================================================
   #8. BACKGROUND UTILITIES
   ============================================================ */

.bg-rr-red            { background-color: var(--rr-red); }
.bg-rr-green-primary  { background-color: var(--rr-green-prim); }
.bg-rr-green-secondary{ background-color: var(--rr-green-sec); }
.bg-rr-blue           { background-color: var(--rr-blue); }
.bg-rr-purple         { background-color: var(--rr-purple); }

.bg-rr-orange-secondary { background-color: var(--rr-orange-sec); }
.bg-rr-blue-secondary   { background-color: var(--rr-blue-sec); }
.bg-rr-gold-secondary   { background-color: var(--rr-gold-sec); }

/* ============================================================
   #9. COLOURS
   ============================================================ */

.entry-content a.rr-link-walking  { color: var(--rr-green-sec); font-weight: inherit; }
.entry-content a.rr-link-climbing { color: var(--rr-blue);      font-weight: inherit; }
.entry-content a.rr-link-diary    { color: var(--rr-green-sec); font-weight: inherit; }
.entry-content a.rr-link-national { color: var(--rr-red);       font-weight: inherit; }
.entry-content a.rr-link-reports  { color: var(--rr-purple);    font-weight: inherit; }
.entry-content a.rr-link-training { color: var(--rr-orange-sec);font-weight: inherit; }

/* Swatch */
.rr-swatch {
    display: inline-block;
    width: 2rem;
    height: 1rem;
    margin-left: 0.5rem;
    border-radius: 2px;
    border: 1px solid #ccc;
}

/* ============================================================
   #10. GLOBAL PAGE LINK BEHAVIOUR (EXCLUDES MAIN MENU)
   ============================================================ */

.entry-content a,
.site-main a,
.ast-container a:not(.menu-link),
.rr-bootstrap a {
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
    font-weight: inherit; /* essential */
}

/* PAGE HOVER: soft highlight on ALL links */
.entry-content:hover a:not(.menu-link),
.site-main:hover a:not(.menu-link),
.ast-container:hover a:not(.menu-link),
.rr-bootstrap:hover a:not(.menu-link),
.rr-table:hover a:not(.menu-link),
.entry-content table:hover a:not(.menu-link),
.site-main table:hover a:not(.menu-link),
.ast-container table:hover a:not(.menu-link),
.wp-block-table:hover a:not(.menu-link) {
    color: var(--rr-green-sec);
    opacity: 0.85; /* softens the cue */
    transition: color 0.2s ease, opacity 0.2s ease; /* essential */
}

/* DIRECT LINK HOVER: underline + stronger cue */
.entry-content a:hover:not(.menu-link),
.site-main a:hover:not(.menu-link),
.ast-container a:hover:not(.menu-link),
.rr-bootstrap a:hover:not(.menu-link),
.rr-table a:hover:not(.menu-link),
.wp-block-table a:hover:not(.menu-link) {
    text-decoration: underline;
    color: var(--rr-green-sec);
    opacity: 1; /* stronger cue */
}

/* ============================================================
   #11. RR-BOOTSTRAP — GLOBAL CONTENT Positioning
   ============================================================ */

/* SECTION SPACING */
.rr-bootstrap .rr-section,
.rr-bootstrap .row {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

/* BYPASS: remove top margin from the FIRST block only */
.rr-bootstrap > .rr-section:first-of-type,
.rr-bootstrap > .row:first-of-type {
    margin-top: 0 !important;
}

/* PARAGRAPH RHYTHM — readable spacing */
.rr-bootstrap p {
    margin-bottom: 1.25rem;
    line-height: 1.55;
}

/* LIST SPACING — bullets not glued together */
.rr-bootstrap ul {
    margin-bottom: 1.5rem;
}

/* HEADINGS — subtle highlight bar */
.rr-bootstrap h1,
.rr-bootstrap h2,
.rr-bootstrap h3,
.rr-bootstrap h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: .35rem;
}

/* FIGURES — spacing + alignment */
.rr-bootstrap figure {
    margin-bottom: 1.75rem;
}

/* IMAGES — consistent behaviour */
.rr-bootstrap figure img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* ============================================================
   #12. RESPONSIVE IMAGES + FIGURE / CAPTION
   ============================================================ */

.rr-bootstrap .img-fluid,
.rr-bootstrap .img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Image AND caption centered */
@media (max-width: 600px) {
    .rr-content-image figcaption {
        text-align: center !important;
    }
}

.rr-content-image figcaption,
.caption {
    font-size: 14px;
    color: #777;
    margin-top: 8px;
    text-align: center;
    font-style: italic;
}

/* blog post images only - thin aspect ratio */
.rr-img-natural {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
}


/* overrides for default blog image - where user didnt add one */
.ast-no-thumb .ast-blog-featured-section {
    display: block !important;
}

.ast-blog-featured-section.post-thumb {
    display: block !important;
}

.ast-blog-featured-section.post-thumb {
    display: block;
}

/* Make Astra's thumbnail container behave like a normal featured image */
.ast-blog-featured-section.post-thumb {
    width: 100% !important;
    height: auto !important;
    min-height: 180px !important; /* or whatever height you want */
    display: block !important;
    overflow: hidden !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 0 1rem 0 !important; /* match Astra spacing */
}

.ast-blog-featured-section.post-thumb img.rr-default-thumb {
    width: 100% !important;
    height: 190px !important;
    /*object-fit: cover !important;*/
    display: block !important;
}


/* Curved corners on the thumbnail container (matches global 6px) */
.ast-blog-featured-section.post-thumb {
    border-radius: 6px !important;
    overflow: hidden !important; /* ensures the image follows the curve */
}

/* Curved corners on the fallback image */
img.rr-default-thumb {
    border-radius: 6px !important;
    width: 100% !important;
    height: 180px !important; /* or whatever height you want */
    object-fit: cover !important;
    display: block !important;
}

@media (max-width: 600px) {

    /* Native Astra thumbnails */
    .post-thumb-img-content img.wp-post-image {
        height: auto !important;
        max-width: 100% !important;
        min-height: 0 !important;
        width: 100% !important;
    }

    /* Fallback thumbnail */
    .ast-blog-featured-section.post-thumb img.rr-default-thumb {
        height: auto !important;
        max-width: 100% !important;
        min-height: 0 !important;
        object-fit: cover !important;
        width: 100% !important;
    }
}

img.attachment-large.size-large.wp-post-image {
    border-radius: 6px !important;
    border: 1px solid #555 !important;
}

/* ============================================================
   #13. TEXT HEADING
   ============================================================ */

/* Your simple H1 override */
.entry-content h1.rr-alt-title {
    font-size: 1.4rem;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

/* Section titles */
.entry-content h2.rr-section-title {
    font-size: 1.6rem;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: .75rem;
    color: #333;
    padding-bottom: .35rem;
}

img.rr-card-logo {
    max-width: 150px !important;
}

/* Card titles */
.entry-content h3.rr-card-title {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: .5rem;
    color: #333;
}

/* Subheadings */
.entry-content h4.rr-sub-title {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: .5rem;
    color: #444;
}

/* Muted headings */
.entry-content h4.rr-muted-title {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 500;
    color: #777;
    margin-bottom: .5rem;
}

/* ============================================================
   #14. RR Coordinator / People Card (Governance Colour)
   ============================================================ */
 .rr-people-card {
    background: var(--rr-governance);
    border-left: 4px solid #3B7EA1;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 500px;
    min-height: 95px;
    padding: 12px 12px;
}

.rr-people-card .rr-card-inner {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.rr-people-card .rr-card-title {
    color: #4A5C7A;
    font-size: 1.0rem;
    font-weight: 700;
    margin-bottom: 3px;
    margin-top: 0 !important;        /* top margin finally removed */
    padding-top: 0 !important;       /* padding removed */
}

.rr-people-card .rr-card-title i {
    color: #4A5C7A;
    font-size: 0.85em;
    margin-right: 4px;
}

.rr-people-card .rr-card-name {
    color: #2F3A4A;
    font-size: 0.88rem;
    margin-bottom: 5px;
}

.rr-people-card .rr-card-role {
    color: #4A5C7A;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.rr-people-card .rr-card-role strong {
    color: #2F3A4A;
    font-weight: 700;
}

.rr-people-card .rr-card-email {
    color: #2F3A4A;
    font-size: 0.78rem;
    margin-bottom: 3px;
}

.rr-people-card .rr-card-email i {
    color: #4A5C7A;
    font-size: 0.65rem;
    margin-right: 4px;
}

.rr-people-card .rr-card-email strong {
    color: #2F3A4A;
    font-weight: 700;
}

.rr-people-card .rr-card-phone {
    color: #2F3A4A;
    font-size: 0.78rem;
    margin-bottom: 3px;
}

.rr-people-card .rr-card-phone i {
    color: #4A5C7A;
    font-size: 0.65rem;
    margin-right: 4px;
}

.rr-people-card .rr-card-phone strong {
    color: #2F3A4A;
    font-weight: 700;
}

.rr-custom-card-col {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Mobile only — allow long email addresses / URLs to wrap */

@media (max-width: 768px) {

    .rr-people-card {
        padding: 1rem;
        margin-bottom: 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    .rr-people-card .rr-card-inner {
        padding: 0;
    }

    .rr-people-card .rr-card-title {
        font-size: 1.25rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .rr-people-card .rr-card-role,
    .rr-people-card .rr-card-name,
    .rr-people-card .rr-card-email,
    .rr-people-card .rr-card-phone {
        font-size: 0.95rem;
        font-weight: 400;
        line-height: 1.35;
    }

    /* Email: stay on one line where possible,
       but allow wrapping if the screen is too narrow. */
    .rr-people-card .rr-card-email {
        min-width: 0;
    }

    .rr-people-card .rr-card-email a {
        overflow-wrap: anywhere;
    }

}

/* AGM Minutes */

/* ============================================================
   COMMITTEE MINUTES – DOCUMENT LINKS
   ============================================================ */

.rr-minutes-list {
    padding-left: 1.4rem;
    margin-bottom: 1.5rem;
}

.rr-minutes-list li {
    margin-bottom: 0.65rem;
    line-height: 1.55;
}

.rr-minutes-list ul {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.rr-minutes-list .rr-file-link {
    text-decoration: none;
}

.rr-minutes-list .rr-file-link:hover {
    text-decoration: underline;
}

.rr-minutes-list .rr-file-link i {
    margin-right: 0.35rem;
}

.rr-minutes-list .rr-file-pdf i {
    color: #c43b35;
}

.rr-minutes-list .rr-file-word i {
    color: #2867a8;
}

.rr-minutes-list .rr-file-zip i {
    color: #777;
}

/* ============================================================
   COMMITTEE MINUTES – FIXED YEAR NAVIGATION ROWS
   ============================================================ */

.rr-minutes-nav {
    margin: 1.25rem 0 2rem;
    padding: 0.85rem 1rem;
    background: #f3f7f3;
    border: 1px solid #dce8dd;
    border-left: 4px solid #8fb996;
    border-radius: 5px;
}

.rr-minutes-nav-label {
    display: block;
    margin-bottom: 0.6rem;
    color: #263b32;
    font-size: 0.95rem;
    font-weight: 700;
}

.rr-minutes-nav-row {
    display: block;
    width: 100%;
    white-space: nowrap;
    margin-bottom: 0.35rem;
}

.rr-minutes-nav-row:last-child {
    margin-bottom: 0;
}

.rr-minutes-nav-row a {
    display: inline-block;
    box-sizing: border-box;
    width: 9.5%;
    margin-right: 0.4%;
    padding: 0.3rem 0.1rem;
    text-align: center;
    color: #356447 !important;
    background: #fff;
    border: 1px solid #dce8dd;
    border-radius: 3px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
}

.rr-minutes-nav-row a:last-child {
    margin-right: 0;
}

.rr-minutes-nav-row a:hover,
.rr-minutes-nav-row a:focus {
    color: #fff !important;
    background: #52765b;
    border-color: #52765b;
}

.rr-minutes-year {
    scroll-margin-top: 100px;
}

/* Smaller screens */
@media (max-width: 540px) {
    .rr-minutes-nav-row {
        white-space: normal;
    }

    .rr-minutes-nav-row a {
        width: 18%;
        margin-right: 1%;
        margin-bottom: 0.25rem;
    }
}



/* ============================================================
   COMMITTEE MINUTES – YEAR NAVIGATION
   ============================================================ */

.rr-minutes-nav {
    margin: 1.25rem 0 2rem;
    padding: 0.85rem 1rem;
    background: #f3f7f3;
    border: 1px solid #dce8dd;
    border-left: 4px solid #8fb996;
    border-radius: 5px;
}

.rr-minutes-nav-label {
    display: block;
    margin-bottom: 0.65rem;
    color: #263b32;
    font-size: 0.95rem;
    font-weight: 700;
}

.rr-minutes-nav-links {
    display: grid !important;
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    gap: 5px;
}

.rr-minutes-nav-links a {
    display: block !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 5px 2px;
    box-sizing: border-box;
    text-align: center;
    color: #356447 !important;
    background: #fff !important;
    border: 1px solid #dce8dd;
    border-radius: 3px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
}

.rr-minutes-nav-links a:hover {
    color: #fff !important;
    background: #52765b !important;
    border-color: #52765b;
}

.rr-minutes-year {
    scroll-margin-top: 100px;
}


/* ============================================================
   COMMITTEE MINUTES – NATIVE GUTENBERG YEAR BUTTONS
   ============================================================ */

.rr-minutes-year-table {
    margin: 0 0 2rem;
}

.rr-minutes-year-table table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate !important;
    border-spacing: 4px;
    border: 0 !important;
}

.rr-minutes-year-table td {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center;
}

.rr-minutes-year-table td a {
    display: block;
    box-sizing: border-box;
    padding: 5px 1px;
    color: #356447 !important;
    background: #f3f7f3;
    border: 1px solid #dce8dd;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.rr-minutes-year-table td a:hover,
.rr-minutes-year-table td a:focus {
    color: #fff !important;
    background: #52765b;
    border-color: #52765b;
}

/* Keep destination headings clear of sticky header */
.rr-minutes-year {
    scroll-margin-top: 100px;
}
/* ============================================================
   COMMITTEE MINUTES – YEAR NAVIGATION
   ============================================================ */

.rr-minutes-nav {
    margin: 1.75rem 0 2.5rem;
    padding: 1.25rem 1.4rem 1.4rem;
    background: #f3f7f3;
    border: 1px solid #dce8dd;
    border-left: 5px solid #8fb996;
    border-radius: 6px;
}

.rr-minutes-nav-label {
    display: block;
    margin-bottom: 1rem;
    color: #263b32;
    font-size: 1.05rem;
    font-weight: 700;
}

/* Ten equal columns on desktop */
.rr-minutes-nav .rr-minutes-nav-links {
    display: grid !important;
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    gap: 0.55rem;
}

/* Individual year buttons */
.rr-minutes-nav .rr-minutes-nav-links a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.4rem 0.25rem;
    color: #356447 !important;
    background: #fff !important;
    border: 1px solid #cbdccc;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.rr-minutes-nav .rr-minutes-nav-links a:hover,
.rr-minutes-nav .rr-minutes-nav-links a:focus {
    color: #fff !important;
    background: #52765b !important;
    border-color: #52765b;
    text-decoration: none !important;
}

/* Tablet: six buttons per row */
@media (max-width: 900px) {
    .rr-minutes-nav .rr-minutes-nav-links {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }
}

/* Mobile: four buttons per row */
@media (max-width: 540px) {
    .rr-minutes-nav {
        padding: 1rem;
        margin: 1.25rem 0 2rem;
    }

    .rr-minutes-nav .rr-minutes-nav-links {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 0.5rem;
    }

    .rr-minutes-nav .rr-minutes-nav-links a {
        min-height: 42px;
        font-size: 0.95rem;
    }
}

/* Very narrow phones: three buttons per row */
@media (max-width: 360px) {
    .rr-minutes-nav .rr-minutes-nav-links {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
/* Keep destination headings clear of a sticky header */
.rr-minutes-year {
    scroll-margin-top: 100px;
}

/* Tablet: 6 buttons per row */
@media (max-width: 900px) {
    .rr-minutes-nav-links {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* Mobile: 4 buttons per row */
@media (max-width: 540px) {
    .rr-minutes-nav {
        padding: 1rem;
        margin: 1.25rem 0 2rem;
    }

    .rr-minutes-nav-links {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .rr-minutes-nav-links a {
        min-height: 42px;
        font-size: 0.95rem;
    }
}

/* Very narrow phones: 3 buttons per row */
@media (max-width: 360px) {
    .rr-minutes-nav-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ============================================================
   COMMITTEE MINUTES – YEAR HEADINGS
   ============================================================ */

.entry-content h2.wp-block-heading {
    /* No global change here */
}

.entry-content h2.wp-block-heading:has(+ .rr-minutes-list) {
    position: relative;
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    color: #263b32;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    border-bottom: 2px solid #dce8dd;
}

.entry-content h2.wp-block-heading:has(+ .rr-minutes-list)::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 65px;
    height: 3px;
    background: #8fb996;
}

/* ============================================================
   #15 Layout Adjustments
   ============================================================ */

/* Astra applies margin-top to #primary with high specificity.
   This override genuinely requires !important to win. */
@media (min-width: 1200px) {
    .ast-plain-container.ast-no-sidebar #primary {
        margin-top: 0 !important; /* justified */
    }
}

/* Fixed image sizing — no competing rules, !important removed */
.rr-fixed-img {
    width: 300px;
    height: 225px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/* Center content inside fixed columns — unchanged */
.rr-fixed-col {
    /*display: flex;*/
    justify-content: center;
    align-items: center;
}

/* ============================================================
   #16. LIST ITEMS AND BULLETS
   ============================================================ */

/* ============================================================
   TYPE A — rr-list (ICON + TEXT FLEX LISTS)
   Used for:
   - Membership benefits   - Feature lists   - Top UL icon rows
   - Activity page boot bullet   - Social icon bullets
============================================================ */

/* rr-list — SECOND occurrence */
.rr-list {
    list-style: none;
    margin: 30px 0;
    margin-top: 1rem;
    padding: 0;
}

.rr-list li {
    align-items: center;
    display: flex;
    gap: 20px;
    list-style: none;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Icon circle */
.rr-list li i {
    align-items: center;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 58px;
    font-size: 1.4rem;
    height: 58px;
    justify-content: center;
    width: 58px;
}

/* Default icon colour only when no utility class is present */
.rr-list li i:not([class*="rr-icon-"]) {
    color: #fff;
}

/* JOIN PAGE BULLET */
.rr-list-join li {
    list-style: none;
}

.rr-list-join li i.rr-bullet {
    display: inline-block;
    margin-right: 16px;
    font-size: 1.0em;
    vertical-align: middle !important;
    color: inherit;
    /*padding-top: 15px;*/ /* no pad required Join page sample only */
}


/* Social bullets */
.rr-bullet-social {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rr-bullet-social li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: .35rem;
}

/* ============================================================
RR TEXT BULLET LISTS
These use ::before icons, not <i> icon circles
============================================================ */

.rr-list.rr-bullet-safety li,
.rr-list.rr-bullet-docs li,
.rr-list.rr-bullet-kit li,
.rr-list.rr-bullet-roles li,
.rr-list.rr-bullet-finance li,
.rr-list.rr-bullet-care li,
.rr-list.rr-bullet-food li,
.rr-bullet-route li,
.rr-bullet-roles li,
.rr-list.rr-bullet-docs li,
.rr-list.rr-bullet-safety li {
    align-items: flex-start;
    padding-left: 2rem;
}

/* icon positioning */
.rr-list.rr-bullet-safety li::before,
.rr-list.rr-bullet-docs li::before,
.rr-list.rr-bullet-kit li::before,
.rr-list.rr-bullet-roles li::before,
.rr-list.rr-bullet-finance li::before,
.rr-list.rr-bullet-care li::before,
.rr-list.rr-bullet-food li::before,
.rr-bullet-route li::before,
.rr-bullet-roles li::before,
.rr-list.rr-bullet-docs li::before,
.rr-list.rr-bullet-safety li::before {
    left: 0;
    top: 0.1em;
}

/* Colour applies to the actual Font Awesome glyph (::before).
   These classes do not create boxes or alter icon layout.*/

.rr-icon-red::before {
    color: var(--rr-red) !important;
}

.rr-icon-green::before {
    color: var(--rr-green-sec) !important;
}

.rr-icon-blue::before {
    color: var(--rr-blue) !important;
}

.rr-icon-purple::before {
    color: var(--rr-purple) !important;
}


/* ============================================================
   TYPE B — rr-bullet (STANDARD INLINE BULLETS) - May need Astra Override
   Used for:
   - Normal content lists
   - Editor-friendly simple bullets
   - Colour variants
============================================================ */

.rr-bullet {
    color: inherit;
    font-size: 0.9em;
    line-height: 1.2;
    margin-right: 16px;
    vertical-align: middle;
}

.rr-bullet li {
    list-style: none;
    position: relative;
    padding-left: 1.6em;
}

/* BULLET BASE */
ul.rr-bullet li {
    position: relative;
    padding-left: 1.75rem;
}

ul.rr-bullet li::before {
    margin-right: 1.2rem;
    position: absolute;
    left: 0;
    top: 0; /* baseline */
}

/* ICON BASE */
ul.rr-icon {
    list-style: none;      
    padding-left: 1rem !important;
}

ul.rr-icon li {
    position: relative;
    padding-left: 1.75rem;
}

ul.rr-icon li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    /* no content here — icon types define content */
}

/* BLUE */
ul.rr-bullet.rr-bullet-blue li::before {
    color: #2980B9;
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    left: 0;
    position: absolute;
    top: 0;
}

/* GREEN — already fixed */
ul.rr-bullet.rr-bullet-green li::before {
    color: #6B9278;
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    left: 0;
    position: absolute;
    top: 0;
}

/* GREY */
ul.rr-bullet.rr-bullet-grey li::before {
    color: #7f8c8d;
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    left: 0;
    position: absolute;
    top: 0;
}

/* ORANGE */
ul.rr-bullet.rr-bullet-orange li::before {
    color: #e67e22;
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    left: 0;
    position: absolute;
    top: 0;
}

/* PURPLE */ /* used on About page */
ul.rr-bullet.rr-bullet-purple li::before {
    color: #8e44ad;
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    left: 0;
    position: absolute;
    top: 0;
}

/* RED */
ul.rr-bullet.rr-bullet-red li::before {
    color: #c0392b;
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    left: 0;
    position: absolute;
    top: 6px;
}

/* Red Rope discussion list bullets */
ul.rr-bullet-discussion {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

ul.rr-bullet-discussion li {
    list-style: none !important;
    position: relative;
    padding-left: 2em !important;
}

ul.rr-bullet-discussion li::before {
    content: "\f086";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0.1em;
    color: #43845c;
}

/* MOBILE FIX */
@media (max-width: 600px) {
    .rr-bullet li {
        padding-left: 1.4em;
    }
    .rr-bullet li::before {
        top: 4px;
    }
}

/* ============================================================
   TYPE C — SEMANTIC BULLETS
   Used for:
   - Checklists - Event lists - Navigation lists - Finance lists
   - Food lists - Care/safeguarding lists - Roles/people lists
   - Doc download lists
============================================================ */

/* Neutral FA bullets */
.rr-bullet-default li::before {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: inherit;
    position: absolute;
    left: 0;
    top: 6px;
}

.rr-bullet-safety li::before {
    content: "\f071";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #e67e22;
    position: absolute;
    left: 0;
    top: 6px;
}

.rr-bullet-docs li::before {
    content: "\f56d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #2980B9;
    position: absolute;
    left: 0;
    top: 6px;
}

.rr-bullet-kit li::before {
    content: "\f0c8";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #7f8c8d;
    position: absolute;
    left: 0;
    top: 6px;
}

.rr-bullet-roles li::before {
    content: "\f2bd";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #8e44ad;
    position: absolute;
    left: 0;
    top: 6px;
}

.rr-bullet-food li::before {
    content: "\f805";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #27ae60;
    position: absolute;
    left: 0;
    top: 6px;
}

.rr-bullet-care li::before {
    content: "\f004";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #c0392b;
    position: absolute;
    left: 0;
    top: 6px;
}

.rr-bullet-finance li::before {
    content: "\f154";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #16a085;
    position: absolute;
    left: 0;
    top: 6px;
}

.rr-bullet-route li::before {
    content: "\f124";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #2980B9;
    position: absolute;
    left: 0;
    top: 6px;
}

.rr-bullet-check li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #6B9278;
    position: absolute;
    left: 0;
    top: 6px;
}

.rr-bullet-info li::before {
    content: "\f05a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #2980B9;
    position: absolute;
    left: 0;
    top: 6px;
}

.rr-bullet-important li::before {
    content: "\f06a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #e74c3c;
    position: absolute;
    left: 0;
    top: 6px;
}

/* Checkmark bullets */
ul.rr-list-check {
    list-style: none;
    margin-bottom: 1.75rem;
    padding-left: 0;
}

ul.rr-list-check li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.85rem;
    line-height: 1.55;
}

ul.rr-list-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 1rem;
    color: #6B9278;
}

.fa-ul ul.rr-list-check li::before,
body ul.rr-list-check li::before {
    font-family: "Font Awesome 5 Free","Font Awesome 6 Free",sans-serif;
    font-weight: 900;
    content: "\f00c";
}

/* Event star bullet */
.rr-bullet-event {
    list-style: none;
    padding-left: 0;
}

.rr-bullet-event li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.45rem;
}

.rr-bullet-event li::before {
    content: "\f005";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #f1c40f;
    position: absolute;
    left: 0;
    top: 6px;
}

/* Document bullets */
.rr-bullet-pdf {
    list-style: none;
    padding-left: 0;
}

.rr-bullet-pdf li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.45rem;
}

.rr-bullet-pdf li::before {
    content: "\f1c1";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #c0392b;
    position: absolute;
    left: 0;
    top: 6px;
}

.rr-bullet-docx {
    list-style: none;
    padding-left: 0;
}

.rr-bullet-docx li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.45rem;
}

.rr-bullet-docx li::before {
    content: "\f1c2";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #2980B9;
    position: absolute;
    left: 0;
    top: 6px;
}

/* ============================================================
   TYPE D — SVG DOT BULLETS
   Used for:
   - Clean, modern dot bullets
   - Solid or outline variants
============================================================ */

.rr-bullet-svg-solid li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 0.55rem;
    height: 0.55rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<circle cx='12' cy='12' r='10' fill='%236B9278'/>\
</svg>");
}

.rr-bullet-svg-outline li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 0.55rem;
    height: 0.55rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<circle cx='12' cy='12' r='10' fill='none' stroke='%236B9278' stroke-width='3'/>\
</svg>");
}

/* ============================================================
   TYPE E — LEGACY / OFF‑TARGET / DUPLICATES
   Includes:
   - Stray UL resets   - Old FA5/FA6 mixed rules
============================================================ */

/* ============================================================
   RR ICON WRAPPER
   ------------------------------------------------------------
   The wrapper is the circular coloured disk.
   The Font Awesome <i> inside it is the white glyph.
============================================================ */

.rr-icon-wrap {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* Font Awesome glyph inside the disk */

.rr-icon-wrap i {
    display: block;

    width: auto;
    height: auto;
    flex: 0 0 auto;

    margin: 0;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;

    color: #fff;

    font-size: 1.4rem;
    line-height: 1;
}


/* HOMEPAGE MEMBERSHIP ICON DISKS */

.rr-list.rr-list-membership li:nth-child(1) .rr-icon-wrap {
    background: var(--rr-red);
}

.rr-list.rr-list-membership li:nth-child(2) .rr-icon-wrap {
    background: var(--rr-green-sec);
}

.rr-list.rr-list-membership li:nth-child(3) .rr-icon-wrap {
    background: var(--rr-blue);
}

.rr-list.rr-list-membership li:nth-child(4) .rr-icon-wrap {
    background: var(--rr-purple);
}


/* MEMBERSHIP LIST LAYOUT */

.rr-list.rr-list-membership > li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 0;
}

ul.rr-list-join.rr-list-membership li {
    padding-bottom: 0.5em; /* increase space between icons */
}

/* MOBILE */

@media (max-width: 600px) {

    .rr-list.rr-list-membership .rr-icon-wrap {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;

        align-items: center;
        justify-content: center;

        margin: 0;
        padding: 0;
    }

    .rr-list.rr-list-membership .rr-icon-wrap i {
        width: auto;
        height: auto;
        flex: 0 0 auto;

        color: #fff;
        background: transparent;

        font-size: 1.4rem;
    }

    .rr-list.rr-list-membership > li {
        align-items: center;
        gap: 16px;
        padding-left: 0;
    }
}

/* FA5/FA6 MIXED RULES */
.fa-ul .rr-bullet li::before {
    font-family: "Font Awesome 5 Free","Font Awesome 6 Free",sans-serif;
    font-weight: 900;
}

.fa-ul .rr-bullet-check li::before {
    font-family: "Font Awesome 5 Free","Font Awesome 6 Free",sans-serif;
    font-weight: 900;
    content: "\f00c";
}

/* PURPLE OVERRIDE (not part of main colour set) */
.rr-bullet-purple li::before {
    color: #9b59b6;
}

/* GREEN OVERRIDE (not part of main colour set) */
.rr-bullet-green li::before {
    color: #6B9278;
}

/* GREEN INLINE ICONS */
.rr-icon-green {
    color: #6B9278;
}

/* SOCIAL BULLETS (incomplete rules) */
.rr-bullet-social-fb li::before {
    content: "\f09a";
    font-family: "Font Awesome 6 Brands";
    font-weight: 900;
    color: #3b5998;
    position: absolute;
    left: 0;
    top: 6px;
}

.rr-bullet-social-bsky li::before {
    content: "\e07b";
    font-family: "Font Awesome 6 Brands";
    font-weight: 900;
    color: #1185fe;
    position: absolute;
    left: 0;
    top: 6px;
}

.rr-bullet-social-ig li::before {
    content: "\f16d";
    font-family: "Font Awesome 6 Brands";
    font-weight: 900;
    color: #e4405f;
    position: absolute;
    left: 0;
    top: 6px;
}

/* EVENT STAR OVERRIDE */
.rr-bullet-event li::before {
    color: #f1c40f;
}

/* STRAY PDF/DOCX OVERRIDES */
.rr-bullet-pdf li::before {
    color: #c0392b;
}

.rr-bullet-docx li::before {
    color: #2980B9;
}

/* Card on About */

.affiliation-cta {
    background: #f7f7f7;                       /* official grey */
    border: 1px solid #e3e3e3;                 /* subtle frame */
    border-left: 4px solid var(--rr-purple);   /* ★ brand accent */
    padding: 0.9rem 1.1rem;
    border-radius: 6px;
    margin-top: 1.2rem;
    max-width: 480px;                          /* prevents full-width emptiness */
}

.affiliation-cta p {
    margin: 0.35rem 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    line-height: 1.45;
}

.affiliation-cta span {
    color: var(--rr-purple);
    font-size: 1rem;
}

.affiliation-cta a {
    font-weight: 600;
    color: #2980B9;
    text-decoration: none;
}

.affiliation-cta a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .affiliation-cta {
        padding: 1rem;                     /* more breathing room */
        max-width: 100%;                   /* allow full width on mobile */
    }

    .affiliation-cta p {
        flex-wrap: wrap;                   /* stops icon/text squashing */
        gap: 0.6rem;                       /* slightly bigger gap */
        line-height: 1.55;                 /* improves readability */
    }

    .affiliation-cta span {
        font-size: 1.1rem;                 /* icon scales slightly */
        flex-shrink: 0;                    /* icon never compresses */
    }
}

/* ----------------------------------------------------
   #17. Top Toolbar (Time/Online Count)
   ---------------------------------------------------- */
/* top toolbar — base */
.rr-top-bar {
  align-items: center;
  background-color: #8FB996;
  color: #ffffff;
  display: flex;
  font-size: 14px;
  letter-spacing: 0.3px;
  min-height: 36px;
  padding: 4px 12px;
  width: 100%;
}

/* top toolbar font */
.rr-top-bar-item,
.rr-top-bar-item * {
  font-size: 14px !important;
  line-height: 1.2;
}

/* top toolbar layout */
.rr-top-bar-inner {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 180px 200px minmax(250px, 1fr) 110px;
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}

/* top toolbar message container */
#rr-top-bar-message {
  align-items: center;
  display: contents;
}


/* icon styling */

/* all icons */
.rr-top-bar-inner i {
  color: #c94f16; /* tweak icon colour here */
  display: inline-block;
  flex-shrink: 0;
  font-size: 18px; /* tweak icon size here */
  height: 18px;
  line-height: 18px; /* tweak icon vertical alignment here */
}

/* time */
.rr-top-time {
  align-items: center;
  display: flex;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* clock icon spacing */
.rr-top-time i {
  margin-right: 4px; /* tweak clock-to-text spacing here */
}

/* status */
.rr-top-status {
  align-items: center;
  display: flex;
  gap: 7px; /* tweak status icon-to-text spacing here */
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

/* status text */
.rr-top-status-text {
  line-height: 18px; /* tweak text vertical alignment here */
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* news / event */
.rr-top-news {
  align-items: center;
  display: flex;
  gap: 0;
  line-height: 18px;
  min-width: 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

/* news / event icon */
.rr-top-news > i {
  background-color: #8FB996;
  color: #c94f16; /* tweak megaphone colour here */
  flex-shrink: 0;
  font-size: 18px;
  height: 18px;
  line-height: 18px;
  padding-right: 5px; /* tweak megaphone-to-ticker spacing here */
  position: relative;
  width: 23px;
  z-index: 10;
}

/* news / event text */
.rr-top-news-text {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px !important; /* tweak ticker size here */
  font-weight: 400;
  letter-spacing: 0.1px;
  line-height: 18px; /* tweak ticker vertical alignment here */
  min-width: max-content;
  overflow: visible;
  position: relative;
  text-rendering: optimizeLegibility;
  white-space: nowrap;
  z-index: 1;
}

/* news / event links */
.rr-top-news-text a {
  text-decoration: none;
  color:#DDD !important;
}

.rr-top-news-text a:hover {
  text-decoration: underline;
  color:#FFF !important;
}

/* portrait mobile — maximise news ticker */
@media (max-width: 480px) {

    /* hide clock and status */
    .rr-top-time,
    .rr-top-status {
        display: none !important;
    }

    /* two-column layout: ticker + users */
    .rr-top-bar-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .rr-top-news {
        grid-column: 1;
        min-width: 0;
    }

    .rr-top-online {
        grid-column: 2;
        white-space: nowrap;
    }
}

/* online users */
.rr-top-online {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  overflow: hidden;
  padding-right: 3px; /* tweak right-hand user spacing here */
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* users icon spacing */
.rr-top-online i {
  margin-right: 3px; /* tweak users-icon-to-text spacing here */
}


/* mobile */

@media (max-width: 768px) {

  /* mobile toolbar */
  .rr-top-bar {
    min-height: 34px;
    padding: 5px 8px;
  }

  /* mobile font */
  .rr-top-bar-item,
  .rr-top-bar-item * {
    font-size: 13px !important;
  }

  /* mobile layout */
  .rr-top-bar-inner {
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    max-width: none;
    overflow: hidden;
  }

  /* mobile icons */
  .rr-top-bar-inner i {
    color: #c94f16; /* tweak mobile icon colour here */
    font-size: 16px;
    height: 16px;
    line-height: 16px;
  }

  /* mobile clock */
  .rr-top-time {
    grid-column: 1;
    white-space: nowrap;
  }

  /* mobile clock spacing */
  .rr-top-time i {
    margin-right: 4px; /* tweak mobile clock spacing here */
  }

  /* hide status */
  .rr-top-status {
    display: none !important;
  }

  /* mobile news / event */
  .rr-top-news {
    grid-column: 2;
    min-width: 0;
  }

  /* mobile news / event icon */
  .rr-top-news > i {
    background-color: #8FB996;
    color: #c94f16; /* tweak mobile megaphone colour here */
    font-size: 16px;
    height: 16px;
    line-height: 16px;
    padding-right: 5px; /* tweak mobile megaphone spacing here */
    width: 21px;
  }

  /* mobile news / event text */
  .rr-top-news-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px !important;
    font-weight: 400;
    letter-spacing: 0.1px;
    line-height: 16px;
    min-width: max-content;
  }

  /* mobile online users */
  .rr-top-online {
    grid-column: 3;
    padding-right: 3px; /* tweak mobile right spacing here */
    white-space: nowrap;
  }

  /* mobile users icon */
  .rr-top-online i {
    margin-right: 3px; /* tweak mobile users spacing here */
  }
}


/* small mobile */

@media (max-width: 480px) {

  /* small mobile toolbar */
  .rr-top-bar {
    padding: 5px 6px;
  }

  /* small mobile layout */
  .rr-top-bar-inner {
    gap: 6px;
  }
}

/* ----------------------------------------------------
   #18. STRAPLINE — FULL RESPONSIVE SCALING
   ---------------------------------------------------- */
.site-title,
.site-description {
  letter-spacing: 0;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-branding {
    text-align: left !important;
}

/* STRAP LINE — stop ALL link behaviour */
.ast-site-identity .site-title a,
.ast-site-identity .site-title a:hover {
    text-decoration: none !important;
    color: #888 !important;
}

.ast-site-identity .site-title:hover {
    text-decoration: none !important;
    color: #888 !important;
    font-weight: 700 !important;
}

/* STRAP LINE — final override */
.ast-container .ast-site-identity .site-title a,
.ast-container .ast-site-identity .site-title a:hover {
    color: #888 !important;
    text-decoration: none !important;
}

/* Force Bootstrap 4 row + columns to behave normally *//*
.rr-section .row {
    display: flex;
    flex-wrap: wrap;
}*/

/* Restore BS4 gutter spacing *//*
.rr-section .row {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.rr-section .col-md-3 {
    padding-left: 15px !important;
    padding-right: 15px !important;
}
*/

/* DESKTOP: force left alignment (override text-center) */
.rr-section .rr-card {
    text-align: left !important;
}

.rr-card.rr-shadow-green::before {
    content: none !important;
    display: none !important;
}

.rr-card.rr-shadow-green::before {
content: none !important;
}

.rr-card.rr-shadow-green h2::before,
.rr-card.rr-shadow-green h3::before {
content: none !important;
}


/* MOBILE: center alignment - for this card */
@media (max-width: 575px) {
    .rr-section .rr-card {
        text-align: center !important;
    }

    /* Center the icon itself */
    .rr-section .rr-card .rr-card-icon,
    .rr-section .rr-card i {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }
}

/* safari only fix */

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .site-description {
        font-size: 1rem;
        line-height: 1.4;
    }
}

/* Desktop strapline kerning */
@media (min-width: 768px) {
  .site-description {
    font-size: var(--rr-text-size);
    line-height: var(--rr-line-height);
    letter-spacing: -0.3px; /* rt */
  }
}

/* Tablet strapline scaling */
@media (max-width: 768px) {
  .site-description {
    font-size: 16px;
    letter-spacing: 0;
  }
}

/* Mobile strapline scaling */
@media (max-width: 480px) {
  .site-description {
    font-size: 14px;
    letter-spacing: 0;
  }
}

/* hid top bar on mobile */
@media (max-width: 768px) {
  .site-header-section[data-section="top"] {
    display: none !important;
  }
}

/* mobile fix */
[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
    width: 50px !important;
    height: 50px !important;
    fill: #8fb996;
}

@media (max-width: 921px) {
  .ast-mobile-header-inline .ast-search-menu-icon::before {
    font-family: 'astra-icons' !important;
    content: '\e8b6'; 
    font-size: 1.2rem;
    color: var(--ast-global-color-3);
    display: inline-block;
    vertical-align: middle;
  }
}

/* ============================================================
   #19 GLOBAL NAVIGATION SYSTEM — ASTRA NAV
   ============================================================ */

/* MAIN MENU FONT CONTROL — ADDED */
#ast-desktop-header .main-header-menu > li > a,
#ast-desktop-header .main-header-menu .menu-link {
    font-size: 1.15rem;      /* ADJUSTABLE: increase/decrease freely */
    font-weight: 600;        /* ADDED: ensures consistent weight */
    letter-spacing: 0.3px;   /* ADDED: subtle clarity */
    line-height: 1.3;        /* OPTIONAL: improves vertical rhythm */
    /* tune line-height or remove it entirely */
}

/* Base colour */
#ast-desktop-header .main-header-menu > li > a {
    color: #ffffff;
    position: relative;
}

/* Hover colour */
#ast-desktop-header .main-header-menu > li > a:hover {
    color: #6B9278 !important;
}

/* underline */
#ast-desktop-header .main-header-menu > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 30px; /* baseline preserved */
    width: 0;
    height: 4px;
    background: #8FB996;
    border-radius: 999px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

#ast-desktop-header .main-header-menu > li > a:hover::after {
    width: 80%;
}

/* Active item colour */
#ast-desktop-header .main-header-menu > li.current-menu-item > a,
#ast-desktop-header .main-header-menu > li.current_page_item > a,
#ast-desktop-header .main-header-menu > li.current-menu-ancestor > a,
#ast-desktop-header .main-header-menu > li.current_page_ancestor > a {
    color: #8FB996 !important;
}

/* Active underline */
#ast-desktop-header .main-header-menu > li.current-menu-item > a::after,
#ast-desktop-header .main-header-menu > li.current_page_item > a::after,
#ast-desktop-header .main-header-menu > li.current-menu-ancestor > a::after,
#ast-desktop-header .main-header-menu > li.current_page_ancestor > a::after {
    width: 80% !important;
    height: 4px !important;
    bottom: 30px !important;
    background: #8FB996 !important;
    border-radius: 999px !important;
}

/* Astra sometimes injects .menu-link colour — preserved */
#ast-desktop-header .main-header-menu .menu-link {
    color: #8FB996 !important;
}

/* Remove Astra dropdown border */
#ast-desktop-header .main-header-menu .sub-menu {
    border-top: none !important;
    margin-top: 0 !important;
}


/* desktop — use Astra breadcrumb container */
@media (min-width: 922px) {
    #ast-mobile-header {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        width: 100% !important;
    }

    #ast-mobile-header .ast-main-header-wrap,
    #ast-mobile-header .ast-primary-header-bar {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        width: 100% !important;
    }

    #ast-mobile-header .ast-primary-header-bar > *:not(.ast-breadcrumbs-wrapper) {
        display: none !important;
    }

    #ast-mobile-header .ast-breadcrumbs-wrapper {
        display: block !important;
        height: auto !important;
        min-height: 1px !important;
        opacity: 1 !important;
        position: relative !important;
        visibility: visible !important;
        width: 100% !important;
        z-index: 10 !important;
    }

    #ast-mobile-header .ast-mobile-header-content {
        display: none !important;
    }
}


/* Mobile navigation overrides */
#ast-mobile-header .main-header-menu .current-menu-item > a,
#ast-mobile-header .main-header-menu .current_page_item > a {
    color: #8FB996 !important;
}

/* Fix Astra mobile submenu toggle icon clipping */
.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
    top: 50% !important;
    transform: translateY(-50%) !important;
    line-height: 1 !important;
    height: auto !important;
}

/* Remove dotted focus outline around Astra mobile menu toggle */
.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}

#ast-mobile-header .main-header-menu > li > a:hover {
    color: #8FB996 !important;
}

@media (max-width: 768px) {
    .main-header-menu .rr-search-item {
        display: none !important;
    }
}

/* RR — DIAGNOSTIC BORDERS: search and navigation *//*

.main-navigation {
    outline: 3px solid red !important;
}

.main-navigation #ast-hf-menu-1 {
    outline: 3px solid blue !important;
}

.main-navigation #menu-item-6646 {
    outline: 3px solid lime !important;
}

.main-navigation li.rr-search-item {
    outline: 3px solid magenta !important;
}

.main-navigation .rr-search-box {
    outline: 3px solid orange !important;
}

@media (min-width: 769px) {
    .main-navigation li.rr-search-item {
        outline: 3px solid magenta !important;
        background: rgba(255, 0, 255, 0.12) !important;
    }
}
*/

/* hide the search item at certain widths *//*
@media (min-width: 769px) and (max-width: 1150px) {
    .main-navigation .rr-search-item {
        display: none !important;
    }
}
*/

/* remove hover underline from the search menu link only */
.rr-search-item > a.menu-link:hover,
.rr-search-item > a.menu-link:focus,
.rr-search-item > a.menu-link:active {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Astra often uses ::before or ::after for the line */
.rr-search-item .menu-link::after {
    content: none !important;
    display: none !important;
}

/* RR — remove vertical spacing ONLY on this - the NEWS page */
.page-id-5921 .ast-container * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.archive .ast-archive-description {
    padding-top: 0 !important;
    padding-right: 3em;
    padding-bottom: 0 !important;
    padding-left: 3em;
}

/* LEVEL 3 MENU FONT — RR NAV */
#ast-desktop-header .main-header-menu .sub-menu .sub-menu > li > a {
    font-size: 1.05rem !important;   /* slightly smaller than L2, larger than Astra default */
    font-weight: 600;                /* match your L1/L2 weight */
    letter-spacing: 0.3px;           /* match your clarity setting */
    line-height: 1.3;                /* match your rhythm */
    color: #8FB996 !important;       /* RR hover green */
}

/* LEVEL 3 MENU HOVER */
#ast-desktop-header .main-header-menu .sub-menu .sub-menu > li > a:hover {
    color: #6B9278 !important;       /* RR hover green */
}

/* GLOBAL NAV HOVER */

nav a:hover {
  color: #8FB996 !important;
}

/* ============================================================
  #20. DESKTOP CUSTOM SEARCH TOGGLE (FIXED + BASIC)
   ============================================================ */
   
/* Search Toggle*/
button.rr-search-toggle,
button.rr-search-toggle:hover,
button.rr-search-toggle:focus,
button.rr-search-toggle:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 70% !important;
}

button.rr-search-toggle:hover .ast-icon {
    transform: scale(0.7);
}

/* Search Toggle Button (fully transparent) */
#ast-desktop-header li.rr-search-toggle > a.menu-link {
    font-size: 0 !important;
    color: transparent !important;
    line-height: 0 !important;
    width: 64px;        /* bigger click area */
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none !important;
    background-color: transparent !important;
    border: none;
    box-shadow: none !important;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-left: 20px;   /* your current shift */
}

/* Move desktop search box right + down so Contact hover can't block it */
#ast-desktop-header li.rr-search-toggle .rr-search-box {
    position: absolute !important;
    top: 130px;              /* move DOWN below menu */
    right: 0;               /* align to right edge of header */
    z-index: 9999;          /* float above all menu items */
    background: #fff;       /* optional: make it visible */
    padding: 10px;          /* optional: spacing */
    border: 1px solid #ccc; /* optional: tidy border */
}


/* Responsive wrapper */
.rr-table-scroll {
    overflow-x: auto;
    margin-bottom: 2rem;
}

/* Base table */
.rr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

/* Header */
.rr-table th {
    background: #e8f3e8; /* pale RR green */
    padding: .75rem;
    font-weight: bold;
    border-bottom: 2px solid #c8e2c8;
}

/* Cells & Other */
.rr-table td {
    padding: .75rem;
    border-bottom: 1px solid #ddd;
}

/* Striped rows */
.rr-table-striped tbody tr:nth-child(odd) {
    background: #f9f9f9;
}

.rr-table-striped tbody tr:nth-child(even) {
    background: #eef6ee; /* subtle RR green tint */
}

/* Hover effect */
.rr-table-striped tbody tr:hover {
    background: #dfeee0;
}

/* Hide mobile search icon on desktop */
@media (min-width: 921px) {
    #ast-desktop-header li.menu-item-6646 {
        display: none !important;
    }
}

/* Search Spyglass Icon (moved +80px safely) */
#ast-desktop-header li.rr-search-toggle > a.menu-link::before {
    content: "";

    /* keep it OUT of layout flow */
    position: absolute !important;

    /* your chosen horizontal offset */
    left: 20px !important;

    /* vertically centre inside the <a> without changing height */
    top: 50%;
    transform: translateY(-50%);

    width: 28px;
    height: 28px;

    z-index: 5;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 36 36' stroke='%238FB996' stroke-width='3'%3E%3Ccircle cx='16' cy='16' r='12'/%3E%3Cpath d='M24 24l8 8'/%3E%3C/svg%3E");
}

/* Pad Fix and mixed rules */

#ast-desktop-header .rr-search-box,
#ast-desktop-header .rr-search-box input,
#ast-desktop-header .rr-search-box button {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#ast-desktop-header .rr-search-box {
    position: absolute;
    top: calc(100% - 10px);
    left: 0;
    right: 0;
    display: none;   /* JS controls this */
    z-index: 9999;
}

#ast-desktop-header .rr-search-box {
    left: auto !important;
}

#ast-desktop-header li.rr-search-toggle > a.menu-link {
    background-image: none !important;
}

/* Desktop search button final adjustment */
#ast-desktop-header .rr-search-submit {
    padding: 4px 10px;        /* tighten height + width */
    font-size: 14px;          /* cleaner text size */
    line-height: 1.2;         /* stops vertical stretching */
    border-radius: 4px;       /* RR style */
    background: #8FB996;      /* RR green */
    color: #fff;
    flex-shrink: 0;           /* prevents collapse */
    height: auto;             /* prevents tall button */
    margin-left: 6px;         /* aligns with input nicely */
}

/* Anonymous input inside rr-search-box (beats Astra) */
#ast-desktop-header .rr-search-box input[type="search"] {
    width: 70% !important;     
    padding: 1px 6px 1px 16px !important;  
    box-shadow: none !important;
    border-radius: 4px !important;
    box-sizing: border-box;
}

/* DEBUG: show the REAL clickable button area */
#ast-desktop-header .rr-search-box button {
    top: 12px;                 
    position: relative !important;
    z-index: 9999 !important;         
    pointer-events: auto !important;    
    width:40px;
    height:40px;
    aspect-ratio: 1 / 1;
    padding: 15px 0 0 0 !important;
    background: #EEEEEE;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

/* Header & Other */
#ast-desktop-header .rr-search-box button,
#ast-desktop-header .rr-search-box button > span {
    border: 1px solid #8FB996 !important;
    box-sizing: border-box !important;
}

/* Make the button a positioning context */
#ast-desktop-header .rr-search-box button {
    position: relative;
}

/* Centered SVG spyglass inside the button */
#ast-desktop-header .rr-search-box button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 18px;
    height: 18px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 36 36' stroke='%238FB996' stroke-width='3'%3E%3Ccircle cx='16' cy='16' r='12'/%3E%3Cpath d='M24 24l8 8'/%3E%3C/svg%3E");
}


/* DEBUG enable — show the REAL clickable spyglass hitbox */
#ast-desktop-header .rr-search-toggle {
   /* border: 1px solid cyan !important;   /* shows the true hitbox - debug */
    display: inline-block !important;      /* gives it physical size */
    padding: 22px !important;              /* expands hitbox */
    position: relative !important;
    z-index: 99999 !important;         
    cursor: pointer !important;
}

/* Desktop Search */

#ast-desktop-header .rr-search-box {
    transform: translateY(-60%);
}

/* External box — fixed width, stable, independent */
#ast-desktop-header .rr-search-box {
    width: 200px;
    box-sizing: border-box;
    padding: 0px 6px 0 16px;
    border: 2px solid #8FB996;
    border-radius: 6px;
    background: #fff;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    z-index: 999;
}

/* Internal row — stable horizontal layout */
#ast-desktop-header .rr-search-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* Input — expands naturally */
#ast-desktop-header .rr-search-row input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 6px 10px;
    border: 1px solid #8FB996;
    border-radius: 4px;
}

/* Button — neat, consistent */
#ast-desktop-header .rr-search-submit {
    padding: 6px 12px;
    background: #8FB996;
    color: #fff;
    border: none;
    border-radius: 4px;
    flex-shrink: 0;
    cursor: pointer;
}

/* Toggle behaviour */
#ast-desktop-header .rr-search-item.is-open .rr-search-box {
    display: block;
}

/* ============================================================
   #21. MOBILE CUSTOM SEARCH (ON PAGE) — RR SHORT-NAME VERSION
   ============================================================ */

@media (max-width: 921px) {
    
    /* Shrink the external container */
    
    .ast-mobile-header-content .rr-ms-form {
        width: 94%;          /* reduce container width */
        margin-left: 0;      /* left align */
        margin-right: 0;     /* remove centering */
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* Search wrapper aligned with Astra menu width */
    .rr-ms-wrap {
        padding: 3px 20px;        /* matches Astra mobile menu padding */
        margin-top: 5px;          /* moves closer to last <li> */
        background: #fff;
    }

    /* Flex layout for input + button */
    .rr-ms-form {
        display: flex;
        gap: 10px;
        width: 100%;
    }

/* Input field — let it flex, but don’t force percentages */
.rr-ms-input {
    flex: 1 1 auto;              /* takes remaining space, but can shrink */
    padding: 10px 0 10px 0;
  font-size: var(--rr-text-size);
  line-height: var(--rr-line-height);
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Button — stop it stretching, keep it compact */
.rr-ms-btn {
    flex: 0 0 auto;              /* size to content, no stretching */
    padding: 1px 14px;          /* adjust this to control visual width */
    background: #84AB8B;         /* RR light green */
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: var(--rr-text-size);
    line-height: var(--rr-line-height);
    cursor: pointer;
    text-align: center;
}

}

/* Hide mobile search on desktop */
@media (min-width: 922px) {
    .rr-ms-wrap {
        display: none;
    }
}

/* Allow Astra mobile menu to expand naturally */
@media (max-width: 921px) {
    .ast-mobile-header-content {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

/* ============================================================
   #22. PAGE HEADERS FOR ALL TOP-LEVEL PAGES
   ============================================================ */

 /* PAGE: HOME */
 /* Add home page-specific rules here */
 
 /* ============================================================
   HOMEPAGE – INTRODUCTION AND MAIN TITLE
   ============================================================ */

/* Main homepage title */
.rr-home-title {
    position: relative;
    margin: 0 0 1.25rem;
    padding-bottom: 1rem;
    color: #263b32;
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

/* Short green accent beneath the title */
.rr-home-title::after {
    content: "";
    display: block;
    width: 85px;
    height: 5px;
    margin-top: 1rem;
    background: #8fb996;
    border-radius: 3px;
}

/* Supporting strapline */
.rr-home-tagline {
    margin: 0 0 1rem;
    color: #52765b;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.35;
}

/* Introductory paragraph */
.rr-home-intro-copy {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #414b45;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .rr-home-title {
        font-size: 2rem;
    }

    .rr-home-tagline {
        font-size: 1.2rem;
    }
}
 
/* Home Intro Layout */
.rr-intro {
    display: flex;
    flex-direction: row;
    gap: 50px;
    width: 100%;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Text styling */
.rr-intro-content h2 {
    margin-top: 0;
}

.rr-intro-content h3 {
    margin-bottom: 20px;
}

.rr-intro-content p {
    line-height: 1.7;
}

/* Force site title onto two lines */
.site-title a, .site-title a:hover  {
    display: inline-block;
    /* max-width: 260px;   /* adjust to wrap the tagline*/
    white-space: normal;
    line-height: 1.25;
    text-align: left;   /* or center */
    letter-spacing: -0.1px
}

.site-title a:hover {
    text-decoration: none !important;
    opacity: 1 !important;
}


.ast-header-break-point .ast-site-identity {
    transition: none !important;
}

.ast-site-identity {
    display: inline-block;
    width: max-content;
}

.ast-site-title-wrap,
.ast-site-title-wrap:hover {
    transition: none !important;
    transform: none !important;
}

.site-title {
    text-align: left !important;
    white-space: normal;
    line-height: 1.25;
    text-align: left;
}

/* Freeze Astra header identity to stop strapline movement */
.ast-site-identity,
.ast-site-identity *,
.ast-site-title-wrap,
.ast-site-title-wrap *,
.site-title,
.site-title *,
.site-title a,
.site-title a:hover {
    letter-spacing: -1px !important;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    transition: none !important;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
    text-decoration: none !important;
}

/* prevent card title wrapping */
h3.wp-block-heading > a {
    white-space: nowrap;
}

/* =========================================
   QUICK LINKS – DESKTOP DRAWER
   ========================================= */

.rr-quicklinks-drawer {
    position: absolute;
    right: 0;
    top: 0;
    width: 322px;
    z-index: 9999;
}

/* force heading - workaround - debug */

.rr-quicklinks-mobile-section h2.rr-section-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* =========================================
   QUICK LINKS PANEL – DRAWER REVEAL
   ========================================= */

.rr-quicklinks-panel {
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    clip-path: inset(0 0 0 0);
    padding: 16px;
    position: absolute;
    right: 42px;
    top: 0;
    transform: none;
    transition: clip-path 900ms cubic-bezier(0.22, 1, 0.36, 1);
    width: 280px;
    z-index: 1;
}

.rr-quicklinks-panel nav {
    margin-top: 0;
}

.rr-quicklinks-drawer:not(.is-open) .rr-quicklinks-panel {
    transform: translateX(calc(100% + 42px));
    visibility: hidden;
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s;
}

/* =========================================
   ALL ABOUT TRIPS – WIDGET VISIBILITY
   ORIGINAL SETTINGS RETAINED
   ========================================= */

.page-id-61 #nav_menu-12 {
    display: block !important;
}

.page-id-61 #nav_menu-14 {
    display: none !important;
}


/* =========================================
   TRIP INTRO – DESKTOP / TABLET
   ========================================= */

@media (min-width: 768px) {

    .rr-trip-intro-columns {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .rr-trip-intro-columns > .wp-block-column {
        min-width: 0;
    }

}


/* =========================================
   HOMEPAGE – VERTICAL QUICK LINKS BUTTON
   ORIGINAL GREEN BUTTON
   ========================================= */

.rr-quicklinks-tab {
    align-items: center;
    background: #e5f0e3;
    border: 0;
    border-radius: 6px 0 0 6px;
    color: inherit;
    cursor: pointer;
    display: flex;
    height: 150px;
    justify-content: center;
    padding: 8px;
    position: absolute;
    right: 0;
    top: 0;
    width: 42px;
    z-index: 2;
}

.rr-quicklinks-tab span {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    transform: rotate(90deg);
    white-space: nowrap;
}

.rr-quicklinks-tab:hover {
    background: #d5e6d2;
}


/* =========================================
   MENU ITEMS – QUICK LINKS AND ALL REGIONS
   ========================================= */

#menu-homepage-quick-links,
.rr-list-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu-homepage-quick-links > li,
.rr-list-links > li {
    list-style: none !important;
    margin: 0 0 10px;
    padding: 0;
}

#menu-homepage-quick-links > li::before,
.rr-list-links > li::before {
    content: none !important;
}

#menu-homepage-quick-links > li > a,
.rr-list-links > li > a {
    display: block;
    line-height: 1.4;
    text-decoration: none;
}

#menu-homepage-quick-links > li > a::before,
.rr-list-links > li > a::before {
    color: #d00000;
    content: "\f0c1";
    font-family: "Font Awesome 6 Free";
    font-size: 0.85em;
    font-weight: 900;
    margin-right: 12px;
}

#menu-homepage-quick-links > li:last-child,
.rr-list-links > li:last-child {
    margin-bottom: 0;
}

/* QUICK LINKS – SQUARE TOP-RIGHT CORNERS WHEN OPEN */

.rr-quicklinks-drawer.is-open .rr-quicklinks-panel {
    border-top-right-radius: 0;
}

.rr-quicklinks-drawer.is-open .rr-quicklinks-tab {
    border-top-right-radius: 0;
}


/* =====================================================
   MOBILE AND TABLET – QUICK LINKS AT BOTTOM
   Applies up to 1199px
   ===================================================== */

@media (max-width: 1199px) {

    /* Outer Gutenberg Group */

    .rr-quicklinks-mobile-section {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 20px auto;
        padding-left: 6px !important;
        padding-right: 6px !important;
        box-sizing: border-box;
    }

    /* Destination wrapper */

    .rr-quicklinks-mobile-destination {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    /* Gutenberg / Bootstrap column */

    .rr-quicklinks-mobile-destination .rr-quicklinks-home-column {
        display: block !important;
        flex: 0 0 100% !important;
        flex-basis: 100% !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
    }

    /* Drawer wrapper */

    .rr-quicklinks-drawer {
        display: block !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    /* Hide vertical desktop tab */

    .rr-quicklinks-tab {
        display: none !important;
    }

    /* Clipping wrapper */

    .rr-quicklinks-clip {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: auto !important;
        overflow-y: auto !important;
        box-sizing: border-box;
    }

    /* Panel – full-width mobile/tablet version */

    .rr-quicklinks-panel {
        display: block !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        clip-path: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-width: none !important;
        height: auto !important;

        margin: 0 !important;
        padding: 16px !important;

        border-radius: 6px;
        box-shadow: none;
        transition: none;

        box-sizing: border-box;
		width: 322px;
    }

    /* Navigation and lists */

    .rr-quicklinks-panel nav,
    .rr-quicklinks-panel ul {
        display: block;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    /* Menu items */

    .rr-quicklinks-panel li {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    /* Prevent long links wrapping */

    .rr-quicklinks-panel a {
        display: block;
        white-space: nowrap !important;
    }

}

/* QUICK LINKS – SQUARE TOP-RIGHT CORNERS WHEN OPEN */

.rr-quicklinks-drawer.is-open .rr-quicklinks-panel {
    border-top-right-radius: 0;
}

.rr-quicklinks-drawer.is-open .rr-quicklinks-tab {
    border-radius: 0 0 0 0 !important;
}



/* =====================================================
   MOBILE – SPACING
   ===================================================== */

@media (max-width: 767px) {

    .rr-quicklinks-mobile-section {
        margin: 16px 0;
    }

}


/* =====================================================
   DESKTOP – ORIGINAL DRAWER FROM 1200px
   ===================================================== */

@media (min-width: 1200px) {

    /* Hide the separate bottom destination */

    .rr-quicklinks-mobile-section {
        display: none !important;
    }

}


/* =========================================
   ALL ABOUT TRIPS – WIDGET VISIBILITY
   Original display settings retained
   ========================================= */

/* Hide All Regions */
.page-id-61 #nav_menu-12 {
    display: block !important;
}

/* Show Quick Links widget */
.page-id-61 #nav_menu-14 {
    display: none !important;
}


/* =========================================
   TRIP INTRO – DESKTOP / TABLET
   ========================================= */

@media (min-width: 768px) {

    .rr-trip-intro-columns {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .rr-trip-intro-columns > .wp-block-column {
        min-width: 0;
    }

}


/* =========================================
   HOMEPAGE – VERTICAL QUICK LINKS BUTTON
   ========================================= */

.rr-quicklinks-tab {
    align-items: center;
    background: #e5f0e3;
    border: 0;
    border-radius: 6px 0 0 6px;
    color: inherit;
    cursor: pointer;
    display: flex;
    height: 150px;
    justify-content: center;
    padding: 8px;
    position: absolute;
    right: 0;
    top: 0;
    width: 42px;
    z-index: 2;
}

.rr-quicklinks-tab span {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    transform: rotate(90deg);
    white-space: nowrap;
}

.rr-quicklinks-tab:hover {
    background: #d5e6d2;
}


/* =========================================
   MENU ITEMS – QUICK LINKS AND ALL REGIONS
   ========================================= */

#menu-homepage-quick-links,
.rr-list-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu-homepage-quick-links > li,
.rr-list-links > li {
    list-style: none !important;
    margin: 0 0 10px;
    padding: 0;
}

#menu-homepage-quick-links > li::before,
.rr-list-links > li::before {
    content: none !important;
}

#menu-homepage-quick-links > li > a,
.rr-list-links > li > a {
    display: block;
    line-height: 1.4;
    text-decoration: none;
}

#menu-homepage-quick-links > li > a::before,
.rr-list-links > li > a::before {
    color: #d00000;
    content: "\f0c1";
    font-family: "Font Awesome 6 Free";
    font-size: 0.85em;
    font-weight: 900;
    margin-right: 12px;
}

#menu-homepage-quick-links > li:last-child,
.rr-list-links > li:last-child {
    margin-bottom: 0;
}


/* =====================================================
   MOBILE AND TABLET – QUICK LINKS AT BOTTOM
   Applies up to 1199px
   ===================================================== */

@media (max-width: 1199px) {

    /* Outer Gutenberg Group – retain grey background,
       reduce horizontal inset to 6px */

    .rr-quicklinks-mobile-section {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 20px auto;
        padding-left: 6px !important;
        padding-right: 6px !important;
        box-sizing: border-box;
    }

    /* Destination wrapper – unrestricted width */

    .rr-quicklinks-mobile-destination {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    /* Gutenberg Column / Bootstrap column
       Remove col-md-3 sizing and BS4 gutters */

    .rr-quicklinks-mobile-destination .rr-quicklinks-home-column {
        display: block !important;
        flex: 0 0 100% !important;
        flex-basis: 100% !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
    }

    /* Drawer */

    .rr-quicklinks-drawer {
        display: block !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    /* No vertical drawer tab */

    .rr-quicklinks-tab {
        display: none !important;
    }

    /* Clipping wrapper – allow horizontal scrolling
       when a long link exceeds the available width */

    .rr-quicklinks-clip {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: auto !important;
        overflow-y: auto !important;
        box-sizing: border-box;
    }

    /* Panel – full available width */

    .rr-quicklinks-panel {
        display: block !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        clip-path: none !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 100% !important;
        max-width: none !important;
        height: auto !important;

        margin: 0 !important;
        padding: 16px !important;

        border-radius: 6px;
        box-shadow: none;
        transition: none;

        box-sizing: border-box;
    }

    /* Navigation and list containers */

    .rr-quicklinks-panel nav,
    .rr-quicklinks-panel ul {
        display: block;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    /* Menu items */

    .rr-quicklinks-panel li {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    /* Prevent long menu links wrapping */

    .rr-quicklinks-panel a {
        display: block;
        white-space: nowrap !important;
    }

}


/* =====================================================
   MOBILE – SPACING
   ===================================================== */

@media (max-width: 767px) {

    .rr-quicklinks-mobile-section {
        margin: 16px 0;
    }

}

/* =====================================================
   DESKTOP – ORIGINAL DRAWER POSITION
   ===================================================== */

@media (min-width: 1200px) {

    /* Hide the separate bottom destination */

    .rr-quicklinks-mobile-section {
        display: none !important;
    }

}

/* Red Rope Latest News */
.rr-latest-news {
    margin-top: 1.5rem;
}

.rr-latest-news .rr-news-item {
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    margin: 0;
}

.rr-latest-news .rr-news-item:last-child {
    border-bottom: none;
}

.rr-latest-news .rr-news-title {
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
}

.rr-latest-news .rr-news-title a,
.rr-latest-news .rr-news-readmore a {
    color: #0057b7;
    text-decoration: none;
}

.rr-latest-news .rr-news-title a:hover,
.rr-latest-news .rr-news-readmore a:hover {
    text-decoration: underline;
}

.rr-latest-news .rr-news-excerpt {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.rr-latest-news .rr-news-readmore {
    margin: 0;
    font-size: 0.9rem;
}


/* Red Rope Latest News - custom icon bullets */
.rr-latest-news .rr-news-item {
    position: relative;
    padding: 0.75rem 0 1rem 1.8rem;
    border-bottom: 1px solid #ddd;
    margin: 0;
}

.rr-latest-news .rr-news-item::before {
    content: "\f1ea";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #0057b7;
    position: absolute;
    left: 0;
    top: 2.3rem
}

.rr-latest-news .rr-news-title {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
}

.rr-latest-news .rr-news-excerpt {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* ============================================================
  #25. IMAGE SIZING
   ============================================================ */

@media (min-width: 768px) {
    .rr-text-gutter-left {
        padding-left: 1.25rem !important;
        padding-right: 0 !important;
    }

    .rr-text-gutter-right {
        padding-right: 1.25rem !important;
        padding-left: 0 !important;
    }
}

/* rr_content-image / rr-content-image — content image block
   legacy + modern selectors */

figure.rr_content-image,
figure.rr-content-image {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
}

figure.rr_content-image img,
figure.rr-content-image img {
    border: 0.5px solid #555 !important;
    border-radius: 6px !important;
    display: block;
    height: auto !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
}

/*
figure.rr_content-image figcaption,
figure.rr-content-image figcaption {
    font-size: 0.9rem;
    line-height: 2.3;
    margin: 0.5 auto !important;
    padding: 14px 0 0 0 !important;
    text-align: center;
    font-style: italic;
}*/

/* outer spacing */
.rr_content-image,
.rr-content-image {
    margin-bottom: 20px;
}

figure.rr_content-image,
figure.rr-content-image {
    display: block;
    text-align: center;
}

figure.rr_content-image img,
figure.rr-content-image img {
    display: block;
    height: auto;
    width: 100%;
}

/* Red Rope image captions */
.rr_content-image figcaption {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 2px 0 0;
    padding: 2px 8px;
    /*border-top: 1px solid #8fb996;*/
    color: #6B9278;
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.35;
    text-align: center;
}

/* about page image fix - debug */
@media (max-width: 600px) {
    .rr-bootstrap .row > .col-12.col-md-6.mb-3 figure.rr-content-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }
    
    .rr-bootstrap .col-12.col-md-6.mb-3 figure.rr-content-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }
    
        figure.rr-content-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }
}

/* GDPR CookieYes – revisit button in footer */
.rr-footer-wrap {
    position: relative;
}

.rr-footer-wrap .cky-btn-revisit-wrapper {
    position: absolute !important;
    bottom: 65px !important;
    left: 25px !important;
    right: auto !important;
    top: auto !important;
    z-index: 10 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 55px !important;
    height: 55px !important;
    border-radius: 50% !important;
    background-color: #8fb996 !important;
    border: 1px solid #8fb996 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.rr-footer-wrap .cky-btn-revisit {
    width: 100% !important;
    height: 100% !important;
}

.rr-footer-wrap .cky-btn-revisit img {
    width: 50px !important;
    height: 50px !important;
    max-width: none !important;
    margin: 0 !important;
}

/* move cookie button up */
@media (max-width: 1199px) {
    .rr-footer-wrap .cky-btn-revisit img {
        transform: translateY(-40px);
    }
}

  /* ============================================================
  #26. rr-banner-img — banner image block
   ============================================================ */

figure.rr-banner-img {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
    width: 100%;
}

figure.rr-banner-img img {
    border-radius: 6px !important;
    display: block;
    height: auto !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    width: 100% !important;
}

figure.rr-banner-img figcaption {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Controlled padding for rr-bootstrap content blocks (50% strength) */
/* Padding for the text column next to rr-content-image */
.rr-bootstrap .row > div:nth-child(2) {
    padding-left: 0.5rem !important;
}

/* Padding for the text column next to rr-content-image */
.rr-bootstrap .row > div:nth-child(1) {
    padding-left: 0.5rem !important;
}


/* ============================================================
   #23. CAROUSEL — CYCLONE SLIDER
   ============================================================ */

.rr-intro-slider {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

/* Cyclone slider */
.rr-intro-slider .cycloneslider {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Slider viewport */
.rr-intro-slider .cycloneslider-slides {
    width: 100% !important;
    max-width: 100% !important;

    border-radius: 6px !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Slides */
.rr-intro-slider .cycloneslider-slide {
    width: 100% !important;
}

/* Images */
.rr-intro-slider .cycloneslider-slide img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

/* ============================================================
   #24. PAGER — BELOW CAROUSEL
   ============================================================ */

.rr-intro-slider .cycloneslider-pager {
    display: flex;
    gap: 8px;
    justify-content: center;

    margin-top: 16px !important;

    position: static !important;
    width: 100%;
}



/* ============================================================
  #27. PAGER POSITIONING (Below the image)
   ============================================================ */
   

/* pager BELOW the image, stable on resize */
.rr-intro-slider .cycloneslider-pager {
    position: static !important;   /* NEW: makes pager sit below image */
    margin-top: 12px;              /* NEW: spacing below image */
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
}

/* Allow dots to be clickable */
.rr-intro-slider .cycloneslider-pager span {
    pointer-events: auto;
    cursor: pointer;
}

.main-header-bar {
    position: relative;
    z-index: 9999;
}

.ast-header-break-point .main-header-bar {
    position: relative;
    z-index: 9999;
}

.ast-above-header-bar {
    border-bottom-width: 0;
    border-bottom-color: #FFFFFF !important;
    border-bottom-style: solid;
}

/* ----------------------------------------------------------
   #28A.SIDEBAR ICONS – REGIONS + QUICK LINKS (RESTORED RED)
   ---------------------------------------------------------- */
   
/* SIDEBAR MAIN — PUSH DOWN + SMALLER HEADING */
.sidebar-main {
    margin-top: 4rem;        /* push it down the page */
}

.sidebar-main h2,
.sidebar-main h3,
.sidebar-main .widget-title {
    font-size: 1.4rem !important;       /* smaller heading text */
    line-height: 1.3;        /* tighter spacing */
    margin-bottom: .75rem;   /* neater gap under heading */
    color: #555 !important;
}


/* list reset */
.sidebar-main .menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* list item spacing */
.sidebar-main .menu li.menu-item {
    margin: 0 0 8px 0;
    line-height: 1.3;
    position: relative;
    padding-left: 26px;
}

/* default icon – red right-pointing triangle */
.sidebar-main .menu li.menu-item:before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid #cc0000;
}

/* --------------------------------------------------------------
   #28B: Latest News – Two‑Column Grid Fix
   Purpose:
     Astra Blog Layout 4 outputs an inner `.ast-grid-common-col`
     inside each `<article>` card. This inner wrapper clamps width
     and collapses the outer column. These rules:

       7.1 – Force OUTER column (`article.ast-grid-common-col`)
             to 50% width for a two‑column layout.

       7.2 – Force INNER column (`post-content.ast-grid-common-col`)
             to 100% width so it does not shrink the outer column.

       7.3 – Clear floats to maintain row integrity.

     This block is scoped ONLY to `/category/news/` and is safe
     with sidebar ON or OFF.
   -------------------------------------------------------------- */


/* #28B.1 – Outer column: two columns on desktop */
body.category-news .ast-row > article.ast-grid-common-col {
    box-sizing: border-box;
    flex: 0 0 50% !important;
    float: left;
    max-width: 50% !important;
    padding: 0 1rem;
    width: 50% !important;
}

/* #28B.2 – Inner column: prevent width clamping */
body.category-news .ast-row article.ast-grid-common-col .post-content.ast-grid-common-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* #28B.3 – Clear floats after the row */
body.category-news .ast-row::after {
    clear: both;
    content: "";
    display: block;
}

/* #28B.4 – Mobile override: switch to 1 column */
@media (max-width: 768px) {
    body.category-news .ast-row > article.ast-grid-common-col {
        box-sizing: border-box;
        flex: 0 0 100% !important;
        float: none;
        max-width: 100% !important;
        padding: 0 0.5rem;
        width: 100% !important;
    }
}

/* --------------------------------------------------------------
   #29. Bulletins – Two‑Column Grid Fix
   purpose:
     applies the same two‑column grid behaviour used in #33B
     to the /category/bulletins/ archive. safe, isolated, and
     identical in behaviour to the news layout.
   -------------------------------------------------------------- */

/* outer column: two columns on desktop */
body.category-bulletins .ast-row > article.ast-grid-common-col {
    box-sizing: border-box;
    flex: 0 0 50% !important;
    float: left;
    max-width: 50% !important;
    padding: 0 1rem;
    width: 50% !important;
}

/* inner column: prevent width clamping */
body.category-bulletins .ast-row article.ast-grid-common-col .post-content.ast-grid-common-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* clear floats */
body.category-bulletins .ast-row::after {
    clear: both;
    content: "";
    display: block;
}

/* mobile override: switch to 1 column */
@media (max-width: 768px) {
    body.category-bulletins .ast-row > article.ast-grid-common-col {
        box-sizing: border-box;
        flex: 0 0 100% !important;
        float: none;
        max-width: 100% !important;
        padding: 0 0.5rem;
        width: 100% !important;
    }
}

/* --------------------------------------------------------------
   #30. Trip Reports – Two-Column Grid Fix
   purpose: forces all posts in /category/trip-reports/ into
     a two-column layout beside the sidebar.
   -------------------------------------------------------------- */

/* --------------------------------------------------------------
   #30. Trip Reports – Archive Layout
   Two-column post grid beside the sidebar
-------------------------------------------------------------- */

/* TWO-COLUMN POST GRID */
body.category-trip-reports .ast-row > article.ast-grid-common-col {
    box-sizing: border-box;
    flex: 0 0 50% !important;
    float: left;
    max-width: 50% !important;
    padding: 0 1rem;
    width: 50% !important;
}

/* INNER POST CONTENT */
body.category-trip-reports .ast-row > article.ast-grid-common-col
.post-content.ast-grid-common-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* CLEAR FLOATS */
body.category-trip-reports .ast-row::after {
    clear: both;
    content: "";
    display: block;
}

/* ARCHIVE INTRODUCTION ALIGNMENT */
body.category-trip-reports .ast-archive-description {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ARCHIVE TITLE POSITION */
body.category-trip-reports .ast-archive-title {
    margin-top: 4em !important;
}

/* MOBILE – SINGLE COLUMN */
@media (max-width: 768px) {
    body.category-trip-reports .ast-row > article.ast-grid-common-col {
        flex: 0 0 100% !important;
        float: none;
        max-width: 100% !important;
        padding: 0 0.5rem;
        width: 100% !important;
    }
}

/* trip charges page */
.table-footnote {
    font-size: 14px !important;
    padding: 0 8px;
}

/* Trip Charges – allow table to scroll horizontally on small screens */
.rr-trip-charges .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Trip Charges – responsive table */
.rr-trip-table-wrap {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rr-trip-table-wrap table {
    min-width: 650px;
}

/* All about Trips page – space between image and climbing text */
.rr-trip-intro-columns > .wp-block-column:last-child {
    padding-left: 25px !important;
}

/* Prevent excess top spacing on headings inside columns */
.entry-content .wp-block-column h1,
.entry-content .wp-block-column h2,
.entry-content .wp-block-column h3 {
    margin-top: 0 !important;
}

/* ============================================================
   TRIP CHARGES – TABLE COLUMN WIDTHS
   ============================================================ */

.rr-trip-charges-table {
    width: 100%;
    table-layout: fixed;
}

/* Trips page – spacing between intro image and text */
.rr-trip-intro-columns > .wp-block-column:last-child {
    padding-left: 30px;
}

.rr-trip-charges-table th:nth-child(1) {
    width: 13%;
}

.rr-trip-charges-table th:nth-child(2) {
    width: 35%;
}

.rr-trip-charges-table th:nth-child(3) {
    width: 26%;
}

.rr-trip-charges-table th:nth-child(4) {
    width: 26%;
}

/* ============================================================
   TRIP CHARGES – TABLE COLOURS AND STRIPING
   ============================================================ */

/* Table headings */
.rr-trip-charges-table thead th {
    background-color: #8fb996;
    color: #253128;
}

/* Alternate body rows */
.rr-trip-charges-table tbody tr:nth-child(odd) {
    background-color: #f0f5f0;
}

.rr-trip-charges-table tbody tr:nth-child(even) {
    background-color: #ffffff;
}

/* Keep cell backgrounds transparent so row colours show */
.rr-trip-charges-table tbody th,
.rr-trip-charges-table tbody td {
    background-color: transparent;
}

/* remove table wrapper spacing - workaround */
.rr-trip-table-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.rr-trip-table-wrap figure.wp-block-table {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
/* ============================================================
   TRIP BOOKING FORM PAGE
   ============================================================ */

/* Booking section panels */
.rr-trip-booking-section {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    background-color: #f4f7f4;
    border-left: 4px solid #8fb996;
    border-radius: 3px;
    box-sizing: border-box;
}

/* Section headings */
.rr-trip-booking-section h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

/* Section paragraphs */
.rr-trip-booking-section p {
    margin-bottom: 0.75rem;
}

.rr-trip-booking-section p:last-child {
    margin-bottom: 0;
}

/* PDF download link panel */
.rr-pdf-download {
    padding: 0.75rem 1rem;
    background-color: #fff;
    border: 1px solid #d7e2d8;
    border-left: 4px solid #8fb996;
    border-radius: 3px;
}

/* Booking notes */
.rr-booking-note,
.rr-booking-historical-note {
    font-size: 0.95rem;
}

/* Section separator */
.rr-trip-booking-separator {
    margin: 1.5rem 0;
}
/* --------------------------------------------------------------
   Latest News Page – Two-Column Grid Fix
   page: /about/latest-news/
   -------------------------------------------------------------- */

/* outer columns */
body.blog .ast-row > article.ast-grid-common-col {
    box-sizing: border-box;
    flex: 0 0 50% !important;
    float: left;
    max-width: 50% !important;
    padding: 0 1rem;
    width: 50% !important;
}

/* inner content column */
body.post-5927 .ast-row > article.ast-grid-common-col .post-content.ast-grid-common-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* maintain row height */
body.post-5927 .ast-row::after {
    clear: both;
    content: "";
    display: block;
}

/* mobile: single column */
@media (max-width: 768px) {

    body.post-5927 .ast-row > article.ast-grid-common-col {
        box-sizing: border-box;
        flex: 0 0 100% !important;
        float: none;
        max-width: 100% !important;
        padding: 0 0.5rem;
        width: 100% !important;
    }

}

/* --------------------------------------------------------------
   Search Page Results – Two-Column Grid Fix
   -------------------------------------------------------------- */

/* outer columns */
body.search .ast-row > article.ast-grid-common-col {
    box-sizing: border-box;
    flex: 0 0 50% !important;
    float: left;
    max-width: 50% !important;
    padding: 0 1rem;
    width: 50% !important;
}

/* inner content column */
body.search .ast-row > article.ast-grid-common-col .post-content.ast-grid-common-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* maintain row height */
body.search .ast-row::after {
    clear: both;
    content: "";
    display: block;
}

/* mobile: single column */
@media (max-width: 768px) {

    body.search .ast-row > article.ast-grid-common-col {
        box-sizing: border-box;
        flex: 0 0 100% !important;
        float: none;
        max-width: 100% !important;
        padding: 0 0.5rem;
        width: 100% !important;
    }
}

/* Latest News archive – mobile */
@media (max-width: 767px) {
    #primary.ast-grid-3 .ast-article-post {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}


/* --------------------------------------------------------------
   #31. Blog Post Image Alignment for Widened Layout
   Purpose:
     After widening the blog content container, images appear
     visually “narrow” inside the new width. This rule ensures
     images align cleanly with the widened content area without
     affecting Envira galleries or archive grids.
   -------------------------------------------------------------- */


/* Blog post images: align with text (flush-left) */
.single-post .entry-content img:not(.envira-gallery-image) {
    border: 1px solid #ccc;
    border-radius: 6px;
    display: block;
    height: auto;
    margin: 1.5rem 0;   /* vertical spacing only */
    max-width: 100%;
    padding: 10px;
}


/* REGIONS — apex UP triangle */
.sidebar-main #nav_menu-12 .menu li.menu-item:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0; /* lifted upward */
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid var(--rr-green-prim);

}


@media (max-width: 1199px) {

    .rr-quicklinks-mobile-section {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

}


/* quick links – FA link icon (working red chain link) */
.sidebar-main #nav_menu-14 .menu li.menu-item:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0c1"; /* fa-link */
    color: #cc0000;
    font-size: 14px;
    top: 0;
    border: none; /* remove triangle */
}

/* ----------------------------------------------------------
   #32.FOOTER CONTAINER — original fixed height restored
   ---------------------------------------------------------- */
.rr-footer-landscape {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
  background: #8FB996; /* your footer light green */
}

#rr-footer-landscape-img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* OLD LINE (kept for reference)
     object-position: bottom;
  */

/* The fade overlay */
.rr-footer-landscape::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px; /* adjust fade height */
  background: linear-gradient(
    to bottom,
    rgba(143,185,150,0.15) 0%,   /* transparent version of #8FB996 */
    #8FB996 100%                 /* your footer light green */
  );
  pointer-events: none;
  z-index: 2;
  /* NEW LINE (replacement) */
  object-position: 50% 85%;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

}

/* Make sure the image sits BELOW the fade */
#rr-footer-landscape-img {
  position: relative;
  z-index: 1;
}

/* MOBILE BREAKPOINT */
@media (max-width: 768px) {
  #rr-footer-landscape-img {
    object-fit: contain;
    object-position: center;
    height: auto;
    max-height: 40vh;
  }

  .rr-footer-landscape {
    height: auto !important;
  }
}

/* SMALL MOBILE BREAKPOINT */

@media (max-width: 480px) {
  #rr-footer-landscape-img {
    max-height: 35vh;
  }
}

/* ============================================================
   # 34. PRIMARY BUTTON
   ============================================================ */

.rr-button,
.rr-button:visited {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;

    background: var(--rr-red);
    color: #ffffff;

    text-decoration: none;
    font-weight: 600;
    line-height: 1.35;

    border-radius: 5px;

    transition:
        background-color .25s cubic-bezier(0.4, 0, 0.2, 1),
        color .25s cubic-bezier(0.4, 0, 0.2, 1),
        transform .25s cubic-bezier(0.4, 0, 0.2, 1);
}

.rr-button:hover,
.rr-button:focus {
    background: #990000;
    color: #ffffff;
    transform: translateY(-2px);
}

.rr-button:active {
    transform: translateY(0);
}

.rr-button-green {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: #2f5d3b;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
}

.rr-button-green:hover {
    background: #1f4028;
    color: #ffffff;
}

/* RR BUTTON OVERRIDE */

.ast-single-post .entry-content a.rr-button,
.ast-single-post .entry-content a.rr-button:visited,
.ast-single-post .entry-content a.rr-button:hover,
.ast-single-post .entry-content a.rr-button:focus {

    text-decoration:none !important;
    color:#ffffff !important;
}

/* ============================================================
   #35. RR BUTTON HOVER
   ============================================================ */

.ast-single-post .entry-content a.rr-button:hover,
.ast-single-post .entry-content a.rr-button:focus {

    text-decoration:underline !important;
    text-decoration-color:#ffffff !important;
    text-underline-offset:4px;

    color:#ffffff !important;
}


/* Mobile */
@media (max-width: 768px) {

    .rr-intro {
        flex-direction: column;
        gap: 30px;
    }

    .rr-intro-slider,
    .rr-intro-content {
        width: 100%;
    }

}

/* ============================================================
   #36. CARD LINKS + HOVER
   ============================================================ */

/* Card title links - remove Astra underline */
.ast-single-post .entry-content .rr-card h3 a,
.ast-single-post .entry-content .rr-card h3 a:visited {
    text-decoration:none !important;
    color:inherit;
}

/* Card hover - colour change only */
.rr-card:hover h3 a {
    color:var(--rr-red);
    text-decoration:none !important;
}

/* Actual title link hover - underline */
.ast-single-post .entry-content .rr-card h3 a:hover,
.ast-single-post .entry-content .rr-card h3 a:focus {
    color:var(--rr-red);
    text-decoration:underline !important;
    text-decoration-color:var(--rr-red);
    text-underline-offset:4px;
}

/* Card container hover effect */
.rr-card {
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.rr-card:hover {
    transform:translateY(-5px);
    box-shadow: 0 10px 22px rgba(0,0,0,.15);
}

/* Card icon response */

.rr-card-icon {
    transition:
        transform .25s ease;
}

.rr-card:hover .rr-card-icon {

    transform:scale(1.08);

}

.rr-card.text-center .rr-card-icon {
    margin-left: auto;
    margin-right: auto;
}
/* ==========================================================
   #37. RR Generic Link Cards
   Gold / Blue / Green
   Astra-proof, no borders, 8px radius
   ========================================================== */

.rr-generic-link-card,
.rr-generic-link-card-blue,
.rr-generic-link-card-green {
    border-radius: 8px;

    /* REAL internal spacing */
    padding: 30px 25px !important;

    margin-bottom: 0.3rem;

    position: relative;
    overflow: visible !important;
    isolation: isolate;

    box-shadow: 0 3px 8px rgba(0,0,0,.12);
    transition: transform .2s ease, box-shadow .2s ease;

    /* Allow content to determine height */
    height: 100%;
    box-sizing: border-box;
}

.rr-generic-link-card h3,
.rr-generic-link-card-blue h3,
.rr-generic-link-card-green h3 {
    position: relative !important;
    top: 30px !important;
}


/* ----------------------------------------------------------
   Reset Astra/theme positioning
   ---------------------------------------------------------- */

.rr-generic-link-card h3,
.rr-generic-link-card p,
.rr-generic-link-card-blue h3,
.rr-generic-link-card-blue p,
.rr-generic-link-card-green h3,
.rr-generic-link-card-green p {
    position: static !important;
    top: auto !important;
    transform: none !important;
}


/* ----------------------------------------------------------
   Heading
   ---------------------------------------------------------- */

.rr-generic-link-card h3,
.rr-generic-link-card-blue h3,
.rr-generic-link-card-green h3 {
    margin-top: 0 !important;
    margin-bottom: .75rem !important;

    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}


/* ----------------------------------------------------------
   Description
   ---------------------------------------------------------- */

.rr-generic-link-card p,
.rr-generic-link-card-blue p,
.rr-generic-link-card-green p {
    margin: 0 !important;

    font-size: .95rem;
    line-height: 1.45;
    color: #333;
}


/* ----------------------------------------------------------
   Links
   ---------------------------------------------------------- */

.rr-generic-link-card h3 a,
.rr-generic-link-card-blue h3 a,
.rr-generic-link-card-green h3 a {
    text-decoration: none;
}

.rr-generic-link-card h3 a:hover,
.rr-generic-link-card-blue h3 a:hover,
.rr-generic-link-card-green h3 a:hover {
    text-decoration: underline;
}


/* ----------------------------------------------------------
   Icons
   ---------------------------------------------------------- */

.rr-generic-link-card h3 i,
.rr-generic-link-card-blue h3 i,
.rr-generic-link-card-green h3 i {
    margin-right: .4rem;
}


/* ----------------------------------------------------------
   Hover effect
   ---------------------------------------------------------- */

.rr-generic-link-card:hover,
.rr-generic-link-card-blue:hover,
.rr-generic-link-card-green:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}


/* ==========================================================
   GOLD VERSION
   ========================================================== */

.rr-generic-link-card {
    background: #F7E7C6;
}

.rr-generic-link-card h3,
.rr-generic-link-card h3 a,
.rr-generic-link-card h3 i {
    color: #6B9278;
}


/* ==========================================================
   BLUE VERSION
   ========================================================== */

.rr-generic-link-card-blue {
    background: #E6F0FA;
}

.rr-generic-link-card-blue h3,
.rr-generic-link-card-blue h3 a,
.rr-generic-link-card-blue h3 i {
    color: #2980B9;
}


/* ==========================================================
   GREEN VERSION
   ========================================================== */

.rr-generic-link-card-green {
    background: #E9F3EC;
}

.rr-generic-link-card-green h3,
.rr-generic-link-card-green h3 a,
.rr-generic-link-card-green h3 i {
    color: #6B9278;
}

/* Text wrapper */

.rr-list-text {
    display:flex;
    align-items:center;

    min-height:58px;

    font-size:17px;
    line-height:1.45;
}

/* ============================================================
   #39. RR-CARD — standard RR card (no bg, no icon)
   ============================================================ */

.rr-card {
    position:relative;
    background:#fff;
    border-radius:8px;
    border-top:6px solid var(--rr-green-sec);
    box-shadow:0 4px 12px rgba(0,0,0,.12);
    padding:25px;
    overflow:hidden;
}

.rr-card-left {
    position:relative;
    z-index:2;
}

/* ============================================================
   #40. RR-BULLETIN-CARD — green card + background image + PDF icon
   ============================================================ */

.rr-bulletin-card {
    position:relative;
    overflow:hidden;
    background:#eaf2ec; /* pale RR green */
    border-top:6px solid var(--rr-green-sec);
    border-radius:8px;
    padding:25px;
    box-shadow:0 3px 10px rgba(0,0,0,.12);
}

/* background image layer */
.rr-bulletin-card-bg {
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    opacity:.22;
    z-index:1;
}

/* content sits above bg */
.rr-bulletin-card-content {
    position:relative;
    z-index:2;
}

/* REAL Adobe PDF flurry icon — white circle */
.rr-bulletin-card-icon {
    width:55px;
    height:55px;
    border-radius:50%;
    background:#fff; /* white circle */
    background-image:url('/wp-content/uploads/2026/09/PDF_file_icon.svg');
    background-size:60%;
    background-repeat:no-repeat;
    background-position:center;
    margin-bottom:20px;
}

/* example background image for bulletin 51P2 */
.rr-bulletin-bg-51p2 {
    background-image:url('https://redropedemo.wavdesign.com/wp-content/uploads/2026/09/bulletin-51p2-bg.jpg');
}

/* mobile adjustments */
@media (max-width:575px) {
    .rr-bulletin-card-bg {
        opacity:.15;
        background-position:center top;
    }
}

/* TRIP PLANNING PAGE */

/* PDF icon */
.rr-bullet-docs li a[href$=".pdf"]::after {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: 6px;
    background-image: url('/wp-content/uploads/2026/09/PDF_file_icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    top: 4px;
}

.rr-bullet-docs li a[href$=".docx"]::after {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: 6px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,\
        <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
            <rect x='0' y='0' width='24' height='24' rx='2' ry='2' fill='%236B9278'/>\
            <text x='12' y='15' font-size='8' text-anchor='middle' fill='white' font-family='Arial' font-weight='bold'>DOCX</text>\
        </svg>");
    position: relative;
    top: 4px;
}

.rr-bullet-docs li a[href$=".rtf"]::after {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: 6px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,\
        <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
            <rect x='0' y='0' width='24' height='24' rx='2' ry='2' fill='%236B9278'/>\
            <text x='12' y='15' font-size='8' text-anchor='middle' fill='white' font-family='Arial' font-weight='bold'>RTF</text>\
        </svg>");
    position: relative;
    top: 4px;
}

.rr-exttiny::after {
    content: "";
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    margin-left: 0.25rem;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    top: 2px; /* tiny downward nudge */
    background-image: url("data:image/svg+xml;utf8,\
        <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
            <path fill='%236B9278' d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3z'/>\
        </svg>");
}

/* Automatic tiny external arrow */
a[target="_blank"]:not(.rr-noext):not([href^="/"]):not([href*="redrope.org.uk"])::after {
    content: "";
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    margin-left: 0.25rem;
    position: relative;
    top: 2px;

    background-color: #00A651 ; /* std blue #0000EE; */

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3z'/%3E%3C/svg%3E") center/contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3z'/%3E%3C/svg%3E") center/contain no-repeat;
}
ul.rr-bullet.rr-icon-org {
    margin-left: 1.2em;
}

/* Remove external-link arrows from footer affiliation logos */
.rr-footer-affiliations-row a[target="_blank"]::after {
    content: none !important;
    display: none !important;
}

.rr-footer-affiliations-row .rr-aff-col img {
    background: #FFF;
}

.rr-bullet-org li::before, .rr-icon-org li::before {
    color: #2980B9;              /* BMC blue */
    content: "\f19c";            /* FA university icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    width: 1rem;                 /* ← adjust this value */
    display: inline-block;
}


/* ============================================================
   #41. MAP-CARD — right-side map + green gradient overlay
   ============================================================ */

.rr-map-card {
    position:relative;
    display:flex;
    background:#fff;
    border-radius:8px;
    border-top:6px solid var(--rr-green-sec);
    box-shadow:0 4px 12px rgba(0,0,0,.12);
    overflow:hidden;
    padding:0; /* split layout */
}

/* left content */
.rr-map-card-left {
    flex:1 1 40%;
    padding:15px;
    position:relative;
    min-height:100px;
    z-index:3;
    background: linear-gradient(
        to bottom left,
        rgba(208,240,208,1.00),
        rgba(180,220,180,0.05)
    );
    z-index: 2;
}

/* right map area */
.rr-map-card-right {
    flex:1 1 60%;
    position:relative;
    min-height:100px;
    overflow: hidden;
}


/* map background */
.rr-map-card-bg {
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    z-index:1;
}

/* green gradient overlay */
.rr-map-card-overlay {
    position:absolute;
    inset:0;
    background:linear-gradient(
        to bottom right,
        rgba(208,240,208,0.75),
        rgba(180,220,180,0.75)
    );
    z-index:2;
}

/* mobile collapse */
@media (max-width:768px) {
    .rr-map-card {
        flex-direction:column;
    }

    .rr-map-card-right {
        height:180px;
    }
}

.rr-map-banavie {
    background-image:url('/wp-content/uploads/2026/09/snowdon-map.png');
}

a.rr-file-pdf {
    background: #FFF;
    padding: 10px;
    border-radius: 6px;
    border-color:#FFF;
}

/* ============================================================
   #42. FEATURE CARDS  - Home Page
   ============================================================ */

.rr-card {
    background:#fff;
    padding:30px;
    border-radius:6px;
    border-top:6px solid var(--rr-green-sec);
    box-shadow:0 4px 12px rgba(0,0,0,.12);
    transition:transform .2s ease, box-shadow .2s ease;
}

/* equal-height explore cards (desktop/tablet) */
.rr-bootstrap .card.rr-card {
    min-height:330px;
}

/* mobile unclamp */
@media (max-width:575px) {
    .rr-bootstrap .card.rr-card {
        min-height:auto;
    }
}

/* mobile unclamp (immediately after clamp, as requested) */
@media (max-width:575px) {
    .rr-card {
        min-height:auto;
    }
}

.rr-card:hover {
    transform:translateY(-5px);
    box-shadow:0 8px 20px rgba(0,0,0,.18);
}

.rr-card-icon {
    width:55px;
    height:55px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    margin-bottom:20px;
    font-size:26px;
    color:#fff;
}

.rr-card-icon.red {
    background:var(--rr-red);
}

.rr-card-icon.green {
    background:var(--rr-green-sec);
}

.rr-card-icon.blue {
    background:var(--rr-blue);
}

.rr-card-icon.purple {
    background:var(--rr-purple);
}


 /* POST: Blog Styles */
 /* Add Home page-specific rules here */

.rr-post-block img.alignleft {
    margin: 0 1.5rem 1.5rem 0;
}

.rr-rounded {
    border-radius: 6px;
    overflow: hidden;
}

.wp-caption.alignleft {
    margin: 1rem 1.5rem 1.5rem 0;
}

@media (max-width: 767px) {
    .rr-post-block img.alignleft,
    .wp-caption.alignleft {
        margin: 0 0 1rem 0;
    }
}


 /* PAGE: HOME */
 /* Add Home page-specific rules here */
 
 .site-header {
    position: relative;
    z-index: 9999;
}

/* global style - used on home currently only */

/* ============================================================
   #43. SECTION-PADDING — fixes vertical spacing in rr-bootstrap sections
   ============================================================ */

.rr-bootstrap p {
    margin-bottom: 1rem;
}

.rr-bootstrap ul {
    margin-bottom: 1.25rem;
}

.rr-bootstrap .row {
    margin-bottom: 2rem !important;
}

.rr-bootstrap figure {
    margin-bottom: 1.25rem;
}

/* ============================
   #44. PAGE: ABOUT AND SUB PAGES
   ============================ */

.rr-governance-intro {
    margin-bottom: 1rem;
}

.rr-governance-intro .rr-section-header {
    margin-bottom: 1rem;
}

.rr-governance-intro .rr-lead {
    margin-bottom: 2rem;
}

/* GOVERNANCE – COLUMN SPACING */
.rr-governance-intro {
    gap: 1.5rem;
}


.rr-boxed-pair {
    margin-top: 1rem;
}

.rr-boxed {
    padding: 1.5rem;
    border-radius: 6px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    height: 100%;
}

.rr-boxed-title {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 58px;
    margin: 0 0 1.25rem 0;
    padding: 16px 18px;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 6px;
}

.rr-boxed-title-wrap {
    padding-top: 6em !important;
}

.rr-boxed-title i {
    margin-right: 0.6em;
}

.rr-governance-intro .rr-card-governance {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 30px;
}

.rr-governance-intro .rr-card-governance p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.rr-governance-intro .list-gov {
    margin-top: 0;
    margin-bottom: 1rem;
}

.rr-governance-intro .list-gov li {
    margin-bottom: 0.6rem;
}

.rr-governance-intro .list-gov li:last-child {
    margin-bottom: 0;
}

.rr-governance-intro .list-gov small {
    display: block;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.rr-governance-intro .rr-card-note {
    margin-top: 1rem;
}

.rr-governance-intro .rr-governance-archive {
    box-sizing: border-box;
    width: 100%;
    margin-top: 0;
    margin-bottom: 30px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .rr-governance-intro .rr-card-governance {
        margin-bottom: 25px;
    }
}
@media (max-width: 767px) {
    .rr-governance-intro .rr-card-governance {
        margin-bottom: 20px;
    }

    .rr-governance-intro .rr-boxed-title {
        min-height: 58px;
        margin-bottom: 1rem;
        padding: 16px 18px;
        font-size: 1.3rem;
        line-height: 1.4;
    }

    .rr-governance-intro .rr-boxed-title i {
        margin-right: 0.6em;
    }

    .rr-governance-intro .rr-card-governance p {
        margin-bottom: 0.9rem;
    }

    .rr-governance-intro .list-gov {
        padding-left: 1.3em;
    }

    .rr-governance-intro .list-gov li {
        margin-bottom: 0.7rem;
    }

    .rr-governance-intro .rr-governance-archive {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .rr-governance-intro .rr-card-governance {
        margin-bottom: 18px;
    }

    .rr-governance-intro .rr-boxed-title {
    min-height: 100px;
    padding: 16px 2px;
    font-size: 1.2rem;
    line-height: 1.4;
    }


    .rr-governance-intro .rr-boxed-title i {
        margin-right: 0.55em;
    }

    .rr-governance-intro .list-gov {
        padding-left: 1.2em;
    }
}

/* category class fixes - bulletins page under about */

.category-bulletins .ast-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.category-bulletins .ast-archive-description {
    padding-top: 0 !important;
}

/* Disable content-hover effects on resource cards */
.entry-content:hover .rr-card-resources,
.entry-content:hover .rr-card-resources a,
.site-main:hover .rr-card-resources a,
.ast-container:hover .rr-card-resources a {
    background: #F7E7C6 !important;
    border-top: 3px solid #6B9278 !important; /* force top bar to stay */
    color: inherit !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Resources pastel sand-gold card */
.rr-card-resources {
    background: #F7E7C6 !important;        /* RR pastel sand-gold */
    border-top: 3px solid #6B9278 !important; /* RR dark green top border */
    border-radius: .25rem;
    padding: 1.5rem !important;
    transition: transform .2s ease, box-shadow .2s ease;
}

/* Hover: keep appearance identical, only lift */
.rr-card-resources:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    border-top: 3px solid #6B9278 !important; /* lock top bar on hover */
}

/* Prevent global hover rules from altering resource-card links */
.rr-card-resources a {
    color: inherit !important;
    text-decoration: none !important;
    border: none !important;
    background: none !important;
}

/* Nuclear specificity: this WILL apply */
.rr-card.rr-card-resources h3 a,
.rr-card-resources h3 a,
.rr-card-resources h3 > a {
    display: inline-block !important;
    white-space: nowrap !important;
    letter-spacing: -0.5px !important;
    font-size: 1.15rem !important;
    line-height: 1.2 !important;
}

/* Icon alignment */
.rr-card-resources h3 a i {
    font-size: 1.1rem;
    margin: 0;
}

.rr-generic-link-card h3, .rr-generic-link-card-blue h3, .rr-generic-link-card-green h3 {
    margin-top: 0;
    margin-bottom: .75rem;
    letter-spacing: -0.6px !important;
}

.rr-generic-link-card h3 a,
.rr-generic-link-card-blue h3 a,
.rr-generic-link-card-green h3 a,
.rr-generic-link-card h3 a:visited,
.rr-generic-link-card-blue h3 a:visited,
.rr-generic-link-card-green h3 a:visited {
    text-decoration: none;
}

/* Keep the card heading colour consistent after visiting */
.rr-generic-link-card h3 a:visited {
    color: #6B9278;
}

.rr-generic-link-card-blue h3 a:visited {
    color: #2980B9;
}

.rr-generic-link-card-green h3 a:visited {
    color: #6B9278;
}

.entry-content .rr-generic-link-card a:visited,
.entry-content .rr-generic-link-card-blue a:visited,
.entry-content .rr-generic-link-card-green a:visited {
    color: inherit !important;
    text-decoration: none !important;
}

.entry-content .rr-generic-link-card h3 a:hover,
.entry-content .rr-generic-link-card-blue h3 a:hover,
.entry-content .rr-generic-link-card-green h3 a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.entry-content .rr-generic-link-card h3 a:hover,
.entry-content .rr-generic-link-card-blue h3 a:hover,
.entry-content .rr-generic-link-card-green h3 a:hover {
    color: color-mix(in srgb, currentColor 75%, black) !important;
    text-decoration: none !important;
}


/* double down */
.entry-content .rr-generic-link-card h3 a,
.entry-content .rr-generic-link-card h3 a:visited,
.entry-content .rr-generic-link-card h3 a:hover,
.entry-content .rr-generic-link-card h3 a:focus {
    color: inherit !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
}



/* ============================
   #45. PAGE: ACTIVITIES 
   ============================ */
   
/* ACTIVITIES GRID */

/* activity grid */
.rr-activities-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto 30px;
    max-width: 1200px;
}

/* activity grid children */
.rr-activities-grid > * {
    min-width: 0;
}

/* activity column */
.rr-activity-col {
    display: block;
    min-width: 0;
    width: 100%;
}

/* activity card */
.rr-activity-card {
    background-position: center;
    background-size: cover;
    border-radius: 6px;
    box-sizing: border-box;
    color: #fff !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
    padding: 24px;
    text-decoration: none !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    width: 100%;
}

/* activity card colours */
.rr-activity-card.rr_national {
    background-color: var(--rr-red);
}

.rr-activity-card.rr_diary {
    background-color: var(--rr-green-sec);
}

.rr-activity-card.rr_walking {
    background-color: var(--rr-green-prim);
}

.rr-activity-card.rr_climbing {
    background-color: var(--rr-blue);
}

.rr-activity-card.rr_events {
    background-color: var(--rr-orange-sec);
}

.rr-activity-card.rr_members {
    background-color: var(--rr-purple);
}

/* activity card hover */
.rr-activity-card:hover {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* activity card children */
.rr-activity-card * {
    text-decoration: none !important;
}

/* activity card icons */
.rr-activity-card i {
    color: #fff !important;
    display: block;
    font-size: 36px;
    margin-bottom: 12px;
}

/* activity card headings */
.rr-activity-card h3 {
    color: #fff !important;
    font-weight: 600;
    margin: 0 0 8px 0;
    padding: 0;
}

/* activity card text */
.rr-activity-card p {
    color: #fff !important;
    margin: 0;
    padding: 0;
}

/* mobile */
@media (max-width: 768px) {

    .rr-activities-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }
}

/* desktop card height */
@media (min-width: 1024px) {

    .rr-activity-card {
        min-height: 220px;
    }

}

/* SUB-PAGE - National Gathering */
/* Section header */
.rr-section-header {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.entry-content h1,
.entry-content h2, 
.entry-content h3 {
    margin-top: 1.5rem !important;
}

/* Lead first line */
.rr-lead::first-line {
    font-weight: 700;
}

/* Text spacing */
.rr-text-block {
    margin-bottom: 1rem;
}

/* Padding on text column (image right) */
.rr-pad-right {
    padding-right: 0.75rem !important;
}

.rr-section .rr-card-plain {
    padding: 1.25rem;
}

.ast-above-header-bar {
    border-bottom: none !important;
}

/* lmc huts*/

.rr-card-link-text {
    color: #6B9278;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.card:hover .rr-card-link-text {
    color: #6B9278;
    text-decoration: underline;
}

/* ============================================================
 #46.  RR BULLET MASTER LIBRARY (FINAL)
   - Uses your REAL bullet names
   - Colour applied via semantic colour classes
   - Perfect alignment (flex)
   - Boot / Mountain / Walking bullets
   - Solid / Outline / Ring circular bullets
   ============================================================ */

/* ============================================================
   1. BASE BULLET ENGINE (alignment + spacing)   - in error!!!!
   ============================================================ */

/* Region secondary colour */
.rr-region-green-sec li::before {
    color: var(--rr-green-sec);
}

/* Other semantic colours (for future use) */
.rr-region-blue-sec li::before {
    color: var(--rr-blue-sec);
}

.rr-region-brown-sec li::before {
    color: var(--rr-brown-sec);
}

.rr-region-red-sec li::before {
    color: var(--rr-red-sec);
}

.rr-region-sand-sec li::before {
    color: var(--rr-sand-sec);
}


/* ============================================================
   2. BOOT BULLET (your existing SVG boot)
   ============================================================ */

.rr-bullet-boot li::before {
    content: "";
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<path fill='var(--rr-green-sec)' d='M3 15l2-6 6-4 4 1 3 5 6 3v4H3z'/>\
</svg>");
}


/* ============================================================
   3. MOUNTAIN BULLET (FA Free)
   ============================================================ */

.rr-bullet-mountain li::before {
    content: "\f6fc"; /* fa-mountain */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
}


/* ============================================================
   4. WALKING BULLET (FA Free)
   ============================================================ */

.rr-bullet-walk li::before {
    content: "\f554"; /* fa-person-hiking */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
}


/* ============================================================
   5. CIRCULAR DOT BULLETS (SOLID / OUTLINE / RING)
   ============================================================ */

/* Solid dot */
.rr-bullet-dot-solid li::before {
    content: "\f111"; /* fa-circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .55rem;
}

/* Outline dot */
.rr-bullet-dot-outline li::before {
    content: "\f10c"; /* fa-circle-o */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .55rem;
}

/* Ring dot (double circle) */
.rr-bullet-dot-ring li::before {
    content: "\f192"; /* fa-dot-circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .75rem;
}

/* ============================================================
   6. HILL BULLET (FA Free)
   ============================================================ */

.rr-bullet-hill li {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.rr-bullet-hill li::before {
    content: "";
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%236B9278' d='M2 18 C5 13 8 11 11 12 C13 13 15 14.5 17 13.5 C19 12.5 21 13.5 22 18 Z'/><path fill='none' stroke='%23F7E7C6' stroke-width='1.4' stroke-linecap='round' d='M4 17 C7 15.5 9 15 11 15 C13 15 15 15.3 18 16.2'/></svg>");
}

/*  RR HANDSHAKE FA Free  */ 
/* H2 - handshake before heading */ 
.rr-handshake { 
    display: flex; 
    align-items: 
    center; 
    gap: 0.5em; 
}

h2.rr-bullet-handshake::before { 
    content: "\f2b5"; /* fa-handshake */ 
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; 
    font-size: 1rem; 
    position: absolute; 
    left: 0; 
    top: 0.1em; 
} 

/* Tables — subtle hairline borders and rounded corners */
figure.wp-block-table.rr-table-scroll.rr-table.rr-table-striped {
    border: none !important;
    border-radius: 6px !important;
    /*overflow: hidden !important;*/
}

figure.wp-block-table.rr-table-scroll.rr-table.rr-table-striped table {
    width: 100% !important;
    table-layout: fixed !important;
    border: 0.5px solid #e2e8e3 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

figure.wp-block-table.rr-table-scroll.rr-table.rr-table-striped th,
figure.wp-block-table.rr-table-scroll.rr-table.rr-table-striped td {
    border: 0.5px solid #e2e8e3 !important;
    box-shadow: none !important;
}

figure.wp-block-table.rr-table-scroll.rr-table.rr-table-striped th:first-child {
    border-top-left-radius: 5px !important;
}

figure.wp-block-table.rr-table-scroll.rr-table.rr-table-striped th:last-child {
    border-top-right-radius: 5px !important;
}

figure.wp-block-table.rr-table-scroll.rr-table.rr-table-striped tbody tr:last-child td:first-child {
    border-bottom-left-radius: 5px !important;
}

figure.wp-block-table.rr-table-scroll.rr-table.rr-table-striped tbody tr:last-child td:last-child {
    border-bottom-right-radius: 5px !important;
}

/* UL - rr-bullet-handshake */ 

ul.rr-bullet-handshake { list-style: none; 
padding-left: 0; } 

ul.rr-bullet-handshake li { 
    position: relative; 
    padding-left: 1.6em; 
    
} 

ul.rr-bullet-handshake li::before { 
    content: "\f2b5"; /* fa-handshake */ 
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; 
    font-size: 1rem; 
    position: absolute; 
    left: 0; 
    top: 0; 
}

/* ============================================================
   #48. Activity List — bullet colours + 2-column spans
   ============================================================ */

.rr-list-act {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rr-list-act li {
    align-items: flex-start;
    display: flex;
    gap: .75rem;
    margin-bottom: 1rem;
}

/* See Utils - for new Activity bullet colours */

/* Activity bullet */
.rr-list-act li::before {
    background-color: var(--rr-bullet-color);
    content: "";
    flex: 0 0 1.2rem;
    height: 1.2rem;
    margin-top: 5px;

    -webkit-mask: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<path d='M3 15l2-6 6-4 4 1 3 5 6 3v4H3z'/>\
</svg>") no-repeat center / contain;

    mask: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<path d='M3 15l2-6 6-4 4 1 3 5 6 3v4H3z'/>\
</svg>") no-repeat center / contain;
}

.rr-list-act li::before {
    margin-top: 5px;
}

/* Column 1: heading */
.rr-act-head {
    flex: 0 0 14rem;              /* fixed width column */
    display: block;
}

/* Column 2: body text */
.rr-act-body {
    flex: 1;                      /* fluid column */
    display: block;
    line-height: 1.45;
}

/* Column 1: Question */
.rr-faq-q {
    display: block;
    flex: 0 0 18rem;              /* wider column for long questions */
	font-weight: 700;
	line-height: 1.45;
}

/* Column 2: Answer */
.rr-faq-a {
    display: block;
    flex: 1;                      /* fluid column */
    display: block;
    line-height: 1.45;
}
/* ============================================================
   INFO BOX — FAQ LIST
   Targets Gutenberg List blocks inside rr-info-box.
   Removes standard bullets and provides vertical spacing.
   ============================================================ */

.rr-info-box ul.wp-block-list {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.rr-info-box ul.wp-block-list li {
    list-style: none;
    margin-bottom: 20px;
}

/* Remove Gutenberg / browser list markers */
.rr-info-box ul.wp-block-list li::marker {
    content: none;
}

/* Mobile spacing */
@media (max-width: 767px) {
    .rr-info-box ul.wp-block-list li {
        margin-bottom: 16px;
    }
}
/* ============================================================
   #49. RR COLOUR LIBRARY (applies to ANY bullet or heading)
   ============================================================ */

.rr-bullet-red li::before    { color: #CC0000; }
.rr-bullet-green li::before  { color: #6B9278; }
.rr-bullet-blue li::before   { color: #2980B9; }
.rr-bullet-sand li::before   { color: #F7E7C6; }
.rr-bullet-brown li::before  { color: #8B4513; }

.rr-heading-red { color: #CC0000; }
.rr-heading-green { color: #6B9278; }
.rr-heading-blue { color: #2980B9; }
.rr-heading-sand { color: #F7E7C6; }
.rr-heading-brown  { color: #8B4513; }

/* ============================================================
   #50. THEMATIC DOT BULLETS (walking / climbing / outdoors)
   ============================================================ */

/* Walking = RR green dot */
.rr-bullet-walking li::before {
    content: "\f111";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #6B9278;
}

/* Climbing = RR blue dot */
.rr-bullet-climbing li::before {
    content: "\f111";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #2980B9;
}

/* Outdoors = RR brown dot */
.rr-bullet-outdoors li::before {
    content: "\f111";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #8B4513;
}

/* MOBILE — REGION INTRO BLOCK (≤ 768px)  */

@media (max-width: 768px) {

    /* -----------------------------------------
       1. IMAGE ALIGNMENT FIX
       ----------------------------------------- */

    .rr-bootstrap .alignleft,
    .rr-bootstrap img.alignleft {
        float: none !important;
        display: block;
        margin: 0 auto 1rem auto !important;
        max-width: 100% !important;
        height: auto !important;
    }

    /* -----------------------------------------
       2. REGION INTRO PARAGRAPHS
       ----------------------------------------- */

    .rr-bootstrap .rr-region-intro p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem;
        color: var(--rr-brown-sec);
    }

    /* -----------------------------------------
       3. REGION NOTICE BLOCK
       ----------------------------------------- */

    .rr-region-notice {
        background: var(--rr-sand-sec);
        border-left: 4px solid var(--rr-green-sec);
        padding: 0.75rem 1rem;
        margin: 1rem 0;
        font-size: 0.95rem;
        line-height: 1.45;
        color: var(--rr-brown-sec);
    }

    /* -----------------------------------------
       4. CONTACT EMAIL
       ----------------------------------------- */

    .rr-region-contact-email {
        font-size: 1rem;
        font-weight: 600;
        color: var(--rr-green-sec);
        margin: 1rem 0;
        word-break: break-word;
    }

    .rr-region-contact-email a {
        color: var(--rr-green-sec);
        text-decoration: none;
        word-break: break-all;
    }

/* force - success responce */
	.wpcf7-response-output {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.rr-contact-panel .rr-contact-detail {
    white-space: nowrap;
}

/* Committee contacts table */
.rr-table-striped {
    border: 1px solid #e2e8e3;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 6px;
    overflow: hidden;
}

.rr-table-striped th,
.rr-table-striped td {
    border: 0.5px solid #e2e8e3;
}

.wp-block-table.rr-table-scroll table.rr-table.rr-table-striped {
    border: 1px solid #e2e8e3 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 6px !important;
    overflow: hidden;
}

.wp-block-table.rr-table-scroll table.rr-table.rr-table-striped th,
.wp-block-table.rr-table-scroll table.rr-table.rr-table-striped td {
    border: 1px solid #e2e8e3 !important;
}


    /* -----------------------------------------
       5. EXTERNAL LINK (Coventry & Warwickshire site)
       ----------------------------------------- */

    .rr-region-extlink a {
        display: inline-block;
        font-size: 1rem;
        margin: 0.5rem 0 1rem 0;
        color: var(--rr-blue-sec);
        word-break: break-all;
    }
/* PANEL WRAPPER */
.rr-form-panel {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* HIT THE REAL CF7 FORM CLASS */
.rr-form-panel .wpcf7-form {
    background: #E8F4E3 !important;  /* RR light green */
    border-radius: 6px;
    padding: 2rem !important;
}

/* KEEP IT HALF WIDTH AND LEFT-ALIGNED INSIDE THE COL */
.rr-form-panel .wpcf7 {
    text-align: left !important;
}

/* MOBILE TWEAK */
.rr-form-panel .wpcf7-form {
    padding: 1.25rem !important;
}



    /* -----------------------------------------
       7. SPACING CLEANUP
       ----------------------------------------- */

    .rr-bootstrap .rr-region-intro > * {
        margin-bottom: 1rem;
    }
}



/* MOBILE — UNIVERSAL RESPONSIVE FIXES (≤ 768px) */

@media (max-width: 768px) {


    /* -----------------------------------------
       2. RR BULLET LISTS
       ----------------------------------------- */

    .rr-bullet li {
        gap: 0.45rem;                 /* tighter spacing */
        margin-bottom: 0.45rem;
        line-height: 1.45;
        flex-wrap: wrap;              /* prevents overflow */
    }

    .rr-bullet li::before {
        width: 0.9rem;                /* slightly smaller icons */
        height: 0.9rem;
    }

    /* long text wraps cleanly */
    .rr-bullet li span,
    .rr-bullet li {
        word-break: break-word;
    }


    /* -----------------------------------------
       3. RR IMAGES
       ----------------------------------------- */

    .rr_content-image img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }

    .rr_content-image {
        margin-bottom: 1.25rem;
        text-align: center;
    }


    /* -----------------------------------------
       4. RR COLUMNS (Bootstrap 4 override)
       ----------------------------------------- */

    /*
    .row > [class*="col-"] {
        margin-bottom: 1.25rem;
    }

    .rr-bootstrap .col-md-4,
    .rr-bootstrap .col-md-8 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    */
	
    /* -----------------------------------------
       5. RR TYPOGRAPHY (mobile tightening)
       ----------------------------------------- */

    .rr-bootstrap p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    .rr-bootstrap p {
        overflow-wrap: break-word;
        word-break: break-word;
    }


    .rr-bootstrap h1 {
        font-size: 1.6rem;
        line-height: 1.25;
    }

    .rr-bootstrap h2 {
        font-size: 1.35rem;
        line-height: 1.3;
    }

    .rr-bootstrap h3 {
        font-size: 1.15rem;
        line-height: 1.3;
    }

    .rr-bootstrap h4,
    .rr-bootstrap h5,
    .rr-bootstrap h6 {
        font-size: 1rem;
        line-height: 1.3;
    }


    /* -----------------------------------------
       6. RR SPACING CLEANUP
       ----------------------------------------- */

    .rr-bootstrap figure {
        margin-bottom: 1rem;
    }

    .rr-bootstrap ul {
        margin-bottom: 1rem;
    }

    .rr-bootstrap p + ul {
        margin-top: 0.5rem;
    }
}

/* ============================================================
   #51. ASTRA RESET (unrelated but required)
   ============================================================ */

.rr-icon-tile,
.rr-icon-tile ul,
.rr-icon-tile li {
    list-style: none !important;
    padding-left: 0 !important;
}

.rr-icon-tile li::marker {
    content: "" !important;
}

/* National Trips*/
.rr-intro-box,
.rr-info-box {
    background: #f8f9fa;
    border-left: 4px solid #5cb85c;
    border-radius: .25rem;
}

/* LMC Huts */
.rr-intro-box-plain {
    background: #f8f9fa;
    border-radius: .25rem;
}

.rr-bullet-list {
    list-style: none;
    padding-left: 0;
}

.rr-bullet-list li {
    margin-bottom: .5rem;
}

.rr-bullet-list i {
    color: #5cb85c;
    margin-right: .5rem;
}

.rr-table-scroll {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.rr-table {
    width: 100%;
    border-collapse: collapse;
}

.rr-table td {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}

.rr-date {
    width: 20%;
    font-weight: bold;
}

/* target viewbox on very large featured image */
.page-id-199 img.attachment-large.size-large.wp-post-image {
    height: 400px !important;
    overflow: hidden !important;
    position: relative !important;
}


/* 
target viewbox on very large featured images 
*/
.page-id-199 img.attachment-large.size-large.wp-post-image
 {
    height: 400px !important;
    overflow: hidden !important;
    position: relative !important;
}

/* PAGE-SPECIFIC LETTERBOX CROP FOR FEATURED IMAGE */
.page-id-61 .ast-single-post-featured-section.post-thumb.ast-article-image-container--wide {
    height: 400px !important;              /* exact letterbox height */
    overflow: hidden !important;           /* crop the excess */
    position: relative !important;
}

/* Featured image behaviour inside the crop */
.page-id-61 .ast-single-post-featured-section.post-thumb.ast-article-image-container--wide img.attachment-large.size-large.wp-post-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;          /* crop instead of squash */
    object-position: center center !important; /* centre on the people */
    display: block !important;
}

@media (min-width: 922px) {
    .ast-no-sidebar .site-content .ast-article-image-container--wide {
        margin-left: -120px;
        margin-right: -120px;
        max-width: unset;
        width: unset;
        height: 400px !important;      /* fixed letterbox */
        overflow: hidden !important;   /* clip overflow */
    }

    .ast-no-sidebar .site-content .ast-article-image-container--wide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;      /* crop instead of squash */
        object-position: center center !important; /* centre on people */
        display: block !important;
    }
}

.rr-slice-400 {
    height: 400px !important;
    overflow: hidden !important;
    position: relative !important;
}

.rr-slice-400 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* membership charges */

.rr-table-scroll {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.rr-table {
    width: 100%;
    border-collapse: collapse;
}

.rr-table th,
.rr-table td {
    padding: .75rem;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.rr-table th {
    background: #f3f7f3;
    font-weight: bold;
}

/* Tighten governance intro section */
.rr-governance-intro {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove row padding around the two cards */
.rr-boxed-pair1 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove Astra padding inside rr-bootstrap for this block */
.rr-bootstrap.rr-governance-intro {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Pricing grid */
.rr-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 0.75rem;
    margin: 1rem 0;
}

.rr-pricing-grid div {
    padding: 0.25rem 0;
}

/* Footer note */
.rr-note {
    font-size: 0.9rem;
    opacity: 0.85;
}
   
/* ============================================================
   #52. SECTION -  outer spacing, framed blocks, inner tint boxes
   ============================================================ */

 /* section box */
.rr-section {
    margin: 0.5rem 0; /* vertical spacing between sections */
}

 /* inner tinted box */
.rr-section-inner {
    background: var(--rr-grey-verylight); /* unified frame tint */
    padding: 0 1.5rem; /* consistent inner spacing */
    border-radius: 6px; /* inner radius */
}

.rr-section-inner .row:first-child {
    margin-top: 0 !important;
}

.rr-section-inner .row:first-child h3 {
    margin-top: 0 !important;
}

 /* framed content section */
.rr-content-frame {
    background: var(--rr-grey-verylight); /* unified frame tint */
    padding: 0.5em 0 1em 1em;
    border-radius: 6px; 
    margin: 0; /* spacing above/below framed blocks - too much in the cascade */
}

 /* mobile + tablet adjustments */
@media (max-width: 991px) {
    .rr-content-frame {
        padding: 30px 0 30px 0; /* tighter on tablet */
        margin: 0;
    }

    .rr-section-inner {
        padding: 0 1.25rem; /* reduce inner padding */
    }
}

@media (max-width: 575px) {
    .rr-content-frame {
        padding: 14px 4px; /* tighter on mobile */
        border-radius: 6px;
        margin: 0 4px 24px 4px;
    }

    .rr-section-inner {
        padding: 0 0.8rem; /* tighter inner spacing */
        border-radius: 6px;
    }
}

/* Bootstrap column layout section */
.rr-section-inner-bslayout {
    background: var(--rr-grey-verylight);
    padding: 1.5rem;
    border-radius: 8px;
}

.rr-section-inner-bslayout .row {
    display: flex;
    flex-wrap: wrap;
}

.rr-section-inner-bslayout .rr-join-card {
    height: 100%;
}

@media (max-width: 991px) {
    .rr-section-inner-bslayout {
        padding: 1.25rem;
    }
}

@media (max-width: 575px) {
    .rr-section-inner-bslayout {
        padding: 1rem;
        border-radius: 6px;
    }
}

/* special ltgrey highlight for special pages */
.rr-boxed {
    background: #fafafa;
    border-radius: 6px;
    padding-top: 1rem;      /* added top padding */
}

/* Crop bottom of left image only */
.rr-region-buttons .row > .col-md-6:nth-child(1) img {
    height: 406px !important;             
    width: 100%;
    object-fit: cover;          /* crops bottom */
    object-position: top;       /* keeps top visible */
    border-radius: 6px;         /* optional */
}


/* ============================================================
   REGION PAGE — STACK ACTIVITY LIST ON MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .rr-region .rr-list-act li {
        display: block;
    }

    .rr-region .rr-list-act .rr-act-head,
    .rr-region .rr-list-act .rr-act-body {
        display: block;
        width: 100%;
    }

    .rr-region .rr-list-act .rr-act-head {
        margin-bottom: 6px;
    }

}

/* SUB PAGE Diary */

/* ============================================================
   REGIONAL EVENTS – ROUNDED PANELS
   ============================================================ */

.rr-region-panel {
    padding: 20px;
    margin-bottom: 20px;
    background: #f5f8f5;
    border: 1px solid #dce8dd;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Region headings */
.entry-content .wp-block-column .rr-region-panel h3 {
    margin-top: 0 !important;
    margin-bottom: 10px;
}

/* Linked region headings */
.entry-content .wp-block-column .rr-region-panel h3 a {
    color: #52765b;
    text-decoration: none;
}

.entry-content .wp-block-column .rr-region-panel h3 a:hover {
    text-decoration: underline;
}

/* Panel descriptions */
.rr-region-panel p:last-child {
    margin-bottom: 0;
}

/* Regional panels – consistent height and spacing */
.rr-region-panel {
    min-height: 155px;
    padding: 20px 26px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

/* Space the regional panels across both columns */
.rr-region-panel {
    min-height: 155px;
    padding: 20px 26px !important;
    margin-bottom: 20px;
    box-sizing: border-box;
}

/* Give the two columns some breathing room */
.entry-content .wp-block-columns {
    column-gap: 24px !important;
}

.page-id-199 .post-thumb,
.page-id-199 .ast-post-featured-img {
    display: none !important;
}

.rr-bootstrap .rr-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e1e1e1;
    border-radius: .25rem;
    padding: .5rem;
    background: #fff;
}

.rr-bootstrap .rr-table td {
    padding: .75rem;
    border-bottom: 1px solid #e1e1e1;
    vertical-align: top;
}

.rr-bootstrap .rr-table a i {
    margin-right: 6px;
    color: #5cb85c;
    opacity: 0.85;
}

/* RR green table background */
.rr-bootstrap .rr-table-green {
    background: #e6f4e6;
    border-radius: .25rem;
    padding: .5rem;
}

/* Table cells */
.rr-bootstrap .rr-table td {
    padding: .75rem;
    border-bottom: 1px solid #c8e3c8;
    vertical-align: top;
}

/* Icons */
.rr-bootstrap .rr-table a i {
    margin-right: 6px;
    color: #5cb85c;
    opacity: 0.85;
}

 /* PAGE: REGIONS */
 /* Add Regions page-specific rules here */
 /* ============================================================
   REGION BUTTONS — RESPONSIVE FLEXBOX
   ============================================================ */

/* ------------------------------------------------------------
   Each region is a two-part row on tablet/desktop
   ------------------------------------------------------------ */

.rr-bootstrap.rr-region-buttons .rr-region-item {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;

    width: 100%;
    margin-bottom: 1rem;
}


/* ------------------------------------------------------------
   REGION NAME / BUTTON
   ------------------------------------------------------------ */

.rr-bootstrap.rr-region-buttons .rr-region-item > a {
    display: block;

    flex: 0 0 14rem;
    width: 14rem;
    min-width: 0;

    margin: 0;
}


.rr-bootstrap.rr-region-buttons .rr-region-name {
    display: block;

    width: 100%;
    min-width: 0;

    background: #e8f4e8;
    color: #2f4f2f;

    padding: .75rem 1rem;

    border-radius: .25rem;

    font-weight: 600;
    line-height: 1.2;
    text-align: center;

    /* Allow long names to wrap */
    white-space: normal;
    overflow-wrap: break-word;

    /* Let height grow naturally */
    height: auto;
}


/* ------------------------------------------------------------
   REGION DESCRIPTION
   ------------------------------------------------------------ */

.rr-bootstrap.rr-region-buttons .rr-region-desc {
    display: block;

    flex: 1 1 auto;
    min-width: 0;

    padding-left: .75rem;

    line-height: 1.35;

    overflow-wrap: break-word;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 767.98px) {

    .rr-bootstrap.rr-region-buttons .rr-region-item > a {
        flex-basis: 12rem;
        width: 12rem;
    }

    .rr-bootstrap.rr-region-buttons .rr-region-name {
        font-size: .95rem;
    }

}

/* Space between region descriptions */
.rr-bootstrap.rr-region-buttons .rr-region-desc {
    margin-bottom: 2.0rem;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 575.98px) {

    /* Stack the button and description */
    .rr-bootstrap.rr-region-buttons .rr-region-item {
        display: block;
        width: 100%;
    }

    /* Region button becomes full width */
    .rr-bootstrap.rr-region-buttons .rr-region-item > a {
        display: block;

        width: 100%;
        max-width: 100%;

        margin-bottom: .35rem;
    }

    .rr-bootstrap.rr-region-buttons .rr-region-name {
        display: block;

        width: 100%;
        min-width: 0;

        padding: .65rem .75rem;

        font-size: .95rem;
        line-height: 1.25;

        height: auto;

        white-space: normal;
        overflow-wrap: break-word;
    }

    /* Description underneath button */
    .rr-bootstrap.rr-region-buttons .rr-region-desc {
        display: block;

        width: 100%;
        padding-left: 0;

        font-size: .95rem;
        line-height: 1.35;
    }

}



 /* PAGE: LATEST NEWS */
 /* Add Latest News page-specific rules here */
 



 /* PAGE: CONTACT PAGE */
 /* Add Contact page-specific rules here */
 
 
/* soft background panel */
.rr-contact-panel {
    background: --rr-grey-light;
    border-radius: 6px;
    padding: 0.5rem;     
    margin-bottom: 1.5rem;
}

/* CONTACT PANEL — MOBILE OVERRIDE */
@media (max-width: 767px) {
    
    .rr-contact-panel {
        padding: 1rem 0 ;    
        margin-bottom: 1rem;
    }
}

/* Outer panel spacing */
.rr-form-panel {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Allow contact panel to use full available width */

.entry-content .rr-contact-panel {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

/* Remove Gutenberg's inner content-width restriction */
.entry-content .rr-contact-panel > .rr-list-join {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
@media (max-width: 767px) {

    .rr-contact-panel .rr-list-join li {
        display: block;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .rr-contact-panel .rr-list-join .rr-bullet {
        display: inline-block;
        width: 24px;
        text-align: left;
    }

    .rr-contact-panel .rr-list-join .rr-label {
        display: inline;
    }

    .rr-contact-panel .rr-list-join li a {
        display: block;
        margin-left: 24px;
        overflow-wrap: anywhere;
    }
}

.rr-contact-panel .rr-list-join li a[href^="/contact-us/"]:hover {
    text-decoration: underline !important;
}


/* Background + padding on wrapper OUTSIDE the grid */
.rr-form-wrap {
    background: #d8f5d0 !important;
    padding: 2rem !important;
    border-radius: 8px;
}

/* CF7 form alignment fix */
.rr-form-wrap .wpcf7-form {
    text-align: left !important;
}

/* constrain contact form */
.rr-form-wrap {
    max-width: 480px;
    margin: 0;
    padding: 0;
}

/* Center all text inside the form */
.rr-form-wrap .wpcf7-form {
    text-align: center !important;
}

/* Center all text inside the form */
.rr-form-wrap .wpcf7-form {
    text-align: center !important;
}

/* Center the input fields and textarea */
.rr-form-wrap .wpcf7-form-control {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Make inputs fill the available width neatly */
.rr-form-wrap input.wpcf7-form-control,
.rr-form-wrap textarea.wpcf7-form-control {
    width: 100% !important;
    max-width: 100% !important;
}

/* Center the submit button */
.rr-form-wrap input.wpcf7-submit {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Center the labels */
.rr-form-wrap .wpcf7-form p {
    text-align: center !important;
}

/* Center the span wrapper that holds each field */
.rr-form-wrap .wpcf7-form-control-wrap {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* Center the actual input + textarea */
.rr-form-wrap .wpcf7-form-control {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center the submit button */
.rr-form-wrap input.wpcf7-submit {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center the input fields themselves */
.rr-form-wrap .wpcf7-form-control {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Make inputs a nice width when centred */
.rr-form-wrap input.wpcf7-form-control,
.rr-form-wrap textarea.wpcf7-form-control {
    max-width: 100%;
    width: 100%;
}

/* Center the submit button */
.rr-form-wrap input.wpcf7-submit {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.rr-form-wrap form {
    width: 100%;
    text-align: left;
}

/* ============================================================
   #53. CONTACT FORM
   ============================================================ */

/* Form block */
.rr-contact-page .rr-contact-form {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    width: 100%;
}

/* Form panel */
.rr-contact-page .rr-form-panel {
    width: 100%;
}

/* Contact Form 7 */
.rr-contact-page .wpcf7 {
    max-width: none;
    width: 100%;
}

.rr-contact-page .wpcf7-email,
.rr-contact-page .wpcf7-text,
.rr-contact-page .wpcf7-textarea {
    max-width: none !important;
    width: 100% !important;
}

.rr-contact-page .wpcf7-form {
    max-width: none;
    width: 100%;
}

.rr-contact-page .wpcf7-form-control:not(.wpcf7-submit) {
    box-sizing: border-box;
    display: block;
    max-width: none;
    width: 100%;
}

.rr-contact-page .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.rr-contact-page .wpcf7-submit {
    max-width: none;
    width: auto;
}

.rr-contact-page .wpcf7-textarea {
    min-height: 220px;
}


/* Form labels */
.rr-contact-page .wpcf7-form > p {
    font-weight: 600;
}

.rr-contact-page .wpcf7-form input[type="email"],
.rr-contact-page .wpcf7-form input[type="text"],
.rr-contact-page .wpcf7-form textarea {
    border-radius: 6px;
    font-weight: 500;
    padding: 10px;
}


/* Send button */
.rr-contact-page .wpcf7-form input[type="submit"] {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: 12px 28px;
    transition: opacity .2s ease;
}

.rr-contact-page .wpcf7-form input[type="submit"]:hover {
    opacity: 0.85;
}


 /* PAGE: MEMBERS */
 /* Add Members page-specific rules here */
 

 /* PAGE: JOIN */
/* remove underline normally */
.rr-link-button {
    text-decoration: none !important;
    padding: 6px 12px 6px 12px;
}

/* show underline on hover */
.rr-link-button:hover {
    text-decoration: underline !important;
}

/* ============================================================
   MEMBERSHIP LIST
   ============================================================ */

/* membership items */
.rr-list.rr-list-membership li {
    align-items: flex-start;
    padding-left: 0;
}

/* membership text */
.rr-list.rr-list-membership .rr-list-text {
    flex: 1 1 auto;
    min-width: 0;
}

/* fix padding constrint on mobile */
@media (max-width: 767px) {
    .entry-content > .wp-block-columns {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ============================================================
   RR LIST MOB — MOBILE ONLY
   ============================================================ */

@media (max-width: 575px) {

    .rr-list.rr-list-mob {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .rr-list.rr-list-mob li {
        gap: 0;
        padding-left: 0;
        padding-right: 0;
    }

    /* mobile list item */
    .rr-list.rr-list-mob li {
        align-items: flex-start;
        display: grid;
        gap: 0;
        grid-template-columns: 4fr 8fr;
        padding-left: 0;
    }

    /* icon column */
    .rr-list.rr-list-mob .rr-list-icon-col {
        align-items: flex-start;
        display: flex;
        justify-content: flex-start;
        margin: 0;
        padding: 0;
        width: 100%;
    }
}

/* GOVERNMENT / POLICY BULLET (FA5 FREE SCROLL) */
ul.list-gov li.rr-bullet {
    position: relative;
    padding-left: 1.6rem; /* space for icon */
}

ul.list-gov li.rr-bullet::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900; /* solid */
    content: "\f70e"; /* fa-scroll */
    position: absolute;
    left: 0;
    top: 0.15rem;
    color: var(--rr-green-sec); /* your RR green */
    font-size: 1.25rem;   /* FIX: scale up to match text */
    font-size: 1rem;
}


/* Join card buttons — WCAG compliant white text */
/* ============================================================
   #54. rr-join-card — membership background + WCAG-safe text
   ============================================================ */

.rr-join-card {
    background: var(--rr-membership, #FFF4D6) !important; /* your membership colour */
    border-radius: 10px;
    padding: 1.5rem;
    margin: 0 0.4rem 1rem;
    color: #333 !important; /* WCAG AA soft charcoal */
}

/* Text inside the card */
.rr-join-card h3,
.rr-join-card h4,
.rr-join-card p,
.rr-join-card li {
    color: #333 !important;
}

/* Buttons inside join cards */
.rr-join-card .rr-link-button,
.rr-join-card .rr-btn,
.rr-join-card .btn {
    background-color: #CC0000 !important; /* RR red */
    color: #FFF !important;               /* WCAG AA white */
    font-weight: 600;
    border-radius: 6px;
}

/* Hover */
.rr-join-card .rr-link-button:hover,
.rr-join-card .rr-btn:hover,
.rr-join-card .btn:hover {
    background-color: #b30000 !important;
    color: #FFF !important;
}

/* RED */
.rr-bullet-safety.rr-list-red li::before,
.rr-bullet-docs.rr-list-red li::before,
.rr-bullet-kit.rr-list-red li::before,
.rr-bullet-roles.rr-list-red li::before,
.rr-bullet-finance.rr-list-red li::before,
.rr-bullet-route.rr-list-red li::before,
.rr-bullet-care.rr-list-red li::before,
.rr-bullet-food.rr-list-red li::before {
    color: var(--rr-red);
}

/* GREEN */
.rr-bullet-safety.rr-list-green li::before,
.rr-bullet-docs.rr-list-green li::before,
.rr-bullet-kit.rr-list-green li::before,
.rr-bullet-roles.rr-list-green li::before,
.rr-bullet-finance.rr-list-green li::before,
.rr-bullet-route.rr-list-green li::before,
.rr-bullet-care.rr-list-green li::before,
.rr-bullet-food.rr-list-green li::before {
    color: var(--rr-green-sec);
}

/* BLUE */
.rr-bullet-safety.rr-list-blue li::before,
.rr-bullet-docs.rr-list-blue li::before,
.rr-bullet-kit.rr-list-blue li::before,
.rr-bullet-roles.rr-list-blue li::before,
.rr-bullet-finance.rr-list-blue li::before,
.rr-bullet-route.rr-list-blue li::before,
.rr-bullet-care.rr-list-blue li::before,
.rr-bullet-food.rr-list-blue li::before {
    color: var(--rr-blue);
}

/* PURPLE */
.rr-bullet-safety.rr-list-purple li::before,
.rr-bullet-docs.rr-list-purple li::before,
.rr-bullet-kit.rr-list-purple li::before,
.rr-bullet-roles.rr-list-purple li::before,
.rr-bullet-finance.rr-list-purple li::before,
.rr-bullet-route.rr-list-purple li::before,
.rr-bullet-care.rr-list-purple li::before,
.rr-bullet-food.rr-list-purple li::before {
    color: var(--rr-purple);
}

/* ORANGE */
.rr-bullet-safety.rr-list-orange li::before,
.rr-bullet-docs.rr-list-orange li::before,
.rr-bullet-kit.rr-list-orange li::before,
.rr-bullet-roles.rr-list-orange li::before,
.rr-bullet-finance.rr-list-orange li::before,
.rr-bullet-route.rr-list-orange li::before,
.rr-bullet-care.rr-list-orange li::before,
.rr-bullet-food.rr-list-orange li::before {
    color: var(--rr-orange);
}

/* join page */
/* JOIN + MEMBERSHIP bullets */
ul.rr-list-join .rr-bullet {
    color: var(--rr-green-sec) !important;
}

/* AFFILIATION bullets */
ul.rr-list-affiliation .rr-bullet {
    color: var(--rr-green-sec) !important;
}

/* DISCOUNTS bullets */
ul.rr-list-discounts .rr-bullet {
    color: var(--rr-green-sec) !important;
}

/* JOIN list */
ul.rr-list-join li::before {
    color: var(--rr-green-sec);
}

/* MEMBERSHIP list */
ul.rr-list-membership li::before {
    color: var(--rr-red);
}

/* AFFILIATION list */
ul.rr-list-affiliation li::before {
    color: var(--rr-blue);
}

/* DISCOUNTS list */
ul.rr-list-discounts li::before {
    color: var(--rr-orange);
}

/* =========================================
   #54B NEW Handshake - For Gatherings
   Use on H2 and UL LI elements
   ========================================= */

.rr-handshake {
    position: relative;
}

/* H2 - handshake before heading */
.rr-handshake {
    padding-left: 1.6em;
}

h2.rr-handshake::before {
    content: "\f2b5";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.05em;
}




/* ============================================================
   #55. ICON COLOURS
   ============================================================ */
   
.rr-icon-red {
    color: var(--rr-red);
}

.rr-icon-green {
    color: var(--rr-green-sec);
}

.rr-icon-blue {
    color: var(--rr-blue);
}

.rr-icon-purple {
    color: var(--rr-purple);
}


/* ============================================================
   RR ICON BACKGROUND COLOURS
   ------------------------------------------------------------
   Used where an icon/container needs a coloured background.
   ============================================================ */

.rr-icon-red-bg {
    background: var(--rr-red);
}

.rr-icon-green-bg {
    background: var(--rr-green-sec);
}

.rr-icon-blue-bg {
    background: var(--rr-blue);
}

.rr-icon-purple-bg {
    background: var(--rr-purple);
}

.rr-icon-orange-bg {
    background: var(--rr-orange);
}


ul li.rr-icon-red::before {
    color: var(--rr-red);
}

ul li.rr-icon-green::before {
    color: var(--rr-green-sec);
}

ul li.rr-icon-blue::before {
    color: var(--rr-blue);
}

ul li.rr-icon-purple::before {
    color: var(--rr-purple);
}


/* RR Marker */
.rr-marker {
    margin-bottom:20px; padding:18px 20px;
    background:#e8f6e8; border:2px solid #1f7a1f;
}
.rr-marker h3 {
    margin:0 0 8px; font-size:19px;
    font-weight:700; color:#1f7a1f;
}
.rr-marker p { 
    margin:0; 
    font-size:15px; 
    
}

/* RR Split */
.rr-split {
    display:flex; margin-bottom:24px;
    box-shadow:0 4px 12px rgba(0,0,0,.1);
}
.rr-split-left {
    display:flex; align-items:center;
    width:120px; padding:20px;
    background:#EB0E0E; color:#fff;
    font-size:18px; font-weight:700;
}
.rr-split-right {
    flex:1; padding:20px; background:#f8fff8;
}

.rr-split-right p { 
    margin:0; 
    font-size:15px; 
    
}

/* RR Activities Grid */
.row.rr_activities-grid, .row.rr-activities-grid{
    margin-top:10px; margin-bottom:30px;
}

.row.rr_activities-grid .rr_activity-card, .row.rr-activities-grid .rr-activity-card {
    display:flex; flex-direction:column;
    justify-content:center;
    height:170px; 
    padding:5px;
    margin-bottom:30px; 
    border-radius:6px;
    color:#fff; 
    text-decoration:none;
    transition:all .2s ease;
}
.row.rr_activities-grid .rr_activity-card:hover, .row.rr-activities-grid .rr-activity-card:hover {
    transform:translateY(-5px);
    box-shadow:0 8px 18px rgba(0,0,0,.2);
}

/* ----------------------------------------------------------
   #56. ACTIVITY CARD ICONS – INLINE-FLEX, NO ABSOLUTE
   ---------------------------------------------------------- */

.rr-activities-grid .rr-activity-card h3 {
    display: inline-flex;
    align-items: center; /* perfect vertical alignment */
    gap: 8px;            /* spacing between icon and text */
}

/* base icon style */
.rr-activities-grid .rr-activity-card h3:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 18px;
    color: inherit;      /* no forced colour */
    line-height: 1;      /* keeps icon tidy */
}

/* National Trips – fa-map */
.rr-activities-grid .rr_national h3:before {
    content: "\f279";
}

/* Diary – fa-calendar */
.rr-activities-grid .rr_diary h3:before {
    content: "\f133";
}

/* Walking – fa-person-hiking */
.rr-activities-grid .rr_walking h3:before {
    content: "\f6ec";
}

/* Climbing – fa-mountain */
.rr-activities-grid .rr_climbing h3:before {
    content: "\f6fc";
}

/* Other Events – fa-star */
.rr-activities-grid .rr_events h3:before {
    content: "\f005";
}

/* Committee Stuff – fa-users */
.rr-activities-grid .rr_members h3:before {
    content: "\f0c0";
}

.committee-minutes a[href$=".pdf"]::before {
    content: "\f1c1";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 0.35em;
}

.committee-minutes h2 {
    color: #5969a0;
    margin-top: 2.2em;
    margin-bottom: 1em;
    padding-bottom: 0.35em;
    border-bottom: 3px double #5969a0;
}


/* ============================================================
   #57 . OTHER UTILS
   ============================================================ */

/* Activity bullet colours */
ul.rr-climbing { --rr-bullet-color: var(--rr-orange-sec); }
ul.rr-diary    { --rr-bullet-color: var(--rr-green-sec); }
ul.rr-events   { --rr-bullet-color: var(--rr-purple); }
ul.rr-members  { --rr-bullet-color: var(--rr-color-default); }
ul.rr-national { --rr-bullet-color: var(--rr-blue); }
ul.rr-walking  { --rr-bullet-color: var(--rr-color-brown); }


/* Apply activity colour to every type of bullet */
ul.rr-climbing li::marker,
ul.rr-diary li::marker,
ul.rr-events li::marker,
ul.rr-members li::marker,
ul.rr-national li::marker,
ul.rr-walking li::marker,
ul.rr-climbing li > i,
ul.rr-diary li > i,
ul.rr-events li > i,
ul.rr-members li > i,
ul.rr-national li > i,
ul.rr-walking li > i,
ul.rr-climbing li > svg,
ul.rr-diary li > svg,
ul.rr-events li > svg,
ul.rr-members li > svg,
ul.rr-national li > svg,
ul.rr-walking li > svg {
    color: var(--rr-bullet-color);
}

/* SVGs that use fill rather than color */
ul.rr-climbing li > svg,
ul.rr-diary li > svg,
ul.rr-events li > svg,
ul.rr-members li > svg,
ul.rr-national li > svg,
ul.rr-walking li > svg {
    fill: currentColor;
}

.rr-rounded { border-radius:8px; }

.rr-shadow  { box-shadow:0 4px 12px rgba(0,0,0,.15); }


/* ============================================================
   #58. REGIONS 
   ============================================================ */

.uk-map svg {
    width:100%; max-width:650px; height:auto;
}

.uk-map .region {
    fill:#ccc; stroke:#333; stroke-width:2;
    transition:fill .2s ease, stroke .2s ease;
    cursor:pointer;
}
.uk-map .region:hover {
    fill:#f1d204; stroke:#b00000;
}

/* Region cards */
.rr-region-card { min-height:160px; color:#fff !important; }

/* Region colours */
.rr_southwest { background:#277DA1; }
.rr_cumbria   { background:#344E5C; }
.rr_wales     { background:#386641; }
.rr_midlands  { background:#6C757D; }
.rr_yorkshire { background:#7F5539; }
.rr_scotland  { background:#5E548E; }
.rr_southeast { background:#588157; }

/* Region colours */
.rr-southwest { background:#277DA1; }
.rr-cumbria   { background:#344E5C; }
.rr-wales     { background:#386641; }
.rr-midlands  { background:#6C757D; }
.rr-yorkshire { background:#7F5539; }
.rr-scotland  { background:#5E548E; }
.rr-southeast { background:#588157; }

/* ============================================================
   #59. FOOTER
   ============================================================ */

#footer {
    padding:40px 0;
    background:#2f4f2f !important;
    color:#e8f0e8 !important;
}
#footer .widget-title {
    margin-bottom:15px !important;
    color:#f2f7f2 !important;
    font-weight:600 !important;
}

#footer .footer-widget { margin-bottom:20px; }
#footer .bottom-footer {
    padding:12px 0;
    background:#263d26 !important;
    color:#e8f0e8 !important;
    text-align:center;
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    border-width: 0px !important;
    border-top-width: 0;
    border-top-color: #FFFFFF !important;
}

/* FULL WIDTH FOOTER SYSTEM */
.rr-footer-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none;
    padding: 0;
}

/* Safari only — fix footer landscape horizontal positioning */
@supports (-webkit-hyphens: none) {
    .rr-footer-wrap {
        margin-left: -50vw !important;
        margin-right: 0 !important;
        position: relative !important;
        left: 50% !important;
    }
}

/* LANDSCAPE */

.rr-footer-landscape {
    width:100%;
    overflow:hidden;
}

.rr-footer-landscape img {
    display:block;
    width:100%;
    height:auto;
}

/* GREEN FOOTER AREA */

.rr-footer-green {
    width:100%;
    background:#8FB996;
    padding:45px 0;
}

/* CONTENT WIDTH */

.rr-footer-grid {
    width:min(1200px,90%);
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
}

/* COLUMNS */

.rr-footer-column ul {
    padding-top: 1em;
}

.rr-footer-column h3 {
    color:white;
    margin-top:0;
}

.rr-footer-column ul {
    list-style:none;
    padding:0;
    margin:0;
}

.rr-footer-column li {
    margin-bottom:10px;
}

.rr-footer-column a {
    color:#f4f7f3;
    text-decoration:none;
}

.rr-footer-column a:hover {
    color:white;
    text-decoration:underline;
}

.site-footer a,
.site-footer a:visited,
.site-footer a:hover,
.site-footer a:active {
    text-decoration: none !important;
    outline: none !important;
}


/* 2 rules - for consistent top padding on footer item lists */
.rr-footer-column ul {
    padding-top: 1em !important;
}

.row.no-gutters.rr-footer-affiliations-row.rr-em-pad {
    padding-top: 1.5em !important; /* 4th row - match std rows */
}

/* Affiliation logo strip */
.rr-footer-affiliations {
    display: inline-block;
    margin-bottom: 6px;
    text-align: center;
    vertical-align: top !important;
    width: 100%;
}

.rr-footer-affiliations-row .rr-footer-banner {
    background: #FFF;
    border: 3px solid #fff;
    border-radius: 6px;
    margin-top: 0.4em !important;
    padding-top: 0 !important;
}

.footer-affiliate a:visited {
    text-decoration: none !important;
}

/* Less Nuclear footer column reset */
.rr-footer-affiliations-row .rr-aff-col,

.rr-footer-affiliations-row .rr-aff-col * {
margin-top: 0 !important;
margin-bottom: 0 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
line-height: 0 !important;
min-height: 0 !important;
height: auto !important;
}

.rr-aff-col img {
    height: 48px !important;
    width: auto !important;
}

.rr-footer-affiliations-row .rr-aff-col {
    padding: 0 6px !important;
}

/* Affiliation row container */
.rr-footer-affiliations-row {
    margin: 0 auto !important;
    max-width: 300px;
}

.rr-footer-affiliations-row .rr-aff-col:first-child img {
transform: scale(1.05);
}

/* Column 4 base */
.rr-footer-column.rr-footer-logo {
    text-align: center;
}

/* Essential BS4 grid restore */
.rr-footer-column .col-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
}

.rr-footer-column .row {
    display: flex !important;
    flex-wrap: wrap !important;
}

/* Top‑padding killers (all containers) */
.rr-footer-column,
.rr-footer-wrap,
.rr-footer-grid,
.rr-footer-affiliations-row,
.rr-aff-col {
    padding-top: 0 !important;
}

/* Astra footer row spacing */
.ast-footer-row {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Each logo wrapper */
.rr-aff-logo-link {
    display: inline-block;
    margin: 0 10px;
    vertical-align: middle;
}

/* Base logo styling */
.rr-aff-logo {
    background: #ffffff;
    border: 4px solid #ffffff;
    border-radius: 4px;
    display: inline-block;
    height: auto;
    max-width: 160px;
    padding: 6px;
    width: 100%;
}

/* Column alignment */
.rr-aff-col {
    vertical-align: top !important;
}

/* Image styling (deduped + merged) */
.rr-aff-col img {
    border: 3px solid #fff;
    border-radius: 6px;
    display: block;
    margin: 0 auto !important;
    max-height: 48px;
    padding: 0 !important;
    width: auto !important;
}

.rr-footer-banner {
    display: block;
    margin: 0.6rem auto 0 auto;
    max-width: 290px;
    width: 100%;
}

/* Mobile stacking */
@media (max-width: 600px) {
    .rr-aff-logo-link {
        display: block;
        margin: 12px auto;
    }
}

/* COPYRIGHT */

.rr-footer-bottom {
    width: 100%;
    background: #8FB996;
    color: white;
    text-align: center !important;
    padding: 18px 10px;
}

/* hide autop row */
.rr-footer-bottom::after {
    content: none !important;
    display: none !important;
}

/* remove cr */
/* remove Astra footer text entirely */
.rr-footer-bottom p {
    display: none;
}

/* insert your clean footer text */
.rr-footer-bottom::after {
    content: "© 2026 The Socialist Walking and Climbing Club";
    display: block;
    text-align: center;
    color: white;
    font-size: inherit;
    line-height: inherit;
}

/* ensure rr footer transition shows above astra footer background */
.rr-footer-transition {
    position: relative;
    z-index: 2;
}


@media (min-width: 1024px) {
    .rr-footer-landscape {
        background: linear-gradient(to top, #fff 0%, #fff0 40%);
    }
}
/* fade at the top of the footer */
.rr-footer-landscape {
    position: relative;
    z-index: 3;
}

@media (min-width: 1024px) {
    .rr-footer-landscape::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 120px; /* adjust as needed */
        background: linear-gradient(to bottom, #fff 0%, #fff0 100%);
        pointer-events: none;
        z-index: 4;
    }
}

/* MOBILE */


@media(max-width:768px){
    .rr-footer-grid {
        grid-template-columns:1fr;
    }

}

#colophon {
    padding-left:0 !important;
    padding-right:0 !important;
}

/* ============================================================
   #60. NEW ASTRA-COMPATIBLE GRID (REPLACES BOOTSTRAP)
   ============================================================ */

/* Raise Astra back‑to‑top button so it never overlaps the footer */
/* DESKTOP — 80% larger + white outline + raised position */
#ast-scroll-top {
    bottom: 80px !important;
    right: 20px !important;
    z-index: 99999 !important;

    width: 54px !important;   /* Astra default is ~30px */
    height: 54px !important;
    padding: 12px !important;

    /* white outline */
    border: 3px solid #fff !important;
    border-radius: 50% !important;

    background-color: #8FB996 !important;
}

/* Make the arrow SVG scale with the larger button */
#ast-scroll-top .ast-arrow-svg {
    width: 22px !important;
    height: auto !important;
}

@media (max-width: 575px) {

    #ast-scroll-top {
        bottom: 140px !important;      /* same vertical offset */
        
        /* CENTER horizontally */
        left: 90% !important;
        right: auto !important;
        transform: translateX(-50%) !important;

        /* same 80% larger size */
        width: 54px !important;
        height: 54px !important;
        padding: 12px !important;

        /* same white outline */
        border: 3px solid #fff !important;
        border-radius: 50% !important;
    }

    #ast-scroll-top .ast-arrow-svg {
        width: 22px !important;
    }
}


/* TEMPORARY SCROLL OVERRIDE */
html,
body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* ============================================================
   #61. FINAL BOOTSTRAP GRID FIX (SAFE VERSION)
   ============================================================ */

/* ROW — Bootstrap behaviour *//*
.rr-bootstrap .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}*/

/* BASE COLUMN BEHAVIOUR — NOW IMPORTANT *//*
.rr-bootstrap .col-1,
.rr-bootstrap .col-2,
.rr-bootstrap .col-3,
.rr-bootstrap .col-4,
.rr-bootstrap .col-5,
.rr-bootstrap .col-6,
.rr-bootstrap .col-7,
.rr-bootstrap .col-8,
.rr-bootstrap .col-9,
.rr-bootstrap .col-10,
.rr-bootstrap .col-11,
.rr-bootstrap .col-12 {
    flex: 0 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}
*/

/* EXPLICIT COLUMN WIDTHS — IMPORTANT REMOVED *//*
@media (min-width: 992px) {
    .rr-bootstrap .col-lg-1  { flex: 0 0 8.333333%;  max-width: 8.333333%; }
    .rr-bootstrap .col-lg-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .rr-bootstrap .col-lg-3  { flex: 0 0 25%;        max-width: 25%; }
    .rr-bootstrap .col-lg-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .rr-bootstrap .col-lg-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .rr-bootstrap .col-lg-6  { flex: 0 0 50%;        max-width: 50%; }
    .rr-bootstrap .col-lg-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .rr-bootstrap .col-lg-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .rr-bootstrap .col-lg-9  { flex: 0 0 75%;        max-width: 75%; }
    .rr-bootstrap .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .rr-bootstrap .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .rr-bootstrap .col-lg-12 { flex: 0 0 100%;       max-width: 100%; }
}
*/

/* DO NOT USE IMPORTANT HERE — Breaks grid *//*
.rr-bootstrap .col-12 { flex-basis: 100%; max-width: 100%; }
*/
/* IMAGES — safe */
.rr-bootstrap img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   #62. BLOG POSTS — TARGETED FIXES
   ============================================================ */

/* BLOG POSTS ONLY — headings */
.single-post .entry-content h1 {
    font-size: 2.0rem;          /* minimal reduction */
    line-height: 1.25;
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.single-post .entry-content h2 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.single-post .entry-content h3 {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* 2. BLOG POST IMAGES — spacing + border */
.single-post .entry-content img {
    display: block;
    border: 1px solid #ccc;        
    border-radius: 6px;             
    padding: 10px;             
    max-width: 100%;
    height: auto;
}

/* 3. Stop images butting up against headings */
.single-post .entry-content h1 + img,
.single-post .entry-content h2 + img,
.single-post .entry-content h3 + img {
    margin-top: 1.5rem !important;
}

/* 4. Extra spacing between stacked images */
.single-post .entry-content img + img {
    margin-top: 2rem !important;
}

/* Force Astra post navigation to always display */
.single-post .ast-pagination {
    display: block !important;
    visibility: visible !important;
    margin-top: 2rem;
}

/* Restore Astra entry footer if template hides it */
.single-post .entry-footer {
    display: block !important;
}

/* Standalone .PDF block */
.rr-pdf-link {
    background: #d8f5d0;
    border: 2px solid #9acb8a;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    display: block;
    max-width: 420px;
}

/* Alt card column bs4 */
.rr-pdf-link-card {
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    padding: 1.25rem;
    margin: 0;
    width: 100%;
    height: 100%;
    display: block;
    box-sizing: border-box;
}

.rr-pdf-link-card a {
    font-weight: 600;
}

.rr-pdf-link-card .fa-file-pdf {
    margin-right: .35rem;
}



/* PDF link styling */
.rr-pdf-link a {
    font-size: 1.1rem;
    font-weight: 600;
    color: #b00000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

/* Font Awesome PDF icon */
.rr-pdf-link a .fa-file-pdf {
    color: #c00000;
    font-size: 1.4em;
    line-height: 1;
    flex-shrink: 0;
}

.rr-pdf-link a:hover {
    text-decoration: underline;
}

/* xls and download styling */
.rr-xls-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.rr-xls-link .fa-file-excel { color: #217346; font-size: 1.3em; }
.rr-xls-link .fa-download { color: #217346; font-size: 1.1em; }

/* Hide second blog nav */
nav.rr-single-nav:nth-of-type(3) {
    display: none !important;
}

/* Blog Navigation Container */
.rr-single-nav {
    align-items: center;
    border-bottom: 2px solid #ddd;
    border-top: 2px solid #ddd;
    display: flex;
    gap: 40px; /* modest spacing that fits your column */
    justify-content: space-between;
    margin-top: 40px;
    padding: 20px 0;
}

/* Navigation Buttons */
.rr-single-nav a {
    align-items: center;
    background: #84AB8B;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.10);
    color: #ffffff;
    display: flex;
    flex: 0 1 auto;
    font-size: 1.15rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1.25;
    min-width: 140px;
    padding: 4px 10px;          
    height: 100px;               
    text-align: center;         /* keeps multi-line centred */
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: normal;        /* allow wrapping */
    overflow: hidden;           /* prevent overflow */
}

/* BLOG! Navigation Buttons Hover*/
.site-content:hover .rr-single-nav a,
.ast-container:hover .rr-single-nav a {
    color: #ffffff !important;
    text-decoration-color: #ffffff !important;
}

/* RR Navigation Next */
.rr-single-nav .rr-next {
    text-align: right;
}

/* RR Navigation Prev */
.rr-single-nav .rr-prev {
    text-align: left;
}

/* Remove Astra icon overrides */
.rr-single-nav .rr-next::after,
.rr-single-nav .rr-prev::before {
    content: none !important;
}

/* SVG Icons */
.rr-single-nav svg,
.rr-icon svg {
    fill: #003366;
    flex-shrink: 0;
    height: 22px;
    stroke: #000000;
    stroke-width: 1.5;
    width: 22px;
}

/* SVG Spacing: Prev */
.rr-single-nav .rr-prev svg,
.rr-prev .rr-icon {
    margin-right: 10px;
}

/* SVG Spacing: Next */
.rr-single-nav .rr-next svg,
.rr-next .rr-icon {
    margin-left: 10px;
}

/* Mobile Layout */
@media (max-width: 768px) {
    .rr-single-nav {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .rr-single-nav a {
        flex: none;
        font-size: 1.15rem;
        padding: 12px;
        width: 100%;
    }

    .rr-single-nav .rr-next,
    .rr-single-nav .rr-prev {
        text-align: center;
        width: 100%;
    }
}

/* Hide Astra and WP default Blog navigation completely - IMPORTANT */
.navigation.post-navigation,
.ast-pagination,
.ast-single-post-navigation,
.nav-links,
.post-navigation,
.ast-previous-link,
.ast-next-link {
    display: none !important;
}

/* Hide the second RR nav based on actual DOM structure */
nav.rr-single-nav.rob t ~ nav.rr-single-nav.rob t {
    display: none !important;
}

/* --------------------------------------------------------------
   #63. Single‑Post Layout — Widened Container + Spacing Rules
   Purpose:
     These rules widen the single‑post content area and apply
     safe spacing to captions, Envira galleries, and paragraphs.
     All obsolete spacing hacks and image‑centering rules have
     been removed to avoid conflicts with auto‑<p> formatting.
     - widen astra single‑post content area
     - apply safe spacing to captions, envira galleries, paragraphs
     - remove obsolete float/centering hacks
     - keep layout stable on mobile + desktop
   -------------------------------------------------------------- */

/* a — astra width rules */
.single-post .site-content .ast-container {
    max-width: 1100px !important;
    padding-left: 2rem;
    padding-right: 2rem;
}

.single-post #primary.content-area.primary {
    margin: 0 auto !important;
    max-width: 1100px !important;
}

/* c — caption behaviour */
.single-post .entry-content .wp-caption {
    margin-bottom: 2rem;
    margin-top: 2rem;
}


/* d — envira gallery spacing */
.single-post .entry-content .envira-gallery-wrap {
    margin-bottom: 3rem;
    margin-top: 3rem;
}


/* f — paragraph rhythm */
.single-post .entry-content p {
    line-height: 1.65;
    margin-bottom: 1.5rem;
}


/* fine‑tuning — image alignment (envira excluded) */
.single-post .entry-content img:not(.envira-gallery-image) {
    border: 1px solid #ccc;
    border-radius: 6px;
    display: block;
    height: auto;
    margin: 1.5rem 0;
    max-width: 100%;
    padding: 10px;
}

/* fine‑tuning — prevent oversized images on ultra‑wide screens */
@media (min-width: 1400px) {
    .single-post .entry-content img:not(.envira-gallery-image) {
        max-width: 90%;
    }
}

/* fine‑tuning — tablet spacing */
@media (max-width: 1024px) {
    .single-post .site-content .ast-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* fine‑tuning — mobile spacing */
@media (max-width: 768px) {
    .single-post .site-content .ast-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .single-post .entry-content img:not(.envira-gallery-image) {
        padding: 8px;
        margin: 1rem 0;
    }
}

/* --------------------------------------------------------------
   end astra-child/style.css
   -------------------------------------------------------------- */
   
/* ==========================================================
   DEFAULT BEHAVIOUR   (Mobile, Tablet and Fallback)
   ----------------------------------------------------------
   Links are always visible.
   ========================================================== */

.entry-content a:not(.wp-block-button__link):not(:has(img)):link {
    color: var(--link-colour);
    text-decoration: none;
}

.entry-content a:not(.wp-block-button__link):not(:has(img)):visited {
    color: var(--visited-colour);
}

.entry-content a:not(.wp-block-button__link):not(:has(img)):active {
    color: var(--active-colour);
}

.entry-content a:not(.wp-block-button__link):not(:has(img)):hover,
.entry-content a:not(.wp-block-button__link):not(:has(img)):focus {
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* ==========================================================
   DESKTOP OVERRIDE
   ----------------------------------------------------------
   True mouse-based devices only.
   Links initially blend into body text.
   Entering the content area reveals them.
   ========================================================== */

@media (hover:hover) and (pointer:fine) {

    /* Hide link styling until user enters content region */

    .entry-content a:not(.wp-block-button__link):not(:has(img)) {
        color: inherit;
        text-decoration: none;
        transition: color 0.15s ease;
    }

    /* Reveal standard link colours when content is hovered */

    .entry-content:hover a:not(.wp-block-button__link):not(:has(img)):link {
        color: var(--link-colour);
        text-decoration: underline;
    }

    .entry-content:hover a:not(.wp-block-button__link):not(:has(img)):visited {
        color: var(--visited-colour);
    }

    .entry-content:hover a:not(.wp-block-button__link):not(:has(img)):active {
        color: var(--active-colour);
    }

    /* Underline only the actual hovered link */

    .entry-content a:not(.wp-block-button__link):not(:has(img)):hover,
    .entry-content a:not(.wp-block-button__link):not(:has(img)):focus {
        text-decoration: underline;
        text-underline-offset: 2px;
    }
}


/* ==========================================================
   EXTERNAL LINK INDICATOR
   ----------------------------------------------------------
   Adds ↗ to external links opened in a new tab.

   Excludes:
   • .rr-noext
   • relative URLs
   • redrope.org.uk links
   ========================================================== */

.entry-content a[target="_blank"]
:not(.rr-noext)
:not([href^="/"])
:not([href*="redrope.org.uk"])::after {

    content: "↗";
    display: inline-block;
    margin-left: 0.2em;
    font-size: 0.8em;
    line-height: 1;
    color: var(--link-colour);
    text-decoration: none;
}


/* ==========================================================
   OPTIONAL ASTRA RESET
   ----------------------------------------------------------
   Uncomment if the theme is applying its own underlines, borders, shadows or effects.

.entry-content a {
    background: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
}
   ========================================================== */
   
   /* remove real authors name from posts - hack */

.posted-by .author-name {
    font-size: 0 !important;
    line-height: 1 !important;
}

.posted-by .author-name::after {
    content: "Administrator" !important;
    display: inline-block !important;
    font-size: 14px !important;
    line-height: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* pixel 9 / 10 fix */
@media (max-width: 768px) {
    .ast-header-break-point .ast-builder-grid-row {
        min-width: 0 !important;
        max-width: 92% !important;
        width: 100% !important;
        overflow-wrap: anywhere;
    }
}


/*
====================================================
 SAFARI-ONLY EMERGENCY FOOTER FIX
 This is intended to target WebKit-based browsers such as Safari while excluding Firefox

took out -  #colophon .rr-footer-wrap,
==================================================== */
@supports (-webkit-hyphens: none) and (not (-moz-appearance:
none)) {
    
 #colophon .ast-footer-copyright,
 #colophon .rr-footer-landscape,
 #colophon .rr-footer-green,
 #colophon .rr-footer-grid,
 #colophon .rr-footer-column,
 #colophon .rr-footer-bottom {
 box-sizing: border-box !important;
 position: relative !important;
 left: 0 !important;
 right: auto !important;
 transform: none !important;
 }
} /* CLOSE SAFARI SUPPORTS */

/* target safari */
@supports (-webkit-hyphens: none) and (not (-moz-appearance: none)) {

    #colophon {
        position: relative !important;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
    }

}

/* Safari — test Astra below-footer container */
@supports (-webkit-touch-callout: none) {
    .site-below-footer-wrap {
        width: 100% !important;
        max-width: none !important;
    }
}

.front-edit-page-btn {
    position: fixed !important;
    right: 15px !important;
    bottom: 155px !important;
    z-index: 99999 !important;
    padding: 5px 10px !important;
    background: #a8c686 !important;
    color: #000000 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    border: 1px solid #8cab68 !important;
    border-radius: 3px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15) !important;
    opacity: .85 !important;
}

.front-edit-page-btn:hover{
    background:#b9d694 !important;
    color:#000000 !important;
    text-decoration:none !important;
    opacity:1 !important;
}

/* Red Rope – remove unnecessary Gutenberg inner width restrictions */

/* TEMPORARY – trace the Contact Us layout */

/* Red: Gutenberg columns wrapper *//*
.wp-block-columns {
    outline: 1px solid red !important;
}


.wp-block-column {
    outline: 1px solid green !important;
}

.rr-contact-panel {
    outline: 1px solid blue !important;
}

.rr-contact-panel .rr-list-join {
    outline: 1px solid orange !important;
}*/

/* TEST – Contact Us mobile column widths only */

@media (max-width: 767px) {
    body.page-id-16 .wp-block-columns > .wp-block-column {
        width: 100% !important;
        max-width: none !important;
        flex-basis: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* #1. HOMEPAGE INTRO – CONTROL GUTENBERG BLOCK SPACING */

.rr-home-intro {
    margin-block: 0 !important;
    padding-block: 0 !important;
}

.rr-home-intro > .wp-block-columns {
    margin-block: 0 !important;
}

.rr-home-intro .wp-block-column {
    margin-block: 0 !important;
}


/* =========================================
   #2. HOMEPAGE – GUTENBERG / BOOTSTRAP GRID
   ========================================= */

/* Remove Gutenberg's column gap and retain Bootstrap gutters *//*
.rr-home-intro .rr-home-intro-row,
.rr-explore-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-left: -15px;
    margin-right: -15px;
}*/

/* #3. Stop Gutenberg's column sizing overriding Bootstrap *//*
.rr-home-intro .rr-home-intro-row > .wp-block-column,
.rr-section .rr-explore-grid > .wp-block-column {
    flex-grow: 0;
    min-width: 0;
    margin-top: 0;
}*/

/* #4. INTRODUCTION:
   Full width until large desktop */
.rr-home-intro .rr-home-intro-row > .wp-block-column {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* #5. Side-by-side introduction and Quick Links on large desktop */
@media (min-width: 1200px) {
    .rr-home-intro .rr-home-intro-row > .wp-block-column:first-child {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .rr-home-intro .rr-home-intro-row > .wp-block-column:last-child {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* #6. EXPLORE CARDS:
   One per row on mobile *//*
.rr-section .rr-explore-grid > .wp-block-column {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}
*/
/* #7. Two per row on tablets *//*
@media (min-width: 768px) {
    .rr-section .rr-explore-grid > .wp-block-column {
        flex: 0 0 50%;
        max-width: 50%;
    }
}*/

/* #8. Four per row on large desktop *//*
@media (min-width: 1200px) {
    .rr-section .rr-explore-grid > .wp-block-column {
        flex: 0 0 25%;
        max-width: 25%;
    }
}
*/
/* #9. - WORKING - Hide Quick Links destination on desktop only */
/* Hide the bottom Quick Links section on desktop only */
@media (min-width: 1200px) {
    .rr-quicklinks-mobile-section {
        display: none !important;
    }
}

/* Show the bottom Quick Links section on mobile and tablet */
@media (max-width: 1199px) {
    .rr-quicklinks-mobile-section {
        display: block !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {

    /* #10. Hide the original drawer position */
    .rr-quicklinks-home-column {
        display: none !important;
    }

    /* Show the destination at the bottom */
    .rr-quicklinks-mobile-section {
        display: block !important;
    }

}

/* HOME PAGE - EXPLORE RED ROPE – NATIVE GUTENBERG COLUMNS */

.rr-explore-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.rr-explore-columns > .wp-block-column {
    flex: 0 0 calc(25% - 1.125rem);
    max-width: calc(25% - 1.125rem);
    margin: 0;
}

/* Tablet portrait */
@media (min-width: 576px) and (max-width: 991px) {
    .rr-explore-columns > .wp-block-column {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }
}

/* Mobile */
@media (max-width: 575px) {
    .rr-explore-columns > .wp-block-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* =====================================================
   QUICK LINKS – RESTORE MOVED COLUMN ON TABLETS
   ===================================================== */

@media (min-width: 768px) and (max-width: 1199px) {

    .rr-quicklinks-mobile-destination > .rr-quicklinks-home-column {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        flex: 0 0 100% !important;
        margin: 0 !important;
    }
}



/* =========================================
   RECIPE LIST – RESPONSIVE CARD STYLING
   ========================================= */

.rr-recipe-list {
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 26px;
}

/* Individual cards */
.rr-recipe-list > .wp-block-column {
    background: #f6f8f5;
    border: 1px solid #dfe7de;
    border-radius: 6px;
    padding: 10px 13px;
    margin: 0;
    min-width: 0;
    transition: background-color 0.2s ease,
                border-color 0.2s ease;
}

/* Paragraph */
.rr-recipe-list p {
    margin: 0;
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.4;
}

/* Links */
.rr-recipe-list a {
    display: block;
    color: #496b50;
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
}

/* Hover and keyboard focus */
.rr-recipe-list > .wp-block-column:hover {
    background: #edf3ec;
    border-color: #a9c3a9;
}

.rr-recipe-list a:hover,
.rr-recipe-list a:focus {
    color: #31583b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Smaller screens */
@media (max-width: 575.98px) {
    .rr-recipe-list {
        gap: 7px;
        margin-bottom: 20px;
    }

    .rr-recipe-list > .wp-block-column {
        padding: 9px 12px;
    }

    .rr-recipe-list p {
        font-size: 14px;
        line-height: 1.4;
    }
}
